@baloise/ds-core 17.2.5 → 17.3.0-nightly.20250120

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 (585) hide show
  1. package/components/all.d.ts +2 -0
  2. package/components/all.js +3 -0
  3. package/components/bal-app.js +1 -93
  4. package/components/bal-app2.js +95 -0
  5. package/components/bal-doc-app.d.ts +11 -0
  6. package/components/bal-doc-app.js +262 -0
  7. package/components/bal-dropdown.js +1 -1
  8. package/components/bal-notices.js +11 -7
  9. package/components/bal-notification.js +10 -3
  10. package/components/bal-snackbar.js +34 -28
  11. package/components/bal-spinner2.js +2 -2
  12. package/components/bal-stack2.js +1 -1
  13. package/components/bal-stage-back-link.js +2 -2
  14. package/components/bal-stage-body.js +1 -1
  15. package/components/bal-stage-foot.js +1 -1
  16. package/components/bal-stage-head.js +1 -1
  17. package/components/bal-stage-image.js +1 -1
  18. package/components/bal-stage.js +1 -1
  19. package/components/bal-step-item.js +2 -2
  20. package/components/bal-tab-item.js +2 -2
  21. package/components/bal-table.js +1 -1
  22. package/components/bal-tabs2.js +2 -2
  23. package/components/bal-tag-group.js +1 -1
  24. package/components/bal-tag2.js +1 -1
  25. package/components/bal-text2.js +2 -2
  26. package/components/bal-textarea.js +1 -1
  27. package/components/bal-time-input.js +1 -1
  28. package/components/bal-toast.js +9 -8
  29. package/components/bal-tooltip.js +1 -1
  30. package/components/index.js +5 -304
  31. package/components/initialize.js +312 -0
  32. package/components/tokens.esm.js +1 -1
  33. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  34. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  35. package/dist/baloise-design-system/index.esm.js +1 -1
  36. package/dist/baloise-design-system/{p-0d7b7182.js → p-007fc954.js} +1 -1
  37. package/dist/baloise-design-system/p-0170c59c18.system.entry.js +1 -0
  38. package/dist/baloise-design-system/{p-e7d6c81a63.system.entry.js → p-02975dd83f.system.entry.js} +1 -1
  39. package/dist/baloise-design-system/p-0932b2841b.system.entry.js +1 -0
  40. package/dist/baloise-design-system/p-0972221879.entry.js +1 -0
  41. package/dist/baloise-design-system/p-0d0376d32d.entry.js +1 -0
  42. package/dist/baloise-design-system/{p-cb045ca0.system.js → p-0d3f11e3.system.js} +1 -1
  43. package/dist/baloise-design-system/{p-bb6304d0.system.js → p-0f37a65c.system.js} +1 -1
  44. package/dist/baloise-design-system/{p-49361909.js → p-10bbc670.js} +1 -1
  45. package/dist/baloise-design-system/{p-0177e3a0.system.js → p-130a16ee.system.js} +1 -1
  46. package/dist/baloise-design-system/p-16c18a76db.entry.js +1 -0
  47. package/dist/baloise-design-system/p-18b510f972.entry.js +1 -0
  48. package/dist/baloise-design-system/{p-e7d20c82.system.js → p-195ee683.system.js} +1 -1
  49. package/dist/baloise-design-system/p-19e61a8e.system.js +1 -0
  50. package/dist/baloise-design-system/{p-8a73c9b8.js → p-1a094c1b.js} +1 -1
  51. package/dist/baloise-design-system/p-1a91f0403a.system.entry.js +1 -0
  52. package/dist/baloise-design-system/p-1b5f932fe9.system.entry.js +1 -0
  53. package/dist/baloise-design-system/{p-86244838e4.entry.js → p-1c08d81e34.entry.js} +1 -1
  54. package/dist/baloise-design-system/p-22bf3854a2.system.entry.js +1 -0
  55. package/dist/baloise-design-system/{p-72312d33a3.system.entry.js → p-233258cd04.system.entry.js} +1 -1
  56. package/dist/baloise-design-system/{p-4f99ecfe.system.js → p-2361ab48.system.js} +1 -1
  57. package/dist/baloise-design-system/p-245629d7ca.system.entry.js +1 -0
  58. package/dist/baloise-design-system/p-270deaf56d.entry.js +1 -0
  59. package/dist/baloise-design-system/p-273fb2c2.system.js +1 -0
  60. package/dist/baloise-design-system/{p-72ffb739.system.js → p-2f1fbb48.system.js} +1 -1
  61. package/dist/baloise-design-system/p-2f3c628b01.system.entry.js +1 -0
  62. package/dist/baloise-design-system/{p-a679bf1c24.entry.js → p-31443ba141.entry.js} +1 -1
  63. package/dist/baloise-design-system/p-32f2098f72.entry.js +1 -0
  64. package/dist/baloise-design-system/p-34797e19f0.system.entry.js +1 -0
  65. package/dist/baloise-design-system/{p-d67d2979ad.system.entry.js → p-34ca390a2c.system.entry.js} +1 -1
  66. package/dist/baloise-design-system/{p-e3c1d653.js → p-35baa468.js} +1 -1
  67. package/dist/baloise-design-system/p-3664ca2ce5.system.entry.js +1 -0
  68. package/dist/baloise-design-system/p-38b11e34b4.system.entry.js +1 -0
  69. package/dist/baloise-design-system/p-3b18905319.entry.js +1 -0
  70. package/dist/baloise-design-system/{p-89aaadaf.system.js → p-3bf02fb8.system.js} +1 -1
  71. package/dist/baloise-design-system/p-3fcdc7bf1d.entry.js +1 -0
  72. package/dist/baloise-design-system/{p-f39958528f.entry.js → p-403f40e26a.entry.js} +1 -1
  73. package/dist/baloise-design-system/p-43078d9a20.entry.js +1 -0
  74. package/dist/baloise-design-system/p-436204d6b0.system.entry.js +1 -0
  75. package/dist/baloise-design-system/p-444d11044c.system.entry.js +1 -0
  76. package/dist/baloise-design-system/{p-69e7c8d6.js → p-44e7532c.js} +1 -1
  77. package/dist/baloise-design-system/p-4543306ed6.system.entry.js +1 -0
  78. package/dist/baloise-design-system/p-45bbf6330f.entry.js +1 -0
  79. package/dist/baloise-design-system/p-460e41faff.system.entry.js +1 -0
  80. package/dist/baloise-design-system/p-46251973.js +1 -0
  81. package/dist/baloise-design-system/p-47660601a1.entry.js +1 -0
  82. package/dist/baloise-design-system/p-477a9f8a40.entry.js +1 -0
  83. package/dist/baloise-design-system/p-489cda24c4.system.entry.js +1 -0
  84. package/dist/baloise-design-system/p-48a601d6f0.system.entry.js +1 -0
  85. package/dist/baloise-design-system/p-48c06e18ca.system.entry.js +1 -0
  86. package/dist/baloise-design-system/p-4a614fb255.system.entry.js +1 -0
  87. package/dist/baloise-design-system/{p-744daf78.js → p-4d7c0d39.js} +1 -1
  88. package/dist/baloise-design-system/p-4dfdd589d8.system.entry.js +1 -0
  89. package/dist/baloise-design-system/p-4edc38df57.entry.js +1 -0
  90. package/dist/baloise-design-system/{p-c4088d90.js → p-4f4c99db.js} +1 -1
  91. package/dist/baloise-design-system/p-4f74bac34b.system.entry.js +1 -0
  92. package/dist/baloise-design-system/{p-cc35663d.js → p-513f6b88.js} +1 -1
  93. package/dist/baloise-design-system/p-540bfa19.system.js +1 -0
  94. package/dist/baloise-design-system/{p-f557519e.js → p-54926c03.js} +1 -1
  95. package/dist/baloise-design-system/{p-80f1ad47.js → p-56dee285.js} +1 -1
  96. package/dist/baloise-design-system/p-57777973d0.entry.js +1 -0
  97. package/dist/baloise-design-system/p-596000a871.entry.js +1 -0
  98. package/dist/baloise-design-system/p-59eaafe32a.entry.js +1 -0
  99. package/dist/baloise-design-system/p-5a3e5f6551.entry.js +1 -0
  100. package/dist/baloise-design-system/p-5c0ac570ac.entry.js +1 -0
  101. package/dist/baloise-design-system/p-5cd2674f.system.js +1 -0
  102. package/dist/baloise-design-system/{p-ebf5cc68.js → p-5d689d39.js} +1 -1
  103. package/dist/baloise-design-system/p-5dcf0ed672.entry.js +1 -0
  104. package/dist/baloise-design-system/p-5f14c78075.entry.js +1 -0
  105. package/dist/baloise-design-system/p-62203e4220.system.entry.js +1 -0
  106. package/dist/baloise-design-system/p-62f6d6e101.system.entry.js +1 -0
  107. package/dist/baloise-design-system/p-630b9272b1.entry.js +1 -0
  108. package/dist/baloise-design-system/p-6366978ccd.entry.js +1 -0
  109. package/dist/baloise-design-system/p-63684e76eb.system.entry.js +1 -0
  110. package/dist/baloise-design-system/p-63b89f722f.system.entry.js +1 -0
  111. package/dist/baloise-design-system/{p-802216cd.system.js → p-64aca444.system.js} +1 -1
  112. package/dist/baloise-design-system/{p-ad5039de.system.js → p-68bef926.system.js} +1 -1
  113. package/dist/baloise-design-system/p-7042d9e34c.system.entry.js +1 -0
  114. package/dist/baloise-design-system/{p-ee379377.js → p-71352a52.js} +1 -1
  115. package/dist/baloise-design-system/{p-54b7eb9ee0.entry.js → p-715f1670d4.entry.js} +1 -1
  116. package/dist/baloise-design-system/p-717d8ea880.entry.js +1 -0
  117. package/dist/baloise-design-system/p-725eed2595.entry.js +1 -0
  118. package/dist/baloise-design-system/p-759f25a3e5.entry.js +1 -0
  119. package/dist/baloise-design-system/p-7c76d17d2f.entry.js +1 -0
  120. package/dist/baloise-design-system/p-7ced24b550.system.entry.js +1 -0
  121. package/dist/baloise-design-system/p-7e7d73b667.entry.js +1 -0
  122. package/dist/baloise-design-system/p-830d9e47.js +1 -0
  123. package/dist/baloise-design-system/p-84cf3be0a0.entry.js +1 -0
  124. package/dist/baloise-design-system/{p-a5ea24121d.entry.js → p-8594937575.entry.js} +1 -1
  125. package/dist/baloise-design-system/p-89a8d47c12.entry.js +1 -0
  126. package/dist/baloise-design-system/p-8cb8360dcd.system.entry.js +1 -0
  127. package/dist/baloise-design-system/p-8d1dc2f0d6.system.entry.js +1 -0
  128. package/dist/baloise-design-system/{p-18d7c665.system.js → p-92b28d87.system.js} +1 -1
  129. package/dist/baloise-design-system/p-9438e5c989.entry.js +1 -0
  130. package/dist/baloise-design-system/{p-c6a673f7.system.js → p-95055e88.system.js} +1 -1
  131. package/dist/baloise-design-system/p-974e5cb5ec.system.entry.js +1 -0
  132. package/dist/baloise-design-system/{p-1f762ec5aa.system.entry.js → p-975634d334.system.entry.js} +1 -1
  133. package/dist/baloise-design-system/{p-56c370cb.system.js → p-980e4b57.system.js} +1 -1
  134. package/dist/baloise-design-system/p-9b6e9746c1.entry.js +1 -0
  135. package/dist/baloise-design-system/{p-a33f51bca5.system.entry.js → p-9ba757663f.system.entry.js} +1 -1
  136. package/dist/baloise-design-system/p-9fbf3690.system.js +1 -0
  137. package/dist/baloise-design-system/p-aa125ebac6.system.entry.js +1 -0
  138. package/dist/baloise-design-system/p-ac9fd3a7d0.entry.js +1 -0
  139. package/dist/baloise-design-system/{p-e7150a50.system.js → p-b1c18bf1.system.js} +1 -1
  140. package/dist/baloise-design-system/p-b21f2874.system.js +1 -0
  141. package/dist/baloise-design-system/{p-1d22490c.system.js → p-b63742f3.system.js} +1 -1
  142. package/dist/baloise-design-system/{p-d516d3b1.js → p-b7fbadbe.js} +1 -1
  143. package/dist/baloise-design-system/p-b8da005f.js +1 -0
  144. package/dist/baloise-design-system/p-bba24b6173.system.entry.js +1 -0
  145. package/dist/baloise-design-system/p-bdfaa5e0d1.system.entry.js +1 -0
  146. package/dist/baloise-design-system/p-c6f86d0612.entry.js +1 -0
  147. package/dist/baloise-design-system/p-c991d944.js +1 -0
  148. package/dist/baloise-design-system/{p-12edf09f.js → p-ca3bb9ce.js} +1 -1
  149. package/dist/baloise-design-system/{p-4e9084dc.js → p-caacebbe.js} +1 -1
  150. package/dist/baloise-design-system/p-cc899b3f92.entry.js +1 -0
  151. package/dist/baloise-design-system/p-ce1ce7d198.system.entry.js +1 -0
  152. package/dist/baloise-design-system/{p-b18c1a6c8e.entry.js → p-d0d2962adb.entry.js} +1 -1
  153. package/dist/baloise-design-system/p-d24c5aa8ad.entry.js +1 -0
  154. package/dist/baloise-design-system/p-d296994410.system.entry.js +1 -0
  155. package/dist/baloise-design-system/p-d5e8e2bec8.entry.js +1 -0
  156. package/dist/baloise-design-system/p-d966097b18.system.entry.js +1 -0
  157. package/dist/baloise-design-system/p-d96cc18c2d.system.entry.js +1 -0
  158. package/dist/baloise-design-system/p-d9bc111444.system.entry.js +1 -0
  159. package/dist/baloise-design-system/p-dc61e01d7b.entry.js +1 -0
  160. package/dist/baloise-design-system/p-dc6814aa0a.entry.js +1 -0
  161. package/dist/baloise-design-system/p-ddfbabb4d5.system.entry.js +1 -0
  162. package/dist/baloise-design-system/{p-8782ba61.system.js → p-de59bd37.system.js} +1 -1
  163. package/dist/baloise-design-system/p-e104ac3699.system.entry.js +1 -0
  164. package/dist/baloise-design-system/{p-cc8cfbf3.js → p-e3e1d211.js} +1 -1
  165. package/dist/baloise-design-system/p-e4b50159.js +1 -0
  166. package/dist/baloise-design-system/p-e5c0a1dbb2.entry.js +1 -0
  167. package/dist/baloise-design-system/{p-e573491b.system.js → p-e60e0c65.system.js} +1 -1
  168. package/dist/baloise-design-system/{p-d1b12bcd.system.js → p-e70c7951.system.js} +1 -1
  169. package/dist/baloise-design-system/p-e7788e8db0.system.entry.js +1 -0
  170. package/dist/baloise-design-system/{p-c6dfe80e.system.js → p-e78be5ef.system.js} +1 -1
  171. package/dist/baloise-design-system/p-e7c9357245.entry.js +1 -0
  172. package/dist/baloise-design-system/p-e8ddca7ee6.system.entry.js +1 -0
  173. package/dist/baloise-design-system/p-e9211576ea.system.entry.js +1 -0
  174. package/dist/baloise-design-system/p-ea8b487a22.system.entry.js +1 -0
  175. package/dist/baloise-design-system/p-eaadfca758.entry.js +1 -0
  176. package/dist/baloise-design-system/p-ec5776f5.js +1 -0
  177. package/dist/baloise-design-system/p-ef3bfa9f.system.js +1 -0
  178. package/dist/baloise-design-system/p-ef6a64f4.js +1 -0
  179. package/dist/baloise-design-system/{p-7396469a.system.js → p-ef6da66e.system.js} +1 -1
  180. package/dist/baloise-design-system/p-f01ae7b55b.entry.js +1 -0
  181. package/dist/baloise-design-system/p-f0a262c91b.entry.js +1 -0
  182. package/dist/baloise-design-system/p-f80438cdac.entry.js +1 -0
  183. package/dist/baloise-design-system/p-f99cab201b.system.entry.js +1 -0
  184. package/dist/baloise-design-system/p-fa43380807.system.entry.js +1 -0
  185. package/dist/baloise-design-system/{p-7a6a128f.js → p-fe6cbf28.js} +1 -1
  186. package/dist/baloise-design-system/p-ff859bec24.system.entry.js +1 -0
  187. package/dist/baloise-design-system/p-ffeef88a26.entry.js +1 -0
  188. package/dist/cjs/{animation.decorator-d160ba91.js → animation.decorator-7a936417.js} +1 -1
  189. package/dist/cjs/app-globals-44d3a5af.js +7 -0
  190. package/dist/cjs/bal-accordion_4.cjs.entry.js +4 -5
  191. package/dist/cjs/bal-app.cjs.entry.js +2 -3
  192. package/dist/cjs/bal-button_2.cjs.entry.js +2 -3
  193. package/dist/cjs/bal-carousel_2.cjs.entry.js +14 -15
  194. package/dist/cjs/bal-checkbox-button.cjs.entry.js +4 -5
  195. package/dist/cjs/bal-checkbox_2.cjs.entry.js +5 -6
  196. package/dist/cjs/bal-close.cjs.entry.js +3 -4
  197. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +3 -4
  198. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +8 -9
  199. package/dist/cjs/bal-date.cjs.entry.js +7 -8
  200. package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
  201. package/dist/cjs/bal-dropdown.cjs.entry.js +7 -8
  202. package/dist/cjs/bal-field_5.cjs.entry.js +3 -4
  203. package/dist/cjs/bal-file-upload.cjs.entry.js +3 -4
  204. package/dist/cjs/bal-footer.cjs.entry.js +4 -5
  205. package/dist/cjs/bal-form.cjs.entry.js +2 -3
  206. package/dist/cjs/bal-heading_2.cjs.entry.js +2 -2
  207. package/dist/cjs/bal-hint_5.cjs.entry.js +6 -7
  208. package/dist/cjs/bal-icon.cjs.entry.js +3 -4
  209. package/dist/cjs/bal-input-slider.cjs.entry.js +3 -4
  210. package/dist/cjs/bal-input-stepper.cjs.entry.js +6 -7
  211. package/dist/cjs/bal-input.cjs.entry.js +3 -4
  212. package/dist/cjs/bal-label.cjs.entry.js +3 -4
  213. package/dist/cjs/bal-list_8.cjs.entry.js +7 -8
  214. package/dist/cjs/bal-logo.cjs.entry.js +6 -7
  215. package/dist/cjs/bal-modal_3.cjs.entry.js +3 -4
  216. package/dist/cjs/bal-nav_8.cjs.entry.js +9 -10
  217. package/dist/cjs/bal-navbar_5.cjs.entry.js +5 -6
  218. package/dist/cjs/bal-notices_3.cjs.entry.js +44 -31
  219. package/dist/cjs/bal-notification.cjs.entry.js +7 -2
  220. package/dist/cjs/bal-number-input.cjs.entry.js +6 -7
  221. package/dist/cjs/bal-option_2.cjs.entry.js +4 -5
  222. package/dist/cjs/bal-pagination.cjs.entry.js +7 -8
  223. package/dist/cjs/bal-popup.cjs.entry.js +4 -5
  224. package/dist/cjs/bal-progress-bar.cjs.entry.js +6 -7
  225. package/dist/cjs/bal-radio-button.cjs.entry.js +4 -5
  226. package/dist/cjs/bal-radio_2.cjs.entry.js +5 -6
  227. package/dist/cjs/bal-segment_2.cjs.entry.js +10 -11
  228. package/dist/cjs/bal-select_2.cjs.entry.js +3 -4
  229. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  230. package/dist/cjs/bal-spinner.cjs.entry.js +6 -7
  231. package/dist/cjs/bal-stack.cjs.entry.js +1 -1
  232. package/dist/cjs/bal-stage_6.cjs.entry.js +9 -10
  233. package/dist/cjs/bal-step-item.cjs.entry.js +2 -2
  234. package/dist/cjs/bal-steps.cjs.entry.js +7 -8
  235. package/dist/cjs/bal-tab-item_2.cjs.entry.js +19 -20
  236. package/dist/cjs/bal-table.cjs.entry.js +1 -1
  237. package/dist/cjs/bal-tag_2.cjs.entry.js +2 -2
  238. package/dist/cjs/bal-textarea.cjs.entry.js +4 -5
  239. package/dist/cjs/bal-time-input.cjs.entry.js +6 -7
  240. package/dist/cjs/bal-tooltip.cjs.entry.js +4 -5
  241. package/dist/cjs/baloise-design-system.cjs.js +7 -5
  242. package/dist/cjs/{breakpoints.decorator-ca324663.js → breakpoints.decorator-1205de67.js} +1 -1
  243. package/dist/cjs/{breakpoints.subject-d4a17081.js → breakpoints.subject-e3c9c4a5.js} +2 -2
  244. package/dist/cjs/{config.decorator-b393a72f.js → config.decorator-c38efed9.js} +1 -1
  245. package/dist/cjs/config.default-48618371.js +48 -0
  246. package/dist/cjs/{icons.constant-7c82086a.js → config.utils-bccf141d.js} +82 -0
  247. package/dist/cjs/{date-c2a815e4.js → date-355f73bb.js} +1 -1
  248. package/dist/cjs/{element-states.decorator-f79681aa.js → element-states.decorator-c8199b43.js} +1 -1
  249. package/dist/cjs/{floating-ui-5cc3a363.js → floating-ui-3147d2ff.js} +1 -1
  250. package/dist/cjs/{focus.decorator-e6050e24.js → focus.decorator-fa6c95a5.js} +1 -1
  251. package/dist/cjs/{form-input-be32df30.js → form-input-85323470.js} +1 -1
  252. package/dist/cjs/global-872cca8d.js +9 -0
  253. package/dist/cjs/{helpers-240da822.js → helpers-c858e965.js} +20 -21
  254. package/dist/cjs/index.cjs.js +9 -10
  255. package/dist/cjs/{initialize-367b85e5.js → initialize-3059001f.js} +126 -117
  256. package/dist/cjs/loader.cjs.js +7 -5
  257. package/dist/cjs/{mutation.decorator-249a9606.js → mutation.decorator-229267c9.js} +1 -1
  258. package/dist/cjs/{number-111783eb.js → number-047915cd.js} +2 -2
  259. package/dist/cjs/{overlays-e408bbaf.js → overlays-81ea4414.js} +1 -1
  260. package/dist/cjs/{resize.decorator-ebed89a1.js → resize.decorator-16e4bcd7.js} +1 -1
  261. package/dist/cjs/{swipe.decorator-8ff8dd2c.js → swipe.decorator-220cd690.js} +1 -1
  262. package/dist/cjs/{swipe.subject-00bf8c8f.js → swipe.subject-65733bae.js} +1 -1
  263. package/dist/cjs/{swiper.util-ef01dd7a.js → swiper.util-9bad4b2d.js} +2 -2
  264. package/dist/cjs/{tokens.esm-7755b9a3.js → tokens.esm-57ffd19b.js} +1 -1
  265. package/dist/cjs/{visibility.decorator-dc8cec8a.js → visibility.decorator-9e162aad.js} +1 -1
  266. package/dist/cjs/{window-resize.decorator-dd9de715.js → window-resize.decorator-4d52021c.js} +1 -1
  267. package/dist/collection/collection-manifest.json +2 -1
  268. package/dist/collection/components/bal-dropdown/bal-dropdown.css +1 -1
  269. package/dist/collection/components/bal-notices/bal-notices.css +1 -1
  270. package/dist/collection/components/bal-notices/bal-notices.js +53 -5
  271. package/dist/collection/components/bal-notification/bal-notification.css +1 -1
  272. package/dist/collection/components/bal-notification/bal-notification.js +46 -1
  273. package/dist/collection/components/bal-snackbar/bal-snackbar.css +1 -1
  274. package/dist/collection/components/bal-snackbar/bal-snackbar.js +29 -21
  275. package/dist/collection/components/bal-spinner/bal-spinner.css +1 -1
  276. package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
  277. package/dist/collection/components/bal-stack/bal-stack.js +1 -1
  278. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
  279. package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
  280. package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
  281. package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
  282. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
  283. package/dist/collection/components/bal-stage/bal-stage.js +1 -1
  284. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
  285. package/dist/collection/components/bal-table/bal-table.js +1 -1
  286. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -2
  287. package/dist/collection/components/bal-tabs/bal-tabs.js +2 -2
  288. package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
  289. package/dist/collection/components/bal-tag/bal-tag.js +1 -1
  290. package/dist/collection/components/bal-text/bal-text.js +2 -2
  291. package/dist/collection/components/bal-textarea/bal-textarea.js +1 -1
  292. package/dist/collection/components/bal-time-input/bal-time-input.js +1 -1
  293. package/dist/collection/components/bal-toast/bal-toast.css +1 -1
  294. package/dist/collection/components/bal-toast/bal-toast.js +27 -7
  295. package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
  296. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
  297. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +247 -0
  298. package/dist/collection/utils/constants/version.constant.js +1 -1
  299. package/dist/collection/utils/overlays/notice.controller.js +14 -5
  300. package/dist/esm/{animation.decorator-903bd4d2.js → animation.decorator-14b892ea.js} +1 -1
  301. package/dist/esm/app-globals-c5ea8144.js +5 -0
  302. package/dist/esm/bal-accordion_4.entry.js +4 -5
  303. package/dist/esm/bal-app.entry.js +2 -3
  304. package/dist/esm/bal-button_2.entry.js +2 -3
  305. package/dist/esm/bal-carousel_2.entry.js +14 -15
  306. package/dist/esm/bal-checkbox-button.entry.js +4 -5
  307. package/dist/esm/bal-checkbox_2.entry.js +5 -6
  308. package/dist/esm/bal-close.entry.js +3 -4
  309. package/dist/esm/bal-date-calendar-cell.entry.js +3 -4
  310. package/dist/esm/bal-date-calendar_2.entry.js +8 -9
  311. package/dist/esm/bal-date.entry.js +7 -8
  312. package/dist/esm/bal-doc-app.entry.js +229 -0
  313. package/dist/esm/bal-dropdown.entry.js +7 -8
  314. package/dist/esm/bal-field_5.entry.js +3 -4
  315. package/dist/esm/bal-file-upload.entry.js +3 -4
  316. package/dist/esm/bal-footer.entry.js +4 -5
  317. package/dist/esm/bal-form.entry.js +2 -3
  318. package/dist/esm/bal-heading_2.entry.js +2 -2
  319. package/dist/esm/bal-hint_5.entry.js +6 -7
  320. package/dist/esm/bal-icon.entry.js +3 -4
  321. package/dist/esm/bal-input-slider.entry.js +3 -4
  322. package/dist/esm/bal-input-stepper.entry.js +6 -7
  323. package/dist/esm/bal-input.entry.js +3 -4
  324. package/dist/esm/bal-label.entry.js +3 -4
  325. package/dist/esm/bal-list_8.entry.js +7 -8
  326. package/dist/esm/bal-logo.entry.js +6 -7
  327. package/dist/esm/bal-modal_3.entry.js +3 -4
  328. package/dist/esm/bal-nav_8.entry.js +9 -10
  329. package/dist/esm/bal-navbar_5.entry.js +5 -6
  330. package/dist/esm/bal-notices_3.entry.js +44 -31
  331. package/dist/esm/bal-notification.entry.js +7 -2
  332. package/dist/esm/bal-number-input.entry.js +6 -7
  333. package/dist/esm/bal-option_2.entry.js +4 -5
  334. package/dist/esm/bal-pagination.entry.js +7 -8
  335. package/dist/esm/bal-popup.entry.js +4 -5
  336. package/dist/esm/bal-progress-bar.entry.js +6 -7
  337. package/dist/esm/bal-radio-button.entry.js +4 -5
  338. package/dist/esm/bal-radio_2.entry.js +5 -6
  339. package/dist/esm/bal-segment_2.entry.js +10 -11
  340. package/dist/esm/bal-select_2.entry.js +3 -4
  341. package/dist/esm/bal-shape.entry.js +1 -1
  342. package/dist/esm/bal-spinner.entry.js +6 -7
  343. package/dist/esm/bal-stack.entry.js +1 -1
  344. package/dist/esm/bal-stage_6.entry.js +9 -10
  345. package/dist/esm/bal-step-item.entry.js +2 -2
  346. package/dist/esm/bal-steps.entry.js +7 -8
  347. package/dist/esm/bal-tab-item_2.entry.js +19 -20
  348. package/dist/esm/bal-table.entry.js +1 -1
  349. package/dist/esm/bal-tag_2.entry.js +2 -2
  350. package/dist/esm/bal-textarea.entry.js +4 -5
  351. package/dist/esm/bal-time-input.entry.js +6 -7
  352. package/dist/esm/bal-tooltip.entry.js +4 -5
  353. package/dist/esm/baloise-design-system.js +7 -5
  354. package/dist/esm/{breakpoints.decorator-d02c344d.js → breakpoints.decorator-d5104f07.js} +1 -1
  355. package/dist/esm/{breakpoints.subject-b33e2f3a.js → breakpoints.subject-22cd168c.js} +2 -2
  356. package/dist/esm/{config.decorator-d18abfe1.js → config.decorator-09912ddf.js} +1 -1
  357. package/dist/esm/{config.default-7efdc82d.js → config.default-75703209.js} +1 -1
  358. package/dist/esm/{icons.constant-a7885631.js → config.utils-6c4a6204.js} +72 -1
  359. package/dist/esm/{date-3b88d03c.js → date-13fc5993.js} +1 -1
  360. package/dist/esm/{element-states.decorator-200c85c8.js → element-states.decorator-4567881f.js} +1 -1
  361. package/dist/esm/{floating-ui-f930810d.js → floating-ui-90bc6e58.js} +1 -1
  362. package/dist/esm/{focus.decorator-a6de858a.js → focus.decorator-43ea59ca.js} +1 -1
  363. package/dist/esm/{form-input-a5a2b129.js → form-input-3856ed2a.js} +1 -1
  364. package/dist/esm/global-181336dc.js +7 -0
  365. package/dist/esm/{helpers-21ff73ef.js → helpers-ae0db1dd.js} +1 -2
  366. package/dist/esm/index.js +11 -12
  367. package/dist/esm/{initialize-22c1bebc.js → initialize-66a526c0.js} +126 -117
  368. package/dist/esm/loader.js +7 -5
  369. package/dist/esm/{mutation.decorator-07d5ba75.js → mutation.decorator-f4254690.js} +1 -1
  370. package/dist/esm/{number-54693efa.js → number-42482e68.js} +2 -2
  371. package/dist/esm/{overlays-b7ba3a20.js → overlays-9a5950bd.js} +1 -1
  372. package/dist/esm/{resize.decorator-28179d27.js → resize.decorator-d4cbf627.js} +1 -1
  373. package/dist/esm/{swipe.decorator-b46cda4b.js → swipe.decorator-47bde191.js} +1 -1
  374. package/dist/esm/{swipe.subject-1d0412f1.js → swipe.subject-51271b9b.js} +1 -1
  375. package/dist/esm/{swiper.util-21981c17.js → swiper.util-a4c7d0f9.js} +2 -2
  376. package/dist/esm/{tokens.esm-7e86f897.js → tokens.esm-4c510552.js} +1 -1
  377. package/dist/esm/{visibility.decorator-d0cac6a6.js → visibility.decorator-28c2d364.js} +1 -1
  378. package/dist/esm/{window-resize.decorator-165ca916.js → window-resize.decorator-425c35c2.js} +1 -1
  379. package/dist/esm-es5/{animation.decorator-903bd4d2.js → animation.decorator-14b892ea.js} +1 -1
  380. package/dist/esm-es5/app-globals-c5ea8144.js +1 -0
  381. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  382. package/dist/esm-es5/bal-app.entry.js +1 -1
  383. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  384. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  385. package/dist/esm-es5/bal-checkbox-button.entry.js +1 -1
  386. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  387. package/dist/esm-es5/bal-close.entry.js +1 -1
  388. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  389. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  390. package/dist/esm-es5/bal-date.entry.js +1 -1
  391. package/dist/esm-es5/bal-doc-app.entry.js +1 -0
  392. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  393. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  394. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  395. package/dist/esm-es5/bal-footer.entry.js +1 -1
  396. package/dist/esm-es5/bal-form.entry.js +1 -1
  397. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  398. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  399. package/dist/esm-es5/bal-icon.entry.js +1 -1
  400. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  401. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  402. package/dist/esm-es5/bal-input.entry.js +1 -1
  403. package/dist/esm-es5/bal-label.entry.js +1 -1
  404. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  405. package/dist/esm-es5/bal-logo.entry.js +1 -1
  406. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  407. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  408. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  409. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  410. package/dist/esm-es5/bal-notification.entry.js +1 -1
  411. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  412. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  413. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  414. package/dist/esm-es5/bal-popup.entry.js +1 -1
  415. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  416. package/dist/esm-es5/bal-radio-button.entry.js +1 -1
  417. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  418. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  419. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  420. package/dist/esm-es5/bal-shape.entry.js +1 -1
  421. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  422. package/dist/esm-es5/bal-stack.entry.js +1 -1
  423. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  424. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  425. package/dist/esm-es5/bal-steps.entry.js +1 -1
  426. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  427. package/dist/esm-es5/bal-table.entry.js +1 -1
  428. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  429. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  430. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  431. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  432. package/dist/esm-es5/baloise-design-system.js +1 -1
  433. package/dist/esm-es5/breakpoints.decorator-d5104f07.js +1 -0
  434. package/dist/esm-es5/{breakpoints.subject-b33e2f3a.js → breakpoints.subject-22cd168c.js} +1 -1
  435. package/dist/esm-es5/{config.decorator-d18abfe1.js → config.decorator-09912ddf.js} +1 -1
  436. package/dist/esm-es5/config.default-75703209.js +1 -0
  437. package/dist/esm-es5/config.utils-6c4a6204.js +1 -0
  438. package/dist/esm-es5/{date-3b88d03c.js → date-13fc5993.js} +1 -1
  439. package/dist/esm-es5/{element-states.decorator-200c85c8.js → element-states.decorator-4567881f.js} +1 -1
  440. package/dist/esm-es5/{floating-ui-f930810d.js → floating-ui-90bc6e58.js} +1 -1
  441. package/dist/esm-es5/{focus.decorator-a6de858a.js → focus.decorator-43ea59ca.js} +1 -1
  442. package/dist/esm-es5/{form-input-a5a2b129.js → form-input-3856ed2a.js} +1 -1
  443. package/dist/esm-es5/global-181336dc.js +1 -0
  444. package/dist/esm-es5/helpers-ae0db1dd.js +1 -0
  445. package/dist/esm-es5/index.js +1 -1
  446. package/dist/esm-es5/initialize-66a526c0.js +1 -0
  447. package/dist/esm-es5/loader.js +1 -1
  448. package/dist/esm-es5/{mutation.decorator-07d5ba75.js → mutation.decorator-f4254690.js} +1 -1
  449. package/dist/esm-es5/number-42482e68.js +1 -0
  450. package/dist/esm-es5/{overlays-b7ba3a20.js → overlays-9a5950bd.js} +1 -1
  451. package/dist/esm-es5/{resize.decorator-28179d27.js → resize.decorator-d4cbf627.js} +1 -1
  452. package/dist/esm-es5/{swipe.decorator-b46cda4b.js → swipe.decorator-47bde191.js} +1 -1
  453. package/dist/esm-es5/{swipe.subject-1d0412f1.js → swipe.subject-51271b9b.js} +1 -1
  454. package/dist/esm-es5/{swiper.util-21981c17.js → swiper.util-a4c7d0f9.js} +1 -1
  455. package/dist/esm-es5/{visibility.decorator-d0cac6a6.js → visibility.decorator-28c2d364.js} +1 -1
  456. package/dist/esm-es5/{window-resize.decorator-165ca916.js → window-resize.decorator-425c35c2.js} +1 -1
  457. package/dist/html.html-data.json +12 -0
  458. package/dist/types/components/bal-notices/bal-notices.d.ts +8 -0
  459. package/dist/types/components/bal-notification/bal-notification.d.ts +8 -0
  460. package/dist/types/components/bal-snackbar/bal-snackbar.d.ts +0 -3
  461. package/dist/types/components/bal-toast/bal-toast.d.ts +4 -1
  462. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
  463. package/dist/types/components.d.ts +63 -0
  464. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
  465. package/dist/types/utils/overlays/notice.controller.d.ts +2 -0
  466. package/package.json +7 -7
  467. package/dist/baloise-design-system/p-0640709738.system.entry.js +0 -1
  468. package/dist/baloise-design-system/p-0a22b25b5b.system.entry.js +0 -1
  469. package/dist/baloise-design-system/p-0af64ec6f2.entry.js +0 -1
  470. package/dist/baloise-design-system/p-0c3b2d6c8e.entry.js +0 -1
  471. package/dist/baloise-design-system/p-0e323fe0.system.js +0 -1
  472. package/dist/baloise-design-system/p-11d1b8b8c6.system.entry.js +0 -1
  473. package/dist/baloise-design-system/p-12ff7815.js +0 -1
  474. package/dist/baloise-design-system/p-145d5c4e.system.js +0 -1
  475. package/dist/baloise-design-system/p-14c3418170.system.entry.js +0 -1
  476. package/dist/baloise-design-system/p-16145691fd.entry.js +0 -1
  477. package/dist/baloise-design-system/p-1a77262b04.entry.js +0 -1
  478. package/dist/baloise-design-system/p-1b0ba8f0a2.system.entry.js +0 -1
  479. package/dist/baloise-design-system/p-1df848f9fc.system.entry.js +0 -1
  480. package/dist/baloise-design-system/p-2229e98e.js +0 -1
  481. package/dist/baloise-design-system/p-26a55cbddc.entry.js +0 -1
  482. package/dist/baloise-design-system/p-28f96ad58b.entry.js +0 -1
  483. package/dist/baloise-design-system/p-2a842fec05.entry.js +0 -1
  484. package/dist/baloise-design-system/p-2d4ebe6538.system.entry.js +0 -1
  485. package/dist/baloise-design-system/p-32faec4f65.entry.js +0 -1
  486. package/dist/baloise-design-system/p-36db598b9c.entry.js +0 -1
  487. package/dist/baloise-design-system/p-36fe1faedd.entry.js +0 -1
  488. package/dist/baloise-design-system/p-38ca9dfde3.system.entry.js +0 -1
  489. package/dist/baloise-design-system/p-3b5ab50d03.system.entry.js +0 -1
  490. package/dist/baloise-design-system/p-3bd47497b5.entry.js +0 -1
  491. package/dist/baloise-design-system/p-3bda73d30c.system.entry.js +0 -1
  492. package/dist/baloise-design-system/p-41931a0925.entry.js +0 -1
  493. package/dist/baloise-design-system/p-440f0ed2a6.system.entry.js +0 -1
  494. package/dist/baloise-design-system/p-455872a1.system.js +0 -1
  495. package/dist/baloise-design-system/p-4584876a4c.entry.js +0 -1
  496. package/dist/baloise-design-system/p-4b7fd117bc.system.entry.js +0 -1
  497. package/dist/baloise-design-system/p-4ba2983131.entry.js +0 -1
  498. package/dist/baloise-design-system/p-4c030e87cf.system.entry.js +0 -1
  499. package/dist/baloise-design-system/p-4dad7840.js +0 -1
  500. package/dist/baloise-design-system/p-4fee64d2d2.system.entry.js +0 -1
  501. package/dist/baloise-design-system/p-54d9711a77.system.entry.js +0 -1
  502. package/dist/baloise-design-system/p-5591d69c49.entry.js +0 -1
  503. package/dist/baloise-design-system/p-59d20a5382.entry.js +0 -1
  504. package/dist/baloise-design-system/p-5b6ee3b824.system.entry.js +0 -1
  505. package/dist/baloise-design-system/p-5b81757b8c.entry.js +0 -1
  506. package/dist/baloise-design-system/p-5b93e0df0c.system.entry.js +0 -1
  507. package/dist/baloise-design-system/p-5d2479f2ea.system.entry.js +0 -1
  508. package/dist/baloise-design-system/p-5f234e78f6.system.entry.js +0 -1
  509. package/dist/baloise-design-system/p-62251008b0.entry.js +0 -1
  510. package/dist/baloise-design-system/p-66df17135c.system.entry.js +0 -1
  511. package/dist/baloise-design-system/p-6e6f2f3713.system.entry.js +0 -1
  512. package/dist/baloise-design-system/p-6efc37f9.system.js +0 -1
  513. package/dist/baloise-design-system/p-70f7b546.system.js +0 -1
  514. package/dist/baloise-design-system/p-7449aea98b.entry.js +0 -1
  515. package/dist/baloise-design-system/p-769dd49917.system.entry.js +0 -1
  516. package/dist/baloise-design-system/p-775dbee0fc.system.entry.js +0 -1
  517. package/dist/baloise-design-system/p-79554c4acd.system.entry.js +0 -1
  518. package/dist/baloise-design-system/p-79f753d617.system.entry.js +0 -1
  519. package/dist/baloise-design-system/p-8243fda7b3.system.entry.js +0 -1
  520. package/dist/baloise-design-system/p-85e3b067cf.system.entry.js +0 -1
  521. package/dist/baloise-design-system/p-87458c9059.system.entry.js +0 -1
  522. package/dist/baloise-design-system/p-899bc0be9d.system.entry.js +0 -1
  523. package/dist/baloise-design-system/p-8a47461794.entry.js +0 -1
  524. package/dist/baloise-design-system/p-8b386e9117.entry.js +0 -1
  525. package/dist/baloise-design-system/p-90385fd100.system.entry.js +0 -1
  526. package/dist/baloise-design-system/p-921b0836e1.entry.js +0 -1
  527. package/dist/baloise-design-system/p-96780bdefd.entry.js +0 -1
  528. package/dist/baloise-design-system/p-9b2657ef04.entry.js +0 -1
  529. package/dist/baloise-design-system/p-a1952399c3.system.entry.js +0 -1
  530. package/dist/baloise-design-system/p-a19d1e1d.js +0 -1
  531. package/dist/baloise-design-system/p-a39af8b3f1.entry.js +0 -1
  532. package/dist/baloise-design-system/p-a6ff014e4c.entry.js +0 -1
  533. package/dist/baloise-design-system/p-aafb6696.js +0 -1
  534. package/dist/baloise-design-system/p-aeca345ebb.entry.js +0 -1
  535. package/dist/baloise-design-system/p-b3f2c626.system.js +0 -1
  536. package/dist/baloise-design-system/p-b4576f5814.entry.js +0 -1
  537. package/dist/baloise-design-system/p-b534fd5f5a.system.entry.js +0 -1
  538. package/dist/baloise-design-system/p-b55c42a4a9.system.entry.js +0 -1
  539. package/dist/baloise-design-system/p-bb18da59e3.system.entry.js +0 -1
  540. package/dist/baloise-design-system/p-bc9b6b4e82.system.entry.js +0 -1
  541. package/dist/baloise-design-system/p-bfa5f3ae60.system.entry.js +0 -1
  542. package/dist/baloise-design-system/p-c1fcce934b.entry.js +0 -1
  543. package/dist/baloise-design-system/p-c353a1861c.system.entry.js +0 -1
  544. package/dist/baloise-design-system/p-c487d3770e.entry.js +0 -1
  545. package/dist/baloise-design-system/p-c844e6fbc9.entry.js +0 -1
  546. package/dist/baloise-design-system/p-c8bd61c717.entry.js +0 -1
  547. package/dist/baloise-design-system/p-c8db6fb15f.entry.js +0 -1
  548. package/dist/baloise-design-system/p-cb3920cc26.system.entry.js +0 -1
  549. package/dist/baloise-design-system/p-d0066a5950.entry.js +0 -1
  550. package/dist/baloise-design-system/p-d1861b7c10.entry.js +0 -1
  551. package/dist/baloise-design-system/p-d306ec28cf.entry.js +0 -1
  552. package/dist/baloise-design-system/p-d568852b4c.entry.js +0 -1
  553. package/dist/baloise-design-system/p-d60b2e3878.entry.js +0 -1
  554. package/dist/baloise-design-system/p-d9b32333.system.js +0 -1
  555. package/dist/baloise-design-system/p-ddcc5387b5.system.entry.js +0 -1
  556. package/dist/baloise-design-system/p-e283e1cf22.entry.js +0 -1
  557. package/dist/baloise-design-system/p-e2c3dde206.system.entry.js +0 -1
  558. package/dist/baloise-design-system/p-e3b0312116.system.entry.js +0 -1
  559. package/dist/baloise-design-system/p-e53217f8.js +0 -1
  560. package/dist/baloise-design-system/p-e8382bd4a9.entry.js +0 -1
  561. package/dist/baloise-design-system/p-f089f4c8c8.system.entry.js +0 -1
  562. package/dist/baloise-design-system/p-f2fde3ca52.entry.js +0 -1
  563. package/dist/baloise-design-system/p-f35275e46a.system.entry.js +0 -1
  564. package/dist/baloise-design-system/p-f47bafc866.system.entry.js +0 -1
  565. package/dist/baloise-design-system/p-f5e11c86e5.entry.js +0 -1
  566. package/dist/baloise-design-system/p-f64319f1.js +0 -1
  567. package/dist/baloise-design-system/p-f8ca0ec73a.entry.js +0 -1
  568. package/dist/baloise-design-system/p-fd357a0c70.entry.js +0 -1
  569. package/dist/baloise-design-system/p-fff8faa67f.system.entry.js +0 -1
  570. package/dist/cjs/app-globals-a3f2765f.js +0 -11
  571. package/dist/cjs/config.default-5bdd6e3d.js +0 -48
  572. package/dist/cjs/config.utils-e4cd49d6.js +0 -84
  573. package/dist/esm/app-globals-92fef8fd.js +0 -9
  574. package/dist/esm/config.utils-6ac6c9bd.js +0 -72
  575. package/dist/esm-es5/app-globals-92fef8fd.js +0 -1
  576. package/dist/esm-es5/breakpoints.decorator-d02c344d.js +0 -1
  577. package/dist/esm-es5/config.default-7efdc82d.js +0 -1
  578. package/dist/esm-es5/config.utils-6ac6c9bd.js +0 -1
  579. package/dist/esm-es5/helpers-21ff73ef.js +0 -1
  580. package/dist/esm-es5/icons.constant-a7885631.js +0 -1
  581. package/dist/esm-es5/initialize-22c1bebc.js +0 -1
  582. package/dist/esm-es5/number-54693efa.js +0 -1
  583. /package/dist/baloise-design-system/{p-0bd1bf82.js → p-37159e1a.js} +0 -0
  584. /package/dist/baloise-design-system/{p-32e7b6b1.system.js → p-9d742f89.system.js} +0 -0
  585. /package/dist/esm-es5/{tokens.esm-7e86f897.js → tokens.esm-4c510552.js} +0 -0
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(a,t,e,r){function n(a){return a instanceof e?a:new e((function(t){t(a)}))}return new(e||(e=Promise))((function(e,i){function o(a){try{l(r.next(a))}catch(a){i(a)}}function s(a){try{l(r["throw"](a))}catch(a){i(a)}}function l(a){a.done?e(a.value):n(a.value).then(o,s)}l((r=r.apply(a,t||[])).next())}))};var __generator=this&&this.__generator||function(a,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(a){return function(t){return l([a,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(e=0)),e)try{if(r=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;n=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1];i=s;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(s);break}if(i[2])e.ops.pop();e.trys.pop();continue}s=t.call(a,e)}catch(a){s=[6,a];n=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-7961e095.system.js"],(function(a){"use strict";var t,e,r,n,i;return{setters:[function(a){t=a.r;e=a.h;r=a.H;n=a.c;i=a.g}],execute:function(){var o=".bal-notices{position:fixed !important;display:-ms-flexbox !important;display:flex !important;top:0 !important;bottom:0 !important;left:0 !important;right:0 !important;padding:1rem !important;margin:0 !important;overflow:hidden !important;z-index:var(--bal-z-index-toast) !important;pointer-events:none !important;-ms-flex-direction:column !important;flex-direction:column !important}.bal-notices .container{width:100% !important}.bal-notices.has-snackbar{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:end;align-items:flex-end;-ms-flex-direction:column-reverse;flex-direction:column-reverse;margin:.5em}.bal-notices.has-snackbar .bal-snackbar{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-item-align:end;align-self:flex-end;pointer-events:auto !important}.bal-notices.has-toast{-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;margin:.5em}.bal-notices.has-toast .bal-toast{-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:center;align-self:center}";var s=o;var l=a("bal_notices",function(){function a(a){t(this,a);this.interface="toast"}a.prototype.render=function(){var a;return e(r,{key:"2f40e609d0b26b17d7b46c55fb5d509ad02920b6",class:(a={"bal-app":true,"bal-notices":true},a["has-".concat(this.interface)]=true,a)},e("slot",{key:"f761cd73d1cfc480e0992c9b32cc6fd30eeca51e"}))};return a}());l.style=s;var c=":root{--bal-snackbar-font-size:var(--bal-text-size-normal);--bal-snackbar-font-family:var(--bal-font-family-text);--bal-snackbar-background:var(--bal-color-white);--bal-snackbar-background-primary:var(--bal-color-white);--bal-snackbar-background-info:var(--bal-color-info-2);--bal-snackbar-background-success:var(--bal-color-success-2);--bal-snackbar-background-warning:var(--bal-color-warning-2);--bal-snackbar-background-danger:var(--bal-color-danger-2);--bal-snackbar-radius:var(--bal-radius-large);--bal-snackbar-color:var(--bal-color-text-primary);--bal-snackbar-color-primary:var(--bal-color-text-primary);--bal-snackbar-color-info:var(--bal-color-text-primary);--bal-snackbar-color-success:var(--bal-color-text-primary);--bal-snackbar-color-warning:var(--bal-color-text-primary);--bal-snackbar-color-danger:var(--bal-color-text-primary)}.bal-snackbar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-positive:0 !important;flex-grow:0 !important;width:100%;-ms-flex-pack:end;justify-content:flex-end}@media screen and (max-width: 768px){.bal-snackbar{width:18rem}}@media screen and (min-width: 769px),print{.bal-snackbar{width:18rem}}@media screen and (min-width: 1024px){.bal-snackbar{width:27.5rem}}.bal-snackbar__inner{min-height:3.5rem;border-radius:var(--bal-snackbar-radius);font-size:var(--bal-snackbar-font-size);font-family:var(--bal-snackbar-font-family);background:var(--bal-snackbar-background);color:var(--bal-snackbar-color);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-positive:1;flex-grow:1;margin:.5rem 0 0 0;-webkit-box-shadow:var(--bal-shadow-normal);box-shadow:var(--bal-shadow-normal);-ms-flex-item-align:end;align-self:flex-end;-ms-flex-direction:column !important;flex-direction:column !important;row-gap:1rem;padding:var(--bal-space-medium)}.bal-snackbar__inner--is-primary{background:var(--bal-snackbar-background-primary);color:var(--bal-snackbar-color-primary)}.bal-snackbar__inner--is-info{background:var(--bal-snackbar-background-info);color:var(--bal-snackbar-color-info)}.bal-snackbar__inner--is-danger{background:var(--bal-snackbar-background-danger);color:var(--bal-snackbar-color-danger)}.bal-snackbar__inner--is-warning{background:var(--bal-snackbar-background-warning);color:var(--bal-snackbar-color-warning)}.bal-snackbar__inner--is-success{background:var(--bal-snackbar-background-success);color:var(--bal-snackbar-color-success)}@media screen and (min-width: 769px),print{.bal-snackbar__inner{padding:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-snackbar__inner{padding:var(--bal-space-medium-desktop)}}.bal-snackbar__header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-column-gap:.5rem;-moz-column-gap:.5rem;column-gap:.5rem}.bal-snackbar__header>span{font-size:var(--bal-text-size-small);line-height:var(--bal-line-height-small)}@media screen and (min-width: 769px),print{.bal-snackbar__header>span{font-size:var(--bal-text-size-small-tablet);line-height:var(--bal-line-height-tablet-small)}}@media screen and (min-width: 1024px){.bal-snackbar__header>span{font-size:var(--bal-text-size-small-desktop);line-height:var(--bal-line-height-desktop-small)}}.bal-snackbar__footer{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;margin-top:.5rem}.bal-snackbar__close.bal-close{position:absolute;right:1.5rem;top:1.5rem}";var b=c;var d=a("bal_snackbar",function(){function a(a){var e=this;t(this,a);this.balClose=n(this,"balClose",7);this.balAction=n(this,"balAction",7);this.snackbarId="bal-snackbar-".concat(u++);this.onActionHandler=function(){e.balAction.emit(e.snackbarId);e.actionHandler()};this.animationClass="fadeInDown";this.color="";this.duration=0;this.subject="";this.message="";this.icon="";this.action="";this.closeHandler=function(){return void 0};this.actionHandler=function(){return void 0};this.href=undefined;this.target="_self"}a.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){switch(a.label){case 0:if(!(this.duration>0))return[3,2];return[4,this.closeIn(this.duration)];case 1:a.sent();a.label=2;case 2:return[2]}}))}))};a.prototype.closeIn=function(a){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.timer=setTimeout((function(){return t.close()}),a);return[2]}))}))};a.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){clearTimeout(this.timer);this.balClose.emit(this.snackbarId);this.element.remove();this.closeHandler();return[2]}))}))};Object.defineProperty(a.prototype,"colorType",{get:function(){if(this.color===""){return""}return"bal-snackbar__inner--is-".concat(this.color)},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"buttonType",{get:function(){if(this.color===""){return"info"}return this.color},enumerable:false,configurable:true});a.prototype.render=function(){var a=this;var t={};if(this.message!==undefined&&this.message!==""){t.innerHTML=this.message}return e(r,{key:"302d36cf1491bdb34cc87139c604c605b873dea8",id:this.snackbarId,class:"bal-snackbar"},e("div",{key:"2d7d2e2c2fc3509d52d0079ba0e2dd024fafa27f",role:"alert",class:"bal-snackbar__inner ".concat(this.animationClass," ").concat(this.colorType)},e("div",{key:"80c1136fe846cc3393b36b20cd8b483ba5cdde2c",class:"bal-snackbar__header"},e("span",{key:"43c09569ff714e596dc925532a6a23c62ad1480c",class:"icon-text"},e("span",{key:"8d2631bfb6a6323a9b89279d428d04fa858ae222",class:"icon",style:{display:this.icon?"":"none"}},e("bal-icon",{key:"e95d781626faf9691da3e26ea8cb02d036cd7783",name:this.icon,color:"primary"})),e("bal-heading",{key:"d07fa9dea7ab0008be54e971416e1df9e06043d1",level:"h5",space:"none","data-testid":"bal-snackbar-heading"},this.subject))),e("span",Object.assign({key:"5596bf1d718f4609835316a9521522c8fcbd3f59",class:"bal-snackbar__label","data-testid":"bal-snackbar-label"},t),e("slot",{key:"c46f14807eaf146bde235c3bd121d401df670ed1"}),e("span",{key:"7a33a791aec0799c4650dfd1ba91c297d6e6156d",class:"hidden"})),e("bal-close",{key:"b3565119bae15c11394786e0b0e9413f03417d88",class:"bal-snackbar__close","data-testid":"bal-snackbar-close",onClick:function(){return a.close()}}),this.action?e("div",{class:"bal-snackbar__footer"},e("bal-button",{color:"info",href:this.href,target:this.target,onClick:function(){return a.onActionHandler()},"data-testid":"bal-snackbar-action"},this.action)):""))};Object.defineProperty(a.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return a}());var u=0;d.style=b;var f=":root{--bal-toast-font-size:var(--bal-text-size-normal);--bal-toast-font-family:var(--bal-font-family-text);--bal-toast-background:var(--bal-color-white);--bal-toast-background-primary:var(--bal-color-white);--bal-toast-background-info:var(--bal-color-info-2);--bal-toast-background-success:var(--bal-color-success-2);--bal-toast-background-warning:var(--bal-color-warning-2);--bal-toast-background-danger:var(--bal-color-danger-2);--bal-toast-radius:var(--bal-radius-large);--bal-toast-color:var(--bal-color-text-primary);--bal-toast-color-primary:var(--bal-color-text-primary);--bal-toast-color-info:var(--bal-color-text-primary);--bal-toast-color-success:var(--bal-color-text-primary);--bal-toast-color-warning:var(--bal-color-text-primary);--bal-toast-color-danger:var(--bal-color-text-primary)}.bal-toast{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-positive:0 !important;flex-grow:0 !important;width:100%}.bal-toast__inner{min-height:3.5rem;border-radius:var(--bal-toast-radius);font-size:var(--bal-toast-font-size);font-family:var(--bal-toast-font-family);background:var(--bal-toast-background);color:var(--bal-toast-color);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-positive:1;flex-grow:1;margin:.5rem 0 0 0;-webkit-box-shadow:var(--bal-shadow-normal);box-shadow:var(--bal-shadow-normal);padding:var(--bal-space-normal)}.bal-toast__inner--is-primary{background:var(--bal-toast-background-primary);color:var(--bal-toast-color-primary)}.bal-toast__inner--is-info{background:var(--bal-toast-background-info);color:var(--bal-toast-color-info)}.bal-toast__inner--is-danger{background:var(--bal-toast-background-danger);color:var(--bal-toast-color-danger)}.bal-toast__inner--is-warning{background:var(--bal-toast-background-warning);color:var(--bal-toast-color-warning)}.bal-toast__inner--is-success{background:var(--bal-toast-background-success);color:var(--bal-toast-color-success)}@media screen and (min-width: 769px),print{.bal-toast__inner{padding:var(--bal-space-normal-tablet)}}@media screen and (min-width: 1024px){.bal-toast__inner{padding:var(--bal-space-normal-desktop)}}@media screen and (min-width: 769px),print{.bal-toast__inner{max-width:28.75rem;width:28.75rem}}@media screen and (min-width: 1024px){.bal-toast__inner{max-width:30rem;width:30rem}}.bal-toast__label{margin-right:3rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.bal-toast__close.bal-close{position:absolute;top:50%;right:1rem;margin-top:-0.75rem}";var m=f;var h=a("bal_toast",function(){function a(a){t(this,a);this.balClose=n(this,"balClose",7);this.toastId="bal-toast-".concat(p++);this.color="";this.duration=0;this.message="";this.closeHandler=function(){return void 0}}a.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){switch(a.label){case 0:if(!(this.duration>0))return[3,2];return[4,this.closeIn(this.duration)];case 1:a.sent();a.label=2;case 2:return[2]}}))}))};a.prototype.closeIn=function(a){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.timer=setTimeout((function(){return t.close()}),a);return[2]}))}))};a.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.element.remove();clearTimeout(this.timer);this.balClose.emit(this.toastId);this.closeHandler();return[2]}))}))};Object.defineProperty(a.prototype,"colorType",{get:function(){if(this.color===""){return""}return"bal-toast__inner--is-".concat(this.color)},enumerable:false,configurable:true});a.prototype.render=function(){var a=this;return e(r,{key:"98efc7e715868158761632175f1d5ebaf2109fef",id:this.toastId,class:"bal-toast"},e("div",{key:"3d5562a482701cd6013749b5dac2e6b2d6b5452f",role:"alert",onClick:function(){return a.close()},class:"bal-toast__inner ".concat(this.colorType)},e("span",{key:"394cdb2e5000ee33929093cf4e563bd729de44f8",class:"bal-toast__label",innerHTML:this.message,"data-testid":"bal-toast-label"},e("slot",{key:"69731e615a6212359cfccf7089064525de7f0f89"})),e("bal-close",{key:"d07cf7ad019afc147c24a7002415359640c19266",class:"bal-toast__close",inverted:false,"data-testid":"bal-toast-close"})))};Object.defineProperty(a.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return a}());var p=0;h.style=m}}}));
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as n,g as o,c as i}from"./p-2ccbe55a.js";import{_ as r,a}from"./p-43c9f5e9.js";import{B as s}from"./p-ae86d0a0.js";import{p as c}from"./p-c0c91eb1.js";import{B as l}from"./p-c1852273.js";import{b as p}from"./p-f557519e.js";import{L as d}from"./p-49361909.js";import{L as h}from"./p-69e7c8d6.js";import{b}from"./p-a65354df.js";import{L as u}from"./p-b77e3348.js";import"./p-9a3d9e17.js";import"./p-f64319f1.js";import"./p-2229e98e.js";import"./p-aafb6696.js";import"./p-96216bd1.js";import"./p-acf222fd.js";import"./p-0bd1bf82.js";const f=class{constructor(e){t(this,e),this.bodyScrollHandler=new l,this.onPopoverChange=t=>{this.isActive=t.detail,c(t)},this.isActive=!1,this.innerCloseLabel="Close",this.isMobile=p.isMobile,this.closeLabel=void 0,this.small=!1}connectedCallback(){this.bodyScrollHandler.connect()}componentDidRender(){this.updateContent()}disconnectedCallback(){this.bodyScrollHandler.disconnect()}breakpointListener(t){const e=t.mobile;e!==this.isMobile&&(this.isActive=!1),this.isMobile=e}async configChanged(t){if(!this.closeLabel)switch(t.language){case"de":this.innerCloseLabel="Schliessen";break;case"fr":this.innerCloseLabel="Fermer";break;case"it":this.innerCloseLabel="Chiudere";break;case"nl":this.innerCloseLabel="Sluiten";break;default:this.innerCloseLabel="Close"}}async toggle(){this.isActive?this.dismiss():this.present()}async present(){this.popoverElement&&this.popoverElement.present(),this.isMobile&&this.bodyScrollHandler.disable(),this.isActive=!0}async dismiss(){this.popoverElement&&this.popoverElement.dismiss(),this.isMobile&&this.bodyScrollHandler.enable(),this.isActive=!1}updateContent(){this.hintContentEl&&this.slotWrapperEl&&(this.hintContentEl.innerHTML=this.slotWrapperEl.innerHTML)}render(){const t=s.block("hint"),o=t.element("icon"),i=t.element("content"),r=i.element("buttons"),a=this.isMobile?0:8,c=this.isMobile?0:16,l=()=>e("bal-icon",{class:Object.assign({},o.class()),"data-testid":"bal-hint-trigger","bal-popover-trigger":!0,"aria-haspopup":"true",role:"button",name:"info-circle",onClick:()=>this.toggle()}),p=()=>e("div",{class:Object.assign({},i.class()),"data-testid":"bal-hint-content"},e("div",{ref:t=>this.hintContentEl=t}),e("bal-button-group",{class:Object.assign(Object.assign({},r.class()),r.modifier("is-hidden-desktop").class(this.small))},e("bal-button",{"data-testid":"bal-hint-close",color:"info",onClick:()=>this.dismiss()},this.closeLabel?this.closeLabel:this.innerCloseLabel))),d=this.isMobile?()=>{const n=t.element("overlay");return e("div",{class:Object.assign({},n.class())},e(l,null),e("div",{class:Object.assign(Object.assign({},n.element("content").class()),n.element("content").modifier("active").class(this.isActive))},e(p,null)))}:()=>e("div",{class:Object.assign({},t.element("popover").class())},e("bal-popover",{hint:!0,position:"right",offsetX:0,offsetY:c,padding:a,ref:t=>this.popoverElement=t,onBalChange:this.onPopoverChange},e(l,null),e("bal-popover-content",{color:"grey"},e(p,null))));return e(n,{class:Object.assign({},t.class())},e(d,null),e("div",{ref:t=>this.slotWrapperEl=t,style:{display:"none"}},e("slot",null)))}get element(){return o(this)}};r([d(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",void 0)],f.prototype,"breakpointListener",null),r([h(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",Promise)],f.prototype,"configChanged",null),f.style=":root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}@media (hover: hover)and (pointer: fine){.bal-hint__icon:hover svg,.bal-hint__icon:hover g,.bal-hint__icon:hover path,.bal-hint__icon:hover circle,.bal-hint__icon:focus svg,.bal-hint__icon:focus g,.bal-hint__icon:focus path,.bal-hint__icon:focus circle{fill:var(--bal-color-light-blue-5)}}.bal-hint__content{background:var(--bal-hint-content-background);display:-ms-flexbox;display:flex;gap:1.5rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-hint__content{padding:1.25rem;min-height:100%}.bal-hint__content>div{-ms-flex:1;flex:1}}.bal-hint__content__title{display:block;margin-bottom:1rem}.bal-hint__content__title__heading{font-family:var(--bal-title-font-family);font-weight:var(--bal-title-font-weight);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}@media screen and (min-width: 769px),print{.bal-hint__content__buttons--is-hidden-desktop{display:none !important}}.bal-hint__content__text__field{font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);line-height:var(--bal-text-line-height-text);font-size:var(--bal-text-size-normal)}.bal-hint__overlay__content{position:fixed;display:none;overflow:auto;top:0;left:0;right:0;bottom:0;z-index:var(--bal-z-index-popup)}.bal-hint__overlay__content--active{display:block}";const v=class{constructor(e){t(this,e)}render(){const t=s.block("hint").element("content").element("text"),o=t.element("field");return e(n,{key:"10515eb783c2a6feba7f88cc419e7cfa57295231",class:Object.assign({},t.class())},e("p",{key:"5a2c68d72075d729f72527e2bf6a7afcfa18c29e",class:Object.assign({},o.class())},e("slot",{key:"8da0f8ccdb88e88206c2b87ccae42d2636fc5586"})))}},m=class{constructor(e){t(this,e)}render(){const t=s.block("hint").element("content").element("title"),o=t.element("heading");return e(n,{key:"8f29a6b15159586bb953a76e446574facc9e258a",class:Object.assign({},t.class())},e("h3",{key:"9edc67f39610f47e3adad25fb931809cef09b908",class:Object.assign({},o.class())},e("span",{key:"30b258cb3ec7ffe8463c7fe5364ab61093611015"},e("slot",{key:"9b8eb3d881e5393c757362c0e66be4debd4031b4"}))))}};var _="top",g="bottom",y="right",w="left",x="auto",j=[_,g,y,w],O="start",k="end",z="clippingParents",L="viewport",C="popper",P="reference",E=j.reduce((function(t,e){return t.concat([e+"-"+O,e+"-"+k])}),[]),M=[].concat(j,[x]).reduce((function(t,e){return t.concat([e,e+"-"+O,e+"-"+k])}),[]),A=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(t){return t?(t.nodeName||"").toLowerCase():null}function S(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function W(t){return t instanceof S(t).Element||t instanceof Element}function F(t){return t instanceof S(t).HTMLElement||t instanceof HTMLElement}function R(t){return"undefined"!=typeof ShadowRoot&&(t instanceof S(t).ShadowRoot||t instanceof ShadowRoot)}function T(t){return t.split("-")[0]}var q=Math.max,$=Math.min,H=Math.round;function D(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function I(){return!/^((?!chrome|android).)*safari/i.test(D())}function U(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var o=t.getBoundingClientRect(),i=1,r=1;e&&F(t)&&(i=t.offsetWidth>0&&H(o.width)/t.offsetWidth||1,r=t.offsetHeight>0&&H(o.height)/t.offsetHeight||1);var a=(W(t)?S(t):window).visualViewport,s=!I()&&n,c=(o.left+(s&&a?a.offsetLeft:0))/i,l=(o.top+(s&&a?a.offsetTop:0))/r,p=o.width/i,d=o.height/r;return{width:p,height:d,top:l,right:c+p,bottom:l+d,left:c,x:c,y:l}}function K(t){var e=U(t),n=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:o}}function N(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&R(n)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function V(t){return S(t).getComputedStyle(t)}function X(t){return["table","td","th"].indexOf(B(t))>=0}function Y(t){return((W(t)?t.ownerDocument:t.document)||window.document).documentElement}function G(t){return"html"===B(t)?t:t.assignedSlot||t.parentNode||(R(t)?t.host:null)||Y(t)}function J(t){return F(t)&&"fixed"!==V(t).position?t.offsetParent:null}function Q(t){for(var e=S(t),n=J(t);n&&X(n)&&"static"===V(n).position;)n=J(n);return n&&("html"===B(n)||"body"===B(n)&&"static"===V(n).position)?e:n||function(t){var e=/firefox/i.test(D());if(/Trident/i.test(D())&&F(t)&&"fixed"===V(t).position)return null;var n=G(t);for(R(n)&&(n=n.host);F(n)&&["html","body"].indexOf(B(n))<0;){var o=V(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(t)||e}function Z(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function tt(t,e,n){return q(t,$(e,n))}function et(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function nt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ot(t){return t.split("-")[1]}var it={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rt(t){var e,n=t.popper,o=t.popperRect,i=t.placement,r=t.variation,a=t.offsets,s=t.position,c=t.gpuAcceleration,l=t.adaptive,p=t.roundOffsets,d=t.isFixed,h=a.x,b=void 0===h?0:h,u=a.y,f=void 0===u?0:u,v="function"==typeof p?p({x:b,y:f}):{x:b,y:f};b=v.x,f=v.y;var m=a.hasOwnProperty("x"),x=a.hasOwnProperty("y"),j=w,O=_,z=window;if(l){var L=Q(n),C="clientHeight",P="clientWidth";L===S(n)&&"static"!==V(L=Y(n)).position&&"absolute"===s&&(C="scrollHeight",P="scrollWidth"),(i===_||(i===w||i===y)&&r===k)&&(O=g,f-=(d&&L===z&&z.visualViewport?z.visualViewport.height:L[C])-o.height,f*=c?1:-1),i!==w&&(i!==_&&i!==g||r!==k)||(j=y,b-=(d&&L===z&&z.visualViewport?z.visualViewport.width:L[P])-o.width,b*=c?1:-1)}var E,M=Object.assign({position:s},l&&it),A=!0===p?function(t,e){var n=t.y,o=e.devicePixelRatio||1;return{x:H(t.x*o)/o||0,y:H(n*o)/o||0}}({x:b,y:f},S(n)):{x:b,y:f};return b=A.x,f=A.y,Object.assign({},M,c?((E={})[O]=x?"0":"",E[j]=m?"0":"",E.transform=(z.devicePixelRatio||1)<=1?"translate("+b+"px, "+f+"px)":"translate3d("+b+"px, "+f+"px, 0)",E):((e={})[O]=x?f+"px":"",e[j]=m?b+"px":"",e.transform="",e))}var at={passive:!0},st={left:"right",right:"left",bottom:"top",top:"bottom"};function ct(t){return t.replace(/left|right|bottom|top/g,(function(t){return st[t]}))}var lt={start:"end",end:"start"};function pt(t){return t.replace(/start|end/g,(function(t){return lt[t]}))}function dt(t){var e=S(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ht(t){return U(Y(t)).left+dt(t).scrollLeft}function bt(t){var e=V(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function ut(t){return["html","body","#document"].indexOf(B(t))>=0?t.ownerDocument.body:F(t)&&bt(t)?t:ut(G(t))}function ft(t,e){var n;void 0===e&&(e=[]);var o=ut(t),i=o===(null==(n=t.ownerDocument)?void 0:n.body),r=S(o),a=i?[r].concat(r.visualViewport||[],bt(o)?o:[]):o,s=e.concat(a);return i?s:s.concat(ft(G(a)))}function vt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function mt(t,e,n){return e===L?vt(function(t,e){var n=S(t),o=Y(t),i=n.visualViewport,r=o.clientWidth,a=o.clientHeight,s=0,c=0;if(i){r=i.width,a=i.height;var l=I();(l||!l&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:r,height:a,x:s+ht(t),y:c}}(t,n)):W(e)?function(t,e){var n=U(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):vt(function(t){var e,n=Y(t),o=dt(t),i=null==(e=t.ownerDocument)?void 0:e.body,r=q(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=q(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-o.scrollLeft+ht(t),c=-o.scrollTop;return"rtl"===V(i||n).direction&&(s+=q(n.clientWidth,i?i.clientWidth:0)-r),{width:r,height:a,x:s,y:c}}(Y(t)))}function _t(t){var e,n=t.reference,o=t.element,i=t.placement,r=i?T(i):null,a=i?ot(i):null,s=n.x+n.width/2-o.width/2,c=n.y+n.height/2-o.height/2;switch(r){case _:e={x:s,y:n.y-o.height};break;case g:e={x:s,y:n.y+n.height};break;case y:e={x:n.x+n.width,y:c};break;case w:e={x:n.x-o.width,y:c};break;default:e={x:n.x,y:n.y}}var l=r?Z(r):null;if(null!=l){var p="y"===l?"height":"width";switch(a){case O:e[l]=e[l]-(n[p]/2-o[p]/2);break;case k:e[l]=e[l]+(n[p]/2-o[p]/2)}}return e}function gt(t,e){void 0===e&&(e={});var n=e.placement,o=void 0===n?t.placement:n,i=e.strategy,r=void 0===i?t.strategy:i,a=e.boundary,s=void 0===a?z:a,c=e.rootBoundary,l=void 0===c?L:c,p=e.elementContext,d=void 0===p?C:p,h=e.altBoundary,b=void 0!==h&&h,u=e.padding,f=void 0===u?0:u,v=et("number"!=typeof f?f:nt(f,j)),m=t.rects.popper,w=t.elements[b?d===C?P:C:d],x=function(t,e,n,o){var i="clippingParents"===e?function(t){var e=ft(G(t)),n=["absolute","fixed"].indexOf(V(t).position)>=0&&F(t)?Q(t):t;return W(n)?e.filter((function(t){return W(t)&&N(t,n)&&"body"!==B(t)})):[]}(t):[].concat(e),r=[].concat(i,[n]),a=r.reduce((function(e,n){var i=mt(t,n,o);return e.top=q(i.top,e.top),e.right=$(i.right,e.right),e.bottom=$(i.bottom,e.bottom),e.left=q(i.left,e.left),e}),mt(t,r[0],o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(W(w)?w:w.contextElement||Y(t.elements.popper),s,l,r),O=U(t.elements.reference),k=_t({reference:O,element:m,strategy:"absolute",placement:o}),E=vt(Object.assign({},m,k)),M=d===C?E:O,A={top:x.top-M.top+v.top,bottom:M.bottom-x.bottom+v.bottom,left:x.left-M.left+v.left,right:M.right-x.right+v.right},S=t.modifiersData.offset;if(d===C&&S){var R=S[o];Object.keys(A).forEach((function(t){var e=[y,g].indexOf(t)>=0?1:-1,n=[_,g].indexOf(t)>=0?"y":"x";A[t]+=R[n]*e}))}return A}function yt(t,e){void 0===e&&(e={});var n=e.boundary,o=e.rootBoundary,i=e.padding,r=e.flipVariations,a=e.allowedAutoPlacements,s=void 0===a?M:a,c=ot(e.placement),l=c?r?E:E.filter((function(t){return ot(t)===c})):j,p=l.filter((function(t){return s.indexOf(t)>=0}));0===p.length&&(p=l);var d=p.reduce((function(e,r){return e[r]=gt(t,{placement:r,boundary:n,rootBoundary:o,padding:i})[T(r)],e}),{});return Object.keys(d).sort((function(t,e){return d[t]-d[e]}))}const wt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var i=n.mainAxis,r=void 0===i||i,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,p=n.boundary,d=n.rootBoundary,h=n.altBoundary,b=n.flipVariations,u=void 0===b||b,f=n.allowedAutoPlacements,v=e.options.placement,m=T(v),j=c||(m!==v&&u?function(t){if(T(t)===x)return[];var e=ct(t);return[pt(t),e,pt(e)]}(v):[ct(v)]),k=[v].concat(j).reduce((function(t,n){return t.concat(T(n)===x?yt(e,{placement:n,boundary:p,rootBoundary:d,padding:l,flipVariations:u,allowedAutoPlacements:f}):n)}),[]),z=e.rects.reference,L=e.rects.popper,C=new Map,P=!0,E=k[0],M=0;M<k.length;M++){var A=k[M],B=T(A),S=ot(A)===O,W=[_,g].indexOf(B)>=0,F=W?"width":"height",R=gt(e,{placement:A,boundary:p,rootBoundary:d,altBoundary:h,padding:l}),q=W?S?y:w:S?g:_;z[F]>L[F]&&(q=ct(q));var $=ct(q),H=[];if(r&&H.push(R[B]<=0),s&&H.push(R[q]<=0,R[$]<=0),H.every((function(t){return t}))){E=A,P=!1;break}C.set(A,H)}if(P)for(var D=function(t){var e=k.find((function(e){var n=C.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return E=e,"break"},I=u?3:1;I>0&&"break"!==D(I);I--);e.placement!==E&&(e.modifiersData[o]._skip=!0,e.placement=E,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function xt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function jt(t){return[_,y,g,w].some((function(e){return t[e]>=0}))}function Ot(t,e,n){void 0===n&&(n=!1);var o,i,r=F(e),a=F(e)&&function(t){var e=t.getBoundingClientRect(),n=H(e.width)/t.offsetWidth||1,o=H(e.height)/t.offsetHeight||1;return 1!==n||1!==o}(e),s=Y(e),c=U(t,a,n),l={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(r||!r&&!n)&&(("body"!==B(e)||bt(s))&&(l=(o=e)!==S(o)&&F(o)?{scrollLeft:(i=o).scrollLeft,scrollTop:i.scrollTop}:dt(o)),F(e)?((p=U(e,!0)).x+=e.clientLeft,p.y+=e.clientTop):s&&(p.x=ht(s))),{x:c.left+l.scrollLeft-p.x,y:c.top+l.scrollTop-p.y,width:c.width,height:c.height}}function kt(t){var e=new Map,n=new Set,o=[];function i(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var o=e.get(t);o&&i(o)}})),o.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),o}var zt={placement:"bottom",modifiers:[],strategy:"absolute"};function Lt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Ct(t){void 0===t&&(t={});var e=t.defaultModifiers,n=void 0===e?[]:e,o=t.defaultOptions,i=void 0===o?zt:o;return function(t,e,o){void 0===o&&(o=i);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},zt,i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],l=!1,p={state:s,setOptions:function(o){var r="function"==typeof o?o(s.options):o;d(),s.options=Object.assign({},i,s.options,r),s.scrollParents={reference:W(t)?ft(t):t.contextElement?ft(t.contextElement):[],popper:ft(e)};var a,l,h=function(t){var e=kt(t);return A.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((a=[].concat(n,s.options.modifiers),l=a.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(l).map((function(t){return l[t]}))));return s.orderedModifiers=h.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.options,n=t.effect;if("function"==typeof n){var o=n({state:s,name:t.name,instance:p,options:void 0===e?{}:e});c.push(o||function(){})}})),p.update()},forceUpdate:function(){if(!l){var t=s.elements,e=t.reference,n=t.popper;if(Lt(e,n)){s.rects={reference:Ot(e,Q(n),"fixed"===s.options.strategy),popper:K(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var i=s.orderedModifiers[o],r=i.fn,a=i.options;"function"==typeof r&&(s=r({state:s,options:void 0===a?{}:a,name:i.name,instance:p})||s)}else s.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(t){p.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(r())}))}))),a}),destroy:function(){d(),l=!0}};if(!Lt(t,e))return p;function d(){c.forEach((function(t){return t()})),c=[]}return p.setOptions(o).then((function(t){!l&&o.onFirstUpdate&&o.onFirstUpdate(t)})),p}}var Pt=Ct({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,i=o.scroll,r=void 0===i||i,a=o.resize,s=void 0===a||a,c=S(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&l.forEach((function(t){t.addEventListener("scroll",n.update,at)})),s&&c.addEventListener("resize",n.update,at),function(){r&&l.forEach((function(t){t.removeEventListener("scroll",n.update,at)})),s&&c.removeEventListener("resize",n.update,at)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=_t({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,o=n.gpuAcceleration,i=void 0===o||o,r=n.adaptive,a=void 0===r||r,s=n.roundOffsets,c=void 0===s||s,l={placement:T(e.placement),variation:ot(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,rt(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,rt(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},i=e.elements[t];F(i)&&B(i)&&(Object.assign(i.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],i=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});F(o)&&B(o)&&(Object.assign(o.style,r),Object.keys(i).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.name,o=t.options.offset,i=void 0===o?[0,0]:o,r=M.reduce((function(t,n){return t[n]=function(t,e,n){var o=T(t),i=[w,_].indexOf(o)>=0?-1:1,r="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=r[0],s=r[1];return a=a||0,s=(s||0)*i,[w,y].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,i),t}),{}),a=r[e.placement],s=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=s),e.modifiersData[n]=r}},wt,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,o=t.name,i=n.mainAxis,r=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,c=n.tether,l=void 0===c||c,p=n.tetherOffset,d=void 0===p?0:p,h=gt(e,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),b=T(e.placement),u=ot(e.placement),f=!u,v=Z(b),m="x"===v?"y":"x",x=e.modifiersData.popperOffsets,j=e.rects.reference,k=e.rects.popper,z="function"==typeof d?d(Object.assign({},e.rects,{placement:e.placement})):d,L="number"==typeof z?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),C=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(x){if(r){var E,M="y"===v?_:w,A="y"===v?g:y,B="y"===v?"height":"width",S=x[v],W=S+h[M],F=S-h[A],R=l?-k[B]/2:0,H=u===O?j[B]:k[B],D=u===O?-k[B]:-j[B],I=e.elements.arrow,U=l&&I?K(I):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=N[M],X=N[A],Y=tt(0,j[B],U[B]),G=f?j[B]/2-R-Y-V-L.mainAxis:H-Y-V-L.mainAxis,J=f?-j[B]/2+R+Y+X+L.mainAxis:D+Y+X+L.mainAxis,et=e.elements.arrow&&Q(e.elements.arrow),nt=null!=(E=null==C?void 0:C[v])?E:0,it=S+J-nt,rt=tt(l?$(W,S+G-nt-(et?"y"===v?et.clientTop||0:et.clientLeft||0:0)):W,S,l?q(F,it):F);x[v]=rt,P[v]=rt-S}if(s){var at,st=x[m],ct="y"===m?"height":"width",lt=st+h["x"===v?_:w],pt=st-h["x"===v?g:y],dt=-1!==[_,w].indexOf(b),ht=null!=(at=null==C?void 0:C[m])?at:0,bt=dt?lt:st-j[ct]-k[ct]-ht+L.altAxis,ut=dt?st+j[ct]+k[ct]-ht-L.altAxis:pt,ft=l&&dt?function(t,e,n){var o=tt(t,e,n);return o>n?n:o}(bt,st,ut):tt(l?bt:lt,st,l?ut:pt);x[m]=ft,P[m]=ft-st}e.modifiersData[o]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,o=t.name,i=t.options,r=n.elements.arrow,a=n.modifiersData.popperOffsets,s=T(n.placement),c=Z(s),l=[w,y].indexOf(s)>=0?"height":"width";if(r&&a){var p=function(t,e){return et("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:nt(t,j))}(i.padding,n),d=K(r),h="y"===c?_:w,b="y"===c?g:y,u=n.rects.reference[l]+n.rects.reference[c]-a[c]-n.rects.popper[l],f=a[c]-n.rects.reference[c],v=Q(r),m=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,x=m/2-d[l]/2+(u/2-f/2),O=tt(p[h],x,m-d[l]-p[b]);n.modifiersData[o]=((e={})[c]=O,e.centerOffset=O-x,e)}},effect:function(t){var e=t.state,n=t.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&N(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,o=e.rects.reference,i=e.rects.popper,r=e.modifiersData.preventOverflow,a=gt(e,{elementContext:"reference"}),s=gt(e,{altBoundary:!0}),c=xt(a,o),l=xt(s,i,r),p=jt(c),d=jt(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:p,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":d})}}]});const Et=class{constructor(e){t(this,e),this.balChange=i(this,"balChange",7),this.balWillAnimate=i(this,"balWillAnimate",7),this.balDidAnimate=i(this,"balDidAnimate",7),this.balPopoverPrepare=i(this,"balPopoverPrepare",7),this.popoverId="bal-po-"+Mt++,this.isTouch=p.isTouch,this.isInMainNav=!1,this.backdropHeight=0,this.autoTrigger=!1,this.hint=!1,this.hover=!1,this.arrow=!1,this.backdrop=!1,this.tooltip=!1,this.offsetX=0,this.offsetY=0,this.padding=0,this.position="bottom-start",this.active=!1,this.mobileTop=!1}createLogger(t){this.log=t}async activeChanged(t,e){!0===t&&t!==e?this.present({force:!0}):this.dismiss({force:!0})}componentWillLoad(){this.backdropHeight=this.getBackdropHeight()}componentDidLoad(){if(this.isInMainNav=null!==this.footMobileNav,this.triggerElement&&this.menuElement){this.popperInstance=Pt(this.triggerElement,this.menuElement,{placement:this.tooltip?"bottom":this.position,modifiers:[this.modifierOffset,this.modifierPreventOverflow]});let t=[],e=[];this.autoTrigger&&(t=["click"]),this.tooltip&&(t=["mouseenter","focus"],e=["mouseleave","blur"]),t.forEach((t=>{this.triggerElement&&this.triggerElement.addEventListener(t,"click"===t?()=>this.toggle():()=>this.present())})),e.forEach((t=>{this.triggerElement&&this.triggerElement.addEventListener(t,(()=>this.dismiss()))}))}}componentDidRender(){this.popperInstance&&(this.popperInstance.setOptions((t=>Object.assign(Object.assign({},t),{placement:this.tooltip?"bottom":this.position,modifiers:[...t.modifiers.filter((t=>"offset"!==t.name&&"preventOverflow"!==t.name)),this.modifierOffset,this.modifierPreventOverflow]}))),this.updatePopper()),b.isSafari&&!this.isTouch&&(clearTimeout(this.componentDidRenderTimer),this.componentDidRenderTimer=setTimeout((()=>{var t;const e=null===(t=this.el)||void 0===t?void 0:t.clientWidth;this.el.style.maxWidth=e?`${e}px`:"initial"})))}handlePopoverPrepare(t){this.popoverId!==t.detail&&this.dismiss()}async clickOnOutside(t){var e;this.active&&(this.el.contains(t.target)||(this.active=!1),(null===(e=this.backdropElement)||void 0===e?void 0:e.isEqualNode(t.target))&&(this.active=!1))}handleKeyUp(t){!this.active||"Escape"!==t.key&&"Esc"!==t.key||(t.preventDefault(),this.dismiss())}async tabOutside(t){"Tab"===t.key&&!this.el.contains(document.activeElement)&&this.active&&await this.toggle()}breakpointListener(t){this.isTouch=t.touch,this.isInMainNav=null!==this.footMobileNav,this.backdropHeight=this.getBackdropHeight()}async present(t={force:!1}){var e,n;this.active&&!t.force||(null===(e=this.menuElement)||void 0===e||e.setAttribute("data-show",""),null===(n=this.menuElement)||void 0===n||n.setAttribute("aria-hidden","false"),this.menuInnerElement&&this.menuInnerElement.scrollTo(0,0),this.balPopoverPrepare.emit(this.popoverId),this.balWillAnimate.emit(this.active),this.active=!0,this.popperInstance.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]}))),this.updatePopper(),this.balChange.emit(this.active),this.balDidAnimate.emit(this.active))}async dismiss(t={force:!1}){var e,n;(this.active||t.force)&&(null===(e=this.menuElement)||void 0===e||e.removeAttribute("data-show"),null===(n=this.menuElement)||void 0===n||n.setAttribute("aria-hidden","true"),this.balWillAnimate.emit(this.active),this.active=!1,this.popperInstance.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]}))),this.updatePopper(),this.balChange.emit(this.active),this.balDidAnimate.emit(this.active))}async toggle(t={force:!1}){this.active?await this.dismiss(t):await this.present(t)}get footMobileNav(){return this.el.closest('[slot="meta-mobile-foot"]')}get modifierOffset(){return{name:"offset",options:{offset:[this.offsetX,this.offsetY+(this.tooltip||this.arrow?8:0)]}}}get modifierPreventOverflow(){return{name:"preventOverflow",options:{padding:this.arrow||this.tooltip?8:this.padding,altAxis:!0}}}get triggerElement(){return this.el.querySelector("[bal-popover-trigger]")}get menuElement(){return this.el.querySelector("bal-popover-content")}get menuInnerElement(){return this.el.querySelector(".bal-popover__content__inner")}getBackdropHeight(){return b.hasWindow?this.isInMainNav?(window.innerHeight-(this.isTouch?64:48))/16:window.innerHeight/16:0}updatePopper(){this.popperInstance.update()}render(){const t=s.block("popover");return e(n,{key:"7f7adc347e2bcc9f8acacc57f7e5e3d878e706c8","aria-presented":this.active?"true":null,"data-id":this.popoverId,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier("active").class(this.active)),t.modifier("tooltip").class(this.tooltip)),t.modifier("arrow").class(this.arrow)),t.modifier("hint").class(this.hint)),t.modifier("backdrop").class(this.backdrop))},!this.mobileTop&&e("div",{key:"4caa1176851cfca5ea5bc51cb5cbf503572686e9",ref:t=>{this.backdropElement=t},class:Object.assign({},t.element("backdrop").class(this.backdrop&&this.active)),style:{"--bal-popover-backdrop-height":`${this.backdropHeight}rem`}}),e("slot",{key:"36ec1137ffb8bc0439bbebcaa39144b9bcf7ed45"}))}get el(){return o(this)}static get watchers(){return{active:["activeChanged"]}}};r([u("bal-popover"),a("design:type",Function),a("design:paramtypes",[Function]),a("design:returntype",void 0)],Et.prototype,"createLogger",null),r([d(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",void 0)],Et.prototype,"breakpointListener",null);let Mt=0;Et.style='.bal-popover__backdrop{bottom:0;left:0;position:absolute;right:0;top:0}:root{--bal-popover-backdrop-height:100vh;--bal-popover-content-height-top-nav:100vh;--bal-popover-backdrop-background:var(--bal-color-primary-6);--bal-popover-backdrop-opacity:.8;--bal-popover-content-shadow:var(--bal-shadow-normal);--bal-popover-content-background:var(--bal-color-white);--bal-popover-content-background-grey:var(--bal-color-grey-2);--bal-popover-tooltip-background:var(--bal-color-primary-6);--bal-popover-tooltip-color:var(--bal-color-white);--bal-popover-tooltip-font-family:var(--bal-font-family-text);--bal-popover-tooltip-font-size:var(--bal-text-size-small)}.bal-popover{display:block}@media screen and (max-width: 768px){.bal-popover .bal-popover__content{min-width:100vw !important}.bal-popover .bal-select__popover{min-width:100% !important}}.bal-popover--active .bal-popover__content{display:block}.bal-popover--backdrop [bal-popover-trigger]{z-index:calc(var(--bal-z-index-popup) - 1);position:relative}@media screen and (max-width: 768px){.bal-popover--hint .bal-popover__content{min-height:100vh}.bal-popover--hint .bal-popover__content .bal-popover__content__inner{min-height:100vh}}@media screen and (min-width: 769px),print{.bal-popover--hint .bal-popover__content{max-width:20rem}}@media screen and (min-width: 1024px){.bal-popover--hint .bal-popover__content{max-width:30rem}}.bal-popover__backdrop{z-index:calc(var(--bal-z-index-popup) - 2);position:fixed;background:var(--bal-popover-backdrop-background);opacity:var(--bal-popover-backdrop-opacity);height:var(--bal-popover-backdrop-height);width:100vw}.bal-popover__content{display:none;z-index:var(--bal-z-index-popup);-webkit-box-shadow:var(--bal-popover-content-shadow);box-shadow:var(--bal-popover-content-shadow);background:var(--bal-popover-content-background);min-width:16.25rem}.bal-popover__content[data-show]{display:block}.bal-popover__content--expanded{min-width:100%}.bal-popover__content--no-shadow{-webkit-box-shadow:none;box-shadow:none}.bal-popover__content--radius-normal{border-radius:var(--bal-radius-normal)}.bal-popover__content--radius-large{border-radius:var(--bal-radius-large)}.bal-popover__content--radius-none{border-radius:0}.bal-popover__content--radius-normal-bottom-none{border-radius:var(--bal-radius-normal);border-bottom-right-radius:0;border-bottom-left-radius:0}.bal-popover__content--radius-normal-top-none{border-radius:var(--bal-radius-normal);border-top-left-radius:0;border-top-right-radius:0}.bal-popover__content--radius-large-bottom-none{border-radius:var(--bal-radius-large);border-bottom-right-radius:0;border-bottom-left-radius:0}.bal-popover__content--radius-large-top-none{border-radius:var(--bal-radius-large);border-top-left-radius:0;border-top-right-radius:0}.bal-popover__content--on-top{border-top:1px solid var(--bal-color-grey-2);height:var(--bal-popover-content-height-top-nav);overflow-y:auto}.bal-popover__content--color-grey{background:var(--bal-popover-content-background-grey)}.bal-popover__content__inner{max-height:calc(100vh - 4.5rem);overflow:auto;padding:1rem}@media screen and (min-width: 769px),print{.bal-popover__content__inner{padding:1.5rem}}@media screen and (min-width: 1024px){.bal-popover__content__inner{max-height:calc(100vh - 8rem)}}.bal-popover__content--spaceless .bal-popover__content__inner{padding:0}.bal-popover__content [data-popper-arrow]{display:none}.bal-popover__content__arrow{visibility:hidden}.bal-popover__content__arrow [data-popper-arrow]{display:block}.bal-popover__content__arrow,.bal-popover__content__arrow:before{position:absolute;width:.5rem;height:.5rem;background:inherit}.bal-popover__content__arrow:before{visibility:visible;content:"";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-popover__content[data-popper-placement^=top]>.bal-popover__content__arrow{bottom:-0.25rem}.bal-popover__content[data-popper-placement^=bottom]>.bal-popover__content__arrow{top:-0.25rem}.bal-popover__content[data-popper-placement^=left]>.bal-popover__content__arrow{right:-0.25rem}.bal-popover__content[data-popper-placement^=right]>.bal-popover__content__arrow{left:-0.25rem}.bal-popover--arrow .bal-popover__content__arrow{display:block}.bal-popover--tooltip .bal-popover__content{min-width:unset;background:var(--bal-popover-tooltip-background)}.bal-popover--tooltip .bal-popover__content .bal-popover__content__inner{padding:var(--bal-space-x-small)}.bal-popover--tooltip .bal-popover__content .bal-popover__content__inner,.bal-popover--tooltip .bal-popover__content .bal-popover__content__inner p{color:var(--bal-popover-tooltip-color);font-family:var(--bal-popover-tooltip-font-family);font-size:var(--bal-popover-tooltip-font-size)}';const At=class{constructor(e){t(this,e),this.isTouch=p.isTouch,this.spaceless=!1,this.scrollable=0,this.contentWidth=0,this.contentMinWidth=0,this.color="white",this.expanded=!1,this.radius="normal",this.noShadow=!1,this.mobileTop=!1,this.contentHeightOnTop=0}breakpointListener(t){b.hasWindow&&(this.contentHeightOnTop=window.innerHeight-64)}get innerStyle(){let t={};return this.scrollable>0&&(t={"max-height":`${this.scrollable}px`,overflow:"auto"}),Object.assign({},t)}get contentStyle(){let t={},e={};const n={"--bal-popover-content-height-top-nav":this.contentHeightOnTop/16+"rem"};return this.contentWidth>0&&(t={"max-width":`${this.contentWidth}px`}),this.contentMinWidth>0&&(e={"min-width":`${this.contentMinWidth}px`}),Object.assign(Object.assign(Object.assign({},t),e),n)}componentWillLoad(){b.hasWindow&&(this.contentHeightOnTop=window.innerHeight-64)}render(){const t=s.block("popover").element("content");return e(n,{key:"a6a40a129dadcbe55d6d75c64572b1c1aeedf944",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier("expanded").class(this.expanded)),t.modifier("spaceless").class(this.spaceless)),t.modifier("no-shadow").class(this.noShadow)),t.modifier(`radius-${this.radius}`).class()),t.modifier(`color-${this.color}`).class()),t.modifier("on-top").class(this.mobileTop)),"data-testid":"bal-popover-content",role:"tooltip",style:this.contentStyle},e("div",{key:"6204b4d421004e6f3cf1541ed6a2023f3b3bdef1",class:Object.assign({},t.element("inner").class()),style:this.innerStyle},e("slot",{key:"71183eaf21a740ed7e20457e9fc3ec302ed2536f"})),e("div",{key:"821519a57d42152641d759aaa350537f7cad59b1",class:Object.assign({},t.element("arrow").class()),"data-popper-arrow":!0}))}get el(){return o(this)}};r([d(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",void 0)],At.prototype,"breakpointListener",null);export{f as bal_hint,v as bal_hint_text,m as bal_hint_title,Et as bal_popover,At as bal_popover_content}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,n,e){function r(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function u(t){try{f(e.next(t))}catch(t){s(t)}}function a(t){try{f(e["throw"](t))}catch(t){s(t)}}function f(t){t.done?n(t.value):r(t.value).then(u,a)}f((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},e,r,s,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(i){return f([t,i])}}function f(a){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(n=0)),n)try{if(e=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){n.label=a[1];break}if(a[0]===6&&n.label<s[1]){n.label=s[1];s=a;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(a);break}if(s[2])n.ops.pop();n.trys.pop();continue}a=i.call(t,n)}catch(t){a=[6,t];r=0}finally{e=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,i,n){if(n||arguments.length===2)for(var e=0,r=i.length,s;e<r;e++){if(s||!(e in i)){if(!s)s=Array.prototype.slice.call(i,0,e);s[e]=i[e]}}return t.concat(s||Array.prototype.slice.call(i))};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-56c370cb.system.js","./p-d9b32333.system.js","./p-8949aa8b.system.js","./p-72ffb739.system.js","./p-db0895e2.system.js","./p-6e5745c8.system.js","./p-23bdd8dc.system.js","./p-6913b916.system.js","./p-ba579059.system.js","./p-056b22a7.system.js","./p-bb6304d0.system.js","./p-0177e3a0.system.js","./p-a1f6e944.system.js","./p-b3f2c626.system.js","./p-145d5c4e.system.js","./p-2880433e.system.js"],(function(t){"use strict";var i,n,e,r,s,u,a,f,o,c,h,l,d,b,v,p,y,m,_,g,j,w,k,x,F,O,A,C,I,K,P,S,T,V;return{setters:[function(t){i=t.r;n=t.c;e=t.h;r=t.H;s=t.g},function(t){u=t._;a=t.a},function(t){f=t.f;o=t.i;c=t.a;h=t.b;l=t.e;d=t.k;b=t.l;v=t.s;p=t.h;y=t.j;m=t.c;_=t.d},function(t){g=t.p},function(t){j=t.i},function(t){w=t.g;k=t.a;x=t.b;F=t.f},function(t){O=t.B},function(t){A=t.d},function(t){C=t.L},function(t){I=t.l},function(t){K=t.N;P=t.A},function(t){S=t.i},function(t){T=t.d},function(t){V=t.L},function(){},function(){},function(){},function(){}],execute:function(){var B="[object Number]";var E=Object.prototype;var G=E.toString;function q(t){return!!t&&typeof t=="object"}function z(t){return D(t)&&t!=+t}function D(t){return typeof t=="number"||q(t)&&G.call(t)==B}var L=z;function N(t){return typeof t==="string"&&x()!=="."}function H(t){var i=parseFloat(t);return typeof i==="number"&&!L(i)}function J(t){return!H(t)&&t!==""&&t!==w()&&t!==k()}function M(t,i){if(i===void 0){i=0}var n=t;if(n===""||n===undefined||n===null||L(n)||n===w()||n===k()||!H(n)){return undefined}if(N(n)){n=n.split(x()).join("").split("`").join("").split("'").join("")}return i===0?parseInt(n,10):parseFloat(n)}function Q(t,i){if(i===void 0){i=0}var n=t;if(I(n)){return""}if(N(n)){n=n.split(x()).join("").split("`").join("").split("'").join("")}if(n.charAt(0)===k()){n="0".concat(n)}var e=i===0?parseInt(n,10):parseFloat(n.replace(k(),"."));return L(e)?"":e.toFixed(i)}function R(t){return t.replace(".",k())}function U(t,i,n){if(i===void 0){i=0}if(n===void 0){n=""}if(I(t)){return""}if(t.charAt(0)===k()){t="0".concat(t)}var e=i===0?parseInt(t,10):parseFloat(t);var r=n!==""?" ".concat(n.trim()):"";return L(e)?"":F(e,i)+r}var W=function(t){return(t.split(k())||[]).length-1||0};function X(t){var i=t.key,n=t.ctrlKey,e=t.metaKey,r=t.selectionStart,s=t.selectionEnd,u=t.newValue,a=t.decimal;if(["a","c","v"].includes(i)&&(n||e)){return true}if(i===w()&&r&&r>0&&s&&s>0){return false}if(i===k()){if(a===0){return false}else if(W(u)>1){return false}}if(!__spreadArray(__spreadArray(__spreadArray([],K,true),P,true),[k(),w()],false).includes(i)){return false}if(a!==0&&u.includes(k())&&__spreadArray([],K,true).includes(i)){var f=u.split(k());var o=f[f.length-1];if(o.length>a){return false}}return true}var Y=".bal-number-input{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0;font-family:var(--bal-font-family-text)}";var Z=Y;var $=t("bal_number_input",function(){function t(t){var e=this;i(this,t);this.balInput=n(this,"balInput",7);this.balChange=n(this,"balChange",7);this.balBlur=n(this,"balBlur",7);this.balFocus=n(this,"balFocus",7);this.balKeyPress=n(this,"balKeyPress",7);this.inputId="bal-number-input-".concat(tt++);this.inheritedAttributes={};this.lastValue="";this.inputValue=this.value;this.initialValue=undefined;this.onClick=function(t){return f(e,t)};this.handleClick=function(t){return o(e,t)};this.onInput=function(t){var i;if(e.nativeInput){if(J(e.nativeInput.value)){e.nativeInputValue=e.lastValue||"";return}}e.lastValue=((i=e.nativeInput)===null||i===void 0?void 0:i.value)||"";e.balInput.emit(M(e.lastValue,e.decimal))};this.onFocus=function(t){c(e,t);if(e.nativeInput){e.nativeInputValue=R(e.lastValue||"");clearTimeout(e.selectTimeout);e.selectTimeout=setTimeout((function(){return e.nativeInput.select()}))}};this.onBlur=function(t){h(e,t);if(e.nativeInput){e.lastValue=Q(e.lastValueGetter,e.decimal);e.nativeInputValue=U(e.lastValueGetter,e.decimal,e.suffix);e.nativeInput.value=e.nativeInputValue}e.inputValue=M(e.lastValueGetter,e.decimal);l(e)};this.onKeydown=function(t){var i=d(e);var n=b(e,t);var r=t===null||t===void 0?void 0:t.target;if(r&&!X({key:t.key,ctrlKey:t.ctrlKey,metaKey:t.metaKey,decimal:e.decimal,newValue:n,oldValue:i,selectionStart:r.selectionStart,selectionEnd:r.selectionEnd})){return v(t)}};this.focused=false;this.language=T.language;this.region=T.region;this.ariaForm=A;this.nativeInputValue="";this.inputPattern=this.createPattern();this.name=this.inputId;this.invalid=false;this.decimal=0;this.suffix=undefined;this.pattern=undefined;this.placeholder=undefined;this.required=false;this.disabled=false;this.readonly=false;this.exactNumber=false;this.max=undefined;this.min=undefined;this.debounce=0;this.value=undefined;this.autoInvalidOff=false}t.prototype.createLogger=function(t){this.log=t};t.prototype.debounceChanged=function(){this.balChange=g(this.balChange,this.debounce)};t.prototype.valueChanged=function(t,i){if(t!==i){var n=t===""||I(t)||L(t);var e=this.exactNumber?"0":"";var r=n?e:t.toString();this.inputValue=M(Q(r,this.decimal),this.decimal);this.lastValue=Q(r,this.decimal);if(this.focused){this.nativeInputValue=R(this.lastValue)}else{this.nativeInputValue=U(this.lastValue,this.decimal,this.suffix)}}};t.prototype.connectedCallback=function(){this.debounceChanged();this.initialValue=this.value||0;if(this.value!==undefined){this.valueChanged(this.value,undefined)}};t.prototype.componentDidLoad=function(){this.inputValue=this.value};t.prototype.componentWillLoad=function(){this.inheritedAttributes=j(this.el,["aria-label","tabindex","title"])};t.prototype.listenOnClick=function(t){p(this,t)};t.prototype.resetHandler=function(t){var i=t.target;if(i===null||i===void 0?void 0:i.contains(this.el)){y(this,this.initialValue,this.resetHandlerTimer)}};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.language=t.language;this.region=t.region;this.inputPattern=this.createPattern();if(this.nativeInput){if(this.focused){this.nativeInputValue=R(this.lastValue)}else{this.nativeInputValue=U(this.lastValue,this.decimal,this.suffix)}}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){m(this);return[2]}))}))};t.prototype.setBlur=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){_(this);return[2]}))}))};t.prototype.getInputElement=function(){return Promise.resolve(this.nativeInput)};t.prototype.setAriaForm=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.ariaForm=Object.assign({},t);return[2]}))}))};t.prototype.createPattern=function(){if(this.pattern){return this.pattern}var t=this.suffix||"";if(t!==""){t=" ".concat(t)}var i=x();var n=k();if(n===","){n="\\,"}return"-?\\d{1,3}(?:".concat(i,"\\d{3})*(?:\\").concat(n,"\\d{1,2})?(?:").concat(t,")?")};Object.defineProperty(t.prototype,"lastValueGetter",{get:function(){if(this.exactNumber&&(I(this.lastValue)||S(this.lastValue))){return"0"}return this.lastValue},enumerable:false,configurable:true});t.prototype.render=function(){var t=this;var i=O.block("number-input");return e(r,{key:"6c70b82d9eb15c47fc4aee5246819c0a4fecc7fb",onClick:this.handleClick,"aria-disabled":this.disabled?"true":null,class:Object.assign({},i.class())},e("input",Object.assign({key:"254dee1b9cb3c99f10e0c4b835e69552314ed6c4",class:{input:true,"is-disabled":this.disabled||this.readonly,"is-danger":this.invalid},"data-testid":"bal-number-input",ref:function(i){return t.nativeInput=i},id:this.ariaForm.controlId||this.inputId,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-invalid":this.invalid===true?"true":"false","aria-disabled":this.disabled?"true":null,name:this.name,disabled:this.disabled,placeholder:this.placeholder||"",readonly:this.readonly,required:this.required,pattern:this.inputPattern,min:this.min,max:this.max,value:this.nativeInputValue,onInput:function(i){return t.onInput(i)},onFocus:function(i){return t.onFocus(i)},onBlur:function(i){return t.onBlur(i)},onClick:this.onClick,onKeyDown:function(i){return t.onKeydown(i)},onKeyPress:function(i){return t.balKeyPress.emit(i)}},this.inheritedAttributes)))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{debounce:["debounceChanged"],value:["valueChanged"]}},enumerable:false,configurable:true});return t}());u([C("bal-number-input"),a("design:type",Function),a("design:paramtypes",[Function]),a("design:returntype",void 0)],$.prototype,"createLogger",null);u([V(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",Promise)],$.prototype,"configChanged",null);var tt=0;$.style=Z}}}));
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var t=function(e,i){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]};return t(e,i)};return function(e,i){if(typeof i!=="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");t(e,i);function n(){this.constructor=e}e.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{o(n.next(t))}catch(t){r(t)}}function l(t){try{o(n["throw"](t))}catch(t){r(t)}}function o(t){t.done?i(t.value):a(t.value).then(s,l)}o((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(t){return function(e){return o([t,e])}}function o(l){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(i=0)),i)try{if(n=1,a&&(r=l[0]&2?a["return"]:l[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,l[1])).done)return r;if(a=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;a=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1];r=l;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(l);break}if(r[2])i.ops.pop();i.trys.pop();continue}l=e.call(t,i)}catch(t){l=[6,t];a=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var n=0,a=e.length,r;n<a;n++){if(r||!(n in e)){if(!r)r=Array.prototype.slice.call(e,0,n);r[n]=e[n]}}return t.concat(r||Array.prototype.slice.call(e))};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-fa6b5cde.system.js","./p-6913b916.system.js","./p-802216cd.system.js","./p-23bdd8dc.system.js","./p-d9b32333.system.js","./p-db0895e2.system.js","./p-bb6304d0.system.js","./p-0177e3a0.system.js","./p-1d22490c.system.js","./p-8949aa8b.system.js","./p-56c370cb.system.js","./p-6e5745c8.system.js","./p-ba579059.system.js","./p-5f26e92f.system.js","./p-2880433e.system.js","./p-145d5c4e.system.js","./p-a1f6e944.system.js","./p-b3f2c626.system.js","./p-e7150a50.system.js","./p-ec9a7cf5.system.js","./p-eecefb0a.system.js"],(function(t){"use strict";var e,i,n,a,r,s,l,o,u,c,d,f,h,b,v,_,m,g,y,p,w,x,j,k,O,C;return{setters:[function(t){e=t.h;i=t.r;n=t.c;a=t.H;r=t.g},function(t){s=t._;l=t.a},function(t){o=t.l},function(t){u=t.l},function(t){c=t.B;d=t.i;f=t.d},function(t){h=t.L},function(t){b=t.b;v=t.u},function(t){_=t.B},function(t){m=t.d},function(t){g=t.L},function(t){y=t.L},function(t){p=t.i},function(t){w=t.m;x=t.c;j=t.d},function(t){k=t.d},function(t){O=t.N},function(t){C=t.I},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){function D(t,e){if(e<1||t<0){return undefined}return new Date(t,e,0).getDate()}function z(t,e,i){return"".concat(i,"-").concat(o("".concat(e),2,"0"),"-").concat(o("".concat(t),2,"0"))}function A(){var t=new Date;return"".concat(t.getFullYear(),"-").concat(o("".concat(t.getMonth()+1),2,"0"),"-").concat(o("".concat(t.getDate()),2,"0"))}function M(t,e,i,n,a){var r=[];var s=D(t,e);var l=I(t,e);if(s!==undefined&&l){var o=A();var d=c.fromISO(i);var f=c.fromISO(n);var h=function(t){if(u(a)){return false}return!a(t)};for(var b=1;b<=s;b++){var v=z(b,e,t);r.push({day:b,month:e,year:t,isoDate:v,fullDate:c.fromISO(v).toFormat(),today:o===v,disabled:d.isAfter(v)||f.isBefore(v)||h(v)})}}return r}function P(t,e){if(e<1||t<0){return 1}var i=new Date(t,e-1,1);var n=i.getDay();return n===0?7:n}function S(t){if(["en","de","fr","it","nl","es","pl","pt","sv","fi"].includes(t)){return t}return"de"}function K(t,e,i){var n=[];var a=new Date;var r=a.getFullYear();for(var s=e;s<=i;s++){n.push({value:s,label:"".concat(s),disabled:false,today:r===s,selected:t===s})}return n}function V(t,e,i,n,a){var r=S(t);var s=c.infoMonths({format:"long",locale:r});var l=c.fromISO(i);var o=new Date;var u=o.getFullYear();var d=o.getMonth()+1;var f=0;if(n&&e!==undefined){var h=c.fromISO(n);if(h.isValid){if(e>h.year){f=0}else{f=h.month||f}}}var b=12;if(a&&e!==undefined){var v=c.fromISO(a);if(v.isValid){if(e<v.year){b=12}else{b=v.month||b}}}return s.map((function(t,i){var n=i+1;return{label:t,value:n,today:n===d&&e===u,selected:n===l.month&&e===l.year,disabled:n<f||n>b}}))}function F(t){var e=S(t);var i=c.infoWeekdays({format:"short",locale:e});var n=c.infoWeekdays({format:"long",locale:e});return i.map((function(t,e){return{ariaLabel:n[e],textContent:t}}))}function I(t,e){if(e<1||e>12||t<0){return undefined}return new Date(t,e-1,1)}var L=function(t){var i=t.name,n=t.isVisible,a=t.girdHeight,r=t.list,s=t.onSelect,l=t.ref;var o=_.block("date-calendar");var u=o.element("body");var c=u.element("list");return e("ul",{class:Object.assign(Object.assign(Object.assign({},c.class()),c.modifier(i).class()),c.modifier("visible").class(n)),"aria-hidden":n?"false":"true",style:{height:"".concat(a-2-8-8,"px")},ref:function(t){return l?l(t):undefined}},r.map((function(t){return e("li",{key:t.value,id:"".concat(i,"-").concat(t.value)},e("button",{class:Object.assign(Object.assign(Object.assign(Object.assign({},c.element("item").class()),c.element("item").modifier("today").class(t.today)),c.element("item").modifier("selected").class(t.selected)),c.element("item").modifier("disabled").class(t.disabled)),disabled:t.disabled,tabIndex:-1,onClick:function(){if(!t.disabled){s(t)}}},t.label))})))};var T=function(t){var i=t.isVisible,n=t.ref,a=t.grid,r=t.weekdays,s=t.selectedDate,l=t.firstDayOfWeek,o=t.onSelectDay;var u=_.block("date-calendar");var c=u.element("body");var d=c.element("grid");return e("div",{role:"grid",class:Object.assign(Object.assign({},d.class()),d.modifier("visible").class(i)),"aria-hidden":i?"false":"true",ref:function(t){return n(t)}},e("div",{role:"row",class:Object.assign({},d.element("head").class())},r.map((function(t){return e("span",{key:t.textContent,role:"columnheader","aria-label":t.ariaLabel,title:t.ariaLabel},t.textContent)}))),e("div",{role:"row",class:Object.assign({},d.element("body").class()),style:{"--bal-date-first-week-day":"".concat(l)}},a.map((function(t){return e("bal-date-calendar-cell",Object.assign({key:t.isoDate},t,{selected:t.isoDate===s,onBalSelectDay:function(t){var e=t.detail;return o(e)}}))}))))};var E=function(t){var i=t.language,n=t.onClickSelectMonthAndYear,a=t.monthFullNames,r=t.month,s=t.year,l=t.isCalendarVisible,o=t.isListVisible,u=t.onClickPreviousMonth,c=t.onClickNextMonth;var f=_.block("date-calendar");var h=f.element("nav");var b=d[i].nextMonth;var v=d[i].previousMonth;var m=d[i].selectMonth;return e("div",{class:Object.assign({},h.class())},e("div",{class:Object.assign({},h.modifier("start").class())},e("button",{title:m,"aria-label":m,tabIndex:-1,"data-test":"change-year-month",onClick:n},e("span",null,a[r-1]," ",s),e("bal-icon",{name:"caret-up",color:"primary",size:"small",turn:l}))),e("div",{class:Object.assign({},h.modifier("end").class()),style:{display:o?"none":"flex"}},e("button",{title:v,"aria-label":v,onClick:u,tabIndex:-1,"data-test":"previous-month"},e("bal-icon",{name:"caret-left",color:"primary",size:"small"})),e("button",{title:b,"aria-label":b,onClick:c,tabIndex:-1,"data-test":"next-month"},e("bal-icon",{name:"caret-right",color:"primary",size:"small"}))))};var N=':host{--bal-date-first-week-day:0;--bal-date-calendar-background:var(--bal-color-red-3)}:host{--bal-date-first-week-day:0;--bal-date-calendar-background:var(--bal-color-red-3)}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;background:var(--bal-color-white);border-radius:var(--bal-radius-normal)}.bal-date-calendar__nav{display:-ms-flexbox;display:flex;width:calc(100% - 1rem);-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;padding:.5rem;gap:.5rem}.bal-date-calendar__nav--start>button{display:-ms-flexbox;display:flex;gap:.5rem}.bal-date-calendar__nav--end{display:-ms-flexbox;display:flex;gap:.5rem}.bal-date-calendar__nav button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:var(--bal-radius-normal);font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);color:var(--bal-color-text-primary);border:none;background:rgba(0,0,0,0);text-align:center;font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;outline:none;min-height:2rem;min-width:2rem;padding:.25rem;border-radius:var(--bal-button-radius);font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold)}@media (hover: hover)and (pointer: fine){.bal-date-calendar__nav button:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled):hover{background:var(--bal-color-light-blue-1)}}.bal-date-calendar__nav button:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled):active{background:var(--bal-color-light-blue-2)}.bal-date-calendar__nav button--today:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled){color:var(--bal-color-light-blue-3);font-weight:var(--bal-font-weight-bold)}@media (hover: hover)and (pointer: fine){.bal-date-calendar__nav button--today:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled):hover{color:var(--bal-color-text-primary)}}.bal-date-calendar__nav button--today:not(.bal-date-calendar__nav button--selected):not(.bal-date-calendar__nav button--disabled):active{color:var(--bal-color-text-primary)}.bal-date-calendar__nav button--selected{background:var(--bal-color-primary);color:var(--bal-color-text-white);font-weight:var(--bal-font-weight-bold)}.bal-date-calendar__nav button--disabled{cursor:default;background:rgba(0,0,0,0);color:var(--bal-color-text-grey-light)}.bal-date-calendar__body{display:block}.bal-date-calendar__body__grid{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:.5rem;height:0;padding-top:0;padding-bottom:0;visibility:hidden}.bal-date-calendar__body__grid--visible{height:auto;padding-top:.5rem;padding-bottom:.5rem;visibility:visible}.bal-date-calendar__body__grid__head{position:relative;display:grid;grid-template-columns:repeat(7, 1fr);-webkit-column-gap:.5rem;-moz-column-gap:.5rem;column-gap:.5rem;row-gap:.5rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bal-date-calendar__body__grid__head::after{position:absolute;content:"";height:2px;width:calc(100% + 1rem);bottom:0;left:-0.5rem;right:-0.5rem;background:var(--bal-color-border)}.bal-date-calendar__body__grid__head span{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:2rem;width:2rem;font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-wrap:nowrap}.bal-date-calendar__body__grid__body{display:grid;grid-template-columns:repeat(7, 1fr);-webkit-column-gap:.5rem;-moz-column-gap:.5rem;column-gap:.5rem;row-gap:.5rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:.5rem}.bal-date-calendar__body__grid__body>.bal-date-calendar-cell{width:2rem;height:2rem;text-align:center;font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.bal-date-calendar__body__grid__body>.bal-date-calendar-cell:first-child{grid-column:var(--bal-date-first-week-day)}.bal-date-calendar__body__list{display:none;list-style:none;margin:0;padding:0;-webkit-column-gap:.5rem;-moz-column-gap:.5rem;column-gap:.5rem;row-gap:.5rem;width:calc(100% - 1rem);overflow-y:auto;max-height:18rem;position:relative;padding:.5rem;border-top:2px solid var(--bal-color-border)}.bal-date-calendar__body__list .bal-date-calendar__body__list__item{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:var(--bal-radius-normal);font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);color:var(--bal-color-text-primary);border:none;background:rgba(0,0,0,0);text-align:center;font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;outline:none;width:100%}@media (hover: hover)and (pointer: fine){.bal-date-calendar__body__list .bal-date-calendar__body__list__item:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled):hover{background:var(--bal-color-light-blue-1)}}.bal-date-calendar__body__list .bal-date-calendar__body__list__item:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled):active{background:var(--bal-color-light-blue-2)}.bal-date-calendar__body__list .bal-date-calendar__body__list__item--today:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled){color:var(--bal-color-light-blue-3);font-weight:var(--bal-font-weight-bold)}@media (hover: hover)and (pointer: fine){.bal-date-calendar__body__list .bal-date-calendar__body__list__item--today:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled):hover{color:var(--bal-color-text-primary)}}.bal-date-calendar__body__list .bal-date-calendar__body__list__item--today:not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected):not(.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled):active{color:var(--bal-color-text-primary)}.bal-date-calendar__body__list .bal-date-calendar__body__list__item--selected{background:var(--bal-color-primary);color:var(--bal-color-text-white);font-weight:var(--bal-font-weight-bold)}.bal-date-calendar__body__list .bal-date-calendar__body__list__item--disabled{cursor:default;background:rgba(0,0,0,0);color:var(--bal-color-text-grey-light)}.bal-date-calendar__body__list--visible{display:grid}.bal-date-calendar__body__list--year{grid-template-columns:repeat(4, 1fr)}.bal-date-calendar__body__list--month{grid-template-columns:repeat(2, 1fr)}.bal-date-calendar-cell{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:var(--bal-radius-normal);font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);color:var(--bal-color-text-primary);border:none;background:rgba(0,0,0,0);text-align:center;font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;outline:none;width:2rem;height:2rem}@media (hover: hover)and (pointer: fine){.bal-date-calendar-cell:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled):hover{background:var(--bal-color-light-blue-1)}}.bal-date-calendar-cell:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled):active{background:var(--bal-color-light-blue-2)}.bal-date-calendar-cell--today:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled){color:var(--bal-color-light-blue-3);font-weight:var(--bal-font-weight-bold)}@media (hover: hover)and (pointer: fine){.bal-date-calendar-cell--today:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled):hover{color:var(--bal-color-text-primary)}}.bal-date-calendar-cell--today:not(.bal-date-calendar-cell--selected):not(.bal-date-calendar-cell--disabled):active{color:var(--bal-color-text-primary)}.bal-date-calendar-cell--selected{background:var(--bal-color-primary);color:var(--bal-color-text-white);font-weight:var(--bal-font-weight-bold)}.bal-date-calendar-cell--disabled{cursor:default;background:rgba(0,0,0,0);color:var(--bal-color-text-grey-light)}';var R=N;var Y=t("bal_date_calendar",function(){function t(t){var e=this;i(this,t);this.balChange=n(this,"balChange",7);this.oldMin="";this.oldMax="";this.onSelectDay=function(t){e.valueChanged(t,e.selectedDate);e.balChange.emit(e.selectedDate)};this.onClickNextMonth=function(){var t=e.year;var i=e.month+1;if(i>12){i=1;t=t+1}e.generateGridByMonthAndYear(i,t)};this.onClickPreviousMonth=function(){var t=e.year;var i=e.month-1;if(i<1){i=12;t=t-1}e.generateGridByMonthAndYear(i,t)};this.onClickSelectMonthAndYear=function(){return __awaiter(e,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:this.updateSelections();if(!(this.isCalendarVisible===true))return[3,2];this.isCalendarVisible=false;this.isYearListVisible=true;this.isMonthListVisible=false;return[4,b()];case 1:i.sent();if(this.yearListEl){t=this.yearListEl.querySelector("#year-".concat(this.year));if(t){e=26+8+4;this.yearListEl.scrollTop=t.offsetTop-e*2}else{this.yearListEl.scrollTop=0}}return[3,3];case 2:this.isCalendarVisible=true;this.isYearListVisible=false;this.isMonthListVisible=false;i.label=3;case 3:return[2]}}))}))};this.onClickYear=function(t){e.isYearListVisible=false;e.isMonthListVisible=true;e.generateGridByMonthAndYear(e.month,t);e.months=V(e.language,t,e.selectedDate,e.min,e.max)};this.onClickMonth=function(t){e.isYearListVisible=false;e.isMonthListVisible=false;e.isCalendarVisible=true;e.generateGridByMonthAndYear(t,e.year)};this.selectedDate="";this.monthFullNames=[];this.weekdays=[];this.months=[];this.years=[];this.calendarGrid=[];this.firstDayOfWeek=0;this.month=0;this.year=0;this.language=m.language;this.isCalendarVisible=true;this.isYearListVisible=false;this.isMonthListVisible=false;this.value=undefined;this.defaultDate=undefined;this.allowedDates=undefined;this.min=undefined;this.max=undefined;this.minYearProp=undefined;this.maxYearProp=undefined}t.prototype.createLogger=function(t){this.log=t};t.prototype.valueChanged=function(t,e){if(t!==e){var i=c.fromISO(t);if(!i.isValid){this.generateGridByDefaultDate();this.selectedDate=""}else{this.generateGridByDate(i);this.selectedDate=i.toISODate()}this.updateSelections()}};t.prototype.rangePropChanged=function(){this.updateSelections();this.generateGrid()};t.prototype.yearRangePropChanged=function(){this.updateSelections()};t.prototype.connectedCallback=function(){this.generateGridByDefaultDate();this.valueChanged(this.value,undefined)};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=t.language;this.monthFullNames=c.infoMonths({format:"long",locale:this.language});this.weekdays=F(this.language);this.updateSelections();return[2]}))}))};t.prototype.swipeListener=function(t){var e=t.left,i=t.right;if(e){this.onClickNextMonth()}else if(i){this.onClickPreviousMonth()}};Object.defineProperty(t.prototype,"minYear",{get:function(){if(this.minYearProp===undefined){var t=new Date;var e=t.getFullYear();var i=e-100;if(this.min){var n=c.fromISO(this.min);return n.year||i}else{return i}}return this.minYearProp},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"maxYear",{get:function(){if(this.maxYearProp===undefined){var t=new Date;var e=t.getFullYear();var i=e+50;if(this.max){var n=c.fromISO(this.max);return n.year||i}else{return i}}return this.maxYearProp},enumerable:false,configurable:true});t.prototype.updateSelections=function(){this.years=K(this.year,this.minYear,this.maxYear);this.months=V(this.language,this.year,this.selectedDate,this.min,this.max)};t.prototype.generateGrid=function(){var t=c.fromISO(this.value);if(t.isValid){this.generateGridByDate(t)}else{this.generateGridByDefaultDate()}};t.prototype.generateGridByDate=function(t){if(t.year!==undefined&&t.month!==undefined){this.generateGridByMonthAndYear(t.month,t.year)}};t.prototype.generateGridByDefaultDate=function(){var t=c.fromISO(this.defaultDate);if(t.isValid){this.generateGridByDate(t)}else{var e=new Date;this.month=e.getMonth()+1;this.year=e.getFullYear();this.calendarGrid=M(this.year,this.month,this.min,this.max,this.allowedDates);this.firstDayOfWeek=P(this.year,this.month)}};t.prototype.generateGridByMonthAndYear=function(t,e){if(this.month!==t||this.year!==e||this.oldMin!==this.min||this.oldMax!==this.max){this.calendarGrid=M(e,t,this.min,this.max,this.allowedDates);this.firstDayOfWeek=P(e,t)}this.month=t;this.year=e;this.oldMin=this.min;this.oldMax=this.max};t.prototype.render=function(){var t=this;var i;var n=((i=this.gridEl)===null||i===void 0?void 0:i.clientHeight)||0;var r=_.block("date-calendar");var s=r.element("body");var l=r.element("foot");return e(a,{key:"e6348fe5b0ddab2253f7c79cb41a16fd93fe9a63",class:Object.assign({},r.class())},e(E,{key:"fc808b662835df468fe53a659cfdb048a2ce2325",language:this.language,monthFullNames:this.monthFullNames,month:this.month,year:this.year,isCalendarVisible:this.isCalendarVisible,isListVisible:this.isMonthListVisible||this.isYearListVisible,onClickSelectMonthAndYear:this.onClickSelectMonthAndYear,onClickPreviousMonth:this.onClickPreviousMonth,onClickNextMonth:this.onClickNextMonth}),e("div",{key:"14a071d6e691964876d2a832a9d2a7b20e2b5139",class:Object.assign({},s.class())},e(T,{key:"d7d81606a5bcf10637f48ad9d5f095cac4851c60",isVisible:this.isCalendarVisible,grid:this.calendarGrid,weekdays:this.weekdays,firstDayOfWeek:this.firstDayOfWeek,selectedDate:this.selectedDate,ref:function(e){return t.gridEl=e},onSelectDay:function(e){return t.onSelectDay(e)}}),e(L,{key:"3804356a689232d66ecbac4ad02c152a7e11739f",name:"year",isVisible:this.isYearListVisible,girdHeight:n,list:this.years,ref:function(e){return t.yearListEl=e},onSelect:function(e){return t.onClickYear(e.value)}}),e(L,{key:"2721e28b96097dfb3f824c6ef085657c56c89342",name:"month",isVisible:this.isMonthListVisible,girdHeight:n,list:this.months,onSelect:function(e){return t.onClickMonth(e.value)}})),e("div",{key:"da53c2e514df3bf5d4890a16fdc5738e55366f31",class:Object.assign({},l.class())},e("slot",{key:"6b75be6d0ad833854a0eade0d014ee26b05bc868"})))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"],min:["rangePropChanged"],max:["rangePropChanged"],minYearProp:["yearRangePropChanged"],maxYearProp:["yearRangePropChanged"]}},enumerable:false,configurable:true});return t}());s([h("bal-date-calendar"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],Y.prototype,"createLogger",null);s([g(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],Y.prototype,"configChanged",null);s([y({mobileOnly:true}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",void 0)],Y.prototype,"swipeListener",null);Y.style=R;var B=function(){function t(t){this._options=t;this._position=0;this._positionEnd=0;this._isRangeSelection=false;if(t.component&&t.component.nativeInput){this._position=t.component.nativeInput.selectionStart||0;this._positionEnd=t.component.nativeInput.selectionEnd||0;this._isRangeSelection=this._position!==this._positionEnd}}Object.defineProperty(t.prototype,"isRangeSelection",{get:function(){return this._isRangeSelection},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"value",{get:function(){if(this._options.isBackspace&&this._position>0){return this._position-1}return this._position},set:function(t){var e=t<0?0:t>this._options.mask.maxLength?this._options.mask.maxLength:t;this._position=e},enumerable:false,configurable:true});t.prototype.toStart=function(){this.value=0};t.prototype.toEnd=function(){var t=this.getTarget();if(t){this.value=t.value.length}};t.prototype.next=function(t){if(t===void 0){t=1}var e=this._position+t;if(e<=this._options.mask.maxLength){this._position=e}return this._position};t.prototype.previous=function(t){if(t===void 0){t=1}var e=this._position-t;if(e>=0){this._position=e}else{this._position=0}return this._position};t.prototype.submit=function(){var t=this.getTarget();if(t&&t.selectionStart!==this._position&&t.selectionEnd!==this._position){t.selectionStart=this._position;t.selectionEnd=this._position}};t.prototype.getTarget=function(){if(this._options.component&&this._options.component.nativeInput){return this._options.component.nativeInput}return undefined};return t}();var H=function(){function t(t){this._options=t;this._value="";if(this._options.component&&this._options.component.nativeInput){this._value=this._options.component.nativeInput.value}this.position=new B(this._options);this.component=this._options.component}Object.defineProperty(t.prototype,"target",{get:function(){if(this._options.component&&this._options.component.nativeInput){return this._options.component.nativeInput}return undefined},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"focused",{get:function(){return this._options.component.focused},enumerable:false,configurable:true});t.prototype.isValueEmpty=function(){return this.value===""||this.value===undefined||this.value===null};t.prototype.preventDefault=function(){if(this._options.event.preventDefault){this._options.event.preventDefault()}};t.prototype.stopPropagation=function(){this.preventDefault();if(this._options.event.stopPropagation){this._options.event.stopPropagation()}};t.prototype.submit=function(){return __awaiter(this,arguments,void 0,(function(t,e){if(t===void 0){t="input"}return __generator(this,(function(i){if(this.target){this.target.value=this.value;if(t!=="blur"&&t!=="tab"){this.position.submit()}if(this._options.component){if(t==="input"||t==="tab"){this._options.component.balInput.emit(this.value)}if((t==="change"||t==="blur")&&e!==undefined){if(w(this._options.component.value,e)){this._options.component.value=e;this._options.component.balChange.emit(e)}}}}return[2]}))}))};return t}();var J=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(e.prototype,"clipboardData",{get:function(){var t;return(t=this._options.event.clipboardData)===null||t===void 0?void 0:t.getData("text")},enumerable:false,configurable:true});return e}(H);var G=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(H);var W=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(e.prototype,"key",{get:function(){return this._options.event.key},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isCtrlOrCommandKey",{get:function(){return this._options.event.metaKey||this._options.event.ctrlKey},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isBackspaceKey",{get:function(){return this._options.event.key==="Backspace"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isTabKey",{get:function(){return this._options.event.key==="Tab"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWhiteSpaceKey",{get:function(){return this._options.event.key===" "},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isDeleteKey",{get:function(){return this._options.event.key==="Delete"||this._options.event.key==="Del"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isNumberKey",{get:function(){return e.NUMBER_KEYS.includes(this._options.event.key)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isNavigationKey",{get:function(){return e.NAVIGATION_KEYS.includes(this._options.event.key)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isSelectAllCommand",{get:function(){return(this._options.event.ctrlKey||this._options.event.metaKey)&&this.key==="a"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isCopyCommand",{get:function(){return(this._options.event.ctrlKey||this._options.event.metaKey)&&this.key==="c"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isPasteCommand",{get:function(){return(this._options.event.ctrlKey||this._options.event.metaKey)&&this.key==="v"},enumerable:false,configurable:true});e.prototype.getCharAt=function(t){if(t===void 0){t=this.position.value}return this.value.charAt(t)};e.prototype.getCharAtBackspacePosition=function(){return this.getCharAt(this.position.value-1)};e.prototype.setChar=function(t,e){if(t===void 0){t=this._options.event.key}if(e===void 0){e=this.position.value}this.value=this.value.substring(0,e)+t+this.value.substring(e+1)};return e}(H);W.NUMBER_KEYS=["0","1","2","3","4","5","6","7","8","9"];W.NAVIGATION_KEYS=["Home","End","ArrowLeft","Left","ArrowRight","Right","Tab","Enter","Esc","Escape"];var q=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(e.prototype,"locale",{get:function(){return this._options.event.locale},enumerable:false,configurable:true});return e}(H);var Q=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(H);var U=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(e.prototype,"newValue",{get:function(){return this._options.event.newValue},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"oldValue",{get:function(){return this._options.event.oldValue},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"didValueChange",{get:function(){return this.newValue!==this.oldValue},enumerable:false,configurable:true});return e}(H);var X=function(){function t(t){this._isSeparator=false;this._allowedKeys=[];this._locale="de-CH";this._from=t.from||0;this._to=t.to||0;this._isSeparator=t.isSeparator===undefined?false:t.isSeparator;this._mask=t.mask||"_";this._allowedKeys=t.allowedKeys?t.allowedKeys:this.allowedKeys;this._format=t.format}t.prototype.format=function(t){if(this._format){return this._format(t.replace(this.mask,""),this._locale,this.mask)}return t};Object.defineProperty(t.prototype,"isSeparator",{get:function(){return this._isSeparator},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"to",{get:function(){return this._to},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"from",{get:function(){return this._from},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"mask",{get:function(){if(typeof this._mask==="function"){return this._mask(this._locale)}return this._mask},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"allowedKeys",{get:function(){return this._allowedKeys},enumerable:false,configurable:true});t.prototype.onI18nChange=function(t){this._locale=t};t.prototype.getValueOfTheBlock=function(t){return t.slice(this._from,this._to)};t.prototype.isTouched=function(t){var e=this;var i=this.getValueOfTheBlock(t);return!i.split("").every((function(t){return t===e.mask}))};t.prototype.verifyAllowedKeyHits=function(t){if(this.isSeparator&&t===this.mask){return true}else if(this.allowedKeys.indexOf(t)>=0){return true}else{return false}};return t}();var Z=function(){function t(t){if(t===void 0){t=[]}this._list=t}Object.defineProperty(t.prototype,"lastPosition",{get:function(){return this._list[this._list.length-1].to},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"list",{get:function(){return this._list},set:function(t){this._list=t},enumerable:false,configurable:true});t.prototype.clone=function(){return new t(__spreadArray([],this._list,true))};t.prototype.findByIndex=function(t,e){if(e===void 0){e=this.list}return e.find((function(e){return e.from<=t&&t<e.to}))};t.prototype.getPlaceholderMask=function(){var t=[];this.list.forEach((function(e){var i=e.to-e.from;for(var n=0;n<i;n++){t.push(e.mask)}}));return t.join("")};t.prototype.getRawValueWithoutMaskByContext=function(t){return this.getRawValueWithoutMask(t.value)};t.prototype.getRawValueWithoutMask=function(t){if(t){var e=[];var i=t.split("");for(var n=0;n<i.length;n++){var a=i[n];var r=this.findByIndex(n);if(r&&!r.isSeparator){e.push(a.replace(r.mask,""))}else{e.push(a)}}e=e.filter((function(t){return t}));var s=this.list.filter((function(t){return t.isSeparator})).length;if(s===e.length){return""}return e.join("")}return""};t.prototype.formatBlocks=function(t,e){var i="".concat(t);for(var n=0;n<this.list.length;n++){var a=this.list[n];if(e!==n&&!a.isSeparator&&a.isTouched(i)){var r=a.getValueOfTheBlock(i);var s=a.format(r);i=i.substring(0,a.from)+s+i.substring(a.to)}}return i};t.prototype.getBlockIndexFromPosition=function(t){var e=this.list.reduce((function(t,e){return t+e.to-e.from}),0);if(t===e){return this.list.length-1}var i=this.list.findIndex((function(e){return e.from<=t&&t<e.to}));return i<0?undefined:Math.min(e,i)};t.prototype.verifyCallOfNextSeparator=function(t,e){if(this.list.length-1>e){var i=this.list[e+1];if(i.isSeparator&&i.mask===t){return true}}return false};return t}();var $=function(){function t(t){if(t===void 0){t=[]}this.inputMode="text";this.locale="de-CH";this.blocks=new Z(t)}t.prototype.onLocaleChange=function(t,e,i){if(t.target){var n=t.value;var a=n.split("");for(var r=0;r<a.length;r++){var s=a[r];var l=this.blocks.findByIndex(r);var o=i.findByIndex(r);if(l&&o){if(l.isSeparator){a[r]=l.mask}else if(s===o.mask){a[r]=l.mask}}}t.value=a.join("")}};t.prototype.onFocus=function(t){};t.prototype.onBlur=function(t){};t.prototype.onChange=function(t){t.submit("change",this.onParseValue(t.value))};t.prototype.onNavigationDown=function(t,e,i){};t.prototype.onSelectAll=function(t,e,i){};t.prototype.onPaste=function(t,e,i){var n=t.clipboardData||"";t.value=n;t.position.toEnd()};t.prototype.onBlockChange=function(t,e,i){t.setChar();t.position.next();var n=this.blocks.list[i+1];if(t.position.value===e.to&&n&&n.isSeparator){t.position.next()}};t.prototype.onBackspaceDown=function(t,e,i){t.position.previous();if(!e.isSeparator){t.setChar(e.mask);var n=this.blocks.list[i-1];if(t.position.value===e.from&&n&&n.isSeparator){t.position.previous()}}};t.prototype.onDeleteDown=function(t,e,i){t.setChar(e.mask);t.position.next();var n=this.blocks.list[i+1];if(t.position.value===e.to&&n&&n.isSeparator){t.position.next()}};t.prototype.onValueChanged=function(t){var e=this.onFormatValue(t.newValue);var i=t.focused&&e===""?this.blocks.getPlaceholderMask():e;t.value=i;t.position.toEnd()};t.prototype.onParseValue=function(t,e){if(e===void 0){e={allowInvalidValue:false}}if(t){return t.trim()}return t||""};t.prototype.onFormatValue=function(t){if(t){return t.trim()}return t||""};t.prototype.toParsedValue=function(t){return this.onParseValue(t)};t.prototype.toFormattedValue=function(t){return this.onFormatValue(t)};t.prototype.fireI18nChange=function(t){var e=this.blocks.clone();var i="".concat(t.locale);this.locale=t.locale;this.blocks.list.forEach((function(e){return e.onI18nChange(t.locale)}));this.onLocaleChange(t,i,e)};t.prototype.fireValueChanged=function(t){if(t.didValueChange){this.onValueChanged(t)}};t.prototype.firePaste=function(t){var e=this.blocks.getBlockIndexFromPosition(t.position.value);if(e!==undefined){var i=this.blocks.list[e];this.onPaste(t,i,e);this.onChange(t)}};t.prototype.fireClick=function(t){var e=this.blocks.getPlaceholderMask();if(e===t.value){t.position.toStart()}};t.prototype.fireFocus=function(t){if(t.target&&t.isValueEmpty()){this.resetInputValueWithMask(t)}this.onFocus(t)};t.prototype.fireBlur=function(t){if(t.target){if(this.isValueEmptyMask(t)){this.emptyInputValue(t)}else{this.onBlur(t);t.submit("blur",this.onParseValue(t.value,{allowInvalidValue:t.component.allowInvalidValue}))}}};t.prototype.fireKeyDown=function(t){var e=t.isBackspaceKey?Math.max(0,t.position.value-1):t.position.value;var i=this.blocks.getBlockIndexFromPosition(e);if(e>=this.blocks.lastPosition&&!t.isNavigationKey&&!t.isSelectAllCommand){t.preventDefault();t.stopPropagation();return}if(i!==undefined&&!t.position.isRangeSelection){var n=this.blocks.list[i];if(t.isNavigationKey){this.onNavigationDown(t,n,i)}else if(t.isSelectAllCommand){this.onSelectAll(t,n,i)}else if(t.isCopyCommand);else if(t.isPasteCommand);else if(t.isBackspaceKey){t.preventDefault();this.onBackspaceDown(t,n,i)}else if(t.isDeleteKey){t.preventDefault();this.onDeleteDown(t,n,i)}else if(t.isWhiteSpaceKey){t.preventDefault();var a=t.value[t.position.value];if(a==="."){t.stopPropagation();var r=t.value;t.value=r.substring(0,t.position.value)+"_"+r.substring(t.position.value+1)}}else if(n.verifyAllowedKeyHits(t.key)){t.preventDefault();this.onBlockChange(t,n,i)}else if(this.blocks.verifyCallOfNextSeparator(t.key,i)){t.preventDefault();var s=this.blocks.list[i];if(t.position.value>s.from){var l=this.blocks.list[i+1];var r=t.value;var o=n.getValueOfTheBlock(r);var u=n.format(o);t.value=r.substring(0,n.from)+u+r.substring(n.to);t.position.value=l.to}}var c=this.blocks.getBlockIndexFromPosition(t.position.value);if(c&&!t.isBackspaceKey){var d=this.blocks.formatBlocks(t.value,c);var f=t.position.value;t.value=d;t.position.value=f}}else{if(!t.isTabKey){t.preventDefault()}if(t.isBackspaceKey||t.isDeleteKey){this.resetInputValueWithMask(t)}else if(this.blocks.list[0].verifyAllowedKeyHits(t.key)){this.onBlockChange(t,this.blocks.list[0],0)}}};t.prototype.resetInputValueWithMask=function(t){t.value=this.blocks.getPlaceholderMask();t.position.toStart()};t.prototype.isValueEmptyMask=function(t){var e=this.blocks.getPlaceholderMask();return e===t.value};t.prototype.emptyInputValue=function(t){t.value="";t.submit("blur",t.value)};return t}();var tt=function(t){__extends(e,t);function e(){var e=t.call(this,[new X({from:0,to:2,allowedKeys:__spreadArray([],O,true),format:function(t,e,i){if(Number.isNaN(parseInt(t,10))){return"".concat(i).concat(i)}return t.padStart(2,"0")},mask:function(t){return e.dayMask[t.split("-")[0]]||e.dayMask["de"]}}),new X({from:2,to:3,mask:function(t){return f(t)},isSeparator:true}),new X({from:3,to:5,allowedKeys:__spreadArray([],O,true),format:function(t,e,i){if(Number.isNaN(parseInt(t,10))){return"".concat(i).concat(i)}return t.padStart(2,"0")},mask:function(t){return e.monthMask[t.split("-")[0]]||e.monthMask["de"]}}),new X({from:5,to:6,mask:function(t){return f(t)},isSeparator:true}),new X({from:6,to:10,allowedKeys:__spreadArray([],O,true),mask:function(t){return e.yearMask[t.split("-")[0]]||e.yearMask["de"]}})])||this;e.maxLength=10;e.minLength=10;e.inputMode="decimal";e.dayMask={de:"T",en:"D",fr:"J",it:"G",nl:"D",es:"D",pl:"D",pt:"D",sv:"D",fi:"M"};e.monthMask={de:"M",en:"M",fr:"M",it:"M",nl:"M",es:"M",pl:"M",pt:"M",sv:"M",fi:"K"};e.yearMask={de:"J",en:"Y",fr:"A",it:"A",nl:"J",es:"A",pl:"R",pt:"A",sv:"Å",fi:"V"};return e}e.prototype.onParseValue=function(t,e){if(e===void 0){e={allowInvalidValue:false}}if(t){var i=c.fromAnyFormat(this.blocks.getRawValueWithoutMask(t));if(i.isValid){return i.toISODate()}else if(e&&e.allowInvalidValue){return C}}return""};e.prototype.onFormatValue=function(t){if(t){var e=c.fromISO(t);if(e.isValid){return e.toFormat()}}return""};e.prototype.onPaste=function(t,e,i){var n=t.clipboardData||"";var a=c.fromAnyFormat(n);if(a.isValid){t.value=a.toFormat();t.position.toEnd()}};e.prototype.onBlur=function(t){var e=this.blocks.getRawValueWithoutMaskByContext(t);var i=c.fromAnyFormat(e);if(i.isValid){var n=i.toFormat();if(n!==t.value){t.value=n}}else if(t.component.allowInvalidValue){if(e!==t.value){t.value=e}}};return e}($);var et=function(){function t(t){this.mask=t}Object.defineProperty(t.prototype,"attributes",{get:function(){return{inputMode:this.mask.inputMode,maxLength:this.mask.maxLength,minLength:this.mask.minLength,type:"text",autoCapitalize:"off",autoCorrect:"off",spellcheck:false}},enumerable:false,configurable:true});t.prototype.bindComponent=function(t){this.component=t};t.prototype.bindComponentDidLoad=function(){if(this.component&&this.component.nativeInput){this.component.nativeInput.value=this.component.value||""}this.bindValueChanged(this.component.value,undefined)};t.prototype.bindConfigChanged=function(t){var e=this,i=e.component,n=e.mask;var a=new q({component:i,mask:n,event:{locale:"".concat(t.language,"-").concat(t.region)}});this.mask.fireI18nChange(a);a.submit()};t.prototype.bindValueChanged=function(t,e){var i=this,n=i.component,a=i.mask;var r=new U({component:n,mask:a,event:{newValue:t,oldValue:e}});this.mask.fireValueChanged(r);r.submit("blur")};t.prototype.bindKeyDown=function(t){if(this.isComponentAccessible){var e=this,i=e.component,n=e.mask;var a=new W({event:t,component:i,mask:n});this.mask.fireKeyDown(a);var r=t.key==="Tab";a.submit(r?"tab":"input");i.balKeyPress.emit(t)}};t.prototype.bindFocus=function(t){if(this.isComponentAccessible){var e=this,i=e.component,n=e.mask;i.focused=true;var a=new G({event:t,component:i,mask:n});this.mask.fireFocus(a);a.submit();i.balFocus.emit(t)}};t.prototype.bindBlur=function(t){if(this.isComponentAccessible){var e=this,i=e.component,n=e.mask;i.focused=false;var a=new G({event:t,component:i,mask:n});this.mask.fireBlur(a);a.submit("blur");i.balBlur.emit(t)}};t.prototype.bindPaste=function(t){if(this.isComponentAccessible){var e=this,i=e.component,n=e.mask;var a=new J({event:t,component:i,mask:n});this.mask.firePaste(a);a.submit()}};t.prototype.bindFormReset=function(t){var e=this;var i=t.target;if(i&&(i===this.component.el||i.contains(this.component.el))){this.component.value=this.component.initialValue;this.component.inputValue=this.component.initialValue;clearTimeout(this.resetHandlerTimer);this.resetHandlerTimer=setTimeout((function(){if(e.component.nativeInput){e.component.nativeInput.value=e.mask.toFormattedValue(e.component.value||"")}}))}};t.prototype.bindClick=function(t){if(this.isComponentAccessible){var e=this,i=e.component,n=e.mask;var a=new Q({event:t,component:i,mask:n});this.mask.fireClick(a);a.submit()}};t.prototype.bindHostClick=function(t){if(!this.isComponentAccessible){t.preventDefault();t.stopPropagation()}};t.prototype.bindGlobalClick=function(t){if(!this.isComponentAccessible){if(t.target&&t.target===this.component.el){t.preventDefault();t.stopPropagation()}}};Object.defineProperty(t.prototype,"isComponentAccessible",{get:function(){return!this.component.disabled&&!this.component.readonly},enumerable:false,configurable:true});return t}();var it=".bal-input-date{display:block;width:100%;-ms-flex:1;flex:1}.bal-input-date input:not(:-moz-placeholder-shown){letter-spacing:.4px}.bal-input-date input:not(:-ms-input-placeholder){letter-spacing:.4px}.bal-input-date input:not(:placeholder-shown){letter-spacing:.4px}.bal-input-date__native{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}";var nt=it;var at=t("bal_input_date",function(){function t(t){i(this,t);this.balKeyPress=n(this,"balKeyPress",7);this.balChange=n(this,"balChange",7);this.balInput=n(this,"balInput",7);this.balBlur=n(this,"balBlur",7);this.balFocus=n(this,"balFocus",7);this.inputId="bal-i-date-".concat(rt++);this.inheritedAttributes={};this.maskAdapter=new et(new tt);this.inputValue=this.value;this.initialValue=this.value||"";this.focused=false;this.isGrouped=false;this.ariaForm=k;this.name=this.inputId;this.invalid=false;this.required=false;this.disabled=false;this.readonly=false;this.placeholder=undefined;this.clickable=false;this.min=undefined;this.max=undefined;this.autocomplete="off";this.hasIconRight=false;this.value=undefined;this.autoInvalidOff=false;this.allowInvalidValue=false}t.prototype.createLogger=function(t){this.log=t};t.prototype.valueChanged=function(t,e){this.maskAdapter.bindValueChanged(t,e)};t.prototype.connectedCallback=function(){this.maskAdapter.bindComponent(this);this.isGrouped=v("bal-input-group",this.el)};t.prototype.componentDidLoad=function(){this.maskAdapter.bindComponentDidLoad()};t.prototype.componentWillRender=function(){this.inheritedAttributes=p(this.el,["aria-label","tabindex","title"])};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.maskAdapter.bindConfigChanged(t);return[2]}))}))};t.prototype.resetHandler=function(t){this.maskAdapter.bindFormReset(t)};t.prototype.listenOnClick=function(t){this.maskAdapter.bindGlobalClick(t)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){x(this);return[2]}))}))};t.prototype.setBlur=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){j(this);return[2]}))}))};t.prototype.getInputElement=function(){return Promise.resolve(this.nativeInput)};t.prototype.setAriaForm=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},t);return[2]}))}))};t.prototype.render=function(){var t=this;var i=_.block("input-date");var n=i.element("native");return e(a,{key:"c1401f0c7df85ca5d78649b764215e27aa6790ae",onClick:function(e){return t.maskAdapter.bindHostClick(e)},class:Object.assign({},i.class())},e("input",Object.assign({key:"37c33527ad82e2f74b19f734f2a752cc49a8a352",class:{input:true,"is-disabled":this.disabled||this.readonly,"is-danger":this.invalid,"is-clickable":this.clickable&&!(this.disabled||this.readonly),"bal-focusable":!this.disabled,"has-icon-right":this.hasIconRight},"data-testid":"bal-date-input",ref:function(e){return t.nativeInput=e},id:this.ariaForm.controlId||this.inputId,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-invalid":this.invalid===true?"true":"false","aria-disabled":this.disabled?"true":null,required:this.required,disabled:this.disabled,readonly:this.readonly,autoComplete:this.autocomplete},this.maskAdapter.attributes,this.inheritedAttributes,{placeholder:this.placeholder,value:this.inputValue,onKeyDown:function(e){return t.maskAdapter.bindKeyDown(e)},onClick:function(e){return t.maskAdapter.bindClick(e)},onFocus:function(e){return t.maskAdapter.bindFocus(e)},onBlur:function(e){return t.maskAdapter.bindBlur(e)},onPaste:function(e){return t.maskAdapter.bindPaste(e)}})),e("input",{key:"c2b6921f78a345008b3475273f19dfe1dcd59373",type:"date",class:Object.assign({},n.class()),name:this.name,min:this.min,max:this.max,value:this.value,tabindex:-1,"aria-hidden":"true"}))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return t}());s([h("bal-input-date"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],at.prototype,"createLogger",null);s([g(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],at.prototype,"configChanged",null);var rt=0;at.style=nt}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(a,e,o,c){function b(a){return a instanceof o?a:new o((function(e){e(a)}))}return new(o||(o=Promise))((function(o,l){function r(a){try{d(c.next(a))}catch(a){l(a)}}function i(a){try{d(c["throw"](a))}catch(a){l(a)}}function d(a){a.done?o(a.value):b(a.value).then(r,i)}d((c=c.apply(a,e||[])).next())}))};var __generator=this&&this.__generator||function(a,e){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,b,l,r;return r={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function i(a){return function(e){return d([a,e])}}function d(i){if(c)throw new TypeError("Generator is already executing.");while(r&&(r=0,i[0]&&(o=0)),o)try{if(c=1,b&&(l=i[0]&2?b["return"]:i[0]?b["throw"]||((l=b["return"])&&l.call(b),0):b.next)&&!(l=l.call(b,i[1])).done)return l;if(b=0,l)i=[i[0]&2,l.value];switch(i[0]){case 0:case 1:l=i;break;case 4:o.label++;return{value:i[1],done:false};case 5:o.label++;b=i[1];i=[0];continue;case 7:i=o.ops.pop();o.trys.pop();continue;default:if(!(l=o.trys,l=l.length>0&&l[l.length-1])&&(i[0]===6||i[0]===2)){o=0;continue}if(i[0]===3&&(!l||i[1]>l[0]&&i[1]<l[3])){o.label=i[1];break}if(i[0]===6&&o.label<l[1]){o.label=l[1];l=i;break}if(l&&o.label<l[2]){o.label=l[2];o.ops.push(i);break}if(l[2])o.ops.pop();o.trys.pop();continue}i=e.call(a,o)}catch(a){i=[6,a];b=0}finally{c=l=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-d9b32333.system.js","./p-db0895e2.system.js","./p-b52ad8d5.system.js","./p-23bdd8dc.system.js","./p-8949aa8b.system.js","./p-56c370cb.system.js","./p-6e5745c8.system.js","./p-4e642b63.system.js","./p-cb045ca0.system.js","./p-c6a673f7.system.js","./p-a1f6e944.system.js","./p-b3f2c626.system.js","./p-145d5c4e.system.js","./p-eecefb0a.system.js"],(function(a){"use strict";var e,o,c,b,l,r,i,d,t,h,k,n,x,s,_,u,v,f;return{setters:[function(a){e=a.r;o=a.c;c=a.h;b=a.H;l=a.g},function(a){r=a._;i=a.a},function(a){d=a.j;t=a.v},function(a){h=a.B},function(a){k=a.F},function(a){n=a.L},function(a){x=a.i},function(a){s=a.s},function(a){_=a.d},function(a){u=a.d},function(a){v=a.L},function(a){f=a.L},function(){},function(){},function(){},function(){}],execute:function(){var g='@media (hover: hover)and (pointer: fine){.bal-radio-checkbox.bal-focused .bal-radio-checkbox__input:not(.bal-radio-checkbox__input--select-button)+.bal-radio-checkbox__label::before,.bal-radio-checkbox.bal-focused.bal-radio-checkbox--select-button{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-symbol-size:1.5rem;--bal-radio-checkbox-symbol-width:calc(0.5rem - 1px);--bal-radio-checkbox-symbol-height:calc(0.875rem - 1px);--bal-radio-checkbox-symbol-left:calc(0.5rem + 1px);--bal-radio-checkbox-symbol-margin-top:0.25rem;--bal-radio-checkbox-label-min-height:1.5rem;--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}bal-radio .bal-radio-checkbox__label::before,bal-radio .bal-radio-checkbox__label::after{margin-top:0px !important}.bal-radio-checkbox-group{display:inline-block;position:relative;width:100%}.bal-radio-checkbox-group__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-normal)}.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex:1;flex:1;gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:row;flex-direction:row}}.bal-radio-checkbox-group__inner--expanded{-ms-flex-align:stretch;align-items:stretch}.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{width:100%}}.bal-radio-checkbox-group__inner--select-button.bal-radio-checkbox-group__inner--vertical{gap:var(--bal-space-x-small)}.bal-radio-checkbox-group__inner--vertical{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--vertical{-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--vertical-mobile{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}}.bal-radio-checkbox{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;outline:none;min-width:1.5rem;min-height:3rem}.bal-radio-checkbox--flat:not(.bal-radio-checkbox--select-button){min-height:1.5rem}.bal-radio-checkbox__input{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox--invisible{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox:not(.bal-radio-checkbox--disabled),.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label>span{cursor:pointer}.bal-radio-checkbox__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0;line-height:1.5rem;contain:layout style;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:left;min-height:var(--bal-radio-checkbox-label-min-height);font-family:var(--bal-font-family-text)}.bal-radio-checkbox__label__text{padding-left:2rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox__label__text--hidden{padding-left:0;display:none}.bal-radio-checkbox__label__text--flat{padding-top:0;padding-bottom:0}.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::before,.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::after{top:0px !important}.bal-radio-checkbox__label--hidden::before,.bal-radio-checkbox__label--hidden::after{top:0px !important}.bal-radio-checkbox__label::before,.bal-radio-checkbox__label::after{display:inline-block;position:absolute;left:0;top:.25rem;height:var(--bal-radio-checkbox-symbol-size);width:var(--bal-radio-checkbox-symbol-size);background-color:rgba(0,0,0,0);background-position:center;background-repeat:no-repeat;background-size:var(--bal-radio-checkbox-symbol-size) var(--bal-radio-checkbox-symbol-size)}.bal-radio-checkbox__label::before{content:"";border-style:var(--bal-form-field-control-border-style);border-width:2px}.bal-radio-checkbox__label::after{content:none}.bal-radio-checkbox__label--checked::after{content:""}.bal-radio-checkbox__label--radio::before,.bal-radio-checkbox__label--radio::after{border-radius:50%}.bal-radio-checkbox__label--radio::after{left:0;-webkit-transform:scale(0.25);transform:scale(0.25)}.bal-radio-checkbox__label--checkbox::before{border-radius:var(--bal-form-field-control-radius)}.bal-radio-checkbox__label--checkbox::after{border-top:0;border-right-style:var(--bal-form-field-control-border-style);border-right-width:2px;border-bottom-style:var(--bal-form-field-control-border-style);border-bottom-width:2px;border-left:0;border-radius:1px;width:var(--bal-radio-checkbox-symbol-width);height:var(--bal-radio-checkbox-symbol-height);left:var(--bal-radio-checkbox-symbol-left);margin-top:var(--bal-radio-checkbox-symbol-margin-top);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-primary);background:var(--bal-color-transparent)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-light-blue-5);background:var(--bal-color-grey-2)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-blue-6);background:var(--bal-color-grey-2)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-danger);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-5);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-6);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-grey-dark);background:var(--bal-color-grey-2)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-text-grey)}.bal-radio-checkbox--inline{display:inline}.bal-radio-checkbox--select-button{padding-left:.75rem;padding-right:.75rem;min-width:3rem;border-width:2px;border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-color:var(--bal-radio-checkbox-select-button-border-color)}.bal-radio-checkbox--select-button:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-hover);background:var(--bal-radio-checkbox-select-button-background-hover)}.bal-radio-checkbox--select-button:active{border-color:var(--bal-radio-checkbox-select-button-border-color-active);background:var(--bal-radio-checkbox-select-button-background-active)}.bal-radio-checkbox--select-button label::before{top:unset}.bal-radio-checkbox--select-button label::after{top:unset;margin-top:-3px}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::before{top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::after{margin-top:-3px;top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat .bal-radio-checkbox__label__text--flat{padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked{background:var(--bal-radio-checkbox-select-button-background-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-radio-checkbox-select-button-link-text-color-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover{background:var(--bal-radio-checkbox-select-button-background-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active{background:var(--bal-radio-checkbox-select-button-background-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid);background:var(--bal-radio-checkbox-select-button-background-invalid)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-danger-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-active);background:var(--bal-radio-checkbox-select-button-background-invalid-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked);background:var(--bal-radio-checkbox-select-button-background-invalid-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-active);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-disabled-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-checked-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--switch{min-width:2.5rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label{padding-left:1rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{border-radius:1.5rem;position:absolute;display:block;top:0;left:0;width:2.5rem;height:1.5rem;border:1.6px solid rgba(0,0,0,0);content:"";-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;margin-top:.25rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{border:none;margin:0;border-radius:50%;display:block;position:absolute;top:.25rem !important;left:.25rem;width:1rem;height:1rem;z-index:2;margin-top:.25rem;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;content:""}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-before)}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-after)}.bal-radio-checkbox--switch:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-hover-after)}.bal-radio-checkbox--switch:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::after{margin-top:0}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{left:1.25rem;background:var(--bal-radio-checkbox-switch-label-background-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-hover-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-radio-checkbox__icon{position:absolute !important;left:5.5px;z-index:1}.bal-radio-checkbox__icon--hidden{display:none !important}';var w=g;var p=a("bal_radio",function(){function a(a){var c=this;e(this,a);this.balFocus=o(this,"balFocus",7);this.balBlur=o(this,"balBlur",7);this.balChange=o(this,"balChange",7);this.inputId="bal-rb-".concat(m++);this.inheritedAttributes={};this.keyboardMode=true;this.onKeypress=function(a){if(u(a)){var e=a.target;if(e.href){return}if(e.nodeName==="INPUT"&&!c.disabled&&!c.readonly){c.toggleChecked();a.preventDefault()}else{s(a)}}};this.onClick=function(a){var e;var o=a.target;if(o.href){return}if(o.nodeName!=="INPUT"&&!c.disabled&&!c.readonly){c.toggleChecked();(e=c.nativeInput)===null||e===void 0?void 0:e.focus();a.preventDefault()}else{s(a)}};this.onFocus=function(a){if(c.disabled||c.readonly){c.focused=false;return s(a)}c.balFocus.emit(a);if(c.keyboardMode){c.focused=true}};this.onBlur=function(a){if(c.disabled||c.readonly){return s(a)}c.balBlur.emit(a);c.focused=false};this.onPointerDown=function(){return c.keyboardMode=false};this.onKeydown=function(a){return c.keyboardMode=k.includes(a.key)};this.checked=false;this.focused=false;this.buttonTabindex=undefined;this.ariaForm=_;this.name=this.inputId;this.value=undefined;this.label="";this.invisible=false;this.labelHidden=false;this.flat=false;this.interface="radio";this.disabled=false;this.readonly=false;this.required=false;this.nonSubmit=false;this.invalid=false;this.hovered=false;this.pressed=false}a.prototype.createLogger=function(a){this.log=a};a.prototype.connectedCallback=function(){if(this.value===undefined){this.value=this.inputId}var a=this.radioButton;var e=this.radioGroup;if(a||e){this.updateState()}if(e){e.addEventListener("balInput",this.updateState)}this.el.addEventListener("keydown",this.onKeydown);this.el.addEventListener("touchstart",this.onPointerDown);this.el.addEventListener("mousedown",this.onPointerDown)};a.prototype.componentWillLoad=function(){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])};a.prototype.disconnectedCallback=function(){var a=this.radioGroup;if(a){a.removeEventListener("balInput",this.updateState)}this.el.removeEventListener("keydown",this.onKeydown);this.el.removeEventListener("touchstart",this.onPointerDown);this.el.removeEventListener("mousedown",this.onPointerDown)};a.prototype.listenOnClick=function(a){if((this.disabled||this.readonly)&&a.target&&(a.target===this.el||d(this.el,a.target))){s(a)}};a.prototype.setFocus=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){a.stopPropagation();a.preventDefault();this.nativeInput.focus();this.focused=true;return[2]}))}))};a.prototype.setButtonTabindex=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.radioButton){this.buttonTabindex=-1}else{this.buttonTabindex=a}return[2]}))}))};a.prototype.getInputElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){return[2,Promise.resolve(this.nativeInput)]}))}))};a.prototype.getOption=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){return[2,this.option]}))}))};a.prototype.updateState=function(){return __awaiter(this,void 0,void 0,(function(){var a;return __generator(this,(function(e){if(this.radioGroup){a=this.radioGroup.value===this.value;if(a!==this.checked){this.checked=a}}if(this.radioButton){this.buttonTabindex=-1;if(this.radioButton.setChecked){this.radioButton.setChecked(this.checked)}}return[2]}))}))};a.prototype.setAriaForm=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},a);return[2]}))}))};Object.defineProperty(a.prototype,"radioButton",{get:function(){return this.el.closest("bal-radio-button")},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"radioGroup",{get:function(){return this.el.closest("bal-radio-group")},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"option",{get:function(){return{name:this.name,value:this.value,label:this.label,labelHidden:this.labelHidden,flat:this.flat,interface:this.interface,disabled:this.disabled,readonly:this.readonly,required:this.required,nonSubmit:this.nonSubmit,invisible:this.invisible,invalid:this.invalid}},enumerable:false,configurable:true});a.prototype.toggleChecked=function(){this.checked=!this.checked;this.balChange.emit(this.checked);this.updateState()};a.prototype.render=function(){var a=this;var e=h.block("radio-checkbox");var o=e.element("input");var l=e.element("label");var r=l.element("text");var i=this.focused&&this.buttonTabindex!==-1;var d=typeof this.value==="boolean"?JSON.stringify(this.value):this.value;var t=this.inheritedAttributes;if(this.buttonTabindex!==undefined){t.tabIndex=this.buttonTabindex}var k=this.ariaForm.controlId||this.inputId;var n=this.ariaForm.labelId||null;var x=this.labelHidden?"span":"label";var s={};if(!this.labelHidden){n="".concat(n||""," ").concat(k,"-lbl").trim();s.id="".concat(k,"-lbl");s.htmlFor=k}return c(b,{key:"058d9b48247c0989348d58117017753092fa6afa","aria-checked":"".concat(this.checked),"aria-disabled":this.disabled?"true":null,"aria-hidden":this.disabled?"true":null,"aria-focused":i?"true":null,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"bal-focused":i},e.class()),e.modifier("radio").class()),e.modifier("select-button").class(this.interface==="select-button")),e.modifier("invalid").class(this.invalid)),e.modifier("checked").class(this.checked)),e.modifier("flat").class(this.flat)),e.modifier("disabled").class(this.disabled||this.readonly)),e.modifier("hovered").class(this.hovered)),e.modifier("pressed").class(this.pressed)),e.modifier("invisible").class(this.invisible)),onKeypress:this.onKeypress,onClick:this.onClick},c("input",Object.assign({key:"4c935cb7f8a25f77afaea78b0a8e311166e44067",class:Object.assign(Object.assign({},o.class()),o.modifier("select-button").class(this.interface==="select-button")),"data-testid":"bal-radio-input",type:"radio",id:k,"aria-labelledby":n,"aria-describedby":this.ariaForm.messageId,"aria-invalid":this.invalid===true?"true":"false","aria-disabled":this.disabled?"true":null,"aria-checked":"".concat(this.checked),name:this.name,value:d,checked:this.checked,disabled:this.disabled||this.nonSubmit,readonly:this.readonly,required:this.required,onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return a.nativeInput=e}},t)),!this.invisible?c(x,Object.assign({class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("radio").class()),l.modifier("checked").class(this.checked)),l.modifier("hidden").class(this.labelHidden)),l.modifier("flat").class(this.flat))},s,{"data-testid":"bal-radio-label"}),c("span",{class:Object.assign(Object.assign(Object.assign({},r.class()),r.modifier("hidden").class(this.labelHidden)),r.modifier("flat").class(this.flat)),"data-testid":"bal-radio-text"},this.label,c("slot",null))):"")};Object.defineProperty(a.prototype,"el",{get:function(){return l(this)},enumerable:false,configurable:true});return a}());r([n("bal-radio"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],p.prototype,"createLogger",null);var m=0;p.style=w;var y=a("bal_radio_group",function(){function a(a){var c=this;e(this,a);this.balChange=o(this,"balChange",7);this.balFocus=o(this,"balFocus",7);this.balBlur=o(this,"balBlur",7);this.inputId="bal-rg-".concat(j++);this.inheritedAttributes={};this.hasFocus=false;this.mutationObserverActive=true;this.onOptionChange=function(){return __awaiter(c,void 0,void 0,(function(){return __generator(this,(function(a){this.setRadioTabindex(this.value);this.setRadioChecked();return[2]}))}))};this.setRadioTabindex=function(a){var e=c.getRadios();var o=e.find((function(a){return!a.disabled}));var b=e.find((function(e){return e.value===a&&!e.disabled}));if(!o&&!b){return}var l=b||o;for(var r=0,i=e;r<i.length;r++){var d=i[r];var t=d===l?0:-1;d.setButtonTabindex(t)}};this.onClick=function(a){var e=a.target;if(e.href){return}a.preventDefault();var o=a.target&&a.target.closest("bal-radio");if(o&&!o.disabled&&!o.readonly){var b=c.value;var l=o.value;if(l!==b){c.value=l}else if(c.allowEmptySelection){c.value=undefined}c.balChange.emit(c.value)}};this.ariaForm=_;this.options=undefined;this.allowEmptySelection=false;this.name=this.inputId;this.value=undefined;this.interface=undefined;this.vertical=false;this.verticalOnMobile=false;this.expanded=false;this.invalid=undefined;this.disabled=undefined;this.readonly=undefined;this.grid=1;this.columnsTablet=1;this.columnsMobile=1;this.autoInvalidOff=false}a.prototype.createLogger=function(a){this.log=a};a.prototype.optionChanged=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.onOptionChange();this.mutationObserverActive=this.options===undefined;return[2]}))}))};a.prototype.valueChanged=function(){this.onOptionChange()};a.prototype.invalidChanged=function(a){if(a!==undefined){this.getRadios().forEach((function(e){e.invalid=a}));this.getRadioButtons().forEach((function(e){e.invalid=a}))}};a.prototype.disabledChanged=function(a){if(a!==undefined){this.getRadios().forEach((function(e){e.disabled=a}));this.getRadioButtons().forEach((function(e){e.disabled=a}))}};a.prototype.readonlyChanged=function(a){if(a!==undefined){this.getRadios().forEach((function(e){e.readonly=a}));this.getRadioButtons().forEach((function(e){e.readonly=a}))}};a.prototype.columnsChanged=function(a){this.getRadioButtons().forEach((function(e){return e.colSize=a}))};a.prototype.columnsTabletChanged=function(a){this.getRadioButtons().forEach((function(e){return e.colSizeTablet=a}))};a.prototype.columnsMobileChanged=function(a){this.getRadioButtons().forEach((function(e){return e.colSizeMobile=a}))};a.prototype.connectedCallback=function(){this.initialValue=this.value;this.mutationObserverActive=this.options===undefined};a.prototype.componentWillLoad=function(){this.setRadioInterface();this.disabledChanged(this.disabled);this.readonlyChanged(this.readonly);this.invalidChanged(this.invalid);this.columnsChanged(this.grid);this.columnsTabletChanged(this.columnsTablet);this.columnsMobileChanged(this.columnsMobile);this.onOptionChange();this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])};a.prototype.focusInListener=function(a){this.balFocus.emit(a)};a.prototype.focusOutListener=function(a){this.balBlur.emit(a)};a.prototype.mutationListener=function(){this.setRadioInterface();this.disabledChanged(this.disabled);this.readonlyChanged(this.readonly);this.invalidChanged(this.invalid);this.columnsChanged(this.grid);this.columnsTabletChanged(this.columnsTablet);this.columnsMobileChanged(this.columnsMobile);this.onOptionChange()};a.prototype.listenOnClick=function(a){if(d(this.el,a.target)){s(a)}};a.prototype.radioFocusListener=function(a){var e=a.target;if(e&&d(this.el,e)&&t(e,"bal-radio")){s(a)}};a.prototype.radioBlurListener=function(a){var e=a.target;if(e&&d(this.el,e)&&t(e,"bal-radio")){s(a)}};a.prototype.resetListener=function(a){var e=a.target;if(e===null||e===void 0?void 0:e.contains(this.el)){this.value=this.initialValue}};a.prototype.onKeydown=function(a){if(a.target&&!this.el.contains(a.target)){return}var e=this.getRadios().filter((function(a){return!a.disabled}));var o=a.target.closest("bal-radio");if(o&&e.includes(o)){var c=e.findIndex((function(a){return a===o}));var b=e[c];var l=void 0;if(["ArrowDown","ArrowRight"].includes(a.code)){l=c===e.length-1?e[0]:e[c+1]}if(["ArrowUp","ArrowLeft"].includes(a.code)){l=c===0?e[e.length-1]:e[c-1]}if(l&&e.includes(l)){l.setFocus(a);this.value=l.value;this.balChange.emit(this.value)}if(["Space"].includes(a.code)){this.value=this.allowEmptySelection&&this.value!==undefined?undefined:b.value;a.preventDefault()}}};a.prototype.setValue=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.value=a;return[2]}))}))};a.prototype.getOptionByValue=function(a){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){e=this.options;if(e){return[2,e.find((function(e){return e.value===a}))]}return[2,undefined]}))}))};a.prototype.setAriaForm=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},a);return[2]}))}))};a.prototype.setRadioInterface=function(){var a=this;this.getRadios().forEach((function(e){if(a.interface){e.interface=a.interface}}))};a.prototype.setRadioChecked=function(){this.getRadios().forEach((function(a){if(a.updateState){a.updateState()}}))};a.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("bal-radio"))};a.prototype.getRadioButtons=function(){return Array.from(this.el.querySelectorAll("bal-radio-button"))};a.prototype.render=function(){var a=this;var e=h.block("radio-checkbox-group");var o=e.element("inner");var l=this.options||[];var r=l.map((function(a){if(typeof a.html==="function"){return Object.assign(Object.assign({},a),{html:a.html()})}return a}));return c(b,Object.assign({class:Object.assign({},e.class()),role:"radiogroup","aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-disabled":this.disabled?"true":null,onClick:this.onClick},this.inheritedAttributes),c("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o.class()),o.modifier("vertical-mobile").class(this.verticalOnMobile)),o.modifier("vertical").class(this.vertical)),o.modifier("expanded").class(this.expanded)),o.modifier("select-button").class(this.interface==="select-button"))},c("slot",null),r.map((function(e){return c("bal-radio",{key:e.value,name:e.name||a.name,value:e.value,labelHidden:e.labelHidden,flat:e.flat,interface:e.interface,disabled:e.disabled,readonly:e.readonly,required:e.required,nonSubmit:!!e.nonSubmit,invalid:e.invalid,innerHTML:e.html})}))))};Object.defineProperty(a.prototype,"el",{get:function(){return l(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{options:["optionChanged"],value:["valueChanged"],invalid:["invalidChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"],grid:["columnsChanged"],columnsTablet:["columnsTabletChanged"],columnsMobile:["columnsMobileChanged"]}},enumerable:false,configurable:true});return a}());r([n("bal-radio-group"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],y.prototype,"createLogger",null);r([v(),i("design:type",Function),i("design:paramtypes",[FocusEvent]),i("design:returntype",void 0)],y.prototype,"focusInListener",null);r([v(),i("design:type",Function),i("design:paramtypes",[FocusEvent]),i("design:returntype",void 0)],y.prototype,"focusOutListener",null);r([f({tags:["bal-radio-group","bal-radio"],attributes:false,characterData:false}),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],y.prototype,"mutationListener",null);var j=0}}}));
@@ -1 +0,0 @@
1
- import{r as a,c as o,h as e,H as b,g as c}from"./p-2ccbe55a.js";import{_ as l,a as r}from"./p-43c9f5e9.js";import{j as i,v as d}from"./p-f64319f1.js";import{B as h}from"./p-ae86d0a0.js";import{F as t}from"./p-ca119357.js";import{L as k}from"./p-b77e3348.js";import{i as x}from"./p-dd5e13d1.js";import{s}from"./p-cc8cfbf3.js";import{d as n}from"./p-f385e205.js";import{d as _}from"./p-dc98854c.js";import{L as v}from"./p-744daf78.js";import{L as u}from"./p-12edf09f.js";import"./p-a65354df.js";import"./p-2229e98e.js";import"./p-aafb6696.js";import"./p-acf222fd.js";const g=class{constructor(e){a(this,e),this.balFocus=o(this,"balFocus",7),this.balBlur=o(this,"balBlur",7),this.balChange=o(this,"balChange",7),this.inputId="bal-rb-"+f++,this.inheritedAttributes={},this.keyboardMode=!0,this.onKeypress=a=>{if(_(a)){const o=a.target;if(o.href)return;"INPUT"!==o.nodeName||this.disabled||this.readonly?s(a):(this.toggleChecked(),a.preventDefault())}},this.onClick=a=>{var o;const e=a.target;e.href||("INPUT"===e.nodeName||this.disabled||this.readonly?s(a):(this.toggleChecked(),null===(o=this.nativeInput)||void 0===o||o.focus(),a.preventDefault()))},this.onFocus=a=>{if(this.disabled||this.readonly)return this.focused=!1,s(a);this.balFocus.emit(a),this.keyboardMode&&(this.focused=!0)},this.onBlur=a=>{if(this.disabled||this.readonly)return s(a);this.balBlur.emit(a),this.focused=!1},this.onPointerDown=()=>this.keyboardMode=!1,this.onKeydown=a=>this.keyboardMode=t.includes(a.key),this.checked=!1,this.focused=!1,this.buttonTabindex=void 0,this.ariaForm=n,this.name=this.inputId,this.value=void 0,this.label="",this.invisible=!1,this.labelHidden=!1,this.flat=!1,this.interface="radio",this.disabled=!1,this.readonly=!1,this.required=!1,this.nonSubmit=!1,this.invalid=!1,this.hovered=!1,this.pressed=!1}createLogger(a){this.log=a}connectedCallback(){void 0===this.value&&(this.value=this.inputId);const a=this.radioGroup;(this.radioButton||a)&&this.updateState(),a&&a.addEventListener("balInput",this.updateState),this.el.addEventListener("keydown",this.onKeydown),this.el.addEventListener("touchstart",this.onPointerDown),this.el.addEventListener("mousedown",this.onPointerDown)}componentWillLoad(){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])}disconnectedCallback(){const a=this.radioGroup;a&&a.removeEventListener("balInput",this.updateState),this.el.removeEventListener("keydown",this.onKeydown),this.el.removeEventListener("touchstart",this.onPointerDown),this.el.removeEventListener("mousedown",this.onPointerDown)}listenOnClick(a){(this.disabled||this.readonly)&&a.target&&(a.target===this.el||i(this.el,a.target))&&s(a)}async setFocus(a){a.stopPropagation(),a.preventDefault(),this.nativeInput.focus(),this.focused=!0}async setButtonTabindex(a){this.buttonTabindex=this.radioButton?-1:a}async getInputElement(){return Promise.resolve(this.nativeInput)}async getOption(){return this.option}async updateState(){if(this.radioGroup){const a=this.radioGroup.value===this.value;a!==this.checked&&(this.checked=a)}this.radioButton&&(this.buttonTabindex=-1,this.radioButton.setChecked&&this.radioButton.setChecked(this.checked))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}get radioButton(){return this.el.closest("bal-radio-button")}get radioGroup(){return this.el.closest("bal-radio-group")}get option(){return{name:this.name,value:this.value,label:this.label,labelHidden:this.labelHidden,flat:this.flat,interface:this.interface,disabled:this.disabled,readonly:this.readonly,required:this.required,nonSubmit:this.nonSubmit,invisible:this.invisible,invalid:this.invalid}}toggleChecked(){this.checked=!this.checked,this.balChange.emit(this.checked),this.updateState()}render(){const a=h.block("radio-checkbox"),o=a.element("input"),c=a.element("label"),l=c.element("text"),r=this.focused&&-1!==this.buttonTabindex,i="boolean"==typeof this.value?JSON.stringify(this.value):this.value,d=this.inheritedAttributes;void 0!==this.buttonTabindex&&(d.tabIndex=this.buttonTabindex);const t=this.ariaForm.controlId||this.inputId;let k=this.ariaForm.labelId||null;const x=this.labelHidden?"span":"label",s={};return this.labelHidden||(k=`${k||""} ${t}-lbl`.trim(),s.id=`${t}-lbl`,s.htmlFor=t),e(b,{key:"058d9b48247c0989348d58117017753092fa6afa","aria-checked":`${this.checked}`,"aria-disabled":this.disabled?"true":null,"aria-hidden":this.disabled?"true":null,"aria-focused":r?"true":null,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"bal-focused":r},a.class()),a.modifier("radio").class()),a.modifier("select-button").class("select-button"===this.interface)),a.modifier("invalid").class(this.invalid)),a.modifier("checked").class(this.checked)),a.modifier("flat").class(this.flat)),a.modifier("disabled").class(this.disabled||this.readonly)),a.modifier("hovered").class(this.hovered)),a.modifier("pressed").class(this.pressed)),a.modifier("invisible").class(this.invisible)),onKeypress:this.onKeypress,onClick:this.onClick},e("input",Object.assign({key:"4c935cb7f8a25f77afaea78b0a8e311166e44067",class:Object.assign(Object.assign({},o.class()),o.modifier("select-button").class("select-button"===this.interface)),"data-testid":"bal-radio-input",type:"radio",id:t,"aria-labelledby":k,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":this.disabled?"true":null,"aria-checked":`${this.checked}`,name:this.name,value:i,checked:this.checked,disabled:this.disabled||this.nonSubmit,readonly:this.readonly,required:this.required,onFocus:this.onFocus,onBlur:this.onBlur,ref:a=>this.nativeInput=a},d)),this.invisible?"":e(x,Object.assign({class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c.class()),c.modifier("radio").class()),c.modifier("checked").class(this.checked)),c.modifier("hidden").class(this.labelHidden)),c.modifier("flat").class(this.flat))},s,{"data-testid":"bal-radio-label"}),e("span",{class:Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("hidden").class(this.labelHidden)),l.modifier("flat").class(this.flat)),"data-testid":"bal-radio-text"},this.label,e("slot",null))))}get el(){return c(this)}};l([k("bal-radio"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],g.prototype,"createLogger",null);let f=0;g.style='@media (hover: hover)and (pointer: fine){.bal-radio-checkbox.bal-focused .bal-radio-checkbox__input:not(.bal-radio-checkbox__input--select-button)+.bal-radio-checkbox__label::before,.bal-radio-checkbox.bal-focused.bal-radio-checkbox--select-button{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-symbol-size:1.5rem;--bal-radio-checkbox-symbol-width:calc(0.5rem - 1px);--bal-radio-checkbox-symbol-height:calc(0.875rem - 1px);--bal-radio-checkbox-symbol-left:calc(0.5rem + 1px);--bal-radio-checkbox-symbol-margin-top:0.25rem;--bal-radio-checkbox-label-min-height:1.5rem;--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}bal-radio .bal-radio-checkbox__label::before,bal-radio .bal-radio-checkbox__label::after{margin-top:0px !important}.bal-radio-checkbox-group{display:inline-block;position:relative;width:100%}.bal-radio-checkbox-group__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-normal)}.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex:1;flex:1;gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:row;flex-direction:row}}.bal-radio-checkbox-group__inner--expanded{-ms-flex-align:stretch;align-items:stretch}.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{width:100%}}.bal-radio-checkbox-group__inner--select-button.bal-radio-checkbox-group__inner--vertical{gap:var(--bal-space-x-small)}.bal-radio-checkbox-group__inner--vertical{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--vertical{-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--vertical-mobile{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}}.bal-radio-checkbox{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;outline:none;min-width:1.5rem;min-height:3rem}.bal-radio-checkbox--flat:not(.bal-radio-checkbox--select-button){min-height:1.5rem}.bal-radio-checkbox__input{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox--invisible{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox:not(.bal-radio-checkbox--disabled),.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label>span{cursor:pointer}.bal-radio-checkbox__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0;line-height:1.5rem;contain:layout style;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:left;min-height:var(--bal-radio-checkbox-label-min-height);font-family:var(--bal-font-family-text)}.bal-radio-checkbox__label__text{padding-left:2rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox__label__text--hidden{padding-left:0;display:none}.bal-radio-checkbox__label__text--flat{padding-top:0;padding-bottom:0}.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::before,.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::after{top:0px !important}.bal-radio-checkbox__label--hidden::before,.bal-radio-checkbox__label--hidden::after{top:0px !important}.bal-radio-checkbox__label::before,.bal-radio-checkbox__label::after{display:inline-block;position:absolute;left:0;top:.25rem;height:var(--bal-radio-checkbox-symbol-size);width:var(--bal-radio-checkbox-symbol-size);background-color:rgba(0,0,0,0);background-position:center;background-repeat:no-repeat;background-size:var(--bal-radio-checkbox-symbol-size) var(--bal-radio-checkbox-symbol-size)}.bal-radio-checkbox__label::before{content:"";border-style:var(--bal-form-field-control-border-style);border-width:2px}.bal-radio-checkbox__label::after{content:none}.bal-radio-checkbox__label--checked::after{content:""}.bal-radio-checkbox__label--radio::before,.bal-radio-checkbox__label--radio::after{border-radius:50%}.bal-radio-checkbox__label--radio::after{left:0;-webkit-transform:scale(0.25);transform:scale(0.25)}.bal-radio-checkbox__label--checkbox::before{border-radius:var(--bal-form-field-control-radius)}.bal-radio-checkbox__label--checkbox::after{border-top:0;border-right-style:var(--bal-form-field-control-border-style);border-right-width:2px;border-bottom-style:var(--bal-form-field-control-border-style);border-bottom-width:2px;border-left:0;border-radius:1px;width:var(--bal-radio-checkbox-symbol-width);height:var(--bal-radio-checkbox-symbol-height);left:var(--bal-radio-checkbox-symbol-left);margin-top:var(--bal-radio-checkbox-symbol-margin-top);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-primary);background:var(--bal-color-transparent)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-light-blue-5);background:var(--bal-color-grey-2)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-blue-6);background:var(--bal-color-grey-2)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-danger);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-5);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-6);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-grey-dark);background:var(--bal-color-grey-2)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-text-grey)}.bal-radio-checkbox--inline{display:inline}.bal-radio-checkbox--select-button{padding-left:.75rem;padding-right:.75rem;min-width:3rem;border-width:2px;border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-color:var(--bal-radio-checkbox-select-button-border-color)}.bal-radio-checkbox--select-button:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-hover);background:var(--bal-radio-checkbox-select-button-background-hover)}.bal-radio-checkbox--select-button:active{border-color:var(--bal-radio-checkbox-select-button-border-color-active);background:var(--bal-radio-checkbox-select-button-background-active)}.bal-radio-checkbox--select-button label::before{top:unset}.bal-radio-checkbox--select-button label::after{top:unset;margin-top:-3px}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::before{top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::after{margin-top:-3px;top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat .bal-radio-checkbox__label__text--flat{padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked{background:var(--bal-radio-checkbox-select-button-background-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-radio-checkbox-select-button-link-text-color-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover{background:var(--bal-radio-checkbox-select-button-background-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active{background:var(--bal-radio-checkbox-select-button-background-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid);background:var(--bal-radio-checkbox-select-button-background-invalid)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-danger-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-active);background:var(--bal-radio-checkbox-select-button-background-invalid-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked);background:var(--bal-radio-checkbox-select-button-background-invalid-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-active);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-disabled-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-checked-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--switch{min-width:2.5rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label{padding-left:1rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{border-radius:1.5rem;position:absolute;display:block;top:0;left:0;width:2.5rem;height:1.5rem;border:1.6px solid rgba(0,0,0,0);content:"";-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;margin-top:.25rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{border:none;margin:0;border-radius:50%;display:block;position:absolute;top:.25rem !important;left:.25rem;width:1rem;height:1rem;z-index:2;margin-top:.25rem;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;content:""}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-before)}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-after)}.bal-radio-checkbox--switch:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-hover-after)}.bal-radio-checkbox--switch:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::after{margin-top:0}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{left:1.25rem;background:var(--bal-radio-checkbox-switch-label-background-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-hover-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-radio-checkbox__icon{position:absolute !important;left:5.5px;z-index:1}.bal-radio-checkbox__icon--hidden{display:none !important}';const w=class{constructor(e){a(this,e),this.balChange=o(this,"balChange",7),this.balFocus=o(this,"balFocus",7),this.balBlur=o(this,"balBlur",7),this.inputId="bal-rg-"+p++,this.inheritedAttributes={},this.hasFocus=!1,this.mutationObserverActive=!0,this.onOptionChange=async()=>{this.setRadioTabindex(this.value),this.setRadioChecked()},this.setRadioTabindex=a=>{const o=this.getRadios(),e=o.find((a=>!a.disabled)),b=o.find((o=>o.value===a&&!o.disabled));if(!e&&!b)return;const c=b||e;for(const a of o)a.setButtonTabindex(a===c?0:-1)},this.onClick=a=>{if(a.target.href)return;a.preventDefault();const o=a.target&&a.target.closest("bal-radio");if(o&&!o.disabled&&!o.readonly){const a=o.value;a!==this.value?this.value=a:this.allowEmptySelection&&(this.value=void 0),this.balChange.emit(this.value)}},this.ariaForm=n,this.options=void 0,this.allowEmptySelection=!1,this.name=this.inputId,this.value=void 0,this.interface=void 0,this.vertical=!1,this.verticalOnMobile=!1,this.expanded=!1,this.invalid=void 0,this.disabled=void 0,this.readonly=void 0,this.grid=1,this.columnsTablet=1,this.columnsMobile=1,this.autoInvalidOff=!1}createLogger(a){this.log=a}async optionChanged(){this.onOptionChange(),this.mutationObserverActive=void 0===this.options}valueChanged(){this.onOptionChange()}invalidChanged(a){void 0!==a&&(this.getRadios().forEach((o=>{o.invalid=a})),this.getRadioButtons().forEach((o=>{o.invalid=a})))}disabledChanged(a){void 0!==a&&(this.getRadios().forEach((o=>{o.disabled=a})),this.getRadioButtons().forEach((o=>{o.disabled=a})))}readonlyChanged(a){void 0!==a&&(this.getRadios().forEach((o=>{o.readonly=a})),this.getRadioButtons().forEach((o=>{o.readonly=a})))}columnsChanged(a){this.getRadioButtons().forEach((o=>o.colSize=a))}columnsTabletChanged(a){this.getRadioButtons().forEach((o=>o.colSizeTablet=a))}columnsMobileChanged(a){this.getRadioButtons().forEach((o=>o.colSizeMobile=a))}connectedCallback(){this.initialValue=this.value,this.mutationObserverActive=void 0===this.options}componentWillLoad(){this.setRadioInterface(),this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly),this.invalidChanged(this.invalid),this.columnsChanged(this.grid),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange(),this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])}focusInListener(a){this.balFocus.emit(a)}focusOutListener(a){this.balBlur.emit(a)}mutationListener(){this.setRadioInterface(),this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly),this.invalidChanged(this.invalid),this.columnsChanged(this.grid),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange()}listenOnClick(a){i(this.el,a.target)&&s(a)}radioFocusListener(a){const{target:o}=a;o&&i(this.el,o)&&d(o,"bal-radio")&&s(a)}radioBlurListener(a){const{target:o}=a;o&&i(this.el,o)&&d(o,"bal-radio")&&s(a)}resetListener(a){const o=a.target;(null==o?void 0:o.contains(this.el))&&(this.value=this.initialValue)}onKeydown(a){if(a.target&&!this.el.contains(a.target))return;const o=this.getRadios().filter((a=>!a.disabled)),e=a.target.closest("bal-radio");if(e&&o.includes(e)){const b=o.findIndex((a=>a===e)),c=o[b];let l;["ArrowDown","ArrowRight"].includes(a.code)&&(l=b===o.length-1?o[0]:o[b+1]),["ArrowUp","ArrowLeft"].includes(a.code)&&(l=0===b?o[o.length-1]:o[b-1]),l&&o.includes(l)&&(l.setFocus(a),this.value=l.value,this.balChange.emit(this.value)),["Space"].includes(a.code)&&(this.value=this.allowEmptySelection&&void 0!==this.value?void 0:c.value,a.preventDefault())}}async setValue(a){this.value=a}async getOptionByValue(a){const o=this.options;if(o)return o.find((o=>o.value===a))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}setRadioInterface(){this.getRadios().forEach((a=>{this.interface&&(a.interface=this.interface)}))}setRadioChecked(){this.getRadios().forEach((a=>{a.updateState&&a.updateState()}))}getRadios(){return Array.from(this.el.querySelectorAll("bal-radio"))}getRadioButtons(){return Array.from(this.el.querySelectorAll("bal-radio-button"))}render(){const a=h.block("radio-checkbox-group"),o=a.element("inner"),c=(this.options||[]).map((a=>"function"==typeof a.html?Object.assign(Object.assign({},a),{html:a.html()}):a));return e(b,Object.assign({class:Object.assign({},a.class()),role:"radiogroup","aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-disabled":this.disabled?"true":null,onClick:this.onClick},this.inheritedAttributes),e("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o.class()),o.modifier("vertical-mobile").class(this.verticalOnMobile)),o.modifier("vertical").class(this.vertical)),o.modifier("expanded").class(this.expanded)),o.modifier("select-button").class("select-button"===this.interface))},e("slot",null),c.map((a=>e("bal-radio",{key:a.value,name:a.name||this.name,value:a.value,labelHidden:a.labelHidden,flat:a.flat,interface:a.interface,disabled:a.disabled,readonly:a.readonly,required:a.required,nonSubmit:!!a.nonSubmit,invalid:a.invalid,innerHTML:a.html})))))}get el(){return c(this)}static get watchers(){return{options:["optionChanged"],value:["valueChanged"],invalid:["invalidChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"],grid:["columnsChanged"],columnsTablet:["columnsTabletChanged"],columnsMobile:["columnsMobileChanged"]}}};l([k("bal-radio-group"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],w.prototype,"createLogger",null),l([v(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],w.prototype,"focusInListener",null),l([v(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],w.prototype,"focusOutListener",null),l([u({tags:["bal-radio-group","bal-radio"],attributes:!1,characterData:!1}),r("design:type",Function),r("design:paramtypes",[]),r("design:returntype",void 0)],w.prototype,"mutationListener",null);let p=0;export{g as bal_radio,w as bal_radio_group}