@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,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const lottie_light_html = require('./lottie_light_html-cbfdf82e.js');
4
- const _commonjsHelpers = require('./_commonjsHelpers-68cdf74f.js');
3
+ var lottie_light_html = require('./lottie_light_html-OP40Exqq.js');
4
+ var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
5
5
 
6
6
  const SpinnerAnimationData = (color = '#151f6d') => ({
7
7
  v: '5.8.1',
@@ -315,7 +315,7 @@ const SpinnerAnimationData = (color = '#151f6d') => ({
315
315
  t: 65,
316
316
  s: [-360, -0.036, 0],
317
317
  to: [60, 60, 0],
318
- ti: [-0.006, -0.006, 0],
318
+ ti: [-6e-3, -6e-3, 0],
319
319
  },
320
320
  { t: 66, s: [-359.964, 0, 0] },
321
321
  ],
@@ -2602,1925 +2602,1935 @@ var lodash_clonedeep = {exports: {}};
2602
2602
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
2603
2603
  */
2604
2604
 
2605
- (function (module, exports) {
2606
- /** Used as the size to enable large array optimizations. */
2607
- var LARGE_ARRAY_SIZE = 200;
2608
-
2609
- /** Used to stand-in for `undefined` hash values. */
2610
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
2611
-
2612
- /** Used as references for various `Number` constants. */
2613
- var MAX_SAFE_INTEGER = 9007199254740991;
2614
-
2615
- /** `Object#toString` result references. */
2616
- var argsTag = '[object Arguments]',
2617
- arrayTag = '[object Array]',
2618
- boolTag = '[object Boolean]',
2619
- dateTag = '[object Date]',
2620
- errorTag = '[object Error]',
2621
- funcTag = '[object Function]',
2622
- genTag = '[object GeneratorFunction]',
2623
- mapTag = '[object Map]',
2624
- numberTag = '[object Number]',
2625
- objectTag = '[object Object]',
2626
- promiseTag = '[object Promise]',
2627
- regexpTag = '[object RegExp]',
2628
- setTag = '[object Set]',
2629
- stringTag = '[object String]',
2630
- symbolTag = '[object Symbol]',
2631
- weakMapTag = '[object WeakMap]';
2632
-
2633
- var arrayBufferTag = '[object ArrayBuffer]',
2634
- dataViewTag = '[object DataView]',
2635
- float32Tag = '[object Float32Array]',
2636
- float64Tag = '[object Float64Array]',
2637
- int8Tag = '[object Int8Array]',
2638
- int16Tag = '[object Int16Array]',
2639
- int32Tag = '[object Int32Array]',
2640
- uint8Tag = '[object Uint8Array]',
2641
- uint8ClampedTag = '[object Uint8ClampedArray]',
2642
- uint16Tag = '[object Uint16Array]',
2643
- uint32Tag = '[object Uint32Array]';
2644
-
2645
- /**
2646
- * Used to match `RegExp`
2647
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
2648
- */
2649
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
2650
-
2651
- /** Used to match `RegExp` flags from their coerced string values. */
2652
- var reFlags = /\w*$/;
2653
-
2654
- /** Used to detect host constructors (Safari). */
2655
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
2656
-
2657
- /** Used to detect unsigned integer values. */
2658
- var reIsUint = /^(?:0|[1-9]\d*)$/;
2659
-
2660
- /** Used to identify `toStringTag` values supported by `_.clone`. */
2661
- var cloneableTags = {};
2662
- cloneableTags[argsTag] = cloneableTags[arrayTag] =
2663
- cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
2664
- cloneableTags[boolTag] = cloneableTags[dateTag] =
2665
- cloneableTags[float32Tag] = cloneableTags[float64Tag] =
2666
- cloneableTags[int8Tag] = cloneableTags[int16Tag] =
2667
- cloneableTags[int32Tag] = cloneableTags[mapTag] =
2668
- cloneableTags[numberTag] = cloneableTags[objectTag] =
2669
- cloneableTags[regexpTag] = cloneableTags[setTag] =
2670
- cloneableTags[stringTag] = cloneableTags[symbolTag] =
2671
- cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
2672
- cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
2673
- cloneableTags[errorTag] = cloneableTags[funcTag] =
2674
- cloneableTags[weakMapTag] = false;
2675
-
2676
- /** Detect free variable `global` from Node.js. */
2677
- var freeGlobal = typeof _commonjsHelpers.commonjsGlobal == 'object' && _commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.Object === Object && _commonjsHelpers.commonjsGlobal;
2678
-
2679
- /** Detect free variable `self`. */
2680
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
2681
-
2682
- /** Used as a reference to the global object. */
2683
- var root = freeGlobal || freeSelf || Function('return this')();
2684
-
2685
- /** Detect free variable `exports`. */
2686
- var freeExports = exports && !exports.nodeType && exports;
2687
-
2688
- /** Detect free variable `module`. */
2689
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
2690
-
2691
- /** Detect the popular CommonJS extension `module.exports`. */
2692
- var moduleExports = freeModule && freeModule.exports === freeExports;
2693
-
2694
- /**
2695
- * Adds the key-value `pair` to `map`.
2696
- *
2697
- * @private
2698
- * @param {Object} map The map to modify.
2699
- * @param {Array} pair The key-value pair to add.
2700
- * @returns {Object} Returns `map`.
2701
- */
2702
- function addMapEntry(map, pair) {
2703
- // Don't return `map.set` because it's not chainable in IE 11.
2704
- map.set(pair[0], pair[1]);
2705
- return map;
2706
- }
2707
-
2708
- /**
2709
- * Adds `value` to `set`.
2710
- *
2711
- * @private
2712
- * @param {Object} set The set to modify.
2713
- * @param {*} value The value to add.
2714
- * @returns {Object} Returns `set`.
2715
- */
2716
- function addSetEntry(set, value) {
2717
- // Don't return `set.add` because it's not chainable in IE 11.
2718
- set.add(value);
2719
- return set;
2720
- }
2721
-
2722
- /**
2723
- * A specialized version of `_.forEach` for arrays without support for
2724
- * iteratee shorthands.
2725
- *
2726
- * @private
2727
- * @param {Array} [array] The array to iterate over.
2728
- * @param {Function} iteratee The function invoked per iteration.
2729
- * @returns {Array} Returns `array`.
2730
- */
2731
- function arrayEach(array, iteratee) {
2732
- var index = -1,
2733
- length = array ? array.length : 0;
2734
-
2735
- while (++index < length) {
2736
- if (iteratee(array[index], index, array) === false) {
2737
- break;
2738
- }
2739
- }
2740
- return array;
2741
- }
2742
-
2743
- /**
2744
- * Appends the elements of `values` to `array`.
2745
- *
2746
- * @private
2747
- * @param {Array} array The array to modify.
2748
- * @param {Array} values The values to append.
2749
- * @returns {Array} Returns `array`.
2750
- */
2751
- function arrayPush(array, values) {
2752
- var index = -1,
2753
- length = values.length,
2754
- offset = array.length;
2755
-
2756
- while (++index < length) {
2757
- array[offset + index] = values[index];
2758
- }
2759
- return array;
2760
- }
2761
-
2762
- /**
2763
- * A specialized version of `_.reduce` for arrays without support for
2764
- * iteratee shorthands.
2765
- *
2766
- * @private
2767
- * @param {Array} [array] The array to iterate over.
2768
- * @param {Function} iteratee The function invoked per iteration.
2769
- * @param {*} [accumulator] The initial value.
2770
- * @param {boolean} [initAccum] Specify using the first element of `array` as
2771
- * the initial value.
2772
- * @returns {*} Returns the accumulated value.
2773
- */
2774
- function arrayReduce(array, iteratee, accumulator, initAccum) {
2775
- var index = -1,
2776
- length = array ? array.length : 0;
2777
-
2778
- if (initAccum && length) {
2779
- accumulator = array[++index];
2780
- }
2781
- while (++index < length) {
2782
- accumulator = iteratee(accumulator, array[index], index, array);
2783
- }
2784
- return accumulator;
2785
- }
2786
-
2787
- /**
2788
- * The base implementation of `_.times` without support for iteratee shorthands
2789
- * or max array length checks.
2790
- *
2791
- * @private
2792
- * @param {number} n The number of times to invoke `iteratee`.
2793
- * @param {Function} iteratee The function invoked per iteration.
2794
- * @returns {Array} Returns the array of results.
2795
- */
2796
- function baseTimes(n, iteratee) {
2797
- var index = -1,
2798
- result = Array(n);
2799
-
2800
- while (++index < n) {
2801
- result[index] = iteratee(index);
2802
- }
2803
- return result;
2804
- }
2805
-
2806
- /**
2807
- * Gets the value at `key` of `object`.
2808
- *
2809
- * @private
2810
- * @param {Object} [object] The object to query.
2811
- * @param {string} key The key of the property to get.
2812
- * @returns {*} Returns the property value.
2813
- */
2814
- function getValue(object, key) {
2815
- return object == null ? undefined : object[key];
2816
- }
2817
-
2818
- /**
2819
- * Checks if `value` is a host object in IE < 9.
2820
- *
2821
- * @private
2822
- * @param {*} value The value to check.
2823
- * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
2824
- */
2825
- function isHostObject(value) {
2826
- // Many host objects are `Object` objects that can coerce to strings
2827
- // despite having improperly defined `toString` methods.
2828
- var result = false;
2829
- if (value != null && typeof value.toString != 'function') {
2830
- try {
2831
- result = !!(value + '');
2832
- } catch (e) {}
2833
- }
2834
- return result;
2835
- }
2836
-
2837
- /**
2838
- * Converts `map` to its key-value pairs.
2839
- *
2840
- * @private
2841
- * @param {Object} map The map to convert.
2842
- * @returns {Array} Returns the key-value pairs.
2843
- */
2844
- function mapToArray(map) {
2845
- var index = -1,
2846
- result = Array(map.size);
2847
-
2848
- map.forEach(function(value, key) {
2849
- result[++index] = [key, value];
2850
- });
2851
- return result;
2852
- }
2853
-
2854
- /**
2855
- * Creates a unary function that invokes `func` with its argument transformed.
2856
- *
2857
- * @private
2858
- * @param {Function} func The function to wrap.
2859
- * @param {Function} transform The argument transform.
2860
- * @returns {Function} Returns the new function.
2861
- */
2862
- function overArg(func, transform) {
2863
- return function(arg) {
2864
- return func(transform(arg));
2865
- };
2866
- }
2867
-
2868
- /**
2869
- * Converts `set` to an array of its values.
2870
- *
2871
- * @private
2872
- * @param {Object} set The set to convert.
2873
- * @returns {Array} Returns the values.
2874
- */
2875
- function setToArray(set) {
2876
- var index = -1,
2877
- result = Array(set.size);
2878
-
2879
- set.forEach(function(value) {
2880
- result[++index] = value;
2881
- });
2882
- return result;
2883
- }
2884
-
2885
- /** Used for built-in method references. */
2886
- var arrayProto = Array.prototype,
2887
- funcProto = Function.prototype,
2888
- objectProto = Object.prototype;
2889
-
2890
- /** Used to detect overreaching core-js shims. */
2891
- var coreJsData = root['__core-js_shared__'];
2892
-
2893
- /** Used to detect methods masquerading as native. */
2894
- var maskSrcKey = (function() {
2895
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
2896
- return uid ? ('Symbol(src)_1.' + uid) : '';
2897
- }());
2898
-
2899
- /** Used to resolve the decompiled source of functions. */
2900
- var funcToString = funcProto.toString;
2901
-
2902
- /** Used to check objects for own properties. */
2903
- var hasOwnProperty = objectProto.hasOwnProperty;
2904
-
2905
- /**
2906
- * Used to resolve the
2907
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
2908
- * of values.
2909
- */
2910
- var objectToString = objectProto.toString;
2911
-
2912
- /** Used to detect if a method is native. */
2913
- var reIsNative = RegExp('^' +
2914
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
2915
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
2916
- );
2917
-
2918
- /** Built-in value references. */
2919
- var Buffer = moduleExports ? root.Buffer : undefined,
2920
- Symbol = root.Symbol,
2921
- Uint8Array = root.Uint8Array,
2922
- getPrototype = overArg(Object.getPrototypeOf, Object),
2923
- objectCreate = Object.create,
2924
- propertyIsEnumerable = objectProto.propertyIsEnumerable,
2925
- splice = arrayProto.splice;
2926
-
2927
- /* Built-in method references for those with the same name as other `lodash` methods. */
2928
- var nativeGetSymbols = Object.getOwnPropertySymbols,
2929
- nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
2930
- nativeKeys = overArg(Object.keys, Object);
2931
-
2932
- /* Built-in method references that are verified to be native. */
2933
- var DataView = getNative(root, 'DataView'),
2934
- Map = getNative(root, 'Map'),
2935
- Promise = getNative(root, 'Promise'),
2936
- Set = getNative(root, 'Set'),
2937
- WeakMap = getNative(root, 'WeakMap'),
2938
- nativeCreate = getNative(Object, 'create');
2939
-
2940
- /** Used to detect maps, sets, and weakmaps. */
2941
- var dataViewCtorString = toSource(DataView),
2942
- mapCtorString = toSource(Map),
2943
- promiseCtorString = toSource(Promise),
2944
- setCtorString = toSource(Set),
2945
- weakMapCtorString = toSource(WeakMap);
2946
-
2947
- /** Used to convert symbols to primitives and strings. */
2948
- var symbolProto = Symbol ? Symbol.prototype : undefined,
2949
- symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
2950
-
2951
- /**
2952
- * Creates a hash object.
2953
- *
2954
- * @private
2955
- * @constructor
2956
- * @param {Array} [entries] The key-value pairs to cache.
2957
- */
2958
- function Hash(entries) {
2959
- var index = -1,
2960
- length = entries ? entries.length : 0;
2961
-
2962
- this.clear();
2963
- while (++index < length) {
2964
- var entry = entries[index];
2965
- this.set(entry[0], entry[1]);
2966
- }
2967
- }
2968
-
2969
- /**
2970
- * Removes all key-value entries from the hash.
2971
- *
2972
- * @private
2973
- * @name clear
2974
- * @memberOf Hash
2975
- */
2976
- function hashClear() {
2977
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
2978
- }
2979
-
2980
- /**
2981
- * Removes `key` and its value from the hash.
2982
- *
2983
- * @private
2984
- * @name delete
2985
- * @memberOf Hash
2986
- * @param {Object} hash The hash to modify.
2987
- * @param {string} key The key of the value to remove.
2988
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
2989
- */
2990
- function hashDelete(key) {
2991
- return this.has(key) && delete this.__data__[key];
2992
- }
2993
-
2994
- /**
2995
- * Gets the hash value for `key`.
2996
- *
2997
- * @private
2998
- * @name get
2999
- * @memberOf Hash
3000
- * @param {string} key The key of the value to get.
3001
- * @returns {*} Returns the entry value.
3002
- */
3003
- function hashGet(key) {
3004
- var data = this.__data__;
3005
- if (nativeCreate) {
3006
- var result = data[key];
3007
- return result === HASH_UNDEFINED ? undefined : result;
3008
- }
3009
- return hasOwnProperty.call(data, key) ? data[key] : undefined;
3010
- }
3011
-
3012
- /**
3013
- * Checks if a hash value for `key` exists.
3014
- *
3015
- * @private
3016
- * @name has
3017
- * @memberOf Hash
3018
- * @param {string} key The key of the entry to check.
3019
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3020
- */
3021
- function hashHas(key) {
3022
- var data = this.__data__;
3023
- return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
3024
- }
3025
-
3026
- /**
3027
- * Sets the hash `key` to `value`.
3028
- *
3029
- * @private
3030
- * @name set
3031
- * @memberOf Hash
3032
- * @param {string} key The key of the value to set.
3033
- * @param {*} value The value to set.
3034
- * @returns {Object} Returns the hash instance.
3035
- */
3036
- function hashSet(key, value) {
3037
- var data = this.__data__;
3038
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
3039
- return this;
3040
- }
3041
-
3042
- // Add methods to `Hash`.
3043
- Hash.prototype.clear = hashClear;
3044
- Hash.prototype['delete'] = hashDelete;
3045
- Hash.prototype.get = hashGet;
3046
- Hash.prototype.has = hashHas;
3047
- Hash.prototype.set = hashSet;
3048
-
3049
- /**
3050
- * Creates an list cache object.
3051
- *
3052
- * @private
3053
- * @constructor
3054
- * @param {Array} [entries] The key-value pairs to cache.
3055
- */
3056
- function ListCache(entries) {
3057
- var index = -1,
3058
- length = entries ? entries.length : 0;
3059
-
3060
- this.clear();
3061
- while (++index < length) {
3062
- var entry = entries[index];
3063
- this.set(entry[0], entry[1]);
3064
- }
3065
- }
3066
-
3067
- /**
3068
- * Removes all key-value entries from the list cache.
3069
- *
3070
- * @private
3071
- * @name clear
3072
- * @memberOf ListCache
3073
- */
3074
- function listCacheClear() {
3075
- this.__data__ = [];
3076
- }
3077
-
3078
- /**
3079
- * Removes `key` and its value from the list cache.
3080
- *
3081
- * @private
3082
- * @name delete
3083
- * @memberOf ListCache
3084
- * @param {string} key The key of the value to remove.
3085
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3086
- */
3087
- function listCacheDelete(key) {
3088
- var data = this.__data__,
3089
- index = assocIndexOf(data, key);
3090
-
3091
- if (index < 0) {
3092
- return false;
3093
- }
3094
- var lastIndex = data.length - 1;
3095
- if (index == lastIndex) {
3096
- data.pop();
3097
- } else {
3098
- splice.call(data, index, 1);
3099
- }
3100
- return true;
3101
- }
3102
-
3103
- /**
3104
- * Gets the list cache value for `key`.
3105
- *
3106
- * @private
3107
- * @name get
3108
- * @memberOf ListCache
3109
- * @param {string} key The key of the value to get.
3110
- * @returns {*} Returns the entry value.
3111
- */
3112
- function listCacheGet(key) {
3113
- var data = this.__data__,
3114
- index = assocIndexOf(data, key);
3115
-
3116
- return index < 0 ? undefined : data[index][1];
3117
- }
3118
-
3119
- /**
3120
- * Checks if a list cache value for `key` exists.
3121
- *
3122
- * @private
3123
- * @name has
3124
- * @memberOf ListCache
3125
- * @param {string} key The key of the entry to check.
3126
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3127
- */
3128
- function listCacheHas(key) {
3129
- return assocIndexOf(this.__data__, key) > -1;
3130
- }
3131
-
3132
- /**
3133
- * Sets the list cache `key` to `value`.
3134
- *
3135
- * @private
3136
- * @name set
3137
- * @memberOf ListCache
3138
- * @param {string} key The key of the value to set.
3139
- * @param {*} value The value to set.
3140
- * @returns {Object} Returns the list cache instance.
3141
- */
3142
- function listCacheSet(key, value) {
3143
- var data = this.__data__,
3144
- index = assocIndexOf(data, key);
3145
-
3146
- if (index < 0) {
3147
- data.push([key, value]);
3148
- } else {
3149
- data[index][1] = value;
3150
- }
3151
- return this;
3152
- }
3153
-
3154
- // Add methods to `ListCache`.
3155
- ListCache.prototype.clear = listCacheClear;
3156
- ListCache.prototype['delete'] = listCacheDelete;
3157
- ListCache.prototype.get = listCacheGet;
3158
- ListCache.prototype.has = listCacheHas;
3159
- ListCache.prototype.set = listCacheSet;
3160
-
3161
- /**
3162
- * Creates a map cache object to store key-value pairs.
3163
- *
3164
- * @private
3165
- * @constructor
3166
- * @param {Array} [entries] The key-value pairs to cache.
3167
- */
3168
- function MapCache(entries) {
3169
- var index = -1,
3170
- length = entries ? entries.length : 0;
3171
-
3172
- this.clear();
3173
- while (++index < length) {
3174
- var entry = entries[index];
3175
- this.set(entry[0], entry[1]);
3176
- }
3177
- }
3178
-
3179
- /**
3180
- * Removes all key-value entries from the map.
3181
- *
3182
- * @private
3183
- * @name clear
3184
- * @memberOf MapCache
3185
- */
3186
- function mapCacheClear() {
3187
- this.__data__ = {
3188
- 'hash': new Hash,
3189
- 'map': new (Map || ListCache),
3190
- 'string': new Hash
3191
- };
3192
- }
3193
-
3194
- /**
3195
- * Removes `key` and its value from the map.
3196
- *
3197
- * @private
3198
- * @name delete
3199
- * @memberOf MapCache
3200
- * @param {string} key The key of the value to remove.
3201
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3202
- */
3203
- function mapCacheDelete(key) {
3204
- return getMapData(this, key)['delete'](key);
3205
- }
3206
-
3207
- /**
3208
- * Gets the map value for `key`.
3209
- *
3210
- * @private
3211
- * @name get
3212
- * @memberOf MapCache
3213
- * @param {string} key The key of the value to get.
3214
- * @returns {*} Returns the entry value.
3215
- */
3216
- function mapCacheGet(key) {
3217
- return getMapData(this, key).get(key);
3218
- }
3219
-
3220
- /**
3221
- * Checks if a map value for `key` exists.
3222
- *
3223
- * @private
3224
- * @name has
3225
- * @memberOf MapCache
3226
- * @param {string} key The key of the entry to check.
3227
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3228
- */
3229
- function mapCacheHas(key) {
3230
- return getMapData(this, key).has(key);
3231
- }
3232
-
3233
- /**
3234
- * Sets the map `key` to `value`.
3235
- *
3236
- * @private
3237
- * @name set
3238
- * @memberOf MapCache
3239
- * @param {string} key The key of the value to set.
3240
- * @param {*} value The value to set.
3241
- * @returns {Object} Returns the map cache instance.
3242
- */
3243
- function mapCacheSet(key, value) {
3244
- getMapData(this, key).set(key, value);
3245
- return this;
3246
- }
3247
-
3248
- // Add methods to `MapCache`.
3249
- MapCache.prototype.clear = mapCacheClear;
3250
- MapCache.prototype['delete'] = mapCacheDelete;
3251
- MapCache.prototype.get = mapCacheGet;
3252
- MapCache.prototype.has = mapCacheHas;
3253
- MapCache.prototype.set = mapCacheSet;
3254
-
3255
- /**
3256
- * Creates a stack cache object to store key-value pairs.
3257
- *
3258
- * @private
3259
- * @constructor
3260
- * @param {Array} [entries] The key-value pairs to cache.
3261
- */
3262
- function Stack(entries) {
3263
- this.__data__ = new ListCache(entries);
3264
- }
3265
-
3266
- /**
3267
- * Removes all key-value entries from the stack.
3268
- *
3269
- * @private
3270
- * @name clear
3271
- * @memberOf Stack
3272
- */
3273
- function stackClear() {
3274
- this.__data__ = new ListCache;
3275
- }
3276
-
3277
- /**
3278
- * Removes `key` and its value from the stack.
3279
- *
3280
- * @private
3281
- * @name delete
3282
- * @memberOf Stack
3283
- * @param {string} key The key of the value to remove.
3284
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3285
- */
3286
- function stackDelete(key) {
3287
- return this.__data__['delete'](key);
3288
- }
3289
-
3290
- /**
3291
- * Gets the stack value for `key`.
3292
- *
3293
- * @private
3294
- * @name get
3295
- * @memberOf Stack
3296
- * @param {string} key The key of the value to get.
3297
- * @returns {*} Returns the entry value.
3298
- */
3299
- function stackGet(key) {
3300
- return this.__data__.get(key);
3301
- }
3302
-
3303
- /**
3304
- * Checks if a stack value for `key` exists.
3305
- *
3306
- * @private
3307
- * @name has
3308
- * @memberOf Stack
3309
- * @param {string} key The key of the entry to check.
3310
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3311
- */
3312
- function stackHas(key) {
3313
- return this.__data__.has(key);
3314
- }
3315
-
3316
- /**
3317
- * Sets the stack `key` to `value`.
3318
- *
3319
- * @private
3320
- * @name set
3321
- * @memberOf Stack
3322
- * @param {string} key The key of the value to set.
3323
- * @param {*} value The value to set.
3324
- * @returns {Object} Returns the stack cache instance.
3325
- */
3326
- function stackSet(key, value) {
3327
- var cache = this.__data__;
3328
- if (cache instanceof ListCache) {
3329
- var pairs = cache.__data__;
3330
- if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
3331
- pairs.push([key, value]);
3332
- return this;
3333
- }
3334
- cache = this.__data__ = new MapCache(pairs);
3335
- }
3336
- cache.set(key, value);
3337
- return this;
3338
- }
3339
-
3340
- // Add methods to `Stack`.
3341
- Stack.prototype.clear = stackClear;
3342
- Stack.prototype['delete'] = stackDelete;
3343
- Stack.prototype.get = stackGet;
3344
- Stack.prototype.has = stackHas;
3345
- Stack.prototype.set = stackSet;
3346
-
3347
- /**
3348
- * Creates an array of the enumerable property names of the array-like `value`.
3349
- *
3350
- * @private
3351
- * @param {*} value The value to query.
3352
- * @param {boolean} inherited Specify returning inherited property names.
3353
- * @returns {Array} Returns the array of property names.
3354
- */
3355
- function arrayLikeKeys(value, inherited) {
3356
- // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
3357
- // Safari 9 makes `arguments.length` enumerable in strict mode.
3358
- var result = (isArray(value) || isArguments(value))
3359
- ? baseTimes(value.length, String)
3360
- : [];
3361
-
3362
- var length = result.length,
3363
- skipIndexes = !!length;
3364
-
3365
- for (var key in value) {
3366
- if ((inherited || hasOwnProperty.call(value, key)) &&
3367
- !(skipIndexes && (key == 'length' || isIndex(key, length)))) {
3368
- result.push(key);
3369
- }
3370
- }
3371
- return result;
3372
- }
3373
-
3374
- /**
3375
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
3376
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
3377
- * for equality comparisons.
3378
- *
3379
- * @private
3380
- * @param {Object} object The object to modify.
3381
- * @param {string} key The key of the property to assign.
3382
- * @param {*} value The value to assign.
3383
- */
3384
- function assignValue(object, key, value) {
3385
- var objValue = object[key];
3386
- if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
3387
- (value === undefined && !(key in object))) {
3388
- object[key] = value;
3389
- }
3390
- }
3391
-
3392
- /**
3393
- * Gets the index at which the `key` is found in `array` of key-value pairs.
3394
- *
3395
- * @private
3396
- * @param {Array} array The array to inspect.
3397
- * @param {*} key The key to search for.
3398
- * @returns {number} Returns the index of the matched value, else `-1`.
3399
- */
3400
- function assocIndexOf(array, key) {
3401
- var length = array.length;
3402
- while (length--) {
3403
- if (eq(array[length][0], key)) {
3404
- return length;
3405
- }
3406
- }
3407
- return -1;
3408
- }
3409
-
3410
- /**
3411
- * The base implementation of `_.assign` without support for multiple sources
3412
- * or `customizer` functions.
3413
- *
3414
- * @private
3415
- * @param {Object} object The destination object.
3416
- * @param {Object} source The source object.
3417
- * @returns {Object} Returns `object`.
3418
- */
3419
- function baseAssign(object, source) {
3420
- return object && copyObject(source, keys(source), object);
3421
- }
3422
-
3423
- /**
3424
- * The base implementation of `_.clone` and `_.cloneDeep` which tracks
3425
- * traversed objects.
3426
- *
3427
- * @private
3428
- * @param {*} value The value to clone.
3429
- * @param {boolean} [isDeep] Specify a deep clone.
3430
- * @param {boolean} [isFull] Specify a clone including symbols.
3431
- * @param {Function} [customizer] The function to customize cloning.
3432
- * @param {string} [key] The key of `value`.
3433
- * @param {Object} [object] The parent object of `value`.
3434
- * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
3435
- * @returns {*} Returns the cloned value.
3436
- */
3437
- function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
3438
- var result;
3439
- if (customizer) {
3440
- result = object ? customizer(value, key, object, stack) : customizer(value);
3441
- }
3442
- if (result !== undefined) {
3443
- return result;
3444
- }
3445
- if (!isObject(value)) {
3446
- return value;
3447
- }
3448
- var isArr = isArray(value);
3449
- if (isArr) {
3450
- result = initCloneArray(value);
3451
- if (!isDeep) {
3452
- return copyArray(value, result);
3453
- }
3454
- } else {
3455
- var tag = getTag(value),
3456
- isFunc = tag == funcTag || tag == genTag;
3457
-
3458
- if (isBuffer(value)) {
3459
- return cloneBuffer(value, isDeep);
3460
- }
3461
- if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
3462
- if (isHostObject(value)) {
3463
- return object ? value : {};
3464
- }
3465
- result = initCloneObject(isFunc ? {} : value);
3466
- if (!isDeep) {
3467
- return copySymbols(value, baseAssign(result, value));
3468
- }
3469
- } else {
3470
- if (!cloneableTags[tag]) {
3471
- return object ? value : {};
3472
- }
3473
- result = initCloneByTag(value, tag, baseClone, isDeep);
3474
- }
3475
- }
3476
- // Check for circular references and return its corresponding clone.
3477
- stack || (stack = new Stack);
3478
- var stacked = stack.get(value);
3479
- if (stacked) {
3480
- return stacked;
3481
- }
3482
- stack.set(value, result);
3483
-
3484
- if (!isArr) {
3485
- var props = isFull ? getAllKeys(value) : keys(value);
3486
- }
3487
- arrayEach(props || value, function(subValue, key) {
3488
- if (props) {
3489
- key = subValue;
3490
- subValue = value[key];
3491
- }
3492
- // Recursively populate clone (susceptible to call stack limits).
3493
- assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
3494
- });
3495
- return result;
3496
- }
3497
-
3498
- /**
3499
- * The base implementation of `_.create` without support for assigning
3500
- * properties to the created object.
3501
- *
3502
- * @private
3503
- * @param {Object} prototype The object to inherit from.
3504
- * @returns {Object} Returns the new object.
3505
- */
3506
- function baseCreate(proto) {
3507
- return isObject(proto) ? objectCreate(proto) : {};
3508
- }
3509
-
3510
- /**
3511
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
3512
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
3513
- * symbols of `object`.
3514
- *
3515
- * @private
3516
- * @param {Object} object The object to query.
3517
- * @param {Function} keysFunc The function to get the keys of `object`.
3518
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
3519
- * @returns {Array} Returns the array of property names and symbols.
3520
- */
3521
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
3522
- var result = keysFunc(object);
3523
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
3524
- }
3525
-
3526
- /**
3527
- * The base implementation of `getTag`.
3528
- *
3529
- * @private
3530
- * @param {*} value The value to query.
3531
- * @returns {string} Returns the `toStringTag`.
3532
- */
3533
- function baseGetTag(value) {
3534
- return objectToString.call(value);
3535
- }
3536
-
3537
- /**
3538
- * The base implementation of `_.isNative` without bad shim checks.
3539
- *
3540
- * @private
3541
- * @param {*} value The value to check.
3542
- * @returns {boolean} Returns `true` if `value` is a native function,
3543
- * else `false`.
3544
- */
3545
- function baseIsNative(value) {
3546
- if (!isObject(value) || isMasked(value)) {
3547
- return false;
3548
- }
3549
- var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
3550
- return pattern.test(toSource(value));
3551
- }
3552
-
3553
- /**
3554
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
3555
- *
3556
- * @private
3557
- * @param {Object} object The object to query.
3558
- * @returns {Array} Returns the array of property names.
3559
- */
3560
- function baseKeys(object) {
3561
- if (!isPrototype(object)) {
3562
- return nativeKeys(object);
3563
- }
3564
- var result = [];
3565
- for (var key in Object(object)) {
3566
- if (hasOwnProperty.call(object, key) && key != 'constructor') {
3567
- result.push(key);
3568
- }
3569
- }
3570
- return result;
3571
- }
3572
-
3573
- /**
3574
- * Creates a clone of `buffer`.
3575
- *
3576
- * @private
3577
- * @param {Buffer} buffer The buffer to clone.
3578
- * @param {boolean} [isDeep] Specify a deep clone.
3579
- * @returns {Buffer} Returns the cloned buffer.
3580
- */
3581
- function cloneBuffer(buffer, isDeep) {
3582
- if (isDeep) {
3583
- return buffer.slice();
3584
- }
3585
- var result = new buffer.constructor(buffer.length);
3586
- buffer.copy(result);
3587
- return result;
3588
- }
3589
-
3590
- /**
3591
- * Creates a clone of `arrayBuffer`.
3592
- *
3593
- * @private
3594
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
3595
- * @returns {ArrayBuffer} Returns the cloned array buffer.
3596
- */
3597
- function cloneArrayBuffer(arrayBuffer) {
3598
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
3599
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
3600
- return result;
3601
- }
3602
-
3603
- /**
3604
- * Creates a clone of `dataView`.
3605
- *
3606
- * @private
3607
- * @param {Object} dataView The data view to clone.
3608
- * @param {boolean} [isDeep] Specify a deep clone.
3609
- * @returns {Object} Returns the cloned data view.
3610
- */
3611
- function cloneDataView(dataView, isDeep) {
3612
- var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
3613
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
3614
- }
3615
-
3616
- /**
3617
- * Creates a clone of `map`.
3618
- *
3619
- * @private
3620
- * @param {Object} map The map to clone.
3621
- * @param {Function} cloneFunc The function to clone values.
3622
- * @param {boolean} [isDeep] Specify a deep clone.
3623
- * @returns {Object} Returns the cloned map.
3624
- */
3625
- function cloneMap(map, isDeep, cloneFunc) {
3626
- var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
3627
- return arrayReduce(array, addMapEntry, new map.constructor);
3628
- }
3629
-
3630
- /**
3631
- * Creates a clone of `regexp`.
3632
- *
3633
- * @private
3634
- * @param {Object} regexp The regexp to clone.
3635
- * @returns {Object} Returns the cloned regexp.
3636
- */
3637
- function cloneRegExp(regexp) {
3638
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
3639
- result.lastIndex = regexp.lastIndex;
3640
- return result;
3641
- }
3642
-
3643
- /**
3644
- * Creates a clone of `set`.
3645
- *
3646
- * @private
3647
- * @param {Object} set The set to clone.
3648
- * @param {Function} cloneFunc The function to clone values.
3649
- * @param {boolean} [isDeep] Specify a deep clone.
3650
- * @returns {Object} Returns the cloned set.
3651
- */
3652
- function cloneSet(set, isDeep, cloneFunc) {
3653
- var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
3654
- return arrayReduce(array, addSetEntry, new set.constructor);
3655
- }
3656
-
3657
- /**
3658
- * Creates a clone of the `symbol` object.
3659
- *
3660
- * @private
3661
- * @param {Object} symbol The symbol object to clone.
3662
- * @returns {Object} Returns the cloned symbol object.
3663
- */
3664
- function cloneSymbol(symbol) {
3665
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
3666
- }
3667
-
3668
- /**
3669
- * Creates a clone of `typedArray`.
3670
- *
3671
- * @private
3672
- * @param {Object} typedArray The typed array to clone.
3673
- * @param {boolean} [isDeep] Specify a deep clone.
3674
- * @returns {Object} Returns the cloned typed array.
3675
- */
3676
- function cloneTypedArray(typedArray, isDeep) {
3677
- var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
3678
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
3679
- }
3680
-
3681
- /**
3682
- * Copies the values of `source` to `array`.
3683
- *
3684
- * @private
3685
- * @param {Array} source The array to copy values from.
3686
- * @param {Array} [array=[]] The array to copy values to.
3687
- * @returns {Array} Returns `array`.
3688
- */
3689
- function copyArray(source, array) {
3690
- var index = -1,
3691
- length = source.length;
3692
-
3693
- array || (array = Array(length));
3694
- while (++index < length) {
3695
- array[index] = source[index];
3696
- }
3697
- return array;
3698
- }
3699
-
3700
- /**
3701
- * Copies properties of `source` to `object`.
3702
- *
3703
- * @private
3704
- * @param {Object} source The object to copy properties from.
3705
- * @param {Array} props The property identifiers to copy.
3706
- * @param {Object} [object={}] The object to copy properties to.
3707
- * @param {Function} [customizer] The function to customize copied values.
3708
- * @returns {Object} Returns `object`.
3709
- */
3710
- function copyObject(source, props, object, customizer) {
3711
- object || (object = {});
3712
-
3713
- var index = -1,
3714
- length = props.length;
3715
-
3716
- while (++index < length) {
3717
- var key = props[index];
3718
-
3719
- var newValue = customizer
3720
- ? customizer(object[key], source[key], key, object, source)
3721
- : undefined;
3722
-
3723
- assignValue(object, key, newValue === undefined ? source[key] : newValue);
3724
- }
3725
- return object;
3726
- }
3727
-
3728
- /**
3729
- * Copies own symbol properties of `source` to `object`.
3730
- *
3731
- * @private
3732
- * @param {Object} source The object to copy symbols from.
3733
- * @param {Object} [object={}] The object to copy symbols to.
3734
- * @returns {Object} Returns `object`.
3735
- */
3736
- function copySymbols(source, object) {
3737
- return copyObject(source, getSymbols(source), object);
3738
- }
3739
-
3740
- /**
3741
- * Creates an array of own enumerable property names and symbols of `object`.
3742
- *
3743
- * @private
3744
- * @param {Object} object The object to query.
3745
- * @returns {Array} Returns the array of property names and symbols.
3746
- */
3747
- function getAllKeys(object) {
3748
- return baseGetAllKeys(object, keys, getSymbols);
3749
- }
3750
-
3751
- /**
3752
- * Gets the data for `map`.
3753
- *
3754
- * @private
3755
- * @param {Object} map The map to query.
3756
- * @param {string} key The reference key.
3757
- * @returns {*} Returns the map data.
3758
- */
3759
- function getMapData(map, key) {
3760
- var data = map.__data__;
3761
- return isKeyable(key)
3762
- ? data[typeof key == 'string' ? 'string' : 'hash']
3763
- : data.map;
3764
- }
3765
-
3766
- /**
3767
- * Gets the native function at `key` of `object`.
3768
- *
3769
- * @private
3770
- * @param {Object} object The object to query.
3771
- * @param {string} key The key of the method to get.
3772
- * @returns {*} Returns the function if it's native, else `undefined`.
3773
- */
3774
- function getNative(object, key) {
3775
- var value = getValue(object, key);
3776
- return baseIsNative(value) ? value : undefined;
3777
- }
3778
-
3779
- /**
3780
- * Creates an array of the own enumerable symbol properties of `object`.
3781
- *
3782
- * @private
3783
- * @param {Object} object The object to query.
3784
- * @returns {Array} Returns the array of symbols.
3785
- */
3786
- var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
3787
-
3788
- /**
3789
- * Gets the `toStringTag` of `value`.
3790
- *
3791
- * @private
3792
- * @param {*} value The value to query.
3793
- * @returns {string} Returns the `toStringTag`.
3794
- */
3795
- var getTag = baseGetTag;
3796
-
3797
- // Fallback for data views, maps, sets, and weak maps in IE 11,
3798
- // for data views in Edge < 14, and promises in Node.js.
3799
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
3800
- (Map && getTag(new Map) != mapTag) ||
3801
- (Promise && getTag(Promise.resolve()) != promiseTag) ||
3802
- (Set && getTag(new Set) != setTag) ||
3803
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
3804
- getTag = function(value) {
3805
- var result = objectToString.call(value),
3806
- Ctor = result == objectTag ? value.constructor : undefined,
3807
- ctorString = Ctor ? toSource(Ctor) : undefined;
3808
-
3809
- if (ctorString) {
3810
- switch (ctorString) {
3811
- case dataViewCtorString: return dataViewTag;
3812
- case mapCtorString: return mapTag;
3813
- case promiseCtorString: return promiseTag;
3814
- case setCtorString: return setTag;
3815
- case weakMapCtorString: return weakMapTag;
3816
- }
3817
- }
3818
- return result;
3819
- };
3820
- }
3821
-
3822
- /**
3823
- * Initializes an array clone.
3824
- *
3825
- * @private
3826
- * @param {Array} array The array to clone.
3827
- * @returns {Array} Returns the initialized clone.
3828
- */
3829
- function initCloneArray(array) {
3830
- var length = array.length,
3831
- result = array.constructor(length);
3832
-
3833
- // Add properties assigned by `RegExp#exec`.
3834
- if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
3835
- result.index = array.index;
3836
- result.input = array.input;
3837
- }
3838
- return result;
3839
- }
3840
-
3841
- /**
3842
- * Initializes an object clone.
3843
- *
3844
- * @private
3845
- * @param {Object} object The object to clone.
3846
- * @returns {Object} Returns the initialized clone.
3847
- */
3848
- function initCloneObject(object) {
3849
- return (typeof object.constructor == 'function' && !isPrototype(object))
3850
- ? baseCreate(getPrototype(object))
3851
- : {};
3852
- }
3853
-
3854
- /**
3855
- * Initializes an object clone based on its `toStringTag`.
3856
- *
3857
- * **Note:** This function only supports cloning values with tags of
3858
- * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
3859
- *
3860
- * @private
3861
- * @param {Object} object The object to clone.
3862
- * @param {string} tag The `toStringTag` of the object to clone.
3863
- * @param {Function} cloneFunc The function to clone values.
3864
- * @param {boolean} [isDeep] Specify a deep clone.
3865
- * @returns {Object} Returns the initialized clone.
3866
- */
3867
- function initCloneByTag(object, tag, cloneFunc, isDeep) {
3868
- var Ctor = object.constructor;
3869
- switch (tag) {
3870
- case arrayBufferTag:
3871
- return cloneArrayBuffer(object);
3872
-
3873
- case boolTag:
3874
- case dateTag:
3875
- return new Ctor(+object);
3876
-
3877
- case dataViewTag:
3878
- return cloneDataView(object, isDeep);
3879
-
3880
- case float32Tag: case float64Tag:
3881
- case int8Tag: case int16Tag: case int32Tag:
3882
- case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
3883
- return cloneTypedArray(object, isDeep);
3884
-
3885
- case mapTag:
3886
- return cloneMap(object, isDeep, cloneFunc);
3887
-
3888
- case numberTag:
3889
- case stringTag:
3890
- return new Ctor(object);
3891
-
3892
- case regexpTag:
3893
- return cloneRegExp(object);
3894
-
3895
- case setTag:
3896
- return cloneSet(object, isDeep, cloneFunc);
3897
-
3898
- case symbolTag:
3899
- return cloneSymbol(object);
3900
- }
3901
- }
3902
-
3903
- /**
3904
- * Checks if `value` is a valid array-like index.
3905
- *
3906
- * @private
3907
- * @param {*} value The value to check.
3908
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
3909
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
3910
- */
3911
- function isIndex(value, length) {
3912
- length = length == null ? MAX_SAFE_INTEGER : length;
3913
- return !!length &&
3914
- (typeof value == 'number' || reIsUint.test(value)) &&
3915
- (value > -1 && value % 1 == 0 && value < length);
3916
- }
3917
-
3918
- /**
3919
- * Checks if `value` is suitable for use as unique object key.
3920
- *
3921
- * @private
3922
- * @param {*} value The value to check.
3923
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
3924
- */
3925
- function isKeyable(value) {
3926
- var type = typeof value;
3927
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
3928
- ? (value !== '__proto__')
3929
- : (value === null);
3930
- }
3931
-
3932
- /**
3933
- * Checks if `func` has its source masked.
3934
- *
3935
- * @private
3936
- * @param {Function} func The function to check.
3937
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
3938
- */
3939
- function isMasked(func) {
3940
- return !!maskSrcKey && (maskSrcKey in func);
3941
- }
3942
-
3943
- /**
3944
- * Checks if `value` is likely a prototype object.
3945
- *
3946
- * @private
3947
- * @param {*} value The value to check.
3948
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
3949
- */
3950
- function isPrototype(value) {
3951
- var Ctor = value && value.constructor,
3952
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
3953
-
3954
- return value === proto;
3955
- }
3956
-
3957
- /**
3958
- * Converts `func` to its source code.
3959
- *
3960
- * @private
3961
- * @param {Function} func The function to process.
3962
- * @returns {string} Returns the source code.
3963
- */
3964
- function toSource(func) {
3965
- if (func != null) {
3966
- try {
3967
- return funcToString.call(func);
3968
- } catch (e) {}
3969
- try {
3970
- return (func + '');
3971
- } catch (e) {}
3972
- }
3973
- return '';
3974
- }
3975
-
3976
- /**
3977
- * This method is like `_.clone` except that it recursively clones `value`.
3978
- *
3979
- * @static
3980
- * @memberOf _
3981
- * @since 1.0.0
3982
- * @category Lang
3983
- * @param {*} value The value to recursively clone.
3984
- * @returns {*} Returns the deep cloned value.
3985
- * @see _.clone
3986
- * @example
3987
- *
3988
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
3989
- *
3990
- * var deep = _.cloneDeep(objects);
3991
- * console.log(deep[0] === objects[0]);
3992
- * // => false
3993
- */
3994
- function cloneDeep(value) {
3995
- return baseClone(value, true, true);
3996
- }
3997
-
3998
- /**
3999
- * Performs a
4000
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
4001
- * comparison between two values to determine if they are equivalent.
4002
- *
4003
- * @static
4004
- * @memberOf _
4005
- * @since 4.0.0
4006
- * @category Lang
4007
- * @param {*} value The value to compare.
4008
- * @param {*} other The other value to compare.
4009
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
4010
- * @example
4011
- *
4012
- * var object = { 'a': 1 };
4013
- * var other = { 'a': 1 };
4014
- *
4015
- * _.eq(object, object);
4016
- * // => true
4017
- *
4018
- * _.eq(object, other);
4019
- * // => false
4020
- *
4021
- * _.eq('a', 'a');
4022
- * // => true
4023
- *
4024
- * _.eq('a', Object('a'));
4025
- * // => false
4026
- *
4027
- * _.eq(NaN, NaN);
4028
- * // => true
4029
- */
4030
- function eq(value, other) {
4031
- return value === other || (value !== value && other !== other);
4032
- }
4033
-
4034
- /**
4035
- * Checks if `value` is likely an `arguments` object.
4036
- *
4037
- * @static
4038
- * @memberOf _
4039
- * @since 0.1.0
4040
- * @category Lang
4041
- * @param {*} value The value to check.
4042
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
4043
- * else `false`.
4044
- * @example
4045
- *
4046
- * _.isArguments(function() { return arguments; }());
4047
- * // => true
4048
- *
4049
- * _.isArguments([1, 2, 3]);
4050
- * // => false
4051
- */
4052
- function isArguments(value) {
4053
- // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
4054
- return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
4055
- (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
4056
- }
4057
-
4058
- /**
4059
- * Checks if `value` is classified as an `Array` object.
4060
- *
4061
- * @static
4062
- * @memberOf _
4063
- * @since 0.1.0
4064
- * @category Lang
4065
- * @param {*} value The value to check.
4066
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
4067
- * @example
4068
- *
4069
- * _.isArray([1, 2, 3]);
4070
- * // => true
4071
- *
4072
- * _.isArray(document.body.children);
4073
- * // => false
4074
- *
4075
- * _.isArray('abc');
4076
- * // => false
4077
- *
4078
- * _.isArray(_.noop);
4079
- * // => false
4080
- */
4081
- var isArray = Array.isArray;
4082
-
4083
- /**
4084
- * Checks if `value` is array-like. A value is considered array-like if it's
4085
- * not a function and has a `value.length` that's an integer greater than or
4086
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
4087
- *
4088
- * @static
4089
- * @memberOf _
4090
- * @since 4.0.0
4091
- * @category Lang
4092
- * @param {*} value The value to check.
4093
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
4094
- * @example
4095
- *
4096
- * _.isArrayLike([1, 2, 3]);
4097
- * // => true
4098
- *
4099
- * _.isArrayLike(document.body.children);
4100
- * // => true
4101
- *
4102
- * _.isArrayLike('abc');
4103
- * // => true
4104
- *
4105
- * _.isArrayLike(_.noop);
4106
- * // => false
4107
- */
4108
- function isArrayLike(value) {
4109
- return value != null && isLength(value.length) && !isFunction(value);
4110
- }
4111
-
4112
- /**
4113
- * This method is like `_.isArrayLike` except that it also checks if `value`
4114
- * is an object.
4115
- *
4116
- * @static
4117
- * @memberOf _
4118
- * @since 4.0.0
4119
- * @category Lang
4120
- * @param {*} value The value to check.
4121
- * @returns {boolean} Returns `true` if `value` is an array-like object,
4122
- * else `false`.
4123
- * @example
4124
- *
4125
- * _.isArrayLikeObject([1, 2, 3]);
4126
- * // => true
4127
- *
4128
- * _.isArrayLikeObject(document.body.children);
4129
- * // => true
4130
- *
4131
- * _.isArrayLikeObject('abc');
4132
- * // => false
4133
- *
4134
- * _.isArrayLikeObject(_.noop);
4135
- * // => false
4136
- */
4137
- function isArrayLikeObject(value) {
4138
- return isObjectLike(value) && isArrayLike(value);
4139
- }
4140
-
4141
- /**
4142
- * Checks if `value` is a buffer.
4143
- *
4144
- * @static
4145
- * @memberOf _
4146
- * @since 4.3.0
4147
- * @category Lang
4148
- * @param {*} value The value to check.
4149
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
4150
- * @example
4151
- *
4152
- * _.isBuffer(new Buffer(2));
4153
- * // => true
4154
- *
4155
- * _.isBuffer(new Uint8Array(2));
4156
- * // => false
4157
- */
4158
- var isBuffer = nativeIsBuffer || stubFalse;
4159
-
4160
- /**
4161
- * Checks if `value` is classified as a `Function` object.
4162
- *
4163
- * @static
4164
- * @memberOf _
4165
- * @since 0.1.0
4166
- * @category Lang
4167
- * @param {*} value The value to check.
4168
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
4169
- * @example
4170
- *
4171
- * _.isFunction(_);
4172
- * // => true
4173
- *
4174
- * _.isFunction(/abc/);
4175
- * // => false
4176
- */
4177
- function isFunction(value) {
4178
- // The use of `Object#toString` avoids issues with the `typeof` operator
4179
- // in Safari 8-9 which returns 'object' for typed array and other constructors.
4180
- var tag = isObject(value) ? objectToString.call(value) : '';
4181
- return tag == funcTag || tag == genTag;
4182
- }
4183
-
4184
- /**
4185
- * Checks if `value` is a valid array-like length.
4186
- *
4187
- * **Note:** This method is loosely based on
4188
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
4189
- *
4190
- * @static
4191
- * @memberOf _
4192
- * @since 4.0.0
4193
- * @category Lang
4194
- * @param {*} value The value to check.
4195
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
4196
- * @example
4197
- *
4198
- * _.isLength(3);
4199
- * // => true
4200
- *
4201
- * _.isLength(Number.MIN_VALUE);
4202
- * // => false
4203
- *
4204
- * _.isLength(Infinity);
4205
- * // => false
4206
- *
4207
- * _.isLength('3');
4208
- * // => false
4209
- */
4210
- function isLength(value) {
4211
- return typeof value == 'number' &&
4212
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2605
+ var hasRequiredLodash_clonedeep;
2606
+
2607
+ function requireLodash_clonedeep () {
2608
+ if (hasRequiredLodash_clonedeep) return lodash_clonedeep.exports;
2609
+ hasRequiredLodash_clonedeep = 1;
2610
+ (function (module, exports) {
2611
+ /** Used as the size to enable large array optimizations. */
2612
+ var LARGE_ARRAY_SIZE = 200;
2613
+
2614
+ /** Used to stand-in for `undefined` hash values. */
2615
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
2616
+
2617
+ /** Used as references for various `Number` constants. */
2618
+ var MAX_SAFE_INTEGER = 9007199254740991;
2619
+
2620
+ /** `Object#toString` result references. */
2621
+ var argsTag = '[object Arguments]',
2622
+ arrayTag = '[object Array]',
2623
+ boolTag = '[object Boolean]',
2624
+ dateTag = '[object Date]',
2625
+ errorTag = '[object Error]',
2626
+ funcTag = '[object Function]',
2627
+ genTag = '[object GeneratorFunction]',
2628
+ mapTag = '[object Map]',
2629
+ numberTag = '[object Number]',
2630
+ objectTag = '[object Object]',
2631
+ promiseTag = '[object Promise]',
2632
+ regexpTag = '[object RegExp]',
2633
+ setTag = '[object Set]',
2634
+ stringTag = '[object String]',
2635
+ symbolTag = '[object Symbol]',
2636
+ weakMapTag = '[object WeakMap]';
2637
+
2638
+ var arrayBufferTag = '[object ArrayBuffer]',
2639
+ dataViewTag = '[object DataView]',
2640
+ float32Tag = '[object Float32Array]',
2641
+ float64Tag = '[object Float64Array]',
2642
+ int8Tag = '[object Int8Array]',
2643
+ int16Tag = '[object Int16Array]',
2644
+ int32Tag = '[object Int32Array]',
2645
+ uint8Tag = '[object Uint8Array]',
2646
+ uint8ClampedTag = '[object Uint8ClampedArray]',
2647
+ uint16Tag = '[object Uint16Array]',
2648
+ uint32Tag = '[object Uint32Array]';
2649
+
2650
+ /**
2651
+ * Used to match `RegExp`
2652
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
2653
+ */
2654
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
2655
+
2656
+ /** Used to match `RegExp` flags from their coerced string values. */
2657
+ var reFlags = /\w*$/;
2658
+
2659
+ /** Used to detect host constructors (Safari). */
2660
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
2661
+
2662
+ /** Used to detect unsigned integer values. */
2663
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
2664
+
2665
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
2666
+ var cloneableTags = {};
2667
+ cloneableTags[argsTag] = cloneableTags[arrayTag] =
2668
+ cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
2669
+ cloneableTags[boolTag] = cloneableTags[dateTag] =
2670
+ cloneableTags[float32Tag] = cloneableTags[float64Tag] =
2671
+ cloneableTags[int8Tag] = cloneableTags[int16Tag] =
2672
+ cloneableTags[int32Tag] = cloneableTags[mapTag] =
2673
+ cloneableTags[numberTag] = cloneableTags[objectTag] =
2674
+ cloneableTags[regexpTag] = cloneableTags[setTag] =
2675
+ cloneableTags[stringTag] = cloneableTags[symbolTag] =
2676
+ cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
2677
+ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
2678
+ cloneableTags[errorTag] = cloneableTags[funcTag] =
2679
+ cloneableTags[weakMapTag] = false;
2680
+
2681
+ /** Detect free variable `global` from Node.js. */
2682
+ var freeGlobal = typeof _commonjsHelpers.commonjsGlobal == 'object' && _commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.Object === Object && _commonjsHelpers.commonjsGlobal;
2683
+
2684
+ /** Detect free variable `self`. */
2685
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
2686
+
2687
+ /** Used as a reference to the global object. */
2688
+ var root = freeGlobal || freeSelf || Function('return this')();
2689
+
2690
+ /** Detect free variable `exports`. */
2691
+ var freeExports = exports && !exports.nodeType && exports;
2692
+
2693
+ /** Detect free variable `module`. */
2694
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
2695
+
2696
+ /** Detect the popular CommonJS extension `module.exports`. */
2697
+ var moduleExports = freeModule && freeModule.exports === freeExports;
2698
+
2699
+ /**
2700
+ * Adds the key-value `pair` to `map`.
2701
+ *
2702
+ * @private
2703
+ * @param {Object} map The map to modify.
2704
+ * @param {Array} pair The key-value pair to add.
2705
+ * @returns {Object} Returns `map`.
2706
+ */
2707
+ function addMapEntry(map, pair) {
2708
+ // Don't return `map.set` because it's not chainable in IE 11.
2709
+ map.set(pair[0], pair[1]);
2710
+ return map;
2711
+ }
2712
+
2713
+ /**
2714
+ * Adds `value` to `set`.
2715
+ *
2716
+ * @private
2717
+ * @param {Object} set The set to modify.
2718
+ * @param {*} value The value to add.
2719
+ * @returns {Object} Returns `set`.
2720
+ */
2721
+ function addSetEntry(set, value) {
2722
+ // Don't return `set.add` because it's not chainable in IE 11.
2723
+ set.add(value);
2724
+ return set;
2725
+ }
2726
+
2727
+ /**
2728
+ * A specialized version of `_.forEach` for arrays without support for
2729
+ * iteratee shorthands.
2730
+ *
2731
+ * @private
2732
+ * @param {Array} [array] The array to iterate over.
2733
+ * @param {Function} iteratee The function invoked per iteration.
2734
+ * @returns {Array} Returns `array`.
2735
+ */
2736
+ function arrayEach(array, iteratee) {
2737
+ var index = -1,
2738
+ length = array ? array.length : 0;
2739
+
2740
+ while (++index < length) {
2741
+ if (iteratee(array[index], index, array) === false) {
2742
+ break;
2743
+ }
2744
+ }
2745
+ return array;
2746
+ }
2747
+
2748
+ /**
2749
+ * Appends the elements of `values` to `array`.
2750
+ *
2751
+ * @private
2752
+ * @param {Array} array The array to modify.
2753
+ * @param {Array} values The values to append.
2754
+ * @returns {Array} Returns `array`.
2755
+ */
2756
+ function arrayPush(array, values) {
2757
+ var index = -1,
2758
+ length = values.length,
2759
+ offset = array.length;
2760
+
2761
+ while (++index < length) {
2762
+ array[offset + index] = values[index];
2763
+ }
2764
+ return array;
2765
+ }
2766
+
2767
+ /**
2768
+ * A specialized version of `_.reduce` for arrays without support for
2769
+ * iteratee shorthands.
2770
+ *
2771
+ * @private
2772
+ * @param {Array} [array] The array to iterate over.
2773
+ * @param {Function} iteratee The function invoked per iteration.
2774
+ * @param {*} [accumulator] The initial value.
2775
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
2776
+ * the initial value.
2777
+ * @returns {*} Returns the accumulated value.
2778
+ */
2779
+ function arrayReduce(array, iteratee, accumulator, initAccum) {
2780
+ var index = -1,
2781
+ length = array ? array.length : 0;
2782
+ while (++index < length) {
2783
+ accumulator = iteratee(accumulator, array[index], index, array);
2784
+ }
2785
+ return accumulator;
2786
+ }
2787
+
2788
+ /**
2789
+ * The base implementation of `_.times` without support for iteratee shorthands
2790
+ * or max array length checks.
2791
+ *
2792
+ * @private
2793
+ * @param {number} n The number of times to invoke `iteratee`.
2794
+ * @param {Function} iteratee The function invoked per iteration.
2795
+ * @returns {Array} Returns the array of results.
2796
+ */
2797
+ function baseTimes(n, iteratee) {
2798
+ var index = -1,
2799
+ result = Array(n);
2800
+
2801
+ while (++index < n) {
2802
+ result[index] = iteratee(index);
2803
+ }
2804
+ return result;
2805
+ }
2806
+
2807
+ /**
2808
+ * Gets the value at `key` of `object`.
2809
+ *
2810
+ * @private
2811
+ * @param {Object} [object] The object to query.
2812
+ * @param {string} key The key of the property to get.
2813
+ * @returns {*} Returns the property value.
2814
+ */
2815
+ function getValue(object, key) {
2816
+ return object == null ? undefined : object[key];
2817
+ }
2818
+
2819
+ /**
2820
+ * Checks if `value` is a host object in IE < 9.
2821
+ *
2822
+ * @private
2823
+ * @param {*} value The value to check.
2824
+ * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
2825
+ */
2826
+ function isHostObject(value) {
2827
+ // Many host objects are `Object` objects that can coerce to strings
2828
+ // despite having improperly defined `toString` methods.
2829
+ var result = false;
2830
+ if (value != null && typeof value.toString != 'function') {
2831
+ try {
2832
+ result = !!(value + '');
2833
+ } catch (e) {}
2834
+ }
2835
+ return result;
2836
+ }
2837
+
2838
+ /**
2839
+ * Converts `map` to its key-value pairs.
2840
+ *
2841
+ * @private
2842
+ * @param {Object} map The map to convert.
2843
+ * @returns {Array} Returns the key-value pairs.
2844
+ */
2845
+ function mapToArray(map) {
2846
+ var index = -1,
2847
+ result = Array(map.size);
2848
+
2849
+ map.forEach(function(value, key) {
2850
+ result[++index] = [key, value];
2851
+ });
2852
+ return result;
2853
+ }
2854
+
2855
+ /**
2856
+ * Creates a unary function that invokes `func` with its argument transformed.
2857
+ *
2858
+ * @private
2859
+ * @param {Function} func The function to wrap.
2860
+ * @param {Function} transform The argument transform.
2861
+ * @returns {Function} Returns the new function.
2862
+ */
2863
+ function overArg(func, transform) {
2864
+ return function(arg) {
2865
+ return func(transform(arg));
2866
+ };
2867
+ }
2868
+
2869
+ /**
2870
+ * Converts `set` to an array of its values.
2871
+ *
2872
+ * @private
2873
+ * @param {Object} set The set to convert.
2874
+ * @returns {Array} Returns the values.
2875
+ */
2876
+ function setToArray(set) {
2877
+ var index = -1,
2878
+ result = Array(set.size);
2879
+
2880
+ set.forEach(function(value) {
2881
+ result[++index] = value;
2882
+ });
2883
+ return result;
2884
+ }
2885
+
2886
+ /** Used for built-in method references. */
2887
+ var arrayProto = Array.prototype,
2888
+ funcProto = Function.prototype,
2889
+ objectProto = Object.prototype;
2890
+
2891
+ /** Used to detect overreaching core-js shims. */
2892
+ var coreJsData = root['__core-js_shared__'];
2893
+
2894
+ /** Used to detect methods masquerading as native. */
2895
+ var maskSrcKey = (function() {
2896
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
2897
+ return uid ? ('Symbol(src)_1.' + uid) : '';
2898
+ }());
2899
+
2900
+ /** Used to resolve the decompiled source of functions. */
2901
+ var funcToString = funcProto.toString;
2902
+
2903
+ /** Used to check objects for own properties. */
2904
+ var hasOwnProperty = objectProto.hasOwnProperty;
2905
+
2906
+ /**
2907
+ * Used to resolve the
2908
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
2909
+ * of values.
2910
+ */
2911
+ var objectToString = objectProto.toString;
2912
+
2913
+ /** Used to detect if a method is native. */
2914
+ var reIsNative = RegExp('^' +
2915
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
2916
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
2917
+ );
2918
+
2919
+ /** Built-in value references. */
2920
+ var Buffer = moduleExports ? root.Buffer : undefined,
2921
+ Symbol = root.Symbol,
2922
+ Uint8Array = root.Uint8Array,
2923
+ getPrototype = overArg(Object.getPrototypeOf, Object),
2924
+ objectCreate = Object.create,
2925
+ propertyIsEnumerable = objectProto.propertyIsEnumerable,
2926
+ splice = arrayProto.splice;
2927
+
2928
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2929
+ var nativeGetSymbols = Object.getOwnPropertySymbols,
2930
+ nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
2931
+ nativeKeys = overArg(Object.keys, Object);
2932
+
2933
+ /* Built-in method references that are verified to be native. */
2934
+ var DataView = getNative(root, 'DataView'),
2935
+ Map = getNative(root, 'Map'),
2936
+ Promise = getNative(root, 'Promise'),
2937
+ Set = getNative(root, 'Set'),
2938
+ WeakMap = getNative(root, 'WeakMap'),
2939
+ nativeCreate = getNative(Object, 'create');
2940
+
2941
+ /** Used to detect maps, sets, and weakmaps. */
2942
+ var dataViewCtorString = toSource(DataView),
2943
+ mapCtorString = toSource(Map),
2944
+ promiseCtorString = toSource(Promise),
2945
+ setCtorString = toSource(Set),
2946
+ weakMapCtorString = toSource(WeakMap);
2947
+
2948
+ /** Used to convert symbols to primitives and strings. */
2949
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
2950
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
2951
+
2952
+ /**
2953
+ * Creates a hash object.
2954
+ *
2955
+ * @private
2956
+ * @constructor
2957
+ * @param {Array} [entries] The key-value pairs to cache.
2958
+ */
2959
+ function Hash(entries) {
2960
+ var index = -1,
2961
+ length = entries ? entries.length : 0;
2962
+
2963
+ this.clear();
2964
+ while (++index < length) {
2965
+ var entry = entries[index];
2966
+ this.set(entry[0], entry[1]);
2967
+ }
2968
+ }
2969
+
2970
+ /**
2971
+ * Removes all key-value entries from the hash.
2972
+ *
2973
+ * @private
2974
+ * @name clear
2975
+ * @memberOf Hash
2976
+ */
2977
+ function hashClear() {
2978
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
2979
+ }
2980
+
2981
+ /**
2982
+ * Removes `key` and its value from the hash.
2983
+ *
2984
+ * @private
2985
+ * @name delete
2986
+ * @memberOf Hash
2987
+ * @param {Object} hash The hash to modify.
2988
+ * @param {string} key The key of the value to remove.
2989
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
2990
+ */
2991
+ function hashDelete(key) {
2992
+ return this.has(key) && delete this.__data__[key];
2993
+ }
2994
+
2995
+ /**
2996
+ * Gets the hash value for `key`.
2997
+ *
2998
+ * @private
2999
+ * @name get
3000
+ * @memberOf Hash
3001
+ * @param {string} key The key of the value to get.
3002
+ * @returns {*} Returns the entry value.
3003
+ */
3004
+ function hashGet(key) {
3005
+ var data = this.__data__;
3006
+ if (nativeCreate) {
3007
+ var result = data[key];
3008
+ return result === HASH_UNDEFINED ? undefined : result;
3009
+ }
3010
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
3011
+ }
3012
+
3013
+ /**
3014
+ * Checks if a hash value for `key` exists.
3015
+ *
3016
+ * @private
3017
+ * @name has
3018
+ * @memberOf Hash
3019
+ * @param {string} key The key of the entry to check.
3020
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3021
+ */
3022
+ function hashHas(key) {
3023
+ var data = this.__data__;
3024
+ return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
3025
+ }
3026
+
3027
+ /**
3028
+ * Sets the hash `key` to `value`.
3029
+ *
3030
+ * @private
3031
+ * @name set
3032
+ * @memberOf Hash
3033
+ * @param {string} key The key of the value to set.
3034
+ * @param {*} value The value to set.
3035
+ * @returns {Object} Returns the hash instance.
3036
+ */
3037
+ function hashSet(key, value) {
3038
+ var data = this.__data__;
3039
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
3040
+ return this;
3041
+ }
3042
+
3043
+ // Add methods to `Hash`.
3044
+ Hash.prototype.clear = hashClear;
3045
+ Hash.prototype['delete'] = hashDelete;
3046
+ Hash.prototype.get = hashGet;
3047
+ Hash.prototype.has = hashHas;
3048
+ Hash.prototype.set = hashSet;
3049
+
3050
+ /**
3051
+ * Creates an list cache object.
3052
+ *
3053
+ * @private
3054
+ * @constructor
3055
+ * @param {Array} [entries] The key-value pairs to cache.
3056
+ */
3057
+ function ListCache(entries) {
3058
+ var index = -1,
3059
+ length = entries ? entries.length : 0;
3060
+
3061
+ this.clear();
3062
+ while (++index < length) {
3063
+ var entry = entries[index];
3064
+ this.set(entry[0], entry[1]);
3065
+ }
3066
+ }
3067
+
3068
+ /**
3069
+ * Removes all key-value entries from the list cache.
3070
+ *
3071
+ * @private
3072
+ * @name clear
3073
+ * @memberOf ListCache
3074
+ */
3075
+ function listCacheClear() {
3076
+ this.__data__ = [];
3077
+ }
3078
+
3079
+ /**
3080
+ * Removes `key` and its value from the list cache.
3081
+ *
3082
+ * @private
3083
+ * @name delete
3084
+ * @memberOf ListCache
3085
+ * @param {string} key The key of the value to remove.
3086
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3087
+ */
3088
+ function listCacheDelete(key) {
3089
+ var data = this.__data__,
3090
+ index = assocIndexOf(data, key);
3091
+
3092
+ if (index < 0) {
3093
+ return false;
3094
+ }
3095
+ var lastIndex = data.length - 1;
3096
+ if (index == lastIndex) {
3097
+ data.pop();
3098
+ } else {
3099
+ splice.call(data, index, 1);
3100
+ }
3101
+ return true;
3102
+ }
3103
+
3104
+ /**
3105
+ * Gets the list cache value for `key`.
3106
+ *
3107
+ * @private
3108
+ * @name get
3109
+ * @memberOf ListCache
3110
+ * @param {string} key The key of the value to get.
3111
+ * @returns {*} Returns the entry value.
3112
+ */
3113
+ function listCacheGet(key) {
3114
+ var data = this.__data__,
3115
+ index = assocIndexOf(data, key);
3116
+
3117
+ return index < 0 ? undefined : data[index][1];
3118
+ }
3119
+
3120
+ /**
3121
+ * Checks if a list cache value for `key` exists.
3122
+ *
3123
+ * @private
3124
+ * @name has
3125
+ * @memberOf ListCache
3126
+ * @param {string} key The key of the entry to check.
3127
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3128
+ */
3129
+ function listCacheHas(key) {
3130
+ return assocIndexOf(this.__data__, key) > -1;
3131
+ }
3132
+
3133
+ /**
3134
+ * Sets the list cache `key` to `value`.
3135
+ *
3136
+ * @private
3137
+ * @name set
3138
+ * @memberOf ListCache
3139
+ * @param {string} key The key of the value to set.
3140
+ * @param {*} value The value to set.
3141
+ * @returns {Object} Returns the list cache instance.
3142
+ */
3143
+ function listCacheSet(key, value) {
3144
+ var data = this.__data__,
3145
+ index = assocIndexOf(data, key);
3146
+
3147
+ if (index < 0) {
3148
+ data.push([key, value]);
3149
+ } else {
3150
+ data[index][1] = value;
3151
+ }
3152
+ return this;
3153
+ }
3154
+
3155
+ // Add methods to `ListCache`.
3156
+ ListCache.prototype.clear = listCacheClear;
3157
+ ListCache.prototype['delete'] = listCacheDelete;
3158
+ ListCache.prototype.get = listCacheGet;
3159
+ ListCache.prototype.has = listCacheHas;
3160
+ ListCache.prototype.set = listCacheSet;
3161
+
3162
+ /**
3163
+ * Creates a map cache object to store key-value pairs.
3164
+ *
3165
+ * @private
3166
+ * @constructor
3167
+ * @param {Array} [entries] The key-value pairs to cache.
3168
+ */
3169
+ function MapCache(entries) {
3170
+ var index = -1,
3171
+ length = entries ? entries.length : 0;
3172
+
3173
+ this.clear();
3174
+ while (++index < length) {
3175
+ var entry = entries[index];
3176
+ this.set(entry[0], entry[1]);
3177
+ }
3178
+ }
3179
+
3180
+ /**
3181
+ * Removes all key-value entries from the map.
3182
+ *
3183
+ * @private
3184
+ * @name clear
3185
+ * @memberOf MapCache
3186
+ */
3187
+ function mapCacheClear() {
3188
+ this.__data__ = {
3189
+ 'hash': new Hash,
3190
+ 'map': new (Map || ListCache),
3191
+ 'string': new Hash
3192
+ };
3193
+ }
3194
+
3195
+ /**
3196
+ * Removes `key` and its value from the map.
3197
+ *
3198
+ * @private
3199
+ * @name delete
3200
+ * @memberOf MapCache
3201
+ * @param {string} key The key of the value to remove.
3202
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3203
+ */
3204
+ function mapCacheDelete(key) {
3205
+ return getMapData(this, key)['delete'](key);
3206
+ }
3207
+
3208
+ /**
3209
+ * Gets the map value for `key`.
3210
+ *
3211
+ * @private
3212
+ * @name get
3213
+ * @memberOf MapCache
3214
+ * @param {string} key The key of the value to get.
3215
+ * @returns {*} Returns the entry value.
3216
+ */
3217
+ function mapCacheGet(key) {
3218
+ return getMapData(this, key).get(key);
3219
+ }
3220
+
3221
+ /**
3222
+ * Checks if a map value for `key` exists.
3223
+ *
3224
+ * @private
3225
+ * @name has
3226
+ * @memberOf MapCache
3227
+ * @param {string} key The key of the entry to check.
3228
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3229
+ */
3230
+ function mapCacheHas(key) {
3231
+ return getMapData(this, key).has(key);
3232
+ }
3233
+
3234
+ /**
3235
+ * Sets the map `key` to `value`.
3236
+ *
3237
+ * @private
3238
+ * @name set
3239
+ * @memberOf MapCache
3240
+ * @param {string} key The key of the value to set.
3241
+ * @param {*} value The value to set.
3242
+ * @returns {Object} Returns the map cache instance.
3243
+ */
3244
+ function mapCacheSet(key, value) {
3245
+ getMapData(this, key).set(key, value);
3246
+ return this;
3247
+ }
3248
+
3249
+ // Add methods to `MapCache`.
3250
+ MapCache.prototype.clear = mapCacheClear;
3251
+ MapCache.prototype['delete'] = mapCacheDelete;
3252
+ MapCache.prototype.get = mapCacheGet;
3253
+ MapCache.prototype.has = mapCacheHas;
3254
+ MapCache.prototype.set = mapCacheSet;
3255
+
3256
+ /**
3257
+ * Creates a stack cache object to store key-value pairs.
3258
+ *
3259
+ * @private
3260
+ * @constructor
3261
+ * @param {Array} [entries] The key-value pairs to cache.
3262
+ */
3263
+ function Stack(entries) {
3264
+ this.__data__ = new ListCache(entries);
3265
+ }
3266
+
3267
+ /**
3268
+ * Removes all key-value entries from the stack.
3269
+ *
3270
+ * @private
3271
+ * @name clear
3272
+ * @memberOf Stack
3273
+ */
3274
+ function stackClear() {
3275
+ this.__data__ = new ListCache;
3276
+ }
3277
+
3278
+ /**
3279
+ * Removes `key` and its value from the stack.
3280
+ *
3281
+ * @private
3282
+ * @name delete
3283
+ * @memberOf Stack
3284
+ * @param {string} key The key of the value to remove.
3285
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3286
+ */
3287
+ function stackDelete(key) {
3288
+ return this.__data__['delete'](key);
3289
+ }
3290
+
3291
+ /**
3292
+ * Gets the stack value for `key`.
3293
+ *
3294
+ * @private
3295
+ * @name get
3296
+ * @memberOf Stack
3297
+ * @param {string} key The key of the value to get.
3298
+ * @returns {*} Returns the entry value.
3299
+ */
3300
+ function stackGet(key) {
3301
+ return this.__data__.get(key);
3302
+ }
3303
+
3304
+ /**
3305
+ * Checks if a stack value for `key` exists.
3306
+ *
3307
+ * @private
3308
+ * @name has
3309
+ * @memberOf Stack
3310
+ * @param {string} key The key of the entry to check.
3311
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3312
+ */
3313
+ function stackHas(key) {
3314
+ return this.__data__.has(key);
3315
+ }
3316
+
3317
+ /**
3318
+ * Sets the stack `key` to `value`.
3319
+ *
3320
+ * @private
3321
+ * @name set
3322
+ * @memberOf Stack
3323
+ * @param {string} key The key of the value to set.
3324
+ * @param {*} value The value to set.
3325
+ * @returns {Object} Returns the stack cache instance.
3326
+ */
3327
+ function stackSet(key, value) {
3328
+ var cache = this.__data__;
3329
+ if (cache instanceof ListCache) {
3330
+ var pairs = cache.__data__;
3331
+ if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
3332
+ pairs.push([key, value]);
3333
+ return this;
3334
+ }
3335
+ cache = this.__data__ = new MapCache(pairs);
3336
+ }
3337
+ cache.set(key, value);
3338
+ return this;
3339
+ }
3340
+
3341
+ // Add methods to `Stack`.
3342
+ Stack.prototype.clear = stackClear;
3343
+ Stack.prototype['delete'] = stackDelete;
3344
+ Stack.prototype.get = stackGet;
3345
+ Stack.prototype.has = stackHas;
3346
+ Stack.prototype.set = stackSet;
3347
+
3348
+ /**
3349
+ * Creates an array of the enumerable property names of the array-like `value`.
3350
+ *
3351
+ * @private
3352
+ * @param {*} value The value to query.
3353
+ * @param {boolean} inherited Specify returning inherited property names.
3354
+ * @returns {Array} Returns the array of property names.
3355
+ */
3356
+ function arrayLikeKeys(value, inherited) {
3357
+ // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
3358
+ // Safari 9 makes `arguments.length` enumerable in strict mode.
3359
+ var result = (isArray(value) || isArguments(value))
3360
+ ? baseTimes(value.length, String)
3361
+ : [];
3362
+
3363
+ var length = result.length,
3364
+ skipIndexes = !!length;
3365
+
3366
+ for (var key in value) {
3367
+ if ((hasOwnProperty.call(value, key)) &&
3368
+ !(skipIndexes && (key == 'length' || isIndex(key, length)))) {
3369
+ result.push(key);
3370
+ }
3371
+ }
3372
+ return result;
3373
+ }
3374
+
3375
+ /**
3376
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
3377
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
3378
+ * for equality comparisons.
3379
+ *
3380
+ * @private
3381
+ * @param {Object} object The object to modify.
3382
+ * @param {string} key The key of the property to assign.
3383
+ * @param {*} value The value to assign.
3384
+ */
3385
+ function assignValue(object, key, value) {
3386
+ var objValue = object[key];
3387
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
3388
+ (value === undefined && !(key in object))) {
3389
+ object[key] = value;
3390
+ }
3391
+ }
3392
+
3393
+ /**
3394
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
3395
+ *
3396
+ * @private
3397
+ * @param {Array} array The array to inspect.
3398
+ * @param {*} key The key to search for.
3399
+ * @returns {number} Returns the index of the matched value, else `-1`.
3400
+ */
3401
+ function assocIndexOf(array, key) {
3402
+ var length = array.length;
3403
+ while (length--) {
3404
+ if (eq(array[length][0], key)) {
3405
+ return length;
3406
+ }
3407
+ }
3408
+ return -1;
3409
+ }
3410
+
3411
+ /**
3412
+ * The base implementation of `_.assign` without support for multiple sources
3413
+ * or `customizer` functions.
3414
+ *
3415
+ * @private
3416
+ * @param {Object} object The destination object.
3417
+ * @param {Object} source The source object.
3418
+ * @returns {Object} Returns `object`.
3419
+ */
3420
+ function baseAssign(object, source) {
3421
+ return object && copyObject(source, keys(source), object);
3422
+ }
3423
+
3424
+ /**
3425
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
3426
+ * traversed objects.
3427
+ *
3428
+ * @private
3429
+ * @param {*} value The value to clone.
3430
+ * @param {boolean} [isDeep] Specify a deep clone.
3431
+ * @param {boolean} [isFull] Specify a clone including symbols.
3432
+ * @param {Function} [customizer] The function to customize cloning.
3433
+ * @param {string} [key] The key of `value`.
3434
+ * @param {Object} [object] The parent object of `value`.
3435
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
3436
+ * @returns {*} Returns the cloned value.
3437
+ */
3438
+ function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
3439
+ var result;
3440
+ if (customizer) {
3441
+ result = object ? customizer(value, key, object, stack) : customizer(value);
3442
+ }
3443
+ if (result !== undefined) {
3444
+ return result;
3445
+ }
3446
+ if (!isObject(value)) {
3447
+ return value;
3448
+ }
3449
+ var isArr = isArray(value);
3450
+ if (isArr) {
3451
+ result = initCloneArray(value);
3452
+ if (!isDeep) {
3453
+ return copyArray(value, result);
3454
+ }
3455
+ } else {
3456
+ var tag = getTag(value),
3457
+ isFunc = tag == funcTag || tag == genTag;
3458
+
3459
+ if (isBuffer(value)) {
3460
+ return cloneBuffer(value, isDeep);
3461
+ }
3462
+ if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
3463
+ if (isHostObject(value)) {
3464
+ return object ? value : {};
3465
+ }
3466
+ result = initCloneObject(isFunc ? {} : value);
3467
+ if (!isDeep) {
3468
+ return copySymbols(value, baseAssign(result, value));
3469
+ }
3470
+ } else {
3471
+ if (!cloneableTags[tag]) {
3472
+ return object ? value : {};
3473
+ }
3474
+ result = initCloneByTag(value, tag, baseClone, isDeep);
3475
+ }
3476
+ }
3477
+ // Check for circular references and return its corresponding clone.
3478
+ stack || (stack = new Stack);
3479
+ var stacked = stack.get(value);
3480
+ if (stacked) {
3481
+ return stacked;
3482
+ }
3483
+ stack.set(value, result);
3484
+
3485
+ if (!isArr) {
3486
+ var props = isFull ? getAllKeys(value) : keys(value);
3487
+ }
3488
+ arrayEach(props || value, function(subValue, key) {
3489
+ if (props) {
3490
+ key = subValue;
3491
+ subValue = value[key];
3492
+ }
3493
+ // Recursively populate clone (susceptible to call stack limits).
3494
+ assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
3495
+ });
3496
+ return result;
3497
+ }
3498
+
3499
+ /**
3500
+ * The base implementation of `_.create` without support for assigning
3501
+ * properties to the created object.
3502
+ *
3503
+ * @private
3504
+ * @param {Object} prototype The object to inherit from.
3505
+ * @returns {Object} Returns the new object.
3506
+ */
3507
+ function baseCreate(proto) {
3508
+ return isObject(proto) ? objectCreate(proto) : {};
3509
+ }
3510
+
3511
+ /**
3512
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
3513
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
3514
+ * symbols of `object`.
3515
+ *
3516
+ * @private
3517
+ * @param {Object} object The object to query.
3518
+ * @param {Function} keysFunc The function to get the keys of `object`.
3519
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
3520
+ * @returns {Array} Returns the array of property names and symbols.
3521
+ */
3522
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
3523
+ var result = keysFunc(object);
3524
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
3525
+ }
3526
+
3527
+ /**
3528
+ * The base implementation of `getTag`.
3529
+ *
3530
+ * @private
3531
+ * @param {*} value The value to query.
3532
+ * @returns {string} Returns the `toStringTag`.
3533
+ */
3534
+ function baseGetTag(value) {
3535
+ return objectToString.call(value);
3536
+ }
3537
+
3538
+ /**
3539
+ * The base implementation of `_.isNative` without bad shim checks.
3540
+ *
3541
+ * @private
3542
+ * @param {*} value The value to check.
3543
+ * @returns {boolean} Returns `true` if `value` is a native function,
3544
+ * else `false`.
3545
+ */
3546
+ function baseIsNative(value) {
3547
+ if (!isObject(value) || isMasked(value)) {
3548
+ return false;
3549
+ }
3550
+ var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
3551
+ return pattern.test(toSource(value));
3552
+ }
3553
+
3554
+ /**
3555
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
3556
+ *
3557
+ * @private
3558
+ * @param {Object} object The object to query.
3559
+ * @returns {Array} Returns the array of property names.
3560
+ */
3561
+ function baseKeys(object) {
3562
+ if (!isPrototype(object)) {
3563
+ return nativeKeys(object);
3564
+ }
3565
+ var result = [];
3566
+ for (var key in Object(object)) {
3567
+ if (hasOwnProperty.call(object, key) && key != 'constructor') {
3568
+ result.push(key);
3569
+ }
3570
+ }
3571
+ return result;
3572
+ }
3573
+
3574
+ /**
3575
+ * Creates a clone of `buffer`.
3576
+ *
3577
+ * @private
3578
+ * @param {Buffer} buffer The buffer to clone.
3579
+ * @param {boolean} [isDeep] Specify a deep clone.
3580
+ * @returns {Buffer} Returns the cloned buffer.
3581
+ */
3582
+ function cloneBuffer(buffer, isDeep) {
3583
+ if (isDeep) {
3584
+ return buffer.slice();
3585
+ }
3586
+ var result = new buffer.constructor(buffer.length);
3587
+ buffer.copy(result);
3588
+ return result;
3589
+ }
3590
+
3591
+ /**
3592
+ * Creates a clone of `arrayBuffer`.
3593
+ *
3594
+ * @private
3595
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
3596
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
3597
+ */
3598
+ function cloneArrayBuffer(arrayBuffer) {
3599
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
3600
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
3601
+ return result;
3602
+ }
3603
+
3604
+ /**
3605
+ * Creates a clone of `dataView`.
3606
+ *
3607
+ * @private
3608
+ * @param {Object} dataView The data view to clone.
3609
+ * @param {boolean} [isDeep] Specify a deep clone.
3610
+ * @returns {Object} Returns the cloned data view.
3611
+ */
3612
+ function cloneDataView(dataView, isDeep) {
3613
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
3614
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
3615
+ }
3616
+
3617
+ /**
3618
+ * Creates a clone of `map`.
3619
+ *
3620
+ * @private
3621
+ * @param {Object} map The map to clone.
3622
+ * @param {Function} cloneFunc The function to clone values.
3623
+ * @param {boolean} [isDeep] Specify a deep clone.
3624
+ * @returns {Object} Returns the cloned map.
3625
+ */
3626
+ function cloneMap(map, isDeep, cloneFunc) {
3627
+ var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
3628
+ return arrayReduce(array, addMapEntry, new map.constructor);
3629
+ }
3630
+
3631
+ /**
3632
+ * Creates a clone of `regexp`.
3633
+ *
3634
+ * @private
3635
+ * @param {Object} regexp The regexp to clone.
3636
+ * @returns {Object} Returns the cloned regexp.
3637
+ */
3638
+ function cloneRegExp(regexp) {
3639
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
3640
+ result.lastIndex = regexp.lastIndex;
3641
+ return result;
3642
+ }
3643
+
3644
+ /**
3645
+ * Creates a clone of `set`.
3646
+ *
3647
+ * @private
3648
+ * @param {Object} set The set to clone.
3649
+ * @param {Function} cloneFunc The function to clone values.
3650
+ * @param {boolean} [isDeep] Specify a deep clone.
3651
+ * @returns {Object} Returns the cloned set.
3652
+ */
3653
+ function cloneSet(set, isDeep, cloneFunc) {
3654
+ var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
3655
+ return arrayReduce(array, addSetEntry, new set.constructor);
3656
+ }
3657
+
3658
+ /**
3659
+ * Creates a clone of the `symbol` object.
3660
+ *
3661
+ * @private
3662
+ * @param {Object} symbol The symbol object to clone.
3663
+ * @returns {Object} Returns the cloned symbol object.
3664
+ */
3665
+ function cloneSymbol(symbol) {
3666
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
3667
+ }
3668
+
3669
+ /**
3670
+ * Creates a clone of `typedArray`.
3671
+ *
3672
+ * @private
3673
+ * @param {Object} typedArray The typed array to clone.
3674
+ * @param {boolean} [isDeep] Specify a deep clone.
3675
+ * @returns {Object} Returns the cloned typed array.
3676
+ */
3677
+ function cloneTypedArray(typedArray, isDeep) {
3678
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
3679
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
3680
+ }
3681
+
3682
+ /**
3683
+ * Copies the values of `source` to `array`.
3684
+ *
3685
+ * @private
3686
+ * @param {Array} source The array to copy values from.
3687
+ * @param {Array} [array=[]] The array to copy values to.
3688
+ * @returns {Array} Returns `array`.
3689
+ */
3690
+ function copyArray(source, array) {
3691
+ var index = -1,
3692
+ length = source.length;
3693
+
3694
+ array || (array = Array(length));
3695
+ while (++index < length) {
3696
+ array[index] = source[index];
3697
+ }
3698
+ return array;
3699
+ }
3700
+
3701
+ /**
3702
+ * Copies properties of `source` to `object`.
3703
+ *
3704
+ * @private
3705
+ * @param {Object} source The object to copy properties from.
3706
+ * @param {Array} props The property identifiers to copy.
3707
+ * @param {Object} [object={}] The object to copy properties to.
3708
+ * @param {Function} [customizer] The function to customize copied values.
3709
+ * @returns {Object} Returns `object`.
3710
+ */
3711
+ function copyObject(source, props, object, customizer) {
3712
+ object || (object = {});
3713
+
3714
+ var index = -1,
3715
+ length = props.length;
3716
+
3717
+ while (++index < length) {
3718
+ var key = props[index];
3719
+
3720
+ var newValue = undefined;
3721
+
3722
+ assignValue(object, key, newValue === undefined ? source[key] : newValue);
3723
+ }
3724
+ return object;
3725
+ }
3726
+
3727
+ /**
3728
+ * Copies own symbol properties of `source` to `object`.
3729
+ *
3730
+ * @private
3731
+ * @param {Object} source The object to copy symbols from.
3732
+ * @param {Object} [object={}] The object to copy symbols to.
3733
+ * @returns {Object} Returns `object`.
3734
+ */
3735
+ function copySymbols(source, object) {
3736
+ return copyObject(source, getSymbols(source), object);
3737
+ }
3738
+
3739
+ /**
3740
+ * Creates an array of own enumerable property names and symbols of `object`.
3741
+ *
3742
+ * @private
3743
+ * @param {Object} object The object to query.
3744
+ * @returns {Array} Returns the array of property names and symbols.
3745
+ */
3746
+ function getAllKeys(object) {
3747
+ return baseGetAllKeys(object, keys, getSymbols);
3748
+ }
3749
+
3750
+ /**
3751
+ * Gets the data for `map`.
3752
+ *
3753
+ * @private
3754
+ * @param {Object} map The map to query.
3755
+ * @param {string} key The reference key.
3756
+ * @returns {*} Returns the map data.
3757
+ */
3758
+ function getMapData(map, key) {
3759
+ var data = map.__data__;
3760
+ return isKeyable(key)
3761
+ ? data[typeof key == 'string' ? 'string' : 'hash']
3762
+ : data.map;
3763
+ }
3764
+
3765
+ /**
3766
+ * Gets the native function at `key` of `object`.
3767
+ *
3768
+ * @private
3769
+ * @param {Object} object The object to query.
3770
+ * @param {string} key The key of the method to get.
3771
+ * @returns {*} Returns the function if it's native, else `undefined`.
3772
+ */
3773
+ function getNative(object, key) {
3774
+ var value = getValue(object, key);
3775
+ return baseIsNative(value) ? value : undefined;
3776
+ }
3777
+
3778
+ /**
3779
+ * Creates an array of the own enumerable symbol properties of `object`.
3780
+ *
3781
+ * @private
3782
+ * @param {Object} object The object to query.
3783
+ * @returns {Array} Returns the array of symbols.
3784
+ */
3785
+ var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
3786
+
3787
+ /**
3788
+ * Gets the `toStringTag` of `value`.
3789
+ *
3790
+ * @private
3791
+ * @param {*} value The value to query.
3792
+ * @returns {string} Returns the `toStringTag`.
3793
+ */
3794
+ var getTag = baseGetTag;
3795
+
3796
+ // Fallback for data views, maps, sets, and weak maps in IE 11,
3797
+ // for data views in Edge < 14, and promises in Node.js.
3798
+ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
3799
+ (Map && getTag(new Map) != mapTag) ||
3800
+ (Promise && getTag(Promise.resolve()) != promiseTag) ||
3801
+ (Set && getTag(new Set) != setTag) ||
3802
+ (WeakMap && getTag(new WeakMap) != weakMapTag)) {
3803
+ getTag = function(value) {
3804
+ var result = objectToString.call(value),
3805
+ Ctor = result == objectTag ? value.constructor : undefined,
3806
+ ctorString = Ctor ? toSource(Ctor) : undefined;
3807
+
3808
+ if (ctorString) {
3809
+ switch (ctorString) {
3810
+ case dataViewCtorString: return dataViewTag;
3811
+ case mapCtorString: return mapTag;
3812
+ case promiseCtorString: return promiseTag;
3813
+ case setCtorString: return setTag;
3814
+ case weakMapCtorString: return weakMapTag;
3815
+ }
3816
+ }
3817
+ return result;
3818
+ };
3819
+ }
3820
+
3821
+ /**
3822
+ * Initializes an array clone.
3823
+ *
3824
+ * @private
3825
+ * @param {Array} array The array to clone.
3826
+ * @returns {Array} Returns the initialized clone.
3827
+ */
3828
+ function initCloneArray(array) {
3829
+ var length = array.length,
3830
+ result = array.constructor(length);
3831
+
3832
+ // Add properties assigned by `RegExp#exec`.
3833
+ if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
3834
+ result.index = array.index;
3835
+ result.input = array.input;
3836
+ }
3837
+ return result;
3838
+ }
3839
+
3840
+ /**
3841
+ * Initializes an object clone.
3842
+ *
3843
+ * @private
3844
+ * @param {Object} object The object to clone.
3845
+ * @returns {Object} Returns the initialized clone.
3846
+ */
3847
+ function initCloneObject(object) {
3848
+ return (typeof object.constructor == 'function' && !isPrototype(object))
3849
+ ? baseCreate(getPrototype(object))
3850
+ : {};
3851
+ }
3852
+
3853
+ /**
3854
+ * Initializes an object clone based on its `toStringTag`.
3855
+ *
3856
+ * **Note:** This function only supports cloning values with tags of
3857
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
3858
+ *
3859
+ * @private
3860
+ * @param {Object} object The object to clone.
3861
+ * @param {string} tag The `toStringTag` of the object to clone.
3862
+ * @param {Function} cloneFunc The function to clone values.
3863
+ * @param {boolean} [isDeep] Specify a deep clone.
3864
+ * @returns {Object} Returns the initialized clone.
3865
+ */
3866
+ function initCloneByTag(object, tag, cloneFunc, isDeep) {
3867
+ var Ctor = object.constructor;
3868
+ switch (tag) {
3869
+ case arrayBufferTag:
3870
+ return cloneArrayBuffer(object);
3871
+
3872
+ case boolTag:
3873
+ case dateTag:
3874
+ return new Ctor(+object);
3875
+
3876
+ case dataViewTag:
3877
+ return cloneDataView(object, isDeep);
3878
+
3879
+ case float32Tag: case float64Tag:
3880
+ case int8Tag: case int16Tag: case int32Tag:
3881
+ case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
3882
+ return cloneTypedArray(object, isDeep);
3883
+
3884
+ case mapTag:
3885
+ return cloneMap(object, isDeep, cloneFunc);
3886
+
3887
+ case numberTag:
3888
+ case stringTag:
3889
+ return new Ctor(object);
3890
+
3891
+ case regexpTag:
3892
+ return cloneRegExp(object);
3893
+
3894
+ case setTag:
3895
+ return cloneSet(object, isDeep, cloneFunc);
3896
+
3897
+ case symbolTag:
3898
+ return cloneSymbol(object);
3899
+ }
3900
+ }
3901
+
3902
+ /**
3903
+ * Checks if `value` is a valid array-like index.
3904
+ *
3905
+ * @private
3906
+ * @param {*} value The value to check.
3907
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
3908
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
3909
+ */
3910
+ function isIndex(value, length) {
3911
+ length = length == null ? MAX_SAFE_INTEGER : length;
3912
+ return !!length &&
3913
+ (typeof value == 'number' || reIsUint.test(value)) &&
3914
+ (value > -1 && value % 1 == 0 && value < length);
3915
+ }
3916
+
3917
+ /**
3918
+ * Checks if `value` is suitable for use as unique object key.
3919
+ *
3920
+ * @private
3921
+ * @param {*} value The value to check.
3922
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
3923
+ */
3924
+ function isKeyable(value) {
3925
+ var type = typeof value;
3926
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
3927
+ ? (value !== '__proto__')
3928
+ : (value === null);
3929
+ }
3930
+
3931
+ /**
3932
+ * Checks if `func` has its source masked.
3933
+ *
3934
+ * @private
3935
+ * @param {Function} func The function to check.
3936
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
3937
+ */
3938
+ function isMasked(func) {
3939
+ return !!maskSrcKey && (maskSrcKey in func);
3940
+ }
3941
+
3942
+ /**
3943
+ * Checks if `value` is likely a prototype object.
3944
+ *
3945
+ * @private
3946
+ * @param {*} value The value to check.
3947
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
3948
+ */
3949
+ function isPrototype(value) {
3950
+ var Ctor = value && value.constructor,
3951
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
3952
+
3953
+ return value === proto;
3954
+ }
3955
+
3956
+ /**
3957
+ * Converts `func` to its source code.
3958
+ *
3959
+ * @private
3960
+ * @param {Function} func The function to process.
3961
+ * @returns {string} Returns the source code.
3962
+ */
3963
+ function toSource(func) {
3964
+ if (func != null) {
3965
+ try {
3966
+ return funcToString.call(func);
3967
+ } catch (e) {}
3968
+ try {
3969
+ return (func + '');
3970
+ } catch (e) {}
3971
+ }
3972
+ return '';
3973
+ }
3974
+
3975
+ /**
3976
+ * This method is like `_.clone` except that it recursively clones `value`.
3977
+ *
3978
+ * @static
3979
+ * @memberOf _
3980
+ * @since 1.0.0
3981
+ * @category Lang
3982
+ * @param {*} value The value to recursively clone.
3983
+ * @returns {*} Returns the deep cloned value.
3984
+ * @see _.clone
3985
+ * @example
3986
+ *
3987
+ * var objects = [{ 'a': 1 }, { 'b': 2 }];
3988
+ *
3989
+ * var deep = _.cloneDeep(objects);
3990
+ * console.log(deep[0] === objects[0]);
3991
+ * // => false
3992
+ */
3993
+ function cloneDeep(value) {
3994
+ return baseClone(value, true, true);
3995
+ }
3996
+
3997
+ /**
3998
+ * Performs a
3999
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
4000
+ * comparison between two values to determine if they are equivalent.
4001
+ *
4002
+ * @static
4003
+ * @memberOf _
4004
+ * @since 4.0.0
4005
+ * @category Lang
4006
+ * @param {*} value The value to compare.
4007
+ * @param {*} other The other value to compare.
4008
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
4009
+ * @example
4010
+ *
4011
+ * var object = { 'a': 1 };
4012
+ * var other = { 'a': 1 };
4013
+ *
4014
+ * _.eq(object, object);
4015
+ * // => true
4016
+ *
4017
+ * _.eq(object, other);
4018
+ * // => false
4019
+ *
4020
+ * _.eq('a', 'a');
4021
+ * // => true
4022
+ *
4023
+ * _.eq('a', Object('a'));
4024
+ * // => false
4025
+ *
4026
+ * _.eq(NaN, NaN);
4027
+ * // => true
4028
+ */
4029
+ function eq(value, other) {
4030
+ return value === other || (value !== value && other !== other);
4031
+ }
4032
+
4033
+ /**
4034
+ * Checks if `value` is likely an `arguments` object.
4035
+ *
4036
+ * @static
4037
+ * @memberOf _
4038
+ * @since 0.1.0
4039
+ * @category Lang
4040
+ * @param {*} value The value to check.
4041
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
4042
+ * else `false`.
4043
+ * @example
4044
+ *
4045
+ * _.isArguments(function() { return arguments; }());
4046
+ * // => true
4047
+ *
4048
+ * _.isArguments([1, 2, 3]);
4049
+ * // => false
4050
+ */
4051
+ function isArguments(value) {
4052
+ // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
4053
+ return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
4054
+ (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
4055
+ }
4056
+
4057
+ /**
4058
+ * Checks if `value` is classified as an `Array` object.
4059
+ *
4060
+ * @static
4061
+ * @memberOf _
4062
+ * @since 0.1.0
4063
+ * @category Lang
4064
+ * @param {*} value The value to check.
4065
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
4066
+ * @example
4067
+ *
4068
+ * _.isArray([1, 2, 3]);
4069
+ * // => true
4070
+ *
4071
+ * _.isArray(document.body.children);
4072
+ * // => false
4073
+ *
4074
+ * _.isArray('abc');
4075
+ * // => false
4076
+ *
4077
+ * _.isArray(_.noop);
4078
+ * // => false
4079
+ */
4080
+ var isArray = Array.isArray;
4081
+
4082
+ /**
4083
+ * Checks if `value` is array-like. A value is considered array-like if it's
4084
+ * not a function and has a `value.length` that's an integer greater than or
4085
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
4086
+ *
4087
+ * @static
4088
+ * @memberOf _
4089
+ * @since 4.0.0
4090
+ * @category Lang
4091
+ * @param {*} value The value to check.
4092
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
4093
+ * @example
4094
+ *
4095
+ * _.isArrayLike([1, 2, 3]);
4096
+ * // => true
4097
+ *
4098
+ * _.isArrayLike(document.body.children);
4099
+ * // => true
4100
+ *
4101
+ * _.isArrayLike('abc');
4102
+ * // => true
4103
+ *
4104
+ * _.isArrayLike(_.noop);
4105
+ * // => false
4106
+ */
4107
+ function isArrayLike(value) {
4108
+ return value != null && isLength(value.length) && !isFunction(value);
4109
+ }
4110
+
4111
+ /**
4112
+ * This method is like `_.isArrayLike` except that it also checks if `value`
4113
+ * is an object.
4114
+ *
4115
+ * @static
4116
+ * @memberOf _
4117
+ * @since 4.0.0
4118
+ * @category Lang
4119
+ * @param {*} value The value to check.
4120
+ * @returns {boolean} Returns `true` if `value` is an array-like object,
4121
+ * else `false`.
4122
+ * @example
4123
+ *
4124
+ * _.isArrayLikeObject([1, 2, 3]);
4125
+ * // => true
4126
+ *
4127
+ * _.isArrayLikeObject(document.body.children);
4128
+ * // => true
4129
+ *
4130
+ * _.isArrayLikeObject('abc');
4131
+ * // => false
4132
+ *
4133
+ * _.isArrayLikeObject(_.noop);
4134
+ * // => false
4135
+ */
4136
+ function isArrayLikeObject(value) {
4137
+ return isObjectLike(value) && isArrayLike(value);
4138
+ }
4139
+
4140
+ /**
4141
+ * Checks if `value` is a buffer.
4142
+ *
4143
+ * @static
4144
+ * @memberOf _
4145
+ * @since 4.3.0
4146
+ * @category Lang
4147
+ * @param {*} value The value to check.
4148
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
4149
+ * @example
4150
+ *
4151
+ * _.isBuffer(new Buffer(2));
4152
+ * // => true
4153
+ *
4154
+ * _.isBuffer(new Uint8Array(2));
4155
+ * // => false
4156
+ */
4157
+ var isBuffer = nativeIsBuffer || stubFalse;
4158
+
4159
+ /**
4160
+ * Checks if `value` is classified as a `Function` object.
4161
+ *
4162
+ * @static
4163
+ * @memberOf _
4164
+ * @since 0.1.0
4165
+ * @category Lang
4166
+ * @param {*} value The value to check.
4167
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
4168
+ * @example
4169
+ *
4170
+ * _.isFunction(_);
4171
+ * // => true
4172
+ *
4173
+ * _.isFunction(/abc/);
4174
+ * // => false
4175
+ */
4176
+ function isFunction(value) {
4177
+ // The use of `Object#toString` avoids issues with the `typeof` operator
4178
+ // in Safari 8-9 which returns 'object' for typed array and other constructors.
4179
+ var tag = isObject(value) ? objectToString.call(value) : '';
4180
+ return tag == funcTag || tag == genTag;
4181
+ }
4182
+
4183
+ /**
4184
+ * Checks if `value` is a valid array-like length.
4185
+ *
4186
+ * **Note:** This method is loosely based on
4187
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
4188
+ *
4189
+ * @static
4190
+ * @memberOf _
4191
+ * @since 4.0.0
4192
+ * @category Lang
4193
+ * @param {*} value The value to check.
4194
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
4195
+ * @example
4196
+ *
4197
+ * _.isLength(3);
4198
+ * // => true
4199
+ *
4200
+ * _.isLength(Number.MIN_VALUE);
4201
+ * // => false
4202
+ *
4203
+ * _.isLength(Infinity);
4204
+ * // => false
4205
+ *
4206
+ * _.isLength('3');
4207
+ * // => false
4208
+ */
4209
+ function isLength(value) {
4210
+ return typeof value == 'number' &&
4211
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
4212
+ }
4213
+
4214
+ /**
4215
+ * Checks if `value` is the
4216
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
4217
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
4218
+ *
4219
+ * @static
4220
+ * @memberOf _
4221
+ * @since 0.1.0
4222
+ * @category Lang
4223
+ * @param {*} value The value to check.
4224
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
4225
+ * @example
4226
+ *
4227
+ * _.isObject({});
4228
+ * // => true
4229
+ *
4230
+ * _.isObject([1, 2, 3]);
4231
+ * // => true
4232
+ *
4233
+ * _.isObject(_.noop);
4234
+ * // => true
4235
+ *
4236
+ * _.isObject(null);
4237
+ * // => false
4238
+ */
4239
+ function isObject(value) {
4240
+ var type = typeof value;
4241
+ return !!value && (type == 'object' || type == 'function');
4242
+ }
4243
+
4244
+ /**
4245
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
4246
+ * and has a `typeof` result of "object".
4247
+ *
4248
+ * @static
4249
+ * @memberOf _
4250
+ * @since 4.0.0
4251
+ * @category Lang
4252
+ * @param {*} value The value to check.
4253
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
4254
+ * @example
4255
+ *
4256
+ * _.isObjectLike({});
4257
+ * // => true
4258
+ *
4259
+ * _.isObjectLike([1, 2, 3]);
4260
+ * // => true
4261
+ *
4262
+ * _.isObjectLike(_.noop);
4263
+ * // => false
4264
+ *
4265
+ * _.isObjectLike(null);
4266
+ * // => false
4267
+ */
4268
+ function isObjectLike(value) {
4269
+ return !!value && typeof value == 'object';
4270
+ }
4271
+
4272
+ /**
4273
+ * Creates an array of the own enumerable property names of `object`.
4274
+ *
4275
+ * **Note:** Non-object values are coerced to objects. See the
4276
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
4277
+ * for more details.
4278
+ *
4279
+ * @static
4280
+ * @since 0.1.0
4281
+ * @memberOf _
4282
+ * @category Object
4283
+ * @param {Object} object The object to query.
4284
+ * @returns {Array} Returns the array of property names.
4285
+ * @example
4286
+ *
4287
+ * function Foo() {
4288
+ * this.a = 1;
4289
+ * this.b = 2;
4290
+ * }
4291
+ *
4292
+ * Foo.prototype.c = 3;
4293
+ *
4294
+ * _.keys(new Foo);
4295
+ * // => ['a', 'b'] (iteration order is not guaranteed)
4296
+ *
4297
+ * _.keys('hi');
4298
+ * // => ['0', '1']
4299
+ */
4300
+ function keys(object) {
4301
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
4302
+ }
4303
+
4304
+ /**
4305
+ * This method returns a new empty array.
4306
+ *
4307
+ * @static
4308
+ * @memberOf _
4309
+ * @since 4.13.0
4310
+ * @category Util
4311
+ * @returns {Array} Returns the new empty array.
4312
+ * @example
4313
+ *
4314
+ * var arrays = _.times(2, _.stubArray);
4315
+ *
4316
+ * console.log(arrays);
4317
+ * // => [[], []]
4318
+ *
4319
+ * console.log(arrays[0] === arrays[1]);
4320
+ * // => false
4321
+ */
4322
+ function stubArray() {
4323
+ return [];
4324
+ }
4325
+
4326
+ /**
4327
+ * This method returns `false`.
4328
+ *
4329
+ * @static
4330
+ * @memberOf _
4331
+ * @since 4.13.0
4332
+ * @category Util
4333
+ * @returns {boolean} Returns `false`.
4334
+ * @example
4335
+ *
4336
+ * _.times(2, _.stubFalse);
4337
+ * // => [false, false]
4338
+ */
4339
+ function stubFalse() {
4340
+ return false;
4341
+ }
4342
+
4343
+ module.exports = cloneDeep;
4344
+ } (lodash_clonedeep, lodash_clonedeep.exports));
4345
+ return lodash_clonedeep.exports;
4213
4346
  }
