@baloise/ds-core 19.3.0 → 19.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1113) hide show
  1. package/components/_commonjsHelpers.js +5 -1
  2. package/components/animation.decorator.js +1 -1
  3. package/components/array.js +3 -3
  4. package/components/attributes.js +0 -3
  5. package/components/bal-accordion-details.js +16 -5
  6. package/components/bal-accordion-summary.js +17 -6
  7. package/components/bal-accordion-trigger.js +49 -17
  8. package/components/bal-accordion.js +43 -15
  9. package/components/bal-app.js +11 -6
  10. package/components/bal-badge2.js +10 -3
  11. package/components/bal-button-group2.js +10 -0
  12. package/components/bal-button2.js +106 -32
  13. package/components/bal-card-actions.js +3 -0
  14. package/components/bal-card-button.js +19 -1
  15. package/components/bal-card-subtitle.js +13 -8
  16. package/components/bal-card-title.js +3 -0
  17. package/components/bal-card2.js +30 -4
  18. package/components/bal-carousel-item.js +36 -18
  19. package/components/bal-carousel.js +59 -10
  20. package/components/bal-check2.js +23 -2
  21. package/components/bal-checkbox-group.js +61 -21
  22. package/components/bal-checkbox2.js +93 -32
  23. package/components/bal-close2.js +9 -4
  24. package/components/bal-content2.js +24 -2
  25. package/components/bal-data-item.js +6 -0
  26. package/components/bal-data-label.js +3 -0
  27. package/components/bal-data-value.js +14 -5
  28. package/components/bal-data.js +8 -3
  29. package/components/bal-date-calendar-cell2.js +3 -8
  30. package/components/bal-date-calendar2.js +27 -31
  31. package/components/bal-date.js +72 -34
  32. package/components/bal-divider.js +18 -2
  33. package/components/bal-dropdown.js +107 -43
  34. package/components/bal-field-control.js +14 -0
  35. package/components/bal-field-hint.js +9 -0
  36. package/components/bal-field-label.js +32 -0
  37. package/components/bal-field-message.js +15 -0
  38. package/components/bal-field.js +31 -10
  39. package/components/bal-file-upload.js +103 -52
  40. package/components/bal-footer.js +22 -7
  41. package/components/bal-form-grid.js +1 -2
  42. package/components/bal-form.js +10 -2
  43. package/components/bal-heading2.js +25 -6
  44. package/components/bal-hint2.js +13 -12
  45. package/components/bal-icon2.js +965 -906
  46. package/components/bal-input-date2.js +45 -11
  47. package/components/bal-input-group2.js +10 -2
  48. package/components/bal-input-slider.js +57 -19
  49. package/components/bal-input-stepper.js +1105 -1081
  50. package/components/bal-input.js +135 -42
  51. package/components/bal-label2.js +52 -4
  52. package/components/bal-list-item-accordion-body2.js +13 -7
  53. package/components/bal-list-item-accordion-head2.js +17 -7
  54. package/components/bal-list-item-content2.js +0 -1
  55. package/components/bal-list-item-icon2.js +3 -0
  56. package/components/bal-list-item-title2.js +3 -1
  57. package/components/bal-list-item2.js +34 -11
  58. package/components/bal-list2.js +16 -2
  59. package/components/bal-logo.animation.js +2 -2
  60. package/components/bal-logo2.js +15 -3
  61. package/components/bal-modal.js +37 -9
  62. package/components/bal-nav-link-grid-col2.js +8 -2
  63. package/components/bal-nav-link-grid2.js +1 -2
  64. package/components/bal-nav-link-group.js +8 -2
  65. package/components/bal-nav-link2.js +18 -4
  66. package/components/bal-nav-menu-bar2.js +11 -2
  67. package/components/bal-nav-menu-flyout2.js +10 -3
  68. package/components/bal-nav-meta-bar2.js +20 -2
  69. package/components/bal-nav.js +33 -49
  70. package/components/bal-navbar-brand.js +28 -5
  71. package/components/bal-navbar-menu-end.js +6 -0
  72. package/components/bal-navbar-menu-start.js +6 -0
  73. package/components/bal-navbar-menu.js +6 -0
  74. package/components/bal-navbar.js +12 -2
  75. package/components/bal-notices.js +10 -2
  76. package/components/bal-notification.js +11 -2
  77. package/components/bal-number-input.js +66 -150
  78. package/components/bal-option-list.js +27 -7
  79. package/components/bal-option.js +40 -13
  80. package/components/bal-pagination.js +84 -64
  81. package/components/bal-popover-content2.js +28 -1
  82. package/components/bal-popover2.js +50 -13
  83. package/components/bal-popup2.js +58 -26
  84. package/components/bal-progress-bar.js +17 -4
  85. package/components/bal-radio-group.js +57 -21
  86. package/components/bal-radio-icon2.js +23 -2
  87. package/components/bal-radio2.js +78 -29
  88. package/components/bal-segment-item.js +35 -16
  89. package/components/bal-segment.js +42 -21
  90. package/components/bal-select-option2.js +7 -2
  91. package/components/bal-select2.js +107 -50
  92. package/components/bal-shape2.js +13 -5
  93. package/components/bal-sheet.js +4 -2
  94. package/components/bal-snackbar.js +35 -9
  95. package/components/bal-spinner.animation.js +1927 -1917
  96. package/components/bal-spinner2.js +27 -9
  97. package/components/bal-stack2.js +37 -4
  98. package/components/bal-stage-back-link.js +6 -2
  99. package/components/bal-stage-image.js +1 -3
  100. package/components/bal-stage.js +17 -8
  101. package/components/bal-step-item.js +31 -1
  102. package/components/bal-steps.js +30 -12
  103. package/components/bal-switch.js +20 -2
  104. package/components/bal-tab-item.js +48 -6
  105. package/components/bal-table.js +4 -2
  106. package/components/bal-tabs2.js +103 -45
  107. package/components/bal-tag2.js +26 -2
  108. package/components/bal-text.js +136 -1
  109. package/components/bal-textarea.js +52 -24
  110. package/components/bal-time-input.js +42 -19
  111. package/components/bal-toast.js +18 -3
  112. package/components/bal-tooltip.js +21 -4
  113. package/components/breakpoints.subject.js +5 -79
  114. package/components/config.default.js +2 -1
  115. package/components/config.utils.js +1 -1
  116. package/components/date.js +3212 -3825
  117. package/components/element-states.decorator.js +1 -1
  118. package/components/floating-ui.js +2 -2
  119. package/components/focus-visible.js +2 -2
  120. package/components/focus.decorator.js +1 -1
  121. package/components/form-input.js +1 -5
  122. package/components/helpers.js +2 -2
  123. package/components/index.esm.js +122 -118
  124. package/components/index.js +171 -21
  125. package/components/index2.js +44 -588
  126. package/components/index3.js +561 -27
  127. package/components/index4.js +591 -1849
  128. package/components/index5.js +1814 -506
  129. package/components/index6.js +125 -0
  130. package/components/keyboard.helpers.js +1 -1
  131. package/components/lottie_light_html.js +11694 -11684
  132. package/components/mutation.decorator.js +1 -1
  133. package/components/overlays.js +2 -2
  134. package/components/purify.es.js +1328 -0
  135. package/components/resize.decorator.js +1 -1
  136. package/components/swipe.subject.js +1 -1
  137. package/components/swiper.util.js +2 -2
  138. package/components/tokens.esm.js +3 -2
  139. package/components/tslib.es6.js +2 -0
  140. package/components/utils.js +6 -6
  141. package/components/visibility.decorator.js +1 -1
  142. package/components/window-resize.decorator.js +1 -24
  143. package/components/window-resize.listener.js +80 -0
  144. package/components/window-resize.subject.js +26 -0
  145. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  146. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  147. package/dist/baloise-design-system/index.esm.js +1 -1
  148. package/dist/baloise-design-system/p-017e7f7adf.entry.js +1 -0
  149. package/dist/baloise-design-system/{p-00e75d0c35.system.entry.js → p-040a6174c7.system.entry.js} +1 -1
  150. package/dist/baloise-design-system/{p-6077b576a9.system.entry.js → p-05e8130a9a.system.entry.js} +1 -1
  151. package/dist/baloise-design-system/p-08bc0ab24d.system.entry.js +1 -0
  152. package/dist/baloise-design-system/p-0b9e84e4dd.system.entry.js +1 -0
  153. package/dist/baloise-design-system/p-0da4fe3026.entry.js +1 -0
  154. package/dist/baloise-design-system/p-0f679514b0.entry.js +1 -0
  155. package/dist/baloise-design-system/p-1112428fc6.entry.js +1 -0
  156. package/dist/baloise-design-system/p-152e669d59.system.entry.js +1 -0
  157. package/dist/baloise-design-system/p-166fa22c35.entry.js +1 -0
  158. package/dist/baloise-design-system/p-1799d59644.entry.js +1 -0
  159. package/dist/baloise-design-system/{p-1a99fea403.system.entry.js → p-19eda34a35.system.entry.js} +1 -1
  160. package/dist/baloise-design-system/p-1a101b475e.system.entry.js +1 -0
  161. package/dist/baloise-design-system/p-1c13d69ca1.system.entry.js +1 -0
  162. package/dist/baloise-design-system/p-1ecb79b6b5.system.entry.js +1 -0
  163. package/dist/baloise-design-system/{p-de8600efe8.system.entry.js → p-1f7d71e0f6.system.entry.js} +1 -1
  164. package/dist/baloise-design-system/p-22026f3f57.system.entry.js +1 -0
  165. package/dist/baloise-design-system/p-2384eefce1.entry.js +1 -0
  166. package/dist/baloise-design-system/p-247b0b800a.system.entry.js +1 -0
  167. package/dist/baloise-design-system/p-2690f97b41.system.entry.js +1 -0
  168. package/dist/baloise-design-system/p-29cae69b8c.entry.js +1 -0
  169. package/dist/baloise-design-system/p-2f62e8007d.entry.js +1 -0
  170. package/dist/baloise-design-system/p-3125929936.entry.js +1 -0
  171. package/dist/baloise-design-system/p-3b5c4a42c4.system.entry.js +1 -0
  172. package/dist/baloise-design-system/p-417b6e0a0b.system.entry.js +1 -0
  173. package/dist/baloise-design-system/p-426a8d1128.entry.js +1 -0
  174. package/dist/baloise-design-system/p-4360835610.entry.js +1 -0
  175. package/dist/baloise-design-system/p-448a8ba385.entry.js +1 -0
  176. package/dist/baloise-design-system/p-46092a4585.entry.js +1 -0
  177. package/dist/baloise-design-system/{p-1e517d518d.system.entry.js → p-469d7c593e.system.entry.js} +1 -1
  178. package/dist/baloise-design-system/p-4856c78a64.entry.js +1 -0
  179. package/dist/baloise-design-system/p-4b3fd230c6.system.entry.js +1 -0
  180. package/dist/baloise-design-system/p-503b4ce7d0.entry.js +1 -0
  181. package/dist/baloise-design-system/p-52fa3d7015.system.entry.js +1 -0
  182. package/dist/baloise-design-system/{p-05a5de36af.entry.js → p-5391a66037.entry.js} +1 -1
  183. package/dist/baloise-design-system/p-558adf45a6.system.entry.js +1 -0
  184. package/dist/baloise-design-system/p-56951b4bb7.system.entry.js +1 -0
  185. package/dist/baloise-design-system/p-571b32fead.system.entry.js +1 -0
  186. package/dist/baloise-design-system/p-5792932f82.system.entry.js +1 -0
  187. package/dist/baloise-design-system/p-5aa8ca5691.entry.js +1 -0
  188. package/dist/baloise-design-system/p-5bc0576341.entry.js +1 -0
  189. package/dist/baloise-design-system/p-5da1420f1a.system.entry.js +1 -0
  190. package/dist/baloise-design-system/p-5ea15c8fda.entry.js +1 -0
  191. package/dist/baloise-design-system/{p-240e3621c6.entry.js → p-5ea5a9b3fa.entry.js} +1 -1
  192. package/dist/baloise-design-system/p-605048a7e8.system.entry.js +1 -0
  193. package/dist/baloise-design-system/{p-d112488f3c.system.entry.js → p-605b22e87a.system.entry.js} +1 -1
  194. package/dist/baloise-design-system/p-619670d086.system.entry.js +1 -0
  195. package/dist/baloise-design-system/p-61d215dcc5.entry.js +1 -0
  196. package/dist/baloise-design-system/p-653f4e4238.entry.js +1 -0
  197. package/dist/baloise-design-system/p-6542d12863.entry.js +1 -0
  198. package/dist/baloise-design-system/p-680fe70c1a.entry.js +1 -0
  199. package/dist/baloise-design-system/p-68162ab75a.entry.js +1 -0
  200. package/dist/baloise-design-system/p-6d511d8e8e.system.entry.js +1 -0
  201. package/dist/baloise-design-system/p-6d5bbdc67a.entry.js +1 -0
  202. package/dist/baloise-design-system/p-6d716224a8.entry.js +1 -0
  203. package/dist/baloise-design-system/p-6e463dc74b.system.entry.js +1 -0
  204. package/dist/baloise-design-system/{p-7632019f26.system.entry.js → p-6eeb094b9d.system.entry.js} +1 -1
  205. package/dist/baloise-design-system/p-6efb9d0430.system.entry.js +1 -0
  206. package/dist/baloise-design-system/p-6f40242a5d.entry.js +1 -0
  207. package/dist/baloise-design-system/p-74dd1a8023.entry.js +1 -0
  208. package/dist/baloise-design-system/p-750daedf10.system.entry.js +1 -0
  209. package/dist/baloise-design-system/p-7778560b6f.entry.js +1 -0
  210. package/dist/baloise-design-system/p-7b1dff4795.entry.js +1 -0
  211. package/dist/baloise-design-system/p-7cb21d670b.system.entry.js +1 -0
  212. package/dist/baloise-design-system/p-7e5c62d014.entry.js +1 -0
  213. package/dist/baloise-design-system/p-7e88d10258.system.entry.js +1 -0
  214. package/dist/baloise-design-system/p-833e1e02aa.entry.js +1 -0
  215. package/dist/baloise-design-system/p-83a6310bc0.entry.js +1 -0
  216. package/dist/baloise-design-system/{p-160c193287.entry.js → p-84f3cdac9b.entry.js} +1 -1
  217. package/dist/baloise-design-system/p-8c5aac149f.entry.js +1 -0
  218. package/dist/baloise-design-system/p-8f8bef4656.system.entry.js +1 -0
  219. package/dist/baloise-design-system/p-909bc3558a.system.entry.js +1 -0
  220. package/dist/baloise-design-system/p-925b31dca9.entry.js +1 -0
  221. package/dist/baloise-design-system/p-9276e4e5ca.system.entry.js +1 -0
  222. package/dist/baloise-design-system/{p-0d07e6caf8.entry.js → p-9417181fc3.entry.js} +1 -1
  223. package/dist/baloise-design-system/p-96fbe5e737.entry.js +1 -0
  224. package/dist/baloise-design-system/p-99d1051abd.system.entry.js +1 -0
  225. package/dist/baloise-design-system/p-9bed353090.system.entry.js +1 -0
  226. package/dist/baloise-design-system/p-9f221cd147.system.entry.js +1 -0
  227. package/dist/baloise-design-system/p-B1TzZiNl.js +1 -0
  228. package/dist/baloise-design-system/p-B1a79Kak.system.js +1 -0
  229. package/dist/baloise-design-system/p-B23n0-TV.js +1 -0
  230. package/dist/baloise-design-system/p-B3Q-Lii3.js +2 -0
  231. package/dist/baloise-design-system/p-B4Kne3kP.system.js +1 -0
  232. package/dist/baloise-design-system/p-B71F7E77.js +1 -0
  233. package/dist/baloise-design-system/p-B7wsjSwt.system.js +1 -0
  234. package/dist/baloise-design-system/p-BANVEd3P.js +1 -0
  235. package/dist/baloise-design-system/p-BAaDJIzy.js +1 -0
  236. package/dist/baloise-design-system/p-BC9JH89x.js +1 -0
  237. package/dist/baloise-design-system/p-BFTU3MAI.js +1 -0
  238. package/dist/baloise-design-system/{p-c0c91eb1.js → p-BG4j3FEv.js} +1 -1
  239. package/dist/baloise-design-system/{p-53e09ecb.js → p-BHFw3KrT.js} +1 -1
  240. package/dist/baloise-design-system/{p-acf222fd.js → p-BHYxMhaq.js} +1 -1
  241. package/dist/baloise-design-system/p-BJQK_KjT.js +1 -0
  242. package/dist/baloise-design-system/{p-bb3d79e0.js → p-BLUHPuPg.js} +1 -1
  243. package/dist/baloise-design-system/{p-1c41de53.system.js → p-BPUKeAhO.system.js} +1 -1
  244. package/dist/baloise-design-system/{p-ec9a7cf5.system.js → p-BQvgbY93.system.js} +1 -1
  245. package/dist/baloise-design-system/p-BnVL_HEz.js +1 -0
  246. package/dist/baloise-design-system/{p-6c080ebc.system.js → p-Bnn4iNSc.system.js} +1 -1
  247. package/dist/baloise-design-system/{p-55ebd30d.js → p-Bp0dpjer.js} +1 -1
  248. package/dist/baloise-design-system/{p-5b163efa.js → p-BsGkq7do.js} +1 -1
  249. package/dist/baloise-design-system/p-BvmIi0Pf.js +1 -0
  250. package/dist/baloise-design-system/p-BzYBOtnf.js +1 -0
  251. package/dist/baloise-design-system/p-Bzy18UgU.system.js +1 -0
  252. package/dist/baloise-design-system/p-C2YKdNW7.system.js +1 -0
  253. package/dist/baloise-design-system/{p-924b576e.system.js → p-C4hsvc4v.system.js} +1 -1
  254. package/dist/baloise-design-system/{p-063808d7.js → p-C4sZQbkT.js} +1 -1
  255. package/dist/baloise-design-system/p-C78VTo3I.js +1 -0
  256. package/dist/baloise-design-system/p-C8S5XlJl.js +1 -0
  257. package/dist/baloise-design-system/p-CEOTg0oT.system.js +1 -0
  258. package/dist/baloise-design-system/p-CFSqydrN.system.js +1 -0
  259. package/dist/baloise-design-system/p-CKLuFkEh.js +1 -0
  260. package/dist/baloise-design-system/p-CbvOgU0G.js +1 -0
  261. package/dist/baloise-design-system/p-Ch5Ar_Aw.system.js +1 -0
  262. package/dist/baloise-design-system/p-CiWErrXI.system.js +1 -0
  263. package/dist/baloise-design-system/p-Cj6DXhmQ.js +1 -0
  264. package/dist/baloise-design-system/{p-96216bd1.js → p-Ck3aT69N.js} +1 -1
  265. package/dist/baloise-design-system/p-Clmofeob.js +1 -0
  266. package/dist/baloise-design-system/{p-fbce8119.system.js → p-Cm94K4OH.system.js} +1 -1
  267. package/dist/baloise-design-system/p-CoTulE_f.js +1 -0
  268. package/dist/baloise-design-system/p-CpWDVANq.system.js +1 -0
  269. package/dist/baloise-design-system/{p-d0537382.system.js → p-Cu1ebAbd.system.js} +1 -1
  270. package/dist/baloise-design-system/{p-b2f7e364.js → p-Cwb5cm_s.js} +1 -1
  271. package/dist/baloise-design-system/p-CwvovJM0.system.js +3 -0
  272. package/dist/baloise-design-system/{p-2509cd53.system.js → p-CyfydXgM.system.js} +1 -1
  273. package/dist/baloise-design-system/p-Czl2AFQD.system.js +1 -0
  274. package/dist/baloise-design-system/p-D-yL3ygS.system.js +1 -0
  275. package/dist/baloise-design-system/p-D0Jo39A5.system.js +1 -0
  276. package/dist/baloise-design-system/p-DA4RmE59.system.js +1 -0
  277. package/dist/baloise-design-system/{p-2908a4b8.system.js → p-DJopuiVl.system.js} +1 -1
  278. package/dist/baloise-design-system/{p-50f3b012.js → p-DKxvaA1I.js} +1 -1
  279. package/dist/baloise-design-system/p-DMUz15_s.system.js +1 -0
  280. package/dist/baloise-design-system/p-DPBQ5EN8.system.js +1 -0
  281. package/dist/baloise-design-system/p-DTDY1hlV.js +1 -0
  282. package/dist/baloise-design-system/p-DV-El3D9.js +1 -0
  283. package/dist/baloise-design-system/p-DWQYzEm7.system.js +1 -0
  284. package/dist/baloise-design-system/p-DY72UdN1.system.js +1 -0
  285. package/dist/baloise-design-system/p-DfEhX0m_.system.js +1 -0
  286. package/dist/baloise-design-system/p-DhSS4q-R.system.js +1 -0
  287. package/dist/baloise-design-system/{p-9f7a1215.system.js → p-DndeZqk_.system.js} +1 -1
  288. package/dist/baloise-design-system/{p-aae6003e.js → p-Do4k83YR.js} +1 -1
  289. package/dist/baloise-design-system/{p-b79d8942.system.js → p-Dou6adza.system.js} +1 -1
  290. package/dist/baloise-design-system/p-DpQhsHDk.system.js +9 -0
  291. package/dist/baloise-design-system/p-DqCbGYzv.js +1 -0
  292. package/dist/baloise-design-system/p-Dxz8zGB7.system.js +1 -0
  293. package/dist/baloise-design-system/p-MVgFPFA5.js +1 -0
  294. package/dist/baloise-design-system/p-RzJv7e7Y.system.js +1 -0
  295. package/dist/baloise-design-system/p-S5-HQnxq.js +1 -0
  296. package/dist/baloise-design-system/p-WkcLp-K_.system.js +1 -0
  297. package/dist/baloise-design-system/p-WmWy2rJ-.system.js +2 -0
  298. package/dist/baloise-design-system/{p-4a0012fa.js → p-XiJ1YYc9.js} +1 -1
  299. package/dist/baloise-design-system/p-a34dc82fd9.system.entry.js +1 -0
  300. package/dist/baloise-design-system/p-a5802e97d8.system.entry.js +1 -0
  301. package/dist/baloise-design-system/p-a913a946ea.entry.js +1 -0
  302. package/dist/baloise-design-system/p-aa9f1d22cd.system.entry.js +1 -0
  303. package/dist/baloise-design-system/p-aac9ec6687.system.entry.js +1 -0
  304. package/dist/baloise-design-system/p-ab6db026de.entry.js +1 -0
  305. package/dist/baloise-design-system/p-adcdd7eb63.entry.js +1 -0
  306. package/dist/baloise-design-system/p-b050e8a82d.entry.js +1 -0
  307. package/dist/baloise-design-system/p-b0d0cb1167.system.entry.js +1 -0
  308. package/dist/baloise-design-system/p-b0d2fd44ef.system.entry.js +1 -0
  309. package/dist/baloise-design-system/p-b5712e673a.entry.js +1 -0
  310. package/dist/baloise-design-system/p-be07e385c5.entry.js +1 -0
  311. package/dist/baloise-design-system/p-bf46f70999.entry.js +1 -0
  312. package/dist/baloise-design-system/p-c2a5d480b6.entry.js +1 -0
  313. package/dist/baloise-design-system/p-c4239a6ebb.entry.js +1 -0
  314. package/dist/baloise-design-system/{p-a06f682955.entry.js → p-c6a6f41844.entry.js} +1 -1
  315. package/dist/baloise-design-system/p-c819c5feef.system.entry.js +1 -0
  316. package/dist/baloise-design-system/p-c92ac7c2e0.system.entry.js +1 -0
  317. package/dist/baloise-design-system/p-cca697bd26.system.entry.js +1 -0
  318. package/dist/baloise-design-system/{p-5420740f.system.js → p-cfEgJ3Y7.system.js} +1 -1
  319. package/dist/baloise-design-system/p-d4c44cc24e.entry.js +1 -0
  320. package/dist/baloise-design-system/{p-0b39e3fc7f.system.entry.js → p-d575fb9113.system.entry.js} +1 -1
  321. package/dist/baloise-design-system/p-d5b648b0fc.system.entry.js +1 -0
  322. package/dist/baloise-design-system/p-d78505b4e8.entry.js +1 -0
  323. package/dist/baloise-design-system/p-d7a09b758f.entry.js +1 -0
  324. package/dist/baloise-design-system/p-dbcb876d25.entry.js +1 -0
  325. package/dist/baloise-design-system/p-dc3a6cd2e6.system.entry.js +1 -0
  326. package/dist/baloise-design-system/p-dd5aae489e.entry.js +1 -0
  327. package/dist/baloise-design-system/{p-eecefb0a.system.js → p-drmuT566.system.js} +1 -1
  328. package/dist/baloise-design-system/p-e016efc91a.entry.js +1 -0
  329. package/dist/baloise-design-system/p-e0c4414dd8.system.entry.js +1 -0
  330. package/dist/baloise-design-system/p-e15a90b22c.system.entry.js +1 -0
  331. package/dist/baloise-design-system/p-e57bc8a630.system.entry.js +1 -0
  332. package/dist/baloise-design-system/p-e92ad3fae1.system.entry.js +1 -0
  333. package/dist/baloise-design-system/{p-a82d082286.system.entry.js → p-eb68793baa.system.entry.js} +1 -1
  334. package/dist/baloise-design-system/p-ee43ce93b7.system.entry.js +1 -0
  335. package/dist/baloise-design-system/p-ee5156fb85.system.entry.js +1 -0
  336. package/dist/baloise-design-system/p-ee604e4bcc.system.entry.js +1 -0
  337. package/dist/baloise-design-system/p-f0957640f5.entry.js +1 -0
  338. package/dist/baloise-design-system/p-fa3aa15442.entry.js +1 -0
  339. package/dist/baloise-design-system/p-fd73720dcb.entry.js +1 -0
  340. package/dist/baloise-design-system/p-ft8ZtF1G.system.js +1 -0
  341. package/dist/baloise-design-system/{p-a7894ace.js → p-gnUWqxps.js} +1 -1
  342. package/dist/baloise-design-system/p-jv0tWyso.js +1 -0
  343. package/dist/baloise-design-system/p-lFDHYLJ4.system.js +1 -0
  344. package/dist/baloise-design-system/p-m5GX4h3i.system.js +1 -0
  345. package/dist/baloise-design-system/p-pkPHUz5e.js +2 -0
  346. package/dist/baloise-design-system/p-xbSOW78W.js +1 -0
  347. package/dist/cjs/{_commonjsHelpers-68cdf74f.js → _commonjsHelpers-BJu3ubxk.js} +5 -0
  348. package/dist/cjs/{animation.decorator-40bdfb52.js → animation.decorator-BeUy1FNI.js} +9 -9
  349. package/dist/cjs/{array-ae164ca3.js → array-Db63Hhl1.js} +3 -3
  350. package/dist/cjs/{attributes-11acd153.js → attributes-Cp0kpySW.js} +0 -3
  351. package/dist/cjs/bal-accordion_4.cjs.entry.js +142 -67
  352. package/dist/cjs/bal-app.cjs.entry.js +23 -24
  353. package/dist/cjs/bal-badge.cjs.entry.js +12 -7
  354. package/dist/cjs/bal-button_2.cjs.entry.js +121 -45
  355. package/dist/cjs/bal-card_6.cjs.entry.js +69 -10
  356. package/dist/cjs/bal-carousel_2.cjs.entry.js +113 -54
  357. package/dist/cjs/bal-check.cjs.entry.js +25 -6
  358. package/dist/cjs/bal-checkbox_2.cjs.entry.js +178 -83
  359. package/dist/cjs/bal-close.cjs.entry.js +14 -15
  360. package/dist/cjs/bal-content.cjs.entry.js +28 -10
  361. package/dist/cjs/bal-data_4.cjs.entry.js +37 -15
  362. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +8 -18
  363. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +90 -67
  364. package/dist/cjs/bal-date.cjs.entry.js +109 -76
  365. package/dist/cjs/bal-divider.cjs.entry.js +22 -10
  366. package/dist/cjs/bal-dropdown.cjs.entry.js +139 -82
  367. package/dist/cjs/bal-field_5.cjs.entry.js +109 -23
  368. package/dist/cjs/bal-file-upload.cjs.entry.js +120 -76
  369. package/dist/cjs/bal-footer.cjs.entry.js +34 -24
  370. package/dist/cjs/bal-form-col_2.cjs.entry.js +2 -5
  371. package/dist/cjs/bal-form.cjs.entry.js +14 -11
  372. package/dist/cjs/bal-heading_2.cjs.entry.js +74 -14
  373. package/dist/cjs/bal-hint_5.cjs.entry.js +110 -50
  374. package/dist/cjs/bal-icon.cjs.entry.js +969 -916
  375. package/dist/cjs/bal-input-group.cjs.entry.js +12 -6
  376. package/dist/cjs/bal-input-slider.cjs.entry.js +68 -34
  377. package/dist/cjs/bal-input-stepper.cjs.entry.js +1112 -1089
  378. package/dist/cjs/bal-input.cjs.entry.js +146 -58
  379. package/dist/cjs/bal-label.cjs.entry.js +59 -17
  380. package/dist/cjs/bal-list_8.cjs.entry.js +109 -59
  381. package/dist/cjs/{bal-logo.animation-9704970d.js → bal-logo.animation-q2TTdoP3.js} +4 -3
  382. package/dist/cjs/bal-logo.cjs.entry.js +26 -20
  383. package/dist/cjs/bal-modal_3.cjs.entry.js +48 -25
  384. package/dist/cjs/bal-nav_8.cjs.entry.js +138 -102
  385. package/dist/cjs/bal-navbar_5.cjs.entry.js +74 -30
  386. package/dist/cjs/bal-notices_3.cjs.entry.js +65 -18
  387. package/dist/cjs/bal-notification.cjs.entry.js +13 -6
  388. package/dist/cjs/bal-number-input.cjs.entry.js +83 -174
  389. package/dist/cjs/bal-option_2.cjs.entry.js +91 -49
  390. package/dist/cjs/bal-pagination.cjs.entry.js +87 -68
  391. package/dist/cjs/bal-popup.cjs.entry.js +72 -46
  392. package/dist/cjs/bal-progress-bar.cjs.entry.js +25 -17
  393. package/dist/cjs/bal-radio-icon.cjs.entry.js +25 -6
  394. package/dist/cjs/bal-radio_2.cjs.entry.js +161 -80
  395. package/dist/cjs/bal-segment_2.cjs.entry.js +98 -65
  396. package/dist/cjs/bal-select_2.cjs.entry.js +137 -81
  397. package/dist/cjs/bal-shape.cjs.entry.js +16 -10
  398. package/dist/cjs/bal-sheet.cjs.entry.js +6 -6
  399. package/dist/cjs/{bal-spinner.animation-a81cf10f.js → bal-spinner.animation-BL6PkxOx.js} +1929 -1919
  400. package/dist/cjs/bal-spinner.cjs.entry.js +34 -23
  401. package/dist/cjs/bal-stack.cjs.entry.js +41 -12
  402. package/dist/cjs/bal-stage_6.cjs.entry.js +27 -21
  403. package/dist/cjs/bal-step-item.cjs.entry.js +34 -6
  404. package/dist/cjs/bal-steps.cjs.entry.js +45 -33
  405. package/dist/cjs/bal-switch.cjs.entry.js +22 -6
  406. package/dist/cjs/bal-tab-item_2.cjs.entry.js +183 -90
  407. package/dist/cjs/bal-table.cjs.entry.js +6 -6
  408. package/dist/cjs/bal-tag_2.cjs.entry.js +31 -9
  409. package/dist/cjs/bal-textarea.cjs.entry.js +63 -40
  410. package/dist/cjs/bal-time-input.cjs.entry.js +58 -41
  411. package/dist/cjs/bal-tooltip.cjs.entry.js +31 -20
  412. package/dist/cjs/baloise-design-system.cjs.js +7 -14
  413. package/dist/cjs/{breakpoints.decorator-881dd92d.js → breakpoints.decorator-DLXGwQpP.js} +1 -1
  414. package/dist/cjs/{breakpoints.subject-485cf660.js → breakpoints.subject-CidQD5zH.js} +16 -17
  415. package/dist/cjs/{config.decorator-de244188.js → config.decorator-CDkNZ1Fo.js} +3 -3
  416. package/dist/cjs/{date-ce9c7f3f.js → date-C9_0qSTi.js} +3217 -3830
  417. package/dist/cjs/{device-9f97a845.js → device-CoI0V6AY.js} +5 -5
  418. package/dist/cjs/{element-states.decorator-aa5126e2.js → element-states.decorator-DGQNhvD6.js} +12 -13
  419. package/dist/cjs/{floating-ui-4a4a1aed.js → floating-ui-BEMfzblh.js} +3 -3
  420. package/dist/cjs/{focus-visible-a434c91f.js → focus-visible-DFZa8IIA.js} +2 -2
  421. package/dist/cjs/{focus.decorator-14a4a576.js → focus.decorator-DFy3pFaT.js} +9 -10
  422. package/dist/cjs/{form-input-e9974433.js → form-input-BUGd2Bkz.js} +2 -7
  423. package/dist/cjs/index-BZ67Dcnb.js +50 -0
  424. package/dist/cjs/index-BobQkZjn.js +1868 -0
  425. package/dist/cjs/index-C413E-IK.js +571 -0
  426. package/dist/cjs/index-COfbtsc7.js +3035 -0
  427. package/dist/cjs/index-CuY5w2n4.js +602 -0
  428. package/dist/cjs/index-ifu9fMyU.js +127 -0
  429. package/dist/cjs/index.cjs.js +65 -74
  430. package/dist/cjs/index.esm-CKDqUwIC.js +216 -0
  431. package/dist/cjs/{listener-52d2e5fd.js → listener-t3ifJtK5.js} +2 -2
  432. package/dist/cjs/loader.cjs.js +3 -12
  433. package/dist/cjs/lottie_light_html-OP40Exqq.js +11704 -0
  434. package/dist/cjs/{mutation.decorator-485e250e.js → mutation.decorator-DyFafPfX.js} +5 -5
  435. package/dist/cjs/{number-24bf265b.js → number-CYeUjdPM.js} +3 -4
  436. package/dist/cjs/{overlays-94ebb271.js → overlays-CZHV6VH9.js} +5 -6
  437. package/dist/cjs/purify.es-CJTp6uKN.js +1330 -0
  438. package/dist/cjs/{resize.decorator-e4a92322.js → resize.decorator-B_NiBCMZ.js} +5 -6
  439. package/dist/cjs/{scroll-dc37ea84.js → scroll-DY4kxt0j.js} +5 -5
  440. package/dist/cjs/{swipe.decorator-9c105f90.js → swipe.decorator-CNDcaR9i.js} +1 -1
  441. package/dist/cjs/{swipe.subject-191f7d8a.js → swipe.subject-DtAxEK8t.js} +5 -5
  442. package/dist/cjs/{swiper.util-d23b8eb0.js → swiper.util-nyFqwHcs.js} +15 -16
  443. package/dist/cjs/{tokens.esm-e14cedac.js → tokens.esm-DU04pfsc.js} +2 -1
  444. package/dist/cjs/{tslib.es6-a680968e.js → tslib.es6-DrfCPgT9.js} +2 -0
  445. package/dist/cjs/{utils-9ea175af.js → utils-Bl0u6rg1.js} +6 -6
  446. package/dist/cjs/{visibility.decorator-a218aab9.js → visibility.decorator-C7uDX3Z3.js} +5 -5
  447. package/dist/cjs/window-resize.decorator-4PWq713L.js +25 -0
  448. package/dist/cjs/window-resize.subject-GSXXkOcC.js +28 -0
  449. package/dist/collection/collection-manifest.json +1 -1
  450. package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +18 -6
  451. package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +19 -7
  452. package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +57 -24
  453. package/dist/collection/components/bal-accordion/bal-accordion.js +47 -18
  454. package/dist/collection/components/bal-app/bal-app.js +10 -4
  455. package/dist/collection/components/bal-badge/bal-badge.js +13 -5
  456. package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +13 -3
  457. package/dist/collection/components/bal-button/bal-button.js +192 -63
  458. package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +4 -1
  459. package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +26 -8
  460. package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +16 -5
  461. package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +4 -1
  462. package/dist/collection/components/bal-card/bal-card.css +1 -1
  463. package/dist/collection/components/bal-card/bal-card.js +36 -9
  464. package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +45 -27
  465. package/dist/collection/components/bal-carousel/bal-carousel.js +64 -15
  466. package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +28 -6
  467. package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +72 -29
  468. package/dist/collection/components/bal-checkbox/bal-checkbox.js +109 -47
  469. package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +24 -5
  470. package/dist/collection/components/bal-close/bal-close.js +8 -2
  471. package/dist/collection/components/bal-content/bal-content.js +28 -5
  472. package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +8 -2
  473. package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +4 -1
  474. package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +15 -6
  475. package/dist/collection/components/bal-data/bal-data.js +9 -3
  476. package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +24 -26
  477. package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +11 -16
  478. package/dist/collection/components/bal-date/bal-date.js +85 -45
  479. package/dist/collection/components/bal-divider/bal-divider.js +21 -4
  480. package/dist/collection/components/bal-dropdown/bal-dropdown.js +118 -52
  481. package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +18 -4
  482. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +12 -3
  483. package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +40 -8
  484. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +20 -5
  485. package/dist/collection/components/bal-field/bal-field.js +36 -14
  486. package/dist/collection/components/bal-file-upload/bal-file-upload.js +67 -33
  487. package/dist/collection/components/bal-footer/bal-footer.js +20 -3
  488. package/dist/collection/components/bal-form/bal-form.js +12 -3
  489. package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +1 -1
  490. package/dist/collection/components/bal-heading/bal-heading.js +33 -13
  491. package/dist/collection/components/bal-hint/bal-hint.css +1 -1
  492. package/dist/collection/components/bal-hint/bal-hint.js +9 -7
  493. package/dist/collection/components/bal-icon/bal-icon.js +82 -36
  494. package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +54 -19
  495. package/dist/collection/components/bal-input/bal-input-util.js +29 -0
  496. package/dist/collection/components/bal-input/bal-input.js +134 -69
  497. package/dist/collection/components/bal-input-group/bal-input-group.js +12 -3
  498. package/dist/collection/components/bal-input-slider/bal-input-slider.js +66 -27
  499. package/dist/collection/components/bal-input-stepper/bal-input-stepper.css +1 -1
  500. package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +62 -40
  501. package/dist/collection/components/bal-label/bal-label.js +62 -13
  502. package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +42 -19
  503. package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +12 -7
  504. package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +16 -6
  505. package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +1 -4
  506. package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +4 -1
  507. package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +5 -3
  508. package/dist/collection/components/bal-list/bal-list.js +20 -5
  509. package/dist/collection/components/bal-logo/bal-logo.js +16 -3
  510. package/dist/collection/components/bal-modal/bal-modal.js +48 -17
  511. package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +23 -8
  512. package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +8 -1
  513. package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +8 -1
  514. package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +12 -2
  515. package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +8 -1
  516. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +24 -5
  517. package/dist/collection/components/bal-nav/bal-nav.js +18 -12
  518. package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +2 -2
  519. package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +7 -25
  520. package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +2 -2
  521. package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +36 -13
  522. package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +7 -1
  523. package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +7 -1
  524. package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +7 -1
  525. package/dist/collection/components/bal-navbar/bal-navbar.js +14 -3
  526. package/dist/collection/components/bal-notices/bal-notices.js +12 -3
  527. package/dist/collection/components/bal-notification/bal-notification.js +13 -3
  528. package/dist/collection/components/bal-number-input/bal-number-input.js +65 -36
  529. package/dist/collection/components/bal-option/bal-option.js +46 -18
  530. package/dist/collection/components/bal-option-list/bal-option-list.js +29 -8
  531. package/dist/collection/components/bal-pagination/bal-pagination.css +1 -1
  532. package/dist/collection/components/bal-pagination/bal-pagination.js +42 -15
  533. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +36 -9
  534. package/dist/collection/components/bal-popover/bal-popover.js +52 -12
  535. package/dist/collection/components/bal-popup/bal-popup.js +64 -31
  536. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +16 -3
  537. package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +68 -30
  538. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +28 -6
  539. package/dist/collection/components/bal-radio/bal-radio.js +93 -43
  540. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +39 -19
  541. package/dist/collection/components/bal-segment/bal-segment.js +40 -20
  542. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +11 -6
  543. package/dist/collection/components/bal-select/bal-select.js +109 -51
  544. package/dist/collection/components/bal-shape/bal-shape.js +15 -6
  545. package/dist/collection/components/bal-sheet/bal-sheet.js +4 -1
  546. package/dist/collection/components/bal-snackbar/bal-snackbar.js +42 -13
  547. package/dist/collection/components/bal-spinner/bal-spinner.js +30 -11
  548. package/dist/collection/components/bal-stack/bal-stack.js +47 -13
  549. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +10 -6
  550. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +2 -4
  551. package/dist/collection/components/bal-stage/bal-stage.js +22 -12
  552. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +42 -12
  553. package/dist/collection/components/bal-steps/bal-steps.js +31 -11
  554. package/dist/collection/components/bal-table/bal-table.js +4 -1
  555. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +69 -30
  556. package/dist/collection/components/bal-tabs/bal-tabs.js +111 -52
  557. package/dist/collection/components/bal-tag/bal-tag.js +33 -8
  558. package/dist/collection/components/bal-text/bal-text.js +58 -13
  559. package/dist/collection/components/bal-textarea/bal-textarea.js +69 -40
  560. package/dist/collection/components/bal-time-input/bal-time-input.js +44 -20
  561. package/dist/collection/components/bal-toast/bal-toast.js +21 -4
  562. package/dist/collection/components/bal-tooltip/bal-tooltip.js +24 -6
  563. package/dist/collection/index.js +0 -4
  564. package/dist/collection/initialize.js +33 -2
  565. package/dist/collection/tags-all.js +119 -0
  566. package/dist/collection/utils/config/config.default.js +1 -0
  567. package/dist/collection/utils/constants/version.constant.js +1 -1
  568. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
  569. package/dist/esm/{animation.decorator-7fca988f.js → animation.decorator-DtxbEYY8.js} +2 -2
  570. package/dist/esm/{array-4c09dfe3.js → array-CDfSqLEo.js} +3 -3
  571. package/dist/esm/{attributes-a3e70948.js → attributes-C4sZQbkT.js} +0 -3
  572. package/dist/esm/bal-accordion_4.entry.js +130 -53
  573. package/dist/esm/bal-app.entry.js +13 -12
  574. package/dist/esm/bal-badge.entry.js +12 -5
  575. package/dist/esm/bal-button_2.entry.js +120 -42
  576. package/dist/esm/bal-card_6.entry.js +69 -8
  577. package/dist/esm/bal-carousel_2.entry.js +110 -49
  578. package/dist/esm/bal-check.entry.js +25 -4
  579. package/dist/esm/bal-checkbox_2.entry.js +172 -75
  580. package/dist/esm/bal-close.entry.js +12 -11
  581. package/dist/esm/bal-content.entry.js +27 -7
  582. package/dist/esm/bal-data_4.entry.js +37 -13
  583. package/dist/esm/bal-date-calendar-cell.entry.js +8 -16
  584. package/dist/esm/bal-date-calendar_2.entry.js +86 -61
  585. package/dist/esm/bal-date.entry.js +92 -57
  586. package/dist/esm/bal-divider.entry.js +21 -7
  587. package/dist/esm/bal-dropdown.entry.js +120 -61
  588. package/dist/esm/bal-field_5.entry.js +107 -19
  589. package/dist/esm/bal-file-upload.entry.js +119 -73
  590. package/dist/esm/bal-footer.entry.js +27 -15
  591. package/dist/esm/bal-form-col_2.entry.js +2 -3
  592. package/dist/esm/bal-form.entry.js +12 -7
  593. package/dist/esm/bal-heading_2.entry.js +73 -11
  594. package/dist/esm/bal-hint_5.entry.js +105 -43
  595. package/dist/esm/bal-icon.entry.js +969 -914
  596. package/dist/esm/bal-input-group.entry.js +12 -4
  597. package/dist/esm/bal-input-slider.entry.js +67 -31
  598. package/dist/esm/bal-input-stepper.entry.js +1108 -1083
  599. package/dist/esm/bal-input.entry.js +144 -54
  600. package/dist/esm/bal-label.entry.js +56 -12
  601. package/dist/esm/bal-list_8.entry.js +97 -45
  602. package/dist/esm/{bal-logo.animation-560601c6.js → bal-logo.animation-Bm-_mal3.js} +4 -3
  603. package/dist/esm/bal-logo.entry.js +24 -16
  604. package/dist/esm/bal-modal_3.entry.js +43 -18
  605. package/dist/esm/bal-nav_8.entry.js +117 -79
  606. package/dist/esm/bal-navbar_5.entry.js +69 -23
  607. package/dist/esm/bal-notices_3.entry.js +65 -16
  608. package/dist/esm/bal-notification.entry.js +13 -4
  609. package/dist/esm/bal-number-input.entry.js +78 -167
  610. package/dist/esm/bal-option_2.entry.js +77 -33
  611. package/dist/esm/bal-pagination.entry.js +87 -66
  612. package/dist/esm/bal-popup.entry.js +64 -36
  613. package/dist/esm/bal-progress-bar.entry.js +24 -14
  614. package/dist/esm/bal-radio-icon.entry.js +25 -4
  615. package/dist/esm/bal-radio_2.entry.js +155 -72
  616. package/dist/esm/bal-segment_2.entry.js +91 -56
  617. package/dist/esm/bal-select_2.entry.js +130 -72
  618. package/dist/esm/bal-shape.entry.js +16 -8
  619. package/dist/esm/bal-sheet.entry.js +6 -4
  620. package/dist/esm/{bal-spinner.animation-81d4326e.js → bal-spinner.animation-Bv2Ow6xu.js} +1929 -1919
  621. package/dist/esm/bal-spinner.entry.js +31 -18
  622. package/dist/esm/bal-stack.entry.js +40 -9
  623. package/dist/esm/bal-stage_6.entry.js +26 -18
  624. package/dist/esm/bal-step-item.entry.js +34 -4
  625. package/dist/esm/bal-steps.entry.js +43 -29
  626. package/dist/esm/bal-switch.entry.js +22 -4
  627. package/dist/esm/bal-tab-item_2.entry.js +170 -75
  628. package/dist/esm/bal-table.entry.js +6 -4
  629. package/dist/esm/bal-tag_2.entry.js +31 -7
  630. package/dist/esm/bal-textarea.entry.js +62 -37
  631. package/dist/esm/bal-time-input.entry.js +56 -37
  632. package/dist/esm/bal-tooltip.entry.js +28 -15
  633. package/dist/esm/baloise-design-system.js +5 -11
  634. package/dist/esm/{breakpoints.decorator-4de4315f.js → breakpoints.decorator-SHkWCW_Y.js} +1 -1
  635. package/dist/esm/{breakpoints.subject-2f68e834.js → breakpoints.subject-C7fjILif.js} +4 -5
  636. package/dist/esm/{config.decorator-6795d1fe.js → config.decorator-T4wBa62Z.js} +1 -1
  637. package/dist/esm/{date-87bdb1d1.js → date-B9gcRx4E.js} +3213 -3826
  638. package/dist/esm/{device-8c6d2881.js → device-ClkcmLoi.js} +1 -1
  639. package/dist/esm/{element-states.decorator-d99dc83c.js → element-states.decorator-DH5waKVu.js} +2 -3
  640. package/dist/esm/{floating-ui-8ffbc979.js → floating-ui-CTp1F0dK.js} +2 -2
  641. package/dist/esm/{focus-visible-c1d6b5b8.js → focus-visible-DqCbGYzv.js} +2 -2
  642. package/dist/esm/{focus.decorator-988245d7.js → focus.decorator-DQpbKYaT.js} +2 -3
  643. package/dist/esm/{form-input-1ebdb905.js → form-input-CGW38ndP.js} +2 -6
  644. package/dist/esm/index-B4k_dH6V.js +1866 -0
  645. package/dist/esm/index-BU7FUSdu.js +569 -0
  646. package/dist/esm/index-D6JOtC1P.js +125 -0
  647. package/dist/esm/index-dYcsHLfj.js +600 -0
  648. package/dist/esm/index-pkPHUz5e.js +2980 -0
  649. package/dist/esm/index-zWZxKBfo.js +48 -0
  650. package/dist/esm/index.esm-Btc0yydR.js +210 -0
  651. package/dist/esm/index.js +24 -30
  652. package/dist/esm/{listener-04842ae9.js → listener-tzACU3qe.js} +1 -1
  653. package/dist/esm/loader.js +3 -10
  654. package/dist/esm/lottie_light_html-DuyI5RA6.js +11702 -0
  655. package/dist/esm/{mutation.decorator-6a69cedb.js → mutation.decorator-x6OeVGO1.js} +2 -2
  656. package/dist/esm/{number-ccf3fbd0.js → number-DZNVPmrJ.js} +1 -2
  657. package/dist/esm/{overlays-cee3838b.js → overlays-HStjSmzT.js} +2 -3
  658. package/dist/esm/purify.es-B3Q-Lii3.js +1328 -0
  659. package/dist/esm/{resize.decorator-3c8e5ee2.js → resize.decorator-D8jUH-n3.js} +2 -3
  660. package/dist/esm/{scroll-521224a9.js → scroll-CGUsHi6i.js} +1 -1
  661. package/dist/esm/{swipe.decorator-3d3585e7.js → swipe.decorator-CLIW6A6V.js} +1 -1
  662. package/dist/esm/{swipe.subject-26a9e5a5.js → swipe.subject-CgHMG_X7.js} +4 -4
  663. package/dist/esm/{swiper.util-8e17b8c4.js → swiper.util-lTWgy2NS.js} +4 -5
  664. package/dist/esm/{tokens.esm-4409ffbb.js → tokens.esm-BvmIi0Pf.js} +3 -2
  665. package/dist/esm/{tslib.es6-654e2c24.js → tslib.es6-dfXERft2.js} +2 -0
  666. package/dist/esm/{utils-9fbab1d3.js → utils-C_qktPg7.js} +6 -6
  667. package/dist/esm/{visibility.decorator-5db91610.js → visibility.decorator-DOE3Mnqt.js} +2 -2
  668. package/dist/esm/{window-resize.decorator-03b1ed50.js → window-resize.decorator-C4aZFmLU.js} +1 -24
  669. package/dist/esm/window-resize.subject-DTS_9rk_.js +26 -0
  670. package/dist/esm-es5/_commonjsHelpers-BFTU3MAI.js +1 -0
  671. package/dist/esm-es5/animation.decorator-DtxbEYY8.js +1 -0
  672. package/dist/esm-es5/array-CDfSqLEo.js +1 -0
  673. package/dist/esm-es5/{attributes-a3e70948.js → attributes-C4sZQbkT.js} +1 -1
  674. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  675. package/dist/esm-es5/bal-app.entry.js +1 -1
  676. package/dist/esm-es5/bal-badge.entry.js +1 -1
  677. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  678. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  679. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  680. package/dist/esm-es5/bal-check.entry.js +1 -1
  681. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  682. package/dist/esm-es5/bal-close.entry.js +1 -1
  683. package/dist/esm-es5/bal-content.entry.js +1 -1
  684. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  685. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  686. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  687. package/dist/esm-es5/bal-date.entry.js +1 -1
  688. package/dist/esm-es5/bal-divider.entry.js +1 -1
  689. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  690. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  691. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  692. package/dist/esm-es5/bal-footer.entry.js +1 -1
  693. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  694. package/dist/esm-es5/bal-form.entry.js +1 -1
  695. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  696. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  697. package/dist/esm-es5/bal-icon.entry.js +1 -1
  698. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  699. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  700. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  701. package/dist/esm-es5/bal-input.entry.js +1 -1
  702. package/dist/esm-es5/bal-label.entry.js +1 -1
  703. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  704. package/dist/esm-es5/bal-logo.animation-Bm-_mal3.js +1 -0
  705. package/dist/esm-es5/bal-logo.entry.js +1 -1
  706. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  707. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  708. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  709. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  710. package/dist/esm-es5/bal-notification.entry.js +1 -1
  711. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  712. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  713. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  714. package/dist/esm-es5/bal-popup.entry.js +1 -1
  715. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  716. package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
  717. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  718. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  719. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  720. package/dist/esm-es5/bal-shape.entry.js +1 -1
  721. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  722. package/dist/esm-es5/{bal-spinner.animation-81d4326e.js → bal-spinner.animation-Bv2Ow6xu.js} +1 -1
  723. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  724. package/dist/esm-es5/bal-stack.entry.js +1 -1
  725. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  726. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  727. package/dist/esm-es5/bal-steps.entry.js +1 -1
  728. package/dist/esm-es5/bal-switch.entry.js +1 -1
  729. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  730. package/dist/esm-es5/bal-table.entry.js +1 -1
  731. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  732. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  733. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  734. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  735. package/dist/esm-es5/baloise-design-system.js +1 -1
  736. package/dist/esm-es5/breakpoints.decorator-SHkWCW_Y.js +1 -0
  737. package/dist/esm-es5/breakpoints.subject-C7fjILif.js +1 -0
  738. package/dist/esm-es5/config.decorator-T4wBa62Z.js +1 -0
  739. package/dist/esm-es5/date-B9gcRx4E.js +1 -0
  740. package/dist/esm-es5/device-ClkcmLoi.js +1 -0
  741. package/dist/esm-es5/element-states.decorator-DH5waKVu.js +1 -0
  742. package/dist/esm-es5/floating-ui-CTp1F0dK.js +1 -0
  743. package/dist/esm-es5/focus-visible-DqCbGYzv.js +1 -0
  744. package/dist/esm-es5/focus.decorator-DQpbKYaT.js +1 -0
  745. package/dist/esm-es5/form-input-CGW38ndP.js +1 -0
  746. package/dist/esm-es5/index-B4k_dH6V.js +1 -0
  747. package/dist/esm-es5/index-BU7FUSdu.js +1 -0
  748. package/dist/esm-es5/index-D6JOtC1P.js +1 -0
  749. package/dist/esm-es5/index-dYcsHLfj.js +1 -0
  750. package/dist/esm-es5/index-pkPHUz5e.js +2 -0
  751. package/dist/esm-es5/index-zWZxKBfo.js +1 -0
  752. package/dist/esm-es5/index.esm-Btc0yydR.js +1 -0
  753. package/dist/esm-es5/index.js +1 -1
  754. package/dist/esm-es5/listener-tzACU3qe.js +1 -0
  755. package/dist/esm-es5/loader.js +1 -1
  756. package/dist/esm-es5/lottie_light_html-DuyI5RA6.js +9 -0
  757. package/dist/esm-es5/mutation.decorator-x6OeVGO1.js +1 -0
  758. package/dist/esm-es5/number-DZNVPmrJ.js +1 -0
  759. package/dist/esm-es5/overlays-HStjSmzT.js +1 -0
  760. package/dist/esm-es5/purify.es-B3Q-Lii3.js +2 -0
  761. package/dist/esm-es5/resize.decorator-D8jUH-n3.js +1 -0
  762. package/dist/esm-es5/scroll-CGUsHi6i.js +1 -0
  763. package/dist/esm-es5/{swipe.decorator-3d3585e7.js → swipe.decorator-CLIW6A6V.js} +1 -1
  764. package/dist/esm-es5/swipe.subject-CgHMG_X7.js +1 -0
  765. package/dist/esm-es5/swiper.util-lTWgy2NS.js +1 -0
  766. package/dist/esm-es5/{tokens.esm-4409ffbb.js → tokens.esm-BvmIi0Pf.js} +1 -1
  767. package/dist/esm-es5/utils-C_qktPg7.js +1 -0
  768. package/dist/esm-es5/visibility.decorator-DOE3Mnqt.js +1 -0
  769. package/dist/esm-es5/window-resize.decorator-C4aZFmLU.js +1 -0
  770. package/dist/esm-es5/window-resize.subject-DTS_9rk_.js +1 -0
  771. package/dist/html.html-data.json +85 -1
  772. package/dist/types/components/bal-button/bal-button.d.ts +13 -1
  773. package/dist/types/components/bal-input/bal-input-util.d.ts +8 -0
  774. package/dist/types/components/bal-input/bal-input.d.ts +1 -1
  775. package/dist/types/components/bal-input/bal-input.interfaces.d.ts +1 -1
  776. package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +1 -1
  777. package/dist/types/components/bal-nav/models/bal-nav-meta-button.d.ts +1 -1
  778. package/dist/types/components/bal-pagination/bal-pagination.d.ts +1 -1
  779. package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +3 -3
  780. package/dist/types/components.d.ts +1444 -10
  781. package/dist/types/index.d.ts +1 -1
  782. package/dist/types/stencil-public-runtime.d.ts +23 -1
  783. package/dist/types/tags-all.d.ts +1 -0
  784. package/dist/types/utils/config/config.types.d.ts +2 -0
  785. package/package.json +7 -7
  786. package/components/bal-text2.js +0 -94
  787. package/components/purify.js +0 -1353
  788. package/dist/baloise-design-system/p-00b37ea2.js +0 -1
  789. package/dist/baloise-design-system/p-00d6cf9a.system.js +0 -1
  790. package/dist/baloise-design-system/p-0193364e31.entry.js +0 -1
  791. package/dist/baloise-design-system/p-01cd830b.system.js +0 -1
  792. package/dist/baloise-design-system/p-02509f2aa1.system.entry.js +0 -1
  793. package/dist/baloise-design-system/p-04515987c7.system.entry.js +0 -1
  794. package/dist/baloise-design-system/p-056b22a7.system.js +0 -1
  795. package/dist/baloise-design-system/p-0783dc98dd.system.entry.js +0 -1
  796. package/dist/baloise-design-system/p-0833e523b1.entry.js +0 -1
  797. package/dist/baloise-design-system/p-0aa6f3518b.system.entry.js +0 -1
  798. package/dist/baloise-design-system/p-0ae449ae.system.js +0 -1
  799. package/dist/baloise-design-system/p-0b2b3dbe1b.entry.js +0 -1
  800. package/dist/baloise-design-system/p-0c336d76f5.entry.js +0 -1
  801. package/dist/baloise-design-system/p-0c34ba75.system.js +0 -1
  802. package/dist/baloise-design-system/p-11230944ba.system.entry.js +0 -1
  803. package/dist/baloise-design-system/p-1272e3f9c5.system.entry.js +0 -1
  804. package/dist/baloise-design-system/p-12b975fee6.system.entry.js +0 -1
  805. package/dist/baloise-design-system/p-13d44256.system.js +0 -1
  806. package/dist/baloise-design-system/p-14df54b760.entry.js +0 -1
  807. package/dist/baloise-design-system/p-15f86fd2.js +0 -1
  808. package/dist/baloise-design-system/p-16395ece.system.js +0 -1
  809. package/dist/baloise-design-system/p-166d571e.js +0 -1
  810. package/dist/baloise-design-system/p-16f5c678f5.entry.js +0 -1
  811. package/dist/baloise-design-system/p-1846561401.system.entry.js +0 -1
  812. package/dist/baloise-design-system/p-18675e20.js +0 -1
  813. package/dist/baloise-design-system/p-18c6b14c.system.js +0 -1
  814. package/dist/baloise-design-system/p-18cab6ff5b.entry.js +0 -1
  815. package/dist/baloise-design-system/p-1cfbf3093b.entry.js +0 -1
  816. package/dist/baloise-design-system/p-1f7d1eb48e.entry.js +0 -1
  817. package/dist/baloise-design-system/p-1fa4cbaca6.system.entry.js +0 -1
  818. package/dist/baloise-design-system/p-210cd438.system.js +0 -9
  819. package/dist/baloise-design-system/p-211fd73b2d.entry.js +0 -1
  820. package/dist/baloise-design-system/p-21b2d5d33b.system.entry.js +0 -1
  821. package/dist/baloise-design-system/p-23bdd8dc.system.js +0 -1
  822. package/dist/baloise-design-system/p-242625df10.system.entry.js +0 -1
  823. package/dist/baloise-design-system/p-24486c2cd6.entry.js +0 -1
  824. package/dist/baloise-design-system/p-2725c79107.system.entry.js +0 -1
  825. package/dist/baloise-design-system/p-27b9d8e173.entry.js +0 -1
  826. package/dist/baloise-design-system/p-2880433e.system.js +0 -1
  827. package/dist/baloise-design-system/p-28d0b9c851.system.entry.js +0 -1
  828. package/dist/baloise-design-system/p-2ccbe55a.js +0 -2
  829. package/dist/baloise-design-system/p-2d3770e7.system.js +0 -1
  830. package/dist/baloise-design-system/p-3131f323.system.js +0 -1
  831. package/dist/baloise-design-system/p-3153f3e507.system.entry.js +0 -1
  832. package/dist/baloise-design-system/p-3156541849.system.entry.js +0 -1
  833. package/dist/baloise-design-system/p-350a85a9.js +0 -1
  834. package/dist/baloise-design-system/p-36c605b7ed.entry.js +0 -1
  835. package/dist/baloise-design-system/p-371f93bd95.system.entry.js +0 -1
  836. package/dist/baloise-design-system/p-39cbb5b4.system.js +0 -1
  837. package/dist/baloise-design-system/p-3b6395d90b.system.entry.js +0 -1
  838. package/dist/baloise-design-system/p-3d3aa421.js +0 -1
  839. package/dist/baloise-design-system/p-3f01fc8b.js +0 -1
  840. package/dist/baloise-design-system/p-3f6fcc1a25.system.entry.js +0 -1
  841. package/dist/baloise-design-system/p-3fcfe14a45.system.entry.js +0 -1
  842. package/dist/baloise-design-system/p-4191bdf0.js +0 -1
  843. package/dist/baloise-design-system/p-41c8319b5f.entry.js +0 -1
  844. package/dist/baloise-design-system/p-422f347380.entry.js +0 -1
  845. package/dist/baloise-design-system/p-42d1374d6f.system.entry.js +0 -1
  846. package/dist/baloise-design-system/p-4573c419.js +0 -1
  847. package/dist/baloise-design-system/p-45d69189d4.system.entry.js +0 -1
  848. package/dist/baloise-design-system/p-472a8efc29.entry.js +0 -1
  849. package/dist/baloise-design-system/p-4743791e3f.entry.js +0 -1
  850. package/dist/baloise-design-system/p-4936cce309.entry.js +0 -1
  851. package/dist/baloise-design-system/p-4a1237e8.js +0 -1
  852. package/dist/baloise-design-system/p-4ad57bd1ee.entry.js +0 -1
  853. package/dist/baloise-design-system/p-4af5f1f9.js +0 -1
  854. package/dist/baloise-design-system/p-4ca4dff6.js +0 -1
  855. package/dist/baloise-design-system/p-4d4dd885fc.entry.js +0 -1
  856. package/dist/baloise-design-system/p-4d5477db.js +0 -1
  857. package/dist/baloise-design-system/p-4e8633942b.entry.js +0 -1
  858. package/dist/baloise-design-system/p-4f1232cf16.system.entry.js +0 -1
  859. package/dist/baloise-design-system/p-537189e0.js +0 -1
  860. package/dist/baloise-design-system/p-548ca0b3.js +0 -1
  861. package/dist/baloise-design-system/p-5569e7774f.entry.js +0 -1
  862. package/dist/baloise-design-system/p-56f686f295.system.entry.js +0 -1
  863. package/dist/baloise-design-system/p-576fea8fe0.system.entry.js +0 -1
  864. package/dist/baloise-design-system/p-584601ed8d.entry.js +0 -1
  865. package/dist/baloise-design-system/p-599fe1aecd.system.entry.js +0 -1
  866. package/dist/baloise-design-system/p-5b81a72518.system.entry.js +0 -1
  867. package/dist/baloise-design-system/p-5c391c5415.system.entry.js +0 -1
  868. package/dist/baloise-design-system/p-5d26868b4c.system.entry.js +0 -1
  869. package/dist/baloise-design-system/p-5d94ecd9.system.js +0 -1
  870. package/dist/baloise-design-system/p-5e506fea89.entry.js +0 -1
  871. package/dist/baloise-design-system/p-5e7b2f7fa5.system.entry.js +0 -1
  872. package/dist/baloise-design-system/p-5fbe1e715b.entry.js +0 -1
  873. package/dist/baloise-design-system/p-6461e0dc8c.entry.js +0 -1
  874. package/dist/baloise-design-system/p-659270e6.system.js +0 -1
  875. package/dist/baloise-design-system/p-65a3f66bb1.entry.js +0 -1
  876. package/dist/baloise-design-system/p-6780a7ed.system.js +0 -1
  877. package/dist/baloise-design-system/p-68f3a1d5de.entry.js +0 -1
  878. package/dist/baloise-design-system/p-6913b916.system.js +0 -1
  879. package/dist/baloise-design-system/p-694808374d.system.entry.js +0 -1
  880. package/dist/baloise-design-system/p-6ca25be56c.entry.js +0 -1
  881. package/dist/baloise-design-system/p-6df2900b29.system.entry.js +0 -1
  882. package/dist/baloise-design-system/p-6e3ed83858.entry.js +0 -1
  883. package/dist/baloise-design-system/p-70a29a3cf9.system.entry.js +0 -1
  884. package/dist/baloise-design-system/p-7187bc892e.system.entry.js +0 -1
  885. package/dist/baloise-design-system/p-7720b262.system.js +0 -1
  886. package/dist/baloise-design-system/p-77c7a0b0.js +0 -1
  887. package/dist/baloise-design-system/p-7961e095.system.js +0 -2
  888. package/dist/baloise-design-system/p-7ace6bb2b2.system.entry.js +0 -1
  889. package/dist/baloise-design-system/p-7d4fac85.js +0 -1
  890. package/dist/baloise-design-system/p-7ee8e43a78.entry.js +0 -1
  891. package/dist/baloise-design-system/p-835cf9d5.system.js +0 -1
  892. package/dist/baloise-design-system/p-86621bd1a3.system.entry.js +0 -1
  893. package/dist/baloise-design-system/p-8de1cbc123.system.entry.js +0 -1
  894. package/dist/baloise-design-system/p-975f69e2.js +0 -1
  895. package/dist/baloise-design-system/p-9a3d9e17.js +0 -1
  896. package/dist/baloise-design-system/p-9bea0924af.entry.js +0 -1
  897. package/dist/baloise-design-system/p-9fe6f3f427.system.entry.js +0 -1
  898. package/dist/baloise-design-system/p-a1449d0827.system.entry.js +0 -1
  899. package/dist/baloise-design-system/p-a1f6e944.system.js +0 -1
  900. package/dist/baloise-design-system/p-a65354df.js +0 -1
  901. package/dist/baloise-design-system/p-a6f19c8102.entry.js +0 -1
  902. package/dist/baloise-design-system/p-a7f480e29e.entry.js +0 -1
  903. package/dist/baloise-design-system/p-a8161761.js +0 -1
  904. package/dist/baloise-design-system/p-a8f4c51f7d.entry.js +0 -1
  905. package/dist/baloise-design-system/p-abaa6b209d.entry.js +0 -1
  906. package/dist/baloise-design-system/p-ad848b32cc.entry.js +0 -1
  907. package/dist/baloise-design-system/p-ade92c8b.js +0 -2
  908. package/dist/baloise-design-system/p-b0471793.system.js +0 -1
  909. package/dist/baloise-design-system/p-b0cf4731.js +0 -1
  910. package/dist/baloise-design-system/p-b31ef16307.system.entry.js +0 -1
  911. package/dist/baloise-design-system/p-b3720a73.system.js +0 -1
  912. package/dist/baloise-design-system/p-b53635762a.entry.js +0 -1
  913. package/dist/baloise-design-system/p-b651c3be06.system.entry.js +0 -1
  914. package/dist/baloise-design-system/p-b77e3348.js +0 -1
  915. package/dist/baloise-design-system/p-ba04f59382.entry.js +0 -1
  916. package/dist/baloise-design-system/p-bb0bea1a12.entry.js +0 -1
  917. package/dist/baloise-design-system/p-bdf651c552.system.entry.js +0 -1
  918. package/dist/baloise-design-system/p-be4404d14f.entry.js +0 -1
  919. package/dist/baloise-design-system/p-c018e14208.system.entry.js +0 -1
  920. package/dist/baloise-design-system/p-c1df952485.entry.js +0 -1
  921. package/dist/baloise-design-system/p-c75b737789.system.entry.js +0 -1
  922. package/dist/baloise-design-system/p-c90cd86f85.entry.js +0 -1
  923. package/dist/baloise-design-system/p-c942d04f.system.js +0 -1
  924. package/dist/baloise-design-system/p-caf7e785da.system.entry.js +0 -1
  925. package/dist/baloise-design-system/p-cb9a61cf9f.entry.js +0 -1
  926. package/dist/baloise-design-system/p-ce0bb62f88.system.entry.js +0 -1
  927. package/dist/baloise-design-system/p-ce4f5a6a.js +0 -1
  928. package/dist/baloise-design-system/p-cec9dcd5f0.system.entry.js +0 -1
  929. package/dist/baloise-design-system/p-d0cee779.system.js +0 -2
  930. package/dist/baloise-design-system/p-d41614f898.entry.js +0 -1
  931. package/dist/baloise-design-system/p-d4e5093b.js +0 -1
  932. package/dist/baloise-design-system/p-d96b1ee9.js +0 -1
  933. package/dist/baloise-design-system/p-dac493c4.system.js +0 -1
  934. package/dist/baloise-design-system/p-dc1f26ed82.entry.js +0 -1
  935. package/dist/baloise-design-system/p-ddfc39d563.system.entry.js +0 -1
  936. package/dist/baloise-design-system/p-de214c5ded.entry.js +0 -1
  937. package/dist/baloise-design-system/p-df907af8.system.js +0 -1
  938. package/dist/baloise-design-system/p-e004afb272.entry.js +0 -1
  939. package/dist/baloise-design-system/p-e0248dd3.js +0 -1
  940. package/dist/baloise-design-system/p-e1daa037f5.entry.js +0 -1
  941. package/dist/baloise-design-system/p-e442bfd948.entry.js +0 -1
  942. package/dist/baloise-design-system/p-e53cf246d6.system.entry.js +0 -1
  943. package/dist/baloise-design-system/p-e581de20.js +0 -1
  944. package/dist/baloise-design-system/p-e75452d8.system.js +0 -1
  945. package/dist/baloise-design-system/p-e88286bed3.system.entry.js +0 -1
  946. package/dist/baloise-design-system/p-ea96959c66.system.entry.js +0 -1
  947. package/dist/baloise-design-system/p-ec1863d2.js +0 -1
  948. package/dist/baloise-design-system/p-edb1f50e6a.entry.js +0 -1
  949. package/dist/baloise-design-system/p-eec38fbd.system.js +0 -1
  950. package/dist/baloise-design-system/p-eed5aa27.system.js +0 -1
  951. package/dist/baloise-design-system/p-f19930db.js +0 -1
  952. package/dist/baloise-design-system/p-f8db562aa1.entry.js +0 -1
  953. package/dist/baloise-design-system/p-fa2ea8a4.system.js +0 -1
  954. package/dist/baloise-design-system/p-fa6b5cde.system.js +0 -1
  955. package/dist/baloise-design-system/p-fd273f8f1e.entry.js +0 -1
  956. package/dist/baloise-design-system/p-fe2ef334.system.js +0 -1
  957. package/dist/baloise-design-system/p-ff36efab94.entry.js +0 -1
  958. package/dist/cjs/app-globals-0d8db19e.js +0 -11
  959. package/dist/cjs/browser-1d542d0f.js +0 -64
  960. package/dist/cjs/config.default-7e96eb95.js +0 -48
  961. package/dist/cjs/config.utils-df30e424.js +0 -140
  962. package/dist/cjs/helpers-debb881a.js +0 -331
  963. package/dist/cjs/index-24d802b4.js +0 -594
  964. package/dist/cjs/index-3b7f8988.js +0 -1860
  965. package/dist/cjs/index-758765f7.js +0 -560
  966. package/dist/cjs/index-84f42282.js +0 -1810
  967. package/dist/cjs/index-e6a233be.js +0 -37
  968. package/dist/cjs/index.esm-a38eebac.js +0 -212
  969. package/dist/cjs/initialize-2e8978a4.js +0 -319
  970. package/dist/cjs/log-33398c2a.js +0 -80
  971. package/dist/cjs/lottie_light_html-cbfdf82e.js +0 -11694
  972. package/dist/cjs/purify-b01229e2.js +0 -1355
  973. package/dist/cjs/window-resize.decorator-56853e4c.js +0 -48
  974. package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -3
  975. package/dist/esm/app-globals-07bd529a.js +0 -9
  976. package/dist/esm/browser-a8073d92.js +0 -62
  977. package/dist/esm/config.default-53a04699.js +0 -45
  978. package/dist/esm/config.utils-f3793464.js +0 -101
  979. package/dist/esm/helpers-51d51cc5.js +0 -307
  980. package/dist/esm/index-82aff103.js +0 -35
  981. package/dist/esm/index-8d2a7ce7.js +0 -1779
  982. package/dist/esm/index-95ee0c4b.js +0 -1858
  983. package/dist/esm/index-bba06972.js +0 -558
  984. package/dist/esm/index-db06fb0e.js +0 -592
  985. package/dist/esm/index.esm-9079680d.js +0 -206
  986. package/dist/esm/initialize-c00194b2.js +0 -312
  987. package/dist/esm/log-dfd1c19f.js +0 -77
  988. package/dist/esm/lottie_light_html-ab90e4a2.js +0 -11692
  989. package/dist/esm/purify-8cb49f16.js +0 -1353
  990. package/dist/esm-es5/_commonjsHelpers-1c8beb5f.js +0 -1
  991. package/dist/esm-es5/animation.decorator-7fca988f.js +0 -1
  992. package/dist/esm-es5/app-globals-07bd529a.js +0 -1
  993. package/dist/esm-es5/array-4c09dfe3.js +0 -1
  994. package/dist/esm-es5/bal-logo.animation-560601c6.js +0 -1
  995. package/dist/esm-es5/breakpoints.decorator-4de4315f.js +0 -1
  996. package/dist/esm-es5/breakpoints.subject-2f68e834.js +0 -1
  997. package/dist/esm-es5/browser-a8073d92.js +0 -1
  998. package/dist/esm-es5/config.decorator-6795d1fe.js +0 -1
  999. package/dist/esm-es5/config.default-53a04699.js +0 -1
  1000. package/dist/esm-es5/config.utils-f3793464.js +0 -1
  1001. package/dist/esm-es5/date-87bdb1d1.js +0 -1
  1002. package/dist/esm-es5/device-8c6d2881.js +0 -1
  1003. package/dist/esm-es5/element-states.decorator-d99dc83c.js +0 -1
  1004. package/dist/esm-es5/floating-ui-8ffbc979.js +0 -1
  1005. package/dist/esm-es5/focus-visible-c1d6b5b8.js +0 -1
  1006. package/dist/esm-es5/focus.decorator-988245d7.js +0 -1
  1007. package/dist/esm-es5/form-input-1ebdb905.js +0 -1
  1008. package/dist/esm-es5/helpers-51d51cc5.js +0 -1
  1009. package/dist/esm-es5/index-82aff103.js +0 -1
  1010. package/dist/esm-es5/index-8d2a7ce7.js +0 -2
  1011. package/dist/esm-es5/index-95ee0c4b.js +0 -1
  1012. package/dist/esm-es5/index-bba06972.js +0 -1
  1013. package/dist/esm-es5/index-db06fb0e.js +0 -1
  1014. package/dist/esm-es5/index.esm-9079680d.js +0 -1
  1015. package/dist/esm-es5/initialize-c00194b2.js +0 -1
  1016. package/dist/esm-es5/listener-04842ae9.js +0 -1
  1017. package/dist/esm-es5/log-dfd1c19f.js +0 -1
  1018. package/dist/esm-es5/lottie_light_html-ab90e4a2.js +0 -9
  1019. package/dist/esm-es5/mutation.decorator-6a69cedb.js +0 -1
  1020. package/dist/esm-es5/number-ccf3fbd0.js +0 -1
  1021. package/dist/esm-es5/overlays-cee3838b.js +0 -1
  1022. package/dist/esm-es5/purify-8cb49f16.js +0 -2
  1023. package/dist/esm-es5/resize.decorator-3c8e5ee2.js +0 -1
  1024. package/dist/esm-es5/scroll-521224a9.js +0 -1
  1025. package/dist/esm-es5/swipe.subject-26a9e5a5.js +0 -1
  1026. package/dist/esm-es5/swiper.util-8e17b8c4.js +0 -1
  1027. package/dist/esm-es5/utils-9fbab1d3.js +0 -1
  1028. package/dist/esm-es5/visibility.decorator-5db91610.js +0 -1
  1029. package/dist/esm-es5/window-resize.decorator-03b1ed50.js +0 -1
  1030. package/loader/package.json +0 -11
  1031. /package/components/{floating-ui.dom.esm.js → floating-ui.dom.js} +0 -0
  1032. /package/dist/baloise-design-system/{p-8dc7ee30.js → p-B4aDEwd8.js} +0 -0
  1033. /package/dist/baloise-design-system/{p-5ed239cc.js → p-BLp4ll3i.js} +0 -0
  1034. /package/dist/baloise-design-system/{p-db0895e2.system.js → p-BbAtjg9Y.system.js} +0 -0
  1035. /package/dist/baloise-design-system/{p-11f970ba.js → p-BkEdlCZJ.js} +0 -0
  1036. /package/dist/baloise-design-system/{p-4c0bad70.system.js → p-BktTDSq4.system.js} +0 -0
  1037. /package/dist/baloise-design-system/{p-f3f5ce4f.js → p-BmVI6cLw.js} +0 -0
  1038. /package/dist/baloise-design-system/{p-ae86d0a0.js → p-ByiN-QjD.js} +0 -0
  1039. /package/dist/baloise-design-system/{p-3ecc7d9a.system.js → p-CDt5sRVY.system.js} +0 -0
  1040. /package/dist/baloise-design-system/{p-5f26e92f.system.js → p-CGJ8YYiA.system.js} +0 -0
  1041. /package/dist/baloise-design-system/{p-907368ff.system.js → p-CLfE_o7e.system.js} +0 -0
  1042. /package/dist/baloise-design-system/{p-8a2bab70.system.js → p-CTl0uAFp.system.js} +0 -0
  1043. /package/dist/baloise-design-system/{p-6dbef894.system.js → p-Cjiw70Dk.system.js} +0 -0
  1044. /package/dist/baloise-design-system/{p-a0fe8d65.js → p-Ct27z6g9.js} +0 -0
  1045. /package/dist/baloise-design-system/{p-dc98854c.js → p-D1VPLQ5z.js} +0 -0
  1046. /package/dist/baloise-design-system/{p-e7d72d7c.system.js → p-D5Gy6WbU.system.js} +0 -0
  1047. /package/dist/baloise-design-system/{p-6b45db53.system.js → p-DAOAbG5Y.system.js} +0 -0
  1048. /package/dist/baloise-design-system/{p-8f2e9a7f.js → p-DBsOHTWj.js} +0 -0
  1049. /package/dist/baloise-design-system/{p-ad81b8ea.js → p-DEb5iNGc.js} +0 -0
  1050. /package/dist/baloise-design-system/{p-06ecf846.js → p-DIC_sxLd.js} +0 -0
  1051. /package/dist/baloise-design-system/{p-2da669b4.system.js → p-DKjTFqnu.system.js} +0 -0
  1052. /package/dist/baloise-design-system/{p-14d0c5f3.system.js → p-DPYRyPTD.system.js} +0 -0
  1053. /package/dist/baloise-design-system/{p-278aed95.system.js → p-DWgCJRpS.system.js} +0 -0
  1054. /package/dist/baloise-design-system/{p-ba579059.system.js → p-Dd7xQwRJ.system.js} +0 -0
  1055. /package/dist/baloise-design-system/{p-fe76780d.system.js → p-DkfWaTsH.system.js} +0 -0
  1056. /package/dist/baloise-design-system/{p-1a158488.js → p-DuObDTix.js} +0 -0
  1057. /package/dist/baloise-design-system/{p-59d9918c.system.js → p-Dz-E2PRm.system.js} +0 -0
  1058. /package/dist/baloise-design-system/{p-5eb3fbb9.js → p-FCLKfv6B.js} +0 -0
  1059. /package/dist/baloise-design-system/{p-09ab29d6.js → p-JHAE10yr.js} +0 -0
  1060. /package/dist/baloise-design-system/{p-4e642b63.system.js → p-SdtgSPca.system.js} +0 -0
  1061. /package/dist/baloise-design-system/{p-43c9f5e9.js → p-dfXERft2.js} +0 -0
  1062. /package/dist/baloise-design-system/{p-a65bc5e2.js → p-rBUN7c88.js} +0 -0
  1063. /package/dist/baloise-design-system/{p-99cfab9c.system.js → p-wTePExHL.system.js} +0 -0
  1064. /package/dist/baloise-design-system/{p-ec1efe3d.js → p-xVPGsAdF.js} +0 -0
  1065. /package/dist/cjs/{aria-7672033f.js → aria-BzkqcV7W.js} +0 -0
  1066. /package/dist/cjs/{bal-close.i18n-56dddd35.js → bal-close.i18n-B3X5xlkl.js} +0 -0
  1067. /package/dist/cjs/{bal-file-upload.type-616d69d9.js → bal-file-upload.type-BzNkF3YQ.js} +0 -0
  1068. /package/dist/cjs/{bal-input-stepper.i18n-dbcd32ab.js → bal-input-stepper.i18n-D57DHpYR.js} +0 -0
  1069. /package/dist/cjs/{bal-label.i18n-a25878af.js → bal-label.i18n-BcNNm9Es.js} +0 -0
  1070. /package/dist/cjs/{bal-step.util-3c009db9.js → bal-step.util-DQcaqybX.js} +0 -0
  1071. /package/dist/cjs/{bal-tab.util-d0785ef4.js → bal-tab.util-DFGwGbfr.js} +0 -0
  1072. /package/dist/cjs/{bal-time-input.i18n-b2bb9182.js → bal-time-input.i18n-Bfr3EMVD.js} +0 -0
  1073. /package/dist/cjs/{bem-81bc6a2d.js → bem-p0PWVN8n.js} +0 -0
  1074. /package/dist/cjs/{contact-61b41246.js → contact-qHJM5IBh.js} +0 -0
  1075. /package/dist/cjs/{floating-ui.dom.esm-13e3f667.js → floating-ui.dom-BPU3HWKX.js} +0 -0
  1076. /package/dist/cjs/{form-17c98ac2.js → form-BSlIiqcR.js} +0 -0
  1077. /package/dist/cjs/{keyboard.helpers-2093e793.js → keyboard.helpers-BkZpVT-9.js} +0 -0
  1078. /package/dist/cjs/{keys.constant-b53da545.js → keys.constant-LnwxHAZo.js} +0 -0
  1079. /package/dist/cjs/{mask-util-19c28b4a.js → mask-util-B8hrxmqO.js} +0 -0
  1080. /package/dist/cjs/{option-85af0921.js → option-kGk4eTdA.js} +0 -0
  1081. /package/dist/esm/{aria-ea150568.js → aria-DBsOHTWj.js} +0 -0
  1082. /package/dist/esm/{bal-close.i18n-f2daa707.js → bal-close.i18n-Ct27z6g9.js} +0 -0
  1083. /package/dist/esm/{bal-file-upload.type-2a70f4ec.js → bal-file-upload.type-rBUN7c88.js} +0 -0
  1084. /package/dist/esm/{bal-input-stepper.i18n-aaa4a009.js → bal-input-stepper.i18n-DEb5iNGc.js} +0 -0
  1085. /package/dist/esm/{bal-label.i18n-4212be56.js → bal-label.i18n-JHAE10yr.js} +0 -0
  1086. /package/dist/esm/{bal-step.util-3905ad56.js → bal-step.util-DIC_sxLd.js} +0 -0
  1087. /package/dist/esm/{bal-tab.util-933315fe.js → bal-tab.util-BmVI6cLw.js} +0 -0
  1088. /package/dist/esm/{bal-time-input.i18n-157c7092.js → bal-time-input.i18n-B4aDEwd8.js} +0 -0
  1089. /package/dist/esm/{bem-8c7d2eb0.js → bem-ByiN-QjD.js} +0 -0
  1090. /package/dist/esm/{contact-91a44c8c.js → contact-BkEdlCZJ.js} +0 -0
  1091. /package/dist/esm/{floating-ui.dom.esm-efb93616.js → floating-ui.dom-DKxvaA1I.js} +0 -0
  1092. /package/dist/esm/{form-841232ff.js → form-FCLKfv6B.js} +0 -0
  1093. /package/dist/esm/{keyboard.helpers-159e517d.js → keyboard.helpers-D1VPLQ5z.js} +0 -0
  1094. /package/dist/esm/{keys.constant-0eb059e0.js → keys.constant-xVPGsAdF.js} +0 -0
  1095. /package/dist/esm/{mask-util-71edc2b8.js → mask-util-DuObDTix.js} +0 -0
  1096. /package/dist/esm/{option-367a5341.js → option-BLp4ll3i.js} +0 -0
  1097. /package/dist/esm-es5/{aria-ea150568.js → aria-DBsOHTWj.js} +0 -0
  1098. /package/dist/esm-es5/{bal-close.i18n-f2daa707.js → bal-close.i18n-Ct27z6g9.js} +0 -0
  1099. /package/dist/esm-es5/{bal-file-upload.type-2a70f4ec.js → bal-file-upload.type-rBUN7c88.js} +0 -0
  1100. /package/dist/esm-es5/{bal-input-stepper.i18n-aaa4a009.js → bal-input-stepper.i18n-DEb5iNGc.js} +0 -0
  1101. /package/dist/esm-es5/{bal-label.i18n-4212be56.js → bal-label.i18n-JHAE10yr.js} +0 -0
  1102. /package/dist/esm-es5/{bal-step.util-3905ad56.js → bal-step.util-DIC_sxLd.js} +0 -0
  1103. /package/dist/esm-es5/{bal-tab.util-933315fe.js → bal-tab.util-BmVI6cLw.js} +0 -0
  1104. /package/dist/esm-es5/{bal-time-input.i18n-157c7092.js → bal-time-input.i18n-B4aDEwd8.js} +0 -0
  1105. /package/dist/esm-es5/{bem-8c7d2eb0.js → bem-ByiN-QjD.js} +0 -0
  1106. /package/dist/esm-es5/{contact-91a44c8c.js → contact-BkEdlCZJ.js} +0 -0
  1107. /package/dist/esm-es5/{floating-ui.dom.esm-efb93616.js → floating-ui.dom-DKxvaA1I.js} +0 -0
  1108. /package/dist/esm-es5/{form-841232ff.js → form-FCLKfv6B.js} +0 -0
  1109. /package/dist/esm-es5/{keyboard.helpers-159e517d.js → keyboard.helpers-D1VPLQ5z.js} +0 -0
  1110. /package/dist/esm-es5/{keys.constant-0eb059e0.js → keys.constant-xVPGsAdF.js} +0 -0
  1111. /package/dist/esm-es5/{mask-util-71edc2b8.js → mask-util-DuObDTix.js} +0 -0
  1112. /package/dist/esm-es5/{option-367a5341.js → option-BLp4ll3i.js} +0 -0
  1113. /package/dist/esm-es5/{tslib.es6-654e2c24.js → tslib.es6-dfXERft2.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { L as Lottie } from './lottie_light_html-ab90e4a2.js';
2
- import { c as commonjsGlobal } from './_commonjsHelpers-1c8beb5f.js';
1
+ import { L as Lottie } from './lottie_light_html-DuyI5RA6.js';
2
+ import { c as commonjsGlobal } from './_commonjsHelpers-BFTU3MAI.js';
3
3
 
4
4
  const SpinnerAnimationData = (color = '#151f6d') => ({
5
5
  v: '5.8.1',
@@ -313,7 +313,7 @@ const SpinnerAnimationData = (color = '#151f6d') => ({
313
313
  t: 65,
314
314
  s: [-360, -0.036, 0],
315
315
  to: [60, 60, 0],
316
- ti: [-0.006, -0.006, 0],
316
+ ti: [-6e-3, -6e-3, 0],
317
317
  },
318
318
  { t: 66, s: [-359.964, 0, 0] },
319
319
  ],
@@ -2600,1925 +2600,1935 @@ var lodash_clonedeep = {exports: {}};
2600
2600
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
2601
2601
  */
2602
2602
 
2603
- (function (module, exports) {
2604
- /** Used as the size to enable large array optimizations. */
2605
- var LARGE_ARRAY_SIZE = 200;
2606
-
2607
- /** Used to stand-in for `undefined` hash values. */
2608
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
2609
-
2610
- /** Used as references for various `Number` constants. */
2611
- var MAX_SAFE_INTEGER = 9007199254740991;
2612
-
2613
- /** `Object#toString` result references. */
2614
- var argsTag = '[object Arguments]',
2615
- arrayTag = '[object Array]',
2616
- boolTag = '[object Boolean]',
2617
- dateTag = '[object Date]',
2618
- errorTag = '[object Error]',
2619
- funcTag = '[object Function]',
2620
- genTag = '[object GeneratorFunction]',
2621
- mapTag = '[object Map]',
2622
- numberTag = '[object Number]',
2623
- objectTag = '[object Object]',
2624
- promiseTag = '[object Promise]',
2625
- regexpTag = '[object RegExp]',
2626
- setTag = '[object Set]',
2627
- stringTag = '[object String]',
2628
- symbolTag = '[object Symbol]',
2629
- weakMapTag = '[object WeakMap]';
2630
-
2631
- var arrayBufferTag = '[object ArrayBuffer]',
2632
- dataViewTag = '[object DataView]',
2633
- float32Tag = '[object Float32Array]',
2634
- float64Tag = '[object Float64Array]',
2635
- int8Tag = '[object Int8Array]',
2636
- int16Tag = '[object Int16Array]',
2637
- int32Tag = '[object Int32Array]',
2638
- uint8Tag = '[object Uint8Array]',
2639
- uint8ClampedTag = '[object Uint8ClampedArray]',
2640
- uint16Tag = '[object Uint16Array]',
2641
- uint32Tag = '[object Uint32Array]';
2642
-
2643
- /**
2644
- * Used to match `RegExp`
2645
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
2646
- */
2647
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
2648
-
2649
- /** Used to match `RegExp` flags from their coerced string values. */
2650
- var reFlags = /\w*$/;
2651
-
2652
- /** Used to detect host constructors (Safari). */
2653
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
2654
-
2655
- /** Used to detect unsigned integer values. */
2656
- var reIsUint = /^(?:0|[1-9]\d*)$/;
2657
-
2658
- /** Used to identify `toStringTag` values supported by `_.clone`. */
2659
- var cloneableTags = {};
2660
- cloneableTags[argsTag] = cloneableTags[arrayTag] =
2661
- cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
2662
- cloneableTags[boolTag] = cloneableTags[dateTag] =
2663
- cloneableTags[float32Tag] = cloneableTags[float64Tag] =
2664
- cloneableTags[int8Tag] = cloneableTags[int16Tag] =
2665
- cloneableTags[int32Tag] = cloneableTags[mapTag] =
2666
- cloneableTags[numberTag] = cloneableTags[objectTag] =
2667
- cloneableTags[regexpTag] = cloneableTags[setTag] =
2668
- cloneableTags[stringTag] = cloneableTags[symbolTag] =
2669
- cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
2670
- cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
2671
- cloneableTags[errorTag] = cloneableTags[funcTag] =
2672
- cloneableTags[weakMapTag] = false;
2673
-
2674
- /** Detect free variable `global` from Node.js. */
2675
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
2676
-
2677
- /** Detect free variable `self`. */
2678
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
2679
-
2680
- /** Used as a reference to the global object. */
2681
- var root = freeGlobal || freeSelf || Function('return this')();
2682
-
2683
- /** Detect free variable `exports`. */
2684
- var freeExports = exports && !exports.nodeType && exports;
2685
-
2686
- /** Detect free variable `module`. */
2687
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
2688
-
2689
- /** Detect the popular CommonJS extension `module.exports`. */
2690
- var moduleExports = freeModule && freeModule.exports === freeExports;
2691
-
2692
- /**
2693
- * Adds the key-value `pair` to `map`.
2694
- *
2695
- * @private
2696
- * @param {Object} map The map to modify.
2697
- * @param {Array} pair The key-value pair to add.
2698
- * @returns {Object} Returns `map`.
2699
- */
2700
- function addMapEntry(map, pair) {
2701
- // Don't return `map.set` because it's not chainable in IE 11.
2702
- map.set(pair[0], pair[1]);
2703
- return map;
2704
- }
2705
-
2706
- /**
2707
- * Adds `value` to `set`.
2708
- *
2709
- * @private
2710
- * @param {Object} set The set to modify.
2711
- * @param {*} value The value to add.
2712
- * @returns {Object} Returns `set`.
2713
- */
2714
- function addSetEntry(set, value) {
2715
- // Don't return `set.add` because it's not chainable in IE 11.
2716
- set.add(value);
2717
- return set;
2718
- }
2719
-
2720
- /**
2721
- * A specialized version of `_.forEach` for arrays without support for
2722
- * iteratee shorthands.
2723
- *
2724
- * @private
2725
- * @param {Array} [array] The array to iterate over.
2726
- * @param {Function} iteratee The function invoked per iteration.
2727
- * @returns {Array} Returns `array`.
2728
- */
2729
- function arrayEach(array, iteratee) {
2730
- var index = -1,
2731
- length = array ? array.length : 0;
2732
-
2733
- while (++index < length) {
2734
- if (iteratee(array[index], index, array) === false) {
2735
- break;
2736
- }
2737
- }
2738
- return array;
2739
- }
2740
-
2741
- /**
2742
- * Appends the elements of `values` to `array`.
2743
- *
2744
- * @private
2745
- * @param {Array} array The array to modify.
2746
- * @param {Array} values The values to append.
2747
- * @returns {Array} Returns `array`.
2748
- */
2749
- function arrayPush(array, values) {
2750
- var index = -1,
2751
- length = values.length,
2752
- offset = array.length;
2753
-
2754
- while (++index < length) {
2755
- array[offset + index] = values[index];
2756
- }
2757
- return array;
2758
- }
2759
-
2760
- /**
2761
- * A specialized version of `_.reduce` for arrays without support for
2762
- * iteratee shorthands.
2763
- *
2764
- * @private
2765
- * @param {Array} [array] The array to iterate over.
2766
- * @param {Function} iteratee The function invoked per iteration.
2767
- * @param {*} [accumulator] The initial value.
2768
- * @param {boolean} [initAccum] Specify using the first element of `array` as
2769
- * the initial value.
2770
- * @returns {*} Returns the accumulated value.
2771
- */
2772
- function arrayReduce(array, iteratee, accumulator, initAccum) {
2773
- var index = -1,
2774
- length = array ? array.length : 0;
2775
-
2776
- if (initAccum && length) {
2777
- accumulator = array[++index];
2778
- }
2779
- while (++index < length) {
2780
- accumulator = iteratee(accumulator, array[index], index, array);
2781
- }
2782
- return accumulator;
2783
- }
2784
-
2785
- /**
2786
- * The base implementation of `_.times` without support for iteratee shorthands
2787
- * or max array length checks.
2788
- *
2789
- * @private
2790
- * @param {number} n The number of times to invoke `iteratee`.
2791
- * @param {Function} iteratee The function invoked per iteration.
2792
- * @returns {Array} Returns the array of results.
2793
- */
2794
- function baseTimes(n, iteratee) {
2795
- var index = -1,
2796
- result = Array(n);
2797
-
2798
- while (++index < n) {
2799
- result[index] = iteratee(index);
2800
- }
2801
- return result;
2802
- }
2803
-
2804
- /**
2805
- * Gets the value at `key` of `object`.
2806
- *
2807
- * @private
2808
- * @param {Object} [object] The object to query.
2809
- * @param {string} key The key of the property to get.
2810
- * @returns {*} Returns the property value.
2811
- */
2812
- function getValue(object, key) {
2813
- return object == null ? undefined : object[key];
2814
- }
2815
-
2816
- /**
2817
- * Checks if `value` is a host object in IE < 9.
2818
- *
2819
- * @private
2820
- * @param {*} value The value to check.
2821
- * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
2822
- */
2823
- function isHostObject(value) {
2824
- // Many host objects are `Object` objects that can coerce to strings
2825
- // despite having improperly defined `toString` methods.
2826
- var result = false;
2827
- if (value != null && typeof value.toString != 'function') {
2828
- try {
2829
- result = !!(value + '');
2830
- } catch (e) {}
2831
- }
2832
- return result;
2833
- }
2834
-
2835
- /**
2836
- * Converts `map` to its key-value pairs.
2837
- *
2838
- * @private
2839
- * @param {Object} map The map to convert.
2840
- * @returns {Array} Returns the key-value pairs.
2841
- */
2842
- function mapToArray(map) {
2843
- var index = -1,
2844
- result = Array(map.size);
2845
-
2846
- map.forEach(function(value, key) {
2847
- result[++index] = [key, value];
2848
- });
2849
- return result;
2850
- }
2851
-
2852
- /**
2853
- * Creates a unary function that invokes `func` with its argument transformed.
2854
- *
2855
- * @private
2856
- * @param {Function} func The function to wrap.
2857
- * @param {Function} transform The argument transform.
2858
- * @returns {Function} Returns the new function.
2859
- */
2860
- function overArg(func, transform) {
2861
- return function(arg) {
2862
- return func(transform(arg));
2863
- };
2864
- }
2865
-
2866
- /**
2867
- * Converts `set` to an array of its values.
2868
- *
2869
- * @private
2870
- * @param {Object} set The set to convert.
2871
- * @returns {Array} Returns the values.
2872
- */
2873
- function setToArray(set) {
2874
- var index = -1,
2875
- result = Array(set.size);
2876
-
2877
- set.forEach(function(value) {
2878
- result[++index] = value;
2879
- });
2880
- return result;
2881
- }
2882
-
2883
- /** Used for built-in method references. */
2884
- var arrayProto = Array.prototype,
2885
- funcProto = Function.prototype,
2886
- objectProto = Object.prototype;
2887
-
2888
- /** Used to detect overreaching core-js shims. */
2889
- var coreJsData = root['__core-js_shared__'];
2890
-
2891
- /** Used to detect methods masquerading as native. */
2892
- var maskSrcKey = (function() {
2893
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
2894
- return uid ? ('Symbol(src)_1.' + uid) : '';
2895
- }());
2896
-
2897
- /** Used to resolve the decompiled source of functions. */
2898
- var funcToString = funcProto.toString;
2899
-
2900
- /** Used to check objects for own properties. */
2901
- var hasOwnProperty = objectProto.hasOwnProperty;
2902
-
2903
- /**
2904
- * Used to resolve the
2905
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
2906
- * of values.
2907
- */
2908
- var objectToString = objectProto.toString;
2909
-
2910
- /** Used to detect if a method is native. */
2911
- var reIsNative = RegExp('^' +
2912
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
2913
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
2914
- );
2915
-
2916
- /** Built-in value references. */
2917
- var Buffer = moduleExports ? root.Buffer : undefined,
2918
- Symbol = root.Symbol,
2919
- Uint8Array = root.Uint8Array,
2920
- getPrototype = overArg(Object.getPrototypeOf, Object),
2921
- objectCreate = Object.create,
2922
- propertyIsEnumerable = objectProto.propertyIsEnumerable,
2923
- splice = arrayProto.splice;
2924
-
2925
- /* Built-in method references for those with the same name as other `lodash` methods. */
2926
- var nativeGetSymbols = Object.getOwnPropertySymbols,
2927
- nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
2928
- nativeKeys = overArg(Object.keys, Object);
2929
-
2930
- /* Built-in method references that are verified to be native. */
2931
- var DataView = getNative(root, 'DataView'),
2932
- Map = getNative(root, 'Map'),
2933
- Promise = getNative(root, 'Promise'),
2934
- Set = getNative(root, 'Set'),
2935
- WeakMap = getNative(root, 'WeakMap'),
2936
- nativeCreate = getNative(Object, 'create');
2937
-
2938
- /** Used to detect maps, sets, and weakmaps. */
2939
- var dataViewCtorString = toSource(DataView),
2940
- mapCtorString = toSource(Map),
2941
- promiseCtorString = toSource(Promise),
2942
- setCtorString = toSource(Set),
2943
- weakMapCtorString = toSource(WeakMap);
2944
-
2945
- /** Used to convert symbols to primitives and strings. */
2946
- var symbolProto = Symbol ? Symbol.prototype : undefined,
2947
- symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
2948
-
2949
- /**
2950
- * Creates a hash object.
2951
- *
2952
- * @private
2953
- * @constructor
2954
- * @param {Array} [entries] The key-value pairs to cache.
2955
- */
2956
- function Hash(entries) {
2957
- var index = -1,
2958
- length = entries ? entries.length : 0;
2959
-
2960
- this.clear();
2961
- while (++index < length) {
2962
- var entry = entries[index];
2963
- this.set(entry[0], entry[1]);
2964
- }
2965
- }
2966
-
2967
- /**
2968
- * Removes all key-value entries from the hash.
2969
- *
2970
- * @private
2971
- * @name clear
2972
- * @memberOf Hash
2973
- */
2974
- function hashClear() {
2975
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
2976
- }
2977
-
2978
- /**
2979
- * Removes `key` and its value from the hash.
2980
- *
2981
- * @private
2982
- * @name delete
2983
- * @memberOf Hash
2984
- * @param {Object} hash The hash to modify.
2985
- * @param {string} key The key of the value to remove.
2986
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
2987
- */
2988
- function hashDelete(key) {
2989
- return this.has(key) && delete this.__data__[key];
2990
- }
2991
-
2992
- /**
2993
- * Gets the hash value for `key`.
2994
- *
2995
- * @private
2996
- * @name get
2997
- * @memberOf Hash
2998
- * @param {string} key The key of the value to get.
2999
- * @returns {*} Returns the entry value.
3000
- */
3001
- function hashGet(key) {
3002
- var data = this.__data__;
3003
- if (nativeCreate) {
3004
- var result = data[key];
3005
- return result === HASH_UNDEFINED ? undefined : result;
3006
- }
3007
- return hasOwnProperty.call(data, key) ? data[key] : undefined;
3008
- }
3009
-
3010
- /**
3011
- * Checks if a hash value for `key` exists.
3012
- *
3013
- * @private
3014
- * @name has
3015
- * @memberOf Hash
3016
- * @param {string} key The key of the entry to check.
3017
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3018
- */
3019
- function hashHas(key) {
3020
- var data = this.__data__;
3021
- return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
3022
- }
3023
-
3024
- /**
3025
- * Sets the hash `key` to `value`.
3026
- *
3027
- * @private
3028
- * @name set
3029
- * @memberOf Hash
3030
- * @param {string} key The key of the value to set.
3031
- * @param {*} value The value to set.
3032
- * @returns {Object} Returns the hash instance.
3033
- */
3034
- function hashSet(key, value) {
3035
- var data = this.__data__;
3036
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
3037
- return this;
3038
- }
3039
-
3040
- // Add methods to `Hash`.
3041
- Hash.prototype.clear = hashClear;
3042
- Hash.prototype['delete'] = hashDelete;
3043
- Hash.prototype.get = hashGet;
3044
- Hash.prototype.has = hashHas;
3045
- Hash.prototype.set = hashSet;
3046
-
3047
- /**
3048
- * Creates an list cache object.
3049
- *
3050
- * @private
3051
- * @constructor
3052
- * @param {Array} [entries] The key-value pairs to cache.
3053
- */
3054
- function ListCache(entries) {
3055
- var index = -1,
3056
- length = entries ? entries.length : 0;
3057
-
3058
- this.clear();
3059
- while (++index < length) {
3060
- var entry = entries[index];
3061
- this.set(entry[0], entry[1]);
3062
- }
3063
- }
3064
-
3065
- /**
3066
- * Removes all key-value entries from the list cache.
3067
- *
3068
- * @private
3069
- * @name clear
3070
- * @memberOf ListCache
3071
- */
3072
- function listCacheClear() {
3073
- this.__data__ = [];
3074
- }
3075
-
3076
- /**
3077
- * Removes `key` and its value from the list cache.
3078
- *
3079
- * @private
3080
- * @name delete
3081
- * @memberOf ListCache
3082
- * @param {string} key The key of the value to remove.
3083
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3084
- */
3085
- function listCacheDelete(key) {
3086
- var data = this.__data__,
3087
- index = assocIndexOf(data, key);
3088
-
3089
- if (index < 0) {
3090
- return false;
3091
- }
3092
- var lastIndex = data.length - 1;
3093
- if (index == lastIndex) {
3094
- data.pop();
3095
- } else {
3096
- splice.call(data, index, 1);
3097
- }
3098
- return true;
3099
- }
3100
-
3101
- /**
3102
- * Gets the list cache value for `key`.
3103
- *
3104
- * @private
3105
- * @name get
3106
- * @memberOf ListCache
3107
- * @param {string} key The key of the value to get.
3108
- * @returns {*} Returns the entry value.
3109
- */
3110
- function listCacheGet(key) {
3111
- var data = this.__data__,
3112
- index = assocIndexOf(data, key);
3113
-
3114
- return index < 0 ? undefined : data[index][1];
3115
- }
3116
-
3117
- /**
3118
- * Checks if a list cache value for `key` exists.
3119
- *
3120
- * @private
3121
- * @name has
3122
- * @memberOf ListCache
3123
- * @param {string} key The key of the entry to check.
3124
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3125
- */
3126
- function listCacheHas(key) {
3127
- return assocIndexOf(this.__data__, key) > -1;
3128
- }
3129
-
3130
- /**
3131
- * Sets the list cache `key` to `value`.
3132
- *
3133
- * @private
3134
- * @name set
3135
- * @memberOf ListCache
3136
- * @param {string} key The key of the value to set.
3137
- * @param {*} value The value to set.
3138
- * @returns {Object} Returns the list cache instance.
3139
- */
3140
- function listCacheSet(key, value) {
3141
- var data = this.__data__,
3142
- index = assocIndexOf(data, key);
3143
-
3144
- if (index < 0) {
3145
- data.push([key, value]);
3146
- } else {
3147
- data[index][1] = value;
3148
- }
3149
- return this;
3150
- }
3151
-
3152
- // Add methods to `ListCache`.
3153
- ListCache.prototype.clear = listCacheClear;
3154
- ListCache.prototype['delete'] = listCacheDelete;
3155
- ListCache.prototype.get = listCacheGet;
3156
- ListCache.prototype.has = listCacheHas;
3157
- ListCache.prototype.set = listCacheSet;
3158
-
3159
- /**
3160
- * Creates a map cache object to store key-value pairs.
3161
- *
3162
- * @private
3163
- * @constructor
3164
- * @param {Array} [entries] The key-value pairs to cache.
3165
- */
3166
- function MapCache(entries) {
3167
- var index = -1,
3168
- length = entries ? entries.length : 0;
3169
-
3170
- this.clear();
3171
- while (++index < length) {
3172
- var entry = entries[index];
3173
- this.set(entry[0], entry[1]);
3174
- }
3175
- }
3176
-
3177
- /**
3178
- * Removes all key-value entries from the map.
3179
- *
3180
- * @private
3181
- * @name clear
3182
- * @memberOf MapCache
3183
- */
3184
- function mapCacheClear() {
3185
- this.__data__ = {
3186
- 'hash': new Hash,
3187
- 'map': new (Map || ListCache),
3188
- 'string': new Hash
3189
- };
3190
- }
3191
-
3192
- /**
3193
- * Removes `key` and its value from the map.
3194
- *
3195
- * @private
3196
- * @name delete
3197
- * @memberOf MapCache
3198
- * @param {string} key The key of the value to remove.
3199
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3200
- */
3201
- function mapCacheDelete(key) {
3202
- return getMapData(this, key)['delete'](key);
3203
- }
3204
-
3205
- /**
3206
- * Gets the map value for `key`.
3207
- *
3208
- * @private
3209
- * @name get
3210
- * @memberOf MapCache
3211
- * @param {string} key The key of the value to get.
3212
- * @returns {*} Returns the entry value.
3213
- */
3214
- function mapCacheGet(key) {
3215
- return getMapData(this, key).get(key);
3216
- }
3217
-
3218
- /**
3219
- * Checks if a map value for `key` exists.
3220
- *
3221
- * @private
3222
- * @name has
3223
- * @memberOf MapCache
3224
- * @param {string} key The key of the entry to check.
3225
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3226
- */
3227
- function mapCacheHas(key) {
3228
- return getMapData(this, key).has(key);
3229
- }
3230
-
3231
- /**
3232
- * Sets the map `key` to `value`.
3233
- *
3234
- * @private
3235
- * @name set
3236
- * @memberOf MapCache
3237
- * @param {string} key The key of the value to set.
3238
- * @param {*} value The value to set.
3239
- * @returns {Object} Returns the map cache instance.
3240
- */
3241
- function mapCacheSet(key, value) {
3242
- getMapData(this, key).set(key, value);
3243
- return this;
3244
- }
3245
-
3246
- // Add methods to `MapCache`.
3247
- MapCache.prototype.clear = mapCacheClear;
3248
- MapCache.prototype['delete'] = mapCacheDelete;
3249
- MapCache.prototype.get = mapCacheGet;
3250
- MapCache.prototype.has = mapCacheHas;
3251
- MapCache.prototype.set = mapCacheSet;
3252
-
3253
- /**
3254
- * Creates a stack cache object to store key-value pairs.
3255
- *
3256
- * @private
3257
- * @constructor
3258
- * @param {Array} [entries] The key-value pairs to cache.
3259
- */
3260
- function Stack(entries) {
3261
- this.__data__ = new ListCache(entries);
3262
- }
3263
-
3264
- /**
3265
- * Removes all key-value entries from the stack.
3266
- *
3267
- * @private
3268
- * @name clear
3269
- * @memberOf Stack
3270
- */
3271
- function stackClear() {
3272
- this.__data__ = new ListCache;
3273
- }
3274
-
3275
- /**
3276
- * Removes `key` and its value from the stack.
3277
- *
3278
- * @private
3279
- * @name delete
3280
- * @memberOf Stack
3281
- * @param {string} key The key of the value to remove.
3282
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3283
- */
3284
- function stackDelete(key) {
3285
- return this.__data__['delete'](key);
3286
- }
3287
-
3288
- /**
3289
- * Gets the stack value for `key`.
3290
- *
3291
- * @private
3292
- * @name get
3293
- * @memberOf Stack
3294
- * @param {string} key The key of the value to get.
3295
- * @returns {*} Returns the entry value.
3296
- */
3297
- function stackGet(key) {
3298
- return this.__data__.get(key);
3299
- }
3300
-
3301
- /**
3302
- * Checks if a stack value for `key` exists.
3303
- *
3304
- * @private
3305
- * @name has
3306
- * @memberOf Stack
3307
- * @param {string} key The key of the entry to check.
3308
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3309
- */
3310
- function stackHas(key) {
3311
- return this.__data__.has(key);
3312
- }
3313
-
3314
- /**
3315
- * Sets the stack `key` to `value`.
3316
- *
3317
- * @private
3318
- * @name set
3319
- * @memberOf Stack
3320
- * @param {string} key The key of the value to set.
3321
- * @param {*} value The value to set.
3322
- * @returns {Object} Returns the stack cache instance.
3323
- */
3324
- function stackSet(key, value) {
3325
- var cache = this.__data__;
3326
- if (cache instanceof ListCache) {
3327
- var pairs = cache.__data__;
3328
- if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
3329
- pairs.push([key, value]);
3330
- return this;
3331
- }
3332
- cache = this.__data__ = new MapCache(pairs);
3333
- }
3334
- cache.set(key, value);
3335
- return this;
3336
- }
3337
-
3338
- // Add methods to `Stack`.
3339
- Stack.prototype.clear = stackClear;
3340
- Stack.prototype['delete'] = stackDelete;
3341
- Stack.prototype.get = stackGet;
3342
- Stack.prototype.has = stackHas;
3343
- Stack.prototype.set = stackSet;
3344
-
3345
- /**
3346
- * Creates an array of the enumerable property names of the array-like `value`.
3347
- *
3348
- * @private
3349
- * @param {*} value The value to query.
3350
- * @param {boolean} inherited Specify returning inherited property names.
3351
- * @returns {Array} Returns the array of property names.
3352
- */
3353
- function arrayLikeKeys(value, inherited) {
3354
- // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
3355
- // Safari 9 makes `arguments.length` enumerable in strict mode.
3356
- var result = (isArray(value) || isArguments(value))
3357
- ? baseTimes(value.length, String)
3358
- : [];
3359
-
3360
- var length = result.length,
3361
- skipIndexes = !!length;
3362
-
3363
- for (var key in value) {
3364
- if ((inherited || hasOwnProperty.call(value, key)) &&
3365
- !(skipIndexes && (key == 'length' || isIndex(key, length)))) {
3366
- result.push(key);
3367
- }
3368
- }
3369
- return result;
3370
- }
3371
-
3372
- /**
3373
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
3374
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
3375
- * for equality comparisons.
3376
- *
3377
- * @private
3378
- * @param {Object} object The object to modify.
3379
- * @param {string} key The key of the property to assign.
3380
- * @param {*} value The value to assign.
3381
- */
3382
- function assignValue(object, key, value) {
3383
- var objValue = object[key];
3384
- if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
3385
- (value === undefined && !(key in object))) {
3386
- object[key] = value;
3387
- }
3388
- }
3389
-
3390
- /**
3391
- * Gets the index at which the `key` is found in `array` of key-value pairs.
3392
- *
3393
- * @private
3394
- * @param {Array} array The array to inspect.
3395
- * @param {*} key The key to search for.
3396
- * @returns {number} Returns the index of the matched value, else `-1`.
3397
- */
3398
- function assocIndexOf(array, key) {
3399
- var length = array.length;
3400
- while (length--) {
3401
- if (eq(array[length][0], key)) {
3402
- return length;
3403
- }
3404
- }
3405
- return -1;
3406
- }
3407
-
3408
- /**
3409
- * The base implementation of `_.assign` without support for multiple sources
3410
- * or `customizer` functions.
3411
- *
3412
- * @private
3413
- * @param {Object} object The destination object.
3414
- * @param {Object} source The source object.
3415
- * @returns {Object} Returns `object`.
3416
- */
3417
- function baseAssign(object, source) {
3418
- return object && copyObject(source, keys(source), object);
3419
- }
3420
-
3421
- /**
3422
- * The base implementation of `_.clone` and `_.cloneDeep` which tracks
3423
- * traversed objects.
3424
- *
3425
- * @private
3426
- * @param {*} value The value to clone.
3427
- * @param {boolean} [isDeep] Specify a deep clone.
3428
- * @param {boolean} [isFull] Specify a clone including symbols.
3429
- * @param {Function} [customizer] The function to customize cloning.
3430
- * @param {string} [key] The key of `value`.
3431
- * @param {Object} [object] The parent object of `value`.
3432
- * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
3433
- * @returns {*} Returns the cloned value.
3434
- */
3435
- function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
3436
- var result;
3437
- if (customizer) {
3438
- result = object ? customizer(value, key, object, stack) : customizer(value);
3439
- }
3440
- if (result !== undefined) {
3441
- return result;
3442
- }
3443
- if (!isObject(value)) {
3444
- return value;
3445
- }
3446
- var isArr = isArray(value);
3447
- if (isArr) {
3448
- result = initCloneArray(value);
3449
- if (!isDeep) {
3450
- return copyArray(value, result);
3451
- }
3452
- } else {
3453
- var tag = getTag(value),
3454
- isFunc = tag == funcTag || tag == genTag;
3455
-
3456
- if (isBuffer(value)) {
3457
- return cloneBuffer(value, isDeep);
3458
- }
3459
- if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
3460
- if (isHostObject(value)) {
3461
- return object ? value : {};
3462
- }
3463
- result = initCloneObject(isFunc ? {} : value);
3464
- if (!isDeep) {
3465
- return copySymbols(value, baseAssign(result, value));
3466
- }
3467
- } else {
3468
- if (!cloneableTags[tag]) {
3469
- return object ? value : {};
3470
- }
3471
- result = initCloneByTag(value, tag, baseClone, isDeep);
3472
- }
3473
- }
3474
- // Check for circular references and return its corresponding clone.
3475
- stack || (stack = new Stack);
3476
- var stacked = stack.get(value);
3477
- if (stacked) {
3478
- return stacked;
3479
- }
3480
- stack.set(value, result);
3481
-
3482
- if (!isArr) {
3483
- var props = isFull ? getAllKeys(value) : keys(value);
3484
- }
3485
- arrayEach(props || value, function(subValue, key) {
3486
- if (props) {
3487
- key = subValue;
3488
- subValue = value[key];
3489
- }
3490
- // Recursively populate clone (susceptible to call stack limits).
3491
- assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
3492
- });
3493
- return result;
3494
- }
3495
-
3496
- /**
3497
- * The base implementation of `_.create` without support for assigning
3498
- * properties to the created object.
3499
- *
3500
- * @private
3501
- * @param {Object} prototype The object to inherit from.
3502
- * @returns {Object} Returns the new object.
3503
- */
3504
- function baseCreate(proto) {
3505
- return isObject(proto) ? objectCreate(proto) : {};
3506
- }
3507
-
3508
- /**
3509
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
3510
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
3511
- * symbols of `object`.
3512
- *
3513
- * @private
3514
- * @param {Object} object The object to query.
3515
- * @param {Function} keysFunc The function to get the keys of `object`.
3516
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
3517
- * @returns {Array} Returns the array of property names and symbols.
3518
- */
3519
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
3520
- var result = keysFunc(object);
3521
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
3522
- }
3523
-
3524
- /**
3525
- * The base implementation of `getTag`.
3526
- *
3527
- * @private
3528
- * @param {*} value The value to query.
3529
- * @returns {string} Returns the `toStringTag`.
3530
- */
3531
- function baseGetTag(value) {
3532
- return objectToString.call(value);
3533
- }
3534
-
3535
- /**
3536
- * The base implementation of `_.isNative` without bad shim checks.
3537
- *
3538
- * @private
3539
- * @param {*} value The value to check.
3540
- * @returns {boolean} Returns `true` if `value` is a native function,
3541
- * else `false`.
3542
- */
3543
- function baseIsNative(value) {
3544
- if (!isObject(value) || isMasked(value)) {
3545
- return false;
3546
- }
3547
- var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
3548
- return pattern.test(toSource(value));
3549
- }
3550
-
3551
- /**
3552
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
3553
- *
3554
- * @private
3555
- * @param {Object} object The object to query.
3556
- * @returns {Array} Returns the array of property names.
3557
- */
3558
- function baseKeys(object) {
3559
- if (!isPrototype(object)) {
3560
- return nativeKeys(object);
3561
- }
3562
- var result = [];
3563
- for (var key in Object(object)) {
3564
- if (hasOwnProperty.call(object, key) && key != 'constructor') {
3565
- result.push(key);
3566
- }
3567
- }
3568
- return result;
3569
- }
3570
-
3571
- /**
3572
- * Creates a clone of `buffer`.
3573
- *
3574
- * @private
3575
- * @param {Buffer} buffer The buffer to clone.
3576
- * @param {boolean} [isDeep] Specify a deep clone.
3577
- * @returns {Buffer} Returns the cloned buffer.
3578
- */
3579
- function cloneBuffer(buffer, isDeep) {
3580
- if (isDeep) {
3581
- return buffer.slice();
3582
- }
3583
- var result = new buffer.constructor(buffer.length);
3584
- buffer.copy(result);
3585
- return result;
3586
- }
3587
-
3588
- /**
3589
- * Creates a clone of `arrayBuffer`.
3590
- *
3591
- * @private
3592
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
3593
- * @returns {ArrayBuffer} Returns the cloned array buffer.
3594
- */
3595
- function cloneArrayBuffer(arrayBuffer) {
3596
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
3597
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
3598
- return result;
3599
- }
3600
-
3601
- /**
3602
- * Creates a clone of `dataView`.
3603
- *
3604
- * @private
3605
- * @param {Object} dataView The data view to clone.
3606
- * @param {boolean} [isDeep] Specify a deep clone.
3607
- * @returns {Object} Returns the cloned data view.
3608
- */
3609
- function cloneDataView(dataView, isDeep) {
3610
- var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
3611
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
3612
- }
3613
-
3614
- /**
3615
- * Creates a clone of `map`.
3616
- *
3617
- * @private
3618
- * @param {Object} map The map to clone.
3619
- * @param {Function} cloneFunc The function to clone values.
3620
- * @param {boolean} [isDeep] Specify a deep clone.
3621
- * @returns {Object} Returns the cloned map.
3622
- */
3623
- function cloneMap(map, isDeep, cloneFunc) {
3624
- var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
3625
- return arrayReduce(array, addMapEntry, new map.constructor);
3626
- }
3627
-
3628
- /**
3629
- * Creates a clone of `regexp`.
3630
- *
3631
- * @private
3632
- * @param {Object} regexp The regexp to clone.
3633
- * @returns {Object} Returns the cloned regexp.
3634
- */
3635
- function cloneRegExp(regexp) {
3636
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
3637
- result.lastIndex = regexp.lastIndex;
3638
- return result;
3639
- }
3640
-
3641
- /**
3642
- * Creates a clone of `set`.
3643
- *
3644
- * @private
3645
- * @param {Object} set The set to clone.
3646
- * @param {Function} cloneFunc The function to clone values.
3647
- * @param {boolean} [isDeep] Specify a deep clone.
3648
- * @returns {Object} Returns the cloned set.
3649
- */
3650
- function cloneSet(set, isDeep, cloneFunc) {
3651
- var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
3652
- return arrayReduce(array, addSetEntry, new set.constructor);
3653
- }
3654
-
3655
- /**
3656
- * Creates a clone of the `symbol` object.
3657
- *
3658
- * @private
3659
- * @param {Object} symbol The symbol object to clone.
3660
- * @returns {Object} Returns the cloned symbol object.
3661
- */
3662
- function cloneSymbol(symbol) {
3663
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
3664
- }
3665
-
3666
- /**
3667
- * Creates a clone of `typedArray`.
3668
- *
3669
- * @private
3670
- * @param {Object} typedArray The typed array to clone.
3671
- * @param {boolean} [isDeep] Specify a deep clone.
3672
- * @returns {Object} Returns the cloned typed array.
3673
- */
3674
- function cloneTypedArray(typedArray, isDeep) {
3675
- var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
3676
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
3677
- }
3678
-
3679
- /**
3680
- * Copies the values of `source` to `array`.
3681
- *
3682
- * @private
3683
- * @param {Array} source The array to copy values from.
3684
- * @param {Array} [array=[]] The array to copy values to.
3685
- * @returns {Array} Returns `array`.
3686
- */
3687
- function copyArray(source, array) {
3688
- var index = -1,
3689
- length = source.length;
3690
-
3691
- array || (array = Array(length));
3692
- while (++index < length) {
3693
- array[index] = source[index];
3694
- }
3695
- return array;
3696
- }
3697
-
3698
- /**
3699
- * Copies properties of `source` to `object`.
3700
- *
3701
- * @private
3702
- * @param {Object} source The object to copy properties from.
3703
- * @param {Array} props The property identifiers to copy.
3704
- * @param {Object} [object={}] The object to copy properties to.
3705
- * @param {Function} [customizer] The function to customize copied values.
3706
- * @returns {Object} Returns `object`.
3707
- */
3708
- function copyObject(source, props, object, customizer) {
3709
- object || (object = {});
3710
-
3711
- var index = -1,
3712
- length = props.length;
3713
-
3714
- while (++index < length) {
3715
- var key = props[index];
3716
-
3717
- var newValue = customizer
3718
- ? customizer(object[key], source[key], key, object, source)
3719
- : undefined;
3720
-
3721
- assignValue(object, key, newValue === undefined ? source[key] : newValue);
3722
- }
3723
- return object;
3724
- }
3725
-
3726
- /**
3727
- * Copies own symbol properties of `source` to `object`.
3728
- *
3729
- * @private
3730
- * @param {Object} source The object to copy symbols from.
3731
- * @param {Object} [object={}] The object to copy symbols to.
3732
- * @returns {Object} Returns `object`.
3733
- */
3734
- function copySymbols(source, object) {
3735
- return copyObject(source, getSymbols(source), object);
3736
- }
3737
-
3738
- /**
3739
- * Creates an array of own enumerable property names and symbols of `object`.
3740
- *
3741
- * @private
3742
- * @param {Object} object The object to query.
3743
- * @returns {Array} Returns the array of property names and symbols.
3744
- */
3745
- function getAllKeys(object) {
3746
- return baseGetAllKeys(object, keys, getSymbols);
3747
- }
3748
-
3749
- /**
3750
- * Gets the data for `map`.
3751
- *
3752
- * @private
3753
- * @param {Object} map The map to query.
3754
- * @param {string} key The reference key.
3755
- * @returns {*} Returns the map data.
3756
- */
3757
- function getMapData(map, key) {
3758
- var data = map.__data__;
3759
- return isKeyable(key)
3760
- ? data[typeof key == 'string' ? 'string' : 'hash']
3761
- : data.map;
3762
- }
3763
-
3764
- /**
3765
- * Gets the native function at `key` of `object`.
3766
- *
3767
- * @private
3768
- * @param {Object} object The object to query.
3769
- * @param {string} key The key of the method to get.
3770
- * @returns {*} Returns the function if it's native, else `undefined`.
3771
- */
3772
- function getNative(object, key) {
3773
- var value = getValue(object, key);
3774
- return baseIsNative(value) ? value : undefined;
3775
- }
3776
-
3777
- /**
3778
- * Creates an array of the own enumerable symbol properties of `object`.
3779
- *
3780
- * @private
3781
- * @param {Object} object The object to query.
3782
- * @returns {Array} Returns the array of symbols.
3783
- */
3784
- var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
3785
-
3786
- /**
3787
- * Gets the `toStringTag` of `value`.
3788
- *
3789
- * @private
3790
- * @param {*} value The value to query.
3791
- * @returns {string} Returns the `toStringTag`.
3792
- */
3793
- var getTag = baseGetTag;
3794
-
3795
- // Fallback for data views, maps, sets, and weak maps in IE 11,
3796
- // for data views in Edge < 14, and promises in Node.js.
3797
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
3798
- (Map && getTag(new Map) != mapTag) ||
3799
- (Promise && getTag(Promise.resolve()) != promiseTag) ||
3800
- (Set && getTag(new Set) != setTag) ||
3801
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
3802
- getTag = function(value) {
3803
- var result = objectToString.call(value),
3804
- Ctor = result == objectTag ? value.constructor : undefined,
3805
- ctorString = Ctor ? toSource(Ctor) : undefined;
3806
-
3807
- if (ctorString) {
3808
- switch (ctorString) {
3809
- case dataViewCtorString: return dataViewTag;
3810
- case mapCtorString: return mapTag;
3811
- case promiseCtorString: return promiseTag;
3812
- case setCtorString: return setTag;
3813
- case weakMapCtorString: return weakMapTag;
3814
- }
3815
- }
3816
- return result;
3817
- };
3818
- }
3819
-
3820
- /**
3821
- * Initializes an array clone.
3822
- *
3823
- * @private
3824
- * @param {Array} array The array to clone.
3825
- * @returns {Array} Returns the initialized clone.
3826
- */
3827
- function initCloneArray(array) {
3828
- var length = array.length,
3829
- result = array.constructor(length);
3830
-
3831
- // Add properties assigned by `RegExp#exec`.
3832
- if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
3833
- result.index = array.index;
3834
- result.input = array.input;
3835
- }
3836
- return result;
3837
- }
3838
-
3839
- /**
3840
- * Initializes an object clone.
3841
- *
3842
- * @private
3843
- * @param {Object} object The object to clone.
3844
- * @returns {Object} Returns the initialized clone.
3845
- */
3846
- function initCloneObject(object) {
3847
- return (typeof object.constructor == 'function' && !isPrototype(object))
3848
- ? baseCreate(getPrototype(object))
3849
- : {};
3850
- }
3851
-
3852
- /**
3853
- * Initializes an object clone based on its `toStringTag`.
3854
- *
3855
- * **Note:** This function only supports cloning values with tags of
3856
- * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
3857
- *
3858
- * @private
3859
- * @param {Object} object The object to clone.
3860
- * @param {string} tag The `toStringTag` of the object to clone.
3861
- * @param {Function} cloneFunc The function to clone values.
3862
- * @param {boolean} [isDeep] Specify a deep clone.
3863
- * @returns {Object} Returns the initialized clone.
3864
- */
3865
- function initCloneByTag(object, tag, cloneFunc, isDeep) {
3866
- var Ctor = object.constructor;
3867
- switch (tag) {
3868
- case arrayBufferTag:
3869
- return cloneArrayBuffer(object);
3870
-
3871
- case boolTag:
3872
- case dateTag:
3873
- return new Ctor(+object);
3874
-
3875
- case dataViewTag:
3876
- return cloneDataView(object, isDeep);
3877
-
3878
- case float32Tag: case float64Tag:
3879
- case int8Tag: case int16Tag: case int32Tag:
3880
- case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
3881
- return cloneTypedArray(object, isDeep);
3882
-
3883
- case mapTag:
3884
- return cloneMap(object, isDeep, cloneFunc);
3885
-
3886
- case numberTag:
3887
- case stringTag:
3888
- return new Ctor(object);
3889
-
3890
- case regexpTag:
3891
- return cloneRegExp(object);
3892
-
3893
- case setTag:
3894
- return cloneSet(object, isDeep, cloneFunc);
3895
-
3896
- case symbolTag:
3897
- return cloneSymbol(object);
3898
- }
3899
- }
3900
-
3901
- /**
3902
- * Checks if `value` is a valid array-like index.
3903
- *
3904
- * @private
3905
- * @param {*} value The value to check.
3906
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
3907
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
3908
- */
3909
- function isIndex(value, length) {
3910
- length = length == null ? MAX_SAFE_INTEGER : length;
3911
- return !!length &&
3912
- (typeof value == 'number' || reIsUint.test(value)) &&
3913
- (value > -1 && value % 1 == 0 && value < length);
3914
- }
3915
-
3916
- /**
3917
- * Checks if `value` is suitable for use as unique object key.
3918
- *
3919
- * @private
3920
- * @param {*} value The value to check.
3921
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
3922
- */
3923
- function isKeyable(value) {
3924
- var type = typeof value;
3925
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
3926
- ? (value !== '__proto__')
3927
- : (value === null);
3928
- }
3929
-
3930
- /**
3931
- * Checks if `func` has its source masked.
3932
- *
3933
- * @private
3934
- * @param {Function} func The function to check.
3935
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
3936
- */
3937
- function isMasked(func) {
3938
- return !!maskSrcKey && (maskSrcKey in func);
3939
- }
3940
-
3941
- /**
3942
- * Checks if `value` is likely a prototype object.
3943
- *
3944
- * @private
3945
- * @param {*} value The value to check.
3946
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
3947
- */
3948
- function isPrototype(value) {
3949
- var Ctor = value && value.constructor,
3950
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
3951
-
3952
- return value === proto;
3953
- }
3954
-
3955
- /**
3956
- * Converts `func` to its source code.
3957
- *
3958
- * @private
3959
- * @param {Function} func The function to process.
3960
- * @returns {string} Returns the source code.
3961
- */
3962
- function toSource(func) {
3963
- if (func != null) {
3964
- try {
3965
- return funcToString.call(func);
3966
- } catch (e) {}
3967
- try {
3968
- return (func + '');
3969
- } catch (e) {}
3970
- }
3971
- return '';
3972
- }
3973
-
3974
- /**
3975
- * This method is like `_.clone` except that it recursively clones `value`.
3976
- *
3977
- * @static
3978
- * @memberOf _
3979
- * @since 1.0.0
3980
- * @category Lang
3981
- * @param {*} value The value to recursively clone.
3982
- * @returns {*} Returns the deep cloned value.
3983
- * @see _.clone
3984
- * @example
3985
- *
3986
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
3987
- *
3988
- * var deep = _.cloneDeep(objects);
3989
- * console.log(deep[0] === objects[0]);
3990
- * // => false
3991
- */
3992
- function cloneDeep(value) {
3993
- return baseClone(value, true, true);
3994
- }
3995
-
3996
- /**
3997
- * Performs a
3998
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
3999
- * comparison between two values to determine if they are equivalent.
4000
- *
4001
- * @static
4002
- * @memberOf _
4003
- * @since 4.0.0
4004
- * @category Lang
4005
- * @param {*} value The value to compare.
4006
- * @param {*} other The other value to compare.
4007
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
4008
- * @example
4009
- *
4010
- * var object = { 'a': 1 };
4011
- * var other = { 'a': 1 };
4012
- *
4013
- * _.eq(object, object);
4014
- * // => true
4015
- *
4016
- * _.eq(object, other);
4017
- * // => false
4018
- *
4019
- * _.eq('a', 'a');
4020
- * // => true
4021
- *
4022
- * _.eq('a', Object('a'));
4023
- * // => false
4024
- *
4025
- * _.eq(NaN, NaN);
4026
- * // => true
4027
- */
4028
- function eq(value, other) {
4029
- return value === other || (value !== value && other !== other);
4030
- }
4031
-
4032
- /**
4033
- * Checks if `value` is likely an `arguments` object.
4034
- *
4035
- * @static
4036
- * @memberOf _
4037
- * @since 0.1.0
4038
- * @category Lang
4039
- * @param {*} value The value to check.
4040
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
4041
- * else `false`.
4042
- * @example
4043
- *
4044
- * _.isArguments(function() { return arguments; }());
4045
- * // => true
4046
- *
4047
- * _.isArguments([1, 2, 3]);
4048
- * // => false
4049
- */
4050
- function isArguments(value) {
4051
- // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
4052
- return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
4053
- (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
4054
- }
4055
-
4056
- /**
4057
- * Checks if `value` is classified as an `Array` object.
4058
- *
4059
- * @static
4060
- * @memberOf _
4061
- * @since 0.1.0
4062
- * @category Lang
4063
- * @param {*} value The value to check.
4064
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
4065
- * @example
4066
- *
4067
- * _.isArray([1, 2, 3]);
4068
- * // => true
4069
- *
4070
- * _.isArray(document.body.children);
4071
- * // => false
4072
- *
4073
- * _.isArray('abc');
4074
- * // => false
4075
- *
4076
- * _.isArray(_.noop);
4077
- * // => false
4078
- */
4079
- var isArray = Array.isArray;
4080
-
4081
- /**
4082
- * Checks if `value` is array-like. A value is considered array-like if it's
4083
- * not a function and has a `value.length` that's an integer greater than or
4084
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
4085
- *
4086
- * @static
4087
- * @memberOf _
4088
- * @since 4.0.0
4089
- * @category Lang
4090
- * @param {*} value The value to check.
4091
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
4092
- * @example
4093
- *
4094
- * _.isArrayLike([1, 2, 3]);
4095
- * // => true
4096
- *
4097
- * _.isArrayLike(document.body.children);
4098
- * // => true
4099
- *
4100
- * _.isArrayLike('abc');
4101
- * // => true
4102
- *
4103
- * _.isArrayLike(_.noop);
4104
- * // => false
4105
- */
4106
- function isArrayLike(value) {
4107
- return value != null && isLength(value.length) && !isFunction(value);
4108
- }
4109
-
4110
- /**
4111
- * This method is like `_.isArrayLike` except that it also checks if `value`
4112
- * is an object.
4113
- *
4114
- * @static
4115
- * @memberOf _
4116
- * @since 4.0.0
4117
- * @category Lang
4118
- * @param {*} value The value to check.
4119
- * @returns {boolean} Returns `true` if `value` is an array-like object,
4120
- * else `false`.
4121
- * @example
4122
- *
4123
- * _.isArrayLikeObject([1, 2, 3]);
4124
- * // => true
4125
- *
4126
- * _.isArrayLikeObject(document.body.children);
4127
- * // => true
4128
- *
4129
- * _.isArrayLikeObject('abc');
4130
- * // => false
4131
- *
4132
- * _.isArrayLikeObject(_.noop);
4133
- * // => false
4134
- */
4135
- function isArrayLikeObject(value) {
4136
- return isObjectLike(value) && isArrayLike(value);
4137
- }
4138
-
4139
- /**
4140
- * Checks if `value` is a buffer.
4141
- *
4142
- * @static
4143
- * @memberOf _
4144
- * @since 4.3.0
4145
- * @category Lang
4146
- * @param {*} value The value to check.
4147
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
4148
- * @example
4149
- *
4150
- * _.isBuffer(new Buffer(2));
4151
- * // => true
4152
- *
4153
- * _.isBuffer(new Uint8Array(2));
4154
- * // => false
4155
- */
4156
- var isBuffer = nativeIsBuffer || stubFalse;
4157
-
4158
- /**
4159
- * Checks if `value` is classified as a `Function` object.
4160
- *
4161
- * @static
4162
- * @memberOf _
4163
- * @since 0.1.0
4164
- * @category Lang
4165
- * @param {*} value The value to check.
4166
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
4167
- * @example
4168
- *
4169
- * _.isFunction(_);
4170
- * // => true
4171
- *
4172
- * _.isFunction(/abc/);
4173
- * // => false
4174
- */
4175
- function isFunction(value) {
4176
- // The use of `Object#toString` avoids issues with the `typeof` operator
4177
- // in Safari 8-9 which returns 'object' for typed array and other constructors.
4178
- var tag = isObject(value) ? objectToString.call(value) : '';
4179
- return tag == funcTag || tag == genTag;
4180
- }
4181
-
4182
- /**
4183
- * Checks if `value` is a valid array-like length.
4184
- *
4185
- * **Note:** This method is loosely based on
4186
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
4187
- *
4188
- * @static
4189
- * @memberOf _
4190
- * @since 4.0.0
4191
- * @category Lang
4192
- * @param {*} value The value to check.
4193
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
4194
- * @example
4195
- *
4196
- * _.isLength(3);
4197
- * // => true
4198
- *
4199
- * _.isLength(Number.MIN_VALUE);
4200
- * // => false
4201
- *
4202
- * _.isLength(Infinity);
4203
- * // => false
4204
- *
4205
- * _.isLength('3');
4206
- * // => false
4207
- */
4208
- function isLength(value) {
4209
- return typeof value == 'number' &&
4210
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2603
+ var hasRequiredLodash_clonedeep;
2604
+
2605
+ function requireLodash_clonedeep () {
2606
+ if (hasRequiredLodash_clonedeep) return lodash_clonedeep.exports;
2607
+ hasRequiredLodash_clonedeep = 1;
2608
+ (function (module, exports) {
2609
+ /** Used as the size to enable large array optimizations. */
2610
+ var LARGE_ARRAY_SIZE = 200;
2611
+
2612
+ /** Used to stand-in for `undefined` hash values. */
2613
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
2614
+
2615
+ /** Used as references for various `Number` constants. */
2616
+ var MAX_SAFE_INTEGER = 9007199254740991;
2617
+
2618
+ /** `Object#toString` result references. */
2619
+ var argsTag = '[object Arguments]',
2620
+ arrayTag = '[object Array]',
2621
+ boolTag = '[object Boolean]',
2622
+ dateTag = '[object Date]',
2623
+ errorTag = '[object Error]',
2624
+ funcTag = '[object Function]',
2625
+ genTag = '[object GeneratorFunction]',
2626
+ mapTag = '[object Map]',
2627
+ numberTag = '[object Number]',
2628
+ objectTag = '[object Object]',
2629
+ promiseTag = '[object Promise]',
2630
+ regexpTag = '[object RegExp]',
2631
+ setTag = '[object Set]',
2632
+ stringTag = '[object String]',
2633
+ symbolTag = '[object Symbol]',
2634
+ weakMapTag = '[object WeakMap]';
2635
+
2636
+ var arrayBufferTag = '[object ArrayBuffer]',
2637
+ dataViewTag = '[object DataView]',
2638
+ float32Tag = '[object Float32Array]',
2639
+ float64Tag = '[object Float64Array]',
2640
+ int8Tag = '[object Int8Array]',
2641
+ int16Tag = '[object Int16Array]',
2642
+ int32Tag = '[object Int32Array]',
2643
+ uint8Tag = '[object Uint8Array]',
2644
+ uint8ClampedTag = '[object Uint8ClampedArray]',
2645
+ uint16Tag = '[object Uint16Array]',
2646
+ uint32Tag = '[object Uint32Array]';
2647
+
2648
+ /**
2649
+ * Used to match `RegExp`
2650
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
2651
+ */
2652
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
2653
+
2654
+ /** Used to match `RegExp` flags from their coerced string values. */
2655
+ var reFlags = /\w*$/;
2656
+
2657
+ /** Used to detect host constructors (Safari). */
2658
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
2659
+
2660
+ /** Used to detect unsigned integer values. */
2661
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
2662
+
2663
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
2664
+ var cloneableTags = {};
2665
+ cloneableTags[argsTag] = cloneableTags[arrayTag] =
2666
+ cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
2667
+ cloneableTags[boolTag] = cloneableTags[dateTag] =
2668
+ cloneableTags[float32Tag] = cloneableTags[float64Tag] =
2669
+ cloneableTags[int8Tag] = cloneableTags[int16Tag] =
2670
+ cloneableTags[int32Tag] = cloneableTags[mapTag] =
2671
+ cloneableTags[numberTag] = cloneableTags[objectTag] =
2672
+ cloneableTags[regexpTag] = cloneableTags[setTag] =
2673
+ cloneableTags[stringTag] = cloneableTags[symbolTag] =
2674
+ cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
2675
+ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
2676
+ cloneableTags[errorTag] = cloneableTags[funcTag] =
2677
+ cloneableTags[weakMapTag] = false;
2678
+
2679
+ /** Detect free variable `global` from Node.js. */
2680
+ var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
2681
+
2682
+ /** Detect free variable `self`. */
2683
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
2684
+
2685
+ /** Used as a reference to the global object. */
2686
+ var root = freeGlobal || freeSelf || Function('return this')();
2687
+
2688
+ /** Detect free variable `exports`. */
2689
+ var freeExports = exports && !exports.nodeType && exports;
2690
+
2691
+ /** Detect free variable `module`. */
2692
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
2693
+
2694
+ /** Detect the popular CommonJS extension `module.exports`. */
2695
+ var moduleExports = freeModule && freeModule.exports === freeExports;
2696
+
2697
+ /**
2698
+ * Adds the key-value `pair` to `map`.
2699
+ *
2700
+ * @private
2701
+ * @param {Object} map The map to modify.
2702
+ * @param {Array} pair The key-value pair to add.
2703
+ * @returns {Object} Returns `map`.
2704
+ */
2705
+ function addMapEntry(map, pair) {
2706
+ // Don't return `map.set` because it's not chainable in IE 11.
2707
+ map.set(pair[0], pair[1]);
2708
+ return map;
2709
+ }
2710
+
2711
+ /**
2712
+ * Adds `value` to `set`.
2713
+ *
2714
+ * @private
2715
+ * @param {Object} set The set to modify.
2716
+ * @param {*} value The value to add.
2717
+ * @returns {Object} Returns `set`.
2718
+ */
2719
+ function addSetEntry(set, value) {
2720
+ // Don't return `set.add` because it's not chainable in IE 11.
2721
+ set.add(value);
2722
+ return set;
2723
+ }
2724
+
2725
+ /**
2726
+ * A specialized version of `_.forEach` for arrays without support for
2727
+ * iteratee shorthands.
2728
+ *
2729
+ * @private
2730
+ * @param {Array} [array] The array to iterate over.
2731
+ * @param {Function} iteratee The function invoked per iteration.
2732
+ * @returns {Array} Returns `array`.
2733
+ */
2734
+ function arrayEach(array, iteratee) {
2735
+ var index = -1,
2736
+ length = array ? array.length : 0;
2737
+
2738
+ while (++index < length) {
2739
+ if (iteratee(array[index], index, array) === false) {
2740
+ break;
2741
+ }
2742
+ }
2743
+ return array;
2744
+ }
2745
+
2746
+ /**
2747
+ * Appends the elements of `values` to `array`.
2748
+ *
2749
+ * @private
2750
+ * @param {Array} array The array to modify.
2751
+ * @param {Array} values The values to append.
2752
+ * @returns {Array} Returns `array`.
2753
+ */
2754
+ function arrayPush(array, values) {
2755
+ var index = -1,
2756
+ length = values.length,
2757
+ offset = array.length;
2758
+
2759
+ while (++index < length) {
2760
+ array[offset + index] = values[index];
2761
+ }
2762
+ return array;
2763
+ }
2764
+
2765
+ /**
2766
+ * A specialized version of `_.reduce` for arrays without support for
2767
+ * iteratee shorthands.
2768
+ *
2769
+ * @private
2770
+ * @param {Array} [array] The array to iterate over.
2771
+ * @param {Function} iteratee The function invoked per iteration.
2772
+ * @param {*} [accumulator] The initial value.
2773
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
2774
+ * the initial value.
2775
+ * @returns {*} Returns the accumulated value.
2776
+ */
2777
+ function arrayReduce(array, iteratee, accumulator, initAccum) {
2778
+ var index = -1,
2779
+ length = array ? array.length : 0;
2780
+ while (++index < length) {
2781
+ accumulator = iteratee(accumulator, array[index], index, array);
2782
+ }
2783
+ return accumulator;
2784
+ }
2785
+
2786
+ /**
2787
+ * The base implementation of `_.times` without support for iteratee shorthands
2788
+ * or max array length checks.
2789
+ *
2790
+ * @private
2791
+ * @param {number} n The number of times to invoke `iteratee`.
2792
+ * @param {Function} iteratee The function invoked per iteration.
2793
+ * @returns {Array} Returns the array of results.
2794
+ */
2795
+ function baseTimes(n, iteratee) {
2796
+ var index = -1,
2797
+ result = Array(n);
2798
+
2799
+ while (++index < n) {
2800
+ result[index] = iteratee(index);
2801
+ }
2802
+ return result;
2803
+ }
2804
+
2805
+ /**
2806
+ * Gets the value at `key` of `object`.
2807
+ *
2808
+ * @private
2809
+ * @param {Object} [object] The object to query.
2810
+ * @param {string} key The key of the property to get.
2811
+ * @returns {*} Returns the property value.
2812
+ */
2813
+ function getValue(object, key) {
2814
+ return object == null ? undefined : object[key];
2815
+ }
2816
+
2817
+ /**
2818
+ * Checks if `value` is a host object in IE < 9.
2819
+ *
2820
+ * @private
2821
+ * @param {*} value The value to check.
2822
+ * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
2823
+ */
2824
+ function isHostObject(value) {
2825
+ // Many host objects are `Object` objects that can coerce to strings
2826
+ // despite having improperly defined `toString` methods.
2827
+ var result = false;
2828
+ if (value != null && typeof value.toString != 'function') {
2829
+ try {
2830
+ result = !!(value + '');
2831
+ } catch (e) {}
2832
+ }
2833
+ return result;
2834
+ }
2835
+
2836
+ /**
2837
+ * Converts `map` to its key-value pairs.
2838
+ *
2839
+ * @private
2840
+ * @param {Object} map The map to convert.
2841
+ * @returns {Array} Returns the key-value pairs.
2842
+ */
2843
+ function mapToArray(map) {
2844
+ var index = -1,
2845
+ result = Array(map.size);
2846
+
2847
+ map.forEach(function(value, key) {
2848
+ result[++index] = [key, value];
2849
+ });
2850
+ return result;
2851
+ }
2852
+
2853
+ /**
2854
+ * Creates a unary function that invokes `func` with its argument transformed.
2855
+ *
2856
+ * @private
2857
+ * @param {Function} func The function to wrap.
2858
+ * @param {Function} transform The argument transform.
2859
+ * @returns {Function} Returns the new function.
2860
+ */
2861
+ function overArg(func, transform) {
2862
+ return function(arg) {
2863
+ return func(transform(arg));
2864
+ };
2865
+ }
2866
+
2867
+ /**
2868
+ * Converts `set` to an array of its values.
2869
+ *
2870
+ * @private
2871
+ * @param {Object} set The set to convert.
2872
+ * @returns {Array} Returns the values.
2873
+ */
2874
+ function setToArray(set) {
2875
+ var index = -1,
2876
+ result = Array(set.size);
2877
+
2878
+ set.forEach(function(value) {
2879
+ result[++index] = value;
2880
+ });
2881
+ return result;
2882
+ }
2883
+
2884
+ /** Used for built-in method references. */
2885
+ var arrayProto = Array.prototype,
2886
+ funcProto = Function.prototype,
2887
+ objectProto = Object.prototype;
2888
+
2889
+ /** Used to detect overreaching core-js shims. */
2890
+ var coreJsData = root['__core-js_shared__'];
2891
+
2892
+ /** Used to detect methods masquerading as native. */
2893
+ var maskSrcKey = (function() {
2894
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
2895
+ return uid ? ('Symbol(src)_1.' + uid) : '';
2896
+ }());
2897
+
2898
+ /** Used to resolve the decompiled source of functions. */
2899
+ var funcToString = funcProto.toString;
2900
+
2901
+ /** Used to check objects for own properties. */
2902
+ var hasOwnProperty = objectProto.hasOwnProperty;
2903
+
2904
+ /**
2905
+ * Used to resolve the
2906
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
2907
+ * of values.
2908
+ */
2909
+ var objectToString = objectProto.toString;
2910
+
2911
+ /** Used to detect if a method is native. */
2912
+ var reIsNative = RegExp('^' +
2913
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
2914
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
2915
+ );
2916
+
2917
+ /** Built-in value references. */
2918
+ var Buffer = moduleExports ? root.Buffer : undefined,
2919
+ Symbol = root.Symbol,
2920
+ Uint8Array = root.Uint8Array,
2921
+ getPrototype = overArg(Object.getPrototypeOf, Object),
2922
+ objectCreate = Object.create,
2923
+ propertyIsEnumerable = objectProto.propertyIsEnumerable,
2924
+ splice = arrayProto.splice;
2925
+
2926
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2927
+ var nativeGetSymbols = Object.getOwnPropertySymbols,
2928
+ nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
2929
+ nativeKeys = overArg(Object.keys, Object);
2930
+
2931
+ /* Built-in method references that are verified to be native. */
2932
+ var DataView = getNative(root, 'DataView'),
2933
+ Map = getNative(root, 'Map'),
2934
+ Promise = getNative(root, 'Promise'),
2935
+ Set = getNative(root, 'Set'),
2936
+ WeakMap = getNative(root, 'WeakMap'),
2937
+ nativeCreate = getNative(Object, 'create');
2938
+
2939
+ /** Used to detect maps, sets, and weakmaps. */
2940
+ var dataViewCtorString = toSource(DataView),
2941
+ mapCtorString = toSource(Map),
2942
+ promiseCtorString = toSource(Promise),
2943
+ setCtorString = toSource(Set),
2944
+ weakMapCtorString = toSource(WeakMap);
2945
+
2946
+ /** Used to convert symbols to primitives and strings. */
2947
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
2948
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
2949
+
2950
+ /**
2951
+ * Creates a hash object.
2952
+ *
2953
+ * @private
2954
+ * @constructor
2955
+ * @param {Array} [entries] The key-value pairs to cache.
2956
+ */
2957
+ function Hash(entries) {
2958
+ var index = -1,
2959
+ length = entries ? entries.length : 0;
2960
+
2961
+ this.clear();
2962
+ while (++index < length) {
2963
+ var entry = entries[index];
2964
+ this.set(entry[0], entry[1]);
2965
+ }
2966
+ }
2967
+
2968
+ /**
2969
+ * Removes all key-value entries from the hash.
2970
+ *
2971
+ * @private
2972
+ * @name clear
2973
+ * @memberOf Hash
2974
+ */
2975
+ function hashClear() {
2976
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
2977
+ }
2978
+
2979
+ /**
2980
+ * Removes `key` and its value from the hash.
2981
+ *
2982
+ * @private
2983
+ * @name delete
2984
+ * @memberOf Hash
2985
+ * @param {Object} hash The hash to modify.
2986
+ * @param {string} key The key of the value to remove.
2987
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
2988
+ */
2989
+ function hashDelete(key) {
2990
+ return this.has(key) && delete this.__data__[key];
2991
+ }
2992
+
2993
+ /**
2994
+ * Gets the hash value for `key`.
2995
+ *
2996
+ * @private
2997
+ * @name get
2998
+ * @memberOf Hash
2999
+ * @param {string} key The key of the value to get.
3000
+ * @returns {*} Returns the entry value.
3001
+ */
3002
+ function hashGet(key) {
3003
+ var data = this.__data__;
3004
+ if (nativeCreate) {
3005
+ var result = data[key];
3006
+ return result === HASH_UNDEFINED ? undefined : result;
3007
+ }
3008
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
3009
+ }
3010
+
3011
+ /**
3012
+ * Checks if a hash value for `key` exists.
3013
+ *
3014
+ * @private
3015
+ * @name has
3016
+ * @memberOf Hash
3017
+ * @param {string} key The key of the entry to check.
3018
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3019
+ */
3020
+ function hashHas(key) {
3021
+ var data = this.__data__;
3022
+ return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
3023
+ }
3024
+
3025
+ /**
3026
+ * Sets the hash `key` to `value`.
3027
+ *
3028
+ * @private
3029
+ * @name set
3030
+ * @memberOf Hash
3031
+ * @param {string} key The key of the value to set.
3032
+ * @param {*} value The value to set.
3033
+ * @returns {Object} Returns the hash instance.
3034
+ */
3035
+ function hashSet(key, value) {
3036
+ var data = this.__data__;
3037
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
3038
+ return this;
3039
+ }
3040
+
3041
+ // Add methods to `Hash`.
3042
+ Hash.prototype.clear = hashClear;
3043
+ Hash.prototype['delete'] = hashDelete;
3044
+ Hash.prototype.get = hashGet;
3045
+ Hash.prototype.has = hashHas;
3046
+ Hash.prototype.set = hashSet;
3047
+
3048
+ /**
3049
+ * Creates an list cache object.
3050
+ *
3051
+ * @private
3052
+ * @constructor
3053
+ * @param {Array} [entries] The key-value pairs to cache.
3054
+ */
3055
+ function ListCache(entries) {
3056
+ var index = -1,
3057
+ length = entries ? entries.length : 0;
3058
+
3059
+ this.clear();
3060
+ while (++index < length) {
3061
+ var entry = entries[index];
3062
+ this.set(entry[0], entry[1]);
3063
+ }
3064
+ }
3065
+
3066
+ /**
3067
+ * Removes all key-value entries from the list cache.
3068
+ *
3069
+ * @private
3070
+ * @name clear
3071
+ * @memberOf ListCache
3072
+ */
3073
+ function listCacheClear() {
3074
+ this.__data__ = [];
3075
+ }
3076
+
3077
+ /**
3078
+ * Removes `key` and its value from the list cache.
3079
+ *
3080
+ * @private
3081
+ * @name delete
3082
+ * @memberOf ListCache
3083
+ * @param {string} key The key of the value to remove.
3084
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3085
+ */
3086
+ function listCacheDelete(key) {
3087
+ var data = this.__data__,
3088
+ index = assocIndexOf(data, key);
3089
+
3090
+ if (index < 0) {
3091
+ return false;
3092
+ }
3093
+ var lastIndex = data.length - 1;
3094
+ if (index == lastIndex) {
3095
+ data.pop();
3096
+ } else {
3097
+ splice.call(data, index, 1);
3098
+ }
3099
+ return true;
3100
+ }
3101
+
3102
+ /**
3103
+ * Gets the list cache value for `key`.
3104
+ *
3105
+ * @private
3106
+ * @name get
3107
+ * @memberOf ListCache
3108
+ * @param {string} key The key of the value to get.
3109
+ * @returns {*} Returns the entry value.
3110
+ */
3111
+ function listCacheGet(key) {
3112
+ var data = this.__data__,
3113
+ index = assocIndexOf(data, key);
3114
+
3115
+ return index < 0 ? undefined : data[index][1];
3116
+ }
3117
+
3118
+ /**
3119
+ * Checks if a list cache value for `key` exists.
3120
+ *
3121
+ * @private
3122
+ * @name has
3123
+ * @memberOf ListCache
3124
+ * @param {string} key The key of the entry to check.
3125
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3126
+ */
3127
+ function listCacheHas(key) {
3128
+ return assocIndexOf(this.__data__, key) > -1;
3129
+ }
3130
+
3131
+ /**
3132
+ * Sets the list cache `key` to `value`.
3133
+ *
3134
+ * @private
3135
+ * @name set
3136
+ * @memberOf ListCache
3137
+ * @param {string} key The key of the value to set.
3138
+ * @param {*} value The value to set.
3139
+ * @returns {Object} Returns the list cache instance.
3140
+ */
3141
+ function listCacheSet(key, value) {
3142
+ var data = this.__data__,
3143
+ index = assocIndexOf(data, key);
3144
+
3145
+ if (index < 0) {
3146
+ data.push([key, value]);
3147
+ } else {
3148
+ data[index][1] = value;
3149
+ }
3150
+ return this;
3151
+ }
3152
+
3153
+ // Add methods to `ListCache`.
3154
+ ListCache.prototype.clear = listCacheClear;
3155
+ ListCache.prototype['delete'] = listCacheDelete;
3156
+ ListCache.prototype.get = listCacheGet;
3157
+ ListCache.prototype.has = listCacheHas;
3158
+ ListCache.prototype.set = listCacheSet;
3159
+
3160
+ /**
3161
+ * Creates a map cache object to store key-value pairs.
3162
+ *
3163
+ * @private
3164
+ * @constructor
3165
+ * @param {Array} [entries] The key-value pairs to cache.
3166
+ */
3167
+ function MapCache(entries) {
3168
+ var index = -1,
3169
+ length = entries ? entries.length : 0;
3170
+
3171
+ this.clear();
3172
+ while (++index < length) {
3173
+ var entry = entries[index];
3174
+ this.set(entry[0], entry[1]);
3175
+ }
3176
+ }
3177
+
3178
+ /**
3179
+ * Removes all key-value entries from the map.
3180
+ *
3181
+ * @private
3182
+ * @name clear
3183
+ * @memberOf MapCache
3184
+ */
3185
+ function mapCacheClear() {
3186
+ this.__data__ = {
3187
+ 'hash': new Hash,
3188
+ 'map': new (Map || ListCache),
3189
+ 'string': new Hash
3190
+ };
3191
+ }
3192
+
3193
+ /**
3194
+ * Removes `key` and its value from the map.
3195
+ *
3196
+ * @private
3197
+ * @name delete
3198
+ * @memberOf MapCache
3199
+ * @param {string} key The key of the value to remove.
3200
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3201
+ */
3202
+ function mapCacheDelete(key) {
3203
+ return getMapData(this, key)['delete'](key);
3204
+ }
3205
+
3206
+ /**
3207
+ * Gets the map value for `key`.
3208
+ *
3209
+ * @private
3210
+ * @name get
3211
+ * @memberOf MapCache
3212
+ * @param {string} key The key of the value to get.
3213
+ * @returns {*} Returns the entry value.
3214
+ */
3215
+ function mapCacheGet(key) {
3216
+ return getMapData(this, key).get(key);
3217
+ }
3218
+
3219
+ /**
3220
+ * Checks if a map value for `key` exists.
3221
+ *
3222
+ * @private
3223
+ * @name has
3224
+ * @memberOf MapCache
3225
+ * @param {string} key The key of the entry to check.
3226
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3227
+ */
3228
+ function mapCacheHas(key) {
3229
+ return getMapData(this, key).has(key);
3230
+ }
3231
+
3232
+ /**
3233
+ * Sets the map `key` to `value`.
3234
+ *
3235
+ * @private
3236
+ * @name set
3237
+ * @memberOf MapCache
3238
+ * @param {string} key The key of the value to set.
3239
+ * @param {*} value The value to set.
3240
+ * @returns {Object} Returns the map cache instance.
3241
+ */
3242
+ function mapCacheSet(key, value) {
3243
+ getMapData(this, key).set(key, value);
3244
+ return this;
3245
+ }
3246
+
3247
+ // Add methods to `MapCache`.
3248
+ MapCache.prototype.clear = mapCacheClear;
3249
+ MapCache.prototype['delete'] = mapCacheDelete;
3250
+ MapCache.prototype.get = mapCacheGet;
3251
+ MapCache.prototype.has = mapCacheHas;
3252
+ MapCache.prototype.set = mapCacheSet;
3253
+
3254
+ /**
3255
+ * Creates a stack cache object to store key-value pairs.
3256
+ *
3257
+ * @private
3258
+ * @constructor
3259
+ * @param {Array} [entries] The key-value pairs to cache.
3260
+ */
3261
+ function Stack(entries) {
3262
+ this.__data__ = new ListCache(entries);
3263
+ }
3264
+
3265
+ /**
3266
+ * Removes all key-value entries from the stack.
3267
+ *
3268
+ * @private
3269
+ * @name clear
3270
+ * @memberOf Stack
3271
+ */
3272
+ function stackClear() {
3273
+ this.__data__ = new ListCache;
3274
+ }
3275
+
3276
+ /**
3277
+ * Removes `key` and its value from the stack.
3278
+ *
3279
+ * @private
3280
+ * @name delete
3281
+ * @memberOf Stack
3282
+ * @param {string} key The key of the value to remove.
3283
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3284
+ */
3285
+ function stackDelete(key) {
3286
+ return this.__data__['delete'](key);
3287
+ }
3288
+
3289
+ /**
3290
+ * Gets the stack value for `key`.
3291
+ *
3292
+ * @private
3293
+ * @name get
3294
+ * @memberOf Stack
3295
+ * @param {string} key The key of the value to get.
3296
+ * @returns {*} Returns the entry value.
3297
+ */
3298
+ function stackGet(key) {
3299
+ return this.__data__.get(key);
3300
+ }
3301
+
3302
+ /**
3303
+ * Checks if a stack value for `key` exists.
3304
+ *
3305
+ * @private
3306
+ * @name has
3307
+ * @memberOf Stack
3308
+ * @param {string} key The key of the entry to check.
3309
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3310
+ */
3311
+ function stackHas(key) {
3312
+ return this.__data__.has(key);
3313
+ }
3314
+
3315
+ /**
3316
+ * Sets the stack `key` to `value`.
3317
+ *
3318
+ * @private
3319
+ * @name set
3320
+ * @memberOf Stack
3321
+ * @param {string} key The key of the value to set.
3322
+ * @param {*} value The value to set.
3323
+ * @returns {Object} Returns the stack cache instance.
3324
+ */
3325
+ function stackSet(key, value) {
3326
+ var cache = this.__data__;
3327
+ if (cache instanceof ListCache) {
3328
+ var pairs = cache.__data__;
3329
+ if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
3330
+ pairs.push([key, value]);
3331
+ return this;
3332
+ }
3333
+ cache = this.__data__ = new MapCache(pairs);
3334
+ }
3335
+ cache.set(key, value);
3336
+ return this;
3337
+ }
3338
+
3339
+ // Add methods to `Stack`.
3340
+ Stack.prototype.clear = stackClear;
3341
+ Stack.prototype['delete'] = stackDelete;
3342
+ Stack.prototype.get = stackGet;
3343
+ Stack.prototype.has = stackHas;
3344
+ Stack.prototype.set = stackSet;
3345
+
3346
+ /**
3347
+ * Creates an array of the enumerable property names of the array-like `value`.
3348
+ *
3349
+ * @private
3350
+ * @param {*} value The value to query.
3351
+ * @param {boolean} inherited Specify returning inherited property names.
3352
+ * @returns {Array} Returns the array of property names.
3353
+ */
3354
+ function arrayLikeKeys(value, inherited) {
3355
+ // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
3356
+ // Safari 9 makes `arguments.length` enumerable in strict mode.
3357
+ var result = (isArray(value) || isArguments(value))
3358
+ ? baseTimes(value.length, String)
3359
+ : [];
3360
+
3361
+ var length = result.length,
3362
+ skipIndexes = !!length;
3363
+
3364
+ for (var key in value) {
3365
+ if ((hasOwnProperty.call(value, key)) &&
3366
+ !(skipIndexes && (key == 'length' || isIndex(key, length)))) {
3367
+ result.push(key);
3368
+ }
3369
+ }
3370
+ return result;
3371
+ }
3372
+
3373
+ /**
3374
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
3375
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
3376
+ * for equality comparisons.
3377
+ *
3378
+ * @private
3379
+ * @param {Object} object The object to modify.
3380
+ * @param {string} key The key of the property to assign.
3381
+ * @param {*} value The value to assign.
3382
+ */
3383
+ function assignValue(object, key, value) {
3384
+ var objValue = object[key];
3385
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
3386
+ (value === undefined && !(key in object))) {
3387
+ object[key] = value;
3388
+ }
3389
+ }
3390
+
3391
+ /**
3392
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
3393
+ *
3394
+ * @private
3395
+ * @param {Array} array The array to inspect.
3396
+ * @param {*} key The key to search for.
3397
+ * @returns {number} Returns the index of the matched value, else `-1`.
3398
+ */
3399
+ function assocIndexOf(array, key) {
3400
+ var length = array.length;
3401
+ while (length--) {
3402
+ if (eq(array[length][0], key)) {
3403
+ return length;
3404
+ }
3405
+ }
3406
+ return -1;
3407
+ }
3408
+
3409
+ /**
3410
+ * The base implementation of `_.assign` without support for multiple sources
3411
+ * or `customizer` functions.
3412
+ *
3413
+ * @private
3414
+ * @param {Object} object The destination object.
3415
+ * @param {Object} source The source object.
3416
+ * @returns {Object} Returns `object`.
3417
+ */
3418
+ function baseAssign(object, source) {
3419
+ return object && copyObject(source, keys(source), object);
3420
+ }
3421
+
3422
+ /**
3423
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
3424
+ * traversed objects.
3425
+ *
3426
+ * @private
3427
+ * @param {*} value The value to clone.
3428
+ * @param {boolean} [isDeep] Specify a deep clone.
3429
+ * @param {boolean} [isFull] Specify a clone including symbols.
3430
+ * @param {Function} [customizer] The function to customize cloning.
3431
+ * @param {string} [key] The key of `value`.
3432
+ * @param {Object} [object] The parent object of `value`.
3433
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
3434
+ * @returns {*} Returns the cloned value.
3435
+ */
3436
+ function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
3437
+ var result;
3438
+ if (customizer) {
3439
+ result = object ? customizer(value, key, object, stack) : customizer(value);
3440
+ }
3441
+ if (result !== undefined) {
3442
+ return result;
3443
+ }
3444
+ if (!isObject(value)) {
3445
+ return value;
3446
+ }
3447
+ var isArr = isArray(value);
3448
+ if (isArr) {
3449
+ result = initCloneArray(value);
3450
+ if (!isDeep) {
3451
+ return copyArray(value, result);
3452
+ }
3453
+ } else {
3454
+ var tag = getTag(value),
3455
+ isFunc = tag == funcTag || tag == genTag;
3456
+
3457
+ if (isBuffer(value)) {
3458
+ return cloneBuffer(value, isDeep);
3459
+ }
3460
+ if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
3461
+ if (isHostObject(value)) {
3462
+ return object ? value : {};
3463
+ }
3464
+ result = initCloneObject(isFunc ? {} : value);
3465
+ if (!isDeep) {
3466
+ return copySymbols(value, baseAssign(result, value));
3467
+ }
3468
+ } else {
3469
+ if (!cloneableTags[tag]) {
3470
+ return object ? value : {};
3471
+ }
3472
+ result = initCloneByTag(value, tag, baseClone, isDeep);
3473
+ }
3474
+ }
3475
+ // Check for circular references and return its corresponding clone.
3476
+ stack || (stack = new Stack);
3477
+ var stacked = stack.get(value);
3478
+ if (stacked) {
3479
+ return stacked;
3480
+ }
3481
+ stack.set(value, result);
3482
+
3483
+ if (!isArr) {
3484
+ var props = isFull ? getAllKeys(value) : keys(value);
3485
+ }
3486
+ arrayEach(props || value, function(subValue, key) {
3487
+ if (props) {
3488
+ key = subValue;
3489
+ subValue = value[key];
3490
+ }
3491
+ // Recursively populate clone (susceptible to call stack limits).
3492
+ assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
3493
+ });
3494
+ return result;
3495
+ }
3496
+
3497
+ /**
3498
+ * The base implementation of `_.create` without support for assigning
3499
+ * properties to the created object.
3500
+ *
3501
+ * @private
3502
+ * @param {Object} prototype The object to inherit from.
3503
+ * @returns {Object} Returns the new object.
3504
+ */
3505
+ function baseCreate(proto) {
3506
+ return isObject(proto) ? objectCreate(proto) : {};
3507
+ }
3508
+
3509
+ /**
3510
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
3511
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
3512
+ * symbols of `object`.
3513
+ *
3514
+ * @private
3515
+ * @param {Object} object The object to query.
3516
+ * @param {Function} keysFunc The function to get the keys of `object`.
3517
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
3518
+ * @returns {Array} Returns the array of property names and symbols.
3519
+ */
3520
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
3521
+ var result = keysFunc(object);
3522
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
3523
+ }
3524
+
3525
+ /**
3526
+ * The base implementation of `getTag`.
3527
+ *
3528
+ * @private
3529
+ * @param {*} value The value to query.
3530
+ * @returns {string} Returns the `toStringTag`.
3531
+ */
3532
+ function baseGetTag(value) {
3533
+ return objectToString.call(value);
3534
+ }
3535
+
3536
+ /**
3537
+ * The base implementation of `_.isNative` without bad shim checks.
3538
+ *
3539
+ * @private
3540
+ * @param {*} value The value to check.
3541
+ * @returns {boolean} Returns `true` if `value` is a native function,
3542
+ * else `false`.
3543
+ */
3544
+ function baseIsNative(value) {
3545
+ if (!isObject(value) || isMasked(value)) {
3546
+ return false;
3547
+ }
3548
+ var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
3549
+ return pattern.test(toSource(value));
3550
+ }
3551
+
3552
+ /**
3553
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
3554
+ *
3555
+ * @private
3556
+ * @param {Object} object The object to query.
3557
+ * @returns {Array} Returns the array of property names.
3558
+ */
3559
+ function baseKeys(object) {
3560
+ if (!isPrototype(object)) {
3561
+ return nativeKeys(object);
3562
+ }
3563
+ var result = [];
3564
+ for (var key in Object(object)) {
3565
+ if (hasOwnProperty.call(object, key) && key != 'constructor') {
3566
+ result.push(key);
3567
+ }
3568
+ }
3569
+ return result;
3570
+ }
3571
+
3572
+ /**
3573
+ * Creates a clone of `buffer`.
3574
+ *
3575
+ * @private
3576
+ * @param {Buffer} buffer The buffer to clone.
3577
+ * @param {boolean} [isDeep] Specify a deep clone.
3578
+ * @returns {Buffer} Returns the cloned buffer.
3579
+ */
3580
+ function cloneBuffer(buffer, isDeep) {
3581
+ if (isDeep) {
3582
+ return buffer.slice();
3583
+ }
3584
+ var result = new buffer.constructor(buffer.length);
3585
+ buffer.copy(result);
3586
+ return result;
3587
+ }
3588
+
3589
+ /**
3590
+ * Creates a clone of `arrayBuffer`.
3591
+ *
3592
+ * @private
3593
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
3594
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
3595
+ */
3596
+ function cloneArrayBuffer(arrayBuffer) {
3597
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
3598
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
3599
+ return result;
3600
+ }
3601
+
3602
+ /**
3603
+ * Creates a clone of `dataView`.
3604
+ *
3605
+ * @private
3606
+ * @param {Object} dataView The data view to clone.
3607
+ * @param {boolean} [isDeep] Specify a deep clone.
3608
+ * @returns {Object} Returns the cloned data view.
3609
+ */
3610
+ function cloneDataView(dataView, isDeep) {
3611
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
3612
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
3613
+ }
3614
+
3615
+ /**
3616
+ * Creates a clone of `map`.
3617
+ *
3618
+ * @private
3619
+ * @param {Object} map The map to clone.
3620
+ * @param {Function} cloneFunc The function to clone values.
3621
+ * @param {boolean} [isDeep] Specify a deep clone.
3622
+ * @returns {Object} Returns the cloned map.
3623
+ */
3624
+ function cloneMap(map, isDeep, cloneFunc) {
3625
+ var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
3626
+ return arrayReduce(array, addMapEntry, new map.constructor);
3627
+ }
3628
+
3629
+ /**
3630
+ * Creates a clone of `regexp`.
3631
+ *
3632
+ * @private
3633
+ * @param {Object} regexp The regexp to clone.
3634
+ * @returns {Object} Returns the cloned regexp.
3635
+ */
3636
+ function cloneRegExp(regexp) {
3637
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
3638
+ result.lastIndex = regexp.lastIndex;
3639
+ return result;
3640
+ }
3641
+
3642
+ /**
3643
+ * Creates a clone of `set`.
3644
+ *
3645
+ * @private
3646
+ * @param {Object} set The set to clone.
3647
+ * @param {Function} cloneFunc The function to clone values.
3648
+ * @param {boolean} [isDeep] Specify a deep clone.
3649
+ * @returns {Object} Returns the cloned set.
3650
+ */
3651
+ function cloneSet(set, isDeep, cloneFunc) {
3652
+ var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
3653
+ return arrayReduce(array, addSetEntry, new set.constructor);
3654
+ }
3655
+
3656
+ /**
3657
+ * Creates a clone of the `symbol` object.
3658
+ *
3659
+ * @private
3660
+ * @param {Object} symbol The symbol object to clone.
3661
+ * @returns {Object} Returns the cloned symbol object.
3662
+ */
3663
+ function cloneSymbol(symbol) {
3664
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
3665
+ }
3666
+
3667
+ /**
3668
+ * Creates a clone of `typedArray`.
3669
+ *
3670
+ * @private
3671
+ * @param {Object} typedArray The typed array to clone.
3672
+ * @param {boolean} [isDeep] Specify a deep clone.
3673
+ * @returns {Object} Returns the cloned typed array.
3674
+ */
3675
+ function cloneTypedArray(typedArray, isDeep) {
3676
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
3677
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
3678
+ }
3679
+
3680
+ /**
3681
+ * Copies the values of `source` to `array`.
3682
+ *
3683
+ * @private
3684
+ * @param {Array} source The array to copy values from.
3685
+ * @param {Array} [array=[]] The array to copy values to.
3686
+ * @returns {Array} Returns `array`.
3687
+ */
3688
+ function copyArray(source, array) {
3689
+ var index = -1,
3690
+ length = source.length;
3691
+
3692
+ array || (array = Array(length));
3693
+ while (++index < length) {
3694
+ array[index] = source[index];
3695
+ }
3696
+ return array;
3697
+ }
3698
+
3699
+ /**
3700
+ * Copies properties of `source` to `object`.
3701
+ *
3702
+ * @private
3703
+ * @param {Object} source The object to copy properties from.
3704
+ * @param {Array} props The property identifiers to copy.
3705
+ * @param {Object} [object={}] The object to copy properties to.
3706
+ * @param {Function} [customizer] The function to customize copied values.
3707
+ * @returns {Object} Returns `object`.
3708
+ */
3709
+ function copyObject(source, props, object, customizer) {
3710
+ object || (object = {});
3711
+
3712
+ var index = -1,
3713
+ length = props.length;
3714
+
3715
+ while (++index < length) {
3716
+ var key = props[index];
3717
+
3718
+ var newValue = undefined;
3719
+
3720
+ assignValue(object, key, newValue === undefined ? source[key] : newValue);
3721
+ }
3722
+ return object;
3723
+ }
3724
+
3725
+ /**
3726
+ * Copies own symbol properties of `source` to `object`.
3727
+ *
3728
+ * @private
3729
+ * @param {Object} source The object to copy symbols from.
3730
+ * @param {Object} [object={}] The object to copy symbols to.
3731
+ * @returns {Object} Returns `object`.
3732
+ */
3733
+ function copySymbols(source, object) {
3734
+ return copyObject(source, getSymbols(source), object);
3735
+ }
3736
+
3737
+ /**
3738
+ * Creates an array of own enumerable property names and symbols of `object`.
3739
+ *
3740
+ * @private
3741
+ * @param {Object} object The object to query.
3742
+ * @returns {Array} Returns the array of property names and symbols.
3743
+ */
3744
+ function getAllKeys(object) {
3745
+ return baseGetAllKeys(object, keys, getSymbols);
3746
+ }
3747
+
3748
+ /**
3749
+ * Gets the data for `map`.
3750
+ *
3751
+ * @private
3752
+ * @param {Object} map The map to query.
3753
+ * @param {string} key The reference key.
3754
+ * @returns {*} Returns the map data.
3755
+ */
3756
+ function getMapData(map, key) {
3757
+ var data = map.__data__;
3758
+ return isKeyable(key)
3759
+ ? data[typeof key == 'string' ? 'string' : 'hash']
3760
+ : data.map;
3761
+ }
3762
+
3763
+ /**
3764
+ * Gets the native function at `key` of `object`.
3765
+ *
3766
+ * @private
3767
+ * @param {Object} object The object to query.
3768
+ * @param {string} key The key of the method to get.
3769
+ * @returns {*} Returns the function if it's native, else `undefined`.
3770
+ */
3771
+ function getNative(object, key) {
3772
+ var value = getValue(object, key);
3773
+ return baseIsNative(value) ? value : undefined;
3774
+ }
3775
+
3776
+ /**
3777
+ * Creates an array of the own enumerable symbol properties of `object`.
3778
+ *
3779
+ * @private
3780
+ * @param {Object} object The object to query.
3781
+ * @returns {Array} Returns the array of symbols.
3782
+ */
3783
+ var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
3784
+
3785
+ /**
3786
+ * Gets the `toStringTag` of `value`.
3787
+ *
3788
+ * @private
3789
+ * @param {*} value The value to query.
3790
+ * @returns {string} Returns the `toStringTag`.
3791
+ */
3792
+ var getTag = baseGetTag;
3793
+
3794
+ // Fallback for data views, maps, sets, and weak maps in IE 11,
3795
+ // for data views in Edge < 14, and promises in Node.js.
3796
+ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
3797
+ (Map && getTag(new Map) != mapTag) ||
3798
+ (Promise && getTag(Promise.resolve()) != promiseTag) ||
3799
+ (Set && getTag(new Set) != setTag) ||
3800
+ (WeakMap && getTag(new WeakMap) != weakMapTag)) {
3801
+ getTag = function(value) {
3802
+ var result = objectToString.call(value),
3803
+ Ctor = result == objectTag ? value.constructor : undefined,
3804
+ ctorString = Ctor ? toSource(Ctor) : undefined;
3805
+
3806
+ if (ctorString) {
3807
+ switch (ctorString) {
3808
+ case dataViewCtorString: return dataViewTag;
3809
+ case mapCtorString: return mapTag;
3810
+ case promiseCtorString: return promiseTag;
3811
+ case setCtorString: return setTag;
3812
+ case weakMapCtorString: return weakMapTag;
3813
+ }
3814
+ }
3815
+ return result;
3816
+ };
3817
+ }
3818
+
3819
+ /**
3820
+ * Initializes an array clone.
3821
+ *
3822
+ * @private
3823
+ * @param {Array} array The array to clone.
3824
+ * @returns {Array} Returns the initialized clone.
3825
+ */
3826
+ function initCloneArray(array) {
3827
+ var length = array.length,
3828
+ result = array.constructor(length);
3829
+
3830
+ // Add properties assigned by `RegExp#exec`.
3831
+ if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
3832
+ result.index = array.index;
3833
+ result.input = array.input;
3834
+ }
3835
+ return result;
3836
+ }
3837
+
3838
+ /**
3839
+ * Initializes an object clone.
3840
+ *
3841
+ * @private
3842
+ * @param {Object} object The object to clone.
3843
+ * @returns {Object} Returns the initialized clone.
3844
+ */
3845
+ function initCloneObject(object) {
3846
+ return (typeof object.constructor == 'function' && !isPrototype(object))
3847
+ ? baseCreate(getPrototype(object))
3848
+ : {};
3849
+ }
3850
+
3851
+ /**
3852
+ * Initializes an object clone based on its `toStringTag`.
3853
+ *
3854
+ * **Note:** This function only supports cloning values with tags of
3855
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
3856
+ *
3857
+ * @private
3858
+ * @param {Object} object The object to clone.
3859
+ * @param {string} tag The `toStringTag` of the object to clone.
3860
+ * @param {Function} cloneFunc The function to clone values.
3861
+ * @param {boolean} [isDeep] Specify a deep clone.
3862
+ * @returns {Object} Returns the initialized clone.
3863
+ */
3864
+ function initCloneByTag(object, tag, cloneFunc, isDeep) {
3865
+ var Ctor = object.constructor;
3866
+ switch (tag) {
3867
+ case arrayBufferTag:
3868
+ return cloneArrayBuffer(object);
3869
+
3870
+ case boolTag:
3871
+ case dateTag:
3872
+ return new Ctor(+object);
3873
+
3874
+ case dataViewTag:
3875
+ return cloneDataView(object, isDeep);
3876
+
3877
+ case float32Tag: case float64Tag:
3878
+ case int8Tag: case int16Tag: case int32Tag:
3879
+ case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
3880
+ return cloneTypedArray(object, isDeep);
3881
+
3882
+ case mapTag:
3883
+ return cloneMap(object, isDeep, cloneFunc);
3884
+
3885
+ case numberTag:
3886
+ case stringTag:
3887
+ return new Ctor(object);
3888
+
3889
+ case regexpTag:
3890
+ return cloneRegExp(object);
3891
+
3892
+ case setTag:
3893
+ return cloneSet(object, isDeep, cloneFunc);
3894
+
3895
+ case symbolTag:
3896
+ return cloneSymbol(object);
3897
+ }
3898
+ }
3899
+
3900
+ /**
3901
+ * Checks if `value` is a valid array-like index.
3902
+ *
3903
+ * @private
3904
+ * @param {*} value The value to check.
3905
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
3906
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
3907
+ */
3908
+ function isIndex(value, length) {
3909
+ length = length == null ? MAX_SAFE_INTEGER : length;
3910
+ return !!length &&
3911
+ (typeof value == 'number' || reIsUint.test(value)) &&
3912
+ (value > -1 && value % 1 == 0 && value < length);
3913
+ }
3914
+
3915
+ /**
3916
+ * Checks if `value` is suitable for use as unique object key.
3917
+ *
3918
+ * @private
3919
+ * @param {*} value The value to check.
3920
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
3921
+ */
3922
+ function isKeyable(value) {
3923
+ var type = typeof value;
3924
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
3925
+ ? (value !== '__proto__')
3926
+ : (value === null);
3927
+ }
3928
+
3929
+ /**
3930
+ * Checks if `func` has its source masked.
3931
+ *
3932
+ * @private
3933
+ * @param {Function} func The function to check.
3934
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
3935
+ */
3936
+ function isMasked(func) {
3937
+ return !!maskSrcKey && (maskSrcKey in func);
3938
+ }
3939
+
3940
+ /**
3941
+ * Checks if `value` is likely a prototype object.
3942
+ *
3943
+ * @private
3944
+ * @param {*} value The value to check.
3945
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
3946
+ */
3947
+ function isPrototype(value) {
3948
+ var Ctor = value && value.constructor,
3949
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
3950
+
3951
+ return value === proto;
3952
+ }
3953
+
3954
+ /**
3955
+ * Converts `func` to its source code.
3956
+ *
3957
+ * @private
3958
+ * @param {Function} func The function to process.
3959
+ * @returns {string} Returns the source code.
3960
+ */
3961
+ function toSource(func) {
3962
+ if (func != null) {
3963
+ try {
3964
+ return funcToString.call(func);
3965
+ } catch (e) {}
3966
+ try {
3967
+ return (func + '');
3968
+ } catch (e) {}
3969
+ }
3970
+ return '';
3971
+ }
3972
+
3973
+ /**
3974
+ * This method is like `_.clone` except that it recursively clones `value`.
3975
+ *
3976
+ * @static
3977
+ * @memberOf _
3978
+ * @since 1.0.0
3979
+ * @category Lang
3980
+ * @param {*} value The value to recursively clone.
3981
+ * @returns {*} Returns the deep cloned value.
3982
+ * @see _.clone
3983
+ * @example
3984
+ *
3985
+ * var objects = [{ 'a': 1 }, { 'b': 2 }];
3986
+ *
3987
+ * var deep = _.cloneDeep(objects);
3988
+ * console.log(deep[0] === objects[0]);
3989
+ * // => false
3990
+ */
3991
+ function cloneDeep(value) {
3992
+ return baseClone(value, true, true);
3993
+ }
3994
+
3995
+ /**
3996
+ * Performs a
3997
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
3998
+ * comparison between two values to determine if they are equivalent.
3999
+ *
4000
+ * @static
4001
+ * @memberOf _
4002
+ * @since 4.0.0
4003
+ * @category Lang
4004
+ * @param {*} value The value to compare.
4005
+ * @param {*} other The other value to compare.
4006
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
4007
+ * @example
4008
+ *
4009
+ * var object = { 'a': 1 };
4010
+ * var other = { 'a': 1 };
4011
+ *
4012
+ * _.eq(object, object);
4013
+ * // => true
4014
+ *
4015
+ * _.eq(object, other);
4016
+ * // => false
4017
+ *
4018
+ * _.eq('a', 'a');
4019
+ * // => true
4020
+ *
4021
+ * _.eq('a', Object('a'));
4022
+ * // => false
4023
+ *
4024
+ * _.eq(NaN, NaN);
4025
+ * // => true
4026
+ */
4027
+ function eq(value, other) {
4028
+ return value === other || (value !== value && other !== other);
4029
+ }
4030
+
4031
+ /**
4032
+ * Checks if `value` is likely an `arguments` object.
4033
+ *
4034
+ * @static
4035
+ * @memberOf _
4036
+ * @since 0.1.0
4037
+ * @category Lang
4038
+ * @param {*} value The value to check.
4039
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
4040
+ * else `false`.
4041
+ * @example
4042
+ *
4043
+ * _.isArguments(function() { return arguments; }());
4044
+ * // => true
4045
+ *
4046
+ * _.isArguments([1, 2, 3]);
4047
+ * // => false
4048
+ */
4049
+ function isArguments(value) {
4050
+ // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
4051
+ return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
4052
+ (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
4053
+ }
4054
+
4055
+ /**
4056
+ * Checks if `value` is classified as an `Array` object.
4057
+ *
4058
+ * @static
4059
+ * @memberOf _
4060
+ * @since 0.1.0
4061
+ * @category Lang
4062
+ * @param {*} value The value to check.
4063
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
4064
+ * @example
4065
+ *
4066
+ * _.isArray([1, 2, 3]);
4067
+ * // => true
4068
+ *
4069
+ * _.isArray(document.body.children);
4070
+ * // => false
4071
+ *
4072
+ * _.isArray('abc');
4073
+ * // => false
4074
+ *
4075
+ * _.isArray(_.noop);
4076
+ * // => false
4077
+ */
4078
+ var isArray = Array.isArray;
4079
+
4080
+ /**
4081
+ * Checks if `value` is array-like. A value is considered array-like if it's
4082
+ * not a function and has a `value.length` that's an integer greater than or
4083
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
4084
+ *
4085
+ * @static
4086
+ * @memberOf _
4087
+ * @since 4.0.0
4088
+ * @category Lang
4089
+ * @param {*} value The value to check.
4090
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
4091
+ * @example
4092
+ *
4093
+ * _.isArrayLike([1, 2, 3]);
4094
+ * // => true
4095
+ *
4096
+ * _.isArrayLike(document.body.children);
4097
+ * // => true
4098
+ *
4099
+ * _.isArrayLike('abc');
4100
+ * // => true
4101
+ *
4102
+ * _.isArrayLike(_.noop);
4103
+ * // => false
4104
+ */
4105
+ function isArrayLike(value) {
4106
+ return value != null && isLength(value.length) && !isFunction(value);
4107
+ }
4108
+
4109
+ /**
4110
+ * This method is like `_.isArrayLike` except that it also checks if `value`
4111
+ * is an object.
4112
+ *
4113
+ * @static
4114
+ * @memberOf _
4115
+ * @since 4.0.0
4116
+ * @category Lang
4117
+ * @param {*} value The value to check.
4118
+ * @returns {boolean} Returns `true` if `value` is an array-like object,
4119
+ * else `false`.
4120
+ * @example
4121
+ *
4122
+ * _.isArrayLikeObject([1, 2, 3]);
4123
+ * // => true
4124
+ *
4125
+ * _.isArrayLikeObject(document.body.children);
4126
+ * // => true
4127
+ *
4128
+ * _.isArrayLikeObject('abc');
4129
+ * // => false
4130
+ *
4131
+ * _.isArrayLikeObject(_.noop);
4132
+ * // => false
4133
+ */
4134
+ function isArrayLikeObject(value) {
4135
+ return isObjectLike(value) && isArrayLike(value);
4136
+ }
4137
+
4138
+ /**
4139
+ * Checks if `value` is a buffer.
4140
+ *
4141
+ * @static
4142
+ * @memberOf _
4143
+ * @since 4.3.0
4144
+ * @category Lang
4145
+ * @param {*} value The value to check.
4146
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
4147
+ * @example
4148
+ *
4149
+ * _.isBuffer(new Buffer(2));
4150
+ * // => true
4151
+ *
4152
+ * _.isBuffer(new Uint8Array(2));
4153
+ * // => false
4154
+ */
4155
+ var isBuffer = nativeIsBuffer || stubFalse;
4156
+
4157
+ /**
4158
+ * Checks if `value` is classified as a `Function` object.
4159
+ *
4160
+ * @static
4161
+ * @memberOf _
4162
+ * @since 0.1.0
4163
+ * @category Lang
4164
+ * @param {*} value The value to check.
4165
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
4166
+ * @example
4167
+ *
4168
+ * _.isFunction(_);
4169
+ * // => true
4170
+ *
4171
+ * _.isFunction(/abc/);
4172
+ * // => false
4173
+ */
4174
+ function isFunction(value) {
4175
+ // The use of `Object#toString` avoids issues with the `typeof` operator
4176
+ // in Safari 8-9 which returns 'object' for typed array and other constructors.
4177
+ var tag = isObject(value) ? objectToString.call(value) : '';
4178
+ return tag == funcTag || tag == genTag;
4179
+ }
4180
+
4181
+ /**
4182
+ * Checks if `value` is a valid array-like length.
4183
+ *
4184
+ * **Note:** This method is loosely based on
4185
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
4186
+ *
4187
+ * @static
4188
+ * @memberOf _
4189
+ * @since 4.0.0
4190
+ * @category Lang
4191
+ * @param {*} value The value to check.
4192
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
4193
+ * @example
4194
+ *
4195
+ * _.isLength(3);
4196
+ * // => true
4197
+ *
4198
+ * _.isLength(Number.MIN_VALUE);
4199
+ * // => false
4200
+ *
4201
+ * _.isLength(Infinity);
4202
+ * // => false
4203
+ *
4204
+ * _.isLength('3');
4205
+ * // => false
4206
+ */
4207
+ function isLength(value) {
4208
+ return typeof value == 'number' &&
4209
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
4210
+ }
4211
+
4212
+ /**
4213
+ * Checks if `value` is the
4214
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
4215
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
4216
+ *
4217
+ * @static
4218
+ * @memberOf _
4219
+ * @since 0.1.0
4220
+ * @category Lang
4221
+ * @param {*} value The value to check.
4222
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
4223
+ * @example
4224
+ *
4225
+ * _.isObject({});
4226
+ * // => true
4227
+ *
4228
+ * _.isObject([1, 2, 3]);
4229
+ * // => true
4230
+ *
4231
+ * _.isObject(_.noop);
4232
+ * // => true
4233
+ *
4234
+ * _.isObject(null);
4235
+ * // => false
4236
+ */
4237
+ function isObject(value) {
4238
+ var type = typeof value;
4239
+ return !!value && (type == 'object' || type == 'function');
4240
+ }
4241
+
4242
+ /**
4243
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
4244
+ * and has a `typeof` result of "object".
4245
+ *
4246
+ * @static
4247
+ * @memberOf _
4248
+ * @since 4.0.0
4249
+ * @category Lang
4250
+ * @param {*} value The value to check.
4251
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
4252
+ * @example
4253
+ *
4254
+ * _.isObjectLike({});
4255
+ * // => true
4256
+ *
4257
+ * _.isObjectLike([1, 2, 3]);
4258
+ * // => true
4259
+ *
4260
+ * _.isObjectLike(_.noop);
4261
+ * // => false
4262
+ *
4263
+ * _.isObjectLike(null);
4264
+ * // => false
4265
+ */
4266
+ function isObjectLike(value) {
4267
+ return !!value && typeof value == 'object';
4268
+ }
4269
+
4270
+ /**
4271
+ * Creates an array of the own enumerable property names of `object`.
4272
+ *
4273
+ * **Note:** Non-object values are coerced to objects. See the
4274
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
4275
+ * for more details.
4276
+ *
4277
+ * @static
4278
+ * @since 0.1.0
4279
+ * @memberOf _
4280
+ * @category Object
4281
+ * @param {Object} object The object to query.
4282
+ * @returns {Array} Returns the array of property names.
4283
+ * @example
4284
+ *
4285
+ * function Foo() {
4286
+ * this.a = 1;
4287
+ * this.b = 2;
4288
+ * }
4289
+ *
4290
+ * Foo.prototype.c = 3;
4291
+ *
4292
+ * _.keys(new Foo);
4293
+ * // => ['a', 'b'] (iteration order is not guaranteed)
4294
+ *
4295
+ * _.keys('hi');
4296
+ * // => ['0', '1']
4297
+ */
4298
+ function keys(object) {
4299
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
4300
+ }
4301
+
4302
+ /**
4303
+ * This method returns a new empty array.
4304
+ *
4305
+ * @static
4306
+ * @memberOf _
4307
+ * @since 4.13.0
4308
+ * @category Util
4309
+ * @returns {Array} Returns the new empty array.
4310
+ * @example
4311
+ *
4312
+ * var arrays = _.times(2, _.stubArray);
4313
+ *
4314
+ * console.log(arrays);
4315
+ * // => [[], []]
4316
+ *
4317
+ * console.log(arrays[0] === arrays[1]);
4318
+ * // => false
4319
+ */
4320
+ function stubArray() {
4321
+ return [];
4322
+ }
4323
+
4324
+ /**
4325
+ * This method returns `false`.
4326
+ *
4327
+ * @static
4328
+ * @memberOf _
4329
+ * @since 4.13.0
4330
+ * @category Util
4331
+ * @returns {boolean} Returns `false`.
4332
+ * @example
4333
+ *
4334
+ * _.times(2, _.stubFalse);
4335
+ * // => [false, false]
4336
+ */
4337
+ function stubFalse() {
4338
+ return false;
4339
+ }
4340
+
4341
+ module.exports = cloneDeep;
4342
+ } (lodash_clonedeep, lodash_clonedeep.exports));
4343
+ return lodash_clonedeep.exports;
4211
4344
  }
