@baloise/ds-core 19.8.2 → 19.8.3

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 (998) hide show
  1. package/components/bal-accordion-details.js +6 -4
  2. package/components/bal-accordion-summary.js +7 -5
  3. package/components/bal-accordion-trigger.js +7 -5
  4. package/components/bal-accordion.js +9 -7
  5. package/components/bal-app.js +12 -8
  6. package/components/bal-badge2.js +6 -4
  7. package/components/bal-button-group2.js +5 -3
  8. package/components/bal-button2.js +5 -3
  9. package/components/bal-card-actions.js +5 -3
  10. package/components/bal-card-button.js +5 -3
  11. package/components/bal-card-content2.js +5 -3
  12. package/components/bal-card-subtitle.js +5 -3
  13. package/components/bal-card-title.js +5 -3
  14. package/components/bal-card2.js +5 -3
  15. package/components/bal-carousel-item.js +6 -4
  16. package/components/bal-carousel.js +21 -22
  17. package/components/bal-check2.js +5 -3
  18. package/components/bal-checkbox-group.js +7 -5
  19. package/components/bal-checkbox2.js +7 -5
  20. package/components/bal-close2.js +8 -6
  21. package/components/bal-content2.js +5 -3
  22. package/components/bal-data-item.js +5 -3
  23. package/components/bal-data-label.js +5 -3
  24. package/components/bal-data-value.js +7 -5
  25. package/components/bal-data.js +5 -3
  26. package/components/bal-date-calendar-cell2.js +5 -3
  27. package/components/bal-date-calendar2.js +21 -34
  28. package/components/bal-date.js +12 -10
  29. package/components/bal-divider.js +5 -3
  30. package/components/bal-dropdown.js +21 -24
  31. package/components/bal-field-control.js +5 -3
  32. package/components/bal-field-hint.js +7 -9
  33. package/components/bal-field-label.js +5 -3
  34. package/components/bal-field-message.js +5 -3
  35. package/components/bal-field.js +9 -7
  36. package/components/bal-file-upload.js +15 -22
  37. package/components/bal-footer.js +9 -7
  38. package/components/bal-form-col.js +7 -5
  39. package/components/bal-form-grid.js +5 -3
  40. package/components/bal-form.js +7 -5
  41. package/components/bal-heading2.js +6 -4
  42. package/components/bal-hint-text2.js +5 -3
  43. package/components/bal-hint-title2.js +5 -3
  44. package/components/bal-hint2.js +10 -8
  45. package/components/bal-icon2.js +6 -4
  46. package/components/bal-input-date2.js +10 -8
  47. package/components/bal-input-group2.js +6 -4
  48. package/components/bal-input-slider.js +11 -9
  49. package/components/bal-input-stepper.js +1027 -1056
  50. package/components/bal-input.js +6 -4
  51. package/components/bal-label2.js +9 -7
  52. package/components/bal-list-item-accordion-body2.js +10 -9
  53. package/components/bal-list-item-accordion-head2.js +10 -8
  54. package/components/bal-list-item-content2.js +5 -3
  55. package/components/bal-list-item-icon2.js +5 -3
  56. package/components/bal-list-item-subtitle2.js +5 -3
  57. package/components/bal-list-item-title2.js +5 -3
  58. package/components/bal-list-item2.js +6 -4
  59. package/components/bal-list2.js +6 -4
  60. package/components/bal-logo2.js +6 -4
  61. package/components/bal-modal-body.js +5 -3
  62. package/components/bal-modal-header.js +6 -4
  63. package/components/bal-modal.js +29 -27
  64. package/components/bal-nav-link-grid-col2.js +5 -3
  65. package/components/bal-nav-link-grid2.js +5 -3
  66. package/components/bal-nav-link-group.js +5 -3
  67. package/components/bal-nav-link2.js +5 -3
  68. package/components/bal-nav-menu-bar2.js +6 -4
  69. package/components/bal-nav-menu-flyout2.js +7 -6
  70. package/components/bal-nav-meta-bar2.js +7 -5
  71. package/components/bal-nav.js +31 -53
  72. package/components/bal-navbar-brand.js +9 -7
  73. package/components/bal-navbar-menu-end.js +5 -3
  74. package/components/bal-navbar-menu-start.js +5 -3
  75. package/components/bal-navbar-menu.js +5 -3
  76. package/components/bal-navbar.js +5 -3
  77. package/components/bal-notices.js +6 -4
  78. package/components/bal-notification.js +5 -3
  79. package/components/bal-number-input.js +8 -6
  80. package/components/bal-option-list.js +9 -7
  81. package/components/bal-option.js +7 -5
  82. package/components/bal-pagination.js +7 -5
  83. package/components/bal-popover-content2.js +7 -5
  84. package/components/bal-popover2.js +7 -5
  85. package/components/bal-popup2.js +8 -6
  86. package/components/bal-progress-bar.js +8 -7
  87. package/components/bal-radio-group.js +7 -5
  88. package/components/bal-radio-icon2.js +5 -3
  89. package/components/bal-radio2.js +6 -4
  90. package/components/bal-segment-item.js +6 -4
  91. package/components/bal-segment.js +11 -11
  92. package/components/bal-select-option2.js +5 -3
  93. package/components/bal-select2.js +13 -11
  94. package/components/bal-shape2.js +9 -7
  95. package/components/bal-sheet.js +5 -3
  96. package/components/bal-snackbar.js +7 -5
  97. package/components/bal-spinner2.js +7 -5
  98. package/components/bal-stack2.js +5 -3
  99. package/components/bal-stage-back-link.js +7 -5
  100. package/components/bal-stage-body.js +6 -4
  101. package/components/bal-stage-foot.js +6 -4
  102. package/components/bal-stage-head.js +6 -4
  103. package/components/bal-stage-image.js +8 -6
  104. package/components/bal-stage.js +5 -3
  105. package/components/bal-step-item.js +7 -5
  106. package/components/bal-steps.js +13 -17
  107. package/components/bal-switch.js +5 -3
  108. package/components/bal-tab-item.js +7 -5
  109. package/components/bal-table.js +6 -4
  110. package/components/bal-tabs2.js +29 -42
  111. package/components/bal-tag-group.js +5 -3
  112. package/components/bal-tag2.js +7 -5
  113. package/components/bal-text.js +5 -3
  114. package/components/bal-textarea.js +6 -4
  115. package/components/bal-time-input.js +8 -6
  116. package/components/bal-toast.js +6 -4
  117. package/components/bal-tooltip.js +7 -5
  118. package/components/breakpoints.subject.js +79 -5
  119. package/components/config.default.js +1 -1
  120. package/components/config.utils.js +1 -1
  121. package/components/focus.decorator.js +1 -1
  122. package/components/form-input.js +1 -1
  123. package/components/helpers.js +2 -2
  124. package/components/index.js +135 -16
  125. package/components/mutation.decorator.js +1 -1
  126. package/components/swiper.util.js +3 -8
  127. package/components/tokens.esm.js +2 -2
  128. package/components/visibility.decorator.js +1 -1
  129. package/components/window-resize.decorator.js +24 -1
  130. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  131. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  132. package/dist/baloise-design-system/index.esm.js +1 -1
  133. package/dist/baloise-design-system/p-01c556671d.system.entry.js +1 -0
  134. package/dist/baloise-design-system/{p-34251be01a.entry.js → p-022a899d9f.entry.js} +1 -1
  135. package/dist/baloise-design-system/p-06ae31c81e.entry.js +1 -0
  136. package/dist/baloise-design-system/p-06d6d65df7.entry.js +1 -0
  137. package/dist/baloise-design-system/p-07cd3d2e40.entry.js +1 -0
  138. package/dist/baloise-design-system/p-08644e325b.entry.js +1 -0
  139. package/dist/baloise-design-system/p-09f86c863d.system.entry.js +1 -0
  140. package/dist/baloise-design-system/p-0b800b55bc.system.entry.js +1 -0
  141. package/dist/baloise-design-system/p-0c10bf8c73.system.entry.js +1 -0
  142. package/dist/baloise-design-system/p-0d487a482f.system.entry.js +1 -0
  143. package/dist/baloise-design-system/p-0ec86b3f93.system.entry.js +1 -0
  144. package/dist/baloise-design-system/p-15c5f87ce0.system.entry.js +1 -0
  145. package/dist/baloise-design-system/p-167806fc44.entry.js +1 -0
  146. package/dist/baloise-design-system/p-17fb47d0d4.entry.js +1 -0
  147. package/dist/baloise-design-system/p-196ff3a00e.entry.js +1 -0
  148. package/dist/baloise-design-system/p-1b1fdadab3.entry.js +1 -0
  149. package/dist/baloise-design-system/p-1b2d849d3f.system.entry.js +1 -0
  150. package/dist/baloise-design-system/{p-aa6b291c05.entry.js → p-1f011724dd.entry.js} +1 -1
  151. package/dist/baloise-design-system/p-2264ba1f28.entry.js +1 -0
  152. package/dist/baloise-design-system/{p-6bb94607cc.entry.js → p-23537928fa.entry.js} +1 -1
  153. package/dist/baloise-design-system/p-2360c337dc.entry.js +1 -0
  154. package/dist/baloise-design-system/p-24d0c0ddcf.entry.js +1 -0
  155. package/dist/baloise-design-system/p-261f0c83c1.entry.js +1 -0
  156. package/dist/baloise-design-system/p-26764b092e.entry.js +1 -0
  157. package/dist/baloise-design-system/p-2c066243bc.entry.js +1 -0
  158. package/dist/baloise-design-system/p-2d57df519d.entry.js +1 -0
  159. package/dist/baloise-design-system/p-2d8dd4be3a.entry.js +1 -0
  160. package/dist/baloise-design-system/{p-5233b94b59.system.entry.js → p-2dbbdfb785.system.entry.js} +1 -1
  161. package/dist/baloise-design-system/p-3717f4438f.system.entry.js +1 -0
  162. package/dist/baloise-design-system/p-3790f8edcd.entry.js +1 -0
  163. package/dist/baloise-design-system/p-393a3d5fb7.entry.js +1 -0
  164. package/dist/baloise-design-system/p-42801b7e0c.system.entry.js +1 -0
  165. package/dist/baloise-design-system/p-43878b51c9.system.entry.js +1 -0
  166. package/dist/baloise-design-system/p-440fb2470e.entry.js +1 -0
  167. package/dist/baloise-design-system/{p-6f8769f0fd.entry.js → p-469503b436.entry.js} +1 -1
  168. package/dist/baloise-design-system/p-4Y53iwfN.system.js +1 -0
  169. package/dist/baloise-design-system/p-4a34919910.system.entry.js +1 -0
  170. package/dist/baloise-design-system/p-4c12fc1e8f.system.entry.js +1 -0
  171. package/dist/baloise-design-system/p-5439c93408.entry.js +1 -0
  172. package/dist/baloise-design-system/p-56535b513e.system.entry.js +1 -0
  173. package/dist/baloise-design-system/p-5c583159db.entry.js +1 -0
  174. package/dist/baloise-design-system/{p-85453d4b0a.system.entry.js → p-5d95c50514.system.entry.js} +1 -1
  175. package/dist/baloise-design-system/p-5e4a2342f3.entry.js +1 -0
  176. package/dist/baloise-design-system/p-5f8ae628c4.system.entry.js +1 -0
  177. package/dist/baloise-design-system/p-63a829988a.system.entry.js +1 -0
  178. package/dist/baloise-design-system/p-63cf9eadee.entry.js +1 -0
  179. package/dist/baloise-design-system/p-6814029ea2.entry.js +1 -0
  180. package/dist/baloise-design-system/p-6d93b1d5cc.entry.js +1 -0
  181. package/dist/baloise-design-system/p-6da83fc08c.system.entry.js +1 -0
  182. package/dist/baloise-design-system/p-6fa6bfd775.entry.js +1 -0
  183. package/dist/baloise-design-system/p-7027eb9c58.entry.js +1 -0
  184. package/dist/baloise-design-system/p-70bdd60500.system.entry.js +1 -0
  185. package/dist/baloise-design-system/p-71ab949cfb.system.entry.js +1 -0
  186. package/dist/baloise-design-system/p-743a8ea6e8.system.entry.js +1 -0
  187. package/dist/baloise-design-system/p-7571dcc8ec.system.entry.js +1 -0
  188. package/dist/baloise-design-system/{p-5437056c7e.system.entry.js → p-76fdd28025.system.entry.js} +1 -1
  189. package/dist/baloise-design-system/p-77045369a5.system.entry.js +1 -0
  190. package/dist/baloise-design-system/p-7e55f97a9b.entry.js +1 -0
  191. package/dist/baloise-design-system/p-7e6c509606.entry.js +1 -0
  192. package/dist/baloise-design-system/p-80cae9282e.system.entry.js +1 -0
  193. package/dist/baloise-design-system/p-84d321b4f8.entry.js +1 -0
  194. package/dist/baloise-design-system/p-84de20be7c.entry.js +1 -0
  195. package/dist/baloise-design-system/p-85428cc869.entry.js +1 -0
  196. package/dist/baloise-design-system/p-8670cb3845.entry.js +1 -0
  197. package/dist/baloise-design-system/p-8cff569252.system.entry.js +1 -0
  198. package/dist/baloise-design-system/{p-85f99546f7.system.entry.js → p-8da6979637.system.entry.js} +1 -1
  199. package/dist/baloise-design-system/p-8ebe2676cf.entry.js +1 -0
  200. package/dist/baloise-design-system/p-90d225c57c.system.entry.js +1 -0
  201. package/dist/baloise-design-system/p-93311a064b.system.entry.js +1 -0
  202. package/dist/baloise-design-system/p-93bba463b3.system.entry.js +1 -0
  203. package/dist/baloise-design-system/{p-60249e3303.system.entry.js → p-967ff349ed.system.entry.js} +1 -1
  204. package/dist/baloise-design-system/p-96bf290c11.system.entry.js +1 -0
  205. package/dist/baloise-design-system/{p-a968e7d20a.entry.js → p-996075a13e.entry.js} +1 -1
  206. package/dist/baloise-design-system/p-B-L34nz8.js +1 -0
  207. package/dist/baloise-design-system/p-B1u-Mq75.js +1 -0
  208. package/dist/baloise-design-system/p-B9BMZmYk.js +1 -0
  209. package/dist/baloise-design-system/p-BCtb7Ny9.system.js +1 -0
  210. package/dist/baloise-design-system/{p-D1VPLQ5z.js → p-BERg8BNc.js} +1 -1
  211. package/dist/baloise-design-system/p-BM_oHMik.system.js +1 -0
  212. package/dist/baloise-design-system/p-BNWt5z9B.system.js +1 -0
  213. package/dist/baloise-design-system/p-B_C7V4Sa.js +1 -0
  214. package/dist/baloise-design-system/p-Ba5qjFjW.js +1 -0
  215. package/dist/baloise-design-system/p-BblIE2Vz.system.js +1 -0
  216. package/dist/baloise-design-system/p-Bc9nHL5Q.system.js +1 -0
  217. package/dist/baloise-design-system/p-BdVwMG9u.js +2 -0
  218. package/dist/baloise-design-system/p-BpMXwP_q.system.js +1 -0
  219. package/dist/baloise-design-system/p-BsL4egMT.js +1 -0
  220. package/dist/baloise-design-system/p-BtgFoKGn.js +1 -0
  221. package/dist/baloise-design-system/p-BwTzTXZG.js +1 -0
  222. package/dist/baloise-design-system/{p-Zfrf1YrK.js → p-C20cwFWy.js} +1 -1
  223. package/dist/baloise-design-system/{p-C8rDagP9.system.js → p-C6x8G3mu.system.js} +1 -1
  224. package/dist/baloise-design-system/p-CBUCh83e.js +1 -0
  225. package/dist/baloise-design-system/{p-DXtc2jog.system.js → p-CCoeJzzY.system.js} +1 -1
  226. package/dist/baloise-design-system/p-CDeyBUqm.system.js +1 -0
  227. package/dist/baloise-design-system/{p-hMjQnp7y.js → p-CFUQlsvN.js} +1 -1
  228. package/dist/baloise-design-system/{p-CzMY8q3l.js → p-CI2FR64u.js} +1 -1
  229. package/dist/baloise-design-system/p-CLDmOIBx.system.js +1 -0
  230. package/dist/baloise-design-system/p-CTuoH3RE.system.js +1 -0
  231. package/dist/baloise-design-system/p-CXAw6SMX.system.js +1 -0
  232. package/dist/baloise-design-system/p-C_0MGoKB.js +1 -0
  233. package/dist/baloise-design-system/{p-lN4h2Pow.js → p-CeIZ5hSt.js} +1 -1
  234. package/dist/baloise-design-system/p-CeRECGC7.js +1 -0
  235. package/dist/baloise-design-system/{p-CzSV5e8r.js → p-CpDHeXfo.js} +1 -1
  236. package/dist/baloise-design-system/{p-4RggM_kM.js → p-Crri2rlL.js} +1 -1
  237. package/dist/baloise-design-system/{p-m9_QZ3Uf.system.js → p-CvHtWfhm.system.js} +1 -1
  238. package/dist/baloise-design-system/p-CwWHLbPB.system.js +1 -0
  239. package/dist/baloise-design-system/p-D1opIX9W.system.js +1 -0
  240. package/dist/baloise-design-system/p-D7M-7v58.js +1 -0
  241. package/dist/baloise-design-system/p-D7_eHNTI.system.js +1 -0
  242. package/dist/baloise-design-system/p-D7ovid3w.js +1 -0
  243. package/dist/baloise-design-system/p-D9FHe08C.system.js +1 -0
  244. package/dist/baloise-design-system/{p-D4gL5qCn.system.js → p-DDPYMMGG.system.js} +1 -1
  245. package/dist/baloise-design-system/{p-CInq3uzG.system.js → p-DI-sUHVD.system.js} +1 -1
  246. package/dist/baloise-design-system/p-DL7tjDqO.system.js +1 -0
  247. package/dist/baloise-design-system/p-DNy7adIE.system.js +1 -0
  248. package/dist/baloise-design-system/{p-CpCwptFO.js → p-DOUIg6bI.js} +1 -1
  249. package/dist/baloise-design-system/p-DST0VloN.system.js +1 -0
  250. package/dist/baloise-design-system/p-DV-2u4Pm.system.js +1 -0
  251. package/dist/baloise-design-system/p-DWgCJRpS.system.js +1 -1
  252. package/dist/baloise-design-system/p-DZ_vvO92.js +1 -0
  253. package/dist/baloise-design-system/{p-C9hJ2TuZ.system.js → p-DdX8FaaK.system.js} +1 -1
  254. package/dist/baloise-design-system/p-Dhp6-MTS.system.js +1 -0
  255. package/dist/baloise-design-system/p-DowF7e07.system.js +1 -0
  256. package/dist/baloise-design-system/{p-B5KM7rHn.js → p-Dp4edqFK.js} +1 -1
  257. package/dist/baloise-design-system/p-DsxGYykr.js +1 -0
  258. package/dist/baloise-design-system/{p-SdtgSPca.system.js → p-DtlqgdI2.system.js} +1 -1
  259. package/dist/baloise-design-system/{p-9kAhgg3Z.js → p-Dvgek0Sb.js} +1 -1
  260. package/dist/baloise-design-system/p-Dz-E2PRm.system.js +1 -1
  261. package/dist/baloise-design-system/p-IZFfLjcz.js +1 -0
  262. package/dist/baloise-design-system/{p-cH5PDB1i.js → p-MBsgW7uz.js} +1 -1
  263. package/dist/baloise-design-system/p-PNu_g_s6.system.js +2 -0
  264. package/dist/baloise-design-system/p-TqRS9XF1.system.js +1 -0
  265. package/dist/baloise-design-system/{p-DXVk9Ina.js → p-ZalPEZLa.js} +1 -1
  266. package/dist/baloise-design-system/p-a17017ddc0.system.entry.js +1 -0
  267. package/dist/baloise-design-system/{p-48180ac5f9.system.entry.js → p-a2abd2bae3.system.entry.js} +1 -1
  268. package/dist/baloise-design-system/{p-27c4c637c1.system.entry.js → p-a494f5de47.system.entry.js} +1 -1
  269. package/dist/baloise-design-system/p-a97c5309f7.entry.js +1 -0
  270. package/dist/baloise-design-system/p-abfdce3ea8.system.entry.js +1 -0
  271. package/dist/baloise-design-system/p-ae2946a498.system.entry.js +1 -0
  272. package/dist/baloise-design-system/p-b03de8e7ba.system.entry.js +1 -0
  273. package/dist/baloise-design-system/p-b0b5fa7a40.entry.js +1 -0
  274. package/dist/baloise-design-system/p-b38b2e9484.system.entry.js +1 -0
  275. package/dist/baloise-design-system/{p-0d618c466b.system.entry.js → p-b4e66c496c.system.entry.js} +1 -1
  276. package/dist/baloise-design-system/p-b603676988.entry.js +1 -0
  277. package/dist/baloise-design-system/{p-b06c400104.entry.js → p-b66021b38c.entry.js} +1 -1
  278. package/dist/baloise-design-system/p-b81b635342.system.entry.js +1 -0
  279. package/dist/baloise-design-system/p-b9be7f4ef6.system.entry.js +1 -0
  280. package/dist/baloise-design-system/p-ba0974ae21.system.entry.js +1 -0
  281. package/dist/baloise-design-system/{p-46048d30b3.system.entry.js → p-bd80a9b297.system.entry.js} +1 -1
  282. package/dist/baloise-design-system/p-bf4f338b08.system.entry.js +1 -0
  283. package/dist/baloise-design-system/p-c291d986ba.entry.js +1 -0
  284. package/dist/baloise-design-system/p-c3af6cc44a.system.entry.js +1 -0
  285. package/dist/baloise-design-system/p-c45c863624.entry.js +1 -0
  286. package/dist/baloise-design-system/p-c78c0dd43a.entry.js +1 -0
  287. package/dist/baloise-design-system/p-c983f0df44.entry.js +1 -0
  288. package/dist/baloise-design-system/p-cbc17a1f06.system.entry.js +1 -0
  289. package/dist/baloise-design-system/p-ccf29475c6.entry.js +1 -0
  290. package/dist/baloise-design-system/p-cf749f385e.entry.js +1 -0
  291. package/dist/baloise-design-system/p-cfae4fef4d.entry.js +1 -0
  292. package/dist/baloise-design-system/{p-09bcea6590.entry.js → p-d04073fca3.entry.js} +1 -1
  293. package/dist/baloise-design-system/{p-f5da815d40.system.entry.js → p-d680dc3dd0.system.entry.js} +1 -1
  294. package/dist/baloise-design-system/p-d846f14080.system.entry.js +1 -0
  295. package/dist/baloise-design-system/p-dbb9b3b5e2.system.entry.js +1 -0
  296. package/dist/baloise-design-system/p-df0264e119.system.entry.js +1 -0
  297. package/dist/baloise-design-system/p-e03203e89d.entry.js +1 -0
  298. package/dist/baloise-design-system/p-e2296eb10b.system.entry.js +1 -0
  299. package/dist/baloise-design-system/p-e4154bb891.system.entry.js +1 -0
  300. package/dist/baloise-design-system/p-ea29fa4382.entry.js +1 -0
  301. package/dist/baloise-design-system/p-eb726f11fd.system.entry.js +1 -0
  302. package/dist/baloise-design-system/p-eb9d8029c6.system.entry.js +1 -0
  303. package/dist/baloise-design-system/p-ef841ce7eb.system.entry.js +1 -0
  304. package/dist/baloise-design-system/p-f12905324e.system.entry.js +1 -0
  305. package/dist/baloise-design-system/p-f2232ea09f.entry.js +1 -0
  306. package/dist/baloise-design-system/p-f348ec6012.entry.js +1 -0
  307. package/dist/baloise-design-system/p-f51b5f779a.entry.js +1 -0
  308. package/dist/baloise-design-system/{p-845bb5b65f.entry.js → p-f7b16f08ab.entry.js} +1 -1
  309. package/dist/baloise-design-system/{p-09dea19d2d.entry.js → p-fdb00a8fdc.entry.js} +1 -1
  310. package/dist/baloise-design-system/p-hcWLO6Gg.js +1 -0
  311. package/dist/baloise-design-system/{p-BUT7svFW.js → p-j851_ZaC.js} +1 -1
  312. package/dist/baloise-design-system/p-jQQqRgMt.system.js +1 -0
  313. package/dist/baloise-design-system/p-wAfnccKA.system.js +1 -0
  314. package/dist/baloise-design-system/{p-D4O83t4p.system.js → p-xlS5vO33.system.js} +1 -1
  315. package/dist/cjs/{animation.decorator-DvBKgd0w.js → animation.decorator-B4NJvcMF.js} +9 -9
  316. package/dist/cjs/app-globals-C_KNnTwa.js +11 -0
  317. package/dist/cjs/bal-accordion_4.cjs.entry.js +24 -19
  318. package/dist/cjs/bal-app.cjs.entry.js +20 -14
  319. package/dist/cjs/bal-badge.cjs.entry.js +2 -2
  320. package/dist/cjs/bal-button_2.cjs.entry.js +5 -2
  321. package/dist/cjs/bal-card_6.cjs.entry.js +1 -1
  322. package/dist/cjs/bal-carousel_2.cjs.entry.js +31 -29
  323. package/dist/cjs/bal-check.cjs.entry.js +1 -1
  324. package/dist/cjs/bal-checkbox_2.cjs.entry.js +16 -12
  325. package/dist/cjs/bal-close.cjs.entry.js +9 -5
  326. package/dist/cjs/bal-content.cjs.entry.js +4 -2
  327. package/dist/cjs/bal-data_4.cjs.entry.js +6 -3
  328. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +5 -2
  329. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +33 -44
  330. package/dist/cjs/bal-date.cjs.entry.js +29 -25
  331. package/dist/cjs/bal-divider.cjs.entry.js +4 -2
  332. package/dist/cjs/{bal-dropdown.cjs.entry.js → bal-dropdown_3.cjs.entry.js} +634 -40
  333. package/dist/cjs/bal-field_5.cjs.entry.js +14 -14
  334. package/dist/cjs/bal-file-upload.cjs.entry.js +16 -21
  335. package/dist/cjs/bal-footer.cjs.entry.js +14 -9
  336. package/dist/cjs/bal-form-col_2.cjs.entry.js +3 -3
  337. package/dist/cjs/bal-form.cjs.entry.js +7 -4
  338. package/dist/cjs/bal-heading_2.cjs.entry.js +4 -3
  339. package/dist/cjs/bal-hint_5.cjs.entry.js +22 -18
  340. package/dist/cjs/bal-icon.cjs.entry.js +7 -3
  341. package/dist/cjs/bal-input-group.cjs.entry.js +2 -2
  342. package/dist/cjs/bal-input-slider.cjs.entry.js +10 -7
  343. package/dist/cjs/bal-input-stepper.cjs.entry.js +1035 -1061
  344. package/dist/cjs/bal-input.cjs.entry.js +9 -5
  345. package/dist/cjs/bal-label.cjs.entry.js +11 -7
  346. package/dist/cjs/bal-list_8.cjs.entry.js +33 -29
  347. package/dist/cjs/bal-logo.cjs.entry.js +13 -9
  348. package/dist/cjs/bal-modal_3.cjs.entry.js +33 -30
  349. package/dist/cjs/bal-nav_8.cjs.entry.js +62 -82
  350. package/dist/cjs/bal-navbar_5.cjs.entry.js +19 -14
  351. package/dist/cjs/bal-notices_3.cjs.entry.js +2 -2
  352. package/dist/cjs/bal-notification.cjs.entry.js +1 -1
  353. package/dist/cjs/bal-number-input.cjs.entry.js +14 -9
  354. package/dist/cjs/bal-pagination.cjs.entry.js +13 -8
  355. package/dist/cjs/bal-popup.cjs.entry.js +17 -13
  356. package/dist/cjs/bal-progress-bar.cjs.entry.js +12 -10
  357. package/dist/cjs/bal-radio-icon.cjs.entry.js +1 -1
  358. package/dist/cjs/bal-radio_2.cjs.entry.js +16 -12
  359. package/dist/cjs/bal-segment_2.cjs.entry.js +24 -21
  360. package/dist/cjs/bal-select_2.cjs.entry.js +20 -16
  361. package/dist/cjs/bal-shape.cjs.entry.js +6 -6
  362. package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
  363. package/dist/cjs/bal-spinner.cjs.entry.js +12 -7
  364. package/dist/cjs/bal-stack.cjs.entry.js +4 -2
  365. package/dist/cjs/bal-stage_6.cjs.entry.js +11 -8
  366. package/dist/cjs/bal-step-item.cjs.entry.js +3 -3
  367. package/dist/cjs/bal-steps.cjs.entry.js +18 -20
  368. package/dist/cjs/bal-switch.cjs.entry.js +1 -1
  369. package/dist/cjs/bal-tab-item_2.cjs.entry.js +55 -65
  370. package/dist/cjs/bal-table.cjs.entry.js +2 -2
  371. package/dist/cjs/bal-tag_2.cjs.entry.js +3 -3
  372. package/dist/cjs/bal-textarea.cjs.entry.js +7 -4
  373. package/dist/cjs/bal-time-input.cjs.entry.js +13 -8
  374. package/dist/cjs/bal-tooltip.cjs.entry.js +11 -7
  375. package/dist/cjs/baloise-design-system.cjs.js +11 -4
  376. package/dist/cjs/{breakpoints.decorator-Bcx5bHdk.js → breakpoints.decorator-DyuVBCe8.js} +1 -1
  377. package/dist/cjs/{breakpoints.subject-DyM7928g.js → breakpoints.subject-dnWvx514.js} +17 -16
  378. package/dist/cjs/browser-BwmkTmm8.js +64 -0
  379. package/dist/cjs/{config.decorator-D_YTqpYj.js → config.decorator-CUe4yCTd.js} +3 -3
  380. package/dist/cjs/config.default-Bkso4_bY.js +50 -0
  381. package/dist/cjs/config.utils-Civnz2jT.js +142 -0
  382. package/dist/cjs/{date-CA-bG6cD.js → date-BPyuc34s.js} +69 -5
  383. package/dist/cjs/{device-CrnZOym8.js → device-CoogBamh.js} +5 -5
  384. package/dist/cjs/{element-states.decorator-0udYH_TL.js → element-states.decorator-BG2oNUsO.js} +13 -12
  385. package/dist/cjs/{floating-ui-T_yqQ0TC.js → floating-ui-DyN44UhF.js} +2 -2
  386. package/dist/cjs/{focus.decorator-Bu4qsoNG.js → focus.decorator-BL2kLsNv.js} +10 -9
  387. package/dist/cjs/{form-input-DBZuEpuy.js → form-input-BwFB4Rej.js} +2 -2
  388. package/dist/cjs/helpers-HuaiWXrB.js +331 -0
  389. package/dist/{esm/index-BgWhYta3.js → cjs/index-feA4skrY.js} +215 -1152
  390. package/dist/cjs/index.cjs.js +60 -56
  391. package/dist/cjs/initialize-CWGvp-PN.js +448 -0
  392. package/dist/cjs/{listener-h1eTpBYL.js → listener-DspXpqzY.js} +2 -2
  393. package/dist/cjs/loader.cjs.js +10 -3
  394. package/dist/cjs/log-CXDMiw7o.js +80 -0
  395. package/dist/cjs/{mutation.decorator-C3JICFwA.js → mutation.decorator-BolUYaKD.js} +5 -5
  396. package/dist/cjs/{number-B6kudt4D.js → number-COdZG-wK.js} +4 -3
  397. package/dist/cjs/{overlays-CkF6MI3c.js → overlays-DQGlu5jj.js} +5 -4
  398. package/dist/cjs/{resize.decorator-Cxv0R8v_.js → resize.decorator-ChuFQ8x3.js} +6 -5
  399. package/dist/cjs/{scroll-DU1EZHWg.js → scroll-B_kvfDui.js} +5 -5
  400. package/dist/cjs/{swiper.util-B4hvYgKv.js → string-CKS6CsMi.js} +28 -32
  401. package/dist/cjs/{swipe.decorator-B69SZ4Jn.js → swipe.decorator-BZYUlkYt.js} +1 -1
  402. package/dist/cjs/{swipe.subject-BbLTKDyB.js → swipe.subject-BaKNugDQ.js} +4 -4
  403. package/dist/cjs/{tokens.esm-yrgVVjY8.js → tokens.esm-CNpvwEnI.js} +1 -1
  404. package/dist/cjs/{visibility.decorator-CC35M6Un.js → visibility.decorator-DTARY-5M.js} +5 -5
  405. package/dist/cjs/window-resize.decorator-Ck1Zfh6H.js +48 -0
  406. package/dist/collection/collection-manifest.json +3 -7
  407. package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +5 -5
  408. package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +7 -7
  409. package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +12 -12
  410. package/dist/collection/components/bal-accordion/bal-accordion.js +13 -14
  411. package/dist/collection/components/bal-app/bal-app.js +26 -7
  412. package/dist/collection/components/bal-badge/bal-badge.js +6 -6
  413. package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +3 -3
  414. package/dist/collection/components/bal-button/bal-button.js +31 -31
  415. package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +1 -1
  416. package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +10 -10
  417. package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +3 -3
  418. package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +1 -1
  419. package/dist/collection/components/bal-card/bal-card.js +9 -9
  420. package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +17 -17
  421. package/dist/collection/components/bal-carousel/bal-carousel.js +20 -20
  422. package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +6 -6
  423. package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +13 -15
  424. package/dist/collection/components/bal-checkbox/bal-checkbox.js +20 -20
  425. package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +5 -5
  426. package/dist/collection/components/bal-close/bal-close.js +4 -4
  427. package/dist/collection/components/bal-content/bal-content.js +5 -5
  428. package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +2 -2
  429. package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +1 -1
  430. package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +6 -6
  431. package/dist/collection/components/bal-data/bal-data.js +2 -2
  432. package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +13 -14
  433. package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +13 -13
  434. package/dist/collection/components/bal-date/bal-date.js +26 -27
  435. package/dist/collection/components/bal-divider/bal-divider.js +4 -4
  436. package/dist/collection/components/bal-dropdown/bal-dropdown.js +21 -22
  437. package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +4 -4
  438. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +4 -4
  439. package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +8 -8
  440. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +6 -6
  441. package/dist/collection/components/bal-field/bal-field.js +11 -11
  442. package/dist/collection/components/bal-file-upload/bal-file-upload.js +25 -27
  443. package/dist/collection/components/bal-footer/bal-footer.js +5 -6
  444. package/dist/collection/components/bal-form/bal-form.js +4 -4
  445. package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +3 -3
  446. package/dist/collection/components/bal-heading/bal-heading.js +14 -14
  447. package/dist/collection/components/bal-hint/bal-hint.css +1 -1
  448. package/dist/collection/components/bal-hint/bal-hint.js +3 -3
  449. package/dist/collection/components/bal-icon/bal-icon.js +16 -16
  450. package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +19 -19
  451. package/dist/collection/components/bal-input/bal-input.js +41 -41
  452. package/dist/collection/components/bal-input-group/bal-input-group.js +4 -4
  453. package/dist/collection/components/bal-input-slider/bal-input-slider.js +19 -19
  454. package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +11 -11
  455. package/dist/collection/components/bal-label/bal-label.js +15 -15
  456. package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +11 -11
  457. package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +7 -7
  458. package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +4 -4
  459. package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
  460. package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +1 -1
  461. package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +3 -3
  462. package/dist/collection/components/bal-list/bal-list.js +7 -7
  463. package/dist/collection/components/bal-logo/bal-logo.js +6 -6
  464. package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
  465. package/dist/collection/components/bal-modal/bal-modal.js +24 -26
  466. package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +8 -8
  467. package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
  468. package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
  469. package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +4 -4
  470. package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +2 -2
  471. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +8 -8
  472. package/dist/collection/components/bal-nav/bal-nav.js +2 -5
  473. package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +14 -14
  474. package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
  475. package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
  476. package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
  477. package/dist/collection/components/bal-navbar/bal-navbar.js +3 -3
  478. package/dist/collection/components/bal-notices/bal-notices.css +1 -1
  479. package/dist/collection/components/bal-notices/bal-notices.js +3 -3
  480. package/dist/collection/components/bal-notification/bal-notification.js +3 -3
  481. package/dist/collection/components/bal-number-input/bal-number-input.js +22 -22
  482. package/dist/collection/components/bal-option/bal-option.js +9 -9
  483. package/dist/collection/components/bal-option-list/bal-option-list.js +11 -11
  484. package/dist/collection/components/bal-pagination/bal-pagination.js +9 -9
  485. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +11 -11
  486. package/dist/collection/components/bal-popover/bal-popover.js +16 -16
  487. package/dist/collection/components/bal-popup/bal-popup.js +15 -15
  488. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +6 -6
  489. package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +15 -16
  490. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +6 -6
  491. package/dist/collection/components/bal-radio/bal-radio.js +19 -19
  492. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +7 -7
  493. package/dist/collection/components/bal-segment/bal-segment.js +9 -9
  494. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +6 -6
  495. package/dist/collection/components/bal-select/bal-select.js +30 -30
  496. package/dist/collection/components/bal-shape/bal-shape.js +7 -7
  497. package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
  498. package/dist/collection/components/bal-snackbar/bal-snackbar.js +9 -11
  499. package/dist/collection/components/bal-spinner/bal-spinner.js +9 -10
  500. package/dist/collection/components/bal-stack/bal-stack.js +13 -13
  501. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +8 -8
  502. package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
  503. package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
  504. package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
  505. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +7 -7
  506. package/dist/collection/components/bal-stage/bal-stage.js +8 -8
  507. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +14 -14
  508. package/dist/collection/components/bal-steps/bal-steps.js +10 -11
  509. package/dist/collection/components/bal-table/bal-table.js +2 -2
  510. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +19 -19
  511. package/dist/collection/components/bal-tabs/bal-tabs.js +22 -23
  512. package/dist/collection/components/bal-tag/bal-tag.js +10 -10
  513. package/dist/collection/components/bal-tag/test/bal-tag.a11y.play.js +20 -0
  514. package/dist/collection/components/bal-tag/test/bal-tag.component.play.js +19 -0
  515. package/dist/collection/components/bal-tag/test/bal-tag.visual.play.js +20 -0
  516. package/dist/collection/components/bal-text/bal-text.js +13 -13
  517. package/dist/collection/components/bal-textarea/bal-textarea.js +27 -27
  518. package/dist/collection/components/bal-time-input/bal-time-input.js +9 -9
  519. package/dist/collection/components/bal-toast/bal-toast.js +4 -5
  520. package/dist/collection/components/bal-tooltip/bal-tooltip.js +10 -10
  521. package/dist/collection/utils/constants/version.constant.js +1 -1
  522. package/dist/collection/utils/focus/focus.listener.js +1 -1
  523. package/dist/collection/utils/helpers.js +1 -1
  524. package/dist/collection/utils/swipe/swipe.listener.js +1 -1
  525. package/dist/esm/{animation.decorator-CNK3bJ6X.js → animation.decorator-zbSqKhw6.js} +2 -2
  526. package/dist/esm/app-globals-BRqdW0lU.js +9 -0
  527. package/dist/esm/bal-accordion_4.entry.js +12 -7
  528. package/dist/esm/bal-app.entry.js +10 -4
  529. package/dist/esm/bal-badge.entry.js +2 -2
  530. package/dist/esm/bal-button_2.entry.js +4 -1
  531. package/dist/esm/bal-card_6.entry.js +1 -1
  532. package/dist/esm/bal-carousel_2.entry.js +27 -25
  533. package/dist/esm/bal-check.entry.js +1 -1
  534. package/dist/esm/bal-checkbox_2.entry.js +11 -7
  535. package/dist/esm/bal-close.entry.js +7 -3
  536. package/dist/esm/bal-content.entry.js +3 -1
  537. package/dist/esm/bal-data_4.entry.js +6 -3
  538. package/dist/esm/bal-date-calendar-cell.entry.js +5 -2
  539. package/dist/esm/bal-date-calendar_2.entry.js +25 -36
  540. package/dist/esm/bal-date.entry.js +12 -8
  541. package/dist/esm/bal-divider.entry.js +3 -1
  542. package/dist/esm/{bal-dropdown.entry.js → bal-dropdown_3.entry.js} +612 -20
  543. package/dist/esm/bal-field_5.entry.js +12 -12
  544. package/dist/esm/bal-file-upload.entry.js +15 -20
  545. package/dist/esm/bal-footer.entry.js +7 -2
  546. package/dist/esm/bal-form-col_2.entry.js +3 -3
  547. package/dist/esm/bal-form.entry.js +5 -2
  548. package/dist/esm/bal-heading_2.entry.js +3 -2
  549. package/dist/esm/bal-hint_5.entry.js +17 -13
  550. package/dist/esm/bal-icon.entry.js +6 -2
  551. package/dist/esm/bal-input-group.entry.js +2 -2
  552. package/dist/esm/bal-input-slider.entry.js +9 -6
  553. package/dist/esm/bal-input-stepper.entry.js +1029 -1055
  554. package/dist/esm/bal-input.entry.js +7 -3
  555. package/dist/esm/bal-label.entry.js +8 -4
  556. package/dist/esm/bal-list_8.entry.js +21 -17
  557. package/dist/esm/bal-logo.entry.js +11 -7
  558. package/dist/esm/bal-modal_3.entry.js +28 -25
  559. package/dist/esm/bal-nav_8.entry.js +40 -60
  560. package/dist/esm/bal-navbar_5.entry.js +14 -9
  561. package/dist/esm/bal-notices_3.entry.js +2 -2
  562. package/dist/esm/bal-notification.entry.js +1 -1
  563. package/dist/esm/bal-number-input.entry.js +10 -5
  564. package/dist/esm/bal-pagination.entry.js +12 -7
  565. package/dist/esm/bal-popup.entry.js +9 -5
  566. package/dist/esm/bal-progress-bar.entry.js +11 -9
  567. package/dist/esm/bal-radio-icon.entry.js +1 -1
  568. package/dist/esm/bal-radio_2.entry.js +10 -6
  569. package/dist/esm/bal-segment_2.entry.js +18 -15
  570. package/dist/esm/bal-select_2.entry.js +13 -9
  571. package/dist/esm/bal-shape.entry.js +6 -6
  572. package/dist/esm/bal-sheet.entry.js +1 -1
  573. package/dist/esm/bal-spinner.entry.js +8 -3
  574. package/dist/esm/bal-stack.entry.js +3 -1
  575. package/dist/esm/bal-stage_6.entry.js +10 -7
  576. package/dist/esm/bal-step-item.entry.js +3 -3
  577. package/dist/esm/bal-steps.entry.js +16 -18
  578. package/dist/esm/bal-switch.entry.js +1 -1
  579. package/dist/esm/bal-tab-item_2.entry.js +37 -47
  580. package/dist/esm/bal-table.entry.js +2 -2
  581. package/dist/esm/bal-tag_2.entry.js +3 -3
  582. package/dist/esm/bal-textarea.entry.js +6 -3
  583. package/dist/esm/bal-time-input.entry.js +9 -4
  584. package/dist/esm/bal-tooltip.entry.js +8 -4
  585. package/dist/esm/baloise-design-system.js +11 -4
  586. package/dist/esm/{breakpoints.decorator-CB70vvLx.js → breakpoints.decorator-B1jmHb1D.js} +1 -1
  587. package/dist/esm/{breakpoints.subject-Dpu4Jjc3.js → breakpoints.subject-CLkQ75F0.js} +5 -4
  588. package/dist/esm/browser-B1u-Mq75.js +62 -0
  589. package/dist/esm/{config.decorator-FwS7csea.js → config.decorator-3bfyZ-0Y.js} +1 -1
  590. package/dist/esm/config.default-I6QXKbhg.js +47 -0
  591. package/dist/esm/config.utils-B7jugjyM.js +102 -0
  592. package/dist/esm/{date-wScrQINJ.js → date-W0XtD641.js} +65 -2
  593. package/dist/esm/{device-CWdcsnSc.js → device-TtMibDFL.js} +1 -1
  594. package/dist/esm/{element-states.decorator-BPErBZif.js → element-states.decorator-B68ANq1p.js} +3 -2
  595. package/dist/esm/{floating-ui-CNYJCYYO.js → floating-ui-Bx04QSXP.js} +1 -1
  596. package/dist/esm/{focus.decorator-BBUVspZX.js → focus.decorator-C1s3OoqI.js} +3 -2
  597. package/dist/esm/{form-input-Dv0N9pEu.js → form-input-DYvzaBlM.js} +1 -1
  598. package/dist/esm/helpers-BNj87EbG.js +307 -0
  599. package/dist/{cjs/index-TwNDE7ev.js → esm/index-BdVwMG9u.js} +204 -1207
  600. package/dist/esm/index.js +18 -14
  601. package/dist/esm/initialize-pdWsVO-c.js +441 -0
  602. package/dist/esm/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-BERg8BNc.js} +1 -1
  603. package/dist/esm/{listener-BCxt7kj7.js → listener-CClDIhvK.js} +1 -1
  604. package/dist/esm/loader.js +10 -3
  605. package/dist/esm/log-CwssmmaV.js +77 -0
  606. package/dist/esm/{mutation.decorator-DVnSOGDK.js → mutation.decorator-DhVeNnnY.js} +2 -2
  607. package/dist/esm/{number-oUZz7C1l.js → number-Bwx2aNR0.js} +2 -1
  608. package/dist/esm/{overlays-B9nzshwp.js → overlays-DuvWMrlA.js} +2 -1
  609. package/dist/esm/{resize.decorator-xO0LVkHO.js → resize.decorator-ZKPOJfw5.js} +3 -2
  610. package/dist/esm/{scroll-Dhp_eUkh.js → scroll-X92R_eyZ.js} +1 -1
  611. package/dist/esm/{swiper.util-vb9wIkyd.js → string-Dk4PnSfl.js} +18 -22
  612. package/dist/esm/{swipe.decorator-Bk0DXvq0.js → swipe.decorator-B_Ghrp1o.js} +1 -1
  613. package/dist/esm/{swipe.subject-CCKruupP.js → swipe.subject-T0VStuOK.js} +3 -3
  614. package/dist/esm/{tokens.esm-4RggM_kM.js → tokens.esm-Crri2rlL.js} +2 -2
  615. package/dist/esm/{visibility.decorator-C5quU420.js → visibility.decorator-zTjPC2du.js} +2 -2
  616. package/dist/esm/{window-resize.decorator-tooGxqQM.js → window-resize.decorator-Dm6C96Ro.js} +24 -1
  617. package/dist/esm-es5/animation.decorator-zbSqKhw6.js +1 -0
  618. package/dist/esm-es5/app-globals-BRqdW0lU.js +1 -0
  619. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  620. package/dist/esm-es5/bal-app.entry.js +1 -1
  621. package/dist/esm-es5/bal-badge.entry.js +1 -1
  622. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  623. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  624. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  625. package/dist/esm-es5/bal-check.entry.js +1 -1
  626. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  627. package/dist/esm-es5/bal-close.entry.js +1 -1
  628. package/dist/esm-es5/bal-content.entry.js +1 -1
  629. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  630. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  631. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  632. package/dist/esm-es5/bal-date.entry.js +1 -1
  633. package/dist/esm-es5/bal-divider.entry.js +1 -1
  634. package/dist/esm-es5/bal-dropdown_3.entry.js +1 -0
  635. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  636. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  637. package/dist/esm-es5/bal-footer.entry.js +1 -1
  638. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  639. package/dist/esm-es5/bal-form.entry.js +1 -1
  640. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  641. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  642. package/dist/esm-es5/bal-icon.entry.js +1 -1
  643. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  644. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  645. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  646. package/dist/esm-es5/bal-input.entry.js +1 -1
  647. package/dist/esm-es5/bal-label.entry.js +1 -1
  648. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  649. package/dist/esm-es5/bal-logo.entry.js +1 -1
  650. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  651. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  652. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  653. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  654. package/dist/esm-es5/bal-notification.entry.js +1 -1
  655. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  656. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  657. package/dist/esm-es5/bal-popup.entry.js +1 -1
  658. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  659. package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
  660. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  661. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  662. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  663. package/dist/esm-es5/bal-shape.entry.js +1 -1
  664. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  665. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  666. package/dist/esm-es5/bal-stack.entry.js +1 -1
  667. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  668. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  669. package/dist/esm-es5/bal-steps.entry.js +1 -1
  670. package/dist/esm-es5/bal-switch.entry.js +1 -1
  671. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  672. package/dist/esm-es5/bal-table.entry.js +1 -1
  673. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  674. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  675. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  676. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  677. package/dist/esm-es5/baloise-design-system.js +1 -1
  678. package/dist/esm-es5/{breakpoints.decorator-CB70vvLx.js → breakpoints.decorator-B1jmHb1D.js} +1 -1
  679. package/dist/esm-es5/breakpoints.subject-CLkQ75F0.js +1 -0
  680. package/dist/esm-es5/browser-B1u-Mq75.js +1 -0
  681. package/dist/esm-es5/config.decorator-3bfyZ-0Y.js +1 -0
  682. package/dist/esm-es5/config.default-I6QXKbhg.js +1 -0
  683. package/dist/esm-es5/config.utils-B7jugjyM.js +1 -0
  684. package/dist/esm-es5/{date-wScrQINJ.js → date-W0XtD641.js} +1 -1
  685. package/dist/esm-es5/device-TtMibDFL.js +1 -0
  686. package/dist/esm-es5/element-states.decorator-B68ANq1p.js +1 -0
  687. package/dist/esm-es5/floating-ui-Bx04QSXP.js +1 -0
  688. package/dist/esm-es5/focus.decorator-C1s3OoqI.js +1 -0
  689. package/dist/esm-es5/form-input-DYvzaBlM.js +1 -0
  690. package/dist/esm-es5/helpers-BNj87EbG.js +1 -0
  691. package/dist/esm-es5/index-BdVwMG9u.js +2 -0
  692. package/dist/esm-es5/index.js +1 -1
  693. package/dist/esm-es5/initialize-pdWsVO-c.js +1 -0
  694. package/dist/esm-es5/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-BERg8BNc.js} +1 -1
  695. package/dist/esm-es5/listener-CClDIhvK.js +1 -0
  696. package/dist/esm-es5/loader.js +1 -1
  697. package/dist/esm-es5/log-CwssmmaV.js +1 -0
  698. package/dist/esm-es5/mutation.decorator-DhVeNnnY.js +1 -0
  699. package/dist/esm-es5/number-Bwx2aNR0.js +1 -0
  700. package/dist/esm-es5/overlays-DuvWMrlA.js +1 -0
  701. package/dist/esm-es5/resize.decorator-ZKPOJfw5.js +1 -0
  702. package/dist/esm-es5/scroll-X92R_eyZ.js +1 -0
  703. package/dist/esm-es5/string-Dk4PnSfl.js +1 -0
  704. package/dist/esm-es5/{swipe.decorator-Bk0DXvq0.js → swipe.decorator-B_Ghrp1o.js} +1 -1
  705. package/dist/esm-es5/swipe.subject-T0VStuOK.js +1 -0
  706. package/dist/esm-es5/{tokens.esm-4RggM_kM.js → tokens.esm-Crri2rlL.js} +1 -1
  707. package/dist/esm-es5/visibility.decorator-zTjPC2du.js +1 -0
  708. package/dist/esm-es5/window-resize.decorator-Dm6C96Ro.js +1 -0
  709. package/dist/html.html-data.json +1 -62
  710. package/dist/types/components/bal-accordion/bal-accordion-details/bal-accordion-details.d.ts +3 -2
  711. package/dist/types/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.d.ts +3 -2
  712. package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +4 -3
  713. package/dist/types/components/bal-accordion/bal-accordion.d.ts +4 -3
  714. package/dist/types/components/bal-app/bal-app.d.ts +7 -1
  715. package/dist/types/components/bal-badge/bal-badge.d.ts +2 -1
  716. package/dist/types/components/bal-button/bal-button.d.ts +2 -1
  717. package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +2 -1
  718. package/dist/types/components/bal-carousel/bal-carousel.d.ts +4 -3
  719. package/dist/types/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.d.ts +2 -1
  720. package/dist/types/components/bal-close/bal-close.d.ts +2 -1
  721. package/dist/types/components/bal-data/bal-data-value/bal-data-value.d.ts +2 -1
  722. package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.d.ts +2 -1
  723. package/dist/types/components/bal-date/bal-date.d.ts +2 -1
  724. package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +2 -1
  725. package/dist/types/components/bal-field/bal-field.d.ts +3 -3
  726. package/dist/types/components/bal-file-upload/bal-file-upload.d.ts +3 -2
  727. package/dist/types/components/bal-form/bal-form.d.ts +2 -1
  728. package/dist/types/components/bal-form-grid/bal-form-col/bal-form-col.d.ts +2 -1
  729. package/dist/types/components/bal-heading/bal-heading.d.ts +2 -1
  730. package/dist/types/components/bal-input/bal-input-date/bal-input-date.d.ts +2 -1
  731. package/dist/types/components/bal-input/bal-input.d.ts +2 -1
  732. package/dist/types/components/bal-input-group/bal-input-group.d.ts +2 -1
  733. package/dist/types/components/bal-input-slider/bal-input-slider.d.ts +2 -1
  734. package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +2 -1
  735. package/dist/types/components/bal-label/bal-label.d.ts +4 -3
  736. package/dist/types/components/bal-list/bal-list-item/bal-list-item.d.ts +2 -1
  737. package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +2 -1
  738. package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +2 -1
  739. package/dist/types/components/bal-list/bal-list.d.ts +2 -1
  740. package/dist/types/components/bal-logo/bal-logo.d.ts +3 -2
  741. package/dist/types/components/bal-modal/bal-modal-header/bal-modal-header.d.ts +2 -1
  742. package/dist/types/components/bal-modal/bal-modal.d.ts +2 -1
  743. package/dist/types/components/bal-modal/bal-modal.type.d.ts +2 -1
  744. package/dist/types/components/bal-nav/bal-nav-focus.util.d.ts +3 -2
  745. package/dist/types/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.d.ts +2 -1
  746. package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +2 -1
  747. package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.d.ts +2 -1
  748. package/dist/types/components/bal-nav/bal-nav.d.ts +2 -1
  749. package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.d.ts +2 -1
  750. package/dist/types/components/bal-number-input/bal-number-input.d.ts +2 -1
  751. package/dist/types/components/bal-option/bal-option.d.ts +2 -1
  752. package/dist/types/components/bal-option-list/bal-option-list.d.ts +4 -3
  753. package/dist/types/components/bal-popover/bal-popover-content/bal-popover-content.d.ts +2 -1
  754. package/dist/types/components/bal-popover/bal-popover.d.ts +4 -3
  755. package/dist/types/components/bal-popup/bal-popup.d.ts +2 -1
  756. package/dist/types/components/bal-popup/variants/variant.interfaces.d.ts +2 -1
  757. package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +2 -1
  758. package/dist/types/components/bal-radio/bal-radio-group/bal-radio-group.d.ts +2 -1
  759. package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +2 -1
  760. package/dist/types/components/bal-segment/bal-segment.d.ts +2 -1
  761. package/dist/types/components/bal-select/bal-select.d.ts +2 -1
  762. package/dist/types/components/bal-select/utils/watch-options.d.ts +2 -1
  763. package/dist/types/components/bal-shape/bal-shape.d.ts +2 -1
  764. package/dist/types/components/bal-spinner/bal-spinner.d.ts +3 -2
  765. package/dist/types/components/bal-stage/bal-stage-back-link/bal-stage-back-link.d.ts +2 -1
  766. package/dist/types/components/bal-stage/bal-stage-body/bal-stage-body.d.ts +2 -1
  767. package/dist/types/components/bal-stage/bal-stage-foot/bal-stage-foot.d.ts +2 -1
  768. package/dist/types/components/bal-stage/bal-stage-head/bal-stage-head.d.ts +2 -1
  769. package/dist/types/components/bal-stage/bal-stage-image/bal-stage-image.d.ts +2 -1
  770. package/dist/types/components/bal-steps/bal-step-item/bal-step-item.d.ts +2 -1
  771. package/dist/types/components/bal-steps/bal-steps.d.ts +5 -4
  772. package/dist/types/components/bal-table/bal-table.d.ts +2 -1
  773. package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +2 -1
  774. package/dist/types/components/bal-tabs/bal-tabs.d.ts +2 -1
  775. package/dist/types/components/bal-tag/bal-tag.d.ts +2 -1
  776. package/dist/types/components/bal-tag/test/bal-tag.a11y.play.d.ts +1 -0
  777. package/dist/types/components/bal-tag/test/bal-tag.component.play.d.ts +1 -0
  778. package/dist/types/components/bal-tag/test/bal-tag.visual.play.d.ts +1 -0
  779. package/dist/types/components/bal-textarea/bal-textarea.d.ts +2 -1
  780. package/dist/types/components/bal-time-input/bal-time-input.d.ts +2 -1
  781. package/dist/types/components/bal-tooltip/bal-tooltip.d.ts +2 -1
  782. package/dist/types/components.d.ts +20 -1
  783. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/index.d.ts +8 -0
  784. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/bal-tag.po.d.ts +8 -0
  785. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +1 -0
  786. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/page-object.d.ts +7 -0
  787. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/extend.d.ts +9 -0
  788. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/functions/a11y.d.ts +2 -0
  789. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/index.d.ts +12 -0
  790. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-first-received-event-detail.d.ts +5 -0
  791. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-nth-received-event-detail.d.ts +5 -0
  792. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event-detail.d.ts +5 -0
  793. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event-times.d.ts +5 -0
  794. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event.d.ts +5 -0
  795. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/event-spy.d.ts +44 -0
  796. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +8 -0
  797. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/index.d.ts +5 -0
  798. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/locator.d.ts +21 -0
  799. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/mount.d.ts +3 -0
  800. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/spy-on-event.d.ts +3 -0
  801. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/wait-for-changes.d.ts +2 -0
  802. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/screenshot.d.ts +1 -0
  803. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/test-expect.d.ts +22 -0
  804. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/types.d.ts +38 -0
  805. package/dist/types/stencil-public-runtime.d.ts +62 -8
  806. package/dist/types/utils/animation/animation.interfaces.d.ts +3 -2
  807. package/dist/types/utils/animation/animation.listener.d.ts +2 -1
  808. package/dist/types/utils/attributes.d.ts +3 -2
  809. package/dist/types/utils/bem.d.ts +2 -2
  810. package/dist/types/utils/dropdown/component.d.ts +2 -1
  811. package/dist/types/utils/dropdown/popup.d.ts +2 -1
  812. package/dist/types/utils/element-states/element-states.interfaces.d.ts +2 -1
  813. package/dist/types/utils/element-states/element-states.listener.d.ts +2 -1
  814. package/dist/types/utils/focus/focus.interfaces.d.ts +2 -1
  815. package/dist/types/utils/focus/focus.listener.d.ts +2 -1
  816. package/dist/types/utils/form-input.d.ts +2 -1
  817. package/dist/types/utils/form.d.ts +2 -1
  818. package/dist/types/utils/helpers.d.ts +6 -5
  819. package/dist/types/utils/mask/component/mask-component-interfaces.d.ts +2 -1
  820. package/dist/types/utils/mutation/mutation.interfaces.d.ts +2 -1
  821. package/dist/types/utils/mutation/mutation.listener.d.ts +2 -1
  822. package/dist/types/utils/overlays/overlays.d.ts +2 -2
  823. package/dist/types/utils/resize/resize.interfaces.d.ts +2 -1
  824. package/dist/types/utils/resize/resize.listener.d.ts +2 -1
  825. package/dist/types/utils/resize/window-resize.interfaces.d.ts +2 -1
  826. package/dist/types/utils/style.d.ts +2 -1
  827. package/dist/types/utils/swipe/swipe.interfaces.d.ts +2 -1
  828. package/dist/types/utils/swipe/swipe.listener.d.ts +2 -1
  829. package/dist/types/utils/swiper/swiper.type.d.ts +3 -2
  830. package/dist/types/utils/types/listener.d.ts +3 -2
  831. package/dist/types/utils/visibility/visibility.interfaces.d.ts +2 -1
  832. package/dist/types/utils/visibility/visibility.listener.d.ts +2 -1
  833. package/package.json +10 -7
  834. package/components/bal-toast.controller.js +0 -127
  835. package/components/window-resize.listener.js +0 -80
  836. package/components/window-resize.subject.js +0 -26
  837. package/dist/baloise-design-system/p-0907fd261f.entry.js +0 -1
  838. package/dist/baloise-design-system/p-09348ab262.system.entry.js +0 -1
  839. package/dist/baloise-design-system/p-0986fe6bd0.system.entry.js +0 -1
  840. package/dist/baloise-design-system/p-0fad8a1e31.entry.js +0 -1
  841. package/dist/baloise-design-system/p-0fe98f59a4.system.entry.js +0 -1
  842. package/dist/baloise-design-system/p-10d754691a.entry.js +0 -1
  843. package/dist/baloise-design-system/p-113691a62f.entry.js +0 -1
  844. package/dist/baloise-design-system/p-1516c91d4e.entry.js +0 -1
  845. package/dist/baloise-design-system/p-1638d00f2d.system.entry.js +0 -1
  846. package/dist/baloise-design-system/p-1744fb223c.entry.js +0 -1
  847. package/dist/baloise-design-system/p-1a1b714236.entry.js +0 -1
  848. package/dist/baloise-design-system/p-1a48f63b91.entry.js +0 -1
  849. package/dist/baloise-design-system/p-1d177e7449.entry.js +0 -1
  850. package/dist/baloise-design-system/p-1d3f76cacc.system.entry.js +0 -1
  851. package/dist/baloise-design-system/p-1edf81b274.entry.js +0 -1
  852. package/dist/baloise-design-system/p-261a40555d.system.entry.js +0 -1
  853. package/dist/baloise-design-system/p-26f33fb309.system.entry.js +0 -1
  854. package/dist/baloise-design-system/p-28f315ce54.system.entry.js +0 -1
  855. package/dist/baloise-design-system/p-29be3c5644.system.entry.js +0 -1
  856. package/dist/baloise-design-system/p-2ad2cd8a77.system.entry.js +0 -1
  857. package/dist/baloise-design-system/p-2bb50edb03.entry.js +0 -1
  858. package/dist/baloise-design-system/p-2d88aa248e.system.entry.js +0 -1
  859. package/dist/baloise-design-system/p-32ed11b23d.entry.js +0 -1
  860. package/dist/baloise-design-system/p-33e4fc1641.entry.js +0 -1
  861. package/dist/baloise-design-system/p-37022683b7.entry.js +0 -1
  862. package/dist/baloise-design-system/p-380c5803d9.entry.js +0 -1
  863. package/dist/baloise-design-system/p-3eb7056b78.entry.js +0 -1
  864. package/dist/baloise-design-system/p-4173b195f5.entry.js +0 -1
  865. package/dist/baloise-design-system/p-429b6209eb.entry.js +0 -1
  866. package/dist/baloise-design-system/p-446235d66d.entry.js +0 -1
  867. package/dist/baloise-design-system/p-4592890c87.system.entry.js +0 -1
  868. package/dist/baloise-design-system/p-46aaffaa70.entry.js +0 -1
  869. package/dist/baloise-design-system/p-4861d5c268.system.entry.js +0 -1
  870. package/dist/baloise-design-system/p-4ab1baaeb2.system.entry.js +0 -1
  871. package/dist/baloise-design-system/p-4cbacb2728.entry.js +0 -1
  872. package/dist/baloise-design-system/p-54252e93ae.system.entry.js +0 -1
  873. package/dist/baloise-design-system/p-57303f4cf0.entry.js +0 -1
  874. package/dist/baloise-design-system/p-577c4fbffa.entry.js +0 -1
  875. package/dist/baloise-design-system/p-61d6ce6346.entry.js +0 -1
  876. package/dist/baloise-design-system/p-63d9b0dc71.system.entry.js +0 -1
  877. package/dist/baloise-design-system/p-6845434665.system.entry.js +0 -1
  878. package/dist/baloise-design-system/p-6JPfxkH9.system.js +0 -2
  879. package/dist/baloise-design-system/p-6a2d541345.entry.js +0 -1
  880. package/dist/baloise-design-system/p-6af4878ee1.system.entry.js +0 -1
  881. package/dist/baloise-design-system/p-6b7cef6b56.system.entry.js +0 -1
  882. package/dist/baloise-design-system/p-6c89fe7777.system.entry.js +0 -1
  883. package/dist/baloise-design-system/p-6d016ad721.entry.js +0 -1
  884. package/dist/baloise-design-system/p-7255ac5e19.system.entry.js +0 -1
  885. package/dist/baloise-design-system/p-7567bed290.system.entry.js +0 -1
  886. package/dist/baloise-design-system/p-77ed6cef4e.entry.js +0 -1
  887. package/dist/baloise-design-system/p-78d48f3d1a.entry.js +0 -1
  888. package/dist/baloise-design-system/p-7f39c04ab4.entry.js +0 -1
  889. package/dist/baloise-design-system/p-85ef72f929.entry.js +0 -1
  890. package/dist/baloise-design-system/p-87e06064a3.entry.js +0 -1
  891. package/dist/baloise-design-system/p-8d7d5197d6.entry.js +0 -1
  892. package/dist/baloise-design-system/p-97dca06bad.system.entry.js +0 -1
  893. package/dist/baloise-design-system/p-98d8c0b274.system.entry.js +0 -1
  894. package/dist/baloise-design-system/p-98fedb26af.system.entry.js +0 -1
  895. package/dist/baloise-design-system/p-9a7614a6da.system.entry.js +0 -1
  896. package/dist/baloise-design-system/p-9ccc9420aa.system.entry.js +0 -1
  897. package/dist/baloise-design-system/p-9ed893d2f1.entry.js +0 -1
  898. package/dist/baloise-design-system/p-9f46f38337.system.entry.js +0 -1
  899. package/dist/baloise-design-system/p-9faad04082.entry.js +0 -1
  900. package/dist/baloise-design-system/p-B97IGjGv.js +0 -1
  901. package/dist/baloise-design-system/p-BDsO8HVR.system.js +0 -1
  902. package/dist/baloise-design-system/p-BdMT8-qh.system.js +0 -1
  903. package/dist/baloise-design-system/p-BgWhYta3.js +0 -2
  904. package/dist/baloise-design-system/p-BiQW-kmH.js +0 -1
  905. package/dist/baloise-design-system/p-Brj9SizC.js +0 -1
  906. package/dist/baloise-design-system/p-BsGRcohK.js +0 -1
  907. package/dist/baloise-design-system/p-BuwrUtcI.js +0 -1
  908. package/dist/baloise-design-system/p-C89aCsha.system.js +0 -1
  909. package/dist/baloise-design-system/p-C9gtg7pC.js +0 -1
  910. package/dist/baloise-design-system/p-CLs4UZCO.js +0 -1
  911. package/dist/baloise-design-system/p-CPvYKxnJ.system.js +0 -1
  912. package/dist/baloise-design-system/p-CdRteRAi.system.js +0 -1
  913. package/dist/baloise-design-system/p-Clusr4_J.system.js +0 -1
  914. package/dist/baloise-design-system/p-Csghe1wj.system.js +0 -1
  915. package/dist/baloise-design-system/p-CvJZJ5PO.system.js +0 -1
  916. package/dist/baloise-design-system/p-DA9xpxCC.system.js +0 -1
  917. package/dist/baloise-design-system/p-DMPBkH8m.js +0 -1
  918. package/dist/baloise-design-system/p-DVQeGKBt.system.js +0 -1
  919. package/dist/baloise-design-system/p-DYGnSrkp.system.js +0 -1
  920. package/dist/baloise-design-system/p-DblLSfCr.js +0 -1
  921. package/dist/baloise-design-system/p-DcxdJ7xo.system.js +0 -1
  922. package/dist/baloise-design-system/p-DkkPrFJ4.js +0 -1
  923. package/dist/baloise-design-system/p-DrYtyUx4.js +0 -1
  924. package/dist/baloise-design-system/p-Dv-qApwY.system.js +0 -1
  925. package/dist/baloise-design-system/p-PJBCHUTX.system.js +0 -1
  926. package/dist/baloise-design-system/p-YxrA2V8G.system.js +0 -1
  927. package/dist/baloise-design-system/p-Z2WXCS2z.system.js +0 -1
  928. package/dist/baloise-design-system/p-ZO510gkN.system.js +0 -1
  929. package/dist/baloise-design-system/p-a24b0f04ac.entry.js +0 -1
  930. package/dist/baloise-design-system/p-a49cbc975f.entry.js +0 -1
  931. package/dist/baloise-design-system/p-ab4f18d946.system.entry.js +0 -1
  932. package/dist/baloise-design-system/p-adf9dc4b6c.system.entry.js +0 -1
  933. package/dist/baloise-design-system/p-af0438175b.system.entry.js +0 -1
  934. package/dist/baloise-design-system/p-af25440706.system.entry.js +0 -1
  935. package/dist/baloise-design-system/p-b2d3c28f7e.entry.js +0 -1
  936. package/dist/baloise-design-system/p-b465562e59.entry.js +0 -1
  937. package/dist/baloise-design-system/p-b6348cd01c.system.entry.js +0 -1
  938. package/dist/baloise-design-system/p-b8e45544f8.system.entry.js +0 -1
  939. package/dist/baloise-design-system/p-bb3c1187e2.entry.js +0 -1
  940. package/dist/baloise-design-system/p-bdeea100d1.system.entry.js +0 -1
  941. package/dist/baloise-design-system/p-c0ec248967.entry.js +0 -1
  942. package/dist/baloise-design-system/p-c46abb4720.system.entry.js +0 -1
  943. package/dist/baloise-design-system/p-c7b4bbf341.system.entry.js +0 -1
  944. package/dist/baloise-design-system/p-c88b2139c4.system.entry.js +0 -1
  945. package/dist/baloise-design-system/p-ce3e28b217.entry.js +0 -1
  946. package/dist/baloise-design-system/p-cec255ddb5.system.entry.js +0 -1
  947. package/dist/baloise-design-system/p-cfbff4d0c5.system.entry.js +0 -1
  948. package/dist/baloise-design-system/p-d292509747.system.entry.js +0 -1
  949. package/dist/baloise-design-system/p-d40c3b818d.system.entry.js +0 -1
  950. package/dist/baloise-design-system/p-d56db02feb.system.entry.js +0 -1
  951. package/dist/baloise-design-system/p-d9f1657d3a.entry.js +0 -1
  952. package/dist/baloise-design-system/p-dcd16c9edf.system.entry.js +0 -1
  953. package/dist/baloise-design-system/p-e2ff5ec460.entry.js +0 -1
  954. package/dist/baloise-design-system/p-e5e10f7330.entry.js +0 -1
  955. package/dist/baloise-design-system/p-eb318eae31.system.entry.js +0 -1
  956. package/dist/baloise-design-system/p-ef2aa99689.entry.js +0 -1
  957. package/dist/baloise-design-system/p-f09b1d15cb.entry.js +0 -1
  958. package/dist/baloise-design-system/p-f701f3341f.entry.js +0 -1
  959. package/dist/baloise-design-system/p-f931d7af5f.system.entry.js +0 -1
  960. package/dist/baloise-design-system/p-fa6414dc04.entry.js +0 -1
  961. package/dist/baloise-design-system/p-fb932a0e2d.system.entry.js +0 -1
  962. package/dist/baloise-design-system/p-fbedfc8307.system.entry.js +0 -1
  963. package/dist/baloise-design-system/p-fc05075fc7.entry.js +0 -1
  964. package/dist/baloise-design-system/p-fe41123fad.entry.js +0 -1
  965. package/dist/baloise-design-system/p-ffdfc86824.system.entry.js +0 -1
  966. package/dist/baloise-design-system/p-irA_rSP3.system.js +0 -1
  967. package/dist/baloise-design-system/p-otQuEMP7.js +0 -1
  968. package/dist/baloise-design-system/p-t17chohV.system.js +0 -1
  969. package/dist/cjs/bal-date.i18n-DJlY99as.js +0 -66
  970. package/dist/cjs/bal-option_2.cjs.entry.js +0 -606
  971. package/dist/cjs/window-resize.decorator-DZPJwKe1.js +0 -25
  972. package/dist/cjs/window-resize.subject-AALAxaW0.js +0 -28
  973. package/dist/esm/bal-date.i18n-CLs4UZCO.js +0 -64
  974. package/dist/esm/bal-option_2.entry.js +0 -603
  975. package/dist/esm/window-resize.subject-BfRcRWok.js +0 -26
  976. package/dist/esm-es5/animation.decorator-CNK3bJ6X.js +0 -1
  977. package/dist/esm-es5/bal-date.i18n-CLs4UZCO.js +0 -1
  978. package/dist/esm-es5/bal-dropdown.entry.js +0 -1
  979. package/dist/esm-es5/bal-option_2.entry.js +0 -1
  980. package/dist/esm-es5/breakpoints.subject-Dpu4Jjc3.js +0 -1
  981. package/dist/esm-es5/config.decorator-FwS7csea.js +0 -1
  982. package/dist/esm-es5/device-CWdcsnSc.js +0 -1
  983. package/dist/esm-es5/element-states.decorator-BPErBZif.js +0 -1
  984. package/dist/esm-es5/floating-ui-CNYJCYYO.js +0 -1
  985. package/dist/esm-es5/focus.decorator-BBUVspZX.js +0 -1
  986. package/dist/esm-es5/form-input-Dv0N9pEu.js +0 -1
  987. package/dist/esm-es5/index-BgWhYta3.js +0 -2
  988. package/dist/esm-es5/listener-BCxt7kj7.js +0 -1
  989. package/dist/esm-es5/mutation.decorator-DVnSOGDK.js +0 -1
  990. package/dist/esm-es5/number-oUZz7C1l.js +0 -1
  991. package/dist/esm-es5/overlays-B9nzshwp.js +0 -1
  992. package/dist/esm-es5/resize.decorator-xO0LVkHO.js +0 -1
  993. package/dist/esm-es5/scroll-Dhp_eUkh.js +0 -1
  994. package/dist/esm-es5/swipe.subject-CCKruupP.js +0 -1
  995. package/dist/esm-es5/swiper.util-vb9wIkyd.js +0 -1
  996. package/dist/esm-es5/visibility.decorator-C5quU420.js +0 -1
  997. package/dist/esm-es5/window-resize.decorator-tooGxqQM.js +0 -1
  998. package/dist/esm-es5/window-resize.subject-BfRcRWok.js +0 -1