4214
4347
 
4215
- /**
4216
- * Checks if `value` is the
4217
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
4218
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
4219
- *
4220
- * @static
4221
- * @memberOf _
4222
- * @since 0.1.0
4223
- * @category Lang
4224
- * @param {*} value The value to check.
4225
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
4226
- * @example
4227
- *
4228
- * _.isObject({});
4229
- * // => true
4230
- *
4231
- * _.isObject([1, 2, 3]);
4232
- * // => true
4233
- *
4234
- * _.isObject(_.noop);
4235
- * // => true
4236
- *
4237
- * _.isObject(null);
4238
- * // => false
4239
- */
4240
- function isObject(value) {
4241
- var type = typeof value;
4242
- return !!value && (type == 'object' || type == 'function');
4243
- }
4244
-
4245
- /**
4246
- * Checks if `value` is object-like. A value is object-like if it's not `null`
4247
- * and has a `typeof` result of "object".
4248
- *
4249
- * @static
4250
- * @memberOf _
4251
- * @since 4.0.0
4252
- * @category Lang
4253
- * @param {*} value The value to check.
4254
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
4255
- * @example
4256
- *
4257
- * _.isObjectLike({});
4258
- * // => true
4259
- *
4260
- * _.isObjectLike([1, 2, 3]);
4261
- * // => true
4262
- *
4263
- * _.isObjectLike(_.noop);
4264
- * // => false
4265
- *
4266
- * _.isObjectLike(null);
4267
- * // => false
4268
- */
4269
- function isObjectLike(value) {
4270
- return !!value && typeof value == 'object';
4348
+ var hasRequiredLib;
4349
+
4350
+ function requireLib () {
4351
+ if (hasRequiredLib) return lib;
4352
+ hasRequiredLib = 1;
4353
+ var __spreadArrays = (lib && lib.__spreadArrays) || function () {
4354
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
4355
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
4356
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
4357
+ r[k] = a[j];
4358
+ return r;
4359
+ };
4360
+ var __importDefault = (lib && lib.__importDefault) || function (mod) {
4361
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4362
+ };
4363
+ Object.defineProperty(lib, "__esModule", { value: true });
4364
+ lib.getColors = lib.flatten = lib.replaceColor = lib.colorify = void 0;
4365
+ var lodash_clonedeep_1 = __importDefault(requireLodash_clonedeep());
4366
+ lib.colorify = function (destColors, lottie) {
4367
+ if (destColors === void 0) { destColors = []; }
4368
+ var modifiedColors = [];
4369
+ for (var _i = 0, destColors_1 = destColors; _i < destColors_1.length; _i++) {
4370
+ var color = destColors_1[_i];
4371
+ modifiedColors.push(convertColorToLottieColor(color));
4372
+ }
4373
+ var newLottie = modifyColors(modifiedColors, lodash_clonedeep_1.default(lottie));
4374
+ return newLottie;
4375
+ };
4376
+ var convertColorToLottieColor = function (color) {
4377
+ if (typeof color === 'string' && color.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)) {
4378
+ var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color);
4379
+ if (!result) {
4380
+ throw new Error('Color can be only hex or rgb array (ex. [10,20,30])');
4381
+ }
4382
+ return [
4383
+ Math.round((parseInt(result[1], 16) / 255) * 1000) / 1000,
4384
+ Math.round((parseInt(result[2], 16) / 255) * 1000) / 1000,
4385
+ Math.round((parseInt(result[3], 16) / 255) * 1000) / 1000,
4386
+ ];
4387
+ }
4388
+ else if (typeof color === 'object' && color.length === 3 && color.every(function (item) { return item >= 0 && item <= 255; })) {
4389
+ return [
4390
+ Math.round((color[0] / 255) * 1000) / 1000,
4391
+ Math.round((color[1] / 255) * 1000) / 1000,
4392
+ Math.round((color[2] / 255) * 1000) / 1000,
4393
+ ];
4394
+ }
4395
+ else if (!color) {
4396
+ return undefined;
4397
+ }
4398
+ else {
4399
+ throw new Error('Color can be only hex or rgb array (ex. [10,20,30])');
4400
+ }
4401
+ };
4402
+ var round = function (n) { return Math.round(n * 1000) / 1000; };
4403
+ lib.replaceColor = function (sourceColor, targetColor, lottieObj) {
4404
+ var genSourceLottieColor = convertColorToLottieColor(sourceColor);
4405
+ var genTargetLottieColor = convertColorToLottieColor(targetColor);
4406
+ if (!genSourceLottieColor || !genTargetLottieColor) {
4407
+ throw new Error('Proper colors must be used for both source and target');
4408
+ }
4409
+ function doReplace(sourceLottieColor, targetLottieColor, obj) {
4410
+ if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4411
+ if (sourceLottieColor[0] === obj.s[0] && sourceLottieColor[1] === obj.s[1] && sourceLottieColor[2] === obj.s[2]) {
4412
+ obj.s = __spreadArrays(targetLottieColor, [1]);
4413
+ }
4414
+ }
4415
+ else if (obj.c && obj.c.k) {
4416
+ if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4417
+ doReplace(sourceLottieColor, targetLottieColor, obj.c.k);
4418
+ }
4419
+ else if (sourceLottieColor[0] === round(obj.c.k[0]) &&
4420
+ sourceLottieColor[1] === round(obj.c.k[1]) &&
4421
+ sourceLottieColor[2] === round(obj.c.k[2])) {
4422
+ obj.c.k = targetLottieColor;
4423
+ }
4424
+ }
4425
+ else {
4426
+ for (var key in obj) {
4427
+ if (typeof obj[key] === 'object') {
4428
+ doReplace(sourceLottieColor, targetLottieColor, obj[key]);
4429
+ }
4430
+ }
4431
+ }
4432
+ return obj;
4433
+ }
4434
+ return doReplace(genSourceLottieColor, genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
4435
+ };
4436
+ lib.flatten = function (targetColor, lottieObj) {
4437
+ var genTargetLottieColor = convertColorToLottieColor(targetColor);
4438
+ if (!genTargetLottieColor) {
4439
+ throw new Error('Proper colors must be used for target');
4440
+ }
4441
+ function doFlatten(targetLottieColor, obj) {
4442
+ if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4443
+ obj.s = __spreadArrays(targetLottieColor, [1]);
4444
+ }
4445
+ else if (obj.c && obj.c.k) {
4446
+ if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4447
+ doFlatten(targetLottieColor, obj.c.k);
4448
+ }
4449
+ else {
4450
+ obj.c.k = targetLottieColor;
4451
+ }
4452
+ }
4453
+ else {
4454
+ for (var key in obj) {
4455
+ if (typeof obj[key] === 'object') {
4456
+ doFlatten(targetLottieColor, obj[key]);
4457
+ }
4458
+ }
4459
+ }
4460
+ return obj;
4461
+ }
4462
+ return doFlatten(genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
4463
+ };
4464
+ var modifyColors = function (colorsArray, lottieObj) {
4465
+ var i = 0;
4466
+ function doModify(colors, obj) {
4467
+ if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4468
+ if (colors[i]) {
4469
+ obj.s = __spreadArrays(colors[i], [1]);
4470
+ }
4471
+ i++;
4472
+ }
4473
+ else if (obj.c && obj.c.k) {
4474
+ if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4475
+ doModify(colors, obj.c.k);
4476
+ }
4477
+ else {
4478
+ if (colors[i]) {
4479
+ obj.c.k = colors[i];
4480
+ }
4481
+ i++;
4482
+ }
4483
+ }
4484
+ for (var key in obj) {
4485
+ if (typeof obj[key] === 'object') {
4486
+ doModify(colors, obj[key]);
4487
+ }
4488
+ }
4489
+ return obj;
4490
+ }
4491
+ return doModify(colorsArray, lottieObj);
4492
+ };
4493
+ var convertLottieColorToRgb = function (lottieColor) {
4494
+ return [Math.round(lottieColor[0] * 255), Math.round(lottieColor[1] * 255), Math.round(lottieColor[2] * 255)];
4495
+ };
4496
+ var convertLottieColorToRgba = function (lottieColor) {
4497
+ return [
4498
+ Math.round(lottieColor[0] * 255),
4499
+ Math.round(lottieColor[1] * 255),
4500
+ Math.round(lottieColor[2] * 255),
4501
+ lottieColor[3],
4502
+ ];
4503
+ };
4504
+ lib.getColors = function (lottieObj) {
4505
+ var res = [];
4506
+ function doGet(obj) {
4507
+ if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4508
+ res.push(convertLottieColorToRgba(obj.s));
4509
+ }
4510
+ else if (obj.c && obj.c.k) {
4511
+ if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4512
+ doGet(obj.c.k);
4513
+ }
4514
+ else {
4515
+ res.push(convertLottieColorToRgb(obj.c.k));
4516
+ }
4517
+ }
4518
+ else {
4519
+ for (var key in obj) {
4520
+ if (typeof obj[key] === 'object') {
4521
+ doGet(obj[key]);
4522
+ }
4523
+ }
4524
+ }
4525
+ return res;
4526
+ }
4527
+ doGet(lottieObj);
4528
+ return res;
4529
+ };
4530
+ return lib;
4271
4531
  }