4212
4345
 
4213
- /**
4214
- * Checks if `value` is the
4215
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
4216
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
4217
- *
4218
- * @static
4219
- * @memberOf _
4220
- * @since 0.1.0
4221
- * @category Lang
4222
- * @param {*} value The value to check.
4223
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
4224
- * @example
4225
- *
4226
- * _.isObject({});
4227
- * // => true
4228
- *
4229
- * _.isObject([1, 2, 3]);
4230
- * // => true
4231
- *
4232
- * _.isObject(_.noop);
4233
- * // => true
4234
- *
4235
- * _.isObject(null);
4236
- * // => false
4237
- */
4238
- function isObject(value) {
4239
- var type = typeof value;
4240
- return !!value && (type == 'object' || type == 'function');
4241
- }
4242
-
4243
- /**
4244
- * Checks if `value` is object-like. A value is object-like if it's not `null`
4245
- * and has a `typeof` result of "object".
4246
- *
4247
- * @static
4248
- * @memberOf _
4249
- * @since 4.0.0
4250
- * @category Lang
4251
- * @param {*} value The value to check.
4252
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
4253
- * @example
4254
- *
4255
- * _.isObjectLike({});
4256
- * // => true
4257
- *
4258
- * _.isObjectLike([1, 2, 3]);
4259
- * // => true
4260
- *
4261
- * _.isObjectLike(_.noop);
4262
- * // => false
4263
- *
4264
- * _.isObjectLike(null);
4265
- * // => false
4266
- */
4267
- function isObjectLike(value) {
4268
- return !!value && typeof value == 'object';
4346
+ var hasRequiredLib;
4347
+
4348
+ function requireLib () {
4349
+ if (hasRequiredLib) return lib;
4350
+ hasRequiredLib = 1;
4351
+ var __spreadArrays = (lib && lib.__spreadArrays) || function () {
4352
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
4353
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
4354
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
4355
+ r[k] = a[j];
4356
+ return r;
4357
+ };
4358
+ var __importDefault = (lib && lib.__importDefault) || function (mod) {
4359
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4360
+ };
4361
+ Object.defineProperty(lib, "__esModule", { value: true });
4362
+ lib.getColors = lib.flatten = lib.replaceColor = lib.colorify = void 0;
4363
+ var lodash_clonedeep_1 = __importDefault(requireLodash_clonedeep());
4364
+ lib.colorify = function (destColors, lottie) {
4365
+ if (destColors === void 0) { destColors = []; }
4366
+ var modifiedColors = [];
4367
+ for (var _i = 0, destColors_1 = destColors; _i < destColors_1.length; _i++) {
4368
+ var color = destColors_1[_i];
4369
+ modifiedColors.push(convertColorToLottieColor(color));
4370
+ }
4371
+ var newLottie = modifyColors(modifiedColors, lodash_clonedeep_1.default(lottie));
4372
+ return newLottie;
4373
+ };
4374
+ var convertColorToLottieColor = function (color) {
4375
+ if (typeof color === 'string' && color.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)) {
4376
+ var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color);
4377
+ if (!result) {
4378
+ throw new Error('Color can be only hex or rgb array (ex. [10,20,30])');
4379
+ }
4380
+ return [
4381
+ Math.round((parseInt(result[1], 16) / 255) * 1000) / 1000,
4382
+ Math.round((parseInt(result[2], 16) / 255) * 1000) / 1000,
4383
+ Math.round((parseInt(result[3], 16) / 255) * 1000) / 1000,
4384
+ ];
4385
+ }
4386
+ else if (typeof color === 'object' && color.length === 3 && color.every(function (item) { return item >= 0 && item <= 255; })) {
4387
+ return [
4388
+ Math.round((color[0] / 255) * 1000) / 1000,
4389
+ Math.round((color[1] / 255) * 1000) / 1000,
4390
+ Math.round((color[2] / 255) * 1000) / 1000,
4391
+ ];
4392
+ }
4393
+ else if (!color) {
4394
+ return undefined;
4395
+ }
4396
+ else {
4397
+ throw new Error('Color can be only hex or rgb array (ex. [10,20,30])');
4398
+ }
4399
+ };
4400
+ var round = function (n) { return Math.round(n * 1000) / 1000; };
4401
+ lib.replaceColor = function (sourceColor, targetColor, lottieObj) {
4402
+ var genSourceLottieColor = convertColorToLottieColor(sourceColor);
4403
+ var genTargetLottieColor = convertColorToLottieColor(targetColor);
4404
+ if (!genSourceLottieColor || !genTargetLottieColor) {
4405
+ throw new Error('Proper colors must be used for both source and target');
4406
+ }
4407
+ function doReplace(sourceLottieColor, targetLottieColor, obj) {
4408
+ if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4409
+ if (sourceLottieColor[0] === obj.s[0] && sourceLottieColor[1] === obj.s[1] && sourceLottieColor[2] === obj.s[2]) {
4410
+ obj.s = __spreadArrays(targetLottieColor, [1]);
4411
+ }
4412
+ }
4413
+ else if (obj.c && obj.c.k) {
4414
+ if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4415
+ doReplace(sourceLottieColor, targetLottieColor, obj.c.k);
4416
+ }
4417
+ else if (sourceLottieColor[0] === round(obj.c.k[0]) &&
4418
+ sourceLottieColor[1] === round(obj.c.k[1]) &&
4419
+ sourceLottieColor[2] === round(obj.c.k[2])) {
4420
+ obj.c.k = targetLottieColor;
4421
+ }
4422
+ }
4423
+ else {
4424
+ for (var key in obj) {
4425
+ if (typeof obj[key] === 'object') {
4426
+ doReplace(sourceLottieColor, targetLottieColor, obj[key]);
4427
+ }
4428
+ }
4429
+ }
4430
+ return obj;
4431
+ }
4432
+ return doReplace(genSourceLottieColor, genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
4433
+ };
4434
+ lib.flatten = function (targetColor, lottieObj) {
4435
+ var genTargetLottieColor = convertColorToLottieColor(targetColor);
4436
+ if (!genTargetLottieColor) {
4437
+ throw new Error('Proper colors must be used for target');
4438
+ }
4439
+ function doFlatten(targetLottieColor, obj) {
4440
+ if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4441
+ obj.s = __spreadArrays(targetLottieColor, [1]);
4442
+ }
4443
+ else if (obj.c && obj.c.k) {
4444
+ if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4445
+ doFlatten(targetLottieColor, obj.c.k);
4446
+ }
4447
+ else {
4448
+ obj.c.k = targetLottieColor;
4449
+ }
4450
+ }
4451
+ else {
4452
+ for (var key in obj) {
4453
+ if (typeof obj[key] === 'object') {
4454
+ doFlatten(targetLottieColor, obj[key]);
4455
+ }
4456
+ }
4457
+ }
4458
+ return obj;
4459
+ }
4460
+ return doFlatten(genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
4461
+ };
4462
+ var modifyColors = function (colorsArray, lottieObj) {
4463
+ var i = 0;
4464
+ function doModify(colors, obj) {
4465
+ if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4466
+ if (colors[i]) {
4467
+ obj.s = __spreadArrays(colors[i], [1]);
4468
+ }
4469
+ i++;
4470
+ }
4471
+ else if (obj.c && obj.c.k) {
4472
+ if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4473
+ doModify(colors, obj.c.k);
4474
+ }
4475
+ else {
4476
+ if (colors[i]) {
4477
+ obj.c.k = colors[i];
4478
+ }
4479
+ i++;
4480
+ }
4481
+ }
4482
+ for (var key in obj) {
4483
+ if (typeof obj[key] === 'object') {
4484
+ doModify(colors, obj[key]);
4485
+ }
4486
+ }
4487
+ return obj;
4488
+ }
4489
+ return doModify(colorsArray, lottieObj);
4490
+ };
4491
+ var convertLottieColorToRgb = function (lottieColor) {
4492
+ return [Math.round(lottieColor[0] * 255), Math.round(lottieColor[1] * 255), Math.round(lottieColor[2] * 255)];
4493
+ };
4494
+ var convertLottieColorToRgba = function (lottieColor) {
4495
+ return [
4496
+ Math.round(lottieColor[0] * 255),
4497
+ Math.round(lottieColor[1] * 255),
4498
+ Math.round(lottieColor[2] * 255),
4499
+ lottieColor[3],
4500
+ ];
4501
+ };
4502
+ lib.getColors = function (lottieObj) {
4503
+ var res = [];
4504
+ function doGet(obj) {
4505
+ if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4506
+ res.push(convertLottieColorToRgba(obj.s));
4507
+ }
4508
+ else if (obj.c && obj.c.k) {
4509
+ if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4510
+ doGet(obj.c.k);
4511
+ }
4512
+ else {
4513
+ res.push(convertLottieColorToRgb(obj.c.k));
4514
+ }
4515
+ }
4516
+ else {
4517
+ for (var key in obj) {
4518
+ if (typeof obj[key] === 'object') {
4519
+ doGet(obj[key]);
4520
+ }
4521
+ }
4522
+ }
4523
+ return res;
4524
+ }
4525
+ doGet(lottieObj);
4526
+ return res;
4527
+ };
4528
+ return lib;
4269
4529
  }