@@ -1,11 +1,8 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
- import { g as getDefaultExportFromCjs } from './_commonjsHelpers.js';
4
3
  import { a as ariaBooleanToString } from './aria.js';
5
4
  import { i as inheritAttributes } from './attributes.js';
6
5
  import { B as BEM } from './bem.js';
7
- import { d as defaultConfig } from './config.default.js';
8
- import { L as ListenToConfig } from './config.decorator.js';
9
6
  import { d as defaultBalAriaForm } from './form.js';
10
7
  import { s as stopEventBubbling, j as inputListenOnClick } from './form-input.js';
11
8
  import { m as rIC, k as debounceEvent } from './helpers.js';
@@ -15,1068 +12,1042 @@ import { i as i18nBalInputStepper } from './bal-input-stepper.i18n.js';
15
12
  import { d as defineCustomElement$4 } from './bal-button2.js';
16
13
  import { d as defineCustomElement$3 } from './bal-icon2.js';
17
14
  import { d as defineCustomElement$2 } from './bal-spinner2.js';
18
-
19
- var big$1 = {exports: {}};
15
+ import { d as defaultConfig } from './config.default.js';
16
+ import { L as ListenToConfig } from './config.decorator.js';
20
17
 
21
18
  /*
22
19
  * big.js v6.2.1
23
20
  * A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.
24
21
  * Copyright (c) 2022 Michael Mclaughlin
25
22
  * https://github.com/MikeMcl/big.js/LICENCE.md
26
- */
27
- var big = big$1.exports;
28
-
29
- var hasRequiredBig;
30
-
31
- function requireBig () {
32
- if (hasRequiredBig) return big$1.exports;
33
- hasRequiredBig = 1;
34
- (function (module) {
35
- (function (GLOBAL) {
36
- var Big,
37
-
38
-
39
- /************************************** EDITABLE DEFAULTS *****************************************/
40
-
41
-
42
- // The default values below must be integers within the stated ranges.
43
-
44
- /*
45
- * The maximum number of decimal places (DP) of the results of operations involving division:
46
- * div and sqrt, and pow with negative exponents.
47
- */
48
- DP = 20, // 0 to MAX_DP
49
-
50
- /*
51
- * The rounding mode (RM) used when rounding to the above decimal places.
52
- *
53
- * 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
54
- * 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
55
- * 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
56
- * 3 Away from zero. (ROUND_UP)
57
- */
58
- RM = 1, // 0, 1, 2 or 3
59
-
60
- // The maximum value of DP and Big.DP.
61
- MAX_DP = 1E6, // 0 to 1000000
62
-
63
- // The maximum magnitude of the exponent argument to the pow method.
64
- MAX_POWER = 1E6, // 1 to 1000000
65
-
66
- /*
67
- * The negative exponent (NE) at and beneath which toString returns exponential notation.
68
- * (JavaScript numbers: -7)
69
- * -1000000 is the minimum recommended exponent value of a Big.
70
- */
71
- NE = -7, // 0 to -1000000
72
-
73
- /*
74
- * The positive exponent (PE) at and above which toString returns exponential notation.
75
- * (JavaScript numbers: 21)
76
- * 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
77
- */
78
- PE = 21, // 0 to 1000000
79
-
80
- /*
81
- * When true, an error will be thrown if a primitive number is passed to the Big constructor,
82
- * or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
83
- * primitive number without a loss of precision.
84
- */
85
- STRICT = false, // true or false
86
-
87
-
88
- /**************************************************************************************************/
89
-
90
-
91
- // Error messages.
92
- NAME = '[big.js] ',
93
- INVALID = NAME + 'Invalid ',
94
- INVALID_DP = INVALID + 'decimal places',
95
- INVALID_RM = INVALID + 'rounding mode',
96
- DIV_BY_ZERO = NAME + 'Division by zero',
97
-
98
- // The shared prototype object.
99
- P = {},
100
- UNDEFINED = void 0,
101
- NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
102
-
103
-
104
- /*
105
- * Create and return a Big constructor.
106
- */
107
- function _Big_() {
108
-
109
- /*
110
- * The Big constructor and exported function.
111
- * Create and return a new instance of a Big number object.
112
- *
113
- * n {number|string|Big} A numeric value.
114
- */
115
- function Big(n) {
116
- var x = this;
117
-
118
- // Enable constructor usage without new.
119
- if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
120
-
121
- // Duplicate.
122
- if (n instanceof Big) {
123
- x.s = n.s;
124
- x.e = n.e;
125
- x.c = n.c.slice();
126
- } else {
127
- if (typeof n !== 'string') {
128
- if (Big.strict === true && typeof n !== 'bigint') {
129
- throw TypeError(INVALID + 'value');
130
- }
131
-
132
- // Minus zero?
133
- n = n === 0 && 1 / n < 0 ? '-0' : String(n);
134
- }
135
-
136
- parse(x, n);
137
- }
138
-
139
- // Retain a reference to this Big constructor.
140
- // Shadow Big.prototype.constructor which points to Object.
141
- x.constructor = Big;
142
- }
143
-
144
- Big.prototype = P;
145
- Big.DP = DP;
146
- Big.RM = RM;
147
- Big.NE = NE;
148
- Big.PE = PE;
149
- Big.strict = STRICT;
150
- Big.roundDown = 0;
151
- Big.roundHalfUp = 1;
152
- Big.roundHalfEven = 2;
153
- Big.roundUp = 3;
154
-
155
- return Big;
156
- }
157
-
158
-
159
- /*
160
- * Parse the number or string value passed to a Big constructor.
161
- *
162
- * x {Big} A Big number instance.
163
- * n {number|string} A numeric value.
164
- */
165
- function parse(x, n) {
166
- var e, i, nl;
167
-
168
- if (!NUMERIC.test(n)) {
169
- throw Error(INVALID + 'number');
170
- }
171
-
172
- // Determine sign.
173
- x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
174
-
175
- // Decimal point?
176
- if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
177
-
178
- // Exponential form?
179
- if ((i = n.search(/e/i)) > 0) {
180
-
181
- // Determine exponent.
182
- if (e < 0) e = i;
183
- e += +n.slice(i + 1);
184
- n = n.substring(0, i);
185
- } else if (e < 0) {
186
-
187
- // Integer.
188
- e = n.length;
189
- }
190
-
191
- nl = n.length;
192
-
193
- // Determine leading zeros.
194
- for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
195
-
196
- if (i == nl) {
197
-
198
- // Zero.
199
- x.c = [x.e = 0];
200
- } else {
201
-
202
- // Determine trailing zeros.
203
- for (; nl > 0 && n.charAt(--nl) == '0';);
204
- x.e = e - i - 1;
205
- x.c = [];
206
-
207
- // Convert string to array of digits without leading/trailing zeros.
208
- for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
209
- }
210
-
211
- return x;
212
- }
213
-
214
-
215
- /*
216
- * Round Big x to a maximum of sd significant digits using rounding mode rm.
217
- *
218
- * x {Big} The Big to round.
219
- * sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
220
- * rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
221
- * [more] {boolean} Whether the result of division was truncated.
222
- */
223
- function round(x, sd, rm, more) {
224
- var xc = x.c;
225
-
226
- if (rm === UNDEFINED) rm = x.constructor.RM;
227
- if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
228
- throw Error(INVALID_RM);
229
- }
230
-
231
- if (sd < 1) {
232
- more =
233
- rm === 3 && (more || !!xc[0]) || sd === 0 && (
234
- rm === 1 && xc[0] >= 5 ||
235
- rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
236
- );
237
-
238
- xc.length = 1;
239
-
240
- if (more) {
241
-
242
- // 1, 0.1, 0.01, 0.001, 0.0001 etc.
243
- x.e = x.e - sd + 1;
244
- xc[0] = 1;
245
- } else {
246
-
247
- // Zero.
248
- xc[0] = x.e = 0;
249
- }
250
- } else if (sd < xc.length) {
251
-
252
- // xc[sd] is the digit after the digit that may be rounded up.
253
- more =
254
- rm === 1 && xc[sd] >= 5 ||
255
- rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
256
- (more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
257
- rm === 3 && (more || !!xc[0]);
258
-
259
- // Remove any digits after the required precision.
260
- xc.length = sd;
261
-
262
- // Round up?
263
- if (more) {
264
-
265
- // Rounding up may mean the previous digit has to be rounded up.
266
- for (; ++xc[--sd] > 9;) {
267
- xc[sd] = 0;
268
- if (sd === 0) {
269
- ++x.e;
270
- xc.unshift(1);
271
- break;
272
- }
273
- }
274
- }
275
-
276
- // Remove trailing zeros.
277
- for (sd = xc.length; !xc[--sd];) xc.pop();
278
- }
279
-
280
- return x;
281
- }
282
-
283
-
284
- /*
285
- * Return a string representing the value of Big x in normal or exponential notation.
286
- * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
287
- */
288
- function stringify(x, doExponential, isNonzero) {
289
- var e = x.e,
290
- s = x.c.join(''),
291
- n = s.length;
292
-
293
- // Exponential notation?
294
- if (doExponential) {
295
- s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
296
-
297
- // Normal notation.
298
- } else if (e < 0) {
299
- for (; ++e;) s = '0' + s;
300
- s = '0.' + s;
301
- } else if (e > 0) {
302
- if (++e > n) {
303
- for (e -= n; e--;) s += '0';
304
- } else if (e < n) {
305
- s = s.slice(0, e) + '.' + s.slice(e);
306
- }
307
- } else if (n > 1) {
308
- s = s.charAt(0) + '.' + s.slice(1);
309
- }
310
-
311
- return x.s < 0 && isNonzero ? '-' + s : s;
312
- }
313
-
314
-
315
- // Prototype/instance methods
316
-
317
-
318
- /*
319
- * Return a new Big whose value is the absolute value of this Big.
320
- */
321
- P.abs = function () {
322
- var x = new this.constructor(this);
323
- x.s = 1;
324
- return x;
325
- };
326
-
327
-
328
- /*
329
- * Return 1 if the value of this Big is greater than the value of Big y,
330
- * -1 if the value of this Big is less than the value of Big y, or
331
- * 0 if they have the same value.
332
- */
333
- P.cmp = function (y) {
334
- var isneg,
335
- x = this,
336
- xc = x.c,
337
- yc = (y = new x.constructor(y)).c,
338
- i = x.s,
339
- j = y.s,
340
- k = x.e,
341
- l = y.e;
342
-
343
- // Either zero?
344
- if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
345
-
346
- // Signs differ?
347
- if (i != j) return i;
348
-
349
- isneg = i < 0;
350
-
351
- // Compare exponents.
352
- if (k != l) return k > l ^ isneg ? 1 : -1;
353
-
354
- j = (k = xc.length) < (l = yc.length) ? k : l;
355
-
356
- // Compare digit by digit.
357
- for (i = -1; ++i < j;) {
358
- if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
359
- }
360
-
361
- // Compare lengths.
362
- return k == l ? 0 : k > l ^ isneg ? 1 : -1;
363
- };
364
-
365
-
366
- /*
367
- * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
368
- * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
369
- */
370
- P.div = function (y) {
371
- var x = this,
372
- Big = x.constructor,
373
- a = x.c, // dividend
374
- b = (y = new Big(y)).c, // divisor
375
- k = x.s == y.s ? 1 : -1,
376
- dp = Big.DP;
377
-
378
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
379
- throw Error(INVALID_DP);
380
- }
381
-
382
- // Divisor is zero?
383
- if (!b[0]) {
384
- throw Error(DIV_BY_ZERO);
385
- }
386
-
387
- // Dividend is 0? Return +-0.
388
- if (!a[0]) {
389
- y.s = k;
390
- y.c = [y.e = 0];
391
- return y;
392
- }
393
-
394
- var bl, bt, n, cmp, ri,
395
- bz = b.slice(),
396
- ai = bl = b.length,
397
- al = a.length,
398
- r = a.slice(0, bl), // remainder
399
- rl = r.length,
400
- q = y, // quotient
401
- qc = q.c = [],
402
- qi = 0,
403
- p = dp + (q.e = x.e - y.e) + 1; // precision of the result
404
-
405
- q.s = k;
406
- k = p < 0 ? 0 : p;
407
-
408
- // Create version of divisor with leading zero.
409
- bz.unshift(0);
410
-
411
- // Add zeros to make remainder as long as divisor.
412
- for (; rl++ < bl;) r.push(0);
413
-
414
- do {
415
-
416
- // n is how many times the divisor goes into current remainder.
417
- for (n = 0; n < 10; n++) {
418
-
419
- // Compare divisor and remainder.
420
- if (bl != (rl = r.length)) {
421
- cmp = bl > rl ? 1 : -1;
422
- } else {
423
- for (ri = -1, cmp = 0; ++ri < bl;) {
424
- if (b[ri] != r[ri]) {
425
- cmp = b[ri] > r[ri] ? 1 : -1;
426
- break;
427
- }
428
- }
429
- }
430
-
431
- // If divisor < remainder, subtract divisor from remainder.
432
- if (cmp < 0) {
433
-
434
- // Remainder can't be more than 1 digit longer than divisor.
435
- // Equalise lengths using divisor with extra leading zero?
436
- for (bt = rl == bl ? b : bz; rl;) {
437
- if (r[--rl] < bt[rl]) {
438
- ri = rl;
439
- for (; ri && !r[--ri];) r[ri] = 9;
440
- --r[ri];
441
- r[rl] += 10;
442
- }
443
- r[rl] -= bt[rl];
444
- }
445
-
446
- for (; !r[0];) r.shift();
447
- } else {
448
- break;
449
- }
450
- }
451
-
452
- // Add the digit n to the result array.
453
- qc[qi++] = cmp ? n : ++n;
454
-
455
- // Update the remainder.
456
- if (r[0] && cmp) r[rl] = a[ai] || 0;
457
- else r = [a[ai]];
458
-
459
- } while ((ai++ < al || r[0] !== UNDEFINED) && k--);
460
-
461
- // Leading zero? Do not remove if result is simply zero (qi == 1).
462
- if (!qc[0] && qi != 1) {
463
-
464
- // There can't be more than one zero.
465
- qc.shift();
466
- q.e--;
467
- p--;
468
- }
469
-
470
- // Round?
471
- if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
472
-
473
- return q;
474
- };
475
-
476
-
477
- /*
478
- * Return true if the value of this Big is equal to the value of Big y, otherwise return false.
479
- */
480
- P.eq = function (y) {
481
- return this.cmp(y) === 0;
482
- };
483
-
484
-
485
- /*
486
- * Return true if the value of this Big is greater than the value of Big y, otherwise return
487
- * false.
488
- */
489
- P.gt = function (y) {
490
- return this.cmp(y) > 0;
491
- };
492
-
493
-
494
- /*
495
- * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
496
- * return false.
497
- */
498
- P.gte = function (y) {
499
- return this.cmp(y) > -1;
500
- };
501
-
502
-
503
- /*
504
- * Return true if the value of this Big is less than the value of Big y, otherwise return false.
505
- */
506
- P.lt = function (y) {
507
- return this.cmp(y) < 0;
508
- };
509
-
510
-
511
- /*
512
- * Return true if the value of this Big is less than or equal to the value of Big y, otherwise
513
- * return false.
514
- */
515
- P.lte = function (y) {
516
- return this.cmp(y) < 1;
517
- };
518
-
519
-
520
- /*
521
- * Return a new Big whose value is the value of this Big minus the value of Big y.
522
- */
523
- P.minus = P.sub = function (y) {
524
- var i, j, t, xlty,
525
- x = this,
526
- Big = x.constructor,
527
- a = x.s,
528
- b = (y = new Big(y)).s;
529
-
530
- // Signs differ?
531
- if (a != b) {
532
- y.s = -b;
533
- return x.plus(y);
534
- }
535
-
536
- var xc = x.c.slice(),
537
- xe = x.e,
538
- yc = y.c,
539
- ye = y.e;
540
-
541
- // Either zero?
542
- if (!xc[0] || !yc[0]) {
543
- if (yc[0]) {
544
- y.s = -b;
545
- } else if (xc[0]) {
546
- y = new Big(x);
547
- } else {
548
- y.s = 1;
549
- }
550
- return y;
551
- }
552
-
553
- // Determine which is the bigger number. Prepend zeros to equalise exponents.
554
- if (a = xe - ye) {
555
-
556
- if (xlty = a < 0) {
557
- a = -a;
558
- t = xc;
559
- } else {
560
- ye = xe;
561
- t = yc;
562
- }
563
-
564
- t.reverse();
565
- for (b = a; b--;) t.push(0);
566
- t.reverse();
567
- } else {
568
-
569
- // Exponents equal. Check digit by digit.
570
- j = ((xlty = xc.length < yc.length) ? xc : yc).length;
571
-
572
- for (a = b = 0; b < j; b++) {
573
- if (xc[b] != yc[b]) {
574
- xlty = xc[b] < yc[b];
575
- break;
576
- }
577
- }
578
- }
579
-
580
- // x < y? Point xc to the array of the bigger number.
581
- if (xlty) {
582
- t = xc;
583
- xc = yc;
584
- yc = t;
585
- y.s = -y.s;
586
- }
587
-
588
- /*
589
- * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
590
- * needs to start at yc.length.
591
- */
592
- if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
593
-
594
- // Subtract yc from xc.
595
- for (b = i; j > a;) {
596
- if (xc[--j] < yc[j]) {
597
- for (i = j; i && !xc[--i];) xc[i] = 9;
598
- --xc[i];
599
- xc[j] += 10;
600
- }
601
-
602
- xc[j] -= yc[j];
603
- }
604
-
605
- // Remove trailing zeros.
606
- for (; xc[--b] === 0;) xc.pop();
607
-
608
- // Remove leading zeros and adjust exponent accordingly.
609
- for (; xc[0] === 0;) {
610
- xc.shift();
611
- --ye;
612
- }
613
-
614
- if (!xc[0]) {
615
-
616
- // n - n = +0
617
- y.s = 1;
618
-
619
- // Result must be zero.
620
- xc = [ye = 0];
621
- }
622
-
623
- y.c = xc;
624
- y.e = ye;
625
-
626
- return y;
627
- };
628
-
629
-
630
- /*
631
- * Return a new Big whose value is the value of this Big modulo the value of Big y.
632
- */
633
- P.mod = function (y) {
634
- var ygtx,
635
- x = this,
636
- Big = x.constructor,
637
- a = x.s,
638
- b = (y = new Big(y)).s;
639
-
640
- if (!y.c[0]) {
641
- throw Error(DIV_BY_ZERO);
642
- }
643
-
644
- x.s = y.s = 1;
645
- ygtx = y.cmp(x) == 1;
646
- x.s = a;
647
- y.s = b;
648
-
649
- if (ygtx) return new Big(x);
650
-
651
- a = Big.DP;
652
- b = Big.RM;
653
- Big.DP = Big.RM = 0;
654
- x = x.div(y);
655
- Big.DP = a;
656
- Big.RM = b;
657
-
658
- return this.minus(x.times(y));
659
- };
660
-
661
-
662
- /*
663
- * Return a new Big whose value is the value of this Big negated.
664
- */
665
- P.neg = function () {
666
- var x = new this.constructor(this);
667
- x.s = -x.s;
668
- return x;
669
- };
670
-
671
-
672
- /*
673
- * Return a new Big whose value is the value of this Big plus the value of Big y.
674
- */
675
- P.plus = P.add = function (y) {
676
- var e, k, t,
677
- x = this,
678
- Big = x.constructor;
679
-
680
- y = new Big(y);
681
-
682
- // Signs differ?
683
- if (x.s != y.s) {
684
- y.s = -y.s;
685
- return x.minus(y);
686
- }
687
-
688
- var xe = x.e,
689
- xc = x.c,
690
- ye = y.e,
691
- yc = y.c;
692
-
693
- // Either zero?
694
- if (!xc[0] || !yc[0]) {
695
- if (!yc[0]) {
696
- if (xc[0]) {
697
- y = new Big(x);
698
- } else {
699
- y.s = x.s;
700
- }
701
- }
702
- return y;
703
- }
704
-
705
- xc = xc.slice();
706
-
707
- // Prepend zeros to equalise exponents.
708
- // Note: reverse faster than unshifts.
709
- if (e = xe - ye) {
710
- if (e > 0) {
711
- ye = xe;
712
- t = yc;
713
- } else {
714
- e = -e;
715
- t = xc;
716
- }
717
-
718
- t.reverse();
719
- for (; e--;) t.push(0);
720
- t.reverse();
721
- }
722
-
723
- // Point xc to the longer array.
724
- if (xc.length - yc.length < 0) {
725
- t = yc;
726
- yc = xc;
727
- xc = t;
728
- }
729
-
730
- e = yc.length;
731
-
732
- // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
733
- for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
734
-
735
- // No need to check for zero, as +x + +y != 0 && -x + -y != 0
736
-
737
- if (k) {
738
- xc.unshift(k);
739
- ++ye;
740
- }
741
-
742
- // Remove trailing zeros.
743
- for (e = xc.length; xc[--e] === 0;) xc.pop();
744
-
745
- y.c = xc;
746
- y.e = ye;
747
-
748
- return y;
749
- };
750
-
751
-
752
- /*
753
- * Return a Big whose value is the value of this Big raised to the power n.
754
- * If n is negative, round to a maximum of Big.DP decimal places using rounding
755
- * mode Big.RM.
756
- *
757
- * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
758
- */
759
- P.pow = function (n) {
760
- var x = this,
761
- one = new x.constructor('1'),
762
- y = one,
763
- isneg = n < 0;
764
-
765
- if (n !== ~~n || n < -1e6 || n > MAX_POWER) {
766
- throw Error(INVALID + 'exponent');
767
- }
768
-
769
- if (isneg) n = -n;
770
-
771
- for (;;) {
772
- if (n & 1) y = y.times(x);
773
- n >>= 1;
774
- if (!n) break;
775
- x = x.times(x);
776
- }
777
-
778
- return isneg ? one.div(y) : y;
779
- };
780
-
781
-
782
- /*
783
- * Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
784
- * significant digits using rounding mode rm, or Big.RM if rm is not specified.
785
- *
786
- * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
787
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
788
- */
789
- P.prec = function (sd, rm) {
790
- if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
791
- throw Error(INVALID + 'precision');
792
- }
793
- return round(new this.constructor(this), sd, rm);
794
- };
795
-
796
-
797
- /*
798
- * Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
799
- * using rounding mode rm, or Big.RM if rm is not specified.
800
- * If dp is negative, round to an integer which is a multiple of 10**-dp.
801
- * If dp is not specified, round to 0 decimal places.
802
- *
803
- * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
804
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
805
- */
806
- P.round = function (dp, rm) {
807
- if (dp === UNDEFINED) dp = 0;
808
- else if (dp !== ~~dp || dp < -1e6 || dp > MAX_DP) {
809
- throw Error(INVALID_DP);
810
- }
811
- return round(new this.constructor(this), dp + this.e + 1, rm);
812
- };
813
-
814
-
815
- /*
816
- * Return a new Big whose value is the square root of the value of this Big, rounded, if
817
- * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
818
- */
819
- P.sqrt = function () {
820
- var r, c, t,
821
- x = this,
822
- Big = x.constructor,
823
- s = x.s,
824
- e = x.e,
825
- half = new Big('0.5');
826
-
827
- // Zero?
828
- if (!x.c[0]) return new Big(x);
829
-
830
- // Negative?
831
- if (s < 0) {
832
- throw Error(NAME + 'No square root');
833
- }
834
-
835
- // Estimate.
836
- s = Math.sqrt(x + '');
837
-
838
- // Math.sqrt underflow/overflow?
839
- // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
840
- if (s === 0 || s === 1 / 0) {
841
- c = x.c.join('');
842
- if (!(c.length + e & 1)) c += '0';
843
- s = Math.sqrt(c);
844
- e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
845
- r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
846
- } else {
847
- r = new Big(s + '');
848
- }
849
-
850
- e = r.e + (Big.DP += 4);
851
-
852
- // Newton-Raphson iteration.
853
- do {
854
- t = r;
855
- r = half.times(t.plus(x.div(t)));
856
- } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
857
-
858
- return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
859
- };
860
-
861
-
862
- /*
863
- * Return a new Big whose value is the value of this Big times the value of Big y.
864
- */
865
- P.times = P.mul = function (y) {
866
- var c,
867
- x = this,
868
- Big = x.constructor,
869
- xc = x.c,
870
- yc = (y = new Big(y)).c,
871
- a = xc.length,
872
- b = yc.length,
873
- i = x.e,
874
- j = y.e;
875
-
876
- // Determine sign of result.
877
- y.s = x.s == y.s ? 1 : -1;
878
-
879
- // Return signed 0 if either 0.
880
- if (!xc[0] || !yc[0]) {
881
- y.c = [y.e = 0];
882
- return y;
883
- }
884
-
885
- // Initialise exponent of result as x.e + y.e.
886
- y.e = i + j;
887
-
888
- // If array xc has fewer digits than yc, swap xc and yc, and lengths.
889
- if (a < b) {
890
- c = xc;
891
- xc = yc;
892
- yc = c;
893
- j = a;
894
- a = b;
895
- b = j;
896
- }
897
-
898
- // Initialise coefficient array of result with zeros.
899
- for (c = new Array(j = a + b); j--;) c[j] = 0;
900
-
901
- // Multiply.
902
-
903
- // i is initially xc.length.
904
- for (i = b; i--;) {
905
- b = 0;
906
-
907
- // a is yc.length.
908
- for (j = a + i; j > i;) {
909
-
910
- // Current sum of products at this digit position, plus carry.
911
- b = c[j] + yc[i] * xc[j - i - 1] + b;
912
- c[j--] = b % 10;
913
-
914
- // carry
915
- b = b / 10 | 0;
916
- }
917
-
918
- c[j] = b;
919
- }
920
-
921
- // Increment result exponent if there is a final carry, otherwise remove leading zero.
922
- if (b) ++y.e;
923
- else c.shift();
924
-
925
- // Remove trailing zeros.
926
- for (i = c.length; !c[--i];) c.pop();
927
- y.c = c;
928
-
929
- return y;
930
- };
931
-
932
-
933
- /*
934
- * Return a string representing the value of this Big in exponential notation rounded to dp fixed
935
- * decimal places using rounding mode rm, or Big.RM if rm is not specified.
936
- *
937
- * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
938
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
939
- */
940
- P.toExponential = function (dp, rm) {
941
- var x = this,
942
- n = x.c[0];
943
-
944
- if (dp !== UNDEFINED) {
945
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
946
- throw Error(INVALID_DP);
947
- }
948
- x = round(new x.constructor(x), ++dp, rm);
949
- for (; x.c.length < dp;) x.c.push(0);
950
- }
951
-
952
- return stringify(x, true, !!n);
953
- };
954
-
955
-
956
- /*
957
- * Return a string representing the value of this Big in normal notation rounded to dp fixed
958
- * decimal places using rounding mode rm, or Big.RM if rm is not specified.
959
- *
960
- * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
961
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
962
- *
963
- * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
964
- * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
965
- */
966
- P.toFixed = function (dp, rm) {
967
- var x = this,
968
- n = x.c[0];
969
-
970
- if (dp !== UNDEFINED) {
971
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
972
- throw Error(INVALID_DP);
973
- }
974
- x = round(new x.constructor(x), dp + x.e + 1, rm);
975
-
976
- // x.e may have changed if the value is rounded up.
977
- for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
978
- }
979
-
980
- return stringify(x, false, !!n);
981
- };
982
-
983
-
984
- /*
985
- * Return a string representing the value of this Big.
986
- * Return exponential notation if this Big has a positive exponent equal to or greater than
987
- * Big.PE, or a negative exponent equal to or less than Big.NE.
988
- * Omit the sign for negative zero.
989
- */
990
- P.toJSON = P.toString = function () {
991
- var x = this,
992
- Big = x.constructor;
993
- return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
994
- };
995
-
996
-
997
- /*
998
- * Return the value of this Big as a primitve number.
999
- */
1000
- P.toNumber = function () {
1001
- var n = Number(stringify(this, true, true));
1002
- if (this.constructor.strict === true && !this.eq(n.toString())) {
1003
- throw Error(NAME + 'Imprecise conversion');
1004
- }
1005
- return n;
1006
- };
1007
-
1008
-
1009
- /*
1010
- * Return a string representing the value of this Big rounded to sd significant digits using
1011
- * rounding mode rm, or Big.RM if rm is not specified.
1012
- * Use exponential notation if sd is less than the number of digits necessary to represent
1013
- * the integer part of the value in normal notation.
1014
- *
1015
- * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
1016
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
1017
- */
1018
- P.toPrecision = function (sd, rm) {
1019
- var x = this,
1020
- Big = x.constructor,
1021
- n = x.c[0];
1022
-
1023
- if (sd !== UNDEFINED) {
1024
- if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
1025
- throw Error(INVALID + 'precision');
1026
- }
1027
- x = round(new Big(x), sd, rm);
1028
- for (; x.c.length < sd;) x.c.push(0);
1029
- }
1030
-
1031
- return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
1032
- };
1033
-
1034
-
1035
- /*
1036
- * Return a string representing the value of this Big.
1037
- * Return exponential notation if this Big has a positive exponent equal to or greater than
1038
- * Big.PE, or a negative exponent equal to or less than Big.NE.
1039
- * Include the sign for negative zero.
1040
- */
1041
- P.valueOf = function () {
1042
- var x = this,
1043
- Big = x.constructor;
1044
- if (Big.strict === true) {
1045
- throw Error(NAME + 'valueOf disallowed');
1046
- }
1047
- return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
1048
- };
1049
-
1050
-
1051
- // Export
1052
-
1053
-
1054
- Big = _Big_();
1055
-
1056
- Big['default'] = Big.Big = Big;
1057
-
1058
- //AMD.
1059
- if (module.exports) {
1060
- module.exports = Big;
1061
-
1062
- //Browser.
1063
- } else {
1064
- GLOBAL.Big = Big;
1065
- }
1066
- })(big);
1067
- } (big$1));
1068
- return big$1.exports;
1069
- }
1070
-
1071
- var bigExports = requireBig();
1072
- var Big = /*@__PURE__*/getDefaultExportFromCjs(bigExports);
23
+ */
24
+
25
+
26
+ /************************************** EDITABLE DEFAULTS *****************************************/
27
+
28
+
29
+ // The default values below must be integers within the stated ranges.
30
+
31
+ /*
32
+ * The maximum number of decimal places (DP) of the results of operations involving division:
33
+ * div and sqrt, and pow with negative exponents.
34
+ */
35
+ var DP = 20, // 0 to MAX_DP
36
+
37
+ /*
38
+ * The rounding mode (RM) used when rounding to the above decimal places.
39
+ *
40
+ * 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
41
+ * 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
42
+ * 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
43
+ * 3 Away from zero. (ROUND_UP)
44
+ */
45
+ RM = 1, // 0, 1, 2 or 3
46
+
47
+ // The maximum value of DP and Big.DP.
48
+ MAX_DP = 1E6, // 0 to 1000000
49
+
50
+ // The maximum magnitude of the exponent argument to the pow method.
51
+ MAX_POWER = 1E6, // 1 to 1000000
52
+
53
+ /*
54
+ * The negative exponent (NE) at and beneath which toString returns exponential notation.
55
+ * (JavaScript numbers: -7)
56
+ * -1000000 is the minimum recommended exponent value of a Big.
57
+ */
58
+ NE = -7, // 0 to -1000000
59
+
60
+ /*
61
+ * The positive exponent (PE) at and above which toString returns exponential notation.
62
+ * (JavaScript numbers: 21)
63
+ * 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
64
+ */
65
+ PE = 21, // 0 to 1000000
66
+
67
+ /*
68
+ * When true, an error will be thrown if a primitive number is passed to the Big constructor,
69
+ * or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
70
+ * primitive number without a loss of precision.
71
+ */
72
+ STRICT = false, // true or false
73
+
74
+
75
+ /**************************************************************************************************/
76
+
77
+
78
+ // Error messages.
79
+ NAME = '[big.js] ',
80
+ INVALID = NAME + 'Invalid ',
81
+ INVALID_DP = INVALID + 'decimal places',
82
+ INVALID_RM = INVALID + 'rounding mode',
83
+ DIV_BY_ZERO = NAME + 'Division by zero',
84
+
85
+ // The shared prototype object.
86
+ P = {},
87
+ UNDEFINED = void 0,
88
+ NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
89
+
90
+
91
+ /*
92
+ * Create and return a Big constructor.
93
+ */
94
+ function _Big_() {
95
+
96
+ /*
97
+ * The Big constructor and exported function.
98
+ * Create and return a new instance of a Big number object.
99
+ *
100
+ * n {number|string|Big} A numeric value.
101
+ */
102
+ function Big(n) {
103
+ var x = this;
104
+
105
+ // Enable constructor usage without new.
106
+ if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
107
+
108
+ // Duplicate.
109
+ if (n instanceof Big) {
110
+ x.s = n.s;
111
+ x.e = n.e;
112
+ x.c = n.c.slice();
113
+ } else {
114
+ if (typeof n !== 'string') {
115
+ if (Big.strict === true && typeof n !== 'bigint') {
116
+ throw TypeError(INVALID + 'value');
117
+ }
118
+
119
+ // Minus zero?
120
+ n = n === 0 && 1 / n < 0 ? '-0' : String(n);
121
+ }
122
+
123
+ parse(x, n);
124
+ }
125
+
126
+ // Retain a reference to this Big constructor.
127
+ // Shadow Big.prototype.constructor which points to Object.
128
+ x.constructor = Big;
129
+ }
130
+
131
+ Big.prototype = P;
132
+ Big.DP = DP;
133
+ Big.RM = RM;
134
+ Big.NE = NE;
135
+ Big.PE = PE;
136
+ Big.strict = STRICT;
137
+ Big.roundDown = 0;
138
+ Big.roundHalfUp = 1;
139
+ Big.roundHalfEven = 2;
140
+ Big.roundUp = 3;
141
+
142
+ return Big;
143
+ }
144
+
145
+
146
+ /*
147
+ * Parse the number or string value passed to a Big constructor.
148
+ *
149
+ * x {Big} A Big number instance.
150
+ * n {number|string} A numeric value.
151
+ */
152
+ function parse(x, n) {
153
+ var e, i, nl;
154
+
155
+ if (!NUMERIC.test(n)) {
156
+ throw Error(INVALID + 'number');
157
+ }
158
+
159
+ // Determine sign.
160
+ x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
161
+
162
+ // Decimal point?
163
+ if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
164
+
165
+ // Exponential form?
166
+ if ((i = n.search(/e/i)) > 0) {
167
+
168
+ // Determine exponent.
169
+ if (e < 0) e = i;
170
+ e += +n.slice(i + 1);
171
+ n = n.substring(0, i);
172
+ } else if (e < 0) {
173
+
174
+ // Integer.
175
+ e = n.length;
176
+ }
177
+
178
+ nl = n.length;
179
+
180
+ // Determine leading zeros.
181
+ for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
182
+
183
+ if (i == nl) {
184
+
185
+ // Zero.
186
+ x.c = [x.e = 0];
187
+ } else {
188
+
189
+ // Determine trailing zeros.
190
+ for (; nl > 0 && n.charAt(--nl) == '0';);
191
+ x.e = e - i - 1;
192
+ x.c = [];
193
+
194
+ // Convert string to array of digits without leading/trailing zeros.
195
+ for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
196
+ }
197
+
198
+ return x;
199
+ }
200
+
201
+
202
+ /*
203
+ * Round Big x to a maximum of sd significant digits using rounding mode rm.
204
+ *
205
+ * x {Big} The Big to round.
206
+ * sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
207
+ * rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
208
+ * [more] {boolean} Whether the result of division was truncated.
209
+ */
210
+ function round(x, sd, rm, more) {
211
+ var xc = x.c;
212
+
213
+ if (rm === UNDEFINED) rm = x.constructor.RM;
214
+ if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
215
+ throw Error(INVALID_RM);
216
+ }
217
+
218
+ if (sd < 1) {
219
+ more =
220
+ rm === 3 && (more || !!xc[0]) || sd === 0 && (
221
+ rm === 1 && xc[0] >= 5 ||
222
+ rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
223
+ );
224
+
225
+ xc.length = 1;
226
+
227
+ if (more) {
228
+
229
+ // 1, 0.1, 0.01, 0.001, 0.0001 etc.
230
+ x.e = x.e - sd + 1;
231
+ xc[0] = 1;
232
+ } else {
233
+
234
+ // Zero.
235
+ xc[0] = x.e = 0;
236
+ }
237
+ } else if (sd < xc.length) {
238
+
239
+ // xc[sd] is the digit after the digit that may be rounded up.
240
+ more =
241
+ rm === 1 && xc[sd] >= 5 ||
242
+ rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
243
+ (more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
244
+ rm === 3 && (more || !!xc[0]);
245
+
246
+ // Remove any digits after the required precision.
247
+ xc.length = sd;
248
+
249
+ // Round up?
250
+ if (more) {
251
+
252
+ // Rounding up may mean the previous digit has to be rounded up.
253
+ for (; ++xc[--sd] > 9;) {
254
+ xc[sd] = 0;
255
+ if (sd === 0) {
256
+ ++x.e;
257
+ xc.unshift(1);
258
+ break;
259
+ }
260
+ }
261
+ }
262
+
263
+ // Remove trailing zeros.
264
+ for (sd = xc.length; !xc[--sd];) xc.pop();
265
+ }
266
+
267
+ return x;
268
+ }
269
+
270
+
271
+ /*
272
+ * Return a string representing the value of Big x in normal or exponential notation.
273
+ * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
274
+ */
275
+ function stringify(x, doExponential, isNonzero) {
276
+ var e = x.e,
277
+ s = x.c.join(''),
278
+ n = s.length;
279
+
280
+ // Exponential notation?
281
+ if (doExponential) {
282
+ s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
283
+
284
+ // Normal notation.
285
+ } else if (e < 0) {
286
+ for (; ++e;) s = '0' + s;
287
+ s = '0.' + s;
288
+ } else if (e > 0) {
289
+ if (++e > n) {
290
+ for (e -= n; e--;) s += '0';
291
+ } else if (e < n) {
292
+ s = s.slice(0, e) + '.' + s.slice(e);
293
+ }
294
+ } else if (n > 1) {
295
+ s = s.charAt(0) + '.' + s.slice(1);
296
+ }
297
+
298
+ return x.s < 0 && isNonzero ? '-' + s : s;
299
+ }
300
+
301
+
302
+ // Prototype/instance methods
303
+
304
+
305
+ /*
306
+ * Return a new Big whose value is the absolute value of this Big.
307
+ */
308
+ P.abs = function () {
309
+ var x = new this.constructor(this);
310
+ x.s = 1;
311
+ return x;
312
+ };
313
+
314
+
315
+ /*
316
+ * Return 1 if the value of this Big is greater than the value of Big y,
317
+ * -1 if the value of this Big is less than the value of Big y, or
318
+ * 0 if they have the same value.
319
+ */
320
+ P.cmp = function (y) {
321
+ var isneg,
322
+ x = this,
323
+ xc = x.c,
324
+ yc = (y = new x.constructor(y)).c,
325
+ i = x.s,
326
+ j = y.s,
327
+ k = x.e,
328
+ l = y.e;
329
+
330
+ // Either zero?
331
+ if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
332
+
333
+ // Signs differ?
334
+ if (i != j) return i;
335
+
336
+ isneg = i < 0;
337
+
338
+ // Compare exponents.
339
+ if (k != l) return k > l ^ isneg ? 1 : -1;
340
+
341
+ j = (k = xc.length) < (l = yc.length) ? k : l;
342
+
343
+ // Compare digit by digit.
344
+ for (i = -1; ++i < j;) {
345
+ if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
346
+ }
347
+
348
+ // Compare lengths.
349
+ return k == l ? 0 : k > l ^ isneg ? 1 : -1;
350
+ };
351
+
352
+
353
+ /*
354
+ * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
355
+ * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
356
+ */
357
+ P.div = function (y) {
358
+ var x = this,
359
+ Big = x.constructor,
360
+ a = x.c, // dividend
361
+ b = (y = new Big(y)).c, // divisor
362
+ k = x.s == y.s ? 1 : -1,
363
+ dp = Big.DP;
364
+
365
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
366
+ throw Error(INVALID_DP);
367
+ }
368
+
369
+ // Divisor is zero?
370
+ if (!b[0]) {
371
+ throw Error(DIV_BY_ZERO);
372
+ }
373
+
374
+ // Dividend is 0? Return +-0.
375
+ if (!a[0]) {
376
+ y.s = k;
377
+ y.c = [y.e = 0];
378
+ return y;
379
+ }
380
+
381
+ var bl, bt, n, cmp, ri,
382
+ bz = b.slice(),
383
+ ai = bl = b.length,
384
+ al = a.length,
385
+ r = a.slice(0, bl), // remainder
386
+ rl = r.length,
387
+ q = y, // quotient
388
+ qc = q.c = [],
389
+ qi = 0,
390
+ p = dp + (q.e = x.e - y.e) + 1; // precision of the result
391
+
392
+ q.s = k;
393
+ k = p < 0 ? 0 : p;
394
+
395
+ // Create version of divisor with leading zero.
396
+ bz.unshift(0);
397
+
398
+ // Add zeros to make remainder as long as divisor.
399
+ for (; rl++ < bl;) r.push(0);
400
+
401
+ do {
402
+
403
+ // n is how many times the divisor goes into current remainder.
404
+ for (n = 0; n < 10; n++) {
405
+
406
+ // Compare divisor and remainder.
407
+ if (bl != (rl = r.length)) {
408
+ cmp = bl > rl ? 1 : -1;
409
+ } else {
410
+ for (ri = -1, cmp = 0; ++ri < bl;) {
411
+ if (b[ri] != r[ri]) {
412
+ cmp = b[ri] > r[ri] ? 1 : -1;
413
+ break;
414
+ }
415
+ }
416
+ }
417
+
418
+ // If divisor < remainder, subtract divisor from remainder.
419
+ if (cmp < 0) {
420
+
421
+ // Remainder can't be more than 1 digit longer than divisor.
422
+ // Equalise lengths using divisor with extra leading zero?
423
+ for (bt = rl == bl ? b : bz; rl;) {
424
+ if (r[--rl] < bt[rl]) {
425
+ ri = rl;
426
+ for (; ri && !r[--ri];) r[ri] = 9;
427
+ --r[ri];
428
+ r[rl] += 10;
429
+ }
430
+ r[rl] -= bt[rl];
431
+ }
432
+
433
+ for (; !r[0];) r.shift();
434
+ } else {
435
+ break;
436
+ }
437
+ }
438
+
439
+ // Add the digit n to the result array.
440
+ qc[qi++] = cmp ? n : ++n;
441
+
442
+ // Update the remainder.
443
+ if (r[0] && cmp) r[rl] = a[ai] || 0;
444
+ else r = [a[ai]];
445
+
446
+ } while ((ai++ < al || r[0] !== UNDEFINED) && k--);
447
+
448
+ // Leading zero? Do not remove if result is simply zero (qi == 1).
449
+ if (!qc[0] && qi != 1) {
450
+
451
+ // There can't be more than one zero.
452
+ qc.shift();
453
+ q.e--;
454
+ p--;
455
+ }
456
+
457
+ // Round?
458
+ if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
459
+
460
+ return q;
461
+ };
462
+
463
+
464
+ /*
465
+ * Return true if the value of this Big is equal to the value of Big y, otherwise return false.
466
+ */
467
+ P.eq = function (y) {
468
+ return this.cmp(y) === 0;
469
+ };
470
+
471
+
472
+ /*
473
+ * Return true if the value of this Big is greater than the value of Big y, otherwise return
474
+ * false.
475
+ */
476
+ P.gt = function (y) {
477
+ return this.cmp(y) > 0;
478
+ };
479
+
480
+
481
+ /*
482
+ * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
483
+ * return false.
484
+ */
485
+ P.gte = function (y) {
486
+ return this.cmp(y) > -1;
487
+ };
488
+
489
+
490
+ /*
491
+ * Return true if the value of this Big is less than the value of Big y, otherwise return false.
492
+ */
493
+ P.lt = function (y) {
494
+ return this.cmp(y) < 0;
495
+ };
496
+
497
+
498
+ /*
499
+ * Return true if the value of this Big is less than or equal to the value of Big y, otherwise
500
+ * return false.
501
+ */
502
+ P.lte = function (y) {
503
+ return this.cmp(y) < 1;
504
+ };
505
+
506
+
507
+ /*
508
+ * Return a new Big whose value is the value of this Big minus the value of Big y.
509
+ */
510
+ P.minus = P.sub = function (y) {
511
+ var i, j, t, xlty,
512
+ x = this,
513
+ Big = x.constructor,
514
+ a = x.s,
515
+ b = (y = new Big(y)).s;
516
+
517
+ // Signs differ?
518
+ if (a != b) {
519
+ y.s = -b;
520
+ return x.plus(y);
521
+ }
522
+
523
+ var xc = x.c.slice(),
524
+ xe = x.e,
525
+ yc = y.c,
526
+ ye = y.e;
527
+
528
+ // Either zero?
529
+ if (!xc[0] || !yc[0]) {
530
+ if (yc[0]) {
531
+ y.s = -b;
532
+ } else if (xc[0]) {
533
+ y = new Big(x);
534
+ } else {
535
+ y.s = 1;
536
+ }
537
+ return y;
538
+ }
539
+
540
+ // Determine which is the bigger number. Prepend zeros to equalise exponents.
541
+ if (a = xe - ye) {
542
+
543
+ if (xlty = a < 0) {
544
+ a = -a;
545
+ t = xc;
546
+ } else {
547
+ ye = xe;
548
+ t = yc;
549
+ }
550
+
551
+ t.reverse();
552
+ for (b = a; b--;) t.push(0);
553
+ t.reverse();
554
+ } else {
555
+
556
+ // Exponents equal. Check digit by digit.
557
+ j = ((xlty = xc.length < yc.length) ? xc : yc).length;
558
+
559
+ for (a = b = 0; b < j; b++) {
560
+ if (xc[b] != yc[b]) {
561
+ xlty = xc[b] < yc[b];
562
+ break;
563
+ }
564
+ }
565
+ }
566
+
567
+ // x < y? Point xc to the array of the bigger number.
568
+ if (xlty) {
569
+ t = xc;
570
+ xc = yc;
571
+ yc = t;
572
+ y.s = -y.s;
573
+ }
574
+
575
+ /*
576
+ * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
577
+ * needs to start at yc.length.
578
+ */
579
+ if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
580
+
581
+ // Subtract yc from xc.
582
+ for (b = i; j > a;) {
583
+ if (xc[--j] < yc[j]) {
584
+ for (i = j; i && !xc[--i];) xc[i] = 9;
585
+ --xc[i];
586
+ xc[j] += 10;
587
+ }
588
+
589
+ xc[j] -= yc[j];
590
+ }
591
+
592
+ // Remove trailing zeros.
593
+ for (; xc[--b] === 0;) xc.pop();
594
+
595
+ // Remove leading zeros and adjust exponent accordingly.
596
+ for (; xc[0] === 0;) {
597
+ xc.shift();
598
+ --ye;
599
+ }
600
+
601
+ if (!xc[0]) {
602
+
603
+ // n - n = +0
604
+ y.s = 1;
605
+
606
+ // Result must be zero.
607
+ xc = [ye = 0];
608
+ }
609
+
610
+ y.c = xc;
611
+ y.e = ye;
612
+
613
+ return y;
614
+ };
615
+
616
+
617
+ /*
618
+ * Return a new Big whose value is the value of this Big modulo the value of Big y.
619
+ */
620
+ P.mod = function (y) {
621
+ var ygtx,
622
+ x = this,
623
+ Big = x.constructor,
624
+ a = x.s,
625
+ b = (y = new Big(y)).s;
626
+
627
+ if (!y.c[0]) {
628
+ throw Error(DIV_BY_ZERO);
629
+ }
630
+
631
+ x.s = y.s = 1;
632
+ ygtx = y.cmp(x) == 1;
633
+ x.s = a;
634
+ y.s = b;
635
+
636
+ if (ygtx) return new Big(x);
637
+
638
+ a = Big.DP;
639
+ b = Big.RM;
640
+ Big.DP = Big.RM = 0;
641
+ x = x.div(y);
642
+ Big.DP = a;
643
+ Big.RM = b;
644
+
645
+ return this.minus(x.times(y));
646
+ };
647
+
648
+
649
+ /*
650
+ * Return a new Big whose value is the value of this Big negated.
651
+ */
652
+ P.neg = function () {
653
+ var x = new this.constructor(this);
654
+ x.s = -x.s;
655
+ return x;
656
+ };
657
+
658
+
659
+ /*
660
+ * Return a new Big whose value is the value of this Big plus the value of Big y.
661
+ */
662
+ P.plus = P.add = function (y) {
663
+ var e, k, t,
664
+ x = this,
665
+ Big = x.constructor;
666
+
667
+ y = new Big(y);
668
+
669
+ // Signs differ?
670
+ if (x.s != y.s) {
671
+ y.s = -y.s;
672
+ return x.minus(y);
673
+ }
674
+
675
+ var xe = x.e,
676
+ xc = x.c,
677
+ ye = y.e,
678
+ yc = y.c;
679
+
680
+ // Either zero?
681
+ if (!xc[0] || !yc[0]) {
682
+ if (!yc[0]) {
683
+ if (xc[0]) {
684
+ y = new Big(x);
685
+ } else {
686
+ y.s = x.s;
687
+ }
688
+ }
689
+ return y;
690
+ }
691
+
692
+ xc = xc.slice();
693
+
694
+ // Prepend zeros to equalise exponents.
695
+ // Note: reverse faster than unshifts.
696
+ if (e = xe - ye) {
697
+ if (e > 0) {
698
+ ye = xe;
699
+ t = yc;
700
+ } else {
701
+ e = -e;
702
+ t = xc;
703
+ }
704
+
705
+ t.reverse();
706
+ for (; e--;) t.push(0);
707
+ t.reverse();
708
+ }
709
+
710
+ // Point xc to the longer array.
711
+ if (xc.length - yc.length < 0) {
712
+ t = yc;
713
+ yc = xc;
714
+ xc = t;
715
+ }
716
+
717
+ e = yc.length;
718
+
719
+ // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
720
+ for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
721
+
722
+ // No need to check for zero, as +x + +y != 0 && -x + -y != 0
723
+
724
+ if (k) {
725
+ xc.unshift(k);
726
+ ++ye;
727
+ }
728
+
729
+ // Remove trailing zeros.
730
+ for (e = xc.length; xc[--e] === 0;) xc.pop();
731
+
732
+ y.c = xc;
733
+ y.e = ye;
734
+
735
+ return y;
736
+ };
737
+
738
+
739
+ /*
740
+ * Return a Big whose value is the value of this Big raised to the power n.
741
+ * If n is negative, round to a maximum of Big.DP decimal places using rounding
742
+ * mode Big.RM.
743
+ *
744
+ * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
745
+ */
746
+ P.pow = function (n) {
747
+ var x = this,
748
+ one = new x.constructor('1'),
749
+ y = one,
750
+ isneg = n < 0;
751
+
752
+ if (n !== ~~n || n < -1e6 || n > MAX_POWER) {
753
+ throw Error(INVALID + 'exponent');
754
+ }
755
+
756
+ if (isneg) n = -n;
757
+
758
+ for (;;) {
759
+ if (n & 1) y = y.times(x);
760
+ n >>= 1;
761
+ if (!n) break;
762
+ x = x.times(x);
763
+ }
764
+
765
+ return isneg ? one.div(y) : y;
766
+ };
767
+
768
+
769
+ /*
770
+ * Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
771
+ * significant digits using rounding mode rm, or Big.RM if rm is not specified.
772
+ *
773
+ * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
774
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
775
+ */
776
+ P.prec = function (sd, rm) {
777
+ if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
778
+ throw Error(INVALID + 'precision');
779
+ }
780
+ return round(new this.constructor(this), sd, rm);
781
+ };
782
+
783
+
784
+ /*
785
+ * Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
786
+ * using rounding mode rm, or Big.RM if rm is not specified.
787
+ * If dp is negative, round to an integer which is a multiple of 10**-dp.
788
+ * If dp is not specified, round to 0 decimal places.
789
+ *
790
+ * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
791
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
792
+ */
793
+ P.round = function (dp, rm) {
794
+ if (dp === UNDEFINED) dp = 0;
795
+ else if (dp !== ~~dp || dp < -1e6 || dp > MAX_DP) {
796
+ throw Error(INVALID_DP);
797
+ }
798
+ return round(new this.constructor(this), dp + this.e + 1, rm);
799
+ };
800
+
801
+
802
+ /*
803
+ * Return a new Big whose value is the square root of the value of this Big, rounded, if
804
+ * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
805
+ */
806
+ P.sqrt = function () {
807
+ var r, c, t,
808
+ x = this,
809
+ Big = x.constructor,
810
+ s = x.s,
811
+ e = x.e,
812
+ half = new Big('0.5');
813
+
814
+ // Zero?
815
+ if (!x.c[0]) return new Big(x);
816
+
817
+ // Negative?
818
+ if (s < 0) {
819
+ throw Error(NAME + 'No square root');
820
+ }
821
+
822
+ // Estimate.
823
+ s = Math.sqrt(x + '');
824
+
825
+ // Math.sqrt underflow/overflow?
826
+ // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
827
+ if (s === 0 || s === 1 / 0) {
828
+ c = x.c.join('');
829
+ if (!(c.length + e & 1)) c += '0';
830
+ s = Math.sqrt(c);
831
+ e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
832
+ r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
833
+ } else {
834
+ r = new Big(s + '');
835
+ }
836
+
837
+ e = r.e + (Big.DP += 4);
838
+
839
+ // Newton-Raphson iteration.
840
+ do {
841
+ t = r;
842
+ r = half.times(t.plus(x.div(t)));
843
+ } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
844
+
845
+ return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
846
+ };
847
+
848
+
849
+ /*
850
+ * Return a new Big whose value is the value of this Big times the value of Big y.
851
+ */
852
+ P.times = P.mul = function (y) {
853
+ var c,
854
+ x = this,
855
+ Big = x.constructor,
856
+ xc = x.c,
857
+ yc = (y = new Big(y)).c,
858
+ a = xc.length,
859
+ b = yc.length,
860
+ i = x.e,
861
+ j = y.e;
862
+
863
+ // Determine sign of result.
864
+ y.s = x.s == y.s ? 1 : -1;
865
+
866
+ // Return signed 0 if either 0.
867
+ if (!xc[0] || !yc[0]) {
868
+ y.c = [y.e = 0];
869
+ return y;
870
+ }
871
+
872
+ // Initialise exponent of result as x.e + y.e.
873
+ y.e = i + j;
874
+
875
+ // If array xc has fewer digits than yc, swap xc and yc, and lengths.
876
+ if (a < b) {
877
+ c = xc;
878
+ xc = yc;
879
+ yc = c;
880
+ j = a;
881
+ a = b;
882
+ b = j;
883
+ }
884
+
885
+ // Initialise coefficient array of result with zeros.
886
+ for (c = new Array(j = a + b); j--;) c[j] = 0;
887
+
888
+ // Multiply.
889
+
890
+ // i is initially xc.length.
891
+ for (i = b; i--;) {
892
+ b = 0;
893
+
894
+ // a is yc.length.
895
+ for (j = a + i; j > i;) {
896
+
897
+ // Current sum of products at this digit position, plus carry.
898
+ b = c[j] + yc[i] * xc[j - i - 1] + b;
899
+ c[j--] = b % 10;
900
+
901
+ // carry
902
+ b = b / 10 | 0;
903
+ }
904
+
905
+ c[j] = b;
906
+ }
907
+
908
+ // Increment result exponent if there is a final carry, otherwise remove leading zero.
909
+ if (b) ++y.e;
910
+ else c.shift();
911
+
912
+ // Remove trailing zeros.
913
+ for (i = c.length; !c[--i];) c.pop();
914
+ y.c = c;
915
+
916
+ return y;
917
+ };
918
+
919
+
920
+ /*
921
+ * Return a string representing the value of this Big in exponential notation rounded to dp fixed
922
+ * decimal places using rounding mode rm, or Big.RM if rm is not specified.
923
+ *
924
+ * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
925
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
926
+ */
927
+ P.toExponential = function (dp, rm) {
928
+ var x = this,
929
+ n = x.c[0];
930
+
931
+ if (dp !== UNDEFINED) {
932
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
933
+ throw Error(INVALID_DP);
934
+ }
935
+ x = round(new x.constructor(x), ++dp, rm);
936
+ for (; x.c.length < dp;) x.c.push(0);
937
+ }
938
+
939
+ return stringify(x, true, !!n);
940
+ };
941
+
942
+
943
+ /*
944
+ * Return a string representing the value of this Big in normal notation rounded to dp fixed
945
+ * decimal places using rounding mode rm, or Big.RM if rm is not specified.
946
+ *
947
+ * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
948
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
949
+ *
950
+ * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
951
+ * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
952
+ */
953
+ P.toFixed = function (dp, rm) {
954
+ var x = this,
955
+ n = x.c[0];
956
+
957
+ if (dp !== UNDEFINED) {
958
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
959
+ throw Error(INVALID_DP);
960
+ }
961
+ x = round(new x.constructor(x), dp + x.e + 1, rm);
962
+
963
+ // x.e may have changed if the value is rounded up.
964
+ for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
965
+ }
966
+
967
+ return stringify(x, false, !!n);
968
+ };
969
+
970
+
971
+ /*
972
+ * Return a string representing the value of this Big.
973
+ * Return exponential notation if this Big has a positive exponent equal to or greater than
974
+ * Big.PE, or a negative exponent equal to or less than Big.NE.
975
+ * Omit the sign for negative zero.
976
+ */
977
+ P[Symbol.for('nodejs.util.inspect.custom')] = P.toJSON = P.toString = function () {
978
+ var x = this,
979
+ Big = x.constructor;
980
+ return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
981
+ };
982
+
983
+
984
+ /*
985
+ * Return the value of this Big as a primitve number.
986
+ */
987
+ P.toNumber = function () {
988
+ var n = Number(stringify(this, true, true));
989
+ if (this.constructor.strict === true && !this.eq(n.toString())) {
990
+ throw Error(NAME + 'Imprecise conversion');
991
+ }
992
+ return n;
993
+ };
994
+
995
+
996
+ /*
997
+ * Return a string representing the value of this Big rounded to sd significant digits using
998
+ * rounding mode rm, or Big.RM if rm is not specified.
999
+ * Use exponential notation if sd is less than the number of digits necessary to represent
1000
+ * the integer part of the value in normal notation.
1001
+ *
1002
+ * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
1003
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
1004
+ */
1005
+ P.toPrecision = function (sd, rm) {
1006
+ var x = this,
1007
+ Big = x.constructor,
1008
+ n = x.c[0];
1009
+
1010
+ if (sd !== UNDEFINED) {
1011
+ if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
1012
+ throw Error(INVALID + 'precision');
1013
+ }
1014
+ x = round(new Big(x), sd, rm);
1015
+ for (; x.c.length < sd;) x.c.push(0);
1016
+ }
1017
+
1018
+ return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
1019
+ };
1020
+
1021
+
1022
+ /*
1023
+ * Return a string representing the value of this Big.
1024
+ * Return exponential notation if this Big has a positive exponent equal to or greater than
1025
+ * Big.PE, or a negative exponent equal to or less than Big.NE.
1026
+ * Include the sign for negative zero.
1027
+ */
1028
+ P.valueOf = function () {
1029
+ var x = this,
1030
+ Big = x.constructor;
1031
+ if (Big.strict === true) {
1032
+ throw Error(NAME + 'valueOf disallowed');
1033
+ }
1034
+ return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
1035
+ };
1036
+
1037
+
1038
+ // Export
1039
+
1040
+
1041
+ var Big = _Big_();
1073
1042
 
