@dso-toolkit/core 73.1.0 → 73.2.1
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/dist/cjs/annotation-body-DiF6OSBJ.js.map +1 -1
- package/dist/cjs/annotation-list-renvooi-values-BsuXHY9R.js.map +1 -1
- package/dist/cjs/{annotation-symbol-slot-CwCc6l70.js → annotation-watcher-8xS6vsxu.js} +4 -4
- package/dist/cjs/annotation-watcher-8xS6vsxu.js.map +1 -0
- package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion-section.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
- package/dist/cjs/dso-advanced-select.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-advanced-select.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert_6.cjs.entry.js +35 -35
- package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie.dso-document-component.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-attachments-counter.dso-expandable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +2 -2
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-banner.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card-container.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +32 -32
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker-legacy.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-document-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-document-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-document-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-dropdown-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-header.cjs.entry.js +1 -1
- package/dist/cjs/dso-header.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-header.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-highlight-box.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-icon.cjs.entry.js +38 -38
- package/dist/cjs/dso-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info-button.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info.dso-selectable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-info_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
- package/dist/cjs/dso-input-range.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-input-range.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-label.dso-renvooi.dso-slide-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +4 -4
- package/dist/cjs/dso-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-list-button.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-logo.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-base-layers.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-base-layers.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-controls.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-overlays.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-overlays.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-mark-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +3 -3
- package/dist/cjs/dso-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +1 -1
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-progress-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +2 -2
- package/dist/cjs/dso-progress-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-progress-indicator.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-project-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-responsive-element.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
- package/dist/cjs/dso-scrollable.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-scrollable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-skiplink.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +2 -2
- package/dist/cjs/dso-survey-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-survey-rating.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tab.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-toggletip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/dso-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tree-view.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-viewer-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1104 -1104
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.entry.cjs.js.map +1 -1
- package/dist/cjs/{i18n-D6gzajyT.js → i18n-yRiEgk_k.js} +5 -3
- package/dist/cjs/i18n-yRiEgk_k.js.map +1 -0
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/accordion.js.map +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
- package/dist/collection/components/action-list/action-list.js +1 -1
- package/dist/collection/components/action-list/action-list.js.map +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js.map +1 -1
- package/dist/collection/components/advanced-select/advanced-select.js +3 -3
- package/dist/collection/components/advanced-select/advanced-select.js.map +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +4 -4
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js.map +1 -1
- package/dist/collection/components/annotation/annotation-body.js.map +1 -1
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +3 -3
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +2 -2
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js.map +1 -1
- package/dist/collection/components/annotation/annotation-list-renvooi-values.js.map +1 -1
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +2 -2
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js.map +1 -1
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +3 -3
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/collection/components/annotation/annotation-symbol-slot.js.map +1 -1
- package/dist/collection/components/attachments-counter/attachments-counter.js.map +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/badge/badge.js.map +1 -1
- package/dist/collection/components/banner/banner.js.map +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card-container/card-container.js +2 -2
- package/dist/collection/components/card-container/card-container.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-day.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +5 -5
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-month.js.map +1 -1
- package/dist/collection/components/document-card/document-card.css +12 -7
- package/dist/collection/components/document-card/document-card.js +2 -2
- package/dist/collection/components/document-card/document-card.js.map +1 -1
- package/dist/collection/components/document-component/document-component-heading.js.map +1 -1
- package/dist/collection/components/document-component/document-component.js +2 -2
- package/dist/collection/components/document-component/document-component.js.map +1 -1
- package/dist/collection/components/document-component-demo/document-component.demo.js +3 -3
- package/dist/collection/components/document-component-demo/document-component.demo.js.map +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +3 -3
- package/dist/collection/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/collection/components/expandable/expandable.js +1 -1
- package/dist/collection/components/expandable/expandable.js.map +1 -1
- package/dist/collection/components/header/header.js.map +1 -1
- package/dist/collection/components/highlight-box/highlight-box.js +2 -2
- package/dist/collection/components/highlight-box/highlight-box.js.map +1 -1
- package/dist/collection/components/icon/icon.js +8 -8
- package/dist/collection/components/icon/icon.js.map +1 -1
- package/dist/collection/components/image-overlay/image-overlay.js +1 -1
- package/dist/collection/components/image-overlay/image-overlay.js.map +1 -1
- package/dist/collection/components/info/info.js +2 -2
- package/dist/collection/components/info/info.js.map +1 -1
- package/dist/collection/components/info-button/info-button.js +2 -2
- package/dist/collection/components/info-button/info-button.js.map +1 -1
- package/dist/collection/components/input-range/input-range.js +3 -3
- package/dist/collection/components/input-range/input-range.js.map +1 -1
- package/dist/collection/components/label/label.js +4 -4
- package/dist/collection/components/label/label.js.map +1 -1
- package/dist/collection/components/legend-item/legend-item.js +3 -3
- package/dist/collection/components/legend-item/legend-item.js.map +1 -1
- package/dist/collection/components/list-button/list-button.js +2 -2
- package/dist/collection/components/list-button/list-button.js.map +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/logo/logo.js.map +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js.map +1 -1
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-controls/map-controls.js.map +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js.map +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +3 -3
- package/dist/collection/components/onboarding-tip/onboarding-tip.js.map +1 -1
- package/dist/collection/components/ozon-content/functional-components/wrap-wijzigactie.functional-component.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/abbr.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/al.node.js +3 -3
- package/dist/collection/components/ozon-content/nodes/al.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/figuur.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/kop.node.js +1 -1
- package/dist/collection/components/ozon-content/nodes/kop.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/lijst.node.js +3 -3
- package/dist/collection/components/ozon-content/nodes/lijst.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/noot.node.js +1 -1
- package/dist/collection/components/ozon-content/nodes/noot.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/text.node.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-context.interface.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content.js +2 -2
- package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.css +0 -4
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +2 -2
- package/dist/collection/components/plekinfo-card/plekinfo-card.js.map +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js.map +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +2 -2
- package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -1
- package/dist/collection/components/project-item/project-item.js +2 -2
- package/dist/collection/components/project-item/project-item.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi-render-text.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi-render.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi.js.map +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +2 -2
- package/dist/collection/components/responsive-element/responsive-element.js.map +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/scrollable/scrollable.js.map +1 -1
- package/dist/collection/components/selectable/selectable.js +2 -2
- package/dist/collection/components/selectable/selectable.js.map +1 -1
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/skiplink/skiplink.js.map +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +2 -2
- package/dist/collection/components/slide-toggle/slide-toggle.js.map +1 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/survey-rating/survey-rating.js.map +1 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/tabs/components/tab.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/toggletip/toggletip.js +2 -2
- package/dist/collection/components/toggletip/toggletip.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree-view/tree-item.js +1 -1
- package/dist/collection/components/tree-view/tree-item.js.map +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/document-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/filterpanel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/main-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/sizing-buttons.js.map +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.css +5 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
- package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -1
- package/dist/collection/utils/i18n.js +2 -2
- package/dist/collection/utils/i18n.js.map +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/alert.js.map +1 -1
- package/dist/components/annotation-body.js.map +1 -1
- package/dist/components/annotation-list-renvooi-values.js.map +1 -1
- package/dist/components/annotation-locatie.js +1 -1
- package/dist/components/annotation-locatie.js.map +1 -1
- package/dist/components/{annotation-symbol-slot.js → annotation-watcher.js} +4 -4
- package/dist/components/annotation-watcher.js.map +1 -0
- package/dist/components/attachments-counter.js.map +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/badge.js.map +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/document-component.js.map +1 -1
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/dso-accordion-section.js.map +1 -1
- package/dist/components/dso-accordion.js +1 -1
- package/dist/components/dso-accordion.js.map +1 -1
- package/dist/components/dso-action-list-item.js.map +1 -1
- package/dist/components/dso-action-list.js.map +1 -1
- package/dist/components/dso-advanced-select.js +2 -2
- package/dist/components/dso-advanced-select.js.map +1 -1
- package/dist/components/dso-annotation-activiteit.js +2 -2
- package/dist/components/dso-annotation-activiteit.js.map +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +2 -2
- package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/components/dso-annotation-kaart.js +2 -2
- package/dist/components/dso-annotation-kaart.js.map +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-autosuggest.js.map +1 -1
- package/dist/components/dso-banner.js.map +1 -1
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card-container.js.map +1 -1
- package/dist/components/dso-card.js.map +1 -1
- package/dist/components/dso-date-picker-legacy.js +32 -32
- package/dist/components/dso-date-picker-legacy.js.map +1 -1
- package/dist/components/dso-date-picker.js.map +1 -1
- package/dist/components/dso-document-card.js +2 -2
- package/dist/components/dso-document-card.js.map +1 -1
- package/dist/components/dso-header.js.map +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-highlight-box.js.map +1 -1
- package/dist/components/dso-input-range.js +2 -2
- package/dist/components/dso-input-range.js.map +1 -1
- package/dist/components/dso-legend-item.js +2 -2
- package/dist/components/dso-legend-item.js.map +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-list-button.js.map +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-logo.js.map +1 -1
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-base-layers.js.map +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-controls.js.map +1 -1
- package/dist/components/dso-map-overlays.js +1 -1
- package/dist/components/dso-map-overlays.js.map +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-mark-bar.js.map +1 -1
- package/dist/components/dso-modal.js +2 -2
- package/dist/components/dso-modal.js.map +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-onboarding-tip.js.map +1 -1
- package/dist/components/dso-pagination.js.map +1 -1
- package/dist/components/dso-plekinfo-card.js +2 -2
- package/dist/components/dso-plekinfo-card.js.map +1 -1
- package/dist/components/dso-progress-bar.js +1 -1
- package/dist/components/dso-progress-bar.js.map +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-project-item.js.map +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-skiplink.js.map +1 -1
- package/dist/components/dso-survey-rating.js +2 -2
- package/dist/components/dso-survey-rating.js.map +1 -1
- package/dist/components/dso-tab.js.map +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tabs.js.map +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-tree-view.js.map +1 -1
- package/dist/components/dso-viewer-grid.js +3 -3
- package/dist/components/dso-viewer-grid.js.map +1 -1
- package/dist/components/dsot-document-component-demo.js +1105 -1105
- package/dist/components/dsot-document-component-demo.js.map +1 -1
- package/dist/components/expandable.js.map +1 -1
- package/dist/components/i18n.js +3 -1
- package/dist/components/i18n.js.map +1 -1
- package/dist/components/icon.js +38 -38
- package/dist/components/icon.js.map +1 -1
- package/dist/components/image-overlay.js.map +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info-button.js.map +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/info.js.map +1 -1
- package/dist/components/label.js +3 -3
- package/dist/components/label.js.map +1 -1
- package/dist/components/ozon-content.js +30 -30
- package/dist/components/ozon-content.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/panel.js.map +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/progress-indicator.js.map +1 -1
- package/dist/components/renvooi.js.map +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/responsive-element.js.map +1 -1
- package/dist/components/scrollable.js +2 -2
- package/dist/components/scrollable.js.map +1 -1
- package/dist/components/selectable.js +1 -1
- package/dist/components/selectable.js.map +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/slide-toggle.js.map +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/table.js.map +1 -1
- package/dist/components/toggletip.js +1 -1
- package/dist/components/toggletip.js.map +1 -1
- package/dist/components/tooltip.js +2 -2
- package/dist/components/tooltip.js.map +1 -1
- package/dist/dso-toolkit/dso-accordion-section.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-accordion.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-action-list-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-action-list.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-advanced-select.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-activiteit.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-gebiedsaanwijzing.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-kaart.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-locatie.dso-document-component.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-omgevingsnormwaarde.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-attachments-counter.dso-expandable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-autosuggest.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-banner.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-card-container.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-date-picker-legacy.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-date-picker.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-document-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-dropdown-menu.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-header.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-highlight-box.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-icon.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info.dso-selectable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-input-range.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-label.dso-renvooi.dso-slide-toggle.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-legend-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-list-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-logo.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-base-layers.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-controls.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-overlays.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-mark-bar.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-modal.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-onboarding-tip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-pagination.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-plekinfo-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-progress-bar.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-progress-indicator.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-project-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-responsive-element.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-scrollable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-skiplink.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-survey-rating.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tab.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tabs.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-toggletip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/dso-tooltip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tree-view.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-viewer-grid.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dsot-document-component-demo.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/{p-fda975de.entry.js → p-03fb6237.entry.js} +2 -2
- package/dist/dso-toolkit/p-03fb6237.entry.js.map +1 -0
- package/dist/dso-toolkit/p-0764520c.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-85db5881.entry.js → p-09ec6ce5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-85db5881.entry.js.map → p-09ec6ce5.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-0c742a6a.entry.js +2 -0
- package/dist/dso-toolkit/{p-0775a693.entry.js.map → p-0c742a6a.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-4222c5b4.entry.js → p-0feea762.entry.js} +2 -2
- package/dist/dso-toolkit/p-0feea762.entry.js.map +1 -0
- package/dist/dso-toolkit/p-1107be6c.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-e9236c1f.entry.js → p-15c901ff.entry.js} +2 -2
- package/dist/dso-toolkit/p-15c901ff.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-2ef001ae.entry.js → p-19af64f1.entry.js} +2 -2
- package/dist/dso-toolkit/p-19af64f1.entry.js.map +1 -0
- package/dist/dso-toolkit/p-1b3db27c.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-ca2bef1c.entry.js → p-2510276b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ca2bef1c.entry.js.map → p-2510276b.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-5db88bab.entry.js → p-2b1c6af2.entry.js} +2 -2
- package/dist/dso-toolkit/p-2b1c6af2.entry.js.map +1 -0
- package/dist/dso-toolkit/p-2b5f70a0.entry.js +2 -0
- package/dist/dso-toolkit/p-2b5f70a0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-c5003184.entry.js → p-2dc3dc9a.entry.js} +2 -2
- package/dist/dso-toolkit/p-2dc3dc9a.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-25121130.entry.js → p-320629e5.entry.js} +2 -2
- package/dist/dso-toolkit/p-320629e5.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-802d9be8.entry.js → p-322b7db4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-802d9be8.entry.js.map → p-322b7db4.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-2b70dfec.entry.js → p-32503cd9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-2b70dfec.entry.js.map → p-32503cd9.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-f3d04785.entry.js → p-35e1d8a4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f3d04785.entry.js.map → p-35e1d8a4.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-3e60b05f.entry.js → p-3888525c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3e60b05f.entry.js.map → p-3888525c.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-3c74fd03.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-4728d309.entry.js → p-400fede0.entry.js} +2 -2
- package/dist/dso-toolkit/p-400fede0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-189729b9.entry.js → p-4160d2e0.entry.js} +2 -2
- package/dist/dso-toolkit/p-4160d2e0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-7d1adc2e.entry.js → p-469ca170.entry.js} +2 -2
- package/dist/dso-toolkit/{p-7d1adc2e.entry.js.map → p-469ca170.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-514665a1.entry.js +2 -0
- package/dist/dso-toolkit/p-514665a1.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-c52827dc.entry.js → p-5c7331de.entry.js} +2 -2
- package/dist/dso-toolkit/{p-c52827dc.entry.js.map → p-5c7331de.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-62ecc855.entry.js +2 -0
- package/dist/dso-toolkit/p-62ecc855.entry.js.map +1 -0
- package/dist/dso-toolkit/p-6a156238.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-4d9f250d.entry.js → p-7020a1ec.entry.js} +2 -2
- package/dist/dso-toolkit/{p-4d9f250d.entry.js.map → p-7020a1ec.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-ffa5a867.entry.js → p-73f027ff.entry.js} +2 -2
- package/dist/dso-toolkit/p-73f027ff.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-715ed1f5.entry.js → p-7a3c51ad.entry.js} +2 -2
- package/dist/dso-toolkit/{p-715ed1f5.entry.js.map → p-7a3c51ad.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-6cc9e6a1.entry.js → p-7d142b40.entry.js} +2 -2
- package/dist/dso-toolkit/p-7d142b40.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-3ec9e63e.entry.js → p-8084c884.entry.js} +2 -2
- package/dist/dso-toolkit/p-8084c884.entry.js.map +1 -0
- package/dist/dso-toolkit/p-90ead8a5.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-bff9db69.entry.js → p-94cea134.entry.js} +2 -2
- package/dist/dso-toolkit/{p-bff9db69.entry.js.map → p-94cea134.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-9a30700a.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-CrdKfv3R.js → p-B_kXuEcW.js} +2 -2
- package/dist/dso-toolkit/p-B_kXuEcW.js.map +1 -0
- package/dist/dso-toolkit/p-D5RszRxh.js.map +1 -1
- package/dist/dso-toolkit/p-Ds10WquL.js.map +1 -1
- package/dist/dso-toolkit/p-LncMPpG-.js +2 -0
- package/dist/dso-toolkit/p-LncMPpG-.js.map +1 -0
- package/dist/dso-toolkit/{p-2f5521cb.entry.js → p-a61470ad.entry.js} +2 -2
- package/dist/dso-toolkit/{p-2f5521cb.entry.js.map → p-a61470ad.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-aa5dc824.entry.js.map +1 -1
- package/dist/dso-toolkit/p-ad8a1705.entry.js +2 -0
- package/dist/dso-toolkit/{p-9ccc682a.entry.js.map → p-ad8a1705.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-c02f13f7.entry.js → p-b615471f.entry.js} +2 -2
- package/dist/dso-toolkit/p-b615471f.entry.js.map +1 -0
- package/dist/dso-toolkit/p-bd717c9b.entry.js +2 -0
- package/dist/dso-toolkit/{p-f1f414b6.entry.js.map → p-bd717c9b.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-3e3efd7f.entry.js → p-c0410277.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3e3efd7f.entry.js.map → p-c0410277.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-c3ed6804.entry.js +2 -0
- package/dist/dso-toolkit/p-c3ed6804.entry.js.map +1 -0
- package/dist/dso-toolkit/p-c4fe6ee2.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-1a22b0dc.entry.js → p-d4db08c7.entry.js} +2 -2
- package/dist/dso-toolkit/p-d4db08c7.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-64c4fbb5.entry.js → p-db6b2bb9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-64c4fbb5.entry.js.map → p-db6b2bb9.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-12dfeddc.entry.js → p-dc33f3aa.entry.js} +2 -2
- package/dist/dso-toolkit/{p-12dfeddc.entry.js.map → p-dc33f3aa.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-de3ed856.entry.js +2 -0
- package/dist/dso-toolkit/{p-66be9677.entry.js.map → p-de3ed856.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-6e13ae72.entry.js → p-e9053e12.entry.js} +2 -2
- package/dist/dso-toolkit/p-e9053e12.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-e0289156.entry.js → p-eafec507.entry.js} +2 -2
- package/dist/dso-toolkit/p-eafec507.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-670ea4fe.entry.js → p-edda55f0.entry.js} +2 -2
- package/dist/dso-toolkit/{p-670ea4fe.entry.js.map → p-edda55f0.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-cc784131.entry.js → p-f1999525.entry.js} +2 -2
- package/dist/dso-toolkit/{p-cc784131.entry.js.map → p-f1999525.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-f9b41ef6.entry.js +2 -0
- package/dist/dso-toolkit/p-f9b41ef6.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-3645517b.entry.js → p-fa850439.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3645517b.entry.js.map → p-fa850439.entry.js.map} +1 -1
- package/dist/esm/annotation-body-CHp1npGM.js.map +1 -1
- package/dist/esm/annotation-list-renvooi-values-D1J_Fugb.js.map +1 -1
- package/dist/esm/{annotation-symbol-slot-BCge7vfY.js → annotation-watcher-B4Wi05lj.js} +4 -4
- package/dist/esm/annotation-watcher-B4Wi05lj.js.map +1 -0
- package/dist/esm/dso-accordion-section.entry.js.map +1 -1
- package/dist/esm/dso-accordion.entry.js +1 -1
- package/dist/esm/dso-accordion.entry.js.map +1 -1
- package/dist/esm/dso-action-list-item.entry.js.map +1 -1
- package/dist/esm/dso-action-list.entry.js.map +1 -1
- package/dist/esm/dso-advanced-select.entry.js +2 -2
- package/dist/esm/dso-advanced-select.entry.js.map +1 -1
- package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.js.map +1 -1
- package/dist/esm/dso-alert_6.entry.js +35 -35
- package/dist/esm/dso-alert_6.entry.js.map +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js +2 -2
- package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +2 -2
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +2 -2
- package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie.dso-document-component.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie_2.entry.js +2 -2
- package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter.dso-expandable.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter_2.entry.js.map +1 -1
- package/dist/esm/dso-autosuggest.entry.js +2 -2
- package/dist/esm/dso-autosuggest.entry.js.map +1 -1
- package/dist/esm/dso-banner.entry.js.map +1 -1
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js.map +1 -1
- package/dist/esm/dso-card.entry.js.map +1 -1
- package/dist/esm/dso-date-picker-legacy.entry.js +32 -32
- package/dist/esm/dso-date-picker-legacy.entry.js.map +1 -1
- package/dist/esm/dso-date-picker.entry.js.map +1 -1
- package/dist/esm/dso-document-card.entry.js +2 -2
- package/dist/esm/dso-document-card.entry.js.map +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu.entry.js.map +1 -1
- package/dist/esm/dso-header.entry.js +1 -1
- package/dist/esm/dso-header.entry.js.map +1 -1
- package/dist/esm/dso-highlight-box.entry.js +1 -1
- package/dist/esm/dso-highlight-box.entry.js.map +1 -1
- package/dist/esm/dso-icon.entry.js +38 -38
- package/dist/esm/dso-icon.entry.js.map +1 -1
- package/dist/esm/dso-info-button.entry.js +1 -1
- package/dist/esm/dso-info-button.entry.js.map +1 -1
- package/dist/esm/dso-info.dso-selectable.entry.js.map +1 -1
- package/dist/esm/dso-info_2.entry.js +2 -2
- package/dist/esm/dso-info_2.entry.js.map +1 -1
- package/dist/esm/dso-input-range.entry.js +2 -2
- package/dist/esm/dso-input-range.entry.js.map +1 -1
- package/dist/esm/dso-label.dso-renvooi.dso-slide-toggle.entry.js.map +1 -1
- package/dist/esm/dso-label_3.entry.js +4 -4
- package/dist/esm/dso-label_3.entry.js.map +1 -1
- package/dist/esm/dso-legend-item.entry.js +2 -2
- package/dist/esm/dso-legend-item.entry.js.map +1 -1
- package/dist/esm/dso-list-button.entry.js +1 -1
- package/dist/esm/dso-list-button.entry.js.map +1 -1
- package/dist/esm/dso-logo.entry.js +1 -1
- package/dist/esm/dso-logo.entry.js.map +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +2 -2
- package/dist/esm/dso-map-base-layers.entry.js.map +1 -1
- package/dist/esm/dso-map-controls.entry.js +2 -2
- package/dist/esm/dso-map-controls.entry.js.map +1 -1
- package/dist/esm/dso-map-overlays.entry.js +2 -2
- package/dist/esm/dso-map-overlays.entry.js.map +1 -1
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-mark-bar.entry.js.map +1 -1
- package/dist/esm/dso-modal.entry.js +3 -3
- package/dist/esm/dso-modal.entry.js.map +1 -1
- package/dist/esm/dso-onboarding-tip.entry.js +1 -1
- package/dist/esm/dso-onboarding-tip.entry.js.map +1 -1
- package/dist/esm/dso-pagination.entry.js.map +1 -1
- package/dist/esm/dso-plekinfo-card.entry.js +2 -2
- package/dist/esm/dso-plekinfo-card.entry.js.map +1 -1
- package/dist/esm/dso-progress-bar.entry.js +1 -1
- package/dist/esm/dso-progress-bar.entry.js.map +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +2 -2
- package/dist/esm/dso-progress-indicator.entry.js.map +1 -1
- package/dist/esm/dso-project-item.entry.js +1 -1
- package/dist/esm/dso-project-item.entry.js.map +1 -1
- package/dist/esm/dso-responsive-element.entry.js +1 -1
- package/dist/esm/dso-responsive-element.entry.js.map +1 -1
- package/dist/esm/dso-scrollable.entry.js +2 -2
- package/dist/esm/dso-scrollable.entry.js.map +1 -1
- package/dist/esm/dso-skiplink.entry.js +1 -1
- package/dist/esm/dso-skiplink.entry.js.map +1 -1
- package/dist/esm/dso-survey-rating.entry.js +2 -2
- package/dist/esm/dso-survey-rating.entry.js.map +1 -1
- package/dist/esm/dso-tab.entry.js.map +1 -1
- package/dist/esm/dso-tabs.entry.js +1 -1
- package/dist/esm/dso-tabs.entry.js.map +1 -1
- package/dist/esm/dso-toggletip.entry.js +1 -1
- package/dist/esm/dso-toggletip.entry.js.map +1 -1
- package/dist/esm/dso-tooltip.entry.js +2 -2
- package/dist/esm/dso-tooltip.entry.js.map +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-tree-view.entry.js.map +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +3 -3
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js +1105 -1105
- package/dist/esm/dsot-document-component-demo.entry.js.map +1 -1
- package/dist/esm/{i18n-CrdKfv3R.js → i18n-B_kXuEcW.js} +5 -3
- package/dist/esm/i18n-B_kXuEcW.js.map +1 -0
- package/dist/scripts/readme.js +1 -1
- package/dist/scripts/readme.js.map +1 -1
- package/dist/types/components/accordion/components/accordion-section.d.ts +1 -1
- package/dist/types/components/advanced-select/advanced-select.d.ts +1 -1
- package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +1 -1
- package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +1 -1
- package/dist/types/components/annotation/annotation-kaart/annotation-kaart.d.ts +1 -1
- package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +1 -1
- package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +1 -1
- package/dist/types/components/date-picker-legacy/date-picker-legacy.d.ts +1 -1
- package/dist/types/components/document-component/document-component.d.ts +1 -1
- package/dist/types/components/document-component-demo/document-component.demo.d.ts +1 -1
- package/dist/types/components/mark-bar/mark-bar.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/abbr.node.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/inline-tekst-afbeelding.node.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/text.node.d.ts +1 -1
- package/dist/types/components/ozon-content/ozon-content.d.ts +1 -1
- package/dist/types/components/selectable/selectable.d.ts +1 -1
- package/dist/types/components/tree-view/tree-item.d.ts +1 -1
- package/dist/types/components/tree-view/tree-view.d.ts +1 -1
- package/dist/types/components/viewer-grid/components/document-panel.d.ts +1 -1
- package/dist/types/components/viewer-grid/components/main-panel.d.ts +1 -1
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/annotation-symbol-slot-CwCc6l70.js.map +0 -1
- package/dist/cjs/i18n-D6gzajyT.js.map +0 -1
- package/dist/components/annotation-symbol-slot.js.map +0 -1
- package/dist/dso-toolkit/p-0775a693.entry.js +0 -2
- package/dist/dso-toolkit/p-189729b9.entry.js.map +0 -1
- package/dist/dso-toolkit/p-1a22b0dc.entry.js.map +0 -1
- package/dist/dso-toolkit/p-25121130.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2edbb43d.entry.js +0 -2
- package/dist/dso-toolkit/p-2edbb43d.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2ef001ae.entry.js.map +0 -1
- package/dist/dso-toolkit/p-3ec9e63e.entry.js.map +0 -1
- package/dist/dso-toolkit/p-4222c5b4.entry.js.map +0 -1
- package/dist/dso-toolkit/p-4728d309.entry.js.map +0 -1
- package/dist/dso-toolkit/p-5663e142.entry.js +0 -2
- package/dist/dso-toolkit/p-5663e142.entry.js.map +0 -1
- package/dist/dso-toolkit/p-5db88bab.entry.js.map +0 -1
- package/dist/dso-toolkit/p-66be9677.entry.js +0 -2
- package/dist/dso-toolkit/p-6cc9e6a1.entry.js.map +0 -1
- package/dist/dso-toolkit/p-6d475b54.entry.js +0 -2
- package/dist/dso-toolkit/p-6d475b54.entry.js.map +0 -1
- package/dist/dso-toolkit/p-6e13ae72.entry.js.map +0 -1
- package/dist/dso-toolkit/p-7e2d432b.entry.js +0 -2
- package/dist/dso-toolkit/p-7e2d432b.entry.js.map +0 -1
- package/dist/dso-toolkit/p-9ccc682a.entry.js +0 -2
- package/dist/dso-toolkit/p-CrdKfv3R.js.map +0 -1
- package/dist/dso-toolkit/p-JeFk1Yvm.js +0 -2
- package/dist/dso-toolkit/p-JeFk1Yvm.js.map +0 -1
- package/dist/dso-toolkit/p-b3588a49.entry.js +0 -2
- package/dist/dso-toolkit/p-b3588a49.entry.js.map +0 -1
- package/dist/dso-toolkit/p-c02f13f7.entry.js.map +0 -1
- package/dist/dso-toolkit/p-c5003184.entry.js.map +0 -1
- package/dist/dso-toolkit/p-e0289156.entry.js.map +0 -1
- package/dist/dso-toolkit/p-e9236c1f.entry.js.map +0 -1
- package/dist/dso-toolkit/p-f1f414b6.entry.js +0 -2
- package/dist/dso-toolkit/p-fda975de.entry.js.map +0 -1
- package/dist/dso-toolkit/p-ffa5a867.entry.js.map +0 -1
- package/dist/esm/annotation-symbol-slot-BCge7vfY.js.map +0 -1
- package/dist/esm/i18n-CrdKfv3R.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './index2.js';
|
|
3
3
|
import { d as defineCustomElement$f } from './alert.js';
|
|
4
4
|
import { d as defineCustomElement$e } from './annotation-locatie.js';
|
|
5
5
|
import { d as defineCustomElement$d } from './badge.js';
|
|
@@ -24,12 +24,12 @@ import { d as defineCustomElement$2 } from './tooltip.js';
|
|
|
24
24
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
|
-
var
|
|
28
|
-
var
|
|
27
|
+
var lodash_random;
|
|
28
|
+
var hasRequiredLodash_random;
|
|
29
29
|
|
|
30
|
-
function
|
|
31
|
-
if (
|
|
32
|
-
|
|
30
|
+
function requireLodash_random () {
|
|
31
|
+
if (hasRequiredLodash_random) return lodash_random;
|
|
32
|
+
hasRequiredLodash_random = 1;
|
|
33
33
|
/** Used as references for various `Number` constants. */
|
|
34
34
|
var INFINITY = 1 / 0,
|
|
35
35
|
MAX_SAFE_INTEGER = 9007199254740991,
|
|
@@ -37,24 +37,9 @@ function requireLodash_samplesize () {
|
|
|
37
37
|
NAN = 0 / 0;
|
|
38
38
|
|
|
39
39
|
/** `Object#toString` result references. */
|
|
40
|
-
var
|
|
41
|
-
funcTag = '[object Function]',
|
|
40
|
+
var funcTag = '[object Function]',
|
|
42
41
|
genTag = '[object GeneratorFunction]',
|
|
43
|
-
|
|
44
|
-
objectTag = '[object Object]',
|
|
45
|
-
promiseTag = '[object Promise]',
|
|
46
|
-
setTag = '[object Set]',
|
|
47
|
-
stringTag = '[object String]',
|
|
48
|
-
symbolTag = '[object Symbol]',
|
|
49
|
-
weakMapTag = '[object WeakMap]';
|
|
50
|
-
|
|
51
|
-
var dataViewTag = '[object DataView]';
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Used to match `RegExp`
|
|
55
|
-
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
56
|
-
*/
|
|
57
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
42
|
+
symbolTag = '[object Symbol]';
|
|
58
43
|
|
|
59
44
|
/** Used to match leading and trailing whitespace. */
|
|
60
45
|
var reTrim = /^\s+|\s+$/g;
|
|
@@ -65,1187 +50,886 @@ function requireLodash_samplesize () {
|
|
|
65
50
|
/** Used to detect binary string values. */
|
|
66
51
|
var reIsBinary = /^0b[01]+$/i;
|
|
67
52
|
|
|
68
|
-
/** Used to detect host constructors (Safari). */
|
|
69
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
70
|
-
|
|
71
53
|
/** Used to detect octal string values. */
|
|
72
54
|
var reIsOctal = /^0o[0-7]+$/i;
|
|
73
55
|
|
|
74
56
|
/** Used to detect unsigned integer values. */
|
|
75
57
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
76
58
|
|
|
77
|
-
/** Used to compose unicode character classes. */
|
|
78
|
-
var rsAstralRange = '\\ud800-\\udfff',
|
|
79
|
-
rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
|
|
80
|
-
rsComboSymbolsRange = '\\u20d0-\\u20f0',
|
|
81
|
-
rsVarRange = '\\ufe0e\\ufe0f';
|
|
82
|
-
|
|
83
|
-
/** Used to compose unicode capture groups. */
|
|
84
|
-
var rsAstral = '[' + rsAstralRange + ']',
|
|
85
|
-
rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
|
|
86
|
-
rsFitz = '\\ud83c[\\udffb-\\udfff]',
|
|
87
|
-
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
|
|
88
|
-
rsNonAstral = '[^' + rsAstralRange + ']',
|
|
89
|
-
rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
|
|
90
|
-
rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
|
|
91
|
-
rsZWJ = '\\u200d';
|
|
92
|
-
|
|
93
|
-
/** Used to compose unicode regexes. */
|
|
94
|
-
var reOptMod = rsModifier + '?',
|
|
95
|
-
rsOptVar = '[' + rsVarRange + ']?',
|
|
96
|
-
rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
|
|
97
|
-
rsSeq = rsOptVar + reOptMod + rsOptJoin,
|
|
98
|
-
rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
|
|
99
|
-
|
|
100
|
-
/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
|
|
101
|
-
var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
|
|
102
|
-
|
|
103
|
-
/** 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/). */
|
|
104
|
-
var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');
|
|
105
|
-
|
|
106
59
|
/** Built-in method references without a dependency on `root`. */
|
|
107
|
-
var
|
|
60
|
+
var freeParseFloat = parseFloat,
|
|
61
|
+
freeParseInt = parseInt;
|
|
108
62
|
|
|
109
|
-
/**
|
|
110
|
-
var
|
|
63
|
+
/** Used for built-in method references. */
|
|
64
|
+
var objectProto = Object.prototype;
|
|
111
65
|
|
|
112
|
-
/**
|
|
113
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Used to resolve the
|
|
68
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
69
|
+
* of values.
|
|
70
|
+
*/
|
|
71
|
+
var objectToString = objectProto.toString;
|
|
114
72
|
|
|
115
|
-
|
|
116
|
-
var
|
|
73
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
74
|
+
var nativeFloor = Math.floor,
|
|
75
|
+
nativeMin = Math.min,
|
|
76
|
+
nativeRandom = Math.random;
|
|
117
77
|
|
|
118
78
|
/**
|
|
119
|
-
*
|
|
120
|
-
*
|
|
79
|
+
* The base implementation of `_.random` without support for returning
|
|
80
|
+
* floating-point numbers.
|
|
121
81
|
*
|
|
122
82
|
* @private
|
|
123
|
-
* @param {
|
|
124
|
-
* @param {
|
|
125
|
-
* @returns {
|
|
83
|
+
* @param {number} lower The lower bound.
|
|
84
|
+
* @param {number} upper The upper bound.
|
|
85
|
+
* @returns {number} Returns the random number.
|
|
126
86
|
*/
|
|
127
|
-
function
|
|
128
|
-
|
|
129
|
-
length = array ? array.length : 0,
|
|
130
|
-
result = Array(length);
|
|
131
|
-
|
|
132
|
-
while (++index < length) {
|
|
133
|
-
result[index] = iteratee(array[index], index, array);
|
|
134
|
-
}
|
|
135
|
-
return result;
|
|
87
|
+
function baseRandom(lower, upper) {
|
|
88
|
+
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
136
89
|
}
|
|
137
90
|
|
|
138
91
|
/**
|
|
139
|
-
*
|
|
92
|
+
* Checks if `value` is a valid array-like index.
|
|
140
93
|
*
|
|
141
94
|
* @private
|
|
142
|
-
* @param {
|
|
143
|
-
* @
|
|
95
|
+
* @param {*} value The value to check.
|
|
96
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
97
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
144
98
|
*/
|
|
145
|
-
function
|
|
146
|
-
|
|
99
|
+
function isIndex(value, length) {
|
|
100
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
101
|
+
return !!length &&
|
|
102
|
+
(typeof value == 'number' || reIsUint.test(value)) &&
|
|
103
|
+
(value > -1 && value % 1 == 0 && value < length);
|
|
147
104
|
}
|
|
148
105
|
|
|
149
106
|
/**
|
|
150
|
-
*
|
|
151
|
-
* or max array length checks.
|
|
107
|
+
* Checks if the given arguments are from an iteratee call.
|
|
152
108
|
*
|
|
153
109
|
* @private
|
|
154
|
-
* @param {
|
|
155
|
-
* @param {
|
|
156
|
-
* @
|
|
110
|
+
* @param {*} value The potential iteratee value argument.
|
|
111
|
+
* @param {*} index The potential iteratee index or key argument.
|
|
112
|
+
* @param {*} object The potential iteratee object argument.
|
|
113
|
+
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
114
|
+
* else `false`.
|
|
157
115
|
*/
|
|
158
|
-
function
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
while (++index < n) {
|
|
163
|
-
result[index] = iteratee(index);
|
|
116
|
+
function isIterateeCall(value, index, object) {
|
|
117
|
+
if (!isObject(object)) {
|
|
118
|
+
return false;
|
|
164
119
|
}
|
|
165
|
-
|
|
120
|
+
var type = typeof index;
|
|
121
|
+
if (type == 'number'
|
|
122
|
+
? (isArrayLike(object) && isIndex(index, object.length))
|
|
123
|
+
: (type == 'string' && index in object)
|
|
124
|
+
) {
|
|
125
|
+
return eq(object[index], value);
|
|
126
|
+
}
|
|
127
|
+
return false;
|
|
166
128
|
}
|
|
167
129
|
|
|
168
130
|
/**
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
131
|
+
* Performs a
|
|
132
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
133
|
+
* comparison between two values to determine if they are equivalent.
|
|
172
134
|
*
|
|
173
|
-
* @
|
|
174
|
-
* @
|
|
175
|
-
* @
|
|
176
|
-
* @
|
|
135
|
+
* @static
|
|
136
|
+
* @memberOf _
|
|
137
|
+
* @since 4.0.0
|
|
138
|
+
* @category Lang
|
|
139
|
+
* @param {*} value The value to compare.
|
|
140
|
+
* @param {*} other The other value to compare.
|
|
141
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
142
|
+
* @example
|
|
143
|
+
*
|
|
144
|
+
* var object = { 'a': 1 };
|
|
145
|
+
* var other = { 'a': 1 };
|
|
146
|
+
*
|
|
147
|
+
* _.eq(object, object);
|
|
148
|
+
* // => true
|
|
149
|
+
*
|
|
150
|
+
* _.eq(object, other);
|
|
151
|
+
* // => false
|
|
152
|
+
*
|
|
153
|
+
* _.eq('a', 'a');
|
|
154
|
+
* // => true
|
|
155
|
+
*
|
|
156
|
+
* _.eq('a', Object('a'));
|
|
157
|
+
* // => false
|
|
158
|
+
*
|
|
159
|
+
* _.eq(NaN, NaN);
|
|
160
|
+
* // => true
|
|
177
161
|
*/
|
|
178
|
-
function
|
|
179
|
-
return
|
|
180
|
-
return object[key];
|
|
181
|
-
});
|
|
162
|
+
function eq(value, other) {
|
|
163
|
+
return value === other || (value !== value && other !== other);
|
|
182
164
|
}
|
|
183
165
|
|
|
184
166
|
/**
|
|
185
|
-
*
|
|
167
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
168
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
169
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
186
170
|
*
|
|
187
|
-
* @
|
|
188
|
-
* @
|
|
189
|
-
* @
|
|
190
|
-
* @
|
|
171
|
+
* @static
|
|
172
|
+
* @memberOf _
|
|
173
|
+
* @since 4.0.0
|
|
174
|
+
* @category Lang
|
|
175
|
+
* @param {*} value The value to check.
|
|
176
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
177
|
+
* @example
|
|
178
|
+
*
|
|
179
|
+
* _.isArrayLike([1, 2, 3]);
|
|
180
|
+
* // => true
|
|
181
|
+
*
|
|
182
|
+
* _.isArrayLike(document.body.children);
|
|
183
|
+
* // => true
|
|
184
|
+
*
|
|
185
|
+
* _.isArrayLike('abc');
|
|
186
|
+
* // => true
|
|
187
|
+
*
|
|
188
|
+
* _.isArrayLike(_.noop);
|
|
189
|
+
* // => false
|
|
191
190
|
*/
|
|
192
|
-
function
|
|
193
|
-
return
|
|
191
|
+
function isArrayLike(value) {
|
|
192
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
194
193
|
}
|
|
195
194
|
|
|
196
195
|
/**
|
|
197
|
-
* Checks if `
|
|
196
|
+
* Checks if `value` is classified as a `Function` object.
|
|
198
197
|
*
|
|
199
|
-
* @
|
|
200
|
-
* @
|
|
201
|
-
* @
|
|
198
|
+
* @static
|
|
199
|
+
* @memberOf _
|
|
200
|
+
* @since 0.1.0
|
|
201
|
+
* @category Lang
|
|
202
|
+
* @param {*} value The value to check.
|
|
203
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
204
|
+
* @example
|
|
205
|
+
*
|
|
206
|
+
* _.isFunction(_);
|
|
207
|
+
* // => true
|
|
208
|
+
*
|
|
209
|
+
* _.isFunction(/abc/);
|
|
210
|
+
* // => false
|
|
202
211
|
*/
|
|
203
|
-
function
|
|
204
|
-
|
|
212
|
+
function isFunction(value) {
|
|
213
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
214
|
+
// in Safari 8-9 which returns 'object' for typed array and other constructors.
|
|
215
|
+
var tag = isObject(value) ? objectToString.call(value) : '';
|
|
216
|
+
return tag == funcTag || tag == genTag;
|
|
205
217
|
}
|
|
206
218
|
|
|
207
219
|
/**
|
|
208
|
-
* Checks if `value` is a
|
|
220
|
+
* Checks if `value` is a valid array-like length.
|
|
209
221
|
*
|
|
210
|
-
*
|
|
222
|
+
* **Note:** This method is loosely based on
|
|
223
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
224
|
+
*
|
|
225
|
+
* @static
|
|
226
|
+
* @memberOf _
|
|
227
|
+
* @since 4.0.0
|
|
228
|
+
* @category Lang
|
|
211
229
|
* @param {*} value The value to check.
|
|
212
|
-
* @returns {boolean} Returns `true` if `value` is a
|
|
213
|
-
|
|
214
|
-
function isHostObject(value) {
|
|
215
|
-
// Many host objects are `Object` objects that can coerce to strings
|
|
216
|
-
// despite having improperly defined `toString` methods.
|
|
217
|
-
var result = false;
|
|
218
|
-
if (value != null && typeof value.toString != 'function') {
|
|
219
|
-
try {
|
|
220
|
-
result = !!(value + '');
|
|
221
|
-
} catch (e) {}
|
|
222
|
-
}
|
|
223
|
-
return result;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Converts `iterator` to an array.
|
|
230
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
231
|
+
* @example
|
|
228
232
|
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
233
|
+
* _.isLength(3);
|
|
234
|
+
* // => true
|
|
235
|
+
*
|
|
236
|
+
* _.isLength(Number.MIN_VALUE);
|
|
237
|
+
* // => false
|
|
238
|
+
*
|
|
239
|
+
* _.isLength(Infinity);
|
|
240
|
+
* // => false
|
|
241
|
+
*
|
|
242
|
+
* _.isLength('3');
|
|
243
|
+
* // => false
|
|
232
244
|
*/
|
|
233
|
-
function
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
while (!(data = iterator.next()).done) {
|
|
238
|
-
result.push(data.value);
|
|
239
|
-
}
|
|
240
|
-
return result;
|
|
245
|
+
function isLength(value) {
|
|
246
|
+
return typeof value == 'number' &&
|
|
247
|
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
241
248
|
}
|
|
242
249
|
|
|
243
250
|
/**
|
|
244
|
-
*
|
|
251
|
+
* Checks if `value` is the
|
|
252
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
253
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
245
254
|
*
|
|
246
|
-
* @
|
|
247
|
-
* @
|
|
248
|
-
* @
|
|
255
|
+
* @static
|
|
256
|
+
* @memberOf _
|
|
257
|
+
* @since 0.1.0
|
|
258
|
+
* @category Lang
|
|
259
|
+
* @param {*} value The value to check.
|
|
260
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
261
|
+
* @example
|
|
262
|
+
*
|
|
263
|
+
* _.isObject({});
|
|
264
|
+
* // => true
|
|
265
|
+
*
|
|
266
|
+
* _.isObject([1, 2, 3]);
|
|
267
|
+
* // => true
|
|
268
|
+
*
|
|
269
|
+
* _.isObject(_.noop);
|
|
270
|
+
* // => true
|
|
271
|
+
*
|
|
272
|
+
* _.isObject(null);
|
|
273
|
+
* // => false
|
|
249
274
|
*/
|
|
250
|
-
function
|
|
251
|
-
var
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
map.forEach(function(value, key) {
|
|
255
|
-
result[++index] = [key, value];
|
|
256
|
-
});
|
|
257
|
-
return result;
|
|
275
|
+
function isObject(value) {
|
|
276
|
+
var type = typeof value;
|
|
277
|
+
return !!value && (type == 'object' || type == 'function');
|
|
258
278
|
}
|
|
259
279
|
|
|
260
280
|
/**
|
|
261
|
-
*
|
|
281
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
282
|
+
* and has a `typeof` result of "object".
|
|
262
283
|
*
|
|
263
|
-
* @
|
|
264
|
-
* @
|
|
265
|
-
* @
|
|
266
|
-
* @
|
|
284
|
+
* @static
|
|
285
|
+
* @memberOf _
|
|
286
|
+
* @since 4.0.0
|
|
287
|
+
* @category Lang
|
|
288
|
+
* @param {*} value The value to check.
|
|
289
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
290
|
+
* @example
|
|
291
|
+
*
|
|
292
|
+
* _.isObjectLike({});
|
|
293
|
+
* // => true
|
|
294
|
+
*
|
|
295
|
+
* _.isObjectLike([1, 2, 3]);
|
|
296
|
+
* // => true
|
|
297
|
+
*
|
|
298
|
+
* _.isObjectLike(_.noop);
|
|
299
|
+
* // => false
|
|
300
|
+
*
|
|
301
|
+
* _.isObjectLike(null);
|
|
302
|
+
* // => false
|
|
267
303
|
*/
|
|
268
|
-
function
|
|
269
|
-
return
|
|
270
|
-
return func(transform(arg));
|
|
271
|
-
};
|
|
304
|
+
function isObjectLike(value) {
|
|
305
|
+
return !!value && typeof value == 'object';
|
|
272
306
|
}
|
|
273
307
|
|
|
274
308
|
/**
|
|
275
|
-
*
|
|
309
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
276
310
|
*
|
|
277
|
-
* @
|
|
278
|
-
* @
|
|
279
|
-
* @
|
|
311
|
+
* @static
|
|
312
|
+
* @memberOf _
|
|
313
|
+
* @since 4.0.0
|
|
314
|
+
* @category Lang
|
|
315
|
+
* @param {*} value The value to check.
|
|
316
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
317
|
+
* @example
|
|
318
|
+
*
|
|
319
|
+
* _.isSymbol(Symbol.iterator);
|
|
320
|
+
* // => true
|
|
321
|
+
*
|
|
322
|
+
* _.isSymbol('abc');
|
|
323
|
+
* // => false
|
|
280
324
|
*/
|
|
281
|
-
function
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
set.forEach(function(value) {
|
|
286
|
-
result[++index] = value;
|
|
287
|
-
});
|
|
288
|
-
return result;
|
|
325
|
+
function isSymbol(value) {
|
|
326
|
+
return typeof value == 'symbol' ||
|
|
327
|
+
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
289
328
|
}
|
|
290
329
|
|
|
291
330
|
/**
|
|
292
|
-
* Converts `
|
|
331
|
+
* Converts `value` to a finite number.
|
|
293
332
|
*
|
|
294
|
-
* @
|
|
295
|
-
* @
|
|
296
|
-
* @
|
|
333
|
+
* @static
|
|
334
|
+
* @memberOf _
|
|
335
|
+
* @since 4.12.0
|
|
336
|
+
* @category Lang
|
|
337
|
+
* @param {*} value The value to convert.
|
|
338
|
+
* @returns {number} Returns the converted number.
|
|
339
|
+
* @example
|
|
340
|
+
*
|
|
341
|
+
* _.toFinite(3.2);
|
|
342
|
+
* // => 3.2
|
|
343
|
+
*
|
|
344
|
+
* _.toFinite(Number.MIN_VALUE);
|
|
345
|
+
* // => 5e-324
|
|
346
|
+
*
|
|
347
|
+
* _.toFinite(Infinity);
|
|
348
|
+
* // => 1.7976931348623157e+308
|
|
349
|
+
*
|
|
350
|
+
* _.toFinite('3.2');
|
|
351
|
+
* // => 3.2
|
|
297
352
|
*/
|
|
298
|
-
function
|
|
299
|
-
|
|
300
|
-
?
|
|
301
|
-
|
|
353
|
+
function toFinite(value) {
|
|
354
|
+
if (!value) {
|
|
355
|
+
return value === 0 ? value : 0;
|
|
356
|
+
}
|
|
357
|
+
value = toNumber(value);
|
|
358
|
+
if (value === INFINITY || value === -Infinity) {
|
|
359
|
+
var sign = (value < 0 ? -1 : 1);
|
|
360
|
+
return sign * MAX_INTEGER;
|
|
361
|
+
}
|
|
362
|
+
return value === value ? value : 0;
|
|
302
363
|
}
|
|
303
364
|
|
|
304
365
|
/**
|
|
305
|
-
* Converts
|
|
366
|
+
* Converts `value` to a number.
|
|
306
367
|
*
|
|
307
|
-
* @
|
|
308
|
-
* @
|
|
309
|
-
* @
|
|
368
|
+
* @static
|
|
369
|
+
* @memberOf _
|
|
370
|
+
* @since 4.0.0
|
|
371
|
+
* @category Lang
|
|
372
|
+
* @param {*} value The value to process.
|
|
373
|
+
* @returns {number} Returns the number.
|
|
374
|
+
* @example
|
|
375
|
+
*
|
|
376
|
+
* _.toNumber(3.2);
|
|
377
|
+
* // => 3.2
|
|
378
|
+
*
|
|
379
|
+
* _.toNumber(Number.MIN_VALUE);
|
|
380
|
+
* // => 5e-324
|
|
381
|
+
*
|
|
382
|
+
* _.toNumber(Infinity);
|
|
383
|
+
* // => Infinity
|
|
384
|
+
*
|
|
385
|
+
* _.toNumber('3.2');
|
|
386
|
+
* // => 3.2
|
|
310
387
|
*/
|
|
311
|
-
function
|
|
312
|
-
|
|
388
|
+
function toNumber(value) {
|
|
389
|
+
if (typeof value == 'number') {
|
|
390
|
+
return value;
|
|
391
|
+
}
|
|
392
|
+
if (isSymbol(value)) {
|
|
393
|
+
return NAN;
|
|
394
|
+
}
|
|
395
|
+
if (isObject(value)) {
|
|
396
|
+
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
397
|
+
value = isObject(other) ? (other + '') : other;
|
|
398
|
+
}
|
|
399
|
+
if (typeof value != 'string') {
|
|
400
|
+
return value === 0 ? value : +value;
|
|
401
|
+
}
|
|
402
|
+
value = value.replace(reTrim, '');
|
|
403
|
+
var isBinary = reIsBinary.test(value);
|
|
404
|
+
return (isBinary || reIsOctal.test(value))
|
|
405
|
+
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
406
|
+
: (reIsBadHex.test(value) ? NAN : +value);
|
|
313
407
|
}
|
|
314
408
|
|
|
315
|
-
/** Used for built-in method references. */
|
|
316
|
-
var funcProto = Function.prototype,
|
|
317
|
-
objectProto = Object.prototype;
|
|
318
|
-
|
|
319
|
-
/** Used to detect overreaching core-js shims. */
|
|
320
|
-
var coreJsData = root['__core-js_shared__'];
|
|
321
|
-
|
|
322
|
-
/** Used to detect methods masquerading as native. */
|
|
323
|
-
var maskSrcKey = (function() {
|
|
324
|
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
325
|
-
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
326
|
-
}());
|
|
327
|
-
|
|
328
|
-
/** Used to resolve the decompiled source of functions. */
|
|
329
|
-
var funcToString = funcProto.toString;
|
|
330
|
-
|
|
331
|
-
/** Used to check objects for own properties. */
|
|
332
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
333
|
-
|
|
334
409
|
/**
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
|
|
339
|
-
var objectToString = objectProto.toString;
|
|
340
|
-
|
|
341
|
-
/** Used to detect if a method is native. */
|
|
342
|
-
var reIsNative = RegExp('^' +
|
|
343
|
-
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
|
344
|
-
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
345
|
-
);
|
|
346
|
-
|
|
347
|
-
/** Built-in value references. */
|
|
348
|
-
var Symbol = root.Symbol,
|
|
349
|
-
iteratorSymbol = Symbol ? Symbol.iterator : undefined,
|
|
350
|
-
propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
351
|
-
|
|
352
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
353
|
-
var nativeFloor = Math.floor,
|
|
354
|
-
nativeKeys = overArg(Object.keys, Object),
|
|
355
|
-
nativeRandom = Math.random;
|
|
356
|
-
|
|
357
|
-
/* Built-in method references that are verified to be native. */
|
|
358
|
-
var DataView = getNative(root, 'DataView'),
|
|
359
|
-
Map = getNative(root, 'Map'),
|
|
360
|
-
Promise = getNative(root, 'Promise'),
|
|
361
|
-
Set = getNative(root, 'Set'),
|
|
362
|
-
WeakMap = getNative(root, 'WeakMap');
|
|
363
|
-
|
|
364
|
-
/** Used to detect maps, sets, and weakmaps. */
|
|
365
|
-
var dataViewCtorString = toSource(DataView),
|
|
366
|
-
mapCtorString = toSource(Map),
|
|
367
|
-
promiseCtorString = toSource(Promise),
|
|
368
|
-
setCtorString = toSource(Set),
|
|
369
|
-
weakMapCtorString = toSource(WeakMap);
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Creates an array of the enumerable property names of the array-like `value`.
|
|
373
|
-
*
|
|
374
|
-
* @private
|
|
375
|
-
* @param {*} value The value to query.
|
|
376
|
-
* @param {boolean} inherited Specify returning inherited property names.
|
|
377
|
-
* @returns {Array} Returns the array of property names.
|
|
378
|
-
*/
|
|
379
|
-
function arrayLikeKeys(value, inherited) {
|
|
380
|
-
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
381
|
-
// Safari 9 makes `arguments.length` enumerable in strict mode.
|
|
382
|
-
var result = (isArray(value) || isArguments(value))
|
|
383
|
-
? baseTimes(value.length, String)
|
|
384
|
-
: [];
|
|
385
|
-
|
|
386
|
-
var length = result.length,
|
|
387
|
-
skipIndexes = !!length;
|
|
388
|
-
|
|
389
|
-
for (var key in value) {
|
|
390
|
-
if ((hasOwnProperty.call(value, key)) &&
|
|
391
|
-
!(skipIndexes && (key == 'length' || isIndex(key, length)))) {
|
|
392
|
-
result.push(key);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
return result;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* The base implementation of `_.clamp` which doesn't coerce arguments.
|
|
400
|
-
*
|
|
401
|
-
* @private
|
|
402
|
-
* @param {number} number The number to clamp.
|
|
403
|
-
* @param {number} [lower] The lower bound.
|
|
404
|
-
* @param {number} upper The upper bound.
|
|
405
|
-
* @returns {number} Returns the clamped number.
|
|
406
|
-
*/
|
|
407
|
-
function baseClamp(number, lower, upper) {
|
|
408
|
-
if (number === number) {
|
|
409
|
-
if (upper !== undefined) {
|
|
410
|
-
number = number <= upper ? number : upper;
|
|
411
|
-
}
|
|
412
|
-
{
|
|
413
|
-
number = number >= lower ? number : lower;
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
return number;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* The base implementation of `getTag`.
|
|
421
|
-
*
|
|
422
|
-
* @private
|
|
423
|
-
* @param {*} value The value to query.
|
|
424
|
-
* @returns {string} Returns the `toStringTag`.
|
|
425
|
-
*/
|
|
426
|
-
function baseGetTag(value) {
|
|
427
|
-
return objectToString.call(value);
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* The base implementation of `_.isNative` without bad shim checks.
|
|
432
|
-
*
|
|
433
|
-
* @private
|
|
434
|
-
* @param {*} value The value to check.
|
|
435
|
-
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
436
|
-
* else `false`.
|
|
437
|
-
*/
|
|
438
|
-
function baseIsNative(value) {
|
|
439
|
-
if (!isObject(value) || isMasked(value)) {
|
|
440
|
-
return false;
|
|
441
|
-
}
|
|
442
|
-
var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
|
|
443
|
-
return pattern.test(toSource(value));
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
448
|
-
*
|
|
449
|
-
* @private
|
|
450
|
-
* @param {Object} object The object to query.
|
|
451
|
-
* @returns {Array} Returns the array of property names.
|
|
452
|
-
*/
|
|
453
|
-
function baseKeys(object) {
|
|
454
|
-
if (!isPrototype(object)) {
|
|
455
|
-
return nativeKeys(object);
|
|
456
|
-
}
|
|
457
|
-
var result = [];
|
|
458
|
-
for (var key in Object(object)) {
|
|
459
|
-
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
|
460
|
-
result.push(key);
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
return result;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* The base implementation of `_.random` without support for returning
|
|
468
|
-
* floating-point numbers.
|
|
469
|
-
*
|
|
470
|
-
* @private
|
|
471
|
-
* @param {number} lower The lower bound.
|
|
472
|
-
* @param {number} upper The upper bound.
|
|
473
|
-
* @returns {number} Returns the random number.
|
|
474
|
-
*/
|
|
475
|
-
function baseRandom(lower, upper) {
|
|
476
|
-
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* Copies the values of `source` to `array`.
|
|
481
|
-
*
|
|
482
|
-
* @private
|
|
483
|
-
* @param {Array} source The array to copy values from.
|
|
484
|
-
* @param {Array} [array=[]] The array to copy values to.
|
|
485
|
-
* @returns {Array} Returns `array`.
|
|
486
|
-
*/
|
|
487
|
-
function copyArray(source, array) {
|
|
488
|
-
var index = -1,
|
|
489
|
-
length = source.length;
|
|
490
|
-
|
|
491
|
-
array || (array = Array(length));
|
|
492
|
-
while (++index < length) {
|
|
493
|
-
array[index] = source[index];
|
|
494
|
-
}
|
|
495
|
-
return array;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* Gets the native function at `key` of `object`.
|
|
500
|
-
*
|
|
501
|
-
* @private
|
|
502
|
-
* @param {Object} object The object to query.
|
|
503
|
-
* @param {string} key The key of the method to get.
|
|
504
|
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
505
|
-
*/
|
|
506
|
-
function getNative(object, key) {
|
|
507
|
-
var value = getValue(object, key);
|
|
508
|
-
return baseIsNative(value) ? value : undefined;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* Gets the `toStringTag` of `value`.
|
|
513
|
-
*
|
|
514
|
-
* @private
|
|
515
|
-
* @param {*} value The value to query.
|
|
516
|
-
* @returns {string} Returns the `toStringTag`.
|
|
517
|
-
*/
|
|
518
|
-
var getTag = baseGetTag;
|
|
519
|
-
|
|
520
|
-
// Fallback for data views, maps, sets, and weak maps in IE 11,
|
|
521
|
-
// for data views in Edge < 14, and promises in Node.js.
|
|
522
|
-
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
523
|
-
(Map && getTag(new Map) != mapTag) ||
|
|
524
|
-
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
|
525
|
-
(Set && getTag(new Set) != setTag) ||
|
|
526
|
-
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
|
527
|
-
getTag = function(value) {
|
|
528
|
-
var result = objectToString.call(value),
|
|
529
|
-
Ctor = result == objectTag ? value.constructor : undefined,
|
|
530
|
-
ctorString = Ctor ? toSource(Ctor) : undefined;
|
|
531
|
-
|
|
532
|
-
if (ctorString) {
|
|
533
|
-
switch (ctorString) {
|
|
534
|
-
case dataViewCtorString: return dataViewTag;
|
|
535
|
-
case mapCtorString: return mapTag;
|
|
536
|
-
case promiseCtorString: return promiseTag;
|
|
537
|
-
case setCtorString: return setTag;
|
|
538
|
-
case weakMapCtorString: return weakMapTag;
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
return result;
|
|
542
|
-
};
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* Checks if `value` is a valid array-like index.
|
|
547
|
-
*
|
|
548
|
-
* @private
|
|
549
|
-
* @param {*} value The value to check.
|
|
550
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
551
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
552
|
-
*/
|
|
553
|
-
function isIndex(value, length) {
|
|
554
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
555
|
-
return !!length &&
|
|
556
|
-
(typeof value == 'number' || reIsUint.test(value)) &&
|
|
557
|
-
(value > -1 && value % 1 == 0 && value < length);
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* Checks if the given arguments are from an iteratee call.
|
|
562
|
-
*
|
|
563
|
-
* @private
|
|
564
|
-
* @param {*} value The potential iteratee value argument.
|
|
565
|
-
* @param {*} index The potential iteratee index or key argument.
|
|
566
|
-
* @param {*} object The potential iteratee object argument.
|
|
567
|
-
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
568
|
-
* else `false`.
|
|
569
|
-
*/
|
|
570
|
-
function isIterateeCall(value, index, object) {
|
|
571
|
-
if (!isObject(object)) {
|
|
572
|
-
return false;
|
|
573
|
-
}
|
|
574
|
-
var type = typeof index;
|
|
575
|
-
if (type == 'number'
|
|
576
|
-
? (isArrayLike(object) && isIndex(index, object.length))
|
|
577
|
-
: (type == 'string' && index in object)
|
|
578
|
-
) {
|
|
579
|
-
return eq(object[index], value);
|
|
580
|
-
}
|
|
581
|
-
return false;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* Checks if `func` has its source masked.
|
|
586
|
-
*
|
|
587
|
-
* @private
|
|
588
|
-
* @param {Function} func The function to check.
|
|
589
|
-
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
590
|
-
*/
|
|
591
|
-
function isMasked(func) {
|
|
592
|
-
return !!maskSrcKey && (maskSrcKey in func);
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* Checks if `value` is likely a prototype object.
|
|
597
|
-
*
|
|
598
|
-
* @private
|
|
599
|
-
* @param {*} value The value to check.
|
|
600
|
-
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
601
|
-
*/
|
|
602
|
-
function isPrototype(value) {
|
|
603
|
-
var Ctor = value && value.constructor,
|
|
604
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
|
605
|
-
|
|
606
|
-
return value === proto;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* Converts `func` to its source code.
|
|
611
|
-
*
|
|
612
|
-
* @private
|
|
613
|
-
* @param {Function} func The function to process.
|
|
614
|
-
* @returns {string} Returns the source code.
|
|
615
|
-
*/
|
|
616
|
-
function toSource(func) {
|
|
617
|
-
if (func != null) {
|
|
618
|
-
try {
|
|
619
|
-
return funcToString.call(func);
|
|
620
|
-
} catch (e) {}
|
|
621
|
-
try {
|
|
622
|
-
return (func + '');
|
|
623
|
-
} catch (e) {}
|
|
624
|
-
}
|
|
625
|
-
return '';
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* Gets `n` random elements at unique keys from `collection` up to the
|
|
630
|
-
* size of `collection`.
|
|
631
|
-
*
|
|
632
|
-
* @static
|
|
633
|
-
* @memberOf _
|
|
634
|
-
* @since 4.0.0
|
|
635
|
-
* @category Collection
|
|
636
|
-
* @param {Array|Object} collection The collection to sample.
|
|
637
|
-
* @param {number} [n=1] The number of elements to sample.
|
|
638
|
-
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
639
|
-
* @returns {Array} Returns the random elements.
|
|
640
|
-
* @example
|
|
641
|
-
*
|
|
642
|
-
* _.sampleSize([1, 2, 3], 2);
|
|
643
|
-
* // => [3, 1]
|
|
644
|
-
*
|
|
645
|
-
* _.sampleSize([1, 2, 3], 4);
|
|
646
|
-
* // => [2, 3, 1]
|
|
647
|
-
*/
|
|
648
|
-
function sampleSize(collection, n, guard) {
|
|
649
|
-
var index = -1,
|
|
650
|
-
result = toArray(collection),
|
|
651
|
-
length = result.length,
|
|
652
|
-
lastIndex = length - 1;
|
|
653
|
-
|
|
654
|
-
if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
|
|
655
|
-
n = 1;
|
|
656
|
-
} else {
|
|
657
|
-
n = baseClamp(toInteger(n), 0, length);
|
|
658
|
-
}
|
|
659
|
-
while (++index < n) {
|
|
660
|
-
var rand = baseRandom(index, lastIndex),
|
|
661
|
-
value = result[rand];
|
|
662
|
-
|
|
663
|
-
result[rand] = result[index];
|
|
664
|
-
result[index] = value;
|
|
665
|
-
}
|
|
666
|
-
result.length = n;
|
|
667
|
-
return result;
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* Performs a
|
|
672
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
673
|
-
* comparison between two values to determine if they are equivalent.
|
|
674
|
-
*
|
|
675
|
-
* @static
|
|
676
|
-
* @memberOf _
|
|
677
|
-
* @since 4.0.0
|
|
678
|
-
* @category Lang
|
|
679
|
-
* @param {*} value The value to compare.
|
|
680
|
-
* @param {*} other The other value to compare.
|
|
681
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
682
|
-
* @example
|
|
683
|
-
*
|
|
684
|
-
* var object = { 'a': 1 };
|
|
685
|
-
* var other = { 'a': 1 };
|
|
686
|
-
*
|
|
687
|
-
* _.eq(object, object);
|
|
688
|
-
* // => true
|
|
689
|
-
*
|
|
690
|
-
* _.eq(object, other);
|
|
691
|
-
* // => false
|
|
692
|
-
*
|
|
693
|
-
* _.eq('a', 'a');
|
|
694
|
-
* // => true
|
|
695
|
-
*
|
|
696
|
-
* _.eq('a', Object('a'));
|
|
697
|
-
* // => false
|
|
698
|
-
*
|
|
699
|
-
* _.eq(NaN, NaN);
|
|
700
|
-
* // => true
|
|
701
|
-
*/
|
|
702
|
-
function eq(value, other) {
|
|
703
|
-
return value === other || (value !== value && other !== other);
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
/**
|
|
707
|
-
* Checks if `value` is likely an `arguments` object.
|
|
708
|
-
*
|
|
709
|
-
* @static
|
|
710
|
-
* @memberOf _
|
|
711
|
-
* @since 0.1.0
|
|
712
|
-
* @category Lang
|
|
713
|
-
* @param {*} value The value to check.
|
|
714
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
715
|
-
* else `false`.
|
|
716
|
-
* @example
|
|
717
|
-
*
|
|
718
|
-
* _.isArguments(function() { return arguments; }());
|
|
719
|
-
* // => true
|
|
720
|
-
*
|
|
721
|
-
* _.isArguments([1, 2, 3]);
|
|
722
|
-
* // => false
|
|
723
|
-
*/
|
|
724
|
-
function isArguments(value) {
|
|
725
|
-
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
726
|
-
return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
|
|
727
|
-
(!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
/**
|
|
731
|
-
* Checks if `value` is classified as an `Array` object.
|
|
732
|
-
*
|
|
733
|
-
* @static
|
|
734
|
-
* @memberOf _
|
|
735
|
-
* @since 0.1.0
|
|
736
|
-
* @category Lang
|
|
737
|
-
* @param {*} value The value to check.
|
|
738
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
739
|
-
* @example
|
|
740
|
-
*
|
|
741
|
-
* _.isArray([1, 2, 3]);
|
|
742
|
-
* // => true
|
|
743
|
-
*
|
|
744
|
-
* _.isArray(document.body.children);
|
|
745
|
-
* // => false
|
|
746
|
-
*
|
|
747
|
-
* _.isArray('abc');
|
|
748
|
-
* // => false
|
|
410
|
+
* Produces a random number between the inclusive `lower` and `upper` bounds.
|
|
411
|
+
* If only one argument is provided a number between `0` and the given number
|
|
412
|
+
* is returned. If `floating` is `true`, or either `lower` or `upper` are
|
|
413
|
+
* floats, a floating-point number is returned instead of an integer.
|
|
749
414
|
*
|
|
750
|
-
*
|
|
751
|
-
*
|
|
752
|
-
*/
|
|
753
|
-
var isArray = Array.isArray;
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
757
|
-
* not a function and has a `value.length` that's an integer greater than or
|
|
758
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
415
|
+
* **Note:** JavaScript follows the IEEE-754 standard for resolving
|
|
416
|
+
* floating-point values which can produce unexpected results.
|
|
759
417
|
*
|
|
760
418
|
* @static
|
|
761
419
|
* @memberOf _
|
|
762
|
-
* @since
|
|
763
|
-
* @category
|
|
764
|
-
* @param {
|
|
765
|
-
* @
|
|
420
|
+
* @since 0.7.0
|
|
421
|
+
* @category Number
|
|
422
|
+
* @param {number} [lower=0] The lower bound.
|
|
423
|
+
* @param {number} [upper=1] The upper bound.
|
|
424
|
+
* @param {boolean} [floating] Specify returning a floating-point number.
|
|
425
|
+
* @returns {number} Returns the random number.
|
|
766
426
|
* @example
|
|
767
427
|
*
|
|
768
|
-
* _.
|
|
769
|
-
* // =>
|
|
428
|
+
* _.random(0, 5);
|
|
429
|
+
* // => an integer between 0 and 5
|
|
770
430
|
*
|
|
771
|
-
* _.
|
|
772
|
-
* // =>
|
|
431
|
+
* _.random(5);
|
|
432
|
+
* // => also an integer between 0 and 5
|
|
773
433
|
*
|
|
774
|
-
* _.
|
|
775
|
-
* // =>
|
|
434
|
+
* _.random(5, true);
|
|
435
|
+
* // => a floating-point number between 0 and 5
|
|
776
436
|
*
|
|
777
|
-
* _.
|
|
778
|
-
* // =>
|
|
437
|
+
* _.random(1.2, 5.2);
|
|
438
|
+
* // => a floating-point number between 1.2 and 5.2
|
|
779
439
|
*/
|
|
780
|
-
function
|
|
781
|
-
|
|
440
|
+
function random(lower, upper, floating) {
|
|
441
|
+
if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {
|
|
442
|
+
upper = floating = undefined;
|
|
443
|
+
}
|
|
444
|
+
if (floating === undefined) {
|
|
445
|
+
if (typeof upper == 'boolean') {
|
|
446
|
+
floating = upper;
|
|
447
|
+
upper = undefined;
|
|
448
|
+
}
|
|
449
|
+
else if (typeof lower == 'boolean') {
|
|
450
|
+
floating = lower;
|
|
451
|
+
lower = undefined;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
if (lower === undefined && upper === undefined) {
|
|
455
|
+
lower = 0;
|
|
456
|
+
upper = 1;
|
|
457
|
+
}
|
|
458
|
+
else {
|
|
459
|
+
lower = toFinite(lower);
|
|
460
|
+
if (upper === undefined) {
|
|
461
|
+
upper = lower;
|
|
462
|
+
lower = 0;
|
|
463
|
+
} else {
|
|
464
|
+
upper = toFinite(upper);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
if (lower > upper) {
|
|
468
|
+
var temp = lower;
|
|
469
|
+
lower = upper;
|
|
470
|
+
upper = temp;
|
|
471
|
+
}
|
|
472
|
+
if (floating || lower % 1 || upper % 1) {
|
|
473
|
+
var rand = nativeRandom();
|
|
474
|
+
return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
|
|
475
|
+
}
|
|
476
|
+
return baseRandom(lower, upper);
|
|
782
477
|
}
|
|
783
478
|
|
|
479
|
+
lodash_random = random;
|
|
480
|
+
return lodash_random;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
var lodash_randomExports = requireLodash_random();
|
|
484
|
+
var random = /*@__PURE__*/getDefaultExportFromCjs(lodash_randomExports);
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* lodash (Custom Build) <https://lodash.com/>
|
|
488
|
+
* Build: `lodash modularize exports="npm" -o ./`
|
|
489
|
+
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
490
|
+
* Released under MIT license <https://lodash.com/license>
|
|
491
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
492
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
493
|
+
*/
|
|
494
|
+
|
|
495
|
+
var lodash_samplesize;
|
|
496
|
+
var hasRequiredLodash_samplesize;
|
|
497
|
+
|
|
498
|
+
function requireLodash_samplesize () {
|
|
499
|
+
if (hasRequiredLodash_samplesize) return lodash_samplesize;
|
|
500
|
+
hasRequiredLodash_samplesize = 1;
|
|
501
|
+
/** Used as references for various `Number` constants. */
|
|
502
|
+
var INFINITY = 1 / 0,
|
|
503
|
+
MAX_SAFE_INTEGER = 9007199254740991,
|
|
504
|
+
MAX_INTEGER = 1.7976931348623157e+308,
|
|
505
|
+
NAN = 0 / 0;
|
|
506
|
+
|
|
507
|
+
/** `Object#toString` result references. */
|
|
508
|
+
var argsTag = '[object Arguments]',
|
|
509
|
+
funcTag = '[object Function]',
|
|
510
|
+
genTag = '[object GeneratorFunction]',
|
|
511
|
+
mapTag = '[object Map]',
|
|
512
|
+
objectTag = '[object Object]',
|
|
513
|
+
promiseTag = '[object Promise]',
|
|
514
|
+
setTag = '[object Set]',
|
|
515
|
+
stringTag = '[object String]',
|
|
516
|
+
symbolTag = '[object Symbol]',
|
|
517
|
+
weakMapTag = '[object WeakMap]';
|
|
518
|
+
|
|
519
|
+
var dataViewTag = '[object DataView]';
|
|
520
|
+
|
|
784
521
|
/**
|
|
785
|
-
*
|
|
786
|
-
*
|
|
787
|
-
*
|
|
788
|
-
* @static
|
|
789
|
-
* @memberOf _
|
|
790
|
-
* @since 4.0.0
|
|
791
|
-
* @category Lang
|
|
792
|
-
* @param {*} value The value to check.
|
|
793
|
-
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
794
|
-
* else `false`.
|
|
795
|
-
* @example
|
|
796
|
-
*
|
|
797
|
-
* _.isArrayLikeObject([1, 2, 3]);
|
|
798
|
-
* // => true
|
|
799
|
-
*
|
|
800
|
-
* _.isArrayLikeObject(document.body.children);
|
|
801
|
-
* // => true
|
|
802
|
-
*
|
|
803
|
-
* _.isArrayLikeObject('abc');
|
|
804
|
-
* // => false
|
|
805
|
-
*
|
|
806
|
-
* _.isArrayLikeObject(_.noop);
|
|
807
|
-
* // => false
|
|
522
|
+
* Used to match `RegExp`
|
|
523
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
808
524
|
*/
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
525
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
526
|
+
|
|
527
|
+
/** Used to match leading and trailing whitespace. */
|
|
528
|
+
var reTrim = /^\s+|\s+$/g;
|
|
529
|
+
|
|
530
|
+
/** Used to detect bad signed hexadecimal string values. */
|
|
531
|
+
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
532
|
+
|
|
533
|
+
/** Used to detect binary string values. */
|
|
534
|
+
var reIsBinary = /^0b[01]+$/i;
|
|
535
|
+
|
|
536
|
+
/** Used to detect host constructors (Safari). */
|
|
537
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
538
|
+
|
|
539
|
+
/** Used to detect octal string values. */
|
|
540
|
+
var reIsOctal = /^0o[0-7]+$/i;
|
|
541
|
+
|
|
542
|
+
/** Used to detect unsigned integer values. */
|
|
543
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
544
|
+
|
|
545
|
+
/** Used to compose unicode character classes. */
|
|
546
|
+
var rsAstralRange = '\\ud800-\\udfff',
|
|
547
|
+
rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
|
|
548
|
+
rsComboSymbolsRange = '\\u20d0-\\u20f0',
|
|
549
|
+
rsVarRange = '\\ufe0e\\ufe0f';
|
|
550
|
+
|
|
551
|
+
/** Used to compose unicode capture groups. */
|
|
552
|
+
var rsAstral = '[' + rsAstralRange + ']',
|
|
553
|
+
rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
|
|
554
|
+
rsFitz = '\\ud83c[\\udffb-\\udfff]',
|
|
555
|
+
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
|
|
556
|
+
rsNonAstral = '[^' + rsAstralRange + ']',
|
|
557
|
+
rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
|
|
558
|
+
rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
|
|
559
|
+
rsZWJ = '\\u200d';
|
|
560
|
+
|
|
561
|
+
/** Used to compose unicode regexes. */
|
|
562
|
+
var reOptMod = rsModifier + '?',
|
|
563
|
+
rsOptVar = '[' + rsVarRange + ']?',
|
|
564
|
+
rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
|
|
565
|
+
rsSeq = rsOptVar + reOptMod + rsOptJoin,
|
|
566
|
+
rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
|
|
567
|
+
|
|
568
|
+
/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
|
|
569
|
+
var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
|
|
570
|
+
|
|
571
|
+
/** 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/). */
|
|
572
|
+
var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');
|
|
573
|
+
|
|
574
|
+
/** Built-in method references without a dependency on `root`. */
|
|
575
|
+
var freeParseInt = parseInt;
|
|
576
|
+
|
|
577
|
+
/** Detect free variable `global` from Node.js. */
|
|
578
|
+
var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
579
|
+
|
|
580
|
+
/** Detect free variable `self`. */
|
|
581
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
582
|
+
|
|
583
|
+
/** Used as a reference to the global object. */
|
|
584
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
812
585
|
|
|
813
586
|
/**
|
|
814
|
-
*
|
|
815
|
-
*
|
|
816
|
-
* @static
|
|
817
|
-
* @memberOf _
|
|
818
|
-
* @since 0.1.0
|
|
819
|
-
* @category Lang
|
|
820
|
-
* @param {*} value The value to check.
|
|
821
|
-
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
822
|
-
* @example
|
|
823
|
-
*
|
|
824
|
-
* _.isFunction(_);
|
|
825
|
-
* // => true
|
|
587
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
588
|
+
* shorthands.
|
|
826
589
|
*
|
|
827
|
-
*
|
|
828
|
-
*
|
|
590
|
+
* @private
|
|
591
|
+
* @param {Array} [array] The array to iterate over.
|
|
592
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
593
|
+
* @returns {Array} Returns the new mapped array.
|
|
829
594
|
*/
|
|
830
|
-
function
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
595
|
+
function arrayMap(array, iteratee) {
|
|
596
|
+
var index = -1,
|
|
597
|
+
length = array ? array.length : 0,
|
|
598
|
+
result = Array(length);
|
|
599
|
+
|
|
600
|
+
while (++index < length) {
|
|
601
|
+
result[index] = iteratee(array[index], index, array);
|
|
602
|
+
}
|
|
603
|
+
return result;
|
|
835
604
|
}
|
|
836
605
|
|
|
837
606
|
/**
|
|
838
|
-
*
|
|
839
|
-
*
|
|
840
|
-
* **Note:** This method is loosely based on
|
|
841
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
842
|
-
*
|
|
843
|
-
* @static
|
|
844
|
-
* @memberOf _
|
|
845
|
-
* @since 4.0.0
|
|
846
|
-
* @category Lang
|
|
847
|
-
* @param {*} value The value to check.
|
|
848
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
849
|
-
* @example
|
|
850
|
-
*
|
|
851
|
-
* _.isLength(3);
|
|
852
|
-
* // => true
|
|
853
|
-
*
|
|
854
|
-
* _.isLength(Number.MIN_VALUE);
|
|
855
|
-
* // => false
|
|
856
|
-
*
|
|
857
|
-
* _.isLength(Infinity);
|
|
858
|
-
* // => false
|
|
607
|
+
* Converts an ASCII `string` to an array.
|
|
859
608
|
*
|
|
860
|
-
*
|
|
861
|
-
*
|
|
609
|
+
* @private
|
|
610
|
+
* @param {string} string The string to convert.
|
|
611
|
+
* @returns {Array} Returns the converted array.
|
|
862
612
|
*/
|
|
863
|
-
function
|
|
864
|
-
return
|
|
865
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
613
|
+
function asciiToArray(string) {
|
|
614
|
+
return string.split('');
|
|
866
615
|
}
|
|
867
616
|
|
|
868
617
|
/**
|
|
869
|
-
*
|
|
870
|
-
*
|
|
871
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
872
|
-
*
|
|
873
|
-
* @static
|
|
874
|
-
* @memberOf _
|
|
875
|
-
* @since 0.1.0
|
|
876
|
-
* @category Lang
|
|
877
|
-
* @param {*} value The value to check.
|
|
878
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
879
|
-
* @example
|
|
880
|
-
*
|
|
881
|
-
* _.isObject({});
|
|
882
|
-
* // => true
|
|
883
|
-
*
|
|
884
|
-
* _.isObject([1, 2, 3]);
|
|
885
|
-
* // => true
|
|
886
|
-
*
|
|
887
|
-
* _.isObject(_.noop);
|
|
888
|
-
* // => true
|
|
618
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
619
|
+
* or max array length checks.
|
|
889
620
|
*
|
|
890
|
-
*
|
|
891
|
-
*
|
|
621
|
+
* @private
|
|
622
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
623
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
624
|
+
* @returns {Array} Returns the array of results.
|
|
892
625
|
*/
|
|
893
|
-
function
|
|
894
|
-
var
|
|
895
|
-
|
|
626
|
+
function baseTimes(n, iteratee) {
|
|
627
|
+
var index = -1,
|
|
628
|
+
result = Array(n);
|
|
629
|
+
|
|
630
|
+
while (++index < n) {
|
|
631
|
+
result[index] = iteratee(index);
|
|
632
|
+
}
|
|
633
|
+
return result;
|
|
896
634
|
}
|
|
897
635
|
|
|
898
636
|
/**
|
|
899
|
-
*
|
|
900
|
-
*
|
|
901
|
-
*
|
|
902
|
-
* @static
|
|
903
|
-
* @memberOf _
|
|
904
|
-
* @since 4.0.0
|
|
905
|
-
* @category Lang
|
|
906
|
-
* @param {*} value The value to check.
|
|
907
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
908
|
-
* @example
|
|
909
|
-
*
|
|
910
|
-
* _.isObjectLike({});
|
|
911
|
-
* // => true
|
|
912
|
-
*
|
|
913
|
-
* _.isObjectLike([1, 2, 3]);
|
|
914
|
-
* // => true
|
|
915
|
-
*
|
|
916
|
-
* _.isObjectLike(_.noop);
|
|
917
|
-
* // => false
|
|
637
|
+
* The base implementation of `_.values` and `_.valuesIn` which creates an
|
|
638
|
+
* array of `object` property values corresponding to the property names
|
|
639
|
+
* of `props`.
|
|
918
640
|
*
|
|
919
|
-
*
|
|
920
|
-
*
|
|
641
|
+
* @private
|
|
642
|
+
* @param {Object} object The object to query.
|
|
643
|
+
* @param {Array} props The property names to get values for.
|
|
644
|
+
* @returns {Object} Returns the array of property values.
|
|
921
645
|
*/
|
|
922
|
-
function
|
|
923
|
-
return
|
|
646
|
+
function baseValues(object, props) {
|
|
647
|
+
return arrayMap(props, function(key) {
|
|
648
|
+
return object[key];
|
|
649
|
+
});
|
|
924
650
|
}
|
|
925
651
|
|
|
926
652
|
/**
|
|
927
|
-
*
|
|
928
|
-
*
|
|
929
|
-
* @static
|
|
930
|
-
* @since 0.1.0
|
|
931
|
-
* @memberOf _
|
|
932
|
-
* @category Lang
|
|
933
|
-
* @param {*} value The value to check.
|
|
934
|
-
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
|
935
|
-
* @example
|
|
936
|
-
*
|
|
937
|
-
* _.isString('abc');
|
|
938
|
-
* // => true
|
|
653
|
+
* Gets the value at `key` of `object`.
|
|
939
654
|
*
|
|
940
|
-
*
|
|
941
|
-
*
|
|
655
|
+
* @private
|
|
656
|
+
* @param {Object} [object] The object to query.
|
|
657
|
+
* @param {string} key The key of the property to get.
|
|
658
|
+
* @returns {*} Returns the property value.
|
|
942
659
|
*/
|
|
943
|
-
function
|
|
944
|
-
return
|
|
945
|
-
(!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);
|
|
660
|
+
function getValue(object, key) {
|
|
661
|
+
return object == null ? undefined : object[key];
|
|
946
662
|
}
|
|
947
663
|
|
|
948
664
|
/**
|
|
949
|
-
* Checks if `
|
|
950
|
-
*
|
|
951
|
-
* @static
|
|
952
|
-
* @memberOf _
|
|
953
|
-
* @since 4.0.0
|
|
954
|
-
* @category Lang
|
|
955
|
-
* @param {*} value The value to check.
|
|
956
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
957
|
-
* @example
|
|
958
|
-
*
|
|
959
|
-
* _.isSymbol(Symbol.iterator);
|
|
960
|
-
* // => true
|
|
665
|
+
* Checks if `string` contains Unicode symbols.
|
|
961
666
|
*
|
|
962
|
-
*
|
|
963
|
-
*
|
|
667
|
+
* @private
|
|
668
|
+
* @param {string} string The string to inspect.
|
|
669
|
+
* @returns {boolean} Returns `true` if a symbol is found, else `false`.
|
|
964
670
|
*/
|
|
965
|
-
function
|
|
966
|
-
return
|
|
967
|
-
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
671
|
+
function hasUnicode(string) {
|
|
672
|
+
return reHasUnicode.test(string);
|
|
968
673
|
}
|
|
969
674
|
|
|
970
675
|
/**
|
|
971
|
-
*
|
|
972
|
-
*
|
|
973
|
-
* @static
|
|
974
|
-
* @since 0.1.0
|
|
975
|
-
* @memberOf _
|
|
976
|
-
* @category Lang
|
|
977
|
-
* @param {*} value The value to convert.
|
|
978
|
-
* @returns {Array} Returns the converted array.
|
|
979
|
-
* @example
|
|
980
|
-
*
|
|
981
|
-
* _.toArray({ 'a': 1, 'b': 2 });
|
|
982
|
-
* // => [1, 2]
|
|
983
|
-
*
|
|
984
|
-
* _.toArray('abc');
|
|
985
|
-
* // => ['a', 'b', 'c']
|
|
986
|
-
*
|
|
987
|
-
* _.toArray(1);
|
|
988
|
-
* // => []
|
|
676
|
+
* Checks if `value` is a host object in IE < 9.
|
|
989
677
|
*
|
|
990
|
-
*
|
|
991
|
-
*
|
|
678
|
+
* @private
|
|
679
|
+
* @param {*} value The value to check.
|
|
680
|
+
* @returns {boolean} Returns `true` if `value` is a host object, else `false`.
|
|
992
681
|
*/
|
|
993
|
-
function
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
if (
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
return iteratorToArray(value[iteratorSymbol]());
|
|
682
|
+
function isHostObject(value) {
|
|
683
|
+
// Many host objects are `Object` objects that can coerce to strings
|
|
684
|
+
// despite having improperly defined `toString` methods.
|
|
685
|
+
var result = false;
|
|
686
|
+
if (value != null && typeof value.toString != 'function') {
|
|
687
|
+
try {
|
|
688
|
+
result = !!(value + '');
|
|
689
|
+
} catch (e) {}
|
|
1002
690
|
}
|
|
1003
|
-
|
|
1004
|
-
func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);
|
|
1005
|
-
|
|
1006
|
-
return func(value);
|
|
691
|
+
return result;
|
|
1007
692
|
}
|
|
1008
693
|
|
|
1009
694
|
/**
|
|
1010
|
-
* Converts `
|
|
1011
|
-
*
|
|
1012
|
-
* @static
|
|
1013
|
-
* @memberOf _
|
|
1014
|
-
* @since 4.12.0
|
|
1015
|
-
* @category Lang
|
|
1016
|
-
* @param {*} value The value to convert.
|
|
1017
|
-
* @returns {number} Returns the converted number.
|
|
1018
|
-
* @example
|
|
1019
|
-
*
|
|
1020
|
-
* _.toFinite(3.2);
|
|
1021
|
-
* // => 3.2
|
|
1022
|
-
*
|
|
1023
|
-
* _.toFinite(Number.MIN_VALUE);
|
|
1024
|
-
* // => 5e-324
|
|
1025
|
-
*
|
|
1026
|
-
* _.toFinite(Infinity);
|
|
1027
|
-
* // => 1.7976931348623157e+308
|
|
695
|
+
* Converts `iterator` to an array.
|
|
1028
696
|
*
|
|
1029
|
-
*
|
|
1030
|
-
*
|
|
697
|
+
* @private
|
|
698
|
+
* @param {Object} iterator The iterator to convert.
|
|
699
|
+
* @returns {Array} Returns the converted array.
|
|
1031
700
|
*/
|
|
1032
|
-
function
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
var sign = (value < 0 ? -1 : 1);
|
|
1039
|
-
return sign * MAX_INTEGER;
|
|
701
|
+
function iteratorToArray(iterator) {
|
|
702
|
+
var data,
|
|
703
|
+
result = [];
|
|
704
|
+
|
|
705
|
+
while (!(data = iterator.next()).done) {
|
|
706
|
+
result.push(data.value);
|
|
1040
707
|
}
|
|
1041
|
-
return
|
|
708
|
+
return result;
|
|
1042
709
|
}
|
|
1043
710
|
|
|
1044
711
|
/**
|
|
1045
|
-
* Converts `
|
|
1046
|
-
*
|
|
1047
|
-
* **Note:** This method is loosely based on
|
|
1048
|
-
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
|
|
1049
|
-
*
|
|
1050
|
-
* @static
|
|
1051
|
-
* @memberOf _
|
|
1052
|
-
* @since 4.0.0
|
|
1053
|
-
* @category Lang
|
|
1054
|
-
* @param {*} value The value to convert.
|
|
1055
|
-
* @returns {number} Returns the converted integer.
|
|
1056
|
-
* @example
|
|
1057
|
-
*
|
|
1058
|
-
* _.toInteger(3.2);
|
|
1059
|
-
* // => 3
|
|
1060
|
-
*
|
|
1061
|
-
* _.toInteger(Number.MIN_VALUE);
|
|
1062
|
-
* // => 0
|
|
1063
|
-
*
|
|
1064
|
-
* _.toInteger(Infinity);
|
|
1065
|
-
* // => 1.7976931348623157e+308
|
|
712
|
+
* Converts `map` to its key-value pairs.
|
|
1066
713
|
*
|
|
1067
|
-
*
|
|
1068
|
-
*
|
|
714
|
+
* @private
|
|
715
|
+
* @param {Object} map The map to convert.
|
|
716
|
+
* @returns {Array} Returns the key-value pairs.
|
|
1069
717
|
*/
|
|
1070
|
-
function
|
|
1071
|
-
var
|
|
1072
|
-
|
|
718
|
+
function mapToArray(map) {
|
|
719
|
+
var index = -1,
|
|
720
|
+
result = Array(map.size);
|
|
1073
721
|
|
|
1074
|
-
|
|
722
|
+
map.forEach(function(value, key) {
|
|
723
|
+
result[++index] = [key, value];
|
|
724
|
+
});
|
|
725
|
+
return result;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
730
|
+
*
|
|
731
|
+
* @private
|
|
732
|
+
* @param {Function} func The function to wrap.
|
|
733
|
+
* @param {Function} transform The argument transform.
|
|
734
|
+
* @returns {Function} Returns the new function.
|
|
735
|
+
*/
|
|
736
|
+
function overArg(func, transform) {
|
|
737
|
+
return function(arg) {
|
|
738
|
+
return func(transform(arg));
|
|
739
|
+
};
|
|
1075
740
|
}
|
|
1076
741
|
|
|
1077
742
|
/**
|
|
1078
|
-
* Converts `
|
|
1079
|
-
*
|
|
1080
|
-
* @static
|
|
1081
|
-
* @memberOf _
|
|
1082
|
-
* @since 4.0.0
|
|
1083
|
-
* @category Lang
|
|
1084
|
-
* @param {*} value The value to process.
|
|
1085
|
-
* @returns {number} Returns the number.
|
|
1086
|
-
* @example
|
|
1087
|
-
*
|
|
1088
|
-
* _.toNumber(3.2);
|
|
1089
|
-
* // => 3.2
|
|
1090
|
-
*
|
|
1091
|
-
* _.toNumber(Number.MIN_VALUE);
|
|
1092
|
-
* // => 5e-324
|
|
1093
|
-
*
|
|
1094
|
-
* _.toNumber(Infinity);
|
|
1095
|
-
* // => Infinity
|
|
743
|
+
* Converts `set` to an array of its values.
|
|
1096
744
|
*
|
|
1097
|
-
*
|
|
1098
|
-
*
|
|
745
|
+
* @private
|
|
746
|
+
* @param {Object} set The set to convert.
|
|
747
|
+
* @returns {Array} Returns the values.
|
|
1099
748
|
*/
|
|
1100
|
-
function
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
1109
|
-
value = isObject(other) ? (other + '') : other;
|
|
1110
|
-
}
|
|
1111
|
-
if (typeof value != 'string') {
|
|
1112
|
-
return value === 0 ? value : +value;
|
|
1113
|
-
}
|
|
1114
|
-
value = value.replace(reTrim, '');
|
|
1115
|
-
var isBinary = reIsBinary.test(value);
|
|
1116
|
-
return (isBinary || reIsOctal.test(value))
|
|
1117
|
-
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
1118
|
-
: (reIsBadHex.test(value) ? NAN : +value);
|
|
749
|
+
function setToArray(set) {
|
|
750
|
+
var index = -1,
|
|
751
|
+
result = Array(set.size);
|
|
752
|
+
|
|
753
|
+
set.forEach(function(value) {
|
|
754
|
+
result[++index] = value;
|
|
755
|
+
});
|
|
756
|
+
return result;
|
|
1119
757
|
}
|
|
1120
758
|
|
|
1121
759
|
/**
|
|
1122
|
-
*
|
|
1123
|
-
*
|
|
1124
|
-
* **Note:** Non-object values are coerced to objects. See the
|
|
1125
|
-
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1126
|
-
* for more details.
|
|
1127
|
-
*
|
|
1128
|
-
* @static
|
|
1129
|
-
* @since 0.1.0
|
|
1130
|
-
* @memberOf _
|
|
1131
|
-
* @category Object
|
|
1132
|
-
* @param {Object} object The object to query.
|
|
1133
|
-
* @returns {Array} Returns the array of property names.
|
|
1134
|
-
* @example
|
|
1135
|
-
*
|
|
1136
|
-
* function Foo() {
|
|
1137
|
-
* this.a = 1;
|
|
1138
|
-
* this.b = 2;
|
|
1139
|
-
* }
|
|
1140
|
-
*
|
|
1141
|
-
* Foo.prototype.c = 3;
|
|
1142
|
-
*
|
|
1143
|
-
* _.keys(new Foo);
|
|
1144
|
-
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
760
|
+
* Converts `string` to an array.
|
|
1145
761
|
*
|
|
1146
|
-
*
|
|
1147
|
-
*
|
|
762
|
+
* @private
|
|
763
|
+
* @param {string} string The string to convert.
|
|
764
|
+
* @returns {Array} Returns the converted array.
|
|
1148
765
|
*/
|
|
1149
|
-
function
|
|
1150
|
-
return
|
|
766
|
+
function stringToArray(string) {
|
|
767
|
+
return hasUnicode(string)
|
|
768
|
+
? unicodeToArray(string)
|
|
769
|
+
: asciiToArray(string);
|
|
1151
770
|
}
|
|
1152
771
|
|
|
1153
772
|
/**
|
|
1154
|
-
*
|
|
1155
|
-
*
|
|
1156
|
-
* **Note:** Non-object values are coerced to objects.
|
|
1157
|
-
*
|
|
1158
|
-
* @static
|
|
1159
|
-
* @since 0.1.0
|
|
1160
|
-
* @memberOf _
|
|
1161
|
-
* @category Object
|
|
1162
|
-
* @param {Object} object The object to query.
|
|
1163
|
-
* @returns {Array} Returns the array of property values.
|
|
1164
|
-
* @example
|
|
1165
|
-
*
|
|
1166
|
-
* function Foo() {
|
|
1167
|
-
* this.a = 1;
|
|
1168
|
-
* this.b = 2;
|
|
1169
|
-
* }
|
|
1170
|
-
*
|
|
1171
|
-
* Foo.prototype.c = 3;
|
|
1172
|
-
*
|
|
1173
|
-
* _.values(new Foo);
|
|
1174
|
-
* // => [1, 2] (iteration order is not guaranteed)
|
|
773
|
+
* Converts a Unicode `string` to an array.
|
|
1175
774
|
*
|
|
1176
|
-
*
|
|
1177
|
-
*
|
|
775
|
+
* @private
|
|
776
|
+
* @param {string} string The string to convert.
|
|
777
|
+
* @returns {Array} Returns the converted array.
|
|
1178
778
|
*/
|
|
1179
|
-
function
|
|
1180
|
-
return
|
|
779
|
+
function unicodeToArray(string) {
|
|
780
|
+
return string.match(reUnicode) || [];
|
|
1181
781
|
}
|
|
1182
782
|
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
783
|
+
/** Used for built-in method references. */
|
|
784
|
+
var funcProto = Function.prototype,
|
|
785
|
+
objectProto = Object.prototype;
|
|
1186
786
|
|
|
1187
|
-
|
|
1188
|
-
var
|
|
787
|
+
/** Used to detect overreaching core-js shims. */
|
|
788
|
+
var coreJsData = root['__core-js_shared__'];
|
|
1189
789
|
|
|
1190
|
-
/**
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
1196
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
1197
|
-
*/
|
|
790
|
+
/** Used to detect methods masquerading as native. */
|
|
791
|
+
var maskSrcKey = (function() {
|
|
792
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
793
|
+
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
794
|
+
}());
|
|
1198
795
|
|
|
1199
|
-
|
|
1200
|
-
var
|
|
796
|
+
/** Used to resolve the decompiled source of functions. */
|
|
797
|
+
var funcToString = funcProto.toString;
|
|
1201
798
|
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
hasRequiredLodash_random = 1;
|
|
1205
|
-
/** Used as references for various `Number` constants. */
|
|
1206
|
-
var INFINITY = 1 / 0,
|
|
1207
|
-
MAX_SAFE_INTEGER = 9007199254740991,
|
|
1208
|
-
MAX_INTEGER = 1.7976931348623157e+308,
|
|
1209
|
-
NAN = 0 / 0;
|
|
799
|
+
/** Used to check objects for own properties. */
|
|
800
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1210
801
|
|
|
1211
|
-
/**
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
802
|
+
/**
|
|
803
|
+
* Used to resolve the
|
|
804
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
805
|
+
* of values.
|
|
806
|
+
*/
|
|
807
|
+
var objectToString = objectProto.toString;
|
|
1215
808
|
|
|
1216
|
-
/** Used to
|
|
1217
|
-
var
|
|
809
|
+
/** Used to detect if a method is native. */
|
|
810
|
+
var reIsNative = RegExp('^' +
|
|
811
|
+
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
|
812
|
+
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
813
|
+
);
|
|
1218
814
|
|
|
1219
|
-
/**
|
|
1220
|
-
var
|
|
815
|
+
/** Built-in value references. */
|
|
816
|
+
var Symbol = root.Symbol,
|
|
817
|
+
iteratorSymbol = Symbol ? Symbol.iterator : undefined,
|
|
818
|
+
propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
1221
819
|
|
|
1222
|
-
|
|
1223
|
-
var
|
|
820
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
821
|
+
var nativeFloor = Math.floor,
|
|
822
|
+
nativeKeys = overArg(Object.keys, Object),
|
|
823
|
+
nativeRandom = Math.random;
|
|
1224
824
|
|
|
1225
|
-
|
|
1226
|
-
var
|
|
825
|
+
/* Built-in method references that are verified to be native. */
|
|
826
|
+
var DataView = getNative(root, 'DataView'),
|
|
827
|
+
Map = getNative(root, 'Map'),
|
|
828
|
+
Promise = getNative(root, 'Promise'),
|
|
829
|
+
Set = getNative(root, 'Set'),
|
|
830
|
+
WeakMap = getNative(root, 'WeakMap');
|
|
1227
831
|
|
|
1228
|
-
/** Used to detect
|
|
1229
|
-
var
|
|
832
|
+
/** Used to detect maps, sets, and weakmaps. */
|
|
833
|
+
var dataViewCtorString = toSource(DataView),
|
|
834
|
+
mapCtorString = toSource(Map),
|
|
835
|
+
promiseCtorString = toSource(Promise),
|
|
836
|
+
setCtorString = toSource(Set),
|
|
837
|
+
weakMapCtorString = toSource(WeakMap);
|
|
1230
838
|
|
|
1231
|
-
/**
|
|
1232
|
-
|
|
1233
|
-
|
|
839
|
+
/**
|
|
840
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
841
|
+
*
|
|
842
|
+
* @private
|
|
843
|
+
* @param {*} value The value to query.
|
|
844
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
845
|
+
* @returns {Array} Returns the array of property names.
|
|
846
|
+
*/
|
|
847
|
+
function arrayLikeKeys(value, inherited) {
|
|
848
|
+
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
849
|
+
// Safari 9 makes `arguments.length` enumerable in strict mode.
|
|
850
|
+
var result = (isArray(value) || isArguments(value))
|
|
851
|
+
? baseTimes(value.length, String)
|
|
852
|
+
: [];
|
|
853
|
+
|
|
854
|
+
var length = result.length,
|
|
855
|
+
skipIndexes = !!length;
|
|
856
|
+
|
|
857
|
+
for (var key in value) {
|
|
858
|
+
if ((hasOwnProperty.call(value, key)) &&
|
|
859
|
+
!(skipIndexes && (key == 'length' || isIndex(key, length)))) {
|
|
860
|
+
result.push(key);
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
return result;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* The base implementation of `_.clamp` which doesn't coerce arguments.
|
|
868
|
+
*
|
|
869
|
+
* @private
|
|
870
|
+
* @param {number} number The number to clamp.
|
|
871
|
+
* @param {number} [lower] The lower bound.
|
|
872
|
+
* @param {number} upper The upper bound.
|
|
873
|
+
* @returns {number} Returns the clamped number.
|
|
874
|
+
*/
|
|
875
|
+
function baseClamp(number, lower, upper) {
|
|
876
|
+
if (number === number) {
|
|
877
|
+
if (upper !== undefined) {
|
|
878
|
+
number = number <= upper ? number : upper;
|
|
879
|
+
}
|
|
880
|
+
{
|
|
881
|
+
number = number >= lower ? number : lower;
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
return number;
|
|
885
|
+
}
|
|
1234
886
|
|
|
1235
|
-
/**
|
|
1236
|
-
|
|
887
|
+
/**
|
|
888
|
+
* The base implementation of `getTag`.
|
|
889
|
+
*
|
|
890
|
+
* @private
|
|
891
|
+
* @param {*} value The value to query.
|
|
892
|
+
* @returns {string} Returns the `toStringTag`.
|
|
893
|
+
*/
|
|
894
|
+
function baseGetTag(value) {
|
|
895
|
+
return objectToString.call(value);
|
|
896
|
+
}
|
|
1237
897
|
|
|
1238
898
|
/**
|
|
1239
|
-
*
|
|
1240
|
-
*
|
|
1241
|
-
*
|
|
899
|
+
* The base implementation of `_.isNative` without bad shim checks.
|
|
900
|
+
*
|
|
901
|
+
* @private
|
|
902
|
+
* @param {*} value The value to check.
|
|
903
|
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
904
|
+
* else `false`.
|
|
1242
905
|
*/
|
|
1243
|
-
|
|
906
|
+
function baseIsNative(value) {
|
|
907
|
+
if (!isObject(value) || isMasked(value)) {
|
|
908
|
+
return false;
|
|
909
|
+
}
|
|
910
|
+
var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
|
|
911
|
+
return pattern.test(toSource(value));
|
|
912
|
+
}
|
|
1244
913
|
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
914
|
+
/**
|
|
915
|
+
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
916
|
+
*
|
|
917
|
+
* @private
|
|
918
|
+
* @param {Object} object The object to query.
|
|
919
|
+
* @returns {Array} Returns the array of property names.
|
|
920
|
+
*/
|
|
921
|
+
function baseKeys(object) {
|
|
922
|
+
if (!isPrototype(object)) {
|
|
923
|
+
return nativeKeys(object);
|
|
924
|
+
}
|
|
925
|
+
var result = [];
|
|
926
|
+
for (var key in Object(object)) {
|
|
927
|
+
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
|
928
|
+
result.push(key);
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
return result;
|
|
932
|
+
}
|
|
1249
933
|
|
|
1250
934
|
/**
|
|
1251
935
|
* The base implementation of `_.random` without support for returning
|
|
@@ -1260,6 +944,72 @@ function requireLodash_random () {
|
|
|
1260
944
|
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
1261
945
|
}
|
|
1262
946
|
|
|
947
|
+
/**
|
|
948
|
+
* Copies the values of `source` to `array`.
|
|
949
|
+
*
|
|
950
|
+
* @private
|
|
951
|
+
* @param {Array} source The array to copy values from.
|
|
952
|
+
* @param {Array} [array=[]] The array to copy values to.
|
|
953
|
+
* @returns {Array} Returns `array`.
|
|
954
|
+
*/
|
|
955
|
+
function copyArray(source, array) {
|
|
956
|
+
var index = -1,
|
|
957
|
+
length = source.length;
|
|
958
|
+
|
|
959
|
+
array || (array = Array(length));
|
|
960
|
+
while (++index < length) {
|
|
961
|
+
array[index] = source[index];
|
|
962
|
+
}
|
|
963
|
+
return array;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Gets the native function at `key` of `object`.
|
|
968
|
+
*
|
|
969
|
+
* @private
|
|
970
|
+
* @param {Object} object The object to query.
|
|
971
|
+
* @param {string} key The key of the method to get.
|
|
972
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
973
|
+
*/
|
|
974
|
+
function getNative(object, key) {
|
|
975
|
+
var value = getValue(object, key);
|
|
976
|
+
return baseIsNative(value) ? value : undefined;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* Gets the `toStringTag` of `value`.
|
|
981
|
+
*
|
|
982
|
+
* @private
|
|
983
|
+
* @param {*} value The value to query.
|
|
984
|
+
* @returns {string} Returns the `toStringTag`.
|
|
985
|
+
*/
|
|
986
|
+
var getTag = baseGetTag;
|
|
987
|
+
|
|
988
|
+
// Fallback for data views, maps, sets, and weak maps in IE 11,
|
|
989
|
+
// for data views in Edge < 14, and promises in Node.js.
|
|
990
|
+
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
991
|
+
(Map && getTag(new Map) != mapTag) ||
|
|
992
|
+
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
|
993
|
+
(Set && getTag(new Set) != setTag) ||
|
|
994
|
+
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
|
995
|
+
getTag = function(value) {
|
|
996
|
+
var result = objectToString.call(value),
|
|
997
|
+
Ctor = result == objectTag ? value.constructor : undefined,
|
|
998
|
+
ctorString = Ctor ? toSource(Ctor) : undefined;
|
|
999
|
+
|
|
1000
|
+
if (ctorString) {
|
|
1001
|
+
switch (ctorString) {
|
|
1002
|
+
case dataViewCtorString: return dataViewTag;
|
|
1003
|
+
case mapCtorString: return mapTag;
|
|
1004
|
+
case promiseCtorString: return promiseTag;
|
|
1005
|
+
case setCtorString: return setTag;
|
|
1006
|
+
case weakMapCtorString: return weakMapTag;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
return result;
|
|
1010
|
+
};
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1263
1013
|
/**
|
|
1264
1014
|
* Checks if `value` is a valid array-like index.
|
|
1265
1015
|
*
|
|
@@ -1299,6 +1049,92 @@ function requireLodash_random () {
|
|
|
1299
1049
|
return false;
|
|
1300
1050
|
}
|
|
1301
1051
|
|
|
1052
|
+
/**
|
|
1053
|
+
* Checks if `func` has its source masked.
|
|
1054
|
+
*
|
|
1055
|
+
* @private
|
|
1056
|
+
* @param {Function} func The function to check.
|
|
1057
|
+
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
1058
|
+
*/
|
|
1059
|
+
function isMasked(func) {
|
|
1060
|
+
return !!maskSrcKey && (maskSrcKey in func);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* Checks if `value` is likely a prototype object.
|
|
1065
|
+
*
|
|
1066
|
+
* @private
|
|
1067
|
+
* @param {*} value The value to check.
|
|
1068
|
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
1069
|
+
*/
|
|
1070
|
+
function isPrototype(value) {
|
|
1071
|
+
var Ctor = value && value.constructor,
|
|
1072
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
|
1073
|
+
|
|
1074
|
+
return value === proto;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Converts `func` to its source code.
|
|
1079
|
+
*
|
|
1080
|
+
* @private
|
|
1081
|
+
* @param {Function} func The function to process.
|
|
1082
|
+
* @returns {string} Returns the source code.
|
|
1083
|
+
*/
|
|
1084
|
+
function toSource(func) {
|
|
1085
|
+
if (func != null) {
|
|
1086
|
+
try {
|
|
1087
|
+
return funcToString.call(func);
|
|
1088
|
+
} catch (e) {}
|
|
1089
|
+
try {
|
|
1090
|
+
return (func + '');
|
|
1091
|
+
} catch (e) {}
|
|
1092
|
+
}
|
|
1093
|
+
return '';
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Gets `n` random elements at unique keys from `collection` up to the
|
|
1098
|
+
* size of `collection`.
|
|
1099
|
+
*
|
|
1100
|
+
* @static
|
|
1101
|
+
* @memberOf _
|
|
1102
|
+
* @since 4.0.0
|
|
1103
|
+
* @category Collection
|
|
1104
|
+
* @param {Array|Object} collection The collection to sample.
|
|
1105
|
+
* @param {number} [n=1] The number of elements to sample.
|
|
1106
|
+
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
1107
|
+
* @returns {Array} Returns the random elements.
|
|
1108
|
+
* @example
|
|
1109
|
+
*
|
|
1110
|
+
* _.sampleSize([1, 2, 3], 2);
|
|
1111
|
+
* // => [3, 1]
|
|
1112
|
+
*
|
|
1113
|
+
* _.sampleSize([1, 2, 3], 4);
|
|
1114
|
+
* // => [2, 3, 1]
|
|
1115
|
+
*/
|
|
1116
|
+
function sampleSize(collection, n, guard) {
|
|
1117
|
+
var index = -1,
|
|
1118
|
+
result = toArray(collection),
|
|
1119
|
+
length = result.length,
|
|
1120
|
+
lastIndex = length - 1;
|
|
1121
|
+
|
|
1122
|
+
if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
|
|
1123
|
+
n = 1;
|
|
1124
|
+
} else {
|
|
1125
|
+
n = baseClamp(toInteger(n), 0, length);
|
|
1126
|
+
}
|
|
1127
|
+
while (++index < n) {
|
|
1128
|
+
var rand = baseRandom(index, lastIndex),
|
|
1129
|
+
value = result[rand];
|
|
1130
|
+
|
|
1131
|
+
result[rand] = result[index];
|
|
1132
|
+
result[index] = value;
|
|
1133
|
+
}
|
|
1134
|
+
result.length = n;
|
|
1135
|
+
return result;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1302
1138
|
/**
|
|
1303
1139
|
* Performs a
|
|
1304
1140
|
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
@@ -1316,24 +1152,73 @@ function requireLodash_random () {
|
|
|
1316
1152
|
* var object = { 'a': 1 };
|
|
1317
1153
|
* var other = { 'a': 1 };
|
|
1318
1154
|
*
|
|
1319
|
-
* _.eq(object, object);
|
|
1155
|
+
* _.eq(object, object);
|
|
1156
|
+
* // => true
|
|
1157
|
+
*
|
|
1158
|
+
* _.eq(object, other);
|
|
1159
|
+
* // => false
|
|
1160
|
+
*
|
|
1161
|
+
* _.eq('a', 'a');
|
|
1162
|
+
* // => true
|
|
1163
|
+
*
|
|
1164
|
+
* _.eq('a', Object('a'));
|
|
1165
|
+
* // => false
|
|
1166
|
+
*
|
|
1167
|
+
* _.eq(NaN, NaN);
|
|
1168
|
+
* // => true
|
|
1169
|
+
*/
|
|
1170
|
+
function eq(value, other) {
|
|
1171
|
+
return value === other || (value !== value && other !== other);
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Checks if `value` is likely an `arguments` object.
|
|
1176
|
+
*
|
|
1177
|
+
* @static
|
|
1178
|
+
* @memberOf _
|
|
1179
|
+
* @since 0.1.0
|
|
1180
|
+
* @category Lang
|
|
1181
|
+
* @param {*} value The value to check.
|
|
1182
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
1183
|
+
* else `false`.
|
|
1184
|
+
* @example
|
|
1185
|
+
*
|
|
1186
|
+
* _.isArguments(function() { return arguments; }());
|
|
1187
|
+
* // => true
|
|
1188
|
+
*
|
|
1189
|
+
* _.isArguments([1, 2, 3]);
|
|
1190
|
+
* // => false
|
|
1191
|
+
*/
|
|
1192
|
+
function isArguments(value) {
|
|
1193
|
+
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
1194
|
+
return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
|
|
1195
|
+
(!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* Checks if `value` is classified as an `Array` object.
|
|
1200
|
+
*
|
|
1201
|
+
* @static
|
|
1202
|
+
* @memberOf _
|
|
1203
|
+
* @since 0.1.0
|
|
1204
|
+
* @category Lang
|
|
1205
|
+
* @param {*} value The value to check.
|
|
1206
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
1207
|
+
* @example
|
|
1208
|
+
*
|
|
1209
|
+
* _.isArray([1, 2, 3]);
|
|
1320
1210
|
* // => true
|
|
1321
1211
|
*
|
|
1322
|
-
* _.
|
|
1212
|
+
* _.isArray(document.body.children);
|
|
1323
1213
|
* // => false
|
|
1324
1214
|
*
|
|
1325
|
-
* _.
|
|
1326
|
-
* // => true
|
|
1327
|
-
*
|
|
1328
|
-
* _.eq('a', Object('a'));
|
|
1215
|
+
* _.isArray('abc');
|
|
1329
1216
|
* // => false
|
|
1330
1217
|
*
|
|
1331
|
-
* _.
|
|
1332
|
-
* // =>
|
|
1218
|
+
* _.isArray(_.noop);
|
|
1219
|
+
* // => false
|
|
1333
1220
|
*/
|
|
1334
|
-
|
|
1335
|
-
return value === other || (value !== value && other !== other);
|
|
1336
|
-
}
|
|
1221
|
+
var isArray = Array.isArray;
|
|
1337
1222
|
|
|
1338
1223
|
/**
|
|
1339
1224
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
@@ -1364,6 +1249,35 @@ function requireLodash_random () {
|
|
|
1364
1249
|
return value != null && isLength(value.length) && !isFunction(value);
|
|
1365
1250
|
}
|
|
1366
1251
|
|
|
1252
|
+
/**
|
|
1253
|
+
* This method is like `_.isArrayLike` except that it also checks if `value`
|
|
1254
|
+
* is an object.
|
|
1255
|
+
*
|
|
1256
|
+
* @static
|
|
1257
|
+
* @memberOf _
|
|
1258
|
+
* @since 4.0.0
|
|
1259
|
+
* @category Lang
|
|
1260
|
+
* @param {*} value The value to check.
|
|
1261
|
+
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
1262
|
+
* else `false`.
|
|
1263
|
+
* @example
|
|
1264
|
+
*
|
|
1265
|
+
* _.isArrayLikeObject([1, 2, 3]);
|
|
1266
|
+
* // => true
|
|
1267
|
+
*
|
|
1268
|
+
* _.isArrayLikeObject(document.body.children);
|
|
1269
|
+
* // => true
|
|
1270
|
+
*
|
|
1271
|
+
* _.isArrayLikeObject('abc');
|
|
1272
|
+
* // => false
|
|
1273
|
+
*
|
|
1274
|
+
* _.isArrayLikeObject(_.noop);
|
|
1275
|
+
* // => false
|
|
1276
|
+
*/
|
|
1277
|
+
function isArrayLikeObject(value) {
|
|
1278
|
+
return isObjectLike(value) && isArrayLike(value);
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1367
1281
|
/**
|
|
1368
1282
|
* Checks if `value` is classified as a `Function` object.
|
|
1369
1283
|
*
|
|
@@ -1477,6 +1391,28 @@ function requireLodash_random () {
|
|
|
1477
1391
|
return !!value && typeof value == 'object';
|
|
1478
1392
|
}
|
|
1479
1393
|
|
|
1394
|
+
/**
|
|
1395
|
+
* Checks if `value` is classified as a `String` primitive or object.
|
|
1396
|
+
*
|
|
1397
|
+
* @static
|
|
1398
|
+
* @since 0.1.0
|
|
1399
|
+
* @memberOf _
|
|
1400
|
+
* @category Lang
|
|
1401
|
+
* @param {*} value The value to check.
|
|
1402
|
+
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
|
1403
|
+
* @example
|
|
1404
|
+
*
|
|
1405
|
+
* _.isString('abc');
|
|
1406
|
+
* // => true
|
|
1407
|
+
*
|
|
1408
|
+
* _.isString(1);
|
|
1409
|
+
* // => false
|
|
1410
|
+
*/
|
|
1411
|
+
function isString(value) {
|
|
1412
|
+
return typeof value == 'string' ||
|
|
1413
|
+
(!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1480
1416
|
/**
|
|
1481
1417
|
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
1482
1418
|
*
|
|
@@ -1499,6 +1435,45 @@ function requireLodash_random () {
|
|
|
1499
1435
|
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
1500
1436
|
}
|
|
1501
1437
|
|
|
1438
|
+
/**
|
|
1439
|
+
* Converts `value` to an array.
|
|
1440
|
+
*
|
|
1441
|
+
* @static
|
|
1442
|
+
* @since 0.1.0
|
|
1443
|
+
* @memberOf _
|
|
1444
|
+
* @category Lang
|
|
1445
|
+
* @param {*} value The value to convert.
|
|
1446
|
+
* @returns {Array} Returns the converted array.
|
|
1447
|
+
* @example
|
|
1448
|
+
*
|
|
1449
|
+
* _.toArray({ 'a': 1, 'b': 2 });
|
|
1450
|
+
* // => [1, 2]
|
|
1451
|
+
*
|
|
1452
|
+
* _.toArray('abc');
|
|
1453
|
+
* // => ['a', 'b', 'c']
|
|
1454
|
+
*
|
|
1455
|
+
* _.toArray(1);
|
|
1456
|
+
* // => []
|
|
1457
|
+
*
|
|
1458
|
+
* _.toArray(null);
|
|
1459
|
+
* // => []
|
|
1460
|
+
*/
|
|
1461
|
+
function toArray(value) {
|
|
1462
|
+
if (!value) {
|
|
1463
|
+
return [];
|
|
1464
|
+
}
|
|
1465
|
+
if (isArrayLike(value)) {
|
|
1466
|
+
return isString(value) ? stringToArray(value) : copyArray(value);
|
|
1467
|
+
}
|
|
1468
|
+
if (iteratorSymbol && value[iteratorSymbol]) {
|
|
1469
|
+
return iteratorToArray(value[iteratorSymbol]());
|
|
1470
|
+
}
|
|
1471
|
+
var tag = getTag(value),
|
|
1472
|
+
func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);
|
|
1473
|
+
|
|
1474
|
+
return func(value);
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1502
1477
|
/**
|
|
1503
1478
|
* Converts `value` to a finite number.
|
|
1504
1479
|
*
|
|
@@ -1534,6 +1509,39 @@ function requireLodash_random () {
|
|
|
1534
1509
|
return value === value ? value : 0;
|
|
1535
1510
|
}
|
|
1536
1511
|
|
|
1512
|
+
/**
|
|
1513
|
+
* Converts `value` to an integer.
|
|
1514
|
+
*
|
|
1515
|
+
* **Note:** This method is loosely based on
|
|
1516
|
+
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
|
|
1517
|
+
*
|
|
1518
|
+
* @static
|
|
1519
|
+
* @memberOf _
|
|
1520
|
+
* @since 4.0.0
|
|
1521
|
+
* @category Lang
|
|
1522
|
+
* @param {*} value The value to convert.
|
|
1523
|
+
* @returns {number} Returns the converted integer.
|
|
1524
|
+
* @example
|
|
1525
|
+
*
|
|
1526
|
+
* _.toInteger(3.2);
|
|
1527
|
+
* // => 3
|
|
1528
|
+
*
|
|
1529
|
+
* _.toInteger(Number.MIN_VALUE);
|
|
1530
|
+
* // => 0
|
|
1531
|
+
*
|
|
1532
|
+
* _.toInteger(Infinity);
|
|
1533
|
+
* // => 1.7976931348623157e+308
|
|
1534
|
+
*
|
|
1535
|
+
* _.toInteger('3.2');
|
|
1536
|
+
* // => 3
|
|
1537
|
+
*/
|
|
1538
|
+
function toInteger(value) {
|
|
1539
|
+
var result = toFinite(value),
|
|
1540
|
+
remainder = result % 1;
|
|
1541
|
+
|
|
1542
|
+
return result === result ? (remainder ? result - remainder : result) : 0;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1537
1545
|
/**
|
|
1538
1546
|
* Converts `value` to a number.
|
|
1539
1547
|
*
|
|
@@ -1579,81 +1587,73 @@ function requireLodash_random () {
|
|
|
1579
1587
|
}
|
|
1580
1588
|
|
|
1581
1589
|
/**
|
|
1582
|
-
*
|
|
1583
|
-
* If only one argument is provided a number between `0` and the given number
|
|
1584
|
-
* is returned. If `floating` is `true`, or either `lower` or `upper` are
|
|
1585
|
-
* floats, a floating-point number is returned instead of an integer.
|
|
1590
|
+
* Creates an array of the own enumerable property names of `object`.
|
|
1586
1591
|
*
|
|
1587
|
-
* **Note:**
|
|
1588
|
-
*
|
|
1592
|
+
* **Note:** Non-object values are coerced to objects. See the
|
|
1593
|
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1594
|
+
* for more details.
|
|
1589
1595
|
*
|
|
1590
1596
|
* @static
|
|
1597
|
+
* @since 0.1.0
|
|
1591
1598
|
* @memberOf _
|
|
1592
|
-
* @
|
|
1593
|
-
* @
|
|
1594
|
-
* @
|
|
1595
|
-
* @param {number} [upper=1] The upper bound.
|
|
1596
|
-
* @param {boolean} [floating] Specify returning a floating-point number.
|
|
1597
|
-
* @returns {number} Returns the random number.
|
|
1599
|
+
* @category Object
|
|
1600
|
+
* @param {Object} object The object to query.
|
|
1601
|
+
* @returns {Array} Returns the array of property names.
|
|
1598
1602
|
* @example
|
|
1599
1603
|
*
|
|
1600
|
-
*
|
|
1601
|
-
*
|
|
1604
|
+
* function Foo() {
|
|
1605
|
+
* this.a = 1;
|
|
1606
|
+
* this.b = 2;
|
|
1607
|
+
* }
|
|
1602
1608
|
*
|
|
1603
|
-
*
|
|
1604
|
-
* // => also an integer between 0 and 5
|
|
1609
|
+
* Foo.prototype.c = 3;
|
|
1605
1610
|
*
|
|
1606
|
-
* _.
|
|
1607
|
-
* // => a
|
|
1611
|
+
* _.keys(new Foo);
|
|
1612
|
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
1608
1613
|
*
|
|
1609
|
-
* _.
|
|
1610
|
-
* // =>
|
|
1614
|
+
* _.keys('hi');
|
|
1615
|
+
* // => ['0', '1']
|
|
1611
1616
|
*/
|
|
1612
|
-
function
|
|
1613
|
-
|
|
1614
|
-
upper = floating = undefined;
|
|
1615
|
-
}
|
|
1616
|
-
if (floating === undefined) {
|
|
1617
|
-
if (typeof upper == 'boolean') {
|
|
1618
|
-
floating = upper;
|
|
1619
|
-
upper = undefined;
|
|
1620
|
-
}
|
|
1621
|
-
else if (typeof lower == 'boolean') {
|
|
1622
|
-
floating = lower;
|
|
1623
|
-
lower = undefined;
|
|
1624
|
-
}
|
|
1625
|
-
}
|
|
1626
|
-
if (lower === undefined && upper === undefined) {
|
|
1627
|
-
lower = 0;
|
|
1628
|
-
upper = 1;
|
|
1629
|
-
}
|
|
1630
|
-
else {
|
|
1631
|
-
lower = toFinite(lower);
|
|
1632
|
-
if (upper === undefined) {
|
|
1633
|
-
upper = lower;
|
|
1634
|
-
lower = 0;
|
|
1635
|
-
} else {
|
|
1636
|
-
upper = toFinite(upper);
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
if (lower > upper) {
|
|
1640
|
-
var temp = lower;
|
|
1641
|
-
lower = upper;
|
|
1642
|
-
upper = temp;
|
|
1643
|
-
}
|
|
1644
|
-
if (floating || lower % 1 || upper % 1) {
|
|
1645
|
-
var rand = nativeRandom();
|
|
1646
|
-
return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
|
|
1647
|
-
}
|
|
1648
|
-
return baseRandom(lower, upper);
|
|
1617
|
+
function keys(object) {
|
|
1618
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
1649
1619
|
}
|
|
1650
1620
|
|
|
1651
|
-
|
|
1652
|
-
|
|
1621
|
+
/**
|
|
1622
|
+
* Creates an array of the own enumerable string keyed property values of `object`.
|
|
1623
|
+
*
|
|
1624
|
+
* **Note:** Non-object values are coerced to objects.
|
|
1625
|
+
*
|
|
1626
|
+
* @static
|
|
1627
|
+
* @since 0.1.0
|
|
1628
|
+
* @memberOf _
|
|
1629
|
+
* @category Object
|
|
1630
|
+
* @param {Object} object The object to query.
|
|
1631
|
+
* @returns {Array} Returns the array of property values.
|
|
1632
|
+
* @example
|
|
1633
|
+
*
|
|
1634
|
+
* function Foo() {
|
|
1635
|
+
* this.a = 1;
|
|
1636
|
+
* this.b = 2;
|
|
1637
|
+
* }
|
|
1638
|
+
*
|
|
1639
|
+
* Foo.prototype.c = 3;
|
|
1640
|
+
*
|
|
1641
|
+
* _.values(new Foo);
|
|
1642
|
+
* // => [1, 2] (iteration order is not guaranteed)
|
|
1643
|
+
*
|
|
1644
|
+
* _.values('hi');
|
|
1645
|
+
* // => ['h', 'i']
|
|
1646
|
+
*/
|
|
1647
|
+
function values(object) {
|
|
1648
|
+
return object ? baseValues(object, keys(object)) : [];
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
lodash_samplesize = sampleSize;
|
|
1652
|
+
return lodash_samplesize;
|
|
1653
1653
|
}
|
|
1654
1654
|
|
|
1655
|
-
var
|
|
1656
|
-
var
|
|
1655
|
+
var lodash_samplesizeExports = requireLodash_samplesize();
|
|
1656
|
+
var sampleSize = /*@__PURE__*/getDefaultExportFromCjs(lodash_samplesizeExports);
|
|
1657
1657
|
|
|
1658
1658
|
const documentComponentDemoCss = ".sc-dsot-document-component-demo-h{display:block;margin-block:0;margin-inline:8px;border-inline-start:1px dashed transparent;border-inline-end:1px dashed transparent}[show-canvas].sc-dsot-document-component-demo-h{border-inline-start:1px dashed pink;border-inline-end:1px dashed pink}";
|
|
1659
1659
|
|
|
@@ -1840,7 +1840,7 @@ const DocumentComponentDemo = /*@__PURE__*/ proxyCustomElement(class DocumentCom
|
|
|
1840
1840
|
render() {
|
|
1841
1841
|
var _a, _b;
|
|
1842
1842
|
const { DocumentComponent, MenuButton } = this;
|
|
1843
|
-
return (h("dso-responsive-element", { key: '
|
|
1843
|
+
return (h("dso-responsive-element", { key: '035af6f3f084c434155b8a7cea1fd2a054af9bfc', class: "dso-document-components" }, h("div", { key: 'baa05e7f091391fb8a1779365a5f98fa5e552af5', class: "dso-navbar" }, h("ul", { key: '030d2050156fe948be7678fcf456d113d9107ba3', class: "dso-nav dso-nav-sub" }, (_b = (_a = this.getEmbeddedDocumentComponents(this.response)) === null || _a === void 0 ? void 0 : _a.documentComponents) === null || _b === void 0 ? void 0 : _b.map((d) => (h("li", { class: this.document === d ? "dso-active" : undefined }, h(MenuButton, { documentComponent: d })))))), this.document && h(DocumentComponent, { key: '13387515126f7264942f57be563c9031b3593b49', path: [this.document] })));
|
|
1844
1844
|
}
|
|
1845
1845
|
static get watchers() { return {
|
|
1846
1846
|
"jsonFile": ["jsonFileWatcher"],
|