4270
4530
 
4271
- /**
4272
- * Creates an array of the own enumerable property names of `object`.
4273
- *
4274
- * **Note:** Non-object values are coerced to objects. See the
4275
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
4276
- * for more details.
4277
- *
4278
- * @static
4279
- * @since 0.1.0
4280
- * @memberOf _
4281
- * @category Object
4282
- * @param {Object} object The object to query.
4283
- * @returns {Array} Returns the array of property names.
4284
- * @example
4285
- *
4286
- * function Foo() {
4287
- * this.a = 1;
4288
- * this.b = 2;
4289
- * }
4290
- *
4291
- * Foo.prototype.c = 3;
4292
- *
4293
- * _.keys(new Foo);
4294
- * // => ['a', 'b'] (iteration order is not guaranteed)
4295
- *
4296
- * _.keys('hi');
4297
- * // => ['0', '1']
4298
- */
4299
- function keys(object) {
4300
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
4301
- }
4302
-
4303
- /**
4304
- * This method returns a new empty array.
4305
- *
4306
- * @static
4307
- * @memberOf _
4308
- * @since 4.13.0
4309
- * @category Util
4310
- * @returns {Array} Returns the new empty array.
4311
- * @example
4312
- *
4313
- * var arrays = _.times(2, _.stubArray);
4314
- *
4315
- * console.log(arrays);
4316
- * // => [[], []]
4317
- *
4318
- * console.log(arrays[0] === arrays[1]);
4319
- * // => false
4320
- */
4321
- function stubArray() {
4322
- return [];
4323
- }
4324
-
4325
- /**
4326
- * This method returns `false`.
4327
- *
4328
- * @static
4329
- * @memberOf _
4330
- * @since 4.13.0
4331
- * @category Util
4332
- * @returns {boolean} Returns `false`.
4333
- * @example
4334
- *
4335
- * _.times(2, _.stubFalse);
4336
- * // => [false, false]
4337
- */
4338
- function stubFalse() {
4339
- return false;
4340
- }
4341
-
4342
- module.exports = cloneDeep;
4343
- }(lodash_clonedeep, lodash_clonedeep.exports));
4344
-
4345
- var __spreadArrays = (commonjsGlobal && commonjsGlobal.__spreadArrays) || function () {
4346
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
4347
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
4348
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
4349
- r[k] = a[j];
4350
- return r;
4351
- };
4352
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4353
- return (mod && mod.__esModule) ? mod : { "default": mod };
4354
- };
4355
- Object.defineProperty(lib, "__esModule", { value: true });
4356
- lib.getColors = flatten = lib.flatten = lib.replaceColor = lib.colorify = void 0;
4357
- var lodash_clonedeep_1 = __importDefault(lodash_clonedeep.exports);
4358
- lib.colorify = function (destColors, lottie) {
4359
- if (destColors === void 0) { destColors = []; }
4360
- var modifiedColors = [];
4361
- for (var _i = 0, destColors_1 = destColors; _i < destColors_1.length; _i++) {
4362
- var color = destColors_1[_i];
4363
- modifiedColors.push(convertColorToLottieColor(color));
4364
- }
4365
- var newLottie = modifyColors(modifiedColors, lodash_clonedeep_1.default(lottie));
4366
- return newLottie;
4367
- };
4368
- var convertColorToLottieColor = function (color) {
4369
- if (typeof color === 'string' && color.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)) {
4370
- var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color);
4371
- if (!result) {
4372
- throw new Error('Color can be only hex or rgb array (ex. [10,20,30])');
4373
- }
4374
- return [
4375
- Math.round((parseInt(result[1], 16) / 255) * 1000) / 1000,
4376
- Math.round((parseInt(result[2], 16) / 255) * 1000) / 1000,
4377
- Math.round((parseInt(result[3], 16) / 255) * 1000) / 1000,
4378
- ];
4379
- }
4380
- else if (typeof color === 'object' && color.length === 3 && color.every(function (item) { return item >= 0 && item <= 255; })) {
4381
- return [
4382
- Math.round((color[0] / 255) * 1000) / 1000,
4383
- Math.round((color[1] / 255) * 1000) / 1000,
4384
- Math.round((color[2] / 255) * 1000) / 1000,
4385
- ];
4386
- }
4387
- else if (!color) {
4388
- return undefined;
4389
- }
4390
- else {
4391
- throw new Error('Color can be only hex or rgb array (ex. [10,20,30])');
4392
- }
4393
- };
4394
- var round = function (n) { return Math.round(n * 1000) / 1000; };
4395
- lib.replaceColor = function (sourceColor, targetColor, lottieObj) {
4396
- var genSourceLottieColor = convertColorToLottieColor(sourceColor);
4397
- var genTargetLottieColor = convertColorToLottieColor(targetColor);
4398
- if (!genSourceLottieColor || !genTargetLottieColor) {
4399
- throw new Error('Proper colors must be used for both source and target');
4400
- }
4401
- function doReplace(sourceLottieColor, targetLottieColor, obj) {
4402
- if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4403
- if (sourceLottieColor[0] === obj.s[0] && sourceLottieColor[1] === obj.s[1] && sourceLottieColor[2] === obj.s[2]) {
4404
- obj.s = __spreadArrays(targetLottieColor, [1]);
4405
- }
4406
- }
4407
- else if (obj.c && obj.c.k) {
4408
- if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4409
- doReplace(sourceLottieColor, targetLottieColor, obj.c.k);
4410
- }
4411
- else if (sourceLottieColor[0] === round(obj.c.k[0]) &&
4412
- sourceLottieColor[1] === round(obj.c.k[1]) &&
4413
- sourceLottieColor[2] === round(obj.c.k[2])) {
4414
- obj.c.k = targetLottieColor;
4415
- }
4416
- }
4417
- else {
4418
- for (var key in obj) {
4419
- if (typeof obj[key] === 'object') {
4420
- doReplace(sourceLottieColor, targetLottieColor, obj[key]);
4421
- }
4422
- }
4423
- }
4424
- return obj;
4425
- }
4426
- return doReplace(genSourceLottieColor, genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
4427
- };
4428
- var flatten = lib.flatten = function (targetColor, lottieObj) {
4429
- var genTargetLottieColor = convertColorToLottieColor(targetColor);
4430
- if (!genTargetLottieColor) {
4431
- throw new Error('Proper colors must be used for target');
4432
- }
4433
- function doFlatten(targetLottieColor, obj) {
4434
- if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4435
- obj.s = __spreadArrays(targetLottieColor, [1]);
4436
- }
4437
- else if (obj.c && obj.c.k) {
4438
- if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4439
- doFlatten(targetLottieColor, obj.c.k);
4440
- }
4441
- else {
4442
- obj.c.k = targetLottieColor;
4443
- }
4444
- }
4445
- else {
4446
- for (var key in obj) {
4447
- if (typeof obj[key] === 'object') {
4448
- doFlatten(targetLottieColor, obj[key]);
4449
- }
4450
- }
4451
- }
4452
- return obj;
4453
- }
4454
- return doFlatten(genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
4455
- };
4456
- var modifyColors = function (colorsArray, lottieObj) {
4457
- var i = 0;
4458
- function doModify(colors, obj) {
4459
- if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4460
- if (colors[i]) {
4461
- obj.s = __spreadArrays(colors[i], [1]);
4462
- }
4463
- i++;
4464
- }
4465
- else if (obj.c && obj.c.k) {
4466
- if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4467
- doModify(colors, obj.c.k);
4468
- }
4469
- else {
4470
- if (colors[i]) {
4471
- obj.c.k = colors[i];
4472
- }
4473
- i++;
4474
- }
4475
- }
4476
- for (var key in obj) {
4477
- if (typeof obj[key] === 'object') {
4478
- doModify(colors, obj[key]);
4479
- }
4480
- }
4481
- return obj;
4482
- }
4483
- return doModify(colorsArray, lottieObj);
4484
- };
4485
- var convertLottieColorToRgb = function (lottieColor) {
4486
- return [Math.round(lottieColor[0] * 255), Math.round(lottieColor[1] * 255), Math.round(lottieColor[2] * 255)];
4487
- };
4488
- var convertLottieColorToRgba = function (lottieColor) {
4489
- return [
4490
- Math.round(lottieColor[0] * 255),
4491
- Math.round(lottieColor[1] * 255),
4492
- Math.round(lottieColor[2] * 255),
4493
- lottieColor[3],
4494
- ];
4495
- };
4496
- lib.getColors = function (lottieObj) {
4497
- var res = [];
4498
- function doGet(obj) {
4499
- if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4500
- res.push(convertLottieColorToRgba(obj.s));
4501
- }
4502
- else if (obj.c && obj.c.k) {
4503
- if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4504
- doGet(obj.c.k);
4505
- }
4506
- else {
4507
- res.push(convertLottieColorToRgb(obj.c.k));
4508
- }
4509
- }
4510
- else {
4511
- for (var key in obj) {
4512
- if (typeof obj[key] === 'object') {
4513
- doGet(obj[key]);
4514
- }
4515
- }
4516
- }
4517
- return res;
4518
- }
4519
- doGet(lottieObj);
4520
- return res;
4521
- };
4531
+ var libExports = requireLib();
4522
4532
 
4523
4533
  const animate = (el, color) => {
4524
4534
  return Lottie.loadAnimation({
@@ -4526,7 +4536,7 @@ const animate = (el, color) => {
4526
4536
  renderer: 'svg',
4527
4537
  loop: true,
4528
4538
  autoplay: true,
4529
- animationData: flatten(color, SpinnerAnimationData(color)),
4539
+ animationData: libExports.flatten(color, SpinnerAnimationData(color)),
4530
4540
  });
4531
4541
  };
4532
4542