1074
1043
  const balInputStepperCss = ".bal-input-stepper{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:static;display:inline-block}.bal-input-stepper__inner{display:-ms-flexbox;display:flex;gap:.25rem;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-input-stepper__inner__text{min-width:3rem;text-align:center;font-weight:700}.bal-input-stepper__inner__text--invalid{color:var(--bal-color-text-danger)}.bal-input-stepper__inner__text--disabled{color:var(--bal-color-text-grey)}.bal-input-stepper__input{position:absolute;width:0;height:0;left:0;top:0;margin:0;padding:0;opacity:0;outline:0}";
1075
1044
 
1076
1045
  const InputStepper = /*@__PURE__*/ proxyCustomElement(class InputStepper extends HTMLElement {
1077
- constructor() {
1046
+ constructor(registerHost) {
1078
1047
  super();
1079
- this.__registerHost();
1048
+ if (registerHost !== false) {
1049
+ this.__registerHost();
1050
+ }
1080
1051
  this.balChange = createEvent(this, "balChange", 7);
1081
1052
  this.balInput = createEvent(this, "balInput", 7);
1082
1053
  this.balIncrease = createEvent(this, "balIncrease", 7);
@@ -1230,14 +1201,14 @@ const InputStepper = /*@__PURE__*/ proxyCustomElement(class InputStepper extends
1230
1201
  const elText = elInner.element('text');
1231
1202
  const increaseLabel = i18nBalInputStepper[this.language].increase;
1232
1203
  const decreaseLabel = i18nBalInputStepper[this.language].decrease;
1233
- return (h(Host, { key: '642192eee6d75e8a73622ecd3b781446163b3b4f', "aria-disabled": ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, h("div", { key: 'ee2d5f46f8fc4c49b70042964b2b0ad34a6d4e9f', class: Object.assign({}, elInner.class()) }, h("bal-button", { key: '26c6dcca2d4c065daf88f2d119d05477292c424c', a11yTitle: decreaseLabel, a11yLabel: decreaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", square: true, "data-testid": "bal-input-stepper-decrease", outlined: !this.invalid, icon: "minus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value <= this.min, onClick: _ => this.decrease(), onBalFocus: ev => this.onFocusDecrease(ev), onBalBlur: ev => this.onBlurDecrease(ev) }), h("span", { key: 'c2364d701f929bc318f4097284dbe52226c6b46a', "data-testid": "bal-input-stepper-text", class: Object.assign(Object.assign(Object.assign({}, elText.class()), elText.modifier('invalid').class(this.invalid)), elText.modifier('disabled').class(this.disabled || this.readonly)) }, formatLocaleNumber(this.value)), h("bal-button", { key: '2cb3693ef78f6a7ac36126d5c37d1424cb5235f2', a11yTitle: increaseLabel, a11yLabel: increaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", "data-testid": "bal-input-stepper-increase", square: true, outlined: !this.invalid, icon: "plus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value >= this.max, onClick: _ => this.increase(), onBalFocus: ev => this.onFocusIncrease(ev), onBalBlur: ev => this.onBlurIncrease(ev) })), h("input", Object.assign({ key: '9866c51ffe35d16677f6b23816a7aacc2dcfb3ad', class: Object.assign({}, elInput.class()), 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": ariaBooleanToString(this.disabled), "data-testid": "bal-input-stepper", type: "text", value: this.value, name: this.name, tabindex: "-1", ref: inputEl => (this.nativeInput = inputEl), readonly: this.readonly, disabled: this.disabled }, this.inheritedAttributes))));
1204
+ return (h(Host, { key: '6ad60111cc0d03d2375d5a7a490820d593b4b097', "aria-disabled": ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, h("div", { key: '734da03d0a55c27c8f7d7fa1fa10bbc6d270d775', class: Object.assign({}, elInner.class()) }, h("bal-button", { key: 'f80b191693808639c9abff0548e02a673064375b', a11yTitle: decreaseLabel, a11yLabel: decreaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", square: true, "data-testid": "bal-input-stepper-decrease", outlined: !this.invalid, icon: "minus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value <= this.min, onClick: _ => this.decrease(), onBalFocus: ev => this.onFocusDecrease(ev), onBalBlur: ev => this.onBlurDecrease(ev) }), h("span", { key: 'd83ce4220e317063f70833d02d9bd8b71cfa9cf8', "data-testid": "bal-input-stepper-text", class: Object.assign(Object.assign(Object.assign({}, elText.class()), elText.modifier('invalid').class(this.invalid)), elText.modifier('disabled').class(this.disabled || this.readonly)) }, formatLocaleNumber(this.value)), h("bal-button", { key: '15bf9caae4095f6b38e3f3405c7a0a555951fa5f', a11yTitle: increaseLabel, a11yLabel: increaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", "data-testid": "bal-input-stepper-increase", square: true, outlined: !this.invalid, icon: "plus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value >= this.max, onClick: _ => this.increase(), onBalFocus: ev => this.onFocusIncrease(ev), onBalBlur: ev => this.onBlurIncrease(ev) })), h("input", Object.assign({ key: '073cfbee7952b558bfcb15e66fb666894a85666d', class: Object.assign({}, elInput.class()), 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": ariaBooleanToString(this.disabled), "data-testid": "bal-input-stepper", type: "text", value: this.value, name: this.name, tabindex: "-1", ref: inputEl => (this.nativeInput = inputEl), readonly: this.readonly, disabled: this.disabled }, this.inheritedAttributes))));
1234
1205
  }
1235
1206
  get el() { return this; }
1236
1207
  static get watchers() { return {
1237
1208
  "debounce": ["debounceChanged"]
1238
1209
  }; }
1239
1210
  static get style() { return balInputStepperCss; }
1240
- }, [0, "bal-input-stepper", {
1211
+ }, [256, "bal-input-stepper", {
1241
1212
  "name": [1],
1242
1213
  "min": [2],
1243
1214
  "max": [2],