@baloise/ds-core 19.3.0-nightly.20250704 → 19.3.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.
- package/components/_commonjsHelpers.js +1 -5
- package/components/all.d.ts +0 -2
- package/components/all.js +0 -3
- package/components/animation.decorator.js +1 -1
- package/components/array.js +3 -3
- package/components/attributes.js +3 -0
- package/components/bal-accordion-details.js +5 -16
- package/components/bal-accordion-summary.js +6 -17
- package/components/bal-accordion-trigger.js +17 -49
- package/components/bal-accordion.js +15 -43
- package/components/bal-app.js +93 -1
- package/components/bal-badge2.js +3 -10
- package/components/bal-button-group2.js +0 -10
- package/components/bal-button2.js +32 -106
- package/components/bal-card-actions.js +0 -3
- package/components/bal-card-button.js +1 -19
- package/components/bal-card-subtitle.js +8 -13
- package/components/bal-card-title.js +0 -3
- package/components/bal-card2.js +4 -30
- package/components/bal-carousel-item.js +18 -36
- package/components/bal-carousel.js +10 -59
- package/components/bal-check2.js +2 -23
- package/components/bal-checkbox-group.js +21 -61
- package/components/bal-checkbox2.js +32 -93
- package/components/bal-close2.js +4 -9
- package/components/bal-content2.js +2 -24
- package/components/bal-data-item.js +0 -6
- package/components/bal-data-label.js +0 -3
- package/components/bal-data-value.js +5 -14
- package/components/bal-data.js +3 -8
- package/components/bal-date-calendar-cell2.js +8 -3
- package/components/bal-date-calendar2.js +32 -28
- package/components/bal-date.js +34 -72
- package/components/bal-divider.js +2 -18
- package/components/bal-dropdown.js +43 -107
- package/components/bal-field-control.js +0 -14
- package/components/bal-field-hint.js +0 -9
- package/components/bal-field-label.js +0 -32
- package/components/bal-field-message.js +0 -15
- package/components/bal-field.js +11 -32
- package/components/bal-file-upload.js +52 -103
- package/components/bal-footer.js +7 -22
- package/components/bal-form-grid.js +2 -1
- package/components/bal-form.js +3 -11
- package/components/bal-heading2.js +6 -25
- package/components/bal-hint2.js +12 -13
- package/components/bal-icon2.js +906 -965
- package/components/bal-input-date2.js +11 -45
- package/components/bal-input-group2.js +2 -10
- package/components/bal-input-slider.js +19 -57
- package/components/bal-input-stepper.js +1081 -1105
- package/components/bal-input.js +37 -87
- package/components/bal-label2.js +4 -52
- package/components/bal-list-item-accordion-body2.js +7 -13
- package/components/bal-list-item-accordion-head2.js +7 -17
- package/components/bal-list-item-content2.js +1 -0
- package/components/bal-list-item-icon2.js +0 -3
- package/components/bal-list-item-title2.js +1 -3
- package/components/bal-list-item2.js +11 -34
- package/components/bal-list2.js +2 -16
- package/components/bal-logo.animation.js +2 -2
- package/components/bal-logo2.js +3 -15
- package/components/bal-modal.js +10 -38
- package/components/bal-nav-link-grid-col2.js +2 -8
- package/components/bal-nav-link-grid2.js +2 -1
- package/components/bal-nav-link-group.js +2 -8
- package/components/bal-nav-link2.js +4 -18
- package/components/bal-nav-menu-bar2.js +2 -11
- package/components/bal-nav-menu-flyout2.js +3 -10
- package/components/bal-nav-meta-bar2.js +2 -20
- package/components/bal-nav.js +49 -33
- package/components/bal-navbar-brand.js +6 -29
- package/components/bal-navbar-menu-end.js +0 -6
- package/components/bal-navbar-menu-start.js +0 -6
- package/components/bal-navbar-menu.js +0 -6
- package/components/bal-navbar.js +2 -12
- package/components/bal-notices.js +2 -10
- package/components/bal-notification.js +2 -11
- package/components/bal-number-input.js +150 -66
- package/components/bal-option-list.js +7 -27
- package/components/bal-option.js +13 -40
- package/components/bal-pagination.js +64 -84
- package/components/bal-popover-content2.js +1 -28
- package/components/bal-popover2.js +13 -50
- package/components/bal-popup2.js +26 -58
- package/components/bal-progress-bar.js +4 -17
- package/components/bal-radio-group.js +21 -57
- package/components/bal-radio-icon2.js +2 -23
- package/components/bal-radio2.js +29 -78
- package/components/bal-segment-item.js +16 -35
- package/components/bal-segment.js +21 -42
- package/components/bal-select-option2.js +2 -7
- package/components/bal-select2.js +50 -107
- package/components/bal-shape2.js +5 -13
- package/components/bal-sheet.js +2 -4
- package/components/bal-snackbar.js +9 -35
- package/components/bal-spinner.animation.js +1917 -1927
- package/components/bal-spinner2.js +9 -27
- package/components/bal-stack2.js +4 -37
- package/components/bal-stage-back-link.js +2 -6
- package/components/bal-stage-image.js +3 -1
- package/components/bal-stage.js +8 -17
- package/components/bal-step-item.js +1 -31
- package/components/bal-steps.js +12 -30
- package/components/bal-switch.js +2 -20
- package/components/bal-tab-item.js +6 -48
- package/components/bal-table.js +2 -4
- package/components/bal-tabs2.js +45 -103
- package/components/bal-tag2.js +2 -26
- package/components/bal-text.js +1 -136
- package/components/bal-text2.js +94 -0
- package/components/bal-textarea.js +24 -52
- package/components/bal-time-input.js +19 -42
- package/components/bal-toast.js +3 -18
- package/components/bal-tooltip.js +4 -21
- package/components/breakpoints.subject.js +79 -5
- package/components/config.default.js +1 -1
- package/components/config.utils.js +1 -1
- package/components/date.js +3821 -3208
- package/components/element-states.decorator.js +1 -1
- package/components/floating-ui.js +2 -2
- package/components/focus-visible.js +2 -2
- package/components/focus.decorator.js +1 -1
- package/components/form-input.js +6 -2
- package/components/helpers.js +2 -2
- package/components/index.esm.js +118 -122
- package/components/index.js +322 -16
- package/components/index2.js +588 -44
- package/components/index3.js +27 -561
- package/components/index4.js +1849 -591
- package/components/index5.js +506 -1814
- package/components/keyboard.helpers.js +1 -1
- package/components/lottie_light_html.js +11684 -11694
- package/components/mutation.decorator.js +1 -1
- package/components/overlays.js +2 -2
- package/components/purify.js +1353 -0
- package/components/resize.decorator.js +1 -1
- package/components/swipe.subject.js +1 -1
- package/components/swiper.util.js +2 -2
- package/components/tokens.esm.js +2 -3
- package/components/tslib.es6.js +0 -2
- package/components/utils.js +6 -6
- package/components/visibility.decorator.js +1 -1
- package/components/window-resize.decorator.js +24 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/p-00b37ea2.js +1 -0
- package/dist/baloise-design-system/p-00d6cf9a.system.js +1 -0
- package/dist/baloise-design-system/{p-bbf0ab0d94.system.entry.js → p-00e75d0c35.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-0193364e31.entry.js +1 -0
- package/dist/baloise-design-system/p-01cd830b.system.js +1 -0
- package/dist/baloise-design-system/p-02509f2aa1.system.entry.js +1 -0
- package/dist/baloise-design-system/p-04515987c7.system.entry.js +1 -0
- package/dist/baloise-design-system/p-056b22a7.system.js +1 -0
- package/dist/baloise-design-system/{p-71f9f1ca2e.entry.js → p-05a5de36af.entry.js} +1 -1
- package/dist/baloise-design-system/{p-C4sZQbkT.js → p-063808d7.js} +1 -1
- package/dist/baloise-design-system/p-0783dc98dd.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0833e523b1.entry.js +1 -0
- package/dist/baloise-design-system/p-0aa6f3518b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0ae449ae.system.js +1 -0
- package/dist/baloise-design-system/p-0b2b3dbe1b.entry.js +1 -0
- package/dist/baloise-design-system/{p-e0161a8c00.system.entry.js → p-0b39e3fc7f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-0c336d76f5.entry.js +1 -0
- package/dist/baloise-design-system/p-0c34ba75.system.js +1 -0
- package/dist/baloise-design-system/{p-d093a0ccff.entry.js → p-0d07e6caf8.entry.js} +1 -1
- package/dist/baloise-design-system/p-11230944ba.system.entry.js +1 -0
- package/dist/baloise-design-system/p-1272e3f9c5.system.entry.js +1 -0
- package/dist/baloise-design-system/p-12b975fee6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-13d44256.system.js +1 -0
- package/dist/baloise-design-system/p-14df54b760.entry.js +1 -0
- package/dist/baloise-design-system/p-15f86fd2.js +1 -0
- package/dist/baloise-design-system/{p-5b4c5cfff6.entry.js → p-160c193287.entry.js} +1 -1
- package/dist/baloise-design-system/p-16395ece.system.js +1 -0
- package/dist/baloise-design-system/p-166d571e.js +1 -0
- package/dist/baloise-design-system/p-16f5c678f5.entry.js +1 -0
- package/dist/baloise-design-system/p-1846561401.system.entry.js +1 -0
- package/dist/baloise-design-system/p-18675e20.js +1 -0
- package/dist/baloise-design-system/p-18c6b14c.system.js +1 -0
- package/dist/baloise-design-system/{p-fe8e5a5649.entry.js → p-18cab6ff5b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f32f4ce4d1.system.entry.js → p-1a99fea403.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-BPUKeAhO.system.js → p-1c41de53.system.js} +1 -1
- package/dist/baloise-design-system/p-1cfbf3093b.entry.js +1 -0
- package/dist/baloise-design-system/{p-2552306487.system.entry.js → p-1e517d518d.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-1f7d1eb48e.entry.js +1 -0
- package/dist/baloise-design-system/p-1fa4cbaca6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-210cd438.system.js +9 -0
- package/dist/baloise-design-system/p-211fd73b2d.entry.js +1 -0
- package/dist/baloise-design-system/p-21b2d5d33b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-23bdd8dc.system.js +1 -0
- package/dist/baloise-design-system/{p-059c584e1d.entry.js → p-240e3621c6.entry.js} +1 -1
- package/dist/baloise-design-system/p-242625df10.system.entry.js +1 -0
- package/dist/baloise-design-system/p-24486c2cd6.entry.js +1 -0
- package/dist/baloise-design-system/{p-B-nlYC3C.system.js → p-2509cd53.system.js} +1 -1
- package/dist/baloise-design-system/p-2725c79107.system.entry.js +1 -0
- package/dist/baloise-design-system/p-27b9d8e173.entry.js +1 -0
- package/dist/baloise-design-system/p-2880433e.system.js +1 -0
- package/dist/baloise-design-system/p-28d0b9c851.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-CkTFeT_v.system.js → p-2908a4b8.system.js} +1 -1
- package/dist/baloise-design-system/p-2ccbe55a.js +2 -0
- package/dist/baloise-design-system/p-2d3770e7.system.js +1 -0
- package/dist/baloise-design-system/p-3131f323.system.js +1 -0
- package/dist/baloise-design-system/p-3153f3e507.system.entry.js +1 -0
- package/dist/baloise-design-system/p-3156541849.system.entry.js +1 -0
- package/dist/baloise-design-system/p-350a85a9.js +1 -0
- package/dist/baloise-design-system/p-36c605b7ed.entry.js +1 -0
- package/dist/baloise-design-system/p-371f93bd95.system.entry.js +1 -0
- package/dist/baloise-design-system/p-39cbb5b4.system.js +1 -0
- package/dist/baloise-design-system/p-3b6395d90b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-3d3aa421.js +1 -0
- package/dist/baloise-design-system/p-3f01fc8b.js +1 -0
- package/dist/baloise-design-system/p-3f6fcc1a25.system.entry.js +1 -0
- package/dist/baloise-design-system/p-3fcfe14a45.system.entry.js +1 -0
- package/dist/baloise-design-system/p-4191bdf0.js +1 -0
- package/dist/baloise-design-system/p-41c8319b5f.entry.js +1 -0
- package/dist/baloise-design-system/p-422f347380.entry.js +1 -0
- package/dist/baloise-design-system/p-42d1374d6f.system.entry.js +1 -0
- package/dist/baloise-design-system/p-4573c419.js +1 -0
- package/dist/baloise-design-system/p-45d69189d4.system.entry.js +1 -0
- package/dist/baloise-design-system/p-472a8efc29.entry.js +1 -0
- package/dist/baloise-design-system/p-4743791e3f.entry.js +1 -0
- package/dist/baloise-design-system/p-4936cce309.entry.js +1 -0
- package/dist/baloise-design-system/{p-B3C_UjgS.js → p-4a0012fa.js} +1 -1
- package/dist/baloise-design-system/p-4a1237e8.js +1 -0
- package/dist/baloise-design-system/p-4ad57bd1ee.entry.js +1 -0
- package/dist/baloise-design-system/p-4af5f1f9.js +1 -0
- package/dist/baloise-design-system/p-4ca4dff6.js +1 -0
- package/dist/baloise-design-system/p-4d4dd885fc.entry.js +1 -0
- package/dist/baloise-design-system/p-4d5477db.js +1 -0
- package/dist/baloise-design-system/p-4e8633942b.entry.js +1 -0
- package/dist/baloise-design-system/p-4f1232cf16.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-DKxvaA1I.js → p-50f3b012.js} +1 -1
- package/dist/baloise-design-system/{p-Bd8SDbWy.js → p-537189e0.js} +1 -1
- package/dist/baloise-design-system/{p-BHFw3KrT.js → p-53e09ecb.js} +1 -1
- package/dist/baloise-design-system/{p-D619YWaH.system.js → p-5420740f.system.js} +1 -1
- package/dist/baloise-design-system/p-548ca0b3.js +1 -0
- package/dist/baloise-design-system/p-5569e7774f.entry.js +1 -0
- package/dist/baloise-design-system/{p-DWG-IuAM.js → p-55ebd30d.js} +1 -1
- package/dist/baloise-design-system/p-56f686f295.system.entry.js +1 -0
- package/dist/baloise-design-system/p-576fea8fe0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-584601ed8d.entry.js +1 -0
- package/dist/baloise-design-system/p-599fe1aecd.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-pZ7tokLV.js → p-5b163efa.js} +1 -1
- package/dist/baloise-design-system/p-5b81a72518.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5c391c5415.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5d26868b4c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5d94ecd9.system.js +1 -0
- package/dist/baloise-design-system/p-5e506fea89.entry.js +1 -0
- package/dist/baloise-design-system/p-5e7b2f7fa5.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5fbe1e715b.entry.js +1 -0
- package/dist/baloise-design-system/{p-48fca0b00b.system.entry.js → p-6077b576a9.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-6461e0dc8c.entry.js +1 -0
- package/dist/baloise-design-system/p-659270e6.system.js +1 -0
- package/dist/baloise-design-system/p-65a3f66bb1.entry.js +1 -0
- package/dist/baloise-design-system/p-6780a7ed.system.js +1 -0
- package/dist/baloise-design-system/p-68f3a1d5de.entry.js +1 -0
- package/dist/baloise-design-system/p-6913b916.system.js +1 -0
- package/dist/baloise-design-system/p-694808374d.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-DgNrhl33.system.js → p-6c080ebc.system.js} +1 -1
- package/dist/baloise-design-system/p-6ca25be56c.entry.js +1 -0
- package/dist/baloise-design-system/p-6df2900b29.system.entry.js +1 -0
- package/dist/baloise-design-system/p-6e3ed83858.entry.js +1 -0
- package/dist/baloise-design-system/p-70a29a3cf9.system.entry.js +1 -0
- package/dist/baloise-design-system/p-7187bc892e.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-333e7be9dd.system.entry.js → p-7632019f26.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-7720b262.system.js +1 -0
- package/dist/baloise-design-system/p-77c7a0b0.js +1 -0
- package/dist/baloise-design-system/p-7961e095.system.js +2 -0
- package/dist/baloise-design-system/p-7ace6bb2b2.system.entry.js +1 -0
- package/dist/baloise-design-system/p-7d4fac85.js +1 -0
- package/dist/baloise-design-system/p-7ee8e43a78.entry.js +1 -0
- package/dist/baloise-design-system/p-835cf9d5.system.js +1 -0
- package/dist/baloise-design-system/p-86621bd1a3.system.entry.js +1 -0
- package/dist/baloise-design-system/p-8de1cbc123.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-DEH0fPxN.system.js → p-924b576e.system.js} +1 -1
- package/dist/baloise-design-system/{p-CrVMeGPj.js → p-96216bd1.js} +1 -1
- package/dist/baloise-design-system/p-975f69e2.js +1 -0
- package/dist/baloise-design-system/p-9a3d9e17.js +1 -0
- package/dist/baloise-design-system/p-9bea0924af.entry.js +1 -0
- package/dist/baloise-design-system/{p-CaFT5PQ1.system.js → p-9f7a1215.system.js} +1 -1
- package/dist/baloise-design-system/p-9fe6f3f427.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-e527a619c0.entry.js → p-a06f682955.entry.js} +1 -1
- package/dist/baloise-design-system/p-a1449d0827.system.entry.js +1 -0
- package/dist/baloise-design-system/p-a1f6e944.system.js +1 -0
- package/dist/baloise-design-system/p-a65354df.js +1 -0
- package/dist/baloise-design-system/p-a6f19c8102.entry.js +1 -0
- package/dist/baloise-design-system/{p-CQIRFXKv.js → p-a7894ace.js} +1 -1
- package/dist/baloise-design-system/p-a7f480e29e.entry.js +1 -0
- package/dist/baloise-design-system/p-a8161761.js +1 -0
- package/dist/baloise-design-system/{p-4c1dd77065.system.entry.js → p-a82d082286.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-a8f4c51f7d.entry.js +1 -0
- package/dist/baloise-design-system/{p-B_VNoLFI.js → p-aae6003e.js} +1 -1
- package/dist/baloise-design-system/p-abaa6b209d.entry.js +1 -0
- package/dist/baloise-design-system/{p-N2wlH4Xn.js → p-acf222fd.js} +1 -1
- package/dist/baloise-design-system/p-ad848b32cc.entry.js +1 -0
- package/dist/baloise-design-system/p-ade92c8b.js +2 -0
- package/dist/baloise-design-system/p-b0471793.system.js +1 -0
- package/dist/baloise-design-system/p-b0cf4731.js +1 -0
- package/dist/baloise-design-system/{p-CbIltJfj.js → p-b2f7e364.js} +1 -1
- package/dist/baloise-design-system/p-b31ef16307.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b3720a73.system.js +1 -0
- package/dist/baloise-design-system/p-b53635762a.entry.js +1 -0
- package/dist/baloise-design-system/p-b651c3be06.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b77e3348.js +1 -0
- package/dist/baloise-design-system/{p-Dou6adza.system.js → p-b79d8942.system.js} +1 -1
- package/dist/baloise-design-system/p-ba04f59382.entry.js +1 -0
- package/dist/baloise-design-system/p-bb0bea1a12.entry.js +1 -0
- package/dist/baloise-design-system/{p-DExQyjsY.js → p-bb3d79e0.js} +1 -1
- package/dist/baloise-design-system/p-bdf651c552.system.entry.js +1 -0
- package/dist/baloise-design-system/p-be4404d14f.entry.js +1 -0
- package/dist/baloise-design-system/p-c018e14208.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-BG4j3FEv.js → p-c0c91eb1.js} +1 -1
- package/dist/baloise-design-system/p-c1df952485.entry.js +1 -0
- package/dist/baloise-design-system/p-c75b737789.system.entry.js +1 -0
- package/dist/baloise-design-system/p-c90cd86f85.entry.js +1 -0
- package/dist/baloise-design-system/p-c942d04f.system.js +1 -0
- package/dist/baloise-design-system/p-caf7e785da.system.entry.js +1 -0
- package/dist/baloise-design-system/p-cb9a61cf9f.entry.js +1 -0
- package/dist/baloise-design-system/p-ce0bb62f88.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ce4f5a6a.js +1 -0
- package/dist/baloise-design-system/p-cec9dcd5f0.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-Cu1ebAbd.system.js → p-d0537382.system.js} +1 -1
- package/dist/baloise-design-system/p-d0cee779.system.js +2 -0
- package/dist/baloise-design-system/{p-361a85ce79.system.entry.js → p-d112488f3c.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d41614f898.entry.js +1 -0
- package/dist/baloise-design-system/p-d4e5093b.js +1 -0
- package/dist/baloise-design-system/p-d96b1ee9.js +1 -0
- package/dist/baloise-design-system/{p-BomCpG-1.system.js → p-dac493c4.system.js} +1 -1
- package/dist/baloise-design-system/p-dc1f26ed82.entry.js +1 -0
- package/dist/baloise-design-system/p-ddfc39d563.system.entry.js +1 -0
- package/dist/baloise-design-system/p-de214c5ded.entry.js +1 -0
- package/dist/baloise-design-system/{p-c82575cbe6.system.entry.js → p-de8600efe8.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-df907af8.system.js +1 -0
- package/dist/baloise-design-system/p-e004afb272.entry.js +1 -0
- package/dist/baloise-design-system/p-e0248dd3.js +1 -0
- package/dist/baloise-design-system/p-e1daa037f5.entry.js +1 -0
- package/dist/baloise-design-system/p-e442bfd948.entry.js +1 -0
- package/dist/baloise-design-system/p-e53cf246d6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e581de20.js +1 -0
- package/dist/baloise-design-system/p-e75452d8.system.js +1 -0
- package/dist/baloise-design-system/p-e88286bed3.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ea96959c66.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ec1863d2.js +1 -0
- package/dist/baloise-design-system/{p-SeKJ5o8j.system.js → p-ec9a7cf5.system.js} +1 -1
- package/dist/baloise-design-system/p-edb1f50e6a.entry.js +1 -0
- package/dist/baloise-design-system/p-eec38fbd.system.js +1 -0
- package/dist/baloise-design-system/{p-YF2lEyTF.system.js → p-eecefb0a.system.js} +1 -1
- package/dist/baloise-design-system/p-eed5aa27.system.js +1 -0
- package/dist/baloise-design-system/p-f19930db.js +1 -0
- package/dist/baloise-design-system/p-f8db562aa1.entry.js +1 -0
- package/dist/baloise-design-system/p-fa2ea8a4.system.js +1 -0
- package/dist/baloise-design-system/p-fa6b5cde.system.js +1 -0
- package/dist/baloise-design-system/{p-DxjqC_a1.system.js → p-fbce8119.system.js} +1 -1
- package/dist/baloise-design-system/p-fd273f8f1e.entry.js +1 -0
- package/dist/baloise-design-system/p-fe2ef334.system.js +1 -0
- package/dist/baloise-design-system/p-ff36efab94.entry.js +1 -0
- package/dist/cjs/{_commonjsHelpers-BJu3ubxk.js → _commonjsHelpers-68cdf74f.js} +0 -5
- package/dist/cjs/{animation.decorator-Ct7aiy8a.js → animation.decorator-40bdfb52.js} +9 -9
- package/dist/cjs/app-globals-0d8db19e.js +11 -0
- package/dist/cjs/{array-Db63Hhl1.js → array-ae164ca3.js} +3 -3
- package/dist/cjs/{attributes-Cp0kpySW.js → attributes-11acd153.js} +3 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +67 -142
- package/dist/cjs/bal-app.cjs.entry.js +24 -23
- package/dist/cjs/bal-badge.cjs.entry.js +7 -12
- package/dist/cjs/bal-button_2.cjs.entry.js +45 -121
- package/dist/cjs/bal-card_6.cjs.entry.js +10 -69
- package/dist/cjs/bal-carousel_2.cjs.entry.js +54 -113
- package/dist/cjs/bal-check.cjs.entry.js +6 -25
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +83 -178
- package/dist/cjs/bal-close.cjs.entry.js +15 -14
- package/dist/cjs/bal-content.cjs.entry.js +10 -28
- package/dist/cjs/bal-data_4.cjs.entry.js +15 -37
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +18 -8
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +67 -90
- package/dist/cjs/bal-date.cjs.entry.js +76 -109
- package/dist/cjs/bal-divider.cjs.entry.js +10 -22
- package/dist/cjs/bal-dropdown.cjs.entry.js +82 -139
- package/dist/cjs/bal-field_5.cjs.entry.js +23 -109
- package/dist/cjs/bal-file-upload.cjs.entry.js +76 -120
- package/dist/cjs/bal-footer.cjs.entry.js +24 -34
- package/dist/cjs/bal-form-col_2.cjs.entry.js +5 -2
- package/dist/cjs/bal-form.cjs.entry.js +11 -14
- package/dist/cjs/bal-heading_2.cjs.entry.js +14 -74
- package/dist/cjs/bal-hint_5.cjs.entry.js +50 -110
- package/dist/cjs/bal-icon.cjs.entry.js +916 -969
- package/dist/cjs/bal-input-group.cjs.entry.js +6 -12
- package/dist/cjs/bal-input-slider.cjs.entry.js +34 -68
- package/dist/cjs/bal-input-stepper.cjs.entry.js +1089 -1112
- package/dist/cjs/bal-input.cjs.entry.js +57 -102
- package/dist/cjs/bal-label.cjs.entry.js +17 -59
- package/dist/cjs/bal-list_8.cjs.entry.js +59 -109
- package/dist/cjs/{bal-logo.animation-q2TTdoP3.js → bal-logo.animation-9704970d.js} +3 -4
- package/dist/cjs/bal-logo.cjs.entry.js +20 -26
- package/dist/cjs/bal-modal_3.cjs.entry.js +25 -48
- package/dist/cjs/bal-nav_8.cjs.entry.js +102 -138
- package/dist/cjs/bal-navbar_5.cjs.entry.js +30 -74
- package/dist/cjs/bal-notices_3.cjs.entry.js +18 -65
- package/dist/cjs/bal-notification.cjs.entry.js +6 -13
- package/dist/cjs/bal-number-input.cjs.entry.js +174 -83
- package/dist/cjs/bal-option_2.cjs.entry.js +49 -91
- package/dist/cjs/bal-pagination.cjs.entry.js +68 -87
- package/dist/cjs/bal-popup.cjs.entry.js +46 -72
- package/dist/cjs/bal-progress-bar.cjs.entry.js +17 -25
- package/dist/cjs/bal-radio-icon.cjs.entry.js +6 -25
- package/dist/cjs/bal-radio_2.cjs.entry.js +80 -161
- package/dist/cjs/bal-segment_2.cjs.entry.js +65 -98
- package/dist/cjs/bal-select_2.cjs.entry.js +81 -137
- package/dist/cjs/bal-shape.cjs.entry.js +10 -16
- package/dist/cjs/bal-sheet.cjs.entry.js +6 -6
- package/dist/cjs/{bal-spinner.animation-BL6PkxOx.js → bal-spinner.animation-a81cf10f.js} +1919 -1929
- package/dist/cjs/bal-spinner.cjs.entry.js +23 -34
- package/dist/cjs/bal-stack.cjs.entry.js +12 -41
- package/dist/cjs/bal-stage_6.cjs.entry.js +21 -27
- package/dist/cjs/bal-step-item.cjs.entry.js +6 -34
- package/dist/cjs/bal-steps.cjs.entry.js +33 -45
- package/dist/cjs/bal-switch.cjs.entry.js +6 -22
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +90 -183
- package/dist/cjs/bal-table.cjs.entry.js +6 -6
- package/dist/cjs/bal-tag_2.cjs.entry.js +9 -31
- package/dist/cjs/bal-textarea.cjs.entry.js +40 -63
- package/dist/cjs/bal-time-input.cjs.entry.js +41 -58
- package/dist/cjs/bal-tooltip.cjs.entry.js +20 -31
- package/dist/cjs/baloise-design-system.cjs.js +14 -7
- package/dist/cjs/{breakpoints.decorator-D9rKeaiV.js → breakpoints.decorator-881dd92d.js} +1 -1
- package/dist/cjs/{breakpoints.subject-BdO-YsQm.js → breakpoints.subject-485cf660.js} +17 -16
- package/dist/cjs/browser-1d542d0f.js +64 -0
- package/dist/cjs/{config.decorator-D_FjiIar.js → config.decorator-de244188.js} +3 -3
- package/dist/cjs/config.default-7e96eb95.js +48 -0
- package/dist/cjs/config.utils-df30e424.js +140 -0
- package/dist/cjs/{date-TPRfNe4M.js → date-ce9c7f3f.js} +3826 -3213
- package/dist/cjs/{device-PwXgHi--.js → device-9f97a845.js} +5 -5
- package/dist/cjs/{element-states.decorator-B-8GoxSa.js → element-states.decorator-aa5126e2.js} +13 -12
- package/dist/cjs/{floating-ui-l3NjU516.js → floating-ui-4a4a1aed.js} +3 -3
- package/dist/cjs/{focus-visible-DFZa8IIA.js → focus-visible-a434c91f.js} +2 -2
- package/dist/cjs/{focus.decorator-C6zfsYu-.js → focus.decorator-14a4a576.js} +10 -9
- package/dist/cjs/{form-input-B660-bjw.js → form-input-e9974433.js} +7 -2
- package/dist/cjs/helpers-debb881a.js +331 -0
- package/dist/cjs/index-24d802b4.js +594 -0
- package/dist/cjs/index-3b7f8988.js +1860 -0
- package/dist/cjs/index-758765f7.js +560 -0
- package/dist/cjs/index-84f42282.js +1810 -0
- package/dist/cjs/index-e6a233be.js +37 -0
- package/dist/cjs/index.cjs.js +74 -65
- package/dist/cjs/index.esm-a38eebac.js +212 -0
- package/dist/cjs/initialize-2e8978a4.js +319 -0
- package/dist/cjs/{listener-B7XPbb55.js → listener-52d2e5fd.js} +2 -2
- package/dist/cjs/loader.cjs.js +12 -3
- package/dist/cjs/log-33398c2a.js +80 -0
- package/dist/cjs/lottie_light_html-cbfdf82e.js +11694 -0
- package/dist/cjs/{mutation.decorator-CugZMhs4.js → mutation.decorator-485e250e.js} +5 -5
- package/dist/cjs/{number-hhFX3aKU.js → number-24bf265b.js} +4 -3
- package/dist/cjs/{overlays-D69-iSa6.js → overlays-94ebb271.js} +6 -5
- package/dist/cjs/purify-b01229e2.js +1355 -0
- package/dist/cjs/{resize.decorator-D7f4FbeF.js → resize.decorator-e4a92322.js} +6 -5
- package/dist/cjs/{scroll-D7ot6_a-.js → scroll-dc37ea84.js} +5 -5
- package/dist/cjs/{swipe.decorator-aP7AIbLE.js → swipe.decorator-9c105f90.js} +1 -1
- package/dist/cjs/{swipe.subject-BhMYr3OO.js → swipe.subject-191f7d8a.js} +5 -5
- package/dist/cjs/{swiper.util-Dh50nc_s.js → swiper.util-d23b8eb0.js} +16 -15
- package/dist/cjs/{tokens.esm-cUm8Yiyt.js → tokens.esm-e14cedac.js} +1 -2
- package/dist/cjs/{tslib.es6-DrfCPgT9.js → tslib.es6-a680968e.js} +0 -2
- package/dist/cjs/{utils-Bl0u6rg1.js → utils-9ea175af.js} +6 -6
- package/dist/cjs/{visibility.decorator-kwm3v9pQ.js → visibility.decorator-a218aab9.js} +5 -5
- package/dist/cjs/window-resize.decorator-56853e4c.js +48 -0
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +6 -18
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +7 -19
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +24 -57
- package/dist/collection/components/bal-accordion/bal-accordion.js +18 -47
- package/dist/collection/components/bal-app/bal-app.js +4 -10
- package/dist/collection/components/bal-badge/bal-badge.js +5 -13
- package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +3 -13
- package/dist/collection/components/bal-button/bal-button.js +63 -192
- package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +1 -4
- package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +8 -26
- package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +5 -16
- package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +1 -4
- package/dist/collection/components/bal-card/bal-card.css +1 -1
- package/dist/collection/components/bal-card/bal-card.js +9 -36
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +27 -45
- package/dist/collection/components/bal-carousel/bal-carousel.js +15 -64
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +6 -28
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +29 -72
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +47 -109
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +5 -24
- package/dist/collection/components/bal-close/bal-close.js +2 -8
- package/dist/collection/components/bal-content/bal-content.js +5 -28
- package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +2 -8
- package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +1 -4
- package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +6 -15
- package/dist/collection/components/bal-data/bal-data.js +3 -9
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +26 -24
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +16 -11
- package/dist/collection/components/bal-date/bal-date.js +45 -85
- package/dist/collection/components/bal-divider/bal-divider.js +4 -21
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +52 -118
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +4 -18
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +3 -12
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +8 -40
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +5 -20
- package/dist/collection/components/bal-field/bal-field.js +14 -36
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +33 -67
- package/dist/collection/components/bal-footer/bal-footer.js +3 -20
- package/dist/collection/components/bal-form/bal-form.js +3 -12
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +1 -1
- package/dist/collection/components/bal-heading/bal-heading.js +13 -33
- package/dist/collection/components/bal-hint/bal-hint.css +1 -1
- package/dist/collection/components/bal-hint/bal-hint.js +7 -9
- package/dist/collection/components/bal-icon/bal-icon.js +36 -82
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +19 -54
- package/dist/collection/components/bal-input/bal-input.js +60 -111
- package/dist/collection/components/bal-input-group/bal-input-group.js +3 -12
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +27 -66
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.css +1 -1
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +40 -62
- package/dist/collection/components/bal-label/bal-label.js +13 -62
- package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +19 -42
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +7 -12
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +6 -16
- package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +4 -1
- package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +1 -4
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +3 -5
- package/dist/collection/components/bal-list/bal-list.js +5 -20
- package/dist/collection/components/bal-logo/bal-logo.js +3 -16
- package/dist/collection/components/bal-modal/bal-modal.js +17 -48
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +8 -23
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -8
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -8
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +2 -12
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +1 -8
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +5 -24
- package/dist/collection/components/bal-nav/bal-nav.js +12 -18
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +2 -2
- package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +25 -7
- package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +2 -2
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +13 -36
- package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -7
- package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -7
- package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -7
- package/dist/collection/components/bal-navbar/bal-navbar.js +3 -14
- package/dist/collection/components/bal-notices/bal-notices.js +3 -12
- package/dist/collection/components/bal-notification/bal-notification.js +3 -13
- package/dist/collection/components/bal-number-input/bal-number-input.js +36 -65
- package/dist/collection/components/bal-option/bal-option.js +18 -46
- package/dist/collection/components/bal-option-list/bal-option-list.js +8 -29
- package/dist/collection/components/bal-pagination/bal-pagination.css +1 -1
- package/dist/collection/components/bal-pagination/bal-pagination.js +15 -42
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +9 -36
- package/dist/collection/components/bal-popover/bal-popover.js +12 -52
- package/dist/collection/components/bal-popup/bal-popup.js +31 -64
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +3 -16
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +30 -68
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +6 -28
- package/dist/collection/components/bal-radio/bal-radio.js +43 -93
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +19 -39
- package/dist/collection/components/bal-segment/bal-segment.js +20 -40
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +6 -11
- package/dist/collection/components/bal-select/bal-select.js +51 -109
- package/dist/collection/components/bal-shape/bal-shape.js +6 -15
- package/dist/collection/components/bal-sheet/bal-sheet.js +1 -4
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +13 -42
- package/dist/collection/components/bal-spinner/bal-spinner.js +11 -30
- package/dist/collection/components/bal-stack/bal-stack.js +13 -47
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +6 -10
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +4 -2
- package/dist/collection/components/bal-stage/bal-stage.js +12 -22
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +12 -42
- package/dist/collection/components/bal-steps/bal-steps.js +11 -31
- package/dist/collection/components/bal-table/bal-table.js +1 -4
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +30 -69
- package/dist/collection/components/bal-tabs/bal-tabs.js +52 -111
- package/dist/collection/components/bal-tag/bal-tag.js +8 -33
- package/dist/collection/components/bal-text/bal-text.js +13 -58
- package/dist/collection/components/bal-textarea/bal-textarea.js +40 -69
- package/dist/collection/components/bal-time-input/bal-time-input.js +20 -44
- package/dist/collection/components/bal-toast/bal-toast.js +4 -21
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +6 -24
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/esm/_commonjsHelpers-1c8beb5f.js +3 -0
- package/dist/esm/{animation.decorator-BRrK54mN.js → animation.decorator-7fca988f.js} +2 -2
- package/dist/esm/app-globals-07bd529a.js +9 -0
- package/dist/esm/{array-CDfSqLEo.js → array-4c09dfe3.js} +3 -3
- package/dist/esm/{attributes-C4sZQbkT.js → attributes-a3e70948.js} +3 -0
- package/dist/esm/bal-accordion_4.entry.js +53 -130
- package/dist/esm/bal-app.entry.js +12 -13
- package/dist/esm/bal-badge.entry.js +5 -12
- package/dist/esm/bal-button_2.entry.js +42 -120
- package/dist/esm/bal-card_6.entry.js +8 -69
- package/dist/esm/bal-carousel_2.entry.js +49 -110
- package/dist/esm/bal-check.entry.js +4 -25
- package/dist/esm/bal-checkbox_2.entry.js +75 -172
- package/dist/esm/bal-close.entry.js +11 -12
- package/dist/esm/bal-content.entry.js +7 -27
- package/dist/esm/bal-data_4.entry.js +13 -37
- package/dist/esm/bal-date-calendar-cell.entry.js +16 -8
- package/dist/esm/bal-date-calendar_2.entry.js +61 -86
- package/dist/esm/bal-date.entry.js +57 -92
- package/dist/esm/bal-divider.entry.js +7 -21
- package/dist/esm/bal-dropdown.entry.js +61 -120
- package/dist/esm/bal-field_5.entry.js +19 -107
- package/dist/esm/bal-file-upload.entry.js +73 -119
- package/dist/esm/bal-footer.entry.js +15 -27
- package/dist/esm/bal-form-col_2.entry.js +3 -2
- package/dist/esm/bal-form.entry.js +7 -12
- package/dist/esm/bal-heading_2.entry.js +11 -73
- package/dist/esm/bal-hint_5.entry.js +43 -105
- package/dist/esm/bal-icon.entry.js +914 -969
- package/dist/esm/bal-input-group.entry.js +4 -12
- package/dist/esm/bal-input-slider.entry.js +31 -67
- package/dist/esm/bal-input-stepper.entry.js +1083 -1108
- package/dist/esm/bal-input.entry.js +53 -100
- package/dist/esm/bal-label.entry.js +12 -56
- package/dist/esm/bal-list_8.entry.js +45 -97
- package/dist/esm/{bal-logo.animation-Bm-_mal3.js → bal-logo.animation-560601c6.js} +3 -4
- package/dist/esm/bal-logo.entry.js +16 -24
- package/dist/esm/bal-modal_3.entry.js +18 -43
- package/dist/esm/bal-nav_8.entry.js +79 -117
- package/dist/esm/bal-navbar_5.entry.js +23 -69
- package/dist/esm/bal-notices_3.entry.js +16 -65
- package/dist/esm/bal-notification.entry.js +4 -13
- package/dist/esm/bal-number-input.entry.js +167 -78
- package/dist/esm/bal-option_2.entry.js +33 -77
- package/dist/esm/bal-pagination.entry.js +66 -87
- package/dist/esm/bal-popup.entry.js +36 -64
- package/dist/esm/bal-progress-bar.entry.js +14 -24
- package/dist/esm/bal-radio-icon.entry.js +4 -25
- package/dist/esm/bal-radio_2.entry.js +72 -155
- package/dist/esm/bal-segment_2.entry.js +56 -91
- package/dist/esm/bal-select_2.entry.js +72 -130
- package/dist/esm/bal-shape.entry.js +8 -16
- package/dist/esm/bal-sheet.entry.js +4 -6
- package/dist/esm/{bal-spinner.animation-Bv2Ow6xu.js → bal-spinner.animation-81d4326e.js} +1919 -1929
- package/dist/esm/bal-spinner.entry.js +18 -31
- package/dist/esm/bal-stack.entry.js +9 -40
- package/dist/esm/bal-stage_6.entry.js +18 -26
- package/dist/esm/bal-step-item.entry.js +4 -34
- package/dist/esm/bal-steps.entry.js +29 -43
- package/dist/esm/bal-switch.entry.js +4 -22
- package/dist/esm/bal-tab-item_2.entry.js +75 -170
- package/dist/esm/bal-table.entry.js +4 -6
- package/dist/esm/bal-tag_2.entry.js +7 -31
- package/dist/esm/bal-textarea.entry.js +37 -62
- package/dist/esm/bal-time-input.entry.js +37 -56
- package/dist/esm/bal-tooltip.entry.js +15 -28
- package/dist/esm/baloise-design-system.js +11 -5
- package/dist/esm/{breakpoints.decorator-B9fGMzyI.js → breakpoints.decorator-4de4315f.js} +1 -1
- package/dist/esm/{breakpoints.subject-D2jditew.js → breakpoints.subject-2f68e834.js} +5 -4
- package/dist/esm/browser-a8073d92.js +62 -0
- package/dist/esm/{config.decorator-g255X8DE.js → config.decorator-6795d1fe.js} +1 -1
- package/dist/esm/config.default-53a04699.js +45 -0
- package/dist/esm/config.utils-f3793464.js +101 -0
- package/dist/esm/{date-CzITO5fO.js → date-87bdb1d1.js} +3822 -3209
- package/dist/esm/{device-dF5vUTps.js → device-8c6d2881.js} +1 -1
- package/dist/esm/{element-states.decorator-Dk8OIOdm.js → element-states.decorator-d99dc83c.js} +3 -2
- package/dist/esm/{floating-ui-ITd61PST.js → floating-ui-8ffbc979.js} +2 -2
- package/dist/esm/{focus-visible-DqCbGYzv.js → focus-visible-c1d6b5b8.js} +2 -2
- package/dist/esm/{focus.decorator-MIxVqnNR.js → focus.decorator-988245d7.js} +3 -2
- package/dist/esm/{form-input-DyU_I7Nf.js → form-input-1ebdb905.js} +6 -2
- package/dist/esm/helpers-51d51cc5.js +307 -0
- package/dist/esm/index-82aff103.js +35 -0
- package/dist/esm/index-8d2a7ce7.js +1779 -0
- package/dist/esm/index-95ee0c4b.js +1858 -0
- package/dist/esm/index-bba06972.js +558 -0
- package/dist/esm/index-db06fb0e.js +592 -0
- package/dist/esm/index.esm-9079680d.js +206 -0
- package/dist/esm/index.js +30 -24
- package/{components/initialize.js → dist/esm/initialize-c00194b2.js} +5 -5
- package/dist/esm/{listener-BRXdr5Mk.js → listener-04842ae9.js} +1 -1
- package/dist/esm/loader.js +10 -3
- package/dist/esm/log-dfd1c19f.js +77 -0
- package/dist/esm/lottie_light_html-ab90e4a2.js +11692 -0
- package/dist/esm/{mutation.decorator-CFRV3n5T.js → mutation.decorator-6a69cedb.js} +2 -2
- package/dist/esm/{number-DI8U2zZ7.js → number-ccf3fbd0.js} +2 -1
- package/dist/esm/{overlays-BE8fsAF4.js → overlays-cee3838b.js} +3 -2
- package/dist/esm/purify-8cb49f16.js +1353 -0
- package/dist/esm/{resize.decorator-CdfVlqf4.js → resize.decorator-3c8e5ee2.js} +3 -2
- package/dist/esm/{scroll-ytafAebU.js → scroll-521224a9.js} +1 -1
- package/dist/esm/{swipe.decorator-LAK4VYA0.js → swipe.decorator-3d3585e7.js} +1 -1
- package/dist/esm/{swipe.subject-2eHkUcpg.js → swipe.subject-26a9e5a5.js} +4 -4
- package/dist/esm/{swiper.util-Dy8CWRH7.js → swiper.util-8e17b8c4.js} +5 -4
- package/dist/esm/{tokens.esm-B0bmgb-_.js → tokens.esm-4409ffbb.js} +2 -3
- package/dist/esm/{tslib.es6-dfXERft2.js → tslib.es6-654e2c24.js} +0 -2
- package/dist/esm/{utils-C_qktPg7.js → utils-9fbab1d3.js} +6 -6
- package/dist/esm/{visibility.decorator-B1BbAwZf.js → visibility.decorator-5db91610.js} +2 -2
- package/dist/esm/{window-resize.decorator-B1fuKglH.js → window-resize.decorator-03b1ed50.js} +24 -1
- package/dist/esm-es5/_commonjsHelpers-1c8beb5f.js +1 -0
- package/dist/esm-es5/animation.decorator-7fca988f.js +1 -0
- package/dist/esm-es5/app-globals-07bd529a.js +1 -0
- package/dist/esm-es5/array-4c09dfe3.js +1 -0
- package/dist/esm-es5/{attributes-C4sZQbkT.js → attributes-a3e70948.js} +1 -1
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-app.entry.js +1 -1
- package/dist/esm-es5/bal-badge.entry.js +1 -1
- package/dist/esm-es5/bal-button_2.entry.js +1 -1
- package/dist/esm-es5/bal-card_6.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-check.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-content.entry.js +1 -1
- package/dist/esm-es5/bal-data_4.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-divider.entry.js +1 -1
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
- package/dist/esm-es5/bal-form.entry.js +1 -1
- package/dist/esm-es5/bal-heading_2.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -1
- package/dist/esm-es5/bal-input-group.entry.js +1 -1
- package/dist/esm-es5/bal-input-slider.entry.js +1 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
- package/dist/esm-es5/bal-input.entry.js +1 -1
- package/dist/esm-es5/bal-label.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.animation-560601c6.js +1 -0
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-modal_3.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-notices_3.entry.js +1 -1
- package/dist/esm-es5/bal-notification.entry.js +1 -1
- package/dist/esm-es5/bal-number-input.entry.js +1 -1
- package/dist/esm-es5/bal-option_2.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popup.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
- package/dist/esm-es5/bal-radio_2.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.entry.js +1 -1
- package/dist/esm-es5/bal-select_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-sheet.entry.js +1 -1
- package/dist/esm-es5/{bal-spinner.animation-Bv2Ow6xu.js → bal-spinner.animation-81d4326e.js} +1 -1
- package/dist/esm-es5/bal-spinner.entry.js +1 -1
- package/dist/esm-es5/bal-stack.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.entry.js +1 -1
- package/dist/esm-es5/bal-step-item.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-switch.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/bal-table.entry.js +1 -1
- package/dist/esm-es5/bal-tag_2.entry.js +1 -1
- package/dist/esm-es5/bal-textarea.entry.js +1 -1
- package/dist/esm-es5/bal-time-input.entry.js +1 -1
- package/dist/esm-es5/bal-tooltip.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-4de4315f.js +1 -0
- package/dist/esm-es5/breakpoints.subject-2f68e834.js +1 -0
- package/dist/esm-es5/browser-a8073d92.js +1 -0
- package/dist/esm-es5/config.decorator-6795d1fe.js +1 -0
- package/dist/esm-es5/config.default-53a04699.js +1 -0
- package/dist/esm-es5/config.utils-f3793464.js +1 -0
- package/dist/esm-es5/date-87bdb1d1.js +1 -0
- package/dist/esm-es5/device-8c6d2881.js +1 -0
- package/dist/esm-es5/element-states.decorator-d99dc83c.js +1 -0
- package/dist/esm-es5/floating-ui-8ffbc979.js +1 -0
- package/dist/esm-es5/focus-visible-c1d6b5b8.js +1 -0
- package/dist/esm-es5/focus.decorator-988245d7.js +1 -0
- package/dist/esm-es5/form-input-1ebdb905.js +1 -0
- package/dist/esm-es5/helpers-51d51cc5.js +1 -0
- package/dist/esm-es5/index-82aff103.js +1 -0
- package/dist/esm-es5/index-8d2a7ce7.js +2 -0
- package/dist/esm-es5/index-95ee0c4b.js +1 -0
- package/dist/esm-es5/index-bba06972.js +1 -0
- package/dist/esm-es5/index-db06fb0e.js +1 -0
- package/dist/esm-es5/index.esm-9079680d.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-c00194b2.js +1 -0
- package/dist/esm-es5/listener-04842ae9.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/log-dfd1c19f.js +1 -0
- package/dist/esm-es5/lottie_light_html-ab90e4a2.js +9 -0
- package/dist/esm-es5/mutation.decorator-6a69cedb.js +1 -0
- package/dist/esm-es5/number-ccf3fbd0.js +1 -0
- package/dist/esm-es5/overlays-cee3838b.js +1 -0
- package/dist/esm-es5/purify-8cb49f16.js +2 -0
- package/dist/esm-es5/resize.decorator-3c8e5ee2.js +1 -0
- package/dist/esm-es5/scroll-521224a9.js +1 -0
- package/dist/esm-es5/{swipe.decorator-LAK4VYA0.js → swipe.decorator-3d3585e7.js} +1 -1
- package/dist/esm-es5/swipe.subject-26a9e5a5.js +1 -0
- package/dist/esm-es5/swiper.util-8e17b8c4.js +1 -0
- package/dist/esm-es5/{tokens.esm-B0bmgb-_.js → tokens.esm-4409ffbb.js} +1 -1
- package/dist/esm-es5/utils-9fbab1d3.js +1 -0
- package/dist/esm-es5/visibility.decorator-5db91610.js +1 -0
- package/dist/esm-es5/window-resize.decorator-03b1ed50.js +1 -0
- package/dist/html.html-data.json +1 -82
- package/dist/types/components/bal-button/bal-button.d.ts +1 -13
- package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +1 -1
- package/dist/types/components/bal-nav/models/bal-nav-meta-button.d.ts +1 -1
- package/dist/types/components/bal-pagination/bal-pagination.d.ts +1 -1
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +3 -3
- package/dist/types/components.d.ts +10 -1519
- package/dist/types/stencil-public-runtime.d.ts +1 -23
- package/loader/package.json +11 -0
- package/package.json +7 -7
- package/components/bal-app2.js +0 -100
- package/components/bal-doc-app.d.ts +0 -11
- package/components/bal-doc-app.js +0 -262
- package/components/index6.js +0 -125
- package/components/purify.es.js +0 -1328
- package/components/window-resize.listener.js +0 -80
- package/components/window-resize.subject.js +0 -26
- package/dist/baloise-design-system/p--k0G90SD.system.js +0 -1
- package/dist/baloise-design-system/p-01d073573f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-02b8352ee5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-061510057f.entry.js +0 -1
- package/dist/baloise-design-system/p-07c4c0a34a.entry.js +0 -1
- package/dist/baloise-design-system/p-0c68f0d2a7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0d6922d234.entry.js +0 -1
- package/dist/baloise-design-system/p-11c78979ba.entry.js +0 -1
- package/dist/baloise-design-system/p-140c45adf9.entry.js +0 -1
- package/dist/baloise-design-system/p-17be27154f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-189a96c522.entry.js +0 -1
- package/dist/baloise-design-system/p-1bd65d3478.entry.js +0 -1
- package/dist/baloise-design-system/p-1e314f5765.entry.js +0 -1
- package/dist/baloise-design-system/p-200de22241.system.entry.js +0 -1
- package/dist/baloise-design-system/p-21e94d929c.entry.js +0 -1
- package/dist/baloise-design-system/p-21f00c06f7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-220bd32622.entry.js +0 -1
- package/dist/baloise-design-system/p-26d97d1341.entry.js +0 -1
- package/dist/baloise-design-system/p-2bedf5525c.entry.js +0 -1
- package/dist/baloise-design-system/p-2e7fc3dd31.entry.js +0 -1
- package/dist/baloise-design-system/p-31d57d6b98.system.entry.js +0 -1
- package/dist/baloise-design-system/p-32aa95a155.entry.js +0 -1
- package/dist/baloise-design-system/p-3758b52b14.system.entry.js +0 -1
- package/dist/baloise-design-system/p-37d5ef6005.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3a7b577d1e.entry.js +0 -1
- package/dist/baloise-design-system/p-43d9277d12.system.entry.js +0 -1
- package/dist/baloise-design-system/p-45df3e8f55.system.entry.js +0 -1
- package/dist/baloise-design-system/p-46ebaa5408.entry.js +0 -1
- package/dist/baloise-design-system/p-47e172daa0.entry.js +0 -1
- package/dist/baloise-design-system/p-4e3b3039e7.entry.js +0 -1
- package/dist/baloise-design-system/p-4ea67d4f4e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-520794370e.entry.js +0 -1
- package/dist/baloise-design-system/p-5355439141.system.entry.js +0 -1
- package/dist/baloise-design-system/p-565686db22.entry.js +0 -1
- package/dist/baloise-design-system/p-57fb8b5eb2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5b0182d52f.entry.js +0 -1
- package/dist/baloise-design-system/p-61cb6b71ac.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6396d3b495.system.entry.js +0 -1
- package/dist/baloise-design-system/p-64ddc16b67.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6588e93372.entry.js +0 -1
- package/dist/baloise-design-system/p-6653708bd4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6ba67cb715.entry.js +0 -1
- package/dist/baloise-design-system/p-6e52cbd8c5.entry.js +0 -1
- package/dist/baloise-design-system/p-6lvI43hh.js +0 -1
- package/dist/baloise-design-system/p-72eadd5113.entry.js +0 -1
- package/dist/baloise-design-system/p-756c6d31b2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-758ffe7e03.entry.js +0 -1
- package/dist/baloise-design-system/p-77d927595c.entry.js +0 -1
- package/dist/baloise-design-system/p-79a2093f09.entry.js +0 -1
- package/dist/baloise-design-system/p-7b5cdd7059.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7de6dfad79.entry.js +0 -1
- package/dist/baloise-design-system/p-7e25c45a92.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8143d673eb.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8195485035.entry.js +0 -1
- package/dist/baloise-design-system/p-83e5034e65.entry.js +0 -1
- package/dist/baloise-design-system/p-8416fd07c5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-85beb9b3d5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-89eb53ffa3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8b9e2d1b0b.entry.js +0 -1
- package/dist/baloise-design-system/p-8ba1580831.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8caeac83b7.entry.js +0 -1
- package/dist/baloise-design-system/p-8eb2cfd0a5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8f57e7854a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-93c234f5f9.system.entry.js +0 -1
- package/dist/baloise-design-system/p-979f0a41e7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-98c3550261.system.entry.js +0 -1
- package/dist/baloise-design-system/p-B0bmgb-_.js +0 -1
- package/dist/baloise-design-system/p-B1a79Kak.system.js +0 -1
- package/dist/baloise-design-system/p-B33S9saU.system.js +0 -1
- package/dist/baloise-design-system/p-B3Q-Lii3.js +0 -2
- package/dist/baloise-design-system/p-BAaDJIzy.js +0 -1
- package/dist/baloise-design-system/p-BC9JH89x.js +0 -1
- package/dist/baloise-design-system/p-BFTU3MAI.js +0 -1
- package/dist/baloise-design-system/p-BfslJCJ1.system.js +0 -1
- package/dist/baloise-design-system/p-Bl6JuZha.js +0 -1
- package/dist/baloise-design-system/p-BnVL_HEz.js +0 -1
- package/dist/baloise-design-system/p-Bo7bt-QO.system.js +0 -1
- package/dist/baloise-design-system/p-BpPN4QPC.system.js +0 -1
- package/dist/baloise-design-system/p-Bzy18UgU.system.js +0 -1
- package/dist/baloise-design-system/p-C78VTo3I.js +0 -1
- package/dist/baloise-design-system/p-CEOTg0oT.system.js +0 -1
- package/dist/baloise-design-system/p-CHdm2a6D.js +0 -1
- package/dist/baloise-design-system/p-CTtLY-pQ.system.js +0 -1
- package/dist/baloise-design-system/p-CbvOgU0G.js +0 -1
- package/dist/baloise-design-system/p-Cj6DXhmQ.js +0 -1
- package/dist/baloise-design-system/p-Ckgicaeo.js +0 -1
- package/dist/baloise-design-system/p-CpWDVANq.system.js +0 -1
- package/dist/baloise-design-system/p-CwvovJM0.system.js +0 -3
- package/dist/baloise-design-system/p-CzKsK_-N.js +0 -1
- package/dist/baloise-design-system/p-Czl2AFQD.system.js +0 -1
- package/dist/baloise-design-system/p-D-yL3ygS.system.js +0 -1
- package/dist/baloise-design-system/p-D2IpojJH.js +0 -1
- package/dist/baloise-design-system/p-D3fFHb3d.system.js +0 -1
- package/dist/baloise-design-system/p-DObNWWwI.js +0 -1
- package/dist/baloise-design-system/p-DXglhVgP.js +0 -1
- package/dist/baloise-design-system/p-DgPiq0y0.js +0 -2
- package/dist/baloise-design-system/p-DieY27e8.js +0 -1
- package/dist/baloise-design-system/p-DpQhsHDk.system.js +0 -9
- package/dist/baloise-design-system/p-DpZ1EJms.system.js +0 -1
- package/dist/baloise-design-system/p-DqCbGYzv.js +0 -1
- package/dist/baloise-design-system/p-DvpDuwcR.system.js +0 -1
- package/dist/baloise-design-system/p-Dxz8zGB7.system.js +0 -1
- package/dist/baloise-design-system/p-HNsXrTcK.system.js +0 -1
- package/dist/baloise-design-system/p-NtpXzgnf.system.js +0 -1
- package/dist/baloise-design-system/p-RLU0CN2t.system.js +0 -1
- package/dist/baloise-design-system/p-RpbX6ZuY.system.js +0 -1
- package/dist/baloise-design-system/p-RzJv7e7Y.system.js +0 -1
- package/dist/baloise-design-system/p-S5-HQnxq.js +0 -1
- package/dist/baloise-design-system/p-UHSJaF1l.system.js +0 -2
- package/dist/baloise-design-system/p-a026dea6ff.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a296f4d228.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a3fc7283ce.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a490a7c071.entry.js +0 -1
- package/dist/baloise-design-system/p-a7f243b3fe.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a9bbd841f4.entry.js +0 -1
- package/dist/baloise-design-system/p-aa419a2a08.entry.js +0 -1
- package/dist/baloise-design-system/p-b219f3a83c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b5bc57a5cc.entry.js +0 -1
- package/dist/baloise-design-system/p-b5fa8d0dfd.entry.js +0 -1
- package/dist/baloise-design-system/p-b673357398.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b782a8351d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b798847724.entry.js +0 -1
- package/dist/baloise-design-system/p-b8c2106c2f.entry.js +0 -1
- package/dist/baloise-design-system/p-bb62fc0b8b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c26e50d86b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c5kwQsXB.system.js +0 -1
- package/dist/baloise-design-system/p-c6965794d7.entry.js +0 -1
- package/dist/baloise-design-system/p-c7370c3bcd.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ca2c7c3b2b.entry.js +0 -1
- package/dist/baloise-design-system/p-cc45f0d261.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ccafad087a.entry.js +0 -1
- package/dist/baloise-design-system/p-d99135bfae.system.entry.js +0 -1
- package/dist/baloise-design-system/p-dace8501ae.system.entry.js +0 -1
- package/dist/baloise-design-system/p-db401e5eca.system.entry.js +0 -1
- package/dist/baloise-design-system/p-dccc8331de.entry.js +0 -1
- package/dist/baloise-design-system/p-e1a35bc526.entry.js +0 -1
- package/dist/baloise-design-system/p-e264cbf7ab.entry.js +0 -1
- package/dist/baloise-design-system/p-e49d5935c0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e84e95c471.entry.js +0 -1
- package/dist/baloise-design-system/p-e871d48caf.entry.js +0 -1
- package/dist/baloise-design-system/p-e8c3c1829a.entry.js +0 -1
- package/dist/baloise-design-system/p-eba28c44f3.entry.js +0 -1
- package/dist/baloise-design-system/p-eba878531c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ebacacaadb.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f01e31c121.entry.js +0 -1
- package/dist/baloise-design-system/p-f1f4340a3d.entry.js +0 -1
- package/dist/baloise-design-system/p-f2e7b54fd6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f3a820890f.entry.js +0 -1
- package/dist/baloise-design-system/p-fa1e4a4d20.system.entry.js +0 -1
- package/dist/baloise-design-system/p-fa5c522e5d.entry.js +0 -1
- package/dist/baloise-design-system/p-fe3f059990.system.entry.js +0 -1
- package/dist/baloise-design-system/p-jv0tWyso.js +0 -1
- package/dist/baloise-design-system/p-lFDHYLJ4.system.js +0 -1
- package/dist/baloise-design-system/p-m5GX4h3i.system.js +0 -1
- package/dist/baloise-design-system/p-ns9Aprb9.js +0 -1
- package/dist/baloise-design-system/p-sUDAxNV7.js +0 -1
- package/dist/baloise-design-system/p-v8tPBXUI.js +0 -1
- package/dist/baloise-design-system/p-vPrRXkWt.system.js +0 -1
- package/dist/baloise-design-system/p-xbSOW78W.js +0 -1
- package/dist/cjs/bal-doc-app.cjs.entry.js +0 -224
- package/dist/cjs/index-BZ67Dcnb.js +0 -50
- package/dist/cjs/index-BobQkZjn.js +0 -1868
- package/dist/cjs/index-C413E-IK.js +0 -571
- package/dist/cjs/index-CuY5w2n4.js +0 -602
- package/dist/cjs/index-D4vG8k57.js +0 -2885
- package/dist/cjs/index-ifu9fMyU.js +0 -127
- package/dist/cjs/index.esm-CKDqUwIC.js +0 -216
- package/dist/cjs/lottie_light_html-OP40Exqq.js +0 -11704
- package/dist/cjs/purify.es-CJTp6uKN.js +0 -1330
- package/dist/cjs/window-resize.decorator-CVTXganH.js +0 -25
- package/dist/cjs/window-resize.subject-BAEG_21X.js +0 -28
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +0 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +0 -248
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
- package/dist/esm/bal-doc-app.entry.js +0 -222
- package/dist/esm/index-B4k_dH6V.js +0 -1866
- package/dist/esm/index-BU7FUSdu.js +0 -569
- package/dist/esm/index-D6JOtC1P.js +0 -125
- package/dist/esm/index-DgPiq0y0.js +0 -2829
- package/dist/esm/index-dYcsHLfj.js +0 -600
- package/dist/esm/index-zWZxKBfo.js +0 -48
- package/dist/esm/index.esm-Btc0yydR.js +0 -210
- package/dist/esm/lottie_light_html-DuyI5RA6.js +0 -11702
- package/dist/esm/purify.es-B3Q-Lii3.js +0 -1328
- package/dist/esm/window-resize.subject-Dl0mHA8u.js +0 -26
- package/dist/esm-es5/_commonjsHelpers-BFTU3MAI.js +0 -1
- package/dist/esm-es5/animation.decorator-BRrK54mN.js +0 -1
- package/dist/esm-es5/array-CDfSqLEo.js +0 -1
- package/dist/esm-es5/bal-doc-app.entry.js +0 -1
- package/dist/esm-es5/bal-logo.animation-Bm-_mal3.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-B9fGMzyI.js +0 -1
- package/dist/esm-es5/breakpoints.subject-D2jditew.js +0 -1
- package/dist/esm-es5/config.decorator-g255X8DE.js +0 -1
- package/dist/esm-es5/date-CzITO5fO.js +0 -1
- package/dist/esm-es5/device-dF5vUTps.js +0 -1
- package/dist/esm-es5/element-states.decorator-Dk8OIOdm.js +0 -1
- package/dist/esm-es5/floating-ui-ITd61PST.js +0 -1
- package/dist/esm-es5/focus-visible-DqCbGYzv.js +0 -1
- package/dist/esm-es5/focus.decorator-MIxVqnNR.js +0 -1
- package/dist/esm-es5/form-input-DyU_I7Nf.js +0 -1
- package/dist/esm-es5/index-B4k_dH6V.js +0 -1
- package/dist/esm-es5/index-BU7FUSdu.js +0 -1
- package/dist/esm-es5/index-D6JOtC1P.js +0 -1
- package/dist/esm-es5/index-DgPiq0y0.js +0 -2
- package/dist/esm-es5/index-dYcsHLfj.js +0 -1
- package/dist/esm-es5/index-zWZxKBfo.js +0 -1
- package/dist/esm-es5/index.esm-Btc0yydR.js +0 -1
- package/dist/esm-es5/listener-BRXdr5Mk.js +0 -1
- package/dist/esm-es5/lottie_light_html-DuyI5RA6.js +0 -9
- package/dist/esm-es5/mutation.decorator-CFRV3n5T.js +0 -1
- package/dist/esm-es5/number-DI8U2zZ7.js +0 -1
- package/dist/esm-es5/overlays-BE8fsAF4.js +0 -1
- package/dist/esm-es5/purify.es-B3Q-Lii3.js +0 -2
- package/dist/esm-es5/resize.decorator-CdfVlqf4.js +0 -1
- package/dist/esm-es5/scroll-ytafAebU.js +0 -1
- package/dist/esm-es5/swipe.subject-2eHkUcpg.js +0 -1
- package/dist/esm-es5/swiper.util-Dy8CWRH7.js +0 -1
- package/dist/esm-es5/utils-C_qktPg7.js +0 -1
- package/dist/esm-es5/visibility.decorator-B1BbAwZf.js +0 -1
- package/dist/esm-es5/window-resize.decorator-B1fuKglH.js +0 -1
- package/dist/esm-es5/window-resize.subject-Dl0mHA8u.js +0 -1
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +0 -21
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +0 -82
- /package/components/{floating-ui.dom.js → floating-ui.dom.esm.js} +0 -0
- /package/dist/baloise-design-system/{p-DIC_sxLd.js → p-06ecf846.js} +0 -0
- /package/dist/baloise-design-system/{p-JHAE10yr.js → p-09ab29d6.js} +0 -0
- /package/dist/baloise-design-system/{p-BkEdlCZJ.js → p-11f970ba.js} +0 -0
- /package/dist/baloise-design-system/{p-DPYRyPTD.system.js → p-14d0c5f3.system.js} +0 -0
- /package/dist/baloise-design-system/{p-DuObDTix.js → p-1a158488.js} +0 -0
- /package/dist/baloise-design-system/{p-DWgCJRpS.system.js → p-278aed95.system.js} +0 -0
- /package/dist/baloise-design-system/{p-DKjTFqnu.system.js → p-2da669b4.system.js} +0 -0
- /package/dist/baloise-design-system/{p-CDt5sRVY.system.js → p-3ecc7d9a.system.js} +0 -0
- /package/dist/baloise-design-system/{p-dfXERft2.js → p-43c9f5e9.js} +0 -0
- /package/dist/baloise-design-system/{p-BktTDSq4.system.js → p-4c0bad70.system.js} +0 -0
- /package/dist/baloise-design-system/{p-SdtgSPca.system.js → p-4e642b63.system.js} +0 -0
- /package/dist/baloise-design-system/{p-Dz-E2PRm.system.js → p-59d9918c.system.js} +0 -0
- /package/dist/baloise-design-system/{p-FCLKfv6B.js → p-5eb3fbb9.js} +0 -0
- /package/dist/baloise-design-system/{p-BLp4ll3i.js → p-5ed239cc.js} +0 -0
- /package/dist/baloise-design-system/{p-CGJ8YYiA.system.js → p-5f26e92f.system.js} +0 -0
- /package/dist/baloise-design-system/{p-DAOAbG5Y.system.js → p-6b45db53.system.js} +0 -0
- /package/dist/baloise-design-system/{p-Cjiw70Dk.system.js → p-6dbef894.system.js} +0 -0
- /package/dist/baloise-design-system/{p-CTl0uAFp.system.js → p-8a2bab70.system.js} +0 -0
- /package/dist/baloise-design-system/{p-B4aDEwd8.js → p-8dc7ee30.js} +0 -0
- /package/dist/baloise-design-system/{p-DBsOHTWj.js → p-8f2e9a7f.js} +0 -0
- /package/dist/baloise-design-system/{p-CLfE_o7e.system.js → p-907368ff.system.js} +0 -0
- /package/dist/baloise-design-system/{p-wTePExHL.system.js → p-99cfab9c.system.js} +0 -0
- /package/dist/baloise-design-system/{p-Ct27z6g9.js → p-a0fe8d65.js} +0 -0
- /package/dist/baloise-design-system/{p-rBUN7c88.js → p-a65bc5e2.js} +0 -0
- /package/dist/baloise-design-system/{p-DEb5iNGc.js → p-ad81b8ea.js} +0 -0
- /package/dist/baloise-design-system/{p-ByiN-QjD.js → p-ae86d0a0.js} +0 -0
- /package/dist/baloise-design-system/{p-Dd7xQwRJ.system.js → p-ba579059.system.js} +0 -0
- /package/dist/baloise-design-system/{p-BbAtjg9Y.system.js → p-db0895e2.system.js} +0 -0
- /package/dist/baloise-design-system/{p-D1VPLQ5z.js → p-dc98854c.js} +0 -0
- /package/dist/baloise-design-system/{p-D5Gy6WbU.system.js → p-e7d72d7c.system.js} +0 -0
- /package/dist/baloise-design-system/{p-xVPGsAdF.js → p-ec1efe3d.js} +0 -0
- /package/dist/baloise-design-system/{p-BmVI6cLw.js → p-f3f5ce4f.js} +0 -0
- /package/dist/baloise-design-system/{p-DkfWaTsH.system.js → p-fe76780d.system.js} +0 -0
- /package/dist/cjs/{aria-BzkqcV7W.js → aria-7672033f.js} +0 -0
- /package/dist/cjs/{bal-close.i18n-B3X5xlkl.js → bal-close.i18n-56dddd35.js} +0 -0
- /package/dist/cjs/{bal-file-upload.type-BzNkF3YQ.js → bal-file-upload.type-616d69d9.js} +0 -0
- /package/dist/cjs/{bal-input-stepper.i18n-D57DHpYR.js → bal-input-stepper.i18n-dbcd32ab.js} +0 -0
- /package/dist/cjs/{bal-label.i18n-BcNNm9Es.js → bal-label.i18n-a25878af.js} +0 -0
- /package/dist/cjs/{bal-step.util-DQcaqybX.js → bal-step.util-3c009db9.js} +0 -0
- /package/dist/cjs/{bal-tab.util-DFGwGbfr.js → bal-tab.util-d0785ef4.js} +0 -0
- /package/dist/cjs/{bal-time-input.i18n-Bfr3EMVD.js → bal-time-input.i18n-b2bb9182.js} +0 -0
- /package/dist/cjs/{bem-p0PWVN8n.js → bem-81bc6a2d.js} +0 -0
- /package/dist/cjs/{contact-qHJM5IBh.js → contact-61b41246.js} +0 -0
- /package/dist/cjs/{floating-ui.dom-BPU3HWKX.js → floating-ui.dom.esm-13e3f667.js} +0 -0
- /package/dist/cjs/{form-BSlIiqcR.js → form-17c98ac2.js} +0 -0
- /package/dist/cjs/{keyboard.helpers-BkZpVT-9.js → keyboard.helpers-2093e793.js} +0 -0
- /package/dist/cjs/{keys.constant-LnwxHAZo.js → keys.constant-b53da545.js} +0 -0
- /package/dist/cjs/{mask-util-B8hrxmqO.js → mask-util-19c28b4a.js} +0 -0
- /package/dist/cjs/{option-kGk4eTdA.js → option-85af0921.js} +0 -0
- /package/dist/esm/{aria-DBsOHTWj.js → aria-ea150568.js} +0 -0
- /package/dist/esm/{bal-close.i18n-Ct27z6g9.js → bal-close.i18n-f2daa707.js} +0 -0
- /package/dist/esm/{bal-file-upload.type-rBUN7c88.js → bal-file-upload.type-2a70f4ec.js} +0 -0
- /package/dist/esm/{bal-input-stepper.i18n-DEb5iNGc.js → bal-input-stepper.i18n-aaa4a009.js} +0 -0
- /package/dist/esm/{bal-label.i18n-JHAE10yr.js → bal-label.i18n-4212be56.js} +0 -0
- /package/dist/esm/{bal-step.util-DIC_sxLd.js → bal-step.util-3905ad56.js} +0 -0
- /package/dist/esm/{bal-tab.util-BmVI6cLw.js → bal-tab.util-933315fe.js} +0 -0
- /package/dist/esm/{bal-time-input.i18n-B4aDEwd8.js → bal-time-input.i18n-157c7092.js} +0 -0
- /package/dist/esm/{bem-ByiN-QjD.js → bem-8c7d2eb0.js} +0 -0
- /package/dist/esm/{contact-BkEdlCZJ.js → contact-91a44c8c.js} +0 -0
- /package/dist/esm/{floating-ui.dom-DKxvaA1I.js → floating-ui.dom.esm-efb93616.js} +0 -0
- /package/dist/esm/{form-FCLKfv6B.js → form-841232ff.js} +0 -0
- /package/dist/esm/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-159e517d.js} +0 -0
- /package/dist/esm/{keys.constant-xVPGsAdF.js → keys.constant-0eb059e0.js} +0 -0
- /package/dist/esm/{mask-util-DuObDTix.js → mask-util-71edc2b8.js} +0 -0
- /package/dist/esm/{option-BLp4ll3i.js → option-367a5341.js} +0 -0
- /package/dist/esm-es5/{aria-DBsOHTWj.js → aria-ea150568.js} +0 -0
- /package/dist/esm-es5/{bal-close.i18n-Ct27z6g9.js → bal-close.i18n-f2daa707.js} +0 -0
- /package/dist/esm-es5/{bal-file-upload.type-rBUN7c88.js → bal-file-upload.type-2a70f4ec.js} +0 -0
- /package/dist/esm-es5/{bal-input-stepper.i18n-DEb5iNGc.js → bal-input-stepper.i18n-aaa4a009.js} +0 -0
- /package/dist/esm-es5/{bal-label.i18n-JHAE10yr.js → bal-label.i18n-4212be56.js} +0 -0
- /package/dist/esm-es5/{bal-step.util-DIC_sxLd.js → bal-step.util-3905ad56.js} +0 -0
- /package/dist/esm-es5/{bal-tab.util-BmVI6cLw.js → bal-tab.util-933315fe.js} +0 -0
- /package/dist/esm-es5/{bal-time-input.i18n-B4aDEwd8.js → bal-time-input.i18n-157c7092.js} +0 -0
- /package/dist/esm-es5/{bem-ByiN-QjD.js → bem-8c7d2eb0.js} +0 -0
- /package/dist/esm-es5/{contact-BkEdlCZJ.js → contact-91a44c8c.js} +0 -0
- /package/dist/esm-es5/{floating-ui.dom-DKxvaA1I.js → floating-ui.dom.esm-efb93616.js} +0 -0
- /package/dist/esm-es5/{form-FCLKfv6B.js → form-841232ff.js} +0 -0
- /package/dist/esm-es5/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-159e517d.js} +0 -0
- /package/dist/esm-es5/{keys.constant-xVPGsAdF.js → keys.constant-0eb059e0.js} +0 -0
- /package/dist/esm-es5/{mask-util-DuObDTix.js → mask-util-71edc2b8.js} +0 -0
- /package/dist/esm-es5/{option-BLp4ll3i.js → option-367a5341.js} +0 -0
- /package/dist/esm-es5/{tslib.es6-dfXERft2.js → tslib.es6-654e2c24.js} +0 -0
package/components/index5.js
CHANGED
|
@@ -1,1866 +1,558 @@
|
|
|
1
|
-
import { c as commonjsGlobal
|
|
2
|
-
|
|
3
|
-
var lodash_isequal = {exports: {}};
|
|
1
|
+
import { c as commonjsGlobal } from './_commonjsHelpers.js';
|
|
4
2
|
|
|
5
3
|
/**
|
|
6
|
-
*
|
|
4
|
+
* lodash (Custom Build) <https://lodash.com/>
|
|
7
5
|
* Build: `lodash modularize exports="npm" -o ./`
|
|
8
|
-
* Copyright
|
|
6
|
+
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
9
7
|
* Released under MIT license <https://lodash.com/license>
|
|
10
8
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
11
9
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
12
10
|
*/
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
(function (module, exports) {
|
|
20
|
-
/** Used as the size to enable large array optimizations. */
|
|
21
|
-
var LARGE_ARRAY_SIZE = 200;
|
|
22
|
-
|
|
23
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
24
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
25
|
-
|
|
26
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
27
|
-
var COMPARE_PARTIAL_FLAG = 1,
|
|
28
|
-
COMPARE_UNORDERED_FLAG = 2;
|
|
29
|
-
|
|
30
|
-
/** Used as references for various `Number` constants. */
|
|
31
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
32
|
-
|
|
33
|
-
/** `Object#toString` result references. */
|
|
34
|
-
var argsTag = '[object Arguments]',
|
|
35
|
-
arrayTag = '[object Array]',
|
|
36
|
-
asyncTag = '[object AsyncFunction]',
|
|
37
|
-
boolTag = '[object Boolean]',
|
|
38
|
-
dateTag = '[object Date]',
|
|
39
|
-
errorTag = '[object Error]',
|
|
40
|
-
funcTag = '[object Function]',
|
|
41
|
-
genTag = '[object GeneratorFunction]',
|
|
42
|
-
mapTag = '[object Map]',
|
|
43
|
-
numberTag = '[object Number]',
|
|
44
|
-
nullTag = '[object Null]',
|
|
45
|
-
objectTag = '[object Object]',
|
|
46
|
-
promiseTag = '[object Promise]',
|
|
47
|
-
proxyTag = '[object Proxy]',
|
|
48
|
-
regexpTag = '[object RegExp]',
|
|
49
|
-
setTag = '[object Set]',
|
|
50
|
-
stringTag = '[object String]',
|
|
51
|
-
symbolTag = '[object Symbol]',
|
|
52
|
-
undefinedTag = '[object Undefined]',
|
|
53
|
-
weakMapTag = '[object WeakMap]';
|
|
54
|
-
|
|
55
|
-
var arrayBufferTag = '[object ArrayBuffer]',
|
|
56
|
-
dataViewTag = '[object DataView]',
|
|
57
|
-
float32Tag = '[object Float32Array]',
|
|
58
|
-
float64Tag = '[object Float64Array]',
|
|
59
|
-
int8Tag = '[object Int8Array]',
|
|
60
|
-
int16Tag = '[object Int16Array]',
|
|
61
|
-
int32Tag = '[object Int32Array]',
|
|
62
|
-
uint8Tag = '[object Uint8Array]',
|
|
63
|
-
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
64
|
-
uint16Tag = '[object Uint16Array]',
|
|
65
|
-
uint32Tag = '[object Uint32Array]';
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Used to match `RegExp`
|
|
69
|
-
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
70
|
-
*/
|
|
71
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
72
|
-
|
|
73
|
-
/** Used to detect host constructors (Safari). */
|
|
74
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
75
|
-
|
|
76
|
-
/** Used to detect unsigned integer values. */
|
|
77
|
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
78
|
-
|
|
79
|
-
/** Used to identify `toStringTag` values of typed arrays. */
|
|
80
|
-
var typedArrayTags = {};
|
|
81
|
-
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
|
82
|
-
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
|
83
|
-
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
|
84
|
-
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
|
85
|
-
typedArrayTags[uint32Tag] = true;
|
|
86
|
-
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
|
|
87
|
-
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
|
88
|
-
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
|
|
89
|
-
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
|
90
|
-
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
|
|
91
|
-
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
|
|
92
|
-
typedArrayTags[setTag] = typedArrayTags[stringTag] =
|
|
93
|
-
typedArrayTags[weakMapTag] = false;
|
|
94
|
-
|
|
95
|
-
/** Detect free variable `global` from Node.js. */
|
|
96
|
-
var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
97
|
-
|
|
98
|
-
/** Detect free variable `self`. */
|
|
99
|
-
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
100
|
-
|
|
101
|
-
/** Used as a reference to the global object. */
|
|
102
|
-
var root = freeGlobal || freeSelf || Function('return this')();
|
|
103
|
-
|
|
104
|
-
/** Detect free variable `exports`. */
|
|
105
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
106
|
-
|
|
107
|
-
/** Detect free variable `module`. */
|
|
108
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
109
|
-
|
|
110
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
111
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
112
|
-
|
|
113
|
-
/** Detect free variable `process` from Node.js. */
|
|
114
|
-
var freeProcess = moduleExports && freeGlobal.process;
|
|
115
|
-
|
|
116
|
-
/** Used to access faster Node.js helpers. */
|
|
117
|
-
var nodeUtil = (function() {
|
|
118
|
-
try {
|
|
119
|
-
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
120
|
-
} catch (e) {}
|
|
121
|
-
}());
|
|
122
|
-
|
|
123
|
-
/* Node.js helper references. */
|
|
124
|
-
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* A specialized version of `_.filter` for arrays without support for
|
|
128
|
-
* iteratee shorthands.
|
|
129
|
-
*
|
|
130
|
-
* @private
|
|
131
|
-
* @param {Array} [array] The array to iterate over.
|
|
132
|
-
* @param {Function} predicate The function invoked per iteration.
|
|
133
|
-
* @returns {Array} Returns the new filtered array.
|
|
134
|
-
*/
|
|
135
|
-
function arrayFilter(array, predicate) {
|
|
136
|
-
var index = -1,
|
|
137
|
-
length = array == null ? 0 : array.length,
|
|
138
|
-
resIndex = 0,
|
|
139
|
-
result = [];
|
|
140
|
-
|
|
141
|
-
while (++index < length) {
|
|
142
|
-
var value = array[index];
|
|
143
|
-
if (predicate(value, index, array)) {
|
|
144
|
-
result[resIndex++] = value;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
return result;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Appends the elements of `values` to `array`.
|
|
152
|
-
*
|
|
153
|
-
* @private
|
|
154
|
-
* @param {Array} array The array to modify.
|
|
155
|
-
* @param {Array} values The values to append.
|
|
156
|
-
* @returns {Array} Returns `array`.
|
|
157
|
-
*/
|
|
158
|
-
function arrayPush(array, values) {
|
|
159
|
-
var index = -1,
|
|
160
|
-
length = values.length,
|
|
161
|
-
offset = array.length;
|
|
162
|
-
|
|
163
|
-
while (++index < length) {
|
|
164
|
-
array[offset + index] = values[index];
|
|
165
|
-
}
|
|
166
|
-
return array;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* A specialized version of `_.some` for arrays without support for iteratee
|
|
171
|
-
* shorthands.
|
|
172
|
-
*
|
|
173
|
-
* @private
|
|
174
|
-
* @param {Array} [array] The array to iterate over.
|
|
175
|
-
* @param {Function} predicate The function invoked per iteration.
|
|
176
|
-
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
|
177
|
-
* else `false`.
|
|
178
|
-
*/
|
|
179
|
-
function arraySome(array, predicate) {
|
|
180
|
-
var index = -1,
|
|
181
|
-
length = array == null ? 0 : array.length;
|
|
182
|
-
|
|
183
|
-
while (++index < length) {
|
|
184
|
-
if (predicate(array[index], index, array)) {
|
|
185
|
-
return true;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
return false;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* The base implementation of `_.times` without support for iteratee shorthands
|
|
193
|
-
* or max array length checks.
|
|
194
|
-
*
|
|
195
|
-
* @private
|
|
196
|
-
* @param {number} n The number of times to invoke `iteratee`.
|
|
197
|
-
* @param {Function} iteratee The function invoked per iteration.
|
|
198
|
-
* @returns {Array} Returns the array of results.
|
|
199
|
-
*/
|
|
200
|
-
function baseTimes(n, iteratee) {
|
|
201
|
-
var index = -1,
|
|
202
|
-
result = Array(n);
|
|
203
|
-
|
|
204
|
-
while (++index < n) {
|
|
205
|
-
result[index] = iteratee(index);
|
|
206
|
-
}
|
|
207
|
-
return result;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* The base implementation of `_.unary` without support for storing metadata.
|
|
212
|
-
*
|
|
213
|
-
* @private
|
|
214
|
-
* @param {Function} func The function to cap arguments for.
|
|
215
|
-
* @returns {Function} Returns the new capped function.
|
|
216
|
-
*/
|
|
217
|
-
function baseUnary(func) {
|
|
218
|
-
return function(value) {
|
|
219
|
-
return func(value);
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Checks if a `cache` value for `key` exists.
|
|
225
|
-
*
|
|
226
|
-
* @private
|
|
227
|
-
* @param {Object} cache The cache to query.
|
|
228
|
-
* @param {string} key The key of the entry to check.
|
|
229
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
230
|
-
*/
|
|
231
|
-
function cacheHas(cache, key) {
|
|
232
|
-
return cache.has(key);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Gets the value at `key` of `object`.
|
|
237
|
-
*
|
|
238
|
-
* @private
|
|
239
|
-
* @param {Object} [object] The object to query.
|
|
240
|
-
* @param {string} key The key of the property to get.
|
|
241
|
-
* @returns {*} Returns the property value.
|
|
242
|
-
*/
|
|
243
|
-
function getValue(object, key) {
|
|
244
|
-
return object == null ? undefined : object[key];
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Converts `map` to its key-value pairs.
|
|
249
|
-
*
|
|
250
|
-
* @private
|
|
251
|
-
* @param {Object} map The map to convert.
|
|
252
|
-
* @returns {Array} Returns the key-value pairs.
|
|
253
|
-
*/
|
|
254
|
-
function mapToArray(map) {
|
|
255
|
-
var index = -1,
|
|
256
|
-
result = Array(map.size);
|
|
257
|
-
|
|
258
|
-
map.forEach(function(value, key) {
|
|
259
|
-
result[++index] = [key, value];
|
|
260
|
-
});
|
|
261
|
-
return result;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Creates a unary function that invokes `func` with its argument transformed.
|
|
266
|
-
*
|
|
267
|
-
* @private
|
|
268
|
-
* @param {Function} func The function to wrap.
|
|
269
|
-
* @param {Function} transform The argument transform.
|
|
270
|
-
* @returns {Function} Returns the new function.
|
|
271
|
-
*/
|
|
272
|
-
function overArg(func, transform) {
|
|
273
|
-
return function(arg) {
|
|
274
|
-
return func(transform(arg));
|
|
275
|
-
};
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* Converts `set` to an array of its values.
|
|
280
|
-
*
|
|
281
|
-
* @private
|
|
282
|
-
* @param {Object} set The set to convert.
|
|
283
|
-
* @returns {Array} Returns the values.
|
|
284
|
-
*/
|
|
285
|
-
function setToArray(set) {
|
|
286
|
-
var index = -1,
|
|
287
|
-
result = Array(set.size);
|
|
288
|
-
|
|
289
|
-
set.forEach(function(value) {
|
|
290
|
-
result[++index] = value;
|
|
291
|
-
});
|
|
292
|
-
return result;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
/** Used for built-in method references. */
|
|
296
|
-
var arrayProto = Array.prototype,
|
|
297
|
-
funcProto = Function.prototype,
|
|
298
|
-
objectProto = Object.prototype;
|
|
299
|
-
|
|
300
|
-
/** Used to detect overreaching core-js shims. */
|
|
301
|
-
var coreJsData = root['__core-js_shared__'];
|
|
302
|
-
|
|
303
|
-
/** Used to resolve the decompiled source of functions. */
|
|
304
|
-
var funcToString = funcProto.toString;
|
|
305
|
-
|
|
306
|
-
/** Used to check objects for own properties. */
|
|
307
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
308
|
-
|
|
309
|
-
/** Used to detect methods masquerading as native. */
|
|
310
|
-
var maskSrcKey = (function() {
|
|
311
|
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
312
|
-
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
313
|
-
}());
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* Used to resolve the
|
|
317
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
318
|
-
* of values.
|
|
319
|
-
*/
|
|
320
|
-
var nativeObjectToString = objectProto.toString;
|
|
321
|
-
|
|
322
|
-
/** Used to detect if a method is native. */
|
|
323
|
-
var reIsNative = RegExp('^' +
|
|
324
|
-
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
|
325
|
-
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
326
|
-
);
|
|
327
|
-
|
|
328
|
-
/** Built-in value references. */
|
|
329
|
-
var Buffer = moduleExports ? root.Buffer : undefined,
|
|
330
|
-
Symbol = root.Symbol,
|
|
331
|
-
Uint8Array = root.Uint8Array,
|
|
332
|
-
propertyIsEnumerable = objectProto.propertyIsEnumerable,
|
|
333
|
-
splice = arrayProto.splice,
|
|
334
|
-
symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
335
|
-
|
|
336
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
337
|
-
var nativeGetSymbols = Object.getOwnPropertySymbols,
|
|
338
|
-
nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
|
|
339
|
-
nativeKeys = overArg(Object.keys, Object);
|
|
340
|
-
|
|
341
|
-
/* Built-in method references that are verified to be native. */
|
|
342
|
-
var DataView = getNative(root, 'DataView'),
|
|
343
|
-
Map = getNative(root, 'Map'),
|
|
344
|
-
Promise = getNative(root, 'Promise'),
|
|
345
|
-
Set = getNative(root, 'Set'),
|
|
346
|
-
WeakMap = getNative(root, 'WeakMap'),
|
|
347
|
-
nativeCreate = getNative(Object, 'create');
|
|
348
|
-
|
|
349
|
-
/** Used to detect maps, sets, and weakmaps. */
|
|
350
|
-
var dataViewCtorString = toSource(DataView),
|
|
351
|
-
mapCtorString = toSource(Map),
|
|
352
|
-
promiseCtorString = toSource(Promise),
|
|
353
|
-
setCtorString = toSource(Set),
|
|
354
|
-
weakMapCtorString = toSource(WeakMap);
|
|
355
|
-
|
|
356
|
-
/** Used to convert symbols to primitives and strings. */
|
|
357
|
-
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
358
|
-
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* Creates a hash object.
|
|
362
|
-
*
|
|
363
|
-
* @private
|
|
364
|
-
* @constructor
|
|
365
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
366
|
-
*/
|
|
367
|
-
function Hash(entries) {
|
|
368
|
-
var index = -1,
|
|
369
|
-
length = entries == null ? 0 : entries.length;
|
|
370
|
-
|
|
371
|
-
this.clear();
|
|
372
|
-
while (++index < length) {
|
|
373
|
-
var entry = entries[index];
|
|
374
|
-
this.set(entry[0], entry[1]);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* Removes all key-value entries from the hash.
|
|
380
|
-
*
|
|
381
|
-
* @private
|
|
382
|
-
* @name clear
|
|
383
|
-
* @memberOf Hash
|
|
384
|
-
*/
|
|
385
|
-
function hashClear() {
|
|
386
|
-
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
387
|
-
this.size = 0;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* Removes `key` and its value from the hash.
|
|
392
|
-
*
|
|
393
|
-
* @private
|
|
394
|
-
* @name delete
|
|
395
|
-
* @memberOf Hash
|
|
396
|
-
* @param {Object} hash The hash to modify.
|
|
397
|
-
* @param {string} key The key of the value to remove.
|
|
398
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
399
|
-
*/
|
|
400
|
-
function hashDelete(key) {
|
|
401
|
-
var result = this.has(key) && delete this.__data__[key];
|
|
402
|
-
this.size -= result ? 1 : 0;
|
|
403
|
-
return result;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* Gets the hash value for `key`.
|
|
408
|
-
*
|
|
409
|
-
* @private
|
|
410
|
-
* @name get
|
|
411
|
-
* @memberOf Hash
|
|
412
|
-
* @param {string} key The key of the value to get.
|
|
413
|
-
* @returns {*} Returns the entry value.
|
|
414
|
-
*/
|
|
415
|
-
function hashGet(key) {
|
|
416
|
-
var data = this.__data__;
|
|
417
|
-
if (nativeCreate) {
|
|
418
|
-
var result = data[key];
|
|
419
|
-
return result === HASH_UNDEFINED ? undefined : result;
|
|
420
|
-
}
|
|
421
|
-
return hasOwnProperty.call(data, key) ? data[key] : undefined;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Checks if a hash value for `key` exists.
|
|
426
|
-
*
|
|
427
|
-
* @private
|
|
428
|
-
* @name has
|
|
429
|
-
* @memberOf Hash
|
|
430
|
-
* @param {string} key The key of the entry to check.
|
|
431
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
432
|
-
*/
|
|
433
|
-
function hashHas(key) {
|
|
434
|
-
var data = this.__data__;
|
|
435
|
-
return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* Sets the hash `key` to `value`.
|
|
440
|
-
*
|
|
441
|
-
* @private
|
|
442
|
-
* @name set
|
|
443
|
-
* @memberOf Hash
|
|
444
|
-
* @param {string} key The key of the value to set.
|
|
445
|
-
* @param {*} value The value to set.
|
|
446
|
-
* @returns {Object} Returns the hash instance.
|
|
447
|
-
*/
|
|
448
|
-
function hashSet(key, value) {
|
|
449
|
-
var data = this.__data__;
|
|
450
|
-
this.size += this.has(key) ? 0 : 1;
|
|
451
|
-
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
|
|
452
|
-
return this;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
// Add methods to `Hash`.
|
|
456
|
-
Hash.prototype.clear = hashClear;
|
|
457
|
-
Hash.prototype['delete'] = hashDelete;
|
|
458
|
-
Hash.prototype.get = hashGet;
|
|
459
|
-
Hash.prototype.has = hashHas;
|
|
460
|
-
Hash.prototype.set = hashSet;
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Creates an list cache object.
|
|
464
|
-
*
|
|
465
|
-
* @private
|
|
466
|
-
* @constructor
|
|
467
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
468
|
-
*/
|
|
469
|
-
function ListCache(entries) {
|
|
470
|
-
var index = -1,
|
|
471
|
-
length = entries == null ? 0 : entries.length;
|
|
472
|
-
|
|
473
|
-
this.clear();
|
|
474
|
-
while (++index < length) {
|
|
475
|
-
var entry = entries[index];
|
|
476
|
-
this.set(entry[0], entry[1]);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* Removes all key-value entries from the list cache.
|
|
482
|
-
*
|
|
483
|
-
* @private
|
|
484
|
-
* @name clear
|
|
485
|
-
* @memberOf ListCache
|
|
486
|
-
*/
|
|
487
|
-
function listCacheClear() {
|
|
488
|
-
this.__data__ = [];
|
|
489
|
-
this.size = 0;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
* Removes `key` and its value from the list cache.
|
|
494
|
-
*
|
|
495
|
-
* @private
|
|
496
|
-
* @name delete
|
|
497
|
-
* @memberOf ListCache
|
|
498
|
-
* @param {string} key The key of the value to remove.
|
|
499
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
500
|
-
*/
|
|
501
|
-
function listCacheDelete(key) {
|
|
502
|
-
var data = this.__data__,
|
|
503
|
-
index = assocIndexOf(data, key);
|
|
504
|
-
|
|
505
|
-
if (index < 0) {
|
|
506
|
-
return false;
|
|
507
|
-
}
|
|
508
|
-
var lastIndex = data.length - 1;
|
|
509
|
-
if (index == lastIndex) {
|
|
510
|
-
data.pop();
|
|
511
|
-
} else {
|
|
512
|
-
splice.call(data, index, 1);
|
|
513
|
-
}
|
|
514
|
-
--this.size;
|
|
515
|
-
return true;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* Gets the list cache value for `key`.
|
|
520
|
-
*
|
|
521
|
-
* @private
|
|
522
|
-
* @name get
|
|
523
|
-
* @memberOf ListCache
|
|
524
|
-
* @param {string} key The key of the value to get.
|
|
525
|
-
* @returns {*} Returns the entry value.
|
|
526
|
-
*/
|
|
527
|
-
function listCacheGet(key) {
|
|
528
|
-
var data = this.__data__,
|
|
529
|
-
index = assocIndexOf(data, key);
|
|
530
|
-
|
|
531
|
-
return index < 0 ? undefined : data[index][1];
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* Checks if a list cache value for `key` exists.
|
|
536
|
-
*
|
|
537
|
-
* @private
|
|
538
|
-
* @name has
|
|
539
|
-
* @memberOf ListCache
|
|
540
|
-
* @param {string} key The key of the entry to check.
|
|
541
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
542
|
-
*/
|
|
543
|
-
function listCacheHas(key) {
|
|
544
|
-
return assocIndexOf(this.__data__, key) > -1;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* Sets the list cache `key` to `value`.
|
|
549
|
-
*
|
|
550
|
-
* @private
|
|
551
|
-
* @name set
|
|
552
|
-
* @memberOf ListCache
|
|
553
|
-
* @param {string} key The key of the value to set.
|
|
554
|
-
* @param {*} value The value to set.
|
|
555
|
-
* @returns {Object} Returns the list cache instance.
|
|
556
|
-
*/
|
|
557
|
-
function listCacheSet(key, value) {
|
|
558
|
-
var data = this.__data__,
|
|
559
|
-
index = assocIndexOf(data, key);
|
|
560
|
-
|
|
561
|
-
if (index < 0) {
|
|
562
|
-
++this.size;
|
|
563
|
-
data.push([key, value]);
|
|
564
|
-
} else {
|
|
565
|
-
data[index][1] = value;
|
|
566
|
-
}
|
|
567
|
-
return this;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
// Add methods to `ListCache`.
|
|
571
|
-
ListCache.prototype.clear = listCacheClear;
|
|
572
|
-
ListCache.prototype['delete'] = listCacheDelete;
|
|
573
|
-
ListCache.prototype.get = listCacheGet;
|
|
574
|
-
ListCache.prototype.has = listCacheHas;
|
|
575
|
-
ListCache.prototype.set = listCacheSet;
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* Creates a map cache object to store key-value pairs.
|
|
579
|
-
*
|
|
580
|
-
* @private
|
|
581
|
-
* @constructor
|
|
582
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
583
|
-
*/
|
|
584
|
-
function MapCache(entries) {
|
|
585
|
-
var index = -1,
|
|
586
|
-
length = entries == null ? 0 : entries.length;
|
|
587
|
-
|
|
588
|
-
this.clear();
|
|
589
|
-
while (++index < length) {
|
|
590
|
-
var entry = entries[index];
|
|
591
|
-
this.set(entry[0], entry[1]);
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* Removes all key-value entries from the map.
|
|
597
|
-
*
|
|
598
|
-
* @private
|
|
599
|
-
* @name clear
|
|
600
|
-
* @memberOf MapCache
|
|
601
|
-
*/
|
|
602
|
-
function mapCacheClear() {
|
|
603
|
-
this.size = 0;
|
|
604
|
-
this.__data__ = {
|
|
605
|
-
'hash': new Hash,
|
|
606
|
-
'map': new (Map || ListCache),
|
|
607
|
-
'string': new Hash
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* Removes `key` and its value from the map.
|
|
613
|
-
*
|
|
614
|
-
* @private
|
|
615
|
-
* @name delete
|
|
616
|
-
* @memberOf MapCache
|
|
617
|
-
* @param {string} key The key of the value to remove.
|
|
618
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
619
|
-
*/
|
|
620
|
-
function mapCacheDelete(key) {
|
|
621
|
-
var result = getMapData(this, key)['delete'](key);
|
|
622
|
-
this.size -= result ? 1 : 0;
|
|
623
|
-
return result;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
/**
|
|
627
|
-
* Gets the map value for `key`.
|
|
628
|
-
*
|
|
629
|
-
* @private
|
|
630
|
-
* @name get
|
|
631
|
-
* @memberOf MapCache
|
|
632
|
-
* @param {string} key The key of the value to get.
|
|
633
|
-
* @returns {*} Returns the entry value.
|
|
634
|
-
*/
|
|
635
|
-
function mapCacheGet(key) {
|
|
636
|
-
return getMapData(this, key).get(key);
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* Checks if a map value for `key` exists.
|
|
641
|
-
*
|
|
642
|
-
* @private
|
|
643
|
-
* @name has
|
|
644
|
-
* @memberOf MapCache
|
|
645
|
-
* @param {string} key The key of the entry to check.
|
|
646
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
647
|
-
*/
|
|
648
|
-
function mapCacheHas(key) {
|
|
649
|
-
return getMapData(this, key).has(key);
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* Sets the map `key` to `value`.
|
|
654
|
-
*
|
|
655
|
-
* @private
|
|
656
|
-
* @name set
|
|
657
|
-
* @memberOf MapCache
|
|
658
|
-
* @param {string} key The key of the value to set.
|
|
659
|
-
* @param {*} value The value to set.
|
|
660
|
-
* @returns {Object} Returns the map cache instance.
|
|
661
|
-
*/
|
|
662
|
-
function mapCacheSet(key, value) {
|
|
663
|
-
var data = getMapData(this, key),
|
|
664
|
-
size = data.size;
|
|
665
|
-
|
|
666
|
-
data.set(key, value);
|
|
667
|
-
this.size += data.size == size ? 0 : 1;
|
|
668
|
-
return this;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
// Add methods to `MapCache`.
|
|
672
|
-
MapCache.prototype.clear = mapCacheClear;
|
|
673
|
-
MapCache.prototype['delete'] = mapCacheDelete;
|
|
674
|
-
MapCache.prototype.get = mapCacheGet;
|
|
675
|
-
MapCache.prototype.has = mapCacheHas;
|
|
676
|
-
MapCache.prototype.set = mapCacheSet;
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
*
|
|
680
|
-
* Creates an array cache object to store unique values.
|
|
681
|
-
*
|
|
682
|
-
* @private
|
|
683
|
-
* @constructor
|
|
684
|
-
* @param {Array} [values] The values to cache.
|
|
685
|
-
*/
|
|
686
|
-
function SetCache(values) {
|
|
687
|
-
var index = -1,
|
|
688
|
-
length = values == null ? 0 : values.length;
|
|
689
|
-
|
|
690
|
-
this.__data__ = new MapCache;
|
|
691
|
-
while (++index < length) {
|
|
692
|
-
this.add(values[index]);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* Adds `value` to the array cache.
|
|
698
|
-
*
|
|
699
|
-
* @private
|
|
700
|
-
* @name add
|
|
701
|
-
* @memberOf SetCache
|
|
702
|
-
* @alias push
|
|
703
|
-
* @param {*} value The value to cache.
|
|
704
|
-
* @returns {Object} Returns the cache instance.
|
|
705
|
-
*/
|
|
706
|
-
function setCacheAdd(value) {
|
|
707
|
-
this.__data__.set(value, HASH_UNDEFINED);
|
|
708
|
-
return this;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* Checks if `value` is in the array cache.
|
|
713
|
-
*
|
|
714
|
-
* @private
|
|
715
|
-
* @name has
|
|
716
|
-
* @memberOf SetCache
|
|
717
|
-
* @param {*} value The value to search for.
|
|
718
|
-
* @returns {number} Returns `true` if `value` is found, else `false`.
|
|
719
|
-
*/
|
|
720
|
-
function setCacheHas(value) {
|
|
721
|
-
return this.__data__.has(value);
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
// Add methods to `SetCache`.
|
|
725
|
-
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
726
|
-
SetCache.prototype.has = setCacheHas;
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* Creates a stack cache object to store key-value pairs.
|
|
730
|
-
*
|
|
731
|
-
* @private
|
|
732
|
-
* @constructor
|
|
733
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
734
|
-
*/
|
|
735
|
-
function Stack(entries) {
|
|
736
|
-
var data = this.__data__ = new ListCache(entries);
|
|
737
|
-
this.size = data.size;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
/**
|
|
741
|
-
* Removes all key-value entries from the stack.
|
|
742
|
-
*
|
|
743
|
-
* @private
|
|
744
|
-
* @name clear
|
|
745
|
-
* @memberOf Stack
|
|
746
|
-
*/
|
|
747
|
-
function stackClear() {
|
|
748
|
-
this.__data__ = new ListCache;
|
|
749
|
-
this.size = 0;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* Removes `key` and its value from the stack.
|
|
754
|
-
*
|
|
755
|
-
* @private
|
|
756
|
-
* @name delete
|
|
757
|
-
* @memberOf Stack
|
|
758
|
-
* @param {string} key The key of the value to remove.
|
|
759
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
760
|
-
*/
|
|
761
|
-
function stackDelete(key) {
|
|
762
|
-
var data = this.__data__,
|
|
763
|
-
result = data['delete'](key);
|
|
764
|
-
|
|
765
|
-
this.size = data.size;
|
|
766
|
-
return result;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* Gets the stack value for `key`.
|
|
771
|
-
*
|
|
772
|
-
* @private
|
|
773
|
-
* @name get
|
|
774
|
-
* @memberOf Stack
|
|
775
|
-
* @param {string} key The key of the value to get.
|
|
776
|
-
* @returns {*} Returns the entry value.
|
|
777
|
-
*/
|
|
778
|
-
function stackGet(key) {
|
|
779
|
-
return this.__data__.get(key);
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* Checks if a stack value for `key` exists.
|
|
784
|
-
*
|
|
785
|
-
* @private
|
|
786
|
-
* @name has
|
|
787
|
-
* @memberOf Stack
|
|
788
|
-
* @param {string} key The key of the entry to check.
|
|
789
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
790
|
-
*/
|
|
791
|
-
function stackHas(key) {
|
|
792
|
-
return this.__data__.has(key);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* Sets the stack `key` to `value`.
|
|
797
|
-
*
|
|
798
|
-
* @private
|
|
799
|
-
* @name set
|
|
800
|
-
* @memberOf Stack
|
|
801
|
-
* @param {string} key The key of the value to set.
|
|
802
|
-
* @param {*} value The value to set.
|
|
803
|
-
* @returns {Object} Returns the stack cache instance.
|
|
804
|
-
*/
|
|
805
|
-
function stackSet(key, value) {
|
|
806
|
-
var data = this.__data__;
|
|
807
|
-
if (data instanceof ListCache) {
|
|
808
|
-
var pairs = data.__data__;
|
|
809
|
-
if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
|
810
|
-
pairs.push([key, value]);
|
|
811
|
-
this.size = ++data.size;
|
|
812
|
-
return this;
|
|
813
|
-
}
|
|
814
|
-
data = this.__data__ = new MapCache(pairs);
|
|
815
|
-
}
|
|
816
|
-
data.set(key, value);
|
|
817
|
-
this.size = data.size;
|
|
818
|
-
return this;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
// Add methods to `Stack`.
|
|
822
|
-
Stack.prototype.clear = stackClear;
|
|
823
|
-
Stack.prototype['delete'] = stackDelete;
|
|
824
|
-
Stack.prototype.get = stackGet;
|
|
825
|
-
Stack.prototype.has = stackHas;
|
|
826
|
-
Stack.prototype.set = stackSet;
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* Creates an array of the enumerable property names of the array-like `value`.
|
|
830
|
-
*
|
|
831
|
-
* @private
|
|
832
|
-
* @param {*} value The value to query.
|
|
833
|
-
* @param {boolean} inherited Specify returning inherited property names.
|
|
834
|
-
* @returns {Array} Returns the array of property names.
|
|
835
|
-
*/
|
|
836
|
-
function arrayLikeKeys(value, inherited) {
|
|
837
|
-
var isArr = isArray(value),
|
|
838
|
-
isArg = !isArr && isArguments(value),
|
|
839
|
-
isBuff = !isArr && !isArg && isBuffer(value),
|
|
840
|
-
isType = !isArr && !isArg && !isBuff && isTypedArray(value),
|
|
841
|
-
skipIndexes = isArr || isArg || isBuff || isType,
|
|
842
|
-
result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
843
|
-
length = result.length;
|
|
12
|
+
/** Used as references for various `Number` constants. */
|
|
13
|
+
var INFINITY = 1 / 0,
|
|
14
|
+
MAX_SAFE_INTEGER = 9007199254740991,
|
|
15
|
+
MAX_INTEGER = 1.7976931348623157e+308,
|
|
16
|
+
NAN = 0 / 0;
|
|
844
17
|
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
!(skipIndexes && (
|
|
848
|
-
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
849
|
-
key == 'length' ||
|
|
850
|
-
// Node.js 0.10 has enumerable non-index properties on buffers.
|
|
851
|
-
(isBuff && (key == 'offset' || key == 'parent')) ||
|
|
852
|
-
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
853
|
-
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
|
854
|
-
// Skip index properties.
|
|
855
|
-
isIndex(key, length)
|
|
856
|
-
))) {
|
|
857
|
-
result.push(key);
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
return result;
|
|
861
|
-
}
|
|
18
|
+
/** `Object#toString` result references. */
|
|
19
|
+
var symbolTag = '[object Symbol]';
|
|
862
20
|
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
*
|
|
866
|
-
* @private
|
|
867
|
-
* @param {Array} array The array to inspect.
|
|
868
|
-
* @param {*} key The key to search for.
|
|
869
|
-
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
870
|
-
*/
|
|
871
|
-
function assocIndexOf(array, key) {
|
|
872
|
-
var length = array.length;
|
|
873
|
-
while (length--) {
|
|
874
|
-
if (eq(array[length][0], key)) {
|
|
875
|
-
return length;
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
return -1;
|
|
879
|
-
}
|
|
21
|
+
/** Used to match leading and trailing whitespace. */
|
|
22
|
+
var reTrim = /^\s+|\s+$/g;
|
|
880
23
|
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
|
884
|
-
* symbols of `object`.
|
|
885
|
-
*
|
|
886
|
-
* @private
|
|
887
|
-
* @param {Object} object The object to query.
|
|
888
|
-
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
889
|
-
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
|
890
|
-
* @returns {Array} Returns the array of property names and symbols.
|
|
891
|
-
*/
|
|
892
|
-
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
893
|
-
var result = keysFunc(object);
|
|
894
|
-
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
895
|
-
}
|
|
24
|
+
/** Used to detect bad signed hexadecimal string values. */
|
|
25
|
+
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
896
26
|
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
*
|
|
900
|
-
* @private
|
|
901
|
-
* @param {*} value The value to query.
|
|
902
|
-
* @returns {string} Returns the `toStringTag`.
|
|
903
|
-
*/
|
|
904
|
-
function baseGetTag(value) {
|
|
905
|
-
if (value == null) {
|
|
906
|
-
return value === undefined ? undefinedTag : nullTag;
|
|
907
|
-
}
|
|
908
|
-
return (symToStringTag && symToStringTag in Object(value))
|
|
909
|
-
? getRawTag(value)
|
|
910
|
-
: objectToString(value);
|
|
911
|
-
}
|
|
27
|
+
/** Used to detect binary string values. */
|
|
28
|
+
var reIsBinary = /^0b[01]+$/i;
|
|
912
29
|
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
*
|
|
916
|
-
* @private
|
|
917
|
-
* @param {*} value The value to check.
|
|
918
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
919
|
-
*/
|
|
920
|
-
function baseIsArguments(value) {
|
|
921
|
-
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
|
922
|
-
}
|
|
30
|
+
/** Used to detect octal string values. */
|
|
31
|
+
var reIsOctal = /^0o[0-7]+$/i;
|
|
923
32
|
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
* @param {*} value The value to compare.
|
|
930
|
-
* @param {*} other The other value to compare.
|
|
931
|
-
* @param {boolean} bitmask The bitmask flags.
|
|
932
|
-
* 1 - Unordered comparison
|
|
933
|
-
* 2 - Partial comparison
|
|
934
|
-
* @param {Function} [customizer] The function to customize comparisons.
|
|
935
|
-
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
|
936
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
937
|
-
*/
|
|
938
|
-
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
939
|
-
if (value === other) {
|
|
940
|
-
return true;
|
|
941
|
-
}
|
|
942
|
-
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
|
943
|
-
return value !== value && other !== other;
|
|
944
|
-
}
|
|
945
|
-
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
946
|
-
}
|
|
33
|
+
/** Used to compose unicode character classes. */
|
|
34
|
+
var rsAstralRange = '\\ud800-\\udfff',
|
|
35
|
+
rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
|
|
36
|
+
rsComboSymbolsRange = '\\u20d0-\\u20f0',
|
|
37
|
+
rsVarRange = '\\ufe0e\\ufe0f';
|
|
947
38
|
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
958
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
959
|
-
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
|
960
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
961
|
-
*/
|
|
962
|
-
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
963
|
-
var objIsArr = isArray(object),
|
|
964
|
-
othIsArr = isArray(other),
|
|
965
|
-
objTag = objIsArr ? arrayTag : getTag(object),
|
|
966
|
-
othTag = othIsArr ? arrayTag : getTag(other);
|
|
39
|
+
/** Used to compose unicode capture groups. */
|
|
40
|
+
var rsAstral = '[' + rsAstralRange + ']',
|
|
41
|
+
rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
|
|
42
|
+
rsFitz = '\\ud83c[\\udffb-\\udfff]',
|
|
43
|
+
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
|
|
44
|
+
rsNonAstral = '[^' + rsAstralRange + ']',
|
|
45
|
+
rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
|
|
46
|
+
rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
|
|
47
|
+
rsZWJ = '\\u200d';
|
|
967
48
|
|
|
968
|
-
|
|
969
|
-
|
|
49
|
+
/** Used to compose unicode regexes. */
|
|
50
|
+
var reOptMod = rsModifier + '?',
|
|
51
|
+
rsOptVar = '[' + rsVarRange + ']?',
|
|
52
|
+
rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
|
|
53
|
+
rsSeq = rsOptVar + reOptMod + rsOptJoin,
|
|
54
|
+
rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
|
|
970
55
|
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
isSameTag = objTag == othTag;
|
|
56
|
+
/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
|
|
57
|
+
var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
|
|
974
58
|
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
return false;
|
|
978
|
-
}
|
|
979
|
-
objIsArr = true;
|
|
980
|
-
objIsObj = false;
|
|
981
|
-
}
|
|
982
|
-
if (isSameTag && !objIsObj) {
|
|
983
|
-
stack || (stack = new Stack);
|
|
984
|
-
return (objIsArr || isTypedArray(object))
|
|
985
|
-
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
|
986
|
-
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
987
|
-
}
|
|
988
|
-
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
|
989
|
-
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
|
990
|
-
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
|
59
|
+
/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
|
|
60
|
+
var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');
|
|
991
61
|
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
othUnwrapped = othIsWrapped ? other.value() : other;
|
|
62
|
+
/** Built-in method references without a dependency on `root`. */
|
|
63
|
+
var freeParseInt = parseInt;
|
|
995
64
|
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
if (!isSameTag) {
|
|
1001
|
-
return false;
|
|
1002
|
-
}
|
|
1003
|
-
stack || (stack = new Stack);
|
|
1004
|
-
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
1005
|
-
}
|
|
65
|
+
/** Detect free variable `global` from Node.js. */
|
|
66
|
+
var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
1006
67
|
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
*
|
|
1010
|
-
* @private
|
|
1011
|
-
* @param {*} value The value to check.
|
|
1012
|
-
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
1013
|
-
* else `false`.
|
|
1014
|
-
*/
|
|
1015
|
-
function baseIsNative(value) {
|
|
1016
|
-
if (!isObject(value) || isMasked(value)) {
|
|
1017
|
-
return false;
|
|
1018
|
-
}
|
|
1019
|
-
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
1020
|
-
return pattern.test(toSource(value));
|
|
1021
|
-
}
|
|
68
|
+
/** Detect free variable `self`. */
|
|
69
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
1022
70
|
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
*
|
|
1026
|
-
* @private
|
|
1027
|
-
* @param {*} value The value to check.
|
|
1028
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
1029
|
-
*/
|
|
1030
|
-
function baseIsTypedArray(value) {
|
|
1031
|
-
return isObjectLike(value) &&
|
|
1032
|
-
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
1033
|
-
}
|
|
71
|
+
/** Used as a reference to the global object. */
|
|
72
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
1034
73
|
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
if (!isPrototype(object)) {
|
|
1044
|
-
return nativeKeys(object);
|
|
1045
|
-
}
|
|
1046
|
-
var result = [];
|
|
1047
|
-
for (var key in Object(object)) {
|
|
1048
|
-
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
|
1049
|
-
result.push(key);
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
return result;
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
/**
|
|
1056
|
-
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
|
1057
|
-
* partial deep comparisons.
|
|
1058
|
-
*
|
|
1059
|
-
* @private
|
|
1060
|
-
* @param {Array} array The array to compare.
|
|
1061
|
-
* @param {Array} other The other array to compare.
|
|
1062
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
1063
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
1064
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
1065
|
-
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
|
1066
|
-
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
|
1067
|
-
*/
|
|
1068
|
-
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
1069
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
|
1070
|
-
arrLength = array.length,
|
|
1071
|
-
othLength = other.length;
|
|
1072
|
-
|
|
1073
|
-
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
1074
|
-
return false;
|
|
1075
|
-
}
|
|
1076
|
-
// Assume cyclic values are equal.
|
|
1077
|
-
var stacked = stack.get(array);
|
|
1078
|
-
if (stacked && stack.get(other)) {
|
|
1079
|
-
return stacked == other;
|
|
1080
|
-
}
|
|
1081
|
-
var index = -1,
|
|
1082
|
-
result = true,
|
|
1083
|
-
seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
|
|
1084
|
-
|
|
1085
|
-
stack.set(array, other);
|
|
1086
|
-
stack.set(other, array);
|
|
1087
|
-
|
|
1088
|
-
// Ignore non-index properties.
|
|
1089
|
-
while (++index < arrLength) {
|
|
1090
|
-
var arrValue = array[index],
|
|
1091
|
-
othValue = other[index];
|
|
1092
|
-
|
|
1093
|
-
if (customizer) {
|
|
1094
|
-
var compared = isPartial
|
|
1095
|
-
? customizer(othValue, arrValue, index, other, array, stack)
|
|
1096
|
-
: customizer(arrValue, othValue, index, array, other, stack);
|
|
1097
|
-
}
|
|
1098
|
-
if (compared !== undefined) {
|
|
1099
|
-
if (compared) {
|
|
1100
|
-
continue;
|
|
1101
|
-
}
|
|
1102
|
-
result = false;
|
|
1103
|
-
break;
|
|
1104
|
-
}
|
|
1105
|
-
// Recursively compare arrays (susceptible to call stack limits).
|
|
1106
|
-
if (seen) {
|
|
1107
|
-
if (!arraySome(other, function(othValue, othIndex) {
|
|
1108
|
-
if (!cacheHas(seen, othIndex) &&
|
|
1109
|
-
(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
|
1110
|
-
return seen.push(othIndex);
|
|
1111
|
-
}
|
|
1112
|
-
})) {
|
|
1113
|
-
result = false;
|
|
1114
|
-
break;
|
|
1115
|
-
}
|
|
1116
|
-
} else if (!(
|
|
1117
|
-
arrValue === othValue ||
|
|
1118
|
-
equalFunc(arrValue, othValue, bitmask, customizer, stack)
|
|
1119
|
-
)) {
|
|
1120
|
-
result = false;
|
|
1121
|
-
break;
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
stack['delete'](array);
|
|
1125
|
-
stack['delete'](other);
|
|
1126
|
-
return result;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
/**
|
|
1130
|
-
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
1131
|
-
* the same `toStringTag`.
|
|
1132
|
-
*
|
|
1133
|
-
* **Note:** This function only supports comparing values with tags of
|
|
1134
|
-
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
|
1135
|
-
*
|
|
1136
|
-
* @private
|
|
1137
|
-
* @param {Object} object The object to compare.
|
|
1138
|
-
* @param {Object} other The other object to compare.
|
|
1139
|
-
* @param {string} tag The `toStringTag` of the objects to compare.
|
|
1140
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
1141
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
1142
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
1143
|
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
1144
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
1145
|
-
*/
|
|
1146
|
-
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
1147
|
-
switch (tag) {
|
|
1148
|
-
case dataViewTag:
|
|
1149
|
-
if ((object.byteLength != other.byteLength) ||
|
|
1150
|
-
(object.byteOffset != other.byteOffset)) {
|
|
1151
|
-
return false;
|
|
1152
|
-
}
|
|
1153
|
-
object = object.buffer;
|
|
1154
|
-
other = other.buffer;
|
|
1155
|
-
|
|
1156
|
-
case arrayBufferTag:
|
|
1157
|
-
if ((object.byteLength != other.byteLength) ||
|
|
1158
|
-
!equalFunc(new Uint8Array(object), new Uint8Array(other))) {
|
|
1159
|
-
return false;
|
|
1160
|
-
}
|
|
1161
|
-
return true;
|
|
1162
|
-
|
|
1163
|
-
case boolTag:
|
|
1164
|
-
case dateTag:
|
|
1165
|
-
case numberTag:
|
|
1166
|
-
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
|
1167
|
-
// Invalid dates are coerced to `NaN`.
|
|
1168
|
-
return eq(+object, +other);
|
|
1169
|
-
|
|
1170
|
-
case errorTag:
|
|
1171
|
-
return object.name == other.name && object.message == other.message;
|
|
1172
|
-
|
|
1173
|
-
case regexpTag:
|
|
1174
|
-
case stringTag:
|
|
1175
|
-
// Coerce regexes to strings and treat strings, primitives and objects,
|
|
1176
|
-
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
|
1177
|
-
// for more details.
|
|
1178
|
-
return object == (other + '');
|
|
1179
|
-
|
|
1180
|
-
case mapTag:
|
|
1181
|
-
var convert = mapToArray;
|
|
1182
|
-
|
|
1183
|
-
case setTag:
|
|
1184
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
|
|
1185
|
-
convert || (convert = setToArray);
|
|
1186
|
-
|
|
1187
|
-
if (object.size != other.size && !isPartial) {
|
|
1188
|
-
return false;
|
|
1189
|
-
}
|
|
1190
|
-
// Assume cyclic values are equal.
|
|
1191
|
-
var stacked = stack.get(object);
|
|
1192
|
-
if (stacked) {
|
|
1193
|
-
return stacked == other;
|
|
1194
|
-
}
|
|
1195
|
-
bitmask |= COMPARE_UNORDERED_FLAG;
|
|
1196
|
-
|
|
1197
|
-
// Recursively compare objects (susceptible to call stack limits).
|
|
1198
|
-
stack.set(object, other);
|
|
1199
|
-
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
1200
|
-
stack['delete'](object);
|
|
1201
|
-
return result;
|
|
1202
|
-
|
|
1203
|
-
case symbolTag:
|
|
1204
|
-
if (symbolValueOf) {
|
|
1205
|
-
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
return false;
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
/**
|
|
1212
|
-
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
1213
|
-
* partial deep comparisons.
|
|
1214
|
-
*
|
|
1215
|
-
* @private
|
|
1216
|
-
* @param {Object} object The object to compare.
|
|
1217
|
-
* @param {Object} other The other object to compare.
|
|
1218
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
1219
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
1220
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
1221
|
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
1222
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
1223
|
-
*/
|
|
1224
|
-
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
1225
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
|
1226
|
-
objProps = getAllKeys(object),
|
|
1227
|
-
objLength = objProps.length,
|
|
1228
|
-
othProps = getAllKeys(other),
|
|
1229
|
-
othLength = othProps.length;
|
|
1230
|
-
|
|
1231
|
-
if (objLength != othLength && !isPartial) {
|
|
1232
|
-
return false;
|
|
1233
|
-
}
|
|
1234
|
-
var index = objLength;
|
|
1235
|
-
while (index--) {
|
|
1236
|
-
var key = objProps[index];
|
|
1237
|
-
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
|
1238
|
-
return false;
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
// Assume cyclic values are equal.
|
|
1242
|
-
var stacked = stack.get(object);
|
|
1243
|
-
if (stacked && stack.get(other)) {
|
|
1244
|
-
return stacked == other;
|
|
1245
|
-
}
|
|
1246
|
-
var result = true;
|
|
1247
|
-
stack.set(object, other);
|
|
1248
|
-
stack.set(other, object);
|
|
1249
|
-
|
|
1250
|
-
var skipCtor = isPartial;
|
|
1251
|
-
while (++index < objLength) {
|
|
1252
|
-
key = objProps[index];
|
|
1253
|
-
var objValue = object[key],
|
|
1254
|
-
othValue = other[key];
|
|
1255
|
-
|
|
1256
|
-
if (customizer) {
|
|
1257
|
-
var compared = isPartial
|
|
1258
|
-
? customizer(othValue, objValue, key, other, object, stack)
|
|
1259
|
-
: customizer(objValue, othValue, key, object, other, stack);
|
|
1260
|
-
}
|
|
1261
|
-
// Recursively compare objects (susceptible to call stack limits).
|
|
1262
|
-
if (!(compared === undefined
|
|
1263
|
-
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
|
1264
|
-
: compared
|
|
1265
|
-
)) {
|
|
1266
|
-
result = false;
|
|
1267
|
-
break;
|
|
1268
|
-
}
|
|
1269
|
-
skipCtor || (skipCtor = key == 'constructor');
|
|
1270
|
-
}
|
|
1271
|
-
if (result && !skipCtor) {
|
|
1272
|
-
var objCtor = object.constructor,
|
|
1273
|
-
othCtor = other.constructor;
|
|
1274
|
-
|
|
1275
|
-
// Non `Object` object instances with different constructors are not equal.
|
|
1276
|
-
if (objCtor != othCtor &&
|
|
1277
|
-
('constructor' in object && 'constructor' in other) &&
|
|
1278
|
-
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
|
1279
|
-
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
|
1280
|
-
result = false;
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
stack['delete'](object);
|
|
1284
|
-
stack['delete'](other);
|
|
1285
|
-
return result;
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
/**
|
|
1289
|
-
* Creates an array of own enumerable property names and symbols of `object`.
|
|
1290
|
-
*
|
|
1291
|
-
* @private
|
|
1292
|
-
* @param {Object} object The object to query.
|
|
1293
|
-
* @returns {Array} Returns the array of property names and symbols.
|
|
1294
|
-
*/
|
|
1295
|
-
function getAllKeys(object) {
|
|
1296
|
-
return baseGetAllKeys(object, keys, getSymbols);
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
/**
|
|
1300
|
-
* Gets the data for `map`.
|
|
1301
|
-
*
|
|
1302
|
-
* @private
|
|
1303
|
-
* @param {Object} map The map to query.
|
|
1304
|
-
* @param {string} key The reference key.
|
|
1305
|
-
* @returns {*} Returns the map data.
|
|
1306
|
-
*/
|
|
1307
|
-
function getMapData(map, key) {
|
|
1308
|
-
var data = map.__data__;
|
|
1309
|
-
return isKeyable(key)
|
|
1310
|
-
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
1311
|
-
: data.map;
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
/**
|
|
1315
|
-
* Gets the native function at `key` of `object`.
|
|
1316
|
-
*
|
|
1317
|
-
* @private
|
|
1318
|
-
* @param {Object} object The object to query.
|
|
1319
|
-
* @param {string} key The key of the method to get.
|
|
1320
|
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
1321
|
-
*/
|
|
1322
|
-
function getNative(object, key) {
|
|
1323
|
-
var value = getValue(object, key);
|
|
1324
|
-
return baseIsNative(value) ? value : undefined;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
/**
|
|
1328
|
-
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
1329
|
-
*
|
|
1330
|
-
* @private
|
|
1331
|
-
* @param {*} value The value to query.
|
|
1332
|
-
* @returns {string} Returns the raw `toStringTag`.
|
|
1333
|
-
*/
|
|
1334
|
-
function getRawTag(value) {
|
|
1335
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
|
1336
|
-
tag = value[symToStringTag];
|
|
1337
|
-
|
|
1338
|
-
try {
|
|
1339
|
-
value[symToStringTag] = undefined;
|
|
1340
|
-
var unmasked = true;
|
|
1341
|
-
} catch (e) {}
|
|
1342
|
-
|
|
1343
|
-
var result = nativeObjectToString.call(value);
|
|
1344
|
-
if (unmasked) {
|
|
1345
|
-
if (isOwn) {
|
|
1346
|
-
value[symToStringTag] = tag;
|
|
1347
|
-
} else {
|
|
1348
|
-
delete value[symToStringTag];
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
return result;
|
|
1352
|
-
}
|
|
74
|
+
/**
|
|
75
|
+
* Gets the size of an ASCII `string`.
|
|
76
|
+
*
|
|
77
|
+
* @private
|
|
78
|
+
* @param {string} string The string inspect.
|
|
79
|
+
* @returns {number} Returns the string size.
|
|
80
|
+
*/
|
|
81
|
+
var asciiSize = baseProperty('length');
|
|
1353
82
|
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
}
|
|
1365
|
-
object = Object(object);
|
|
1366
|
-
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
|
1367
|
-
return propertyIsEnumerable.call(object, symbol);
|
|
1368
|
-
});
|
|
1369
|
-
};
|
|
83
|
+
/**
|
|
84
|
+
* Converts an ASCII `string` to an array.
|
|
85
|
+
*
|
|
86
|
+
* @private
|
|
87
|
+
* @param {string} string The string to convert.
|
|
88
|
+
* @returns {Array} Returns the converted array.
|
|
89
|
+
*/
|
|
90
|
+
function asciiToArray(string) {
|
|
91
|
+
return string.split('');
|
|
92
|
+
}
|
|
1370
93
|
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
94
|
+
/**
|
|
95
|
+
* The base implementation of `_.property` without support for deep paths.
|
|
96
|
+
*
|
|
97
|
+
* @private
|
|
98
|
+
* @param {string} key The key of the property to get.
|
|
99
|
+
* @returns {Function} Returns the new accessor function.
|
|
100
|
+
*/
|
|
101
|
+
function baseProperty(key) {
|
|
102
|
+
return function(object) {
|
|
103
|
+
return object == null ? undefined : object[key];
|
|
104
|
+
};
|
|
105
|
+
}
|
|
1379
106
|
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
107
|
+
/**
|
|
108
|
+
* Checks if `string` contains Unicode symbols.
|
|
109
|
+
*
|
|
110
|
+
* @private
|
|
111
|
+
* @param {string} string The string to inspect.
|
|
112
|
+
* @returns {boolean} Returns `true` if a symbol is found, else `false`.
|
|
113
|
+
*/
|
|
114
|
+
function hasUnicode(string) {
|
|
115
|
+
return reHasUnicode.test(string);
|
|
116
|
+
}
|
|
1390
117
|
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
118
|
+
/**
|
|
119
|
+
* Gets the number of symbols in `string`.
|
|
120
|
+
*
|
|
121
|
+
* @private
|
|
122
|
+
* @param {string} string The string to inspect.
|
|
123
|
+
* @returns {number} Returns the string size.
|
|
124
|
+
*/
|
|
125
|
+
function stringSize(string) {
|
|
126
|
+
return hasUnicode(string)
|
|
127
|
+
? unicodeSize(string)
|
|
128
|
+
: asciiSize(string);
|
|
129
|
+
}
|
|
1403
130
|
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
(value > -1 && value % 1 == 0 && value < length);
|
|
1417
|
-
}
|
|
131
|
+
/**
|
|
132
|
+
* Converts `string` to an array.
|
|
133
|
+
*
|
|
134
|
+
* @private
|
|
135
|
+
* @param {string} string The string to convert.
|
|
136
|
+
* @returns {Array} Returns the converted array.
|
|
137
|
+
*/
|
|
138
|
+
function stringToArray(string) {
|
|
139
|
+
return hasUnicode(string)
|
|
140
|
+
? unicodeToArray(string)
|
|
141
|
+
: asciiToArray(string);
|
|
142
|
+
}
|
|
1418
143
|
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
144
|
+
/**
|
|
145
|
+
* Gets the size of a Unicode `string`.
|
|
146
|
+
*
|
|
147
|
+
* @private
|
|
148
|
+
* @param {string} string The string inspect.
|
|
149
|
+
* @returns {number} Returns the string size.
|
|
150
|
+
*/
|
|
151
|
+
function unicodeSize(string) {
|
|
152
|
+
var result = reUnicode.lastIndex = 0;
|
|
153
|
+
while (reUnicode.test(string)) {
|
|
154
|
+
result++;
|
|
155
|
+
}
|
|
156
|
+
return result;
|
|
157
|
+
}
|
|
1432
158
|
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
159
|
+
/**
|
|
160
|
+
* Converts a Unicode `string` to an array.
|
|
161
|
+
*
|
|
162
|
+
* @private
|
|
163
|
+
* @param {string} string The string to convert.
|
|
164
|
+
* @returns {Array} Returns the converted array.
|
|
165
|
+
*/
|
|
166
|
+
function unicodeToArray(string) {
|
|
167
|
+
return string.match(reUnicode) || [];
|
|
168
|
+
}
|
|
1443
169
|
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
*
|
|
1447
|
-
* @private
|
|
1448
|
-
* @param {*} value The value to check.
|
|
1449
|
-
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
1450
|
-
*/
|
|
1451
|
-
function isPrototype(value) {
|
|
1452
|
-
var Ctor = value && value.constructor,
|
|
1453
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
|
170
|
+
/** Used for built-in method references. */
|
|
171
|
+
var objectProto = Object.prototype;
|
|
1454
172
|
|
|
1455
|
-
|
|
1456
|
-
|
|
173
|
+
/**
|
|
174
|
+
* Used to resolve the
|
|
175
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
176
|
+
* of values.
|
|
177
|
+
*/
|
|
178
|
+
var objectToString = objectProto.toString;
|
|
1457
179
|
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
*
|
|
1461
|
-
* @private
|
|
1462
|
-
* @param {*} value The value to convert.
|
|
1463
|
-
* @returns {string} Returns the converted string.
|
|
1464
|
-
*/
|
|
1465
|
-
function objectToString(value) {
|
|
1466
|
-
return nativeObjectToString.call(value);
|
|
1467
|
-
}
|
|
180
|
+
/** Built-in value references. */
|
|
181
|
+
var Symbol = root.Symbol;
|
|
1468
182
|
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
* @private
|
|
1473
|
-
* @param {Function} func The function to convert.
|
|
1474
|
-
* @returns {string} Returns the source code.
|
|
1475
|
-
*/
|
|
1476
|
-
function toSource(func) {
|
|
1477
|
-
if (func != null) {
|
|
1478
|
-
try {
|
|
1479
|
-
return funcToString.call(func);
|
|
1480
|
-
} catch (e) {}
|
|
1481
|
-
try {
|
|
1482
|
-
return (func + '');
|
|
1483
|
-
} catch (e) {}
|
|
1484
|
-
}
|
|
1485
|
-
return '';
|
|
1486
|
-
}
|
|
183
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
184
|
+
var nativeCeil = Math.ceil,
|
|
185
|
+
nativeFloor = Math.floor;
|
|
1487
186
|
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
* comparison between two values to determine if they are equivalent.
|
|
1492
|
-
*
|
|
1493
|
-
* @static
|
|
1494
|
-
* @memberOf _
|
|
1495
|
-
* @since 4.0.0
|
|
1496
|
-
* @category Lang
|
|
1497
|
-
* @param {*} value The value to compare.
|
|
1498
|
-
* @param {*} other The other value to compare.
|
|
1499
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
1500
|
-
* @example
|
|
1501
|
-
*
|
|
1502
|
-
* var object = { 'a': 1 };
|
|
1503
|
-
* var other = { 'a': 1 };
|
|
1504
|
-
*
|
|
1505
|
-
* _.eq(object, object);
|
|
1506
|
-
* // => true
|
|
1507
|
-
*
|
|
1508
|
-
* _.eq(object, other);
|
|
1509
|
-
* // => false
|
|
1510
|
-
*
|
|
1511
|
-
* _.eq('a', 'a');
|
|
1512
|
-
* // => true
|
|
1513
|
-
*
|
|
1514
|
-
* _.eq('a', Object('a'));
|
|
1515
|
-
* // => false
|
|
1516
|
-
*
|
|
1517
|
-
* _.eq(NaN, NaN);
|
|
1518
|
-
* // => true
|
|
1519
|
-
*/
|
|
1520
|
-
function eq(value, other) {
|
|
1521
|
-
return value === other || (value !== value && other !== other);
|
|
1522
|
-
}
|
|
187
|
+
/** Used to convert symbols to primitives and strings. */
|
|
188
|
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
189
|
+
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
1523
190
|
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
191
|
+
/**
|
|
192
|
+
* The base implementation of `_.repeat` which doesn't coerce arguments.
|
|
193
|
+
*
|
|
194
|
+
* @private
|
|
195
|
+
* @param {string} string The string to repeat.
|
|
196
|
+
* @param {number} n The number of times to repeat the string.
|
|
197
|
+
* @returns {string} Returns the repeated string.
|
|
198
|
+
*/
|
|
199
|
+
function baseRepeat(string, n) {
|
|
200
|
+
var result = '';
|
|
201
|
+
if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
|
|
202
|
+
return result;
|
|
203
|
+
}
|
|
204
|
+
// Leverage the exponentiation by squaring algorithm for a faster repeat.
|
|
205
|
+
// See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.
|
|
206
|
+
do {
|
|
207
|
+
if (n % 2) {
|
|
208
|
+
result += string;
|
|
209
|
+
}
|
|
210
|
+
n = nativeFloor(n / 2);
|
|
211
|
+
if (n) {
|
|
212
|
+
string += string;
|
|
213
|
+
}
|
|
214
|
+
} while (n);
|
|
215
|
+
|
|
216
|
+
return result;
|
|
217
|
+
}
|
|
1546
218
|
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
219
|
+
/**
|
|
220
|
+
* The base implementation of `_.slice` without an iteratee call guard.
|
|
221
|
+
*
|
|
222
|
+
* @private
|
|
223
|
+
* @param {Array} array The array to slice.
|
|
224
|
+
* @param {number} [start=0] The start position.
|
|
225
|
+
* @param {number} [end=array.length] The end position.
|
|
226
|
+
* @returns {Array} Returns the slice of `array`.
|
|
227
|
+
*/
|
|
228
|
+
function baseSlice(array, start, end) {
|
|
229
|
+
var index = -1,
|
|
230
|
+
length = array.length;
|
|
231
|
+
|
|
232
|
+
if (start < 0) {
|
|
233
|
+
start = -start > length ? 0 : (length + start);
|
|
234
|
+
}
|
|
235
|
+
end = end > length ? length : end;
|
|
236
|
+
if (end < 0) {
|
|
237
|
+
end += length;
|
|
238
|
+
}
|
|
239
|
+
length = start > end ? 0 : ((end - start) >>> 0);
|
|
240
|
+
start >>>= 0;
|
|
241
|
+
|
|
242
|
+
var result = Array(length);
|
|
243
|
+
while (++index < length) {
|
|
244
|
+
result[index] = array[index + start];
|
|
245
|
+
}
|
|
246
|
+
return result;
|
|
247
|
+
}
|
|
1571
248
|
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
* _.isArrayLike('abc');
|
|
1592
|
-
* // => true
|
|
1593
|
-
*
|
|
1594
|
-
* _.isArrayLike(_.noop);
|
|
1595
|
-
* // => false
|
|
1596
|
-
*/
|
|
1597
|
-
function isArrayLike(value) {
|
|
1598
|
-
return value != null && isLength(value.length) && !isFunction(value);
|
|
1599
|
-
}
|
|
249
|
+
/**
|
|
250
|
+
* The base implementation of `_.toString` which doesn't convert nullish
|
|
251
|
+
* values to empty strings.
|
|
252
|
+
*
|
|
253
|
+
* @private
|
|
254
|
+
* @param {*} value The value to process.
|
|
255
|
+
* @returns {string} Returns the string.
|
|
256
|
+
*/
|
|
257
|
+
function baseToString(value) {
|
|
258
|
+
// Exit early for strings to avoid a performance hit in some environments.
|
|
259
|
+
if (typeof value == 'string') {
|
|
260
|
+
return value;
|
|
261
|
+
}
|
|
262
|
+
if (isSymbol(value)) {
|
|
263
|
+
return symbolToString ? symbolToString.call(value) : '';
|
|
264
|
+
}
|
|
265
|
+
var result = (value + '');
|
|
266
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
267
|
+
}
|
|
1600
268
|
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
* _.isBuffer(new Uint8Array(2));
|
|
1616
|
-
* // => false
|
|
1617
|
-
*/
|
|
1618
|
-
var isBuffer = nativeIsBuffer || stubFalse;
|
|
269
|
+
/**
|
|
270
|
+
* Casts `array` to a slice if it's needed.
|
|
271
|
+
*
|
|
272
|
+
* @private
|
|
273
|
+
* @param {Array} array The array to inspect.
|
|
274
|
+
* @param {number} start The start position.
|
|
275
|
+
* @param {number} [end=array.length] The end position.
|
|
276
|
+
* @returns {Array} Returns the cast slice.
|
|
277
|
+
*/
|
|
278
|
+
function castSlice(array, start, end) {
|
|
279
|
+
var length = array.length;
|
|
280
|
+
end = end === undefined ? length : end;
|
|
281
|
+
return (!start && end >= length) ? array : baseSlice(array, start, end);
|
|
282
|
+
}
|
|
1619
283
|
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
*
|
|
1642
|
-
* _.isEqual(object, other);
|
|
1643
|
-
* // => true
|
|
1644
|
-
*
|
|
1645
|
-
* object === other;
|
|
1646
|
-
* // => false
|
|
1647
|
-
*/
|
|
1648
|
-
function isEqual(value, other) {
|
|
1649
|
-
return baseIsEqual(value, other);
|
|
1650
|
-
}
|
|
284
|
+
/**
|
|
285
|
+
* Creates the padding for `string` based on `length`. The `chars` string
|
|
286
|
+
* is truncated if the number of characters exceeds `length`.
|
|
287
|
+
*
|
|
288
|
+
* @private
|
|
289
|
+
* @param {number} length The padding length.
|
|
290
|
+
* @param {string} [chars=' '] The string used as padding.
|
|
291
|
+
* @returns {string} Returns the padding for `string`.
|
|
292
|
+
*/
|
|
293
|
+
function createPadding(length, chars) {
|
|
294
|
+
chars = chars === undefined ? ' ' : baseToString(chars);
|
|
295
|
+
|
|
296
|
+
var charsLength = chars.length;
|
|
297
|
+
if (charsLength < 2) {
|
|
298
|
+
return charsLength ? baseRepeat(chars, length) : chars;
|
|
299
|
+
}
|
|
300
|
+
var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
|
|
301
|
+
return hasUnicode(chars)
|
|
302
|
+
? castSlice(stringToArray(result), 0, length).join('')
|
|
303
|
+
: result.slice(0, length);
|
|
304
|
+
}
|
|
1651
305
|
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
306
|
+
/**
|
|
307
|
+
* Checks if `value` is the
|
|
308
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
309
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
310
|
+
*
|
|
311
|
+
* @static
|
|
312
|
+
* @memberOf _
|
|
313
|
+
* @since 0.1.0
|
|
314
|
+
* @category Lang
|
|
315
|
+
* @param {*} value The value to check.
|
|
316
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
317
|
+
* @example
|
|
318
|
+
*
|
|
319
|
+
* _.isObject({});
|
|
320
|
+
* // => true
|
|
321
|
+
*
|
|
322
|
+
* _.isObject([1, 2, 3]);
|
|
323
|
+
* // => true
|
|
324
|
+
*
|
|
325
|
+
* _.isObject(_.noop);
|
|
326
|
+
* // => true
|
|
327
|
+
*
|
|
328
|
+
* _.isObject(null);
|
|
329
|
+
* // => false
|
|
330
|
+
*/
|
|
331
|
+
function isObject(value) {
|
|
332
|
+
var type = typeof value;
|
|
333
|
+
return !!value && (type == 'object' || type == 'function');
|
|
334
|
+
}
|
|
1678
335
|
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
return typeof value == 'number' &&
|
|
1707
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
1708
|
-
}
|
|
336
|
+
/**
|
|
337
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
338
|
+
* and has a `typeof` result of "object".
|
|
339
|
+
*
|
|
340
|
+
* @static
|
|
341
|
+
* @memberOf _
|
|
342
|
+
* @since 4.0.0
|
|
343
|
+
* @category Lang
|
|
344
|
+
* @param {*} value The value to check.
|
|
345
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
346
|
+
* @example
|
|
347
|
+
*
|
|
348
|
+
* _.isObjectLike({});
|
|
349
|
+
* // => true
|
|
350
|
+
*
|
|
351
|
+
* _.isObjectLike([1, 2, 3]);
|
|
352
|
+
* // => true
|
|
353
|
+
*
|
|
354
|
+
* _.isObjectLike(_.noop);
|
|
355
|
+
* // => false
|
|
356
|
+
*
|
|
357
|
+
* _.isObjectLike(null);
|
|
358
|
+
* // => false
|
|
359
|
+
*/
|
|
360
|
+
function isObjectLike(value) {
|
|
361
|
+
return !!value && typeof value == 'object';
|
|
362
|
+
}
|
|
1709
363
|
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
*
|
|
1732
|
-
* _.isObject(null);
|
|
1733
|
-
* // => false
|
|
1734
|
-
*/
|
|
1735
|
-
function isObject(value) {
|
|
1736
|
-
var type = typeof value;
|
|
1737
|
-
return value != null && (type == 'object' || type == 'function');
|
|
1738
|
-
}
|
|
364
|
+
/**
|
|
365
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
366
|
+
*
|
|
367
|
+
* @static
|
|
368
|
+
* @memberOf _
|
|
369
|
+
* @since 4.0.0
|
|
370
|
+
* @category Lang
|
|
371
|
+
* @param {*} value The value to check.
|
|
372
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
373
|
+
* @example
|
|
374
|
+
*
|
|
375
|
+
* _.isSymbol(Symbol.iterator);
|
|
376
|
+
* // => true
|
|
377
|
+
*
|
|
378
|
+
* _.isSymbol('abc');
|
|
379
|
+
* // => false
|
|
380
|
+
*/
|
|
381
|
+
function isSymbol(value) {
|
|
382
|
+
return typeof value == 'symbol' ||
|
|
383
|
+
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
384
|
+
}
|
|
1739
385
|
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
386
|
+
/**
|
|
387
|
+
* Converts `value` to a finite number.
|
|
388
|
+
*
|
|
389
|
+
* @static
|
|
390
|
+
* @memberOf _
|
|
391
|
+
* @since 4.12.0
|
|
392
|
+
* @category Lang
|
|
393
|
+
* @param {*} value The value to convert.
|
|
394
|
+
* @returns {number} Returns the converted number.
|
|
395
|
+
* @example
|
|
396
|
+
*
|
|
397
|
+
* _.toFinite(3.2);
|
|
398
|
+
* // => 3.2
|
|
399
|
+
*
|
|
400
|
+
* _.toFinite(Number.MIN_VALUE);
|
|
401
|
+
* // => 5e-324
|
|
402
|
+
*
|
|
403
|
+
* _.toFinite(Infinity);
|
|
404
|
+
* // => 1.7976931348623157e+308
|
|
405
|
+
*
|
|
406
|
+
* _.toFinite('3.2');
|
|
407
|
+
* // => 3.2
|
|
408
|
+
*/
|
|
409
|
+
function toFinite(value) {
|
|
410
|
+
if (!value) {
|
|
411
|
+
return value === 0 ? value : 0;
|
|
412
|
+
}
|
|
413
|
+
value = toNumber(value);
|
|
414
|
+
if (value === INFINITY || value === -INFINITY) {
|
|
415
|
+
var sign = (value < 0 ? -1 : 1);
|
|
416
|
+
return sign * MAX_INTEGER;
|
|
417
|
+
}
|
|
418
|
+
return value === value ? value : 0;
|
|
419
|
+
}
|
|
1767
420
|
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
421
|
+
/**
|
|
422
|
+
* Converts `value` to an integer.
|
|
423
|
+
*
|
|
424
|
+
* **Note:** This method is loosely based on
|
|
425
|
+
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
|
|
426
|
+
*
|
|
427
|
+
* @static
|
|
428
|
+
* @memberOf _
|
|
429
|
+
* @since 4.0.0
|
|
430
|
+
* @category Lang
|
|
431
|
+
* @param {*} value The value to convert.
|
|
432
|
+
* @returns {number} Returns the converted integer.
|
|
433
|
+
* @example
|
|
434
|
+
*
|
|
435
|
+
* _.toInteger(3.2);
|
|
436
|
+
* // => 3
|
|
437
|
+
*
|
|
438
|
+
* _.toInteger(Number.MIN_VALUE);
|
|
439
|
+
* // => 0
|
|
440
|
+
*
|
|
441
|
+
* _.toInteger(Infinity);
|
|
442
|
+
* // => 1.7976931348623157e+308
|
|
443
|
+
*
|
|
444
|
+
* _.toInteger('3.2');
|
|
445
|
+
* // => 3
|
|
446
|
+
*/
|
|
447
|
+
function toInteger(value) {
|
|
448
|
+
var result = toFinite(value),
|
|
449
|
+
remainder = result % 1;
|
|
1786
450
|
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
*
|
|
1790
|
-
* **Note:** Non-object values are coerced to objects. See the
|
|
1791
|
-
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1792
|
-
* for more details.
|
|
1793
|
-
*
|
|
1794
|
-
* @static
|
|
1795
|
-
* @since 0.1.0
|
|
1796
|
-
* @memberOf _
|
|
1797
|
-
* @category Object
|
|
1798
|
-
* @param {Object} object The object to query.
|
|
1799
|
-
* @returns {Array} Returns the array of property names.
|
|
1800
|
-
* @example
|
|
1801
|
-
*
|
|
1802
|
-
* function Foo() {
|
|
1803
|
-
* this.a = 1;
|
|
1804
|
-
* this.b = 2;
|
|
1805
|
-
* }
|
|
1806
|
-
*
|
|
1807
|
-
* Foo.prototype.c = 3;
|
|
1808
|
-
*
|
|
1809
|
-
* _.keys(new Foo);
|
|
1810
|
-
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
1811
|
-
*
|
|
1812
|
-
* _.keys('hi');
|
|
1813
|
-
* // => ['0', '1']
|
|
1814
|
-
*/
|
|
1815
|
-
function keys(object) {
|
|
1816
|
-
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
1817
|
-
}
|
|
451
|
+
return result === result ? (remainder ? result - remainder : result) : 0;
|
|
452
|
+
}
|
|
1818
453
|
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
454
|
+
/**
|
|
455
|
+
* Converts `value` to a number.
|
|
456
|
+
*
|
|
457
|
+
* @static
|
|
458
|
+
* @memberOf _
|
|
459
|
+
* @since 4.0.0
|
|
460
|
+
* @category Lang
|
|
461
|
+
* @param {*} value The value to process.
|
|
462
|
+
* @returns {number} Returns the number.
|
|
463
|
+
* @example
|
|
464
|
+
*
|
|
465
|
+
* _.toNumber(3.2);
|
|
466
|
+
* // => 3.2
|
|
467
|
+
*
|
|
468
|
+
* _.toNumber(Number.MIN_VALUE);
|
|
469
|
+
* // => 5e-324
|
|
470
|
+
*
|
|
471
|
+
* _.toNumber(Infinity);
|
|
472
|
+
* // => Infinity
|
|
473
|
+
*
|
|
474
|
+
* _.toNumber('3.2');
|
|
475
|
+
* // => 3.2
|
|
476
|
+
*/
|
|
477
|
+
function toNumber(value) {
|
|
478
|
+
if (typeof value == 'number') {
|
|
479
|
+
return value;
|
|
480
|
+
}
|
|
481
|
+
if (isSymbol(value)) {
|
|
482
|
+
return NAN;
|
|
483
|
+
}
|
|
484
|
+
if (isObject(value)) {
|
|
485
|
+
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
486
|
+
value = isObject(other) ? (other + '') : other;
|
|
487
|
+
}
|
|
488
|
+
if (typeof value != 'string') {
|
|
489
|
+
return value === 0 ? value : +value;
|
|
490
|
+
}
|
|
491
|
+
value = value.replace(reTrim, '');
|
|
492
|
+
var isBinary = reIsBinary.test(value);
|
|
493
|
+
return (isBinary || reIsOctal.test(value))
|
|
494
|
+
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
495
|
+
: (reIsBadHex.test(value) ? NAN : +value);
|
|
496
|
+
}
|
|
1840
497
|
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
498
|
+
/**
|
|
499
|
+
* Converts `value` to a string. An empty string is returned for `null`
|
|
500
|
+
* and `undefined` values. The sign of `-0` is preserved.
|
|
501
|
+
*
|
|
502
|
+
* @static
|
|
503
|
+
* @memberOf _
|
|
504
|
+
* @since 4.0.0
|
|
505
|
+
* @category Lang
|
|
506
|
+
* @param {*} value The value to process.
|
|
507
|
+
* @returns {string} Returns the string.
|
|
508
|
+
* @example
|
|
509
|
+
*
|
|
510
|
+
* _.toString(null);
|
|
511
|
+
* // => ''
|
|
512
|
+
*
|
|
513
|
+
* _.toString(-0);
|
|
514
|
+
* // => '-0'
|
|
515
|
+
*
|
|
516
|
+
* _.toString([1, 2, 3]);
|
|
517
|
+
* // => '1,2,3'
|
|
518
|
+
*/
|
|
519
|
+
function toString(value) {
|
|
520
|
+
return value == null ? '' : baseToString(value);
|
|
521
|
+
}
|
|
1857
522
|
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
523
|
+
/**
|
|
524
|
+
* Pads `string` on the left side if it's shorter than `length`. Padding
|
|
525
|
+
* characters are truncated if they exceed `length`.
|
|
526
|
+
*
|
|
527
|
+
* @static
|
|
528
|
+
* @memberOf _
|
|
529
|
+
* @since 4.0.0
|
|
530
|
+
* @category String
|
|
531
|
+
* @param {string} [string=''] The string to pad.
|
|
532
|
+
* @param {number} [length=0] The padding length.
|
|
533
|
+
* @param {string} [chars=' '] The string used as padding.
|
|
534
|
+
* @returns {string} Returns the padded string.
|
|
535
|
+
* @example
|
|
536
|
+
*
|
|
537
|
+
* _.padStart('abc', 6);
|
|
538
|
+
* // => ' abc'
|
|
539
|
+
*
|
|
540
|
+
* _.padStart('abc', 6, '_-');
|
|
541
|
+
* // => '_-_abc'
|
|
542
|
+
*
|
|
543
|
+
* _.padStart('abc', 3);
|
|
544
|
+
* // => 'abc'
|
|
545
|
+
*/
|
|
546
|
+
function padStart(string, length, chars) {
|
|
547
|
+
string = toString(string);
|
|
548
|
+
length = toInteger(length);
|
|
549
|
+
|
|
550
|
+
var strLength = length ? stringSize(string) : 0;
|
|
551
|
+
return (length && strLength < length)
|
|
552
|
+
? (createPadding(length - strLength, chars) + string)
|
|
553
|
+
: string;
|
|
1861
554
|
}
|
|
1862
555
|
|
|
1863
|
-
var
|
|
1864
|
-
var isEqual = /*@__PURE__*/getDefaultExportFromCjs(lodash_isequalExports);
|
|
556
|
+
var lodash_padstart = padStart;
|
|
1865
557
|
|
|
1866
|
-
export {
|
|
558
|
+
export { lodash_padstart as l };
|