4272
4532
 
4273
- /**
4274
- * Creates an array of the own enumerable property names of `object`.
4275
- *
4276
- * **Note:** Non-object values are coerced to objects. See the
4277
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
4278
- * for more details.
4279
- *
4280
- * @static
4281
- * @since 0.1.0
4282
- * @memberOf _
4283
- * @category Object
4284
- * @param {Object} object The object to query.
4285
- * @returns {Array} Returns the array of property names.
4286
- * @example
4287
- *
4288
- * function Foo() {
4289
- * this.a = 1;
4290
- * this.b = 2;
4291
- * }
4292
- *
4293
- * Foo.prototype.c = 3;
4294
- *
4295
- * _.keys(new Foo);
4296
- * // => ['a', 'b'] (iteration order is not guaranteed)
4297
- *
4298
- * _.keys('hi');
4299
- * // => ['0', '1']
4300
- */
4301
- function keys(object) {
4302
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
4303
- }
4304
-
4305
- /**
4306
- * This method returns a new empty array.
4307
- *
4308
- * @static
4309
- * @memberOf _
4310
- * @since 4.13.0
4311
- * @category Util
4312
- * @returns {Array} Returns the new empty array.
4313
- * @example
4314
- *
4315
- * var arrays = _.times(2, _.stubArray);
4316
- *
4317
- * console.log(arrays);
4318
- * // => [[], []]
4319
- *
4320
- * console.log(arrays[0] === arrays[1]);
4321
- * // => false
4322
- */
4323
- function stubArray() {
4324
- return [];
4325
- }
4326
-
4327
- /**
4328
- * This method returns `false`.
4329
- *
4330
- * @static
4331
- * @memberOf _
4332
- * @since 4.13.0
4333
- * @category Util
4334
- * @returns {boolean} Returns `false`.
4335
- * @example
4336
- *
4337
- * _.times(2, _.stubFalse);
4338
- * // => [false, false]
4339
- */
4340
- function stubFalse() {
4341
- return false;
4342
- }
4343
-
4344
- module.exports = cloneDeep;
4345
- }(lodash_clonedeep, lodash_clonedeep.exports));
4346
-
4347
- var __spreadArrays = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__spreadArrays) || function () {
4348
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
4349
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
4350
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
4351
- r[k] = a[j];
4352
- return r;
4353
- };
4354
- var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
4355
- return (mod && mod.__esModule) ? mod : { "default": mod };
4356
- };
4357
- Object.defineProperty(lib, "__esModule", { value: true });
4358
- lib.getColors = flatten = lib.flatten = lib.replaceColor = lib.colorify = void 0;
4359
- var lodash_clonedeep_1 = __importDefault(lodash_clonedeep.exports);
4360
- lib.colorify = function (destColors, lottie) {
4361
- if (destColors === void 0) { destColors = []; }
4362
- var modifiedColors = [];
4363
- for (var _i = 0, destColors_1 = destColors; _i < destColors_1.length; _i++) {
4364
- var color = destColors_1[_i];
4365
- modifiedColors.push(convertColorToLottieColor(color));
4366
- }
4367
- var newLottie = modifyColors(modifiedColors, lodash_clonedeep_1.default(lottie));
4368
- return newLottie;
4369
- };
4370
- var convertColorToLottieColor = function (color) {
4371
- if (typeof color === 'string' && color.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)) {
4372
- var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color);
4373
- if (!result) {
4374
- throw new Error('Color can be only hex or rgb array (ex. [10,20,30])');
4375
- }
4376
- return [
4377
- Math.round((parseInt(result[1], 16) / 255) * 1000) / 1000,
4378
- Math.round((parseInt(result[2], 16) / 255) * 1000) / 1000,
4379
- Math.round((parseInt(result[3], 16) / 255) * 1000) / 1000,
4380
- ];
4381
- }
4382
- else if (typeof color === 'object' && color.length === 3 && color.every(function (item) { return item >= 0 && item <= 255; })) {
4383
- return [
4384
- Math.round((color[0] / 255) * 1000) / 1000,
4385
- Math.round((color[1] / 255) * 1000) / 1000,
4386
- Math.round((color[2] / 255) * 1000) / 1000,
4387
- ];
4388
- }
4389
- else if (!color) {
4390
- return undefined;
4391
- }
4392
- else {
4393
- throw new Error('Color can be only hex or rgb array (ex. [10,20,30])');
4394
- }
4395
- };
4396
- var round = function (n) { return Math.round(n * 1000) / 1000; };
4397
- lib.replaceColor = function (sourceColor, targetColor, lottieObj) {
4398
- var genSourceLottieColor = convertColorToLottieColor(sourceColor);
4399
- var genTargetLottieColor = convertColorToLottieColor(targetColor);
4400
- if (!genSourceLottieColor || !genTargetLottieColor) {
4401
- throw new Error('Proper colors must be used for both source and target');
4402
- }
4403
- function doReplace(sourceLottieColor, targetLottieColor, obj) {
4404
- if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4405
- if (sourceLottieColor[0] === obj.s[0] && sourceLottieColor[1] === obj.s[1] && sourceLottieColor[2] === obj.s[2]) {
4406
- obj.s = __spreadArrays(targetLottieColor, [1]);
4407
- }
4408
- }
4409
- else if (obj.c && obj.c.k) {
4410
- if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4411
- doReplace(sourceLottieColor, targetLottieColor, obj.c.k);
4412
- }
4413
- else if (sourceLottieColor[0] === round(obj.c.k[0]) &&
4414
- sourceLottieColor[1] === round(obj.c.k[1]) &&
4415
- sourceLottieColor[2] === round(obj.c.k[2])) {
4416
- obj.c.k = targetLottieColor;
4417
- }
4418
- }
4419
- else {
4420
- for (var key in obj) {
4421
- if (typeof obj[key] === 'object') {
4422
- doReplace(sourceLottieColor, targetLottieColor, obj[key]);
4423
- }
4424
- }
4425
- }
4426
- return obj;
4427
- }
4428
- return doReplace(genSourceLottieColor, genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
4429
- };
4430
- var flatten = lib.flatten = function (targetColor, lottieObj) {
4431
- var genTargetLottieColor = convertColorToLottieColor(targetColor);
4432
- if (!genTargetLottieColor) {
4433
- throw new Error('Proper colors must be used for target');
4434
- }
4435
- function doFlatten(targetLottieColor, obj) {
4436
- if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4437
- obj.s = __spreadArrays(targetLottieColor, [1]);
4438
- }
4439
- else if (obj.c && obj.c.k) {
4440
- if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4441
- doFlatten(targetLottieColor, obj.c.k);
4442
- }
4443
- else {
4444
- obj.c.k = targetLottieColor;
4445
- }
4446
- }
4447
- else {
4448
- for (var key in obj) {
4449
- if (typeof obj[key] === 'object') {
4450
- doFlatten(targetLottieColor, obj[key]);
4451
- }
4452
- }
4453
- }
4454
- return obj;
4455
- }
4456
- return doFlatten(genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
4457
- };
4458
- var modifyColors = function (colorsArray, lottieObj) {
4459
- var i = 0;
4460
- function doModify(colors, obj) {
4461
- if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4462
- if (colors[i]) {
4463
- obj.s = __spreadArrays(colors[i], [1]);
4464
- }
4465
- i++;
4466
- }
4467
- else if (obj.c && obj.c.k) {
4468
- if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4469
- doModify(colors, obj.c.k);
4470
- }
4471
- else {
4472
- if (colors[i]) {
4473
- obj.c.k = colors[i];
4474
- }
4475
- i++;
4476
- }
4477
- }
4478
- for (var key in obj) {
4479
- if (typeof obj[key] === 'object') {
4480
- doModify(colors, obj[key]);
4481
- }
4482
- }
4483
- return obj;
4484
- }
4485
- return doModify(colorsArray, lottieObj);
4486
- };
4487
- var convertLottieColorToRgb = function (lottieColor) {
4488
- return [Math.round(lottieColor[0] * 255), Math.round(lottieColor[1] * 255), Math.round(lottieColor[2] * 255)];
4489
- };
4490
- var convertLottieColorToRgba = function (lottieColor) {
4491
- return [
4492
- Math.round(lottieColor[0] * 255),
4493
- Math.round(lottieColor[1] * 255),
4494
- Math.round(lottieColor[2] * 255),
4495
- lottieColor[3],
4496
- ];
4497
- };
4498
- lib.getColors = function (lottieObj) {
4499
- var res = [];
4500
- function doGet(obj) {
4501
- if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
4502
- res.push(convertLottieColorToRgba(obj.s));
4503
- }
4504
- else if (obj.c && obj.c.k) {
4505
- if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== 'number') {
4506
- doGet(obj.c.k);
4507
- }
4508
- else {
4509
- res.push(convertLottieColorToRgb(obj.c.k));
4510
- }
4511
- }
4512
- else {
4513
- for (var key in obj) {
4514
- if (typeof obj[key] === 'object') {
4515
- doGet(obj[key]);
4516
- }
4517
- }
4518
- }
4519
- return res;
4520
- }
4521
- doGet(lottieObj);
4522
- return res;
4523
- };
4533
+ var libExports = requireLib();
4524
4534
 
4525
4535
  const animate = (el, color) => {
4526
4536
  return lottie_light_html.Lottie.loadAnimation({
@@ -4528,7 +4538,7 @@ const animate = (el, color) => {
4528
4538
  renderer: 'svg',
4529
4539
  loop: true,
4530
4540
  autoplay: true,
4531
- animationData: flatten(color, SpinnerAnimationData(color)),
4541
+ animationData: libExports.flatten(color, SpinnerAnimationData(color)),
4532
4542
  });
4533
4543
  };
4534
4544