@caspeco/casper-ui-library 10.4.0 → 10.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/_virtual/builtin_esm-external-require-react.js +9 -0
- package/dist/components/accordion/accordion-context.js +5 -6
- package/dist/components/accordion/accordion-item.js +28 -40
- package/dist/components/accordion/accordion-panel.js +17 -14
- package/dist/components/accordion/accordion-recipe.js +85 -120
- package/dist/components/accordion/accordion.js +23 -20
- package/dist/components/alert/alert.js +80 -59
- package/dist/components/alert/helper.js +30 -42
- package/dist/components/alert/types.d.ts.map +1 -1
- package/dist/components/badge/badge-recipe.js +57 -49
- package/dist/components/badge/badge.js +66 -71
- package/dist/components/badge/helper.js +8 -9
- package/dist/components/box/box.js +14 -11
- package/dist/components/breadcrumbs/breadcrumb-item.js +21 -17
- package/dist/components/breadcrumbs/breadcrumb-link.js +21 -20
- package/dist/components/breadcrumbs/breadcrumbs.js +123 -90
- package/dist/components/button/button-recipe.js +280 -315
- package/dist/components/button/button.js +39 -40
- package/dist/components/checkbox/checkbox-icon.js +38 -46
- package/dist/components/checkbox/checkbox-recipe.js +176 -204
- package/dist/components/checkbox/checkbox.js +43 -36
- package/dist/components/checkbox/icons/check.js +5 -5
- package/dist/components/checkbox/icons/minus.js +5 -5
- package/dist/components/checkbox/icons/plus.js +5 -5
- package/dist/components/checkbox-group/checkbox-group.js +17 -16
- package/dist/components/collapsible/collapsible.js +117 -101
- package/dist/components/collapsible/translations.js +29 -29
- package/dist/components/combobox/combobox-button.js +173 -143
- package/dist/components/combobox/combobox-item.js +45 -23
- package/dist/components/combobox/combobox-menu.js +240 -190
- package/dist/components/combobox/combobox-recipe.js +69 -103
- package/dist/components/combobox/combobox.js +243 -273
- package/dist/components/combobox/translations.js +49 -50
- package/dist/components/date-picker/base-date-picker.js +238 -248
- package/dist/components/date-picker/date-cell-recipe.js +149 -179
- package/dist/components/date-picker/date-multi-picker.js +35 -29
- package/dist/components/date-picker/date-picker-date-cell.js +109 -114
- package/dist/components/date-picker/date-picker-header.js +152 -170
- package/dist/components/date-picker/date-picker-week-cell.js +41 -43
- package/dist/components/date-picker/date-picker.js +32 -29
- package/dist/components/date-picker/date-range-picker.js +29 -24
- package/dist/components/date-picker/date-week-picker.js +29 -22
- package/dist/components/date-picker/datepicker-week-recipe.js +75 -91
- package/dist/components/date-picker/helper.js +11 -16
- package/dist/components/divider/divider-recipe.js +9 -11
- package/dist/components/divider/divider.js +19 -18
- package/dist/components/drawer/drawer-recipe.js +21 -50
- package/dist/components/drawer/drawer.js +45 -41
- package/dist/components/drawer/inline-drawer.js +69 -66
- package/dist/components/drawer/use-drawer-key-down.js +20 -20
- package/dist/components/fieldset/fieldset-error-text.js +15 -15
- package/dist/components/fieldset/fieldset-helper-text.js +15 -15
- package/dist/components/fieldset/fieldset-legend.js +15 -15
- package/dist/components/fieldset/fieldset-recipe.js +14 -24
- package/dist/components/fieldset/fieldset.js +17 -17
- package/dist/components/flex/flex.js +15 -15
- package/dist/components/form-control/form-control-recipe.js +42 -46
- package/dist/components/form-control/form-control.js +19 -19
- package/dist/components/form-control/form-error-message.js +15 -15
- package/dist/components/form-control/form-helper-text.js +15 -15
- package/dist/components/form-control/form-label.js +24 -26
- package/dist/components/grid/grid-item.js +15 -15
- package/dist/components/grid/grid.js +15 -15
- package/dist/components/heading/heading.js +24 -23
- package/dist/components/highlight/highlight.js +22 -21
- package/dist/components/icon/create-icon.js +27 -26
- package/dist/components/icon/icons/absence-icon.js +5 -5
- package/dist/components/icon/icons/accessibility-icon.js +5 -5
- package/dist/components/icon/icons/add-absence-icon.js +5 -5
- package/dist/components/icon/icons/add-emoji-icon.js +5 -5
- package/dist/components/icon/icons/add-icon.js +5 -5
- package/dist/components/icon/icons/apple-icon.js +5 -5
- package/dist/components/icon/icons/apps-icon.js +5 -5
- package/dist/components/icon/icons/archive-icon.js +6 -6
- package/dist/components/icon/icons/area-icon.js +5 -5
- package/dist/components/icon/icons/at-icon.js +5 -5
- package/dist/components/icon/icons/attachment-icon.js +5 -5
- package/dist/components/icon/icons/baby-icon.js +5 -5
- package/dist/components/icon/icons/back-icon.js +5 -5
- package/dist/components/icon/icons/backspace-icon.js +5 -5
- package/dist/components/icon/icons/bank-icon.js +5 -5
- package/dist/components/icon/icons/bank-id-icon.js +5 -5
- package/dist/components/icon/icons/barcode-icon.js +5 -5
- package/dist/components/icon/icons/bell-icon.js +5 -5
- package/dist/components/icon/icons/bolt-icon.js +7 -7
- package/dist/components/icon/icons/calendar-icon.js +5 -5
- package/dist/components/icon/icons/camera-icon.js +5 -5
- package/dist/components/icon/icons/cancel-icon.js +5 -5
- package/dist/components/icon/icons/card-icon.js +5 -5
- package/dist/components/icon/icons/cart-icon.js +5 -5
- package/dist/components/icon/icons/caspeco-icon.js +7 -7
- package/dist/components/icon/icons/channels-icon.js +5 -5
- package/dist/components/icon/icons/chart-icon.js +5 -5
- package/dist/components/icon/icons/chart-line-icon.js +5 -5
- package/dist/components/icon/icons/chart-mixed-icon.js +5 -5
- package/dist/components/icon/icons/chart-pie-icon.js +5 -5
- package/dist/components/icon/icons/chart-scatter-icon.js +5 -5
- package/dist/components/icon/icons/check-icon.js +5 -5
- package/dist/components/icon/icons/checkbox-icon.js +5 -5
- package/dist/components/icon/icons/chevron-left-icon.js +5 -5
- package/dist/components/icon/icons/chevron-right-icon.js +5 -5
- package/dist/components/icon/icons/child-icon.js +5 -5
- package/dist/components/icon/icons/circle-info-icon.js +5 -5
- package/dist/components/icon/icons/circle-parking-icon.js +5 -5
- package/dist/components/icon/icons/circle-question-icon.js +5 -5
- package/dist/components/icon/icons/circle-select-icon.js +5 -5
- package/dist/components/icon/icons/circle-success-icon.js +5 -5
- package/dist/components/icon/icons/circle-user-icon.js +5 -5
- package/dist/components/icon/icons/clear-icon.js +5 -5
- package/dist/components/icon/icons/close-icon.js +5 -5
- package/dist/components/icon/icons/closed-icon.js +5 -5
- package/dist/components/icon/icons/collapse-icon.js +5 -5
- package/dist/components/icon/icons/color-icon.js +5 -5
- package/dist/components/icon/icons/columns-icon.js +5 -5
- package/dist/components/icon/icons/comment-add-icon.js +5 -5
- package/dist/components/icon/icons/comment-icon.js +5 -5
- package/dist/components/icon/icons/cookies-icon.js +5 -5
- package/dist/components/icon/icons/copy-icon.js +5 -5
- package/dist/components/icon/icons/date-icon.js +5 -5
- package/dist/components/icon/icons/decrease-icon.js +4 -4
- package/dist/components/icon/icons/delete-icon.js +5 -5
- package/dist/components/icon/icons/deliverect-icon.js +5 -5
- package/dist/components/icon/icons/delivery-icon.js +5 -5
- package/dist/components/icon/icons/description-icon.js +5 -5
- package/dist/components/icon/icons/discount-icon.js +5 -5
- package/dist/components/icon/icons/distribute-evenly-icon.js +5 -5
- package/dist/components/icon/icons/door-closed-icon.js +5 -5
- package/dist/components/icon/icons/door-open-icon.js +5 -5
- package/dist/components/icon/icons/down-icon.js +5 -5
- package/dist/components/icon/icons/eat-in-icon.js +5 -5
- package/dist/components/icon/icons/edit-icon.js +5 -5
- package/dist/components/icon/icons/email-icon.js +5 -5
- package/dist/components/icon/icons/error-icon.js +5 -5
- package/dist/components/icon/icons/expand-icon.js +5 -5
- package/dist/components/icon/icons/export-icon.js +5 -5
- package/dist/components/icon/icons/extract-icon.js +5 -5
- package/dist/components/icon/icons/facebook-icon.js +5 -5
- package/dist/components/icon/icons/failed-print-icon.js +5 -5
- package/dist/components/icon/icons/file-icon.js +5 -5
- package/dist/components/icon/icons/filter-icon.js +5 -5
- package/dist/components/icon/icons/folder-icon.js +5 -5
- package/dist/components/icon/icons/foodora-icon.js +5 -5
- package/dist/components/icon/icons/forward-icon.js +5 -5
- package/dist/components/icon/icons/glovo-icon.js +7 -7
- package/dist/components/icon/icons/goal-icon.js +5 -5
- package/dist/components/icon/icons/google-icon.js +5 -5
- package/dist/components/icon/icons/grip-more-icon.js +5 -5
- package/dist/components/icon/icons/hash-icon.js +5 -5
- package/dist/components/icon/icons/hexagon-error-icon.js +5 -5
- package/dist/components/icon/icons/hide-icon.js +5 -5
- package/dist/components/icon/icons/history-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-anchor-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-asterisk-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-beer-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-bicycle-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-binoculars-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-bomb-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-car-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-cocktail-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-gem-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-heart-full-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-heart-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-magnet-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-money-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-moon-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-music-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-star-full-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-star-half-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-star-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-tint-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-tree-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-utensils-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +5 -5
- package/dist/components/icon/icons/image-icon.js +5 -5
- package/dist/components/icon/icons/import-icon.js +5 -5
- package/dist/components/icon/icons/inbox-icon.js +5 -5
- package/dist/components/icon/icons/increase-icon.js +5 -5
- package/dist/components/icon/icons/indeterminate-icon.js +4 -4
- package/dist/components/icon/icons/info-icon.js +5 -5
- package/dist/components/icon/icons/inheritance-icon.js +5 -5
- package/dist/components/icon/icons/just-eat-icon.js +5 -5
- package/dist/components/icon/icons/karma-icon.js +5 -5
- package/dist/components/icon/icons/key-command-icon.js +5 -5
- package/dist/components/icon/icons/key-enter-icon.js +5 -5
- package/dist/components/icon/icons/key-icon.js +5 -5
- package/dist/components/icon/icons/key-option-icon.js +5 -5
- package/dist/components/icon/icons/language-icon.js +5 -5
- package/dist/components/icon/icons/link-broken-icon.js +5 -5
- package/dist/components/icon/icons/link-external-icon.js +5 -5
- package/dist/components/icon/icons/link-icon.js +5 -5
- package/dist/components/icon/icons/list-ol-icon.js +5 -5
- package/dist/components/icon/icons/list-ul-icon.js +5 -5
- package/dist/components/icon/icons/loading-icon.js +5 -5
- package/dist/components/icon/icons/location-icon.js +5 -5
- package/dist/components/icon/icons/lock-icon.js +5 -5
- package/dist/components/icon/icons/log-in-icon.js +5 -5
- package/dist/components/icon/icons/log-out-icon.js +5 -5
- package/dist/components/icon/icons/map-icon.js +5 -5
- package/dist/components/icon/icons/maximize-icon.js +5 -5
- package/dist/components/icon/icons/members-icon.js +5 -5
- package/dist/components/icon/icons/menu-hide-icon.js +5 -5
- package/dist/components/icon/icons/menu-icon.js +5 -5
- package/dist/components/icon/icons/menu-show-icon.js +5 -5
- package/dist/components/icon/icons/message-add-icon.js +5 -5
- package/dist/components/icon/icons/message-icon.js +5 -5
- package/dist/components/icon/icons/message-lines-icon.js +5 -5
- package/dist/components/icon/icons/minimize-icon.js +5 -5
- package/dist/components/icon/icons/minimize-window-icon.js +5 -5
- package/dist/components/icon/icons/mobile-rotate-icon.js +5 -5
- package/dist/components/icon/icons/module-accounting-icon.js +5 -5
- package/dist/components/icon/icons/module-ai-forecast-icon.js +5 -5
- package/dist/components/icon/icons/module-app-icon.js +5 -5
- package/dist/components/icon/icons/module-articles-icon.js +5 -5
- package/dist/components/icon/icons/module-benchmark-icon.js +5 -5
- package/dist/components/icon/icons/module-booking-icon.js +5 -5
- package/dist/components/icon/icons/module-cai-icon.js +5 -5
- package/dist/components/icon/icons/module-campaigns-icon.js +5 -5
- package/dist/components/icon/icons/module-cashier-icon.js +5 -5
- package/dist/components/icon/icons/module-communication-icon.js +5 -5
- package/dist/components/icon/icons/module-copilot-icon.js +5 -5
- package/dist/components/icon/icons/module-dashboard-icon.js +5 -5
- package/dist/components/icon/icons/module-document-icon.js +5 -5
- package/dist/components/icon/icons/module-employees-icon.js +5 -5
- package/dist/components/icon/icons/module-feed-icon.js +5 -5
- package/dist/components/icon/icons/module-history-icon.js +5 -5
- package/dist/components/icon/icons/module-home-icon.js +5 -5
- package/dist/components/icon/icons/module-insights-icon.js +5 -5
- package/dist/components/icon/icons/module-kds-icon.js +5 -5
- package/dist/components/icon/icons/module-members-icon.js +5 -5
- package/dist/components/icon/icons/module-menus-icon.js +5 -5
- package/dist/components/icon/icons/module-my-city-icon.js +5 -5
- package/dist/components/icon/icons/module-notification-center-icon.js +5 -5
- package/dist/components/icon/icons/module-online-order-icon.js +5 -5
- package/dist/components/icon/icons/module-organisation-icon.js +5 -5
- package/dist/components/icon/icons/module-pos-icon.js +5 -5
- package/dist/components/icon/icons/module-pulse-icon.js +5 -5
- package/dist/components/icon/icons/module-result-icon.js +5 -5
- package/dist/components/icon/icons/module-salary-icon.js +5 -5
- package/dist/components/icon/icons/module-schedule-icon.js +5 -5
- package/dist/components/icon/icons/module-settings-alt-icon.js +5 -5
- package/dist/components/icon/icons/module-settings-icon.js +5 -5
- package/dist/components/icon/icons/module-support-icon.js +5 -5
- package/dist/components/icon/icons/module-survey-icon.js +5 -5
- package/dist/components/icon/icons/module-table-map-icon.js +6 -6
- package/dist/components/icon/icons/module-tablet-icon.js +5 -5
- package/dist/components/icon/icons/module-time-icon.js +5 -5
- package/dist/components/icon/icons/module-timeline-icon.js +5 -5
- package/dist/components/icon/icons/module-tip-icon.js +5 -5
- package/dist/components/icon/icons/module-to-do-icon.js +5 -5
- package/dist/components/icon/icons/module-tools-icon.js +5 -5
- package/dist/components/icon/icons/module-top-list-icon.js +5 -5
- package/dist/components/icon/icons/module-web-charts-icon.js +5 -5
- package/dist/components/icon/icons/module-web-icon.js +5 -5
- package/dist/components/icon/icons/more-horizontal-icon.js +5 -5
- package/dist/components/icon/icons/more-vertical-icon.js +5 -5
- package/dist/components/icon/icons/nfc-icon.js +5 -5
- package/dist/components/icon/icons/no-cart-icon.js +5 -5
- package/dist/components/icon/icons/note-icon.js +5 -5
- package/dist/components/icon/icons/number-icon.js +6 -6
- package/dist/components/icon/icons/open-modal-icon.js +5 -5
- package/dist/components/icon/icons/parking-icon.js +5 -5
- package/dist/components/icon/icons/party-horn-icon.js +5 -5
- package/dist/components/icon/icons/paste-icon.js +5 -5
- package/dist/components/icon/icons/pause-icon.js +5 -5
- package/dist/components/icon/icons/payment-card-icon.js +5 -5
- package/dist/components/icon/icons/payment-cash-icon.js +5 -5
- package/dist/components/icon/icons/payment-generic-icon.js +5 -5
- package/dist/components/icon/icons/payment-giftcard-icon.js +5 -5
- package/dist/components/icon/icons/payment-hotel-icon.js +5 -5
- package/dist/components/icon/icons/payment-invoice-icon.js +5 -5
- package/dist/components/icon/icons/percentage-icon.js +5 -5
- package/dist/components/icon/icons/phone-icon.js +5 -5
- package/dist/components/icon/icons/pin-icon.js +5 -5
- package/dist/components/icon/icons/pin-map-icon.js +5 -5
- package/dist/components/icon/icons/play-icon.js +5 -5
- package/dist/components/icon/icons/preview-icon.js +5 -5
- package/dist/components/icon/icons/print-icon.js +5 -5
- package/dist/components/icon/icons/privacy-icon.js +5 -5
- package/dist/components/icon/icons/product-admin-icon.js +5 -5
- package/dist/components/icon/icons/product-analytics-icon.js +5 -5
- package/dist/components/icon/icons/product-booking-icon.js +5 -5
- package/dist/components/icon/icons/product-checkout-icon.js +5 -5
- package/dist/components/icon/icons/product-my-pages-icon.js +5 -5
- package/dist/components/icon/icons/product-staff-icon.js +5 -5
- package/dist/components/icon/icons/puck-icon.js +5 -5
- package/dist/components/icon/icons/qr-code-icon.js +5 -5
- package/dist/components/icon/icons/question-icon.js +5 -5
- package/dist/components/icon/icons/radio-icon.js +5 -5
- package/dist/components/icon/icons/receipt-icon.js +5 -5
- package/dist/components/icon/icons/redo-icon.js +5 -5
- package/dist/components/icon/icons/refund-icon.js +5 -5
- package/dist/components/icon/icons/remove-icon.js +5 -5
- package/dist/components/icon/icons/replace-icon.js +5 -5
- package/dist/components/icon/icons/schedule-icon.js +5 -5
- package/dist/components/icon/icons/search-icon.js +5 -5
- package/dist/components/icon/icons/select-icon.js +4 -4
- package/dist/components/icon/icons/send-icon.js +5 -5
- package/dist/components/icon/icons/share-icon.js +5 -5
- package/dist/components/icon/icons/show-icon.js +5 -5
- package/dist/components/icon/icons/shuffle-icon.js +5 -5
- package/dist/components/icon/icons/sidebar-hide-icon.js +4 -4
- package/dist/components/icon/icons/sidebar-left-icon.js +4 -4
- package/dist/components/icon/icons/sidebar-right-icon.js +5 -5
- package/dist/components/icon/icons/sidebar-show-icon.js +5 -5
- package/dist/components/icon/icons/sliders-icon.js +5 -5
- package/dist/components/icon/icons/slightly-sad-icon.js +5 -5
- package/dist/components/icon/icons/smile-icon.js +5 -5
- package/dist/components/icon/icons/sort-asc-icon.js +5 -5
- package/dist/components/icon/icons/sort-desc-icon.js +5 -5
- package/dist/components/icon/icons/split-icon.js +5 -5
- package/dist/components/icon/icons/status-icon.js +5 -5
- package/dist/components/icon/icons/stop-icon.js +5 -5
- package/dist/components/icon/icons/submenu-icon.js +5 -5
- package/dist/components/icon/icons/success-icon.js +5 -5
- package/dist/components/icon/icons/swap-icon.js +5 -5
- package/dist/components/icon/icons/swatch-icon.js +5 -5
- package/dist/components/icon/icons/sweat-icon.js +5 -5
- package/dist/components/icon/icons/table-icon.js +5 -5
- package/dist/components/icon/icons/table-map-icon.js +5 -5
- package/dist/components/icon/icons/take-away-dot-com-icon.js +5 -5
- package/dist/components/icon/icons/take-away-icon.js +5 -5
- package/dist/components/icon/icons/talk-icon.js +5 -5
- package/dist/components/icon/icons/thumbtack-icon.js +5 -5
- package/dist/components/icon/icons/time-icon.js +5 -5
- package/dist/components/icon/icons/timeline-icon.js +5 -5
- package/dist/components/icon/icons/tip-icon.js +5 -5
- package/dist/components/icon/icons/title-icon.js +5 -5
- package/dist/components/icon/icons/translate-icon.js +5 -5
- package/dist/components/icon/icons/tree-view-collapse-icon.js +4 -4
- package/dist/components/icon/icons/tree-view-expand-icon.js +4 -4
- package/dist/components/icon/icons/tree-view-last-icon.js +4 -4
- package/dist/components/icon/icons/trend-down-icon.js +5 -5
- package/dist/components/icon/icons/trend-up-icon.js +5 -5
- package/dist/components/icon/icons/triangle-warning-icon.js +5 -5
- package/dist/components/icon/icons/trivec-icon.js +6 -6
- package/dist/components/icon/icons/uber-eats-icon.js +5 -5
- package/dist/components/icon/icons/undo-icon.js +5 -5
- package/dist/components/icon/icons/unlock-icon.js +5 -5
- package/dist/components/icon/icons/unwrap-content-icon.js +5 -5
- package/dist/components/icon/icons/up-icon.js +5 -5
- package/dist/components/icon/icons/user-group-icon.js +5 -5
- package/dist/components/icon/icons/user-icon.js +5 -5
- package/dist/components/icon/icons/user-permissions-icon.js +5 -5
- package/dist/components/icon/icons/user-wait-icon.js +5 -5
- package/dist/components/icon/icons/users-icon.js +5 -5
- package/dist/components/icon/icons/version-control-icon.js +5 -5
- package/dist/components/icon/icons/volume-high-icon.js +5 -5
- package/dist/components/icon/icons/volume-icon.js +5 -5
- package/dist/components/icon/icons/volume-low-icon.js +5 -5
- package/dist/components/icon/icons/volume-off-icon.js +5 -5
- package/dist/components/icon/icons/warning-icon.js +5 -5
- package/dist/components/icon/icons/waste-icon.js +5 -5
- package/dist/components/icon/icons/wifi-icon.js +5 -5
- package/dist/components/icon/icons/wifi-off-icon.js +5 -5
- package/dist/components/icon/icons/wolt-icon.js +5 -5
- package/dist/components/icon/icons/wrap-content-icon.js +5 -5
- package/dist/components/icon-button/icon-button.js +37 -39
- package/dist/components/image/image.js +12 -14
- package/dist/components/image-upload/image-cropper.helper.js +74 -82
- package/dist/components/image-upload/image-cropper.js +156 -183
- package/dist/components/image-upload/image-upload-dropzone.js +134 -112
- package/dist/components/image-upload/image-upload-helper.js +15 -19
- package/dist/components/image-upload/image-upload-icons.js +52 -20
- package/dist/components/image-upload/image-upload-modal.js +131 -106
- package/dist/components/image-upload/image-upload.js +96 -86
- package/dist/components/image-upload/translations.js +65 -65
- package/dist/components/image-upload/types.js +6 -4
- package/dist/components/input/helper.js +18 -29
- package/dist/components/input/input-addon-recipe.js +37 -43
- package/dist/components/input/input-recipe.js +124 -133
- package/dist/components/input/input.js +78 -83
- package/dist/components/link/link-recipe.js +18 -22
- package/dist/components/link/link.js +14 -14
- package/dist/components/list/list-item.js +15 -15
- package/dist/components/list/list.js +19 -20
- package/dist/components/menu/helper.js +12 -16
- package/dist/components/menu/menu-box-button.js +22 -18
- package/dist/components/menu/menu-button.js +18 -16
- package/dist/components/menu/menu-divider.js +31 -28
- package/dist/components/menu/menu-group.js +138 -142
- package/dist/components/menu/menu-icon-button.js +13 -11
- package/dist/components/menu/menu-item.js +44 -45
- package/dist/components/menu/menu-list.js +14 -15
- package/dist/components/menu/menu-recipe.js +67 -81
- package/dist/components/menu/menu.js +34 -41
- package/dist/components/message/message.js +52 -38
- package/dist/components/modal/modal-body-context.js +6 -7
- package/dist/components/modal/modal-body.js +17 -17
- package/dist/components/modal/modal-close-button.js +23 -18
- package/dist/components/modal/modal-footer.js +29 -32
- package/dist/components/modal/modal-header.js +17 -17
- package/dist/components/modal/modal-recipe.js +110 -141
- package/dist/components/modal/modal.js +54 -58
- package/dist/components/navigation-list/navigation-list-item.js +76 -88
- package/dist/components/navigation-list/navigation-list.js +23 -17
- package/dist/components/paginator/paginator-recipe.js +34 -40
- package/dist/components/paginator/paginator.js +65 -70
- package/dist/components/paginator/translations.js +35 -35
- package/dist/components/phone-input/country-data.js +31 -36
- package/dist/components/phone-input/country-list.js +45 -25
- package/dist/components/phone-input/country-selector.js +167 -115
- package/dist/components/phone-input/phone-input-helpers.js +91 -119
- package/dist/components/phone-input/phone-input.js +47 -42
- package/dist/components/phone-input/translations.js +53 -53
- package/dist/components/phone-input/use-phone-input.js +110 -137
- package/dist/components/quantity-button/minus-button.js +18 -16
- package/dist/components/quantity-button/plus-button.js +18 -16
- package/dist/components/quantity-button/quantity-button.js +72 -40
- package/dist/components/radio/check-icon.js +5 -5
- package/dist/components/radio/hover-styles.js +21 -36
- package/dist/components/radio/radio-group-context.js +5 -6
- package/dist/components/radio/radio-group-recipe.js +124 -142
- package/dist/components/radio/radio-group.js +30 -28
- package/dist/components/radio/radio.js +72 -55
- package/dist/components/radio-card/hover-styles.js +21 -36
- package/dist/components/radio-card/radio-card-group.js +24 -25
- package/dist/components/radio-card/radio-card.js +87 -67
- package/dist/components/rich-text-editor/boolean-control.js +51 -54
- package/dist/components/rich-text-editor/extensions.js +39 -34
- package/dist/components/rich-text-editor/index.js +26 -22
- package/dist/components/rich-text-editor/rich-text-editor-context.js +9 -11
- package/dist/components/rich-text-editor/rich-text-editor-control.js +290 -284
- package/dist/components/rich-text-editor/rich-text-editor-recipe.js +71 -83
- package/dist/components/rich-text-editor/rich-text-editor.js +72 -69
- package/dist/components/rich-text-editor/rich-text-renderer.js +32 -32
- package/dist/components/rich-text-editor/translations.js +119 -119
- package/dist/components/rich-text-editor/use-rich-text-editor.js +22 -29
- package/dist/components/segmented-control/segmented-control-item.js +24 -25
- package/dist/components/segmented-control/segmented-control.js +49 -40
- package/dist/components/select/select-recipe.js +91 -106
- package/dist/components/select/select.js +27 -29
- package/dist/components/skeleton/skeleton-text.js +18 -19
- package/dist/components/skeleton/skeleton.js +19 -20
- package/dist/components/spinner/spinner.js +44 -28
- package/dist/components/stack/stack.js +18 -18
- package/dist/components/stepper/check-icon.js +5 -5
- package/dist/components/stepper/step-context.js +5 -5
- package/dist/components/stepper/step.js +111 -106
- package/dist/components/stepper/stepper.js +42 -43
- package/dist/components/stepper/times-icon.js +5 -5
- package/dist/components/switch/hover-styles.js +30 -44
- package/dist/components/switch/switch-recipe.js +76 -84
- package/dist/components/switch/switch.d.ts +3 -3
- package/dist/components/switch/switch.d.ts.map +1 -1
- package/dist/components/switch/switch.js +30 -31
- package/dist/components/switch/types.d.ts +4 -2
- package/dist/components/switch/types.d.ts.map +1 -1
- package/dist/components/table/helper.d.ts +6 -0
- package/dist/components/table/helper.d.ts.map +1 -1
- package/dist/components/table/helper.js +29 -9
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/table-cell.d.ts.map +1 -1
- package/dist/components/table/table-cell.js +136 -122
- package/dist/components/table/table-column-resize-handle.d.ts +12 -0
- package/dist/components/table/table-column-resize-handle.d.ts.map +1 -0
- package/dist/components/table/table-column-resize-handle.js +69 -0
- package/dist/components/table/table-content.d.ts.map +1 -1
- package/dist/components/table/table-content.js +174 -98
- package/dist/components/table/table-context-provider.d.ts +7 -2
- package/dist/components/table/table-context-provider.d.ts.map +1 -1
- package/dist/components/table/table-context-provider.js +203 -151
- package/dist/components/table/table-context.d.ts +24 -0
- package/dist/components/table/table-context.d.ts.map +1 -1
- package/dist/components/table/table-context.js +18 -11
- package/dist/components/table/table-filter.js +170 -118
- package/dist/components/table/table-header-dropdown.js +131 -89
- package/dist/components/table/table-header-row.d.ts.map +1 -1
- package/dist/components/table/table-header-row.js +202 -140
- package/dist/components/table/table-recipe.d.ts.map +1 -1
- package/dist/components/table/table-recipe.js +75 -96
- package/dist/components/table/table-row-expand-toggle-button.js +28 -35
- package/dist/components/table/table-row.d.ts.map +1 -1
- package/dist/components/table/table-row.js +51 -41
- package/dist/components/table/table-toolbar-actions.js +19 -19
- package/dist/components/table/table-toolbar-add-button.js +18 -13
- package/dist/components/table/table-toolbar-search.js +17 -12
- package/dist/components/table/table-toolbar-settings.js +180 -133
- package/dist/components/table/table-toolbar.js +72 -51
- package/dist/components/table/table.composition.d.ts +1 -0
- package/dist/components/table/table.composition.d.ts.map +1 -1
- package/dist/components/table/table.constants.d.ts +4 -0
- package/dist/components/table/table.constants.d.ts.map +1 -1
- package/dist/components/table/table.constants.js +9 -4
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +41 -37
- package/dist/components/table/translations.d.ts +7 -0
- package/dist/components/table/translations.d.ts.map +1 -1
- package/dist/components/table/translations.js +199 -194
- package/dist/components/table/types.d.ts +33 -2
- package/dist/components/table/types.d.ts.map +1 -1
- package/dist/components/tabs/tab-list.js +16 -17
- package/dist/components/tabs/tab-panel.js +14 -14
- package/dist/components/tabs/tab-panels.js +15 -15
- package/dist/components/tabs/tab-with-image.js +60 -53
- package/dist/components/tabs/tab.js +26 -22
- package/dist/components/tabs/tabs-recipe.js +96 -116
- package/dist/components/tabs/tabs.js +25 -24
- package/dist/components/tag/tag-recipe.js +225 -252
- package/dist/components/tag/tag.js +121 -62
- package/dist/components/text/text-recipe.js +3 -8
- package/dist/components/text/text.js +26 -27
- package/dist/components/textarea/textarea-recipe.js +90 -96
- package/dist/components/textarea/textarea.js +19 -19
- package/dist/components/toaster/toast-store.d.ts +2 -2
- package/dist/components/toaster/toast-store.d.ts.map +1 -1
- package/dist/components/toaster/toast-store.js +25 -32
- package/dist/components/toaster/toaster.js +39 -34
- package/dist/components/toggle-button/toggle-button.js +23 -25
- package/dist/components/toggle-button/use-button-children.js +36 -35
- package/dist/components/tooltip/tooltip.js +43 -47
- package/dist/hooks/use-color-mode.js +17 -22
- package/dist/hooks/use-disclosure.js +10 -13
- package/dist/hooks/use-measured-width.js +21 -21
- package/dist/hooks/use-remove-attributes.js +25 -24
- package/dist/index.js +396 -802
- package/dist/node_modules/@dnd-kit/abstract/index.js +658 -1185
- package/dist/node_modules/@dnd-kit/collision/dist/index.js +51 -90
- package/dist/node_modules/@dnd-kit/dom/index.js +1256 -1518
- package/dist/node_modules/@dnd-kit/dom/sortable.js +529 -654
- package/dist/node_modules/@dnd-kit/dom/utilities.js +772 -940
- package/dist/node_modules/@dnd-kit/geometry/dist/index.js +228 -196
- package/dist/node_modules/@dnd-kit/react/hooks.js +51 -63
- package/dist/node_modules/@dnd-kit/react/index.js +175 -235
- package/dist/node_modules/@dnd-kit/react/sortable.js +67 -142
- package/dist/node_modules/@dnd-kit/react/utilities.js +7 -9
- package/dist/node_modules/@dnd-kit/state/dist/index.js +157 -172
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +154 -243
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +294 -369
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +95 -133
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +96 -122
- package/dist/node_modules/@preact/signals-core/dist/signals-core.module.js +249 -264
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js +34 -88
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +74 -88
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1463 -1822
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +633 -768
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +30 -32
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +35 -48
- package/dist/node_modules/@tiptap/core/dist/index.js +3433 -3946
- package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +19 -19
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +73 -1498
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +71 -84
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +65 -70
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +155 -216
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +9 -11
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +48 -60
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +65 -66
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +47 -55
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +68 -82
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +365 -334
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +936 -1105
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +43 -48
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +53 -65
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +12 -12
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js +60 -64
- package/dist/node_modules/@tiptap/extensions/dist/index.js +439 -462
- package/dist/node_modules/@tiptap/react/dist/index.js +314 -0
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +23 -24
- package/dist/node_modules/country-flag-icons/modules/countries.json.js +4 -4
- package/dist/node_modules/country-flag-icons/modules/hasFlag.js +6 -6
- package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +5469 -6298
- package/dist/node_modules/country-flag-icons/react/3x2/index.js +273 -269
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +5 -6
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +6 -6
- package/dist/node_modules/date-fns/_lib/format/formatters.js +385 -544
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +42 -57
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +37 -48
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -17
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +6 -9
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +19 -16
- package/dist/node_modules/date-fns/addDays.js +8 -8
- package/dist/node_modules/date-fns/addMonths.js +11 -18
- package/dist/node_modules/date-fns/addWeeks.js +6 -6
- package/dist/node_modules/date-fns/constants.js +10 -6
- package/dist/node_modules/date-fns/constructFrom.js +6 -6
- package/dist/node_modules/date-fns/constructNow.js +6 -6
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +10 -14
- package/dist/node_modules/date-fns/endOfDay.js +7 -7
- package/dist/node_modules/date-fns/endOfMonth.js +7 -7
- package/dist/node_modules/date-fns/format.js +57 -55
- package/dist/node_modules/date-fns/getDayOfYear.js +9 -9
- package/dist/node_modules/date-fns/getISOWeek.js +10 -10
- package/dist/node_modules/date-fns/getISOWeekYear.js +13 -13
- package/dist/node_modules/date-fns/getWeek.js +10 -10
- package/dist/node_modules/date-fns/getWeekYear.js +14 -14
- package/dist/node_modules/date-fns/isBefore.js +6 -6
- package/dist/node_modules/date-fns/isDate.js +5 -5
- package/dist/node_modules/date-fns/isPast.js +6 -6
- package/dist/node_modules/date-fns/isSameDay.js +8 -12
- package/dist/node_modules/date-fns/isSameMonth.js +7 -11
- package/dist/node_modules/date-fns/isSameWeek.js +8 -12
- package/dist/node_modules/date-fns/isSameYear.js +7 -11
- package/dist/node_modules/date-fns/isToday.js +7 -10
- package/dist/node_modules/date-fns/isValid.js +7 -7
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +8 -8
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +16 -17
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +19 -28
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -14
- package/dist/node_modules/date-fns/locale/da/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/da/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/da/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/da/_lib/localize.js +193 -142
- package/dist/node_modules/date-fns/locale/da/_lib/match.js +123 -109
- package/dist/node_modules/date-fns/locale/da.js +17 -17
- package/dist/node_modules/date-fns/locale/en-GB/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/en-GB.js +18 -18
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +200 -153
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +123 -109
- package/dist/node_modules/date-fns/locale/en-US.js +18 -18
- package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -18
- package/dist/node_modules/date-fns/locale/es/_lib/localize.js +192 -141
- package/dist/node_modules/date-fns/locale/es/_lib/match.js +127 -114
- package/dist/node_modules/date-fns/locale/es.js +18 -18
- package/dist/node_modules/date-fns/locale/et/_lib/formatDistance.js +161 -162
- package/dist/node_modules/date-fns/locale/et/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/et/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/et/_lib/localize.js +196 -152
- package/dist/node_modules/date-fns/locale/et/_lib/match.js +109 -107
- package/dist/node_modules/date-fns/locale/et.js +19 -19
- package/dist/node_modules/date-fns/locale/fi/_lib/formatDistance.js +101 -101
- package/dist/node_modules/date-fns/locale/fi/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/fi/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/fi/_lib/localize.js +192 -140
- package/dist/node_modules/date-fns/locale/fi/_lib/match.js +122 -108
- package/dist/node_modules/date-fns/locale/fi.js +18 -18
- package/dist/node_modules/date-fns/locale/fr/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/fr/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/fr/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/fr/_lib/localize.js +176 -120
- package/dist/node_modules/date-fns/locale/fr/_lib/match.js +122 -108
- package/dist/node_modules/date-fns/locale/fr.js +18 -18
- package/dist/node_modules/date-fns/locale/lt/_lib/formatDistance.js +93 -109
- package/dist/node_modules/date-fns/locale/lt/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/lt/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/lt/_lib/localize.js +298 -195
- package/dist/node_modules/date-fns/locale/lt/_lib/match.js +154 -121
- package/dist/node_modules/date-fns/locale/lt.js +19 -19
- package/dist/node_modules/date-fns/locale/lv/_lib/formatDistance.js +226 -120
- package/dist/node_modules/date-fns/locale/lv/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/lv/_lib/formatRelative.js +22 -22
- package/dist/node_modules/date-fns/locale/lv/_lib/localize.js +298 -221
- package/dist/node_modules/date-fns/locale/lv/_lib/match.js +138 -112
- package/dist/node_modules/date-fns/locale/lv.js +18 -18
- package/dist/node_modules/date-fns/locale/nb/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/nb/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/nb/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/nb/_lib/localize.js +159 -108
- package/dist/node_modules/date-fns/locale/nb/_lib/match.js +112 -108
- package/dist/node_modules/date-fns/locale/nb.js +18 -18
- package/dist/node_modules/date-fns/locale/nl/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/nl/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/nl/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/nl/_lib/localize.js +160 -109
- package/dist/node_modules/date-fns/locale/nl/_lib/match.js +120 -108
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/localize.js +160 -109
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/match.js +120 -108
- package/dist/node_modules/date-fns/locale/nl-BE.js +18 -18
- package/dist/node_modules/date-fns/locale/nl.js +18 -18
- package/dist/node_modules/date-fns/locale/sv/_lib/formatDistance.js +82 -86
- package/dist/node_modules/date-fns/locale/sv/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/sv/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/sv/_lib/localize.js +199 -142
- package/dist/node_modules/date-fns/locale/sv/_lib/match.js +109 -107
- package/dist/node_modules/date-fns/locale/sv.js +18 -18
- package/dist/node_modules/date-fns/startOfDay.js +7 -7
- package/dist/node_modules/date-fns/startOfISOWeek.js +9 -6
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +9 -9
- package/dist/node_modules/date-fns/startOfMonth.js +7 -7
- package/dist/node_modules/date-fns/startOfWeek.js +8 -8
- package/dist/node_modules/date-fns/startOfWeekYear.js +10 -10
- package/dist/node_modules/date-fns/startOfYear.js +7 -7
- package/dist/node_modules/date-fns/subDays.js +6 -6
- package/dist/node_modules/date-fns/subMonths.js +6 -6
- package/dist/node_modules/date-fns/subWeeks.js +6 -6
- package/dist/node_modules/date-fns/toDate.js +6 -6
- package/dist/node_modules/fast-equals/dist/es/index.js +239 -298
- package/dist/node_modules/libphonenumber-js/es6/ParseError.js +116 -89
- package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +155 -183
- package/dist/node_modules/libphonenumber-js/es6/constants.js +4 -10
- package/dist/node_modules/libphonenumber-js/es6/format.js +70 -91
- package/dist/node_modules/libphonenumber-js/es6/getCountries.js +5 -5
- package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +8 -10
- package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +5 -5
- package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +19 -14
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +9 -9
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +15 -17
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +35 -45
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +20 -26
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +17 -22
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +24 -36
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +26 -30
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +13 -21
- package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +10 -24
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryAndCallingCodeFromOneOfThem.js +10 -11
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +6 -8
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +39 -39
- package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +9 -11
- package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +56 -47
- package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +12 -12
- package/dist/node_modules/libphonenumber-js/es6/helpers/isCallingCode.js +5 -5
- package/dist/node_modules/libphonenumber-js/es6/helpers/isCountryCode.js +5 -5
- package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +6 -6
- package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +9 -17
- package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +5 -5
- package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +39 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +46 -77
- package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +17 -18
- package/dist/node_modules/libphonenumber-js/es6/isPossible.js +29 -32
- package/dist/node_modules/libphonenumber-js/es6/isValid.js +12 -13
- package/dist/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js +55 -52
- package/dist/node_modules/libphonenumber-js/es6/metadata.js +462 -482
- package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +97 -95
- package/dist/node_modules/libphonenumber-js/es6/parse.js +98 -133
- package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +43 -35
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +8 -8
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +51 -48
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +59 -55
- package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +13 -13
- package/dist/node_modules/libphonenumber-js/metadata.min.json.js +7437 -3
- package/dist/node_modules/libphonenumber-js/min/exports/getCountries.js +6 -6
- package/dist/node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js +6 -6
- package/dist/node_modules/libphonenumber-js/min/exports/isSupportedCountry.js +7 -7
- package/dist/node_modules/libphonenumber-js/min/exports/isValidPhoneNumber.js +6 -6
- package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +7 -7
- package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +6 -6
- package/dist/node_modules/linkifyjs/dist/linkify.js +486 -679
- package/dist/node_modules/next-themes/dist/index.js +120 -85
- package/dist/node_modules/orderedmap/dist/index.js +64 -100
- package/dist/node_modules/prosemirror-commands/dist/index.js +313 -368
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +109 -84
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +162 -195
- package/dist/node_modules/prosemirror-history/dist/index.js +203 -239
- package/dist/node_modules/prosemirror-keymap/dist/index.js +45 -57
- package/dist/node_modules/prosemirror-model/dist/index.js +1783 -2735
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +66 -81
- package/dist/node_modules/prosemirror-state/dist/index.js +517 -814
- package/dist/node_modules/prosemirror-transform/dist/index.js +1104 -1505
- package/dist/node_modules/prosemirror-view/dist/index.js +3274 -3782
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +15 -21
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +12 -14
- package/dist/node_modules/react/compiler-runtime.js +10 -10
- package/dist/node_modules/rope-sequence/dist/index.js +82 -99
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +55 -58
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +53 -57
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +53 -58
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +45 -46
- package/dist/node_modules/use-sync-external-store/shim/index.js +10 -10
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +10 -10
- package/dist/node_modules/w3c-keyname/index.js +87 -92
- package/dist/theme/component-recipes.js +52 -53
- package/dist/theme/theme-casper-ui.js +179 -420
- package/dist/theme/theme-helper.js +4 -4
- package/dist/theme/theme-provider.js +33 -34
- package/dist/theme/theme-style-props.d.ts.map +1 -1
- package/dist/theme/theme-tokens.js +22 -12
- package/dist/theme/theme-types.js +22 -12
- package/dist/theme/theme.js +213 -268
- package/package.json +30 -29
- package/dist/_virtual/compiler-runtime.js +0 -5
- package/dist/_virtual/compiler-runtime2.js +0 -4
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/react-compiler-runtime.development.js +0 -4
- package/dist/_virtual/react-compiler-runtime.production.js +0 -4
- package/dist/_virtual/use-sync-external-store-shim.development.js +0 -4
- package/dist/_virtual/use-sync-external-store-shim.production.js +0 -4
- package/dist/_virtual/with-selector.development.js +0 -4
- package/dist/_virtual/with-selector.js +0 -5
- package/dist/_virtual/with-selector.production.js +0 -4
- package/dist/_virtual/with-selector2.js +0 -4
- package/dist/packages/casper-ui-library/node_modules/@tiptap/react/dist/index.js +0 -506
|
@@ -1,950 +1,782 @@
|
|
|
1
|
-
import { Rectangle as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
function
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
button:not([disabled]),
|
|
203
|
-
a[href],
|
|
204
|
-
[contenteditable]:not([contenteditable="false"])
|
|
205
|
-
`);
|
|
206
|
-
}
|
|
207
|
-
var Re = class {
|
|
208
|
-
constructor() {
|
|
209
|
-
this.entries = /* @__PURE__ */ new Set(), this.clear = () => {
|
|
210
|
-
for (const t of this.entries) {
|
|
211
|
-
const [e, { type: n, listener: i, options: o }] = t;
|
|
212
|
-
e.removeEventListener(n, i, o);
|
|
213
|
-
}
|
|
214
|
-
this.entries.clear();
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
bind(t, e) {
|
|
218
|
-
const n = Array.isArray(t) ? t : [t], i = Array.isArray(e) ? e : [e], o = [];
|
|
219
|
-
for (const r of n)
|
|
220
|
-
for (const l of i) {
|
|
221
|
-
const { type: c, listener: a, options: f } = l, h = [r, l];
|
|
222
|
-
r.addEventListener(c, a, f), this.entries.add(h), o.push(h);
|
|
223
|
-
}
|
|
224
|
-
const s = this.entries;
|
|
225
|
-
return function() {
|
|
226
|
-
for (const l of o) {
|
|
227
|
-
const [c, { type: a, listener: f, options: h }] = l;
|
|
228
|
-
c.removeEventListener(a, f, h), s.delete(l);
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
}
|
|
1
|
+
import { Rectangle as e } from "../geometry/dist/index.js";
|
|
2
|
+
//#region ../../node_modules/@dnd-kit/dom/utilities.js
|
|
3
|
+
var t = (e) => {
|
|
4
|
+
throw TypeError(e);
|
|
5
|
+
}, n = (e, n, r) => n.has(e) || t("Cannot " + r), r = (e, t, r) => (n(e, t, "read from private field"), t.get(e)), i = (e, n, r) => n.has(e) ? t("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(e) : n.set(e, r), a = (e, t, r, i) => (n(e, t, "write to private field"), t.set(e, r), r), o = (e, t, r) => (n(e, t, "access private method"), r);
|
|
6
|
+
function s(e) {
|
|
7
|
+
return e ? e instanceof KeyframeEffect || "getKeyframes" in e && typeof e.getKeyframes == "function" : !1;
|
|
8
|
+
}
|
|
9
|
+
function c(e, t) {
|
|
10
|
+
let n = e.getAnimations(), r = null;
|
|
11
|
+
for (let e of n) {
|
|
12
|
+
if (e.playState !== "running") continue;
|
|
13
|
+
let { effect: n } = e, i = (s(n) ? n.getKeyframes() : []).filter(t);
|
|
14
|
+
i.length > 0 && (r = [i[i.length - 1], e]);
|
|
15
|
+
}
|
|
16
|
+
return r;
|
|
17
|
+
}
|
|
18
|
+
function l(e) {
|
|
19
|
+
let { width: t, height: n, top: r, left: i, bottom: a, right: o } = e.getBoundingClientRect();
|
|
20
|
+
return {
|
|
21
|
+
width: t,
|
|
22
|
+
height: n,
|
|
23
|
+
top: r,
|
|
24
|
+
left: i,
|
|
25
|
+
bottom: a,
|
|
26
|
+
right: o
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function u(e) {
|
|
30
|
+
let t = Object.prototype.toString.call(e);
|
|
31
|
+
return t === "[object Window]" || t === "[object global]";
|
|
32
|
+
}
|
|
33
|
+
function d(e) {
|
|
34
|
+
return "nodeType" in e;
|
|
35
|
+
}
|
|
36
|
+
function f(e) {
|
|
37
|
+
return e ? u(e) ? e : d(e) ? "defaultView" in e ? e.defaultView ?? window : e.ownerDocument?.defaultView ?? window : window : window;
|
|
38
|
+
}
|
|
39
|
+
function p(e) {
|
|
40
|
+
let { Document: t } = f(e);
|
|
41
|
+
return e instanceof t || "nodeType" in e && e.nodeType === Node.DOCUMENT_NODE;
|
|
42
|
+
}
|
|
43
|
+
function m(e) {
|
|
44
|
+
return !e || u(e) ? !1 : e instanceof f(e).HTMLElement || "namespaceURI" in e && typeof e.namespaceURI == "string" && e.namespaceURI.endsWith("html");
|
|
45
|
+
}
|
|
46
|
+
function h(e) {
|
|
47
|
+
return e instanceof f(e).SVGElement || "namespaceURI" in e && typeof e.namespaceURI == "string" && e.namespaceURI.endsWith("svg");
|
|
48
|
+
}
|
|
49
|
+
function g(e) {
|
|
50
|
+
return e ? u(e) ? e.document : d(e) ? p(e) ? e : m(e) || h(e) ? e.ownerDocument : document : document : document;
|
|
51
|
+
}
|
|
52
|
+
function _(e) {
|
|
53
|
+
let { documentElement: t } = g(e), n = f(e).visualViewport, r = n?.width ?? t.clientWidth, i = n?.height ?? t.clientHeight, a = n?.offsetTop ?? 0, o = n?.offsetLeft ?? 0;
|
|
54
|
+
return {
|
|
55
|
+
top: a,
|
|
56
|
+
left: o,
|
|
57
|
+
right: o + r,
|
|
58
|
+
bottom: a + i,
|
|
59
|
+
width: r,
|
|
60
|
+
height: i
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function v(e, t) {
|
|
64
|
+
if (y(e) && e.open === !1) return !1;
|
|
65
|
+
let { overflow: n, overflowX: r, overflowY: i } = getComputedStyle(e);
|
|
66
|
+
return n === "visible" && r === "visible" && i === "visible";
|
|
67
|
+
}
|
|
68
|
+
function y(e) {
|
|
69
|
+
return e.tagName === "DETAILS";
|
|
70
|
+
}
|
|
71
|
+
function b(e, t = e.getBoundingClientRect(), n = 0) {
|
|
72
|
+
let r = t, { ownerDocument: i } = e, a = i.defaultView ?? window, o = e.parentElement;
|
|
73
|
+
for (; o && o !== i.documentElement;) {
|
|
74
|
+
if (!v(o)) {
|
|
75
|
+
let e = o.getBoundingClientRect(), t = n * (e.bottom - e.top), i = n * (e.right - e.left), a = n * (e.bottom - e.top), s = n * (e.right - e.left);
|
|
76
|
+
r = {
|
|
77
|
+
top: Math.max(r.top, e.top - t),
|
|
78
|
+
right: Math.min(r.right, e.right + i),
|
|
79
|
+
bottom: Math.min(r.bottom, e.bottom + a),
|
|
80
|
+
left: Math.max(r.left, e.left - s),
|
|
81
|
+
width: 0,
|
|
82
|
+
height: 0
|
|
83
|
+
}, r.width = r.right - r.left, r.height = r.bottom - r.top;
|
|
84
|
+
}
|
|
85
|
+
o = o.parentElement;
|
|
86
|
+
}
|
|
87
|
+
let s = a.visualViewport, c = s?.offsetTop ?? 0, l = s?.offsetLeft ?? 0, u = s?.width ?? a.innerWidth, d = s?.height ?? a.innerHeight, f = n * d, p = n * u;
|
|
88
|
+
return r = {
|
|
89
|
+
top: Math.max(r.top, c - f),
|
|
90
|
+
right: Math.min(r.right, l + u + p),
|
|
91
|
+
bottom: Math.min(r.bottom, c + d + f),
|
|
92
|
+
left: Math.max(r.left, l - p),
|
|
93
|
+
width: 0,
|
|
94
|
+
height: 0
|
|
95
|
+
}, r.width = r.right - r.left, r.height = r.bottom - r.top, r.width < 0 && (r.width = 0), r.height < 0 && (r.height = 0), r;
|
|
96
|
+
}
|
|
97
|
+
function x(e) {
|
|
98
|
+
return {
|
|
99
|
+
x: e.clientX,
|
|
100
|
+
y: e.clientY
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
var S = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
|
|
104
|
+
function C(e = document, t = /* @__PURE__ */ new Set()) {
|
|
105
|
+
if (t.has(e)) return [];
|
|
106
|
+
t.add(e);
|
|
107
|
+
let n = [e];
|
|
108
|
+
for (let r of Array.from(e.querySelectorAll("iframe, frame"))) try {
|
|
109
|
+
let e = r.contentDocument;
|
|
110
|
+
e && !t.has(e) && n.push(...C(e, t));
|
|
111
|
+
} catch {}
|
|
112
|
+
try {
|
|
113
|
+
let r = e.defaultView;
|
|
114
|
+
if (r && r !== window.top) {
|
|
115
|
+
let i = r.parent;
|
|
116
|
+
i && i.document && i.document !== e && n.push(...C(i.document, t));
|
|
117
|
+
}
|
|
118
|
+
} catch {}
|
|
119
|
+
return n;
|
|
120
|
+
}
|
|
121
|
+
function w() {
|
|
122
|
+
return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
123
|
+
}
|
|
124
|
+
function ee() {
|
|
125
|
+
let e = w() ? window.visualViewport : null;
|
|
126
|
+
return {
|
|
127
|
+
x: e?.offsetLeft ?? 0,
|
|
128
|
+
y: e?.offsetTop ?? 0
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
function T(e) {
|
|
132
|
+
return !e || !d(e) ? !1 : e instanceof f(e).ShadowRoot;
|
|
133
|
+
}
|
|
134
|
+
function te(e) {
|
|
135
|
+
if (e && d(e)) {
|
|
136
|
+
let t = e.getRootNode();
|
|
137
|
+
if (T(t) || t instanceof Document) return t;
|
|
138
|
+
}
|
|
139
|
+
return g(e);
|
|
140
|
+
}
|
|
141
|
+
function ne(e) {
|
|
142
|
+
return e.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
143
|
+
}
|
|
144
|
+
function re(e) {
|
|
145
|
+
let t = "input, textarea, select, canvas, [contenteditable]", n = e.cloneNode(!0), r = Array.from(e.querySelectorAll(t));
|
|
146
|
+
return Array.from(n.querySelectorAll(t)).forEach((e, t) => {
|
|
147
|
+
let n = r[t];
|
|
148
|
+
E(e) && E(n) && (e.type !== "file" && (e.value = n.value), e.type === "radio" && e.name && (e.name = `Cloned__${e.name}`)), ie(e) && ie(n) && n.width > 0 && n.height > 0 && e.getContext("2d")?.drawImage(n, 0, 0);
|
|
149
|
+
}), n;
|
|
150
|
+
}
|
|
151
|
+
function E(e) {
|
|
152
|
+
return "value" in e;
|
|
153
|
+
}
|
|
154
|
+
function ie(e) {
|
|
155
|
+
return e.tagName === "CANVAS";
|
|
156
|
+
}
|
|
157
|
+
function ae(e, { x: t, y: n }) {
|
|
158
|
+
let r = e.elementFromPoint(t, n);
|
|
159
|
+
if (oe(r)) {
|
|
160
|
+
let { contentDocument: e } = r;
|
|
161
|
+
if (e) {
|
|
162
|
+
let { left: i, top: a } = r.getBoundingClientRect();
|
|
163
|
+
return ae(e, {
|
|
164
|
+
x: t - i,
|
|
165
|
+
y: n - a
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
return r;
|
|
170
|
+
}
|
|
171
|
+
function oe(e) {
|
|
172
|
+
return e?.tagName === "IFRAME";
|
|
173
|
+
}
|
|
174
|
+
var se = /* @__PURE__ */ new WeakMap();
|
|
175
|
+
function ce(e) {
|
|
176
|
+
return e.closest("\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n a[href],\n [contenteditable]:not([contenteditable=\"false\"])\n ");
|
|
177
|
+
}
|
|
178
|
+
var le = class {
|
|
179
|
+
constructor() {
|
|
180
|
+
this.entries = /* @__PURE__ */ new Set(), this.clear = () => {
|
|
181
|
+
for (let e of this.entries) {
|
|
182
|
+
let [t, { type: n, listener: r, options: i }] = e;
|
|
183
|
+
t.removeEventListener(n, r, i);
|
|
184
|
+
}
|
|
185
|
+
this.entries.clear();
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
bind(e, t) {
|
|
189
|
+
let n = Array.isArray(e) ? e : [e], r = Array.isArray(t) ? t : [t], i = [];
|
|
190
|
+
for (let e of n) for (let t of r) {
|
|
191
|
+
let { type: n, listener: r, options: a } = t, o = [e, t];
|
|
192
|
+
e.addEventListener(n, r, a), this.entries.add(o), i.push(o);
|
|
193
|
+
}
|
|
194
|
+
let a = this.entries;
|
|
195
|
+
return function() {
|
|
196
|
+
for (let e of i) {
|
|
197
|
+
let [t, { type: n, listener: r, options: i }] = e;
|
|
198
|
+
t.removeEventListener(n, r, i), a.delete(e);
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
}
|
|
232
202
|
};
|
|
233
|
-
function
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
}
|
|
277
|
-
disconnect() {
|
|
278
|
-
}
|
|
279
|
-
}, D, zt = class extends Dt {
|
|
280
|
-
constructor(t) {
|
|
281
|
-
super((e) => {
|
|
282
|
-
if (!u(this, D)) {
|
|
283
|
-
R(this, D, !0);
|
|
284
|
-
return;
|
|
285
|
-
}
|
|
286
|
-
t(e, this);
|
|
287
|
-
}), _(this, D, !1);
|
|
288
|
-
}
|
|
203
|
+
function D(e) {
|
|
204
|
+
let t = e?.ownerDocument.defaultView;
|
|
205
|
+
if (t && t.self !== t.parent) return t.frameElement;
|
|
206
|
+
}
|
|
207
|
+
function ue(e) {
|
|
208
|
+
let t = /* @__PURE__ */ new Set(), n = D(e);
|
|
209
|
+
for (; n;) t.add(n), n = D(n);
|
|
210
|
+
return t;
|
|
211
|
+
}
|
|
212
|
+
function de(e, t) {
|
|
213
|
+
let n = setTimeout(e, t);
|
|
214
|
+
return () => clearTimeout(n);
|
|
215
|
+
}
|
|
216
|
+
function fe(e, t) {
|
|
217
|
+
let n = () => performance.now(), r, i;
|
|
218
|
+
return function(...a) {
|
|
219
|
+
let o = this;
|
|
220
|
+
i ? (r?.(), r = de(() => {
|
|
221
|
+
e.apply(o, a), i = n();
|
|
222
|
+
}, t - (n() - i))) : (e.apply(o, a), i = n());
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
function pe(e, t) {
|
|
226
|
+
return e === t ? !0 : !e || !t ? !1 : e.top == t.top && e.left == t.left && e.right == t.right && e.bottom == t.bottom;
|
|
227
|
+
}
|
|
228
|
+
function me(e, t = e.getBoundingClientRect()) {
|
|
229
|
+
let { width: n, height: r } = b(e, t);
|
|
230
|
+
return n > 0 && r > 0;
|
|
231
|
+
}
|
|
232
|
+
var he = S ? ResizeObserver : class {
|
|
233
|
+
observe() {}
|
|
234
|
+
unobserve() {}
|
|
235
|
+
disconnect() {}
|
|
236
|
+
}, O, ge = class extends he {
|
|
237
|
+
constructor(e) {
|
|
238
|
+
super((t) => {
|
|
239
|
+
if (!r(this, O)) {
|
|
240
|
+
a(this, O, !0);
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
e(t, this);
|
|
244
|
+
}), i(this, O, !1);
|
|
245
|
+
}
|
|
289
246
|
};
|
|
290
|
-
D = /* @__PURE__ */ new WeakMap();
|
|
291
|
-
var ht = Array.from({ length: 100 }, (t, e) => e / 100), Rt = 75, k, $, S, A, N, T, O, L, K, Mt, Et, St = class {
|
|
292
|
-
constructor(t, e, n = {
|
|
293
|
-
debug: !1,
|
|
294
|
-
skipInitial: !1
|
|
295
|
-
}) {
|
|
296
|
-
this.element = t, this.callback = e, _(this, K), this.disconnect = () => {
|
|
297
|
-
var s, r, l;
|
|
298
|
-
R(this, O, !0), (s = u(this, S)) == null || s.disconnect(), (r = u(this, A)) == null || r.disconnect(), u(this, N).disconnect(), (l = u(this, T)) == null || l.remove();
|
|
299
|
-
}, _(this, k, !0), _(this, $), _(this, S), _(this, A), _(this, N), _(this, T), _(this, O, !1), _(this, L, _t(() => {
|
|
300
|
-
var s, r, l;
|
|
301
|
-
const { element: c } = this;
|
|
302
|
-
if ((s = u(this, A)) == null || s.disconnect(), u(this, O) || !u(this, k) || !c.isConnected)
|
|
303
|
-
return;
|
|
304
|
-
const a = (r = c.ownerDocument) != null ? r : document, { innerHeight: f, innerWidth: h } = (l = a.defaultView) != null ? l : window, v = c.getBoundingClientRect(), m = B(c, v), { top: w, left: d, bottom: x, right: b } = m, p = -Math.floor(w), y = -Math.floor(d), M = -Math.floor(h - b), g = -Math.floor(f - x), G = `${p}px ${M}px ${g}px ${y}px`;
|
|
305
|
-
this.boundingClientRect = v, R(this, A, new IntersectionObserver(
|
|
306
|
-
(J) => {
|
|
307
|
-
const [Q] = J, { intersectionRect: Wt } = Q;
|
|
308
|
-
(Q.intersectionRatio !== 1 ? Q.intersectionRatio : it.intersectionRatio(
|
|
309
|
-
Wt,
|
|
310
|
-
B(c)
|
|
311
|
-
)) !== 1 && u(this, L).call(this);
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
threshold: ht,
|
|
315
|
-
rootMargin: G,
|
|
316
|
-
root: a
|
|
317
|
-
}
|
|
318
|
-
)), u(this, A).observe(c), yt(this, K, Mt).call(this);
|
|
319
|
-
}, Rt)), this.boundingClientRect = t.getBoundingClientRect(), R(this, k, Yt(t, this.boundingClientRect));
|
|
320
|
-
let i = !0;
|
|
321
|
-
this.callback = (s) => {
|
|
322
|
-
i && (i = !1, n.skipInitial) || e(s);
|
|
323
|
-
};
|
|
324
|
-
const o = t.ownerDocument;
|
|
325
|
-
n?.debug && (R(this, T, document.createElement("div")), u(this, T).style.background = "rgba(0,0,0,0.15)", u(this, T).style.position = "fixed", u(this, T).style.pointerEvents = "none", o.body.appendChild(u(this, T))), R(this, N, new IntersectionObserver(
|
|
326
|
-
(s) => {
|
|
327
|
-
var r, l;
|
|
328
|
-
const c = s[s.length - 1], { boundingClientRect: a, isIntersecting: f } = c, { width: h, height: v } = a, m = u(this, k);
|
|
329
|
-
R(this, k, f), !(!h && !v) && (m && !f ? ((r = u(this, A)) == null || r.disconnect(), this.callback(null), (l = u(this, S)) == null || l.disconnect(), R(this, S, void 0), u(this, T) && (u(this, T).style.visibility = "hidden")) : u(this, L).call(this), f && !u(this, S) && (R(this, S, new zt(u(this, L))), u(this, S).observe(t)));
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
threshold: ht,
|
|
333
|
-
root: o
|
|
334
|
-
}
|
|
335
|
-
)), u(this, k) && !n.skipInitial && this.callback(this.boundingClientRect), u(this, N).observe(t);
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
k = /* @__PURE__ */ new WeakMap();
|
|
339
|
-
$ = /* @__PURE__ */ new WeakMap();
|
|
340
|
-
S = /* @__PURE__ */ new WeakMap();
|
|
341
|
-
A = /* @__PURE__ */ new WeakMap();
|
|
342
|
-
N = /* @__PURE__ */ new WeakMap();
|
|
343
|
-
T = /* @__PURE__ */ new WeakMap();
|
|
344
247
|
O = /* @__PURE__ */ new WeakMap();
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
248
|
+
var _e = Array.from({ length: 100 }, (e, t) => t / 100), ve = 75, k, A, j, M, N, P, F, I, L, ye, be, xe = class {
|
|
249
|
+
constructor(t, n, s = {
|
|
250
|
+
debug: !1,
|
|
251
|
+
skipInitial: !1
|
|
252
|
+
}) {
|
|
253
|
+
this.element = t, this.callback = n, i(this, L), this.disconnect = () => {
|
|
254
|
+
var e, t, n;
|
|
255
|
+
a(this, F, !0), (e = r(this, j)) == null || e.disconnect(), (t = r(this, M)) == null || t.disconnect(), r(this, N).disconnect(), (n = r(this, P)) == null || n.remove();
|
|
256
|
+
}, i(this, k, !0), i(this, A), i(this, j), i(this, M), i(this, N), i(this, P), i(this, F, !1), i(this, I, fe(() => {
|
|
257
|
+
var t;
|
|
258
|
+
let { element: n } = this;
|
|
259
|
+
if ((t = r(this, M)) == null || t.disconnect(), r(this, F) || !r(this, k) || !n.isConnected) return;
|
|
260
|
+
let i = n.ownerDocument ?? document, { innerHeight: s, innerWidth: c } = i.defaultView ?? window, l = n.getBoundingClientRect(), { top: u, left: d, bottom: f, right: p } = b(n, l), m = -Math.floor(u), h = -Math.floor(d), g = `${m}px ${-Math.floor(c - p)}px ${-Math.floor(s - f)}px ${h}px`;
|
|
261
|
+
this.boundingClientRect = l, a(this, M, new IntersectionObserver((t) => {
|
|
262
|
+
let [i] = t, { intersectionRect: a } = i;
|
|
263
|
+
(i.intersectionRatio === 1 ? e.intersectionRatio(a, b(n)) : i.intersectionRatio) !== 1 && r(this, I).call(this);
|
|
264
|
+
}, {
|
|
265
|
+
threshold: _e,
|
|
266
|
+
rootMargin: g,
|
|
267
|
+
root: i
|
|
268
|
+
})), r(this, M).observe(n), o(this, L, ye).call(this);
|
|
269
|
+
}, ve)), this.boundingClientRect = t.getBoundingClientRect(), a(this, k, me(t, this.boundingClientRect));
|
|
270
|
+
let c = !0;
|
|
271
|
+
this.callback = (e) => {
|
|
272
|
+
c && (c = !1, s.skipInitial) || n(e);
|
|
273
|
+
};
|
|
274
|
+
let l = t.ownerDocument;
|
|
275
|
+
s?.debug && (a(this, P, document.createElement("div")), r(this, P).style.background = "rgba(0,0,0,0.15)", r(this, P).style.position = "fixed", r(this, P).style.pointerEvents = "none", l.body.appendChild(r(this, P))), a(this, N, new IntersectionObserver((e) => {
|
|
276
|
+
var n, i;
|
|
277
|
+
let { boundingClientRect: o, isIntersecting: s } = e[e.length - 1], { width: c, height: l } = o, u = r(this, k);
|
|
278
|
+
a(this, k, s), !(!c && !l) && (u && !s ? ((n = r(this, M)) == null || n.disconnect(), this.callback(null), (i = r(this, j)) == null || i.disconnect(), a(this, j, void 0), r(this, P) && (r(this, P).style.visibility = "hidden")) : r(this, I).call(this), s && !r(this, j) && (a(this, j, new ge(r(this, I))), r(this, j).observe(t)));
|
|
279
|
+
}, {
|
|
280
|
+
threshold: _e,
|
|
281
|
+
root: l
|
|
282
|
+
})), r(this, k) && !s.skipInitial && this.callback(this.boundingClientRect), r(this, N).observe(t);
|
|
283
|
+
}
|
|
357
284
|
};
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
s && s.callbacks.forEach((r) => r(o));
|
|
366
|
-
},
|
|
367
|
-
{ skipInitial: !0 }
|
|
368
|
-
).disconnect, callbacks: /* @__PURE__ */ new Set() }), n.callbacks.add(e), V.set(t, n), () => {
|
|
369
|
-
n.callbacks.delete(e), n.callbacks.size === 0 && (V.delete(t), n.disconnect());
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
function Ht(t, e) {
|
|
373
|
-
const n = /* @__PURE__ */ new Set();
|
|
374
|
-
for (const i of t) {
|
|
375
|
-
const o = Bt(i, e);
|
|
376
|
-
n.add(o);
|
|
377
|
-
}
|
|
378
|
-
return () => n.forEach((i) => i());
|
|
379
|
-
}
|
|
380
|
-
function $t(t, e) {
|
|
381
|
-
var n;
|
|
382
|
-
const i = t.ownerDocument;
|
|
383
|
-
if (!Y.has(i)) {
|
|
384
|
-
const r = new AbortController(), l = /* @__PURE__ */ new Set();
|
|
385
|
-
document.addEventListener(
|
|
386
|
-
"scroll",
|
|
387
|
-
(c) => l.forEach((a) => a(c)),
|
|
388
|
-
{
|
|
389
|
-
capture: !0,
|
|
390
|
-
passive: !0,
|
|
391
|
-
signal: r.signal
|
|
392
|
-
}
|
|
393
|
-
), Y.set(i, { disconnect: () => r.abort(), listeners: l });
|
|
394
|
-
}
|
|
395
|
-
const { listeners: o, disconnect: s } = (n = Y.get(i)) != null ? n : {};
|
|
396
|
-
return !o || !s ? () => {
|
|
397
|
-
} : (o.add(e), () => {
|
|
398
|
-
o.delete(e), o.size === 0 && (s(), Y.delete(i));
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
var P, F, z, et, Ee = class {
|
|
402
|
-
constructor(t, e, n) {
|
|
403
|
-
this.callback = e, _(this, P), _(this, F, !1), _(this, z), _(this, et, _t((r) => {
|
|
404
|
-
if (!u(this, F) && r.target && "contains" in r.target && typeof r.target.contains == "function") {
|
|
405
|
-
for (const l of u(this, z))
|
|
406
|
-
if (r.target.contains(l)) {
|
|
407
|
-
this.callback(u(this, P).boundingClientRect);
|
|
408
|
-
break;
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
}, Rt));
|
|
412
|
-
const i = It(t), o = Ht(i, e), s = $t(t, u(this, et));
|
|
413
|
-
R(this, z, i), R(this, P, new St(t, e, n)), this.disconnect = () => {
|
|
414
|
-
u(this, F) || (R(this, F, !0), o(), s(), u(this, P).disconnect());
|
|
415
|
-
};
|
|
416
|
-
}
|
|
285
|
+
k = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new WeakMap(), j = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap(), P = /* @__PURE__ */ new WeakMap(), F = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), L = /* @__PURE__ */ new WeakSet(), ye = function() {
|
|
286
|
+
r(this, F) || (o(this, L, be).call(this), !pe(this.boundingClientRect, r(this, A)) && (this.callback(this.boundingClientRect), a(this, A, this.boundingClientRect)));
|
|
287
|
+
}, be = function() {
|
|
288
|
+
if (r(this, P)) {
|
|
289
|
+
let { top: e, left: t, width: n, height: i } = b(this.element);
|
|
290
|
+
r(this, P).style.overflow = "hidden", r(this, P).style.visibility = "visible", r(this, P).style.top = `${Math.floor(e)}px`, r(this, P).style.left = `${Math.floor(t)}px`, r(this, P).style.width = `${Math.floor(n)}px`, r(this, P).style.height = `${Math.floor(i)}px`;
|
|
291
|
+
}
|
|
417
292
|
};
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}
|
|
473
|
-
var lt = class {
|
|
474
|
-
constructor(t) {
|
|
475
|
-
this.scheduler = t, this.pending = !1, this.tasks = /* @__PURE__ */ new Set(), this.resolvers = /* @__PURE__ */ new Set(), this.flush = () => {
|
|
476
|
-
const { tasks: e, resolvers: n } = this;
|
|
477
|
-
this.pending = !1, this.tasks = /* @__PURE__ */ new Set(), this.resolvers = /* @__PURE__ */ new Set();
|
|
478
|
-
for (const i of e)
|
|
479
|
-
i();
|
|
480
|
-
for (const i of n)
|
|
481
|
-
i();
|
|
482
|
-
};
|
|
483
|
-
}
|
|
484
|
-
schedule(t) {
|
|
485
|
-
return this.tasks.add(t), this.pending || (this.pending = !0, this.scheduler(this.flush)), new Promise((e) => this.resolvers.add(e));
|
|
486
|
-
}
|
|
487
|
-
}, Ae = new lt((t) => {
|
|
488
|
-
typeof requestAnimationFrame == "function" ? requestAnimationFrame(t) : t();
|
|
489
|
-
}), Ut = new lt((t) => setTimeout(t, 50)), U = /* @__PURE__ */ new Map(), qt = U.clear.bind(U);
|
|
490
|
-
function W(t, e = !1) {
|
|
491
|
-
if (!e) return pt(t);
|
|
492
|
-
let n = U.get(t);
|
|
493
|
-
return n || (n = pt(t), U.set(t, n), Ut.schedule(qt), n);
|
|
494
|
-
}
|
|
495
|
-
function pt(t) {
|
|
496
|
-
return E(t).getComputedStyle(t);
|
|
497
|
-
}
|
|
498
|
-
function jt(t, e = W(t, !0)) {
|
|
499
|
-
return e.position === "fixed" || e.position === "sticky";
|
|
500
|
-
}
|
|
501
|
-
function Gt(t, e = W(t, !0)) {
|
|
502
|
-
const n = /(auto|scroll|overlay)/;
|
|
503
|
-
return ["overflow", "overflowX", "overflowY"].some((o) => {
|
|
504
|
-
const s = e[o];
|
|
505
|
-
return typeof s == "string" ? n.test(s) : !1;
|
|
506
|
-
});
|
|
507
|
-
}
|
|
508
|
-
var Jt = {
|
|
509
|
-
excludeElement: !0,
|
|
510
|
-
escapeShadowDOM: !0
|
|
293
|
+
var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap();
|
|
294
|
+
function Se(e, t) {
|
|
295
|
+
let n = R.get(e);
|
|
296
|
+
return n ||= {
|
|
297
|
+
disconnect: new xe(e, (t) => {
|
|
298
|
+
let n = R.get(e);
|
|
299
|
+
n && n.callbacks.forEach((e) => e(t));
|
|
300
|
+
}, { skipInitial: !0 }).disconnect,
|
|
301
|
+
callbacks: /* @__PURE__ */ new Set()
|
|
302
|
+
}, n.callbacks.add(t), R.set(e, n), () => {
|
|
303
|
+
n.callbacks.delete(t), n.callbacks.size === 0 && (R.delete(e), n.disconnect());
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
function Ce(e, t) {
|
|
307
|
+
let n = /* @__PURE__ */ new Set();
|
|
308
|
+
for (let r of e) {
|
|
309
|
+
let e = Se(r, t);
|
|
310
|
+
n.add(e);
|
|
311
|
+
}
|
|
312
|
+
return () => n.forEach((e) => e());
|
|
313
|
+
}
|
|
314
|
+
function we(e, t) {
|
|
315
|
+
let n = e.ownerDocument;
|
|
316
|
+
if (!z.has(n)) {
|
|
317
|
+
let e = new AbortController(), t = /* @__PURE__ */ new Set();
|
|
318
|
+
document.addEventListener("scroll", (e) => t.forEach((t) => t(e)), {
|
|
319
|
+
capture: !0,
|
|
320
|
+
passive: !0,
|
|
321
|
+
signal: e.signal
|
|
322
|
+
}), z.set(n, {
|
|
323
|
+
disconnect: () => e.abort(),
|
|
324
|
+
listeners: t
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
let { listeners: r, disconnect: i } = z.get(n) ?? {};
|
|
328
|
+
return !r || !i ? () => {} : (r.add(t), () => {
|
|
329
|
+
r.delete(t), r.size === 0 && (i(), z.delete(n));
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
var B, V, H, U, Te = class {
|
|
333
|
+
constructor(e, t, n) {
|
|
334
|
+
this.callback = t, i(this, B), i(this, V, !1), i(this, H), i(this, U, fe((e) => {
|
|
335
|
+
if (!r(this, V) && e.target && "contains" in e.target && typeof e.target.contains == "function") {
|
|
336
|
+
for (let t of r(this, H)) if (e.target.contains(t)) {
|
|
337
|
+
this.callback(r(this, B).boundingClientRect);
|
|
338
|
+
break;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}, ve));
|
|
342
|
+
let o = ue(e), s = Ce(o, t), c = we(e, r(this, U));
|
|
343
|
+
a(this, H, o), a(this, B, new xe(e, t, n)), this.disconnect = () => {
|
|
344
|
+
r(this, V) || (a(this, V, !0), s(), c(), r(this, B).disconnect());
|
|
345
|
+
};
|
|
346
|
+
}
|
|
511
347
|
};
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
scaleX: x.x * p.scaleX,
|
|
605
|
-
scaleY: x.y * p.scaleY
|
|
606
|
-
};
|
|
607
|
-
}
|
|
608
|
-
function ee(t) {
|
|
609
|
-
if (t.startsWith("matrix3d(")) {
|
|
610
|
-
const e = t.slice(9, -1).split(/, /);
|
|
611
|
-
return {
|
|
612
|
-
x: +e[12],
|
|
613
|
-
y: +e[13],
|
|
614
|
-
scaleX: +e[0],
|
|
615
|
-
scaleY: +e[5]
|
|
616
|
-
};
|
|
617
|
-
} else if (t.startsWith("matrix(")) {
|
|
618
|
-
const e = t.slice(7, -1).split(/, /);
|
|
619
|
-
return {
|
|
620
|
-
x: +e[4],
|
|
621
|
-
y: +e[5],
|
|
622
|
-
scaleX: +e[0],
|
|
623
|
-
scaleY: +e[3]
|
|
624
|
-
};
|
|
625
|
-
}
|
|
626
|
-
return null;
|
|
627
|
-
}
|
|
628
|
-
var ne = /* @__PURE__ */ ((t) => (t[t.Idle = 0] = "Idle", t[t.Forward = 1] = "Forward", t[t.Reverse = -1] = "Reverse", t))(ne || {}), ie = {
|
|
629
|
-
x: 0.2,
|
|
630
|
-
y: 0.2
|
|
631
|
-
}, se = {
|
|
632
|
-
x: 10,
|
|
633
|
-
y: 10
|
|
348
|
+
B = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap();
|
|
349
|
+
function Ee(e) {
|
|
350
|
+
return "showPopover" in e && "hidePopover" in e && typeof e.showPopover == "function" && typeof e.hidePopover == "function";
|
|
351
|
+
}
|
|
352
|
+
function De(e) {
|
|
353
|
+
try {
|
|
354
|
+
Ee(e) && e.isConnected && e.hasAttribute("popover") && !e.matches(":popover-open") && e.showPopover();
|
|
355
|
+
} catch {}
|
|
356
|
+
}
|
|
357
|
+
function W(e) {
|
|
358
|
+
return !S || !e ? !1 : e === g(e).scrollingElement;
|
|
359
|
+
}
|
|
360
|
+
function Oe(e) {
|
|
361
|
+
let t = f(e), n = W(e) ? _(e) : l(e), r = t.visualViewport, i = W(e) ? {
|
|
362
|
+
height: r?.height ?? t.innerHeight,
|
|
363
|
+
width: r?.width ?? t.innerWidth
|
|
364
|
+
} : {
|
|
365
|
+
height: e.clientHeight,
|
|
366
|
+
width: e.clientWidth
|
|
367
|
+
}, a = {
|
|
368
|
+
current: {
|
|
369
|
+
x: e.scrollLeft,
|
|
370
|
+
y: e.scrollTop
|
|
371
|
+
},
|
|
372
|
+
max: {
|
|
373
|
+
x: e.scrollWidth - i.width,
|
|
374
|
+
y: e.scrollHeight - i.height
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
return {
|
|
378
|
+
rect: n,
|
|
379
|
+
position: a,
|
|
380
|
+
isTop: a.current.y <= 0,
|
|
381
|
+
isLeft: a.current.x <= 0,
|
|
382
|
+
isBottom: a.current.y >= a.max.y,
|
|
383
|
+
isRight: a.current.x >= a.max.x
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
function ke(e, t) {
|
|
387
|
+
let { isTop: n, isBottom: r, isLeft: i, isRight: a, position: o } = Oe(e), { x: s, y: c } = t ?? {
|
|
388
|
+
x: 0,
|
|
389
|
+
y: 0
|
|
390
|
+
}, l = !n && o.current.y + c > 0, u = !r && o.current.y + c < o.max.y, d = !i && o.current.x + s > 0, f = !a && o.current.x + s < o.max.x;
|
|
391
|
+
return {
|
|
392
|
+
top: l,
|
|
393
|
+
bottom: u,
|
|
394
|
+
left: d,
|
|
395
|
+
right: f,
|
|
396
|
+
x: d || f,
|
|
397
|
+
y: l || u
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
var G = class {
|
|
401
|
+
constructor(e) {
|
|
402
|
+
this.scheduler = e, this.pending = !1, this.tasks = /* @__PURE__ */ new Set(), this.resolvers = /* @__PURE__ */ new Set(), this.flush = () => {
|
|
403
|
+
let { tasks: e, resolvers: t } = this;
|
|
404
|
+
this.pending = !1, this.tasks = /* @__PURE__ */ new Set(), this.resolvers = /* @__PURE__ */ new Set();
|
|
405
|
+
for (let t of e) t();
|
|
406
|
+
for (let e of t) e();
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
schedule(e) {
|
|
410
|
+
return this.tasks.add(e), this.pending || (this.pending = !0, this.scheduler(this.flush)), new Promise((e) => this.resolvers.add(e));
|
|
411
|
+
}
|
|
412
|
+
}, Ae = new G((e) => {
|
|
413
|
+
typeof requestAnimationFrame == "function" ? requestAnimationFrame(e) : e();
|
|
414
|
+
}), je = new G((e) => setTimeout(e, 50)), K = /* @__PURE__ */ new Map(), Me = K.clear.bind(K);
|
|
415
|
+
function q(e, t = !1) {
|
|
416
|
+
if (!t) return Ne(e);
|
|
417
|
+
let n = K.get(e);
|
|
418
|
+
return n || (n = Ne(e), K.set(e, n), je.schedule(Me), n);
|
|
419
|
+
}
|
|
420
|
+
function Ne(e) {
|
|
421
|
+
return f(e).getComputedStyle(e);
|
|
422
|
+
}
|
|
423
|
+
function Pe(e, t = q(e, !0)) {
|
|
424
|
+
return t.position === "fixed" || t.position === "sticky";
|
|
425
|
+
}
|
|
426
|
+
function Fe(e, t = q(e, !0)) {
|
|
427
|
+
let n = /(auto|scroll|overlay)/;
|
|
428
|
+
return [
|
|
429
|
+
"overflow",
|
|
430
|
+
"overflowX",
|
|
431
|
+
"overflowY"
|
|
432
|
+
].some((e) => {
|
|
433
|
+
let r = t[e];
|
|
434
|
+
return typeof r == "string" && n.test(r);
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
var Ie = {
|
|
438
|
+
excludeElement: !0,
|
|
439
|
+
escapeShadowDOM: !0
|
|
634
440
|
};
|
|
635
|
-
function
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
}
|
|
752
|
-
var ce = new lt((t) => setTimeout(t, 0)), I = /* @__PURE__ */ new Map(), ae = I.clear.bind(I);
|
|
753
|
-
function fe(t) {
|
|
754
|
-
const e = t.ownerDocument;
|
|
755
|
-
let n = I.get(e);
|
|
756
|
-
if (n) return n;
|
|
757
|
-
n = e.getAnimations(), I.set(e, n), ce.schedule(ae);
|
|
758
|
-
const i = n.filter(
|
|
759
|
-
(o) => q(o.effect) && o.effect.target === t
|
|
760
|
-
);
|
|
761
|
-
return I.set(t, i), n;
|
|
762
|
-
}
|
|
763
|
-
function ue(t, e) {
|
|
764
|
-
const n = fe(t).filter((i) => {
|
|
765
|
-
var o, s;
|
|
766
|
-
if (q(i.effect)) {
|
|
767
|
-
const { target: r } = i.effect;
|
|
768
|
-
if ((s = r && ((o = e.isValidTarget) == null ? void 0 : o.call(e, r))) != null ? s : !0)
|
|
769
|
-
return i.effect.getKeyframes().some((c) => {
|
|
770
|
-
for (const a of e.properties)
|
|
771
|
-
if (c[a]) return !0;
|
|
772
|
-
});
|
|
773
|
-
}
|
|
774
|
-
}).map((i) => {
|
|
775
|
-
const { effect: o, currentTime: s } = i, r = o?.getComputedTiming().duration;
|
|
776
|
-
if (!(i.pending || i.playState === "finished") && typeof r == "number" && typeof s == "number" && s < r)
|
|
777
|
-
return i.currentTime = r, () => {
|
|
778
|
-
i.currentTime = s;
|
|
779
|
-
};
|
|
780
|
-
});
|
|
781
|
-
if (n.length > 0)
|
|
782
|
-
return () => n.forEach((i) => i?.());
|
|
783
|
-
}
|
|
784
|
-
var Pe = class extends it {
|
|
785
|
-
constructor(t, e = {}) {
|
|
786
|
-
var n, i, o, s;
|
|
787
|
-
const {
|
|
788
|
-
frameTransform: r = At(t),
|
|
789
|
-
ignoreTransforms: l,
|
|
790
|
-
getBoundingClientRect: c = j
|
|
791
|
-
} = e, a = ue(t, {
|
|
792
|
-
properties: ["transform", "translate", "scale", "width", "height"],
|
|
793
|
-
isValidTarget: (g) => (g !== t || xt()) && g.contains(t)
|
|
794
|
-
}), f = c(t);
|
|
795
|
-
let { top: h, left: v, width: m, height: w } = f, d;
|
|
796
|
-
const x = W(t), b = ct(x), p = {
|
|
797
|
-
x: (n = b?.scaleX) != null ? n : 1,
|
|
798
|
-
y: (i = b?.scaleY) != null ? i : 1
|
|
799
|
-
}, y = he(t, x);
|
|
800
|
-
a?.(), b && (d = le(
|
|
801
|
-
f,
|
|
802
|
-
b,
|
|
803
|
-
x.transformOrigin
|
|
804
|
-
), (l || y) && (h = d.top, v = d.left, m = d.width, w = d.height));
|
|
805
|
-
const M = {
|
|
806
|
-
width: (o = d?.width) != null ? o : m,
|
|
807
|
-
height: (s = d?.height) != null ? s : w
|
|
808
|
-
};
|
|
809
|
-
if (y && !l && d) {
|
|
810
|
-
const g = re(
|
|
811
|
-
d,
|
|
812
|
-
y,
|
|
813
|
-
x.transformOrigin
|
|
814
|
-
);
|
|
815
|
-
h = g.top, v = g.left, m = g.width, w = g.height, p.x = y.scaleX, p.y = y.scaleY;
|
|
816
|
-
}
|
|
817
|
-
r && (l || (v *= r.scaleX, m *= r.scaleX, h *= r.scaleY, w *= r.scaleY), v += r.x, h += r.y), super(v, h, m, w), this.scale = p, this.intrinsicWidth = M.width, this.intrinsicHeight = M.height;
|
|
818
|
-
}
|
|
441
|
+
function Le(e, t = Ie) {
|
|
442
|
+
let { limit: n, excludeElement: r, escapeShadowDOM: i } = t, a = /* @__PURE__ */ new Set();
|
|
443
|
+
function o(t) {
|
|
444
|
+
if (n != null && a.size >= n || !t) return a;
|
|
445
|
+
if (p(t) && t.scrollingElement != null && !a.has(t.scrollingElement)) return a.add(t.scrollingElement), a;
|
|
446
|
+
if (i && T(t)) return o(t.host);
|
|
447
|
+
if (!m(t)) return h(t) ? o(t.parentElement) : a;
|
|
448
|
+
if (a.has(t)) return a;
|
|
449
|
+
let s = q(t, !0);
|
|
450
|
+
if (r && t === e || Fe(t, s) && a.add(t), Pe(t, s)) {
|
|
451
|
+
let { scrollingElement: e } = t.ownerDocument;
|
|
452
|
+
return e && a.add(e), a;
|
|
453
|
+
}
|
|
454
|
+
return o(t.parentNode);
|
|
455
|
+
}
|
|
456
|
+
return e ? o(e) : a;
|
|
457
|
+
}
|
|
458
|
+
function J(e, t = window.frameElement) {
|
|
459
|
+
let n = {
|
|
460
|
+
x: 0,
|
|
461
|
+
y: 0,
|
|
462
|
+
scaleX: 1,
|
|
463
|
+
scaleY: 1
|
|
464
|
+
};
|
|
465
|
+
if (!e) return n;
|
|
466
|
+
let r = D(e);
|
|
467
|
+
for (; r;) {
|
|
468
|
+
if (r === t) return n;
|
|
469
|
+
let e = l(r), { x: i, y: a } = Re(r, e);
|
|
470
|
+
n.x += e.left, n.y += e.top, n.scaleX *= i, n.scaleY *= a, r = D(r);
|
|
471
|
+
}
|
|
472
|
+
return n;
|
|
473
|
+
}
|
|
474
|
+
function Re(e, t = l(e)) {
|
|
475
|
+
let n = Math.round(t.width), r = Math.round(t.height);
|
|
476
|
+
if (m(e)) return {
|
|
477
|
+
x: n / e.offsetWidth,
|
|
478
|
+
y: r / e.offsetHeight
|
|
479
|
+
};
|
|
480
|
+
let i = q(e, !0);
|
|
481
|
+
return {
|
|
482
|
+
x: (parseFloat(i.width) || n) / n,
|
|
483
|
+
y: (parseFloat(i.height) || r) / r
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
function ze(e) {
|
|
487
|
+
if (!e || e === "none") return null;
|
|
488
|
+
let t = e.split(" "), n = parseFloat(t[0]), r = parseFloat(t[1]);
|
|
489
|
+
return isNaN(n) && isNaN(r) ? null : {
|
|
490
|
+
x: isNaN(n) ? r : n,
|
|
491
|
+
y: isNaN(r) ? n : r
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
function Y(e) {
|
|
495
|
+
if (!e || e === "none") return null;
|
|
496
|
+
let [t, n, r = "0"] = e.split(" "), i = {
|
|
497
|
+
x: parseFloat(t),
|
|
498
|
+
y: parseFloat(n),
|
|
499
|
+
z: parseInt(r, 10)
|
|
500
|
+
};
|
|
501
|
+
return isNaN(i.x) && isNaN(i.y) ? null : {
|
|
502
|
+
x: isNaN(i.x) ? 0 : i.x,
|
|
503
|
+
y: isNaN(i.y) ? 0 : i.y,
|
|
504
|
+
z: isNaN(i.z) ? 0 : i.z
|
|
505
|
+
};
|
|
506
|
+
}
|
|
507
|
+
function X(e) {
|
|
508
|
+
let { scale: t, transform: n, translate: r } = e, i = ze(t), a = Y(r), o = Be(n);
|
|
509
|
+
if (!o && !i && !a) return null;
|
|
510
|
+
let s = {
|
|
511
|
+
x: i?.x ?? 1,
|
|
512
|
+
y: i?.y ?? 1
|
|
513
|
+
}, c = {
|
|
514
|
+
x: a?.x ?? 0,
|
|
515
|
+
y: a?.y ?? 0
|
|
516
|
+
}, l = {
|
|
517
|
+
x: o?.x ?? 0,
|
|
518
|
+
y: o?.y ?? 0,
|
|
519
|
+
scaleX: o?.scaleX ?? 1,
|
|
520
|
+
scaleY: o?.scaleY ?? 1
|
|
521
|
+
};
|
|
522
|
+
return {
|
|
523
|
+
x: c.x + l.x,
|
|
524
|
+
y: c.y + l.y,
|
|
525
|
+
z: a?.z ?? 0,
|
|
526
|
+
scaleX: s.x * l.scaleX,
|
|
527
|
+
scaleY: s.y * l.scaleY
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
function Be(e) {
|
|
531
|
+
if (e.startsWith("matrix3d(")) {
|
|
532
|
+
let t = e.slice(9, -1).split(/, /);
|
|
533
|
+
return {
|
|
534
|
+
x: +t[12],
|
|
535
|
+
y: +t[13],
|
|
536
|
+
scaleX: +t[0],
|
|
537
|
+
scaleY: +t[5]
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
if (e.startsWith("matrix(")) {
|
|
541
|
+
let t = e.slice(7, -1).split(/, /);
|
|
542
|
+
return {
|
|
543
|
+
x: +t[4],
|
|
544
|
+
y: +t[5],
|
|
545
|
+
scaleX: +t[0],
|
|
546
|
+
scaleY: +t[3]
|
|
547
|
+
};
|
|
548
|
+
}
|
|
549
|
+
return null;
|
|
550
|
+
}
|
|
551
|
+
var Ve = /* @__PURE__ */ ((e) => (e[e.Idle = 0] = "Idle", e[e.Forward = 1] = "Forward", e[e.Reverse = -1] = "Reverse", e))(Ve || {}), He = {
|
|
552
|
+
x: .2,
|
|
553
|
+
y: .2
|
|
554
|
+
}, Ue = {
|
|
555
|
+
x: 10,
|
|
556
|
+
y: 10
|
|
819
557
|
};
|
|
820
|
-
function
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
558
|
+
function We(t, n, r, i = 25, a = He, o = Ue) {
|
|
559
|
+
let { x: s, y: c } = n, { rect: l, isTop: u, isBottom: d, isLeft: f, isRight: p } = Oe(t), m = J(t), h = X(q(t, !0)), g = h !== null && h?.scaleX < 0, _ = h !== null && h?.scaleY < 0, v = new e(l.left * m.scaleX + m.x, l.top * m.scaleY + m.y, l.width * m.scaleX, l.height * m.scaleY), y = {
|
|
560
|
+
x: 0,
|
|
561
|
+
y: 0
|
|
562
|
+
}, b = {
|
|
563
|
+
x: 0,
|
|
564
|
+
y: 0
|
|
565
|
+
}, x = {
|
|
566
|
+
height: v.height * a.y,
|
|
567
|
+
width: v.width * a.x
|
|
568
|
+
};
|
|
569
|
+
return x.height > 0 && (!u || _ && !d) && c <= v.top + x.height && r?.y !== 1 && s >= v.left - o.x && s <= v.right + o.x ? (y.y = _ ? 1 : -1, b.y = i * Math.abs((v.top + x.height - c) / x.height)) : x.height > 0 && (!d || _ && !u) && c >= v.bottom - x.height && r?.y !== -1 && s >= v.left - o.x && s <= v.right + o.x && (y.y = _ ? -1 : 1, b.y = i * Math.abs((v.bottom - x.height - c) / x.height)), x.width > 0 && (!p || g && !f) && s >= v.right - x.width && r?.x !== -1 && c >= v.top - o.y && c <= v.bottom + o.y ? (y.x = g ? -1 : 1, b.x = i * Math.abs((v.right - x.width - s) / x.width)) : x.width > 0 && (!f || g && !p) && s <= v.left + x.width && r?.x !== 1 && c >= v.top - o.y && c <= v.bottom + o.y && (y.x = g ? 1 : -1, b.x = i * Math.abs((v.left + x.width - s) / x.width)), {
|
|
570
|
+
direction: y,
|
|
571
|
+
speed: b
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
function Ge(e, { block: t = "nearest", inline: n = "nearest" } = {}) {
|
|
575
|
+
if (!m(e)) return;
|
|
576
|
+
let r = Le(e), i = [];
|
|
577
|
+
for (let a of r) {
|
|
578
|
+
if (!m(a)) continue;
|
|
579
|
+
let { top: r, left: o } = qe(e, a), s = r, c = o;
|
|
580
|
+
for (let e of i) s -= e.scrollTop, c -= e.scrollLeft;
|
|
581
|
+
if (t !== "none") {
|
|
582
|
+
let n = s < a.scrollTop;
|
|
583
|
+
n !== s + e.offsetHeight > a.scrollTop + a.clientHeight && (a.scrollTop = t === "center" ? s - a.clientHeight / 2 + e.offsetHeight / 2 : n ? s : s + e.offsetHeight - a.clientHeight);
|
|
584
|
+
}
|
|
585
|
+
if (n !== "none") {
|
|
586
|
+
let t = c < a.scrollLeft;
|
|
587
|
+
t !== c + e.offsetWidth > a.scrollLeft + a.clientWidth && (a.scrollLeft = n === "center" ? c - a.clientWidth / 2 + e.offsetWidth / 2 : t ? c : c + e.offsetWidth - a.clientWidth);
|
|
588
|
+
}
|
|
589
|
+
i.push(a);
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
function Ke(e) {
|
|
593
|
+
let t = 0, n = 0, r = e;
|
|
594
|
+
for (; r;) {
|
|
595
|
+
t += r.offsetTop, n += r.offsetLeft;
|
|
596
|
+
let e = r.offsetParent;
|
|
597
|
+
if (!m(e)) break;
|
|
598
|
+
t += e.clientTop, n += e.clientLeft, r = e;
|
|
599
|
+
}
|
|
600
|
+
return {
|
|
601
|
+
top: t,
|
|
602
|
+
left: n
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
function qe(e, t) {
|
|
606
|
+
let n = Ke(e), r = Ke(t);
|
|
607
|
+
return {
|
|
608
|
+
top: n.top - r.top - t.clientTop,
|
|
609
|
+
left: n.left - r.left - t.clientLeft
|
|
610
|
+
};
|
|
611
|
+
}
|
|
612
|
+
function Je(e, t, n) {
|
|
613
|
+
let { scaleX: r, scaleY: i, x: a, y: o } = t, s = e.left + a + (1 - r) * parseFloat(n), c = e.top + o + (1 - i) * parseFloat(n.slice(n.indexOf(" ") + 1)), l = r ? e.width * r : e.width, u = i ? e.height * i : e.height;
|
|
614
|
+
return {
|
|
615
|
+
width: l,
|
|
616
|
+
height: u,
|
|
617
|
+
top: c,
|
|
618
|
+
right: s + l,
|
|
619
|
+
bottom: c + u,
|
|
620
|
+
left: s
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
function Ye(e, t, n) {
|
|
624
|
+
let { scaleX: r, scaleY: i, x: a, y: o } = t, s = e.left - a - (1 - r) * parseFloat(n), c = e.top - o - (1 - i) * parseFloat(n.slice(n.indexOf(" ") + 1)), l = r ? e.width / r : e.width, u = i ? e.height / i : e.height;
|
|
625
|
+
return {
|
|
626
|
+
width: l,
|
|
627
|
+
height: u,
|
|
628
|
+
top: c,
|
|
629
|
+
right: s + l,
|
|
630
|
+
bottom: c + u,
|
|
631
|
+
left: s
|
|
632
|
+
};
|
|
633
|
+
}
|
|
634
|
+
function Xe({ element: e, keyframes: t, options: n }) {
|
|
635
|
+
return e.animate(t, n).finished;
|
|
636
|
+
}
|
|
637
|
+
function Ze(e, t = q(e).translate, n = !0) {
|
|
638
|
+
if (n) {
|
|
639
|
+
let t = c(e, (e) => "translate" in e);
|
|
640
|
+
if (t) {
|
|
641
|
+
let { translate: e = "" } = t[0];
|
|
642
|
+
if (typeof e == "string") {
|
|
643
|
+
let t = Y(e);
|
|
644
|
+
if (t) return t;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
if (t) {
|
|
649
|
+
let e = Y(t);
|
|
650
|
+
if (e) return e;
|
|
651
|
+
}
|
|
652
|
+
return {
|
|
653
|
+
x: 0,
|
|
654
|
+
y: 0,
|
|
655
|
+
z: 0
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
var Qe = new G((e) => setTimeout(e, 0)), Z = /* @__PURE__ */ new Map(), $e = Z.clear.bind(Z);
|
|
659
|
+
function et(e) {
|
|
660
|
+
let t = e.ownerDocument, n = Z.get(t);
|
|
661
|
+
if (n) return n;
|
|
662
|
+
n = t.getAnimations(), Z.set(t, n), Qe.schedule($e);
|
|
663
|
+
let r = n.filter((t) => s(t.effect) && t.effect.target === e);
|
|
664
|
+
return Z.set(e, r), n;
|
|
665
|
+
}
|
|
666
|
+
function tt(e, t) {
|
|
667
|
+
let n = et(e).filter((e) => {
|
|
668
|
+
if (s(e.effect)) {
|
|
669
|
+
let { target: n } = e.effect;
|
|
670
|
+
if ((n && t.isValidTarget?.call(t, n)) ?? !0) return e.effect.getKeyframes().some((e) => {
|
|
671
|
+
for (let n of t.properties) if (e[n]) return !0;
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
}).map((e) => {
|
|
675
|
+
let { effect: t, currentTime: n } = e, r = t?.getComputedTiming().duration;
|
|
676
|
+
if (!(e.pending || e.playState === "finished") && typeof r == "number" && typeof n == "number" && n < r) return e.currentTime = r, () => {
|
|
677
|
+
e.currentTime = n;
|
|
678
|
+
};
|
|
679
|
+
});
|
|
680
|
+
if (n.length > 0) return () => n.forEach((e) => e?.());
|
|
681
|
+
}
|
|
682
|
+
var nt = class extends e {
|
|
683
|
+
constructor(e, t = {}) {
|
|
684
|
+
let { frameTransform: n = J(e), ignoreTransforms: r, getBoundingClientRect: i = l } = t, a = tt(e, {
|
|
685
|
+
properties: [
|
|
686
|
+
"transform",
|
|
687
|
+
"translate",
|
|
688
|
+
"scale",
|
|
689
|
+
"width",
|
|
690
|
+
"height"
|
|
691
|
+
],
|
|
692
|
+
isValidTarget: (t) => (t !== e || w()) && t.contains(e)
|
|
693
|
+
}), o = i(e), { top: s, left: c, width: u, height: d } = o, f, p = q(e), m = X(p), h = {
|
|
694
|
+
x: m?.scaleX ?? 1,
|
|
695
|
+
y: m?.scaleY ?? 1
|
|
696
|
+
}, g = rt(e, p);
|
|
697
|
+
a?.(), m && (f = Ye(o, m, p.transformOrigin), (r || g) && (s = f.top, c = f.left, u = f.width, d = f.height));
|
|
698
|
+
let _ = {
|
|
699
|
+
width: f?.width ?? u,
|
|
700
|
+
height: f?.height ?? d
|
|
701
|
+
};
|
|
702
|
+
if (g && !r && f) {
|
|
703
|
+
let e = Je(f, g, p.transformOrigin);
|
|
704
|
+
s = e.top, c = e.left, u = e.width, d = e.height, h.x = g.scaleX, h.y = g.scaleY;
|
|
705
|
+
}
|
|
706
|
+
n && (r || (c *= n.scaleX, u *= n.scaleX, s *= n.scaleY, d *= n.scaleY), c += n.x, s += n.y), super(c, s, u, d), this.scale = h, this.intrinsicWidth = _.width, this.intrinsicHeight = _.height;
|
|
707
|
+
}
|
|
871
708
|
};
|
|
872
|
-
function
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
function
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
at as getDocuments,
|
|
918
|
-
Ft as getElementFromPoint,
|
|
919
|
-
ye as getEventCoordinates,
|
|
920
|
-
Ct as getFinalKeyframe,
|
|
921
|
-
me as getFixedPositionOffset,
|
|
922
|
-
H as getFrameElement,
|
|
923
|
-
At as getFrameTransform,
|
|
924
|
-
_e as getInteractiveElement,
|
|
925
|
-
we as getRoot,
|
|
926
|
-
Qt as getScrollableAncestors,
|
|
927
|
-
Nt as getViewportBoundingRectangle,
|
|
928
|
-
B as getVisibleBoundingRectangle,
|
|
929
|
-
E as getWindow,
|
|
930
|
-
le as inverseTransform,
|
|
931
|
-
mt as isDocument,
|
|
932
|
-
dt as isDocumentScrollingElement,
|
|
933
|
-
de as isElement,
|
|
934
|
-
C as isHTMLElement,
|
|
935
|
-
Oe as isKeyboardEvent,
|
|
936
|
-
q as isKeyframeEffect,
|
|
937
|
-
Ie as isPointerEvent,
|
|
938
|
-
xt as isSafari,
|
|
939
|
-
Tt as isShadowRoot,
|
|
940
|
-
Xe as isTextInput,
|
|
941
|
-
ct as parseTransform,
|
|
942
|
-
nt as parseTranslate,
|
|
943
|
-
be as prefersReducedMotion,
|
|
944
|
-
Ae as scheduler,
|
|
945
|
-
Ce as scrollIntoViewIfNeeded,
|
|
946
|
-
Se as showPopover,
|
|
947
|
-
Kt as supportsPopover,
|
|
948
|
-
Z as supportsStyle,
|
|
949
|
-
Xt as timeout
|
|
709
|
+
function rt(e, t) {
|
|
710
|
+
let n = e.getAnimations();
|
|
711
|
+
if (!n.length) return null;
|
|
712
|
+
let r, i, a, o = !1;
|
|
713
|
+
for (let e of n) {
|
|
714
|
+
if (e.playState !== "running") continue;
|
|
715
|
+
let t = s(e.effect) ? e.effect.getKeyframes() : [], n = t[t.length - 1];
|
|
716
|
+
if (!n) continue;
|
|
717
|
+
let { transform: c, translate: l, scale: u } = n;
|
|
718
|
+
typeof c == "string" && c && (r = c, o = !0), typeof l == "string" && l && (i = l, o = !0), typeof u == "string" && u && (a = u, o = !0);
|
|
719
|
+
}
|
|
720
|
+
return o ? X({
|
|
721
|
+
transform: r ?? t.transform,
|
|
722
|
+
translate: i ?? t.translate,
|
|
723
|
+
scale: a ?? t.scale
|
|
724
|
+
}) : null;
|
|
725
|
+
}
|
|
726
|
+
function Q(e) {
|
|
727
|
+
return "style" in e && typeof e.style == "object" && e.style !== null && "setProperty" in e.style && "removeProperty" in e.style && typeof e.style.setProperty == "function" && typeof e.style.removeProperty == "function";
|
|
728
|
+
}
|
|
729
|
+
var it = class {
|
|
730
|
+
constructor(e) {
|
|
731
|
+
this.element = e, this.initial = /* @__PURE__ */ new Map();
|
|
732
|
+
}
|
|
733
|
+
set(e, t = "") {
|
|
734
|
+
let { element: n } = this;
|
|
735
|
+
if (Q(n)) for (let [r, i] of Object.entries(e)) {
|
|
736
|
+
let e = `${t}${r}`;
|
|
737
|
+
this.initial.has(e) || this.initial.set(e, n.style.getPropertyValue(e)), n.style.setProperty(e, typeof i == "string" ? i : `${i}px`);
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
remove(e, t = "") {
|
|
741
|
+
let { element: n } = this;
|
|
742
|
+
if (Q(n)) for (let r of e) {
|
|
743
|
+
let e = `${t}${r}`;
|
|
744
|
+
n.style.removeProperty(e);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
reset() {
|
|
748
|
+
let { element: e } = this;
|
|
749
|
+
if (Q(e)) {
|
|
750
|
+
for (let [t, n] of this.initial) e.style.setProperty(t, n);
|
|
751
|
+
e.getAttribute("style") === "" && e.removeAttribute("style");
|
|
752
|
+
}
|
|
753
|
+
}
|
|
950
754
|
};
|
|
755
|
+
function at(e) {
|
|
756
|
+
return e ? e instanceof f(e).Element || d(e) && e.nodeType === Node.ELEMENT_NODE : !1;
|
|
757
|
+
}
|
|
758
|
+
function ot(e) {
|
|
759
|
+
if (!e) return !1;
|
|
760
|
+
let { KeyboardEvent: t } = f(e.target);
|
|
761
|
+
return e instanceof t;
|
|
762
|
+
}
|
|
763
|
+
function st(e) {
|
|
764
|
+
if (!e) return !1;
|
|
765
|
+
let { PointerEvent: t } = f(e.target);
|
|
766
|
+
return e instanceof t;
|
|
767
|
+
}
|
|
768
|
+
function ct(e) {
|
|
769
|
+
if (!at(e)) return !1;
|
|
770
|
+
let { tagName: t } = e;
|
|
771
|
+
return t === "INPUT" || t === "TEXTAREA" || lt(e);
|
|
772
|
+
}
|
|
773
|
+
function lt(e) {
|
|
774
|
+
return e.hasAttribute("contenteditable") && e.getAttribute("contenteditable") !== "false";
|
|
775
|
+
}
|
|
776
|
+
var $ = {};
|
|
777
|
+
function ut(e) {
|
|
778
|
+
let t = $[e] == null ? 0 : $[e] + 1;
|
|
779
|
+
return $[e] = t, `${e}-${t}`;
|
|
780
|
+
}
|
|
781
|
+
//#endregion
|
|
782
|
+
export { nt as DOMRectangle, le as Listeners, Te as PositionObserver, se as ProxiedElements, ge as ResizeNotifier, G as Scheduler, Ve as ScrollDirection, it as Styles, Xe as animateTransform, ke as canScroll, S as canUseDOM, re as cloneElement, Ze as computeTranslate, We as detectScrollIntent, ut as generateUniqueId, l as getBoundingRectangle, q as getComputedStyles, g as getDocument, C as getDocuments, ae as getElementFromPoint, x as getEventCoordinates, c as getFinalKeyframe, ee as getFixedPositionOffset, D as getFrameElement, J as getFrameTransform, ce as getInteractiveElement, te as getRoot, Le as getScrollableAncestors, _ as getViewportBoundingRectangle, b as getVisibleBoundingRectangle, f as getWindow, Ye as inverseTransform, p as isDocument, W as isDocumentScrollingElement, at as isElement, m as isHTMLElement, ot as isKeyboardEvent, s as isKeyframeEffect, st as isPointerEvent, w as isSafari, T as isShadowRoot, ct as isTextInput, X as parseTransform, Y as parseTranslate, ne as prefersReducedMotion, Ae as scheduler, Ge as scrollIntoViewIfNeeded, De as showPopover, Ee as supportsPopover, Q as supportsStyle, de as timeout };
|