@fluidattacks/design 8.1.0 → 8.2.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/_commonjsHelpers.js +8 -0
- package/dist/_virtual/_nodeUtil.js +4 -0
- package/dist/_virtual/capitalize.js +7 -0
- package/dist/_virtual/dayjs.min.js +8 -0
- package/dist/_virtual/dayjs.min2.js +4 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index.umd.js +7 -0
- package/dist/_virtual/index.umd2.js +4 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +7 -0
- package/dist/_virtual/index4.js +7 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +5 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index9.js +4 -0
- package/dist/_virtual/isBuffer.js +4 -0
- package/dist/_virtual/isEmpty.js +7 -0
- package/dist/_virtual/isEqual.js +7 -0
- package/dist/_virtual/isNaN.js +7 -0
- package/dist/_virtual/isNil.js +7 -0
- package/dist/_virtual/isNumber.js +7 -0
- package/dist/_virtual/isUndefined.js +7 -0
- package/dist/_virtual/localizedFormat.js +7 -0
- package/dist/_virtual/localizedFormat2.js +4 -0
- package/dist/_virtual/lodash.js +8 -0
- package/dist/_virtual/lodash2.js +4 -0
- package/dist/_virtual/lowerFirst.js +7 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/scrollparent.js +7 -0
- package/dist/_virtual/scrollparent2.js +4 -0
- package/dist/_virtual/snakeCase.js +7 -0
- package/dist/_virtual/some.js +7 -0
- package/dist/_virtual/transform.js +7 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
- package/dist/components/@core/constants.js +78 -0
- package/dist/components/@core/index.js +18 -15
- package/dist/components/@core/styles.js +43 -0
- package/dist/components/@core/utils.js +115 -0
- package/dist/components/@core/variants/utils.js +6 -0
- package/dist/components/accordion/accordion-content/index.js +23 -3
- package/dist/components/accordion/index.js +93 -5
- package/dist/components/advanced-badge/index.js +75 -4
- package/dist/components/advisories-card/index.js +149 -5
- package/dist/components/alert/index.js +91 -4
- package/dist/components/alert/styles.js +116 -0
- package/dist/components/avatar/index.js +80 -5
- package/dist/components/avatar/styles.js +86 -0
- package/dist/components/button/index.js +104 -4
- package/dist/components/button/styles.js +117 -0
- package/dist/components/card/card-header/index.js +92 -4
- package/dist/components/card/card-with-image/index.js +93 -5
- package/dist/components/card/card-with-input/index.js +142 -5
- package/dist/components/card/card-with-input/styles.js +29 -0
- package/dist/components/card/card-with-options/index.js +83 -5
- package/dist/components/card/card-with-selector/index.js +134 -4
- package/dist/components/card/card-with-selector/styles.js +34 -0
- package/dist/components/card/card-with-switch/index.js +46 -4
- package/dist/components/card/index.js +13 -7
- package/dist/components/card/indicator-card/index.js +73 -5
- package/dist/components/card-container/index.js +30 -4
- package/dist/components/carousel/index.js +43 -6
- package/dist/components/carousel/styles.js +39 -0
- package/dist/components/checkbox/index.js +68 -4
- package/dist/components/checkbox/styles.js +82 -0
- package/dist/components/circular-progress/index.js +94 -4
- package/dist/components/cloud-image/index.js +25 -6
- package/dist/components/code-snippet/constants.js +72 -0
- package/dist/components/code-snippet/index.js +176 -6
- package/dist/components/colors/index.js +210 -6
- package/dist/components/conditions-dialog/index.js +88 -6
- package/dist/components/confirm-dialog/index.js +40 -6
- package/dist/components/container/index.js +31 -4
- package/dist/components/container/styles.js +23 -0
- package/dist/components/copy-button/index.js +41 -4
- package/dist/components/divider/index.js +25 -4
- package/dist/components/drawer/index.js +229 -6
- package/dist/components/drawer/styles.js +64 -0
- package/dist/components/dropdown/index.js +77 -6
- package/dist/components/dropdown/styles.js +45 -0
- package/dist/components/empty-state/empty-button/index.js +13 -3
- package/dist/components/empty-state/index.js +60 -3
- package/dist/components/empty-state/styles.js +41 -0
- package/dist/components/fa-tag/index.js +30 -3
- package/dist/components/fa-tag/styles.js +53 -0
- package/dist/components/file-preview/index.js +16 -3
- package/dist/components/file-preview/styles.js +27 -0
- package/dist/components/file-preview/utils.js +10 -0
- package/dist/components/filters/active-filters/active-filter/index.js +59 -3
- package/dist/components/filters/active-filters/index.js +49 -3
- package/dist/components/filters/active-filters/utils.js +64 -0
- package/dist/components/filters/context/index.js +17 -3
- package/dist/components/filters/filters-menu/index.js +199 -6
- package/dist/components/filters/hooks.js +25 -0
- package/dist/components/filters/index.js +219 -7
- package/dist/components/filters/options-menu/include-exclude/index.js +135 -5
- package/dist/components/filters/options-menu/include-exclude/multi-select.js +151 -0
- package/dist/components/filters/options-menu/include-exclude/styles.js +119 -0
- package/dist/components/filters/options-menu/index.js +289 -6
- package/dist/components/filters/options-menu/options/index.js +360 -6
- package/dist/components/filters/options-menu/single-select/index.js +236 -6
- package/dist/components/filters/options-menu/single-select/styles.js +33 -0
- package/dist/components/filters/options-menu/utils.js +4 -0
- package/dist/components/filters/search/no-matches/index.js +51 -4
- package/dist/components/filters/styles.js +121 -0
- package/dist/components/filters/utils.js +36 -0
- package/dist/components/form/index.js +103 -11
- package/dist/components/form/inner-form/index.js +8 -3
- package/dist/components/form/styles.js +15 -0
- package/dist/components/grid-container/index.js +33 -4
- package/dist/components/grid-container/styles.js +26 -0
- package/dist/components/group-selector/index.js +143 -6
- package/dist/components/group-selector/option-container/index.js +30 -6
- package/dist/components/group-selector/styles.js +42 -0
- package/dist/components/icon/index.js +54 -4
- package/dist/components/icon/styles.js +60 -0
- package/dist/components/icon-button/index.js +58 -4
- package/dist/components/icon-button/styles.js +29 -0
- package/dist/components/indicator-card-db/index.js +71 -5
- package/dist/components/indicator-card-db/styles.js +22 -0
- package/dist/components/inputs/fields/combobox/field/index.js +431 -6
- package/dist/components/inputs/fields/combobox/index.js +94 -4
- package/dist/components/inputs/fields/combobox/option/index.js +121 -6
- package/dist/components/inputs/fields/combobox/styles.js +132 -0
- package/dist/components/inputs/fields/date/calendar/cell/index.js +25 -5
- package/dist/components/inputs/fields/date/calendar/grid/index.js +23 -4
- package/dist/components/inputs/fields/date/calendar/header/index.js +42 -5
- package/dist/components/inputs/fields/date/calendar/index.js +29 -4
- package/dist/components/inputs/fields/date/calendar/styles.js +144 -0
- package/dist/components/inputs/fields/date/index.js +87 -5
- package/dist/components/inputs/fields/date-range/calendar/index.js +34 -5
- package/dist/components/inputs/fields/date-range/index.js +137 -5
- package/dist/components/inputs/fields/date-range/styles.js +16 -0
- package/dist/components/inputs/fields/date-time/calendar/index.js +49 -5
- package/dist/components/inputs/fields/date-time/calendar/styles.js +21 -0
- package/dist/components/inputs/fields/date-time/index.js +107 -5
- package/dist/components/inputs/fields/editable/index.js +26 -4
- package/dist/components/inputs/fields/input-array/field/index.js +69 -4
- package/dist/components/inputs/fields/input-array/index.js +65 -5
- package/dist/components/inputs/fields/input-file/default/index.js +65 -4
- package/dist/components/inputs/fields/input-file/dropzone/index.js +218 -5
- package/dist/components/inputs/fields/input-file/index.js +124 -5
- package/dist/components/inputs/fields/input-file/styles.js +137 -0
- package/dist/components/inputs/fields/input-section/index.js +29 -3
- package/dist/components/inputs/fields/input-tags/field/index.js +117 -5
- package/dist/components/inputs/fields/input-tags/index.js +64 -4
- package/dist/components/inputs/fields/input-tags/styles.js +11 -0
- package/dist/components/inputs/fields/number/compact/index.js +38 -4
- package/dist/components/inputs/fields/number/index.js +83 -3
- package/dist/components/inputs/fields/number-range/index.js +57 -3
- package/dist/components/inputs/fields/phone/index.js +181 -7
- package/dist/components/inputs/fields/phone/styles.js +110 -0
- package/dist/components/inputs/fields/text-area/index.js +94 -4
- package/dist/components/inputs/fields/text-input/index.js +133 -5
- package/dist/components/inputs/index.js +31 -16
- package/dist/components/inputs/label/index.js +51 -5
- package/dist/components/inputs/outline-container/index.js +106 -4
- package/dist/components/inputs/styles.js +264 -0
- package/dist/components/inputs/utils/action-button/index.js +29 -4
- package/dist/components/inputs/utils/calendar-button/index.js +35 -5
- package/dist/components/inputs/utils/date-selector/index.js +85 -4
- package/dist/components/inputs/utils/date-time-field/index.js +133 -7
- package/dist/components/inputs/utils/dialog/index.js +12 -5
- package/dist/components/inputs/utils/number-field/index.js +190 -6
- package/dist/components/inputs/utils/popover/index.js +61 -6
- package/dist/components/inputs/utils/styles.js +113 -0
- package/dist/components/inputs/utils.js +44 -0
- package/dist/components/item-card-db/index.js +70 -4
- package/dist/components/item-card-db/styles.js +47 -0
- package/dist/components/language-switcher/index.js +92 -7
- package/dist/components/language-switcher/language-option/index.js +35 -5
- package/dist/components/language-switcher/spinner/index.js +15 -3
- package/dist/components/language-switcher/styles.js +121 -0
- package/dist/components/layout/categories/buttons/index.js +14 -4
- package/dist/components/layout/categories/column/index.js +23 -3
- package/dist/components/layout/categories/column/styles.js +32 -0
- package/dist/components/layout/categories/gap/index.js +3 -2
- package/dist/components/layout/categories/gap/styles.js +17 -0
- package/dist/components/layout/categories/row/index.js +19 -3
- package/dist/components/layout/categories/row/styles.js +30 -0
- package/dist/components/layout/index.js +9 -6
- package/dist/components/link/index.js +61 -3
- package/dist/components/link/styles.js +57 -0
- package/dist/components/list-item/index.js +69 -6
- package/dist/components/list-item/styles.js +64 -0
- package/dist/components/little-flag/index.js +17 -3
- package/dist/components/little-flag/styles.js +18 -0
- package/dist/components/loading/index.js +22 -4
- package/dist/components/loading/styles.js +71 -0
- package/dist/components/loading/types.js +4 -0
- package/dist/components/logo/index.js +11 -3
- package/dist/components/lottie/index.js +7 -3
- package/dist/components/lottie/styles.js +16 -0
- package/dist/components/menu/index.js +57 -5
- package/dist/components/message-banner/index.js +76 -5
- package/dist/components/message-banner/styles.js +23 -0
- package/dist/components/modal/columns-modal/index.js +146 -6
- package/dist/components/modal/columns-modal/preview-panel/index.js +100 -5
- package/dist/components/modal/columns-modal/preview-panel/styles.js +29 -0
- package/dist/components/modal/columns-modal/search-panel/index.js +127 -4
- package/dist/components/modal/columns-modal/search-panel/styles.js +22 -0
- package/dist/components/modal/footer/index.js +57 -5
- package/dist/components/modal/header/index.js +65 -6
- package/dist/components/modal/index.js +112 -10
- package/dist/components/modal/modal-confirm/index.js +50 -3
- package/dist/components/modal/styles.js +156 -0
- package/dist/components/modal/utils.js +13 -0
- package/dist/components/notification/index.js +63 -5
- package/dist/components/notification/styles.js +62 -0
- package/dist/components/notification/utils.js +4 -0
- package/dist/components/notification-sign/index.js +23 -4
- package/dist/components/notification-sign/styles.js +34 -0
- package/dist/components/oauth-selector/index.js +93 -6
- package/dist/components/oauth-selector/option-container/index.js +74 -4
- package/dist/components/option-card/index.js +83 -5
- package/dist/components/package-card/index.js +105 -6
- package/dist/components/paginator-db/btn/index.js +19 -3
- package/dist/components/paginator-db/btn/styles.js +39 -0
- package/dist/components/paginator-db/dropdown/index.js +112 -6
- package/dist/components/paginator-db/index.js +123 -5
- package/dist/components/paginator-db/styles.js +31 -0
- package/dist/components/paginator-db/utils.js +21 -0
- package/dist/components/pop-up/description/index.js +58 -5
- package/dist/components/pop-up/index.js +164 -7
- package/dist/components/premium-feature/index.js +53 -4
- package/dist/components/premium-feature/styles.js +36 -0
- package/dist/components/priority-cards/card/index.js +81 -5
- package/dist/components/priority-cards/card/styles.js +18 -0
- package/dist/components/priority-cards/index.js +50 -6
- package/dist/components/priority-score/index.js +28 -4
- package/dist/components/progress-bar/index.js +61 -3
- package/dist/components/progress-bar/styles.js +95 -0
- package/dist/components/progress-indicator/in-progress-icon/index.js +51 -3
- package/dist/components/progress-indicator/index.js +29 -5
- package/dist/components/progress-indicator/step/index.js +81 -4
- package/dist/components/progress-indicator/styles.js +36 -0
- package/dist/components/radio-button/index.js +44 -4
- package/dist/components/radio-button/styles.js +85 -0
- package/dist/components/rank-position/icon/index.js +51 -3
- package/dist/components/rank-position/index.js +40 -4
- package/dist/components/rules-card/index.js +166 -6
- package/dist/components/scroll-button/index.js +49 -5
- package/dist/components/scroll-button/styles.js +13 -0
- package/dist/components/search/index.js +113 -6
- package/dist/components/search-dropdown/index.js +102 -6
- package/dist/components/search-dropdown/styles.js +79 -0
- package/dist/components/segmented-control/index.js +35 -4
- package/dist/components/segmented-control/styles.js +51 -0
- package/dist/components/segmented-progress-bar/index.js +47 -4
- package/dist/components/segmented-progress-bar/styles.js +35 -0
- package/dist/components/severity-badge/index.js +46 -4
- package/dist/components/severity-badge/utils.js +31 -0
- package/dist/components/severity-indicator/index.js +47 -4
- package/dist/components/severity-indicator/styles.js +23 -0
- package/dist/components/severity-indicator/utils.js +12 -0
- package/dist/components/severity-overview/badge/index.js +44 -4
- package/dist/components/severity-overview/index.js +15 -3
- package/dist/components/severity-overview/utils.js +29 -0
- package/dist/components/show-on-hover/index.js +11 -3
- package/dist/components/show-on-hover/styles.js +23 -0
- package/dist/components/slide-out-menu/index.js +142 -6
- package/dist/components/slide-out-menu/menu-item/index.js +65 -4
- package/dist/components/slide-out-menu/styles.js +29 -0
- package/dist/components/slider/index.js +79 -7
- package/dist/components/slider/styles.js +83 -0
- package/dist/components/slider/thumb/index.js +17 -5
- package/dist/components/slider/utils.js +4 -0
- package/dist/components/step-lapse/index.js +71 -4
- package/dist/components/step-lapse/styles.js +93 -0
- package/dist/components/summary-card/index.js +69 -4
- package/dist/components/table/context/index.js +13 -3
- package/dist/components/table/export-csv/index.js +40 -5
- package/dist/components/table/export-csv/utils.js +32 -0
- package/dist/components/table/index.js +22 -2
- package/dist/components/table/pagination/pagination-control/index.js +41 -4
- package/dist/components/table/pagination/pagination-control/styles.js +32 -0
- package/dist/components/table/pagination/pagination-dropdown/index.js +124 -6
- package/dist/components/table/pagination/pagination-size/index.js +29 -4
- package/dist/components/table/sort-icon/index.js +28 -4
- package/dist/components/table/sort-icon/styles.js +30 -0
- package/dist/components/table/styles.js +260 -0
- package/dist/components/table/table-body/index.js +108 -6
- package/dist/components/table/table-body/styles.js +10 -0
- package/dist/components/table/table-column-toggle/index.js +57 -5
- package/dist/components/table/table-content/head/index.js +149 -7
- package/dist/components/table/table-content/index.js +55 -4
- package/dist/components/table/table-footer/footer-content/index.js +4 -2
- package/dist/components/table/table-footer/index.js +16 -3
- package/dist/components/table/table-options/caption-content/index.js +6 -3
- package/dist/components/table/table-options/controls-content/index.js +6 -3
- package/dist/components/table/table-options/highlighted-content/index.js +5 -3
- package/dist/components/table/table-options/index.js +45 -4
- package/dist/components/table/table-options/styles.js +89 -0
- package/dist/components/table/wrapper/index.js +61 -6
- package/dist/components/table-button/index.js +47 -4
- package/dist/components/table-button/styles.js +59 -0
- package/dist/components/table-content/index.js +64 -5
- package/dist/components/table-content/item-content/index.js +60 -4
- package/dist/components/table-content/styles.js +17 -0
- package/dist/components/table-of-contents/index.js +42 -4
- package/dist/components/table-of-contents/styles.js +77 -0
- package/dist/components/tabs/index.js +61 -4
- package/dist/components/tabs/styles.js +64 -0
- package/dist/components/tabs/tab/index.js +42 -4
- package/dist/components/tag/index.js +102 -4
- package/dist/components/tag/styles.js +172 -0
- package/dist/components/timeline/card/index.js +50 -4
- package/dist/components/timeline/index.js +14 -4
- package/dist/components/timeline/styles.js +101 -0
- package/dist/components/toggle/index.js +96 -4
- package/dist/components/toggle/styles.js +186 -0
- package/dist/components/tooltip/index.js +133 -7
- package/dist/components/tooltip/styles.js +58 -0
- package/dist/components/tour/index.js +75 -7
- package/dist/components/tree/index.js +156 -5
- package/dist/components/truncated-list/index.js +51 -4
- package/dist/components/typography/heading/index.js +51 -4
- package/dist/components/typography/index.js +6 -4
- package/dist/components/typography/span/index.js +45 -4
- package/dist/components/typography/styles.js +141 -0
- package/dist/components/typography/text/index.js +53 -4
- package/dist/components/weaknesses-card/index.js +167 -6
- package/dist/components/weaknesses-card/styles.js +33 -0
- package/dist/globals/design-tokens-css/index.js +1 -1
- package/dist/globals/designs-provider/index.js +3 -3
- package/dist/hooks/index.js +18 -9
- package/dist/hooks/use-active-section.js +52 -0
- package/dist/hooks/use-carousel.js +19 -0
- package/dist/hooks/use-click-outside.js +20 -0
- package/dist/hooks/use-cloudinary-image.js +16 -0
- package/dist/hooks/use-columns-modal.js +54 -0
- package/dist/hooks/use-debounced-callback.js +9 -0
- package/dist/hooks/use-filters.js +188 -0
- package/dist/hooks/use-local-storage.js +36 -0
- package/dist/hooks/use-modal.js +14 -0
- package/dist/hooks/use-mount-effect.js +8 -0
- package/dist/hooks/use-query-states.js +55 -0
- package/dist/hooks/use-search.js +11 -0
- package/dist/index.js +334 -190
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
- package/dist/node_modules/@cloudinary/react/dist/index.js +2385 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/background/actions/BackgroundColor.js +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryAction.js +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction.js +36 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/Action.js +59 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/RawAction.js +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/internalConstants.js +63 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ActionModel.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IErrorObject.js +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/QualifierModel.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/actionToJson.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/qualifierToJson.js +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/Qualifier.js +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/QualifierValue.js +42 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/dataStructureUtils.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/objectFlip.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/prepareColor.js +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/unsupportedError.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag/FlagQualifier.js +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag.js +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format/FormatQualifier.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/progressive.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/ImageTransformation.js +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/Transformation.js +244 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/VideoTransformation.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryFile.js +166 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryImage.js +10 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryTransformable.js +201 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryVideo.js +26 -0
- package/dist/node_modules/@cloudinary/url-gen/config/BaseConfig.js +14 -0
- package/dist/node_modules/@cloudinary/url-gen/config/URLConfig.js +81 -0
- package/dist/node_modules/@cloudinary/url-gen/instance/Cloudinary.js +24 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/internalConstants.js +16 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/cloudinaryURL.js +23 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/isFileName.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/isUrl.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/publicIDContainsVersion.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/utils/packageVersion.js +4 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/base64Map.js +10 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/encodeOSVersion.js +8 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/encodeVersion.js +17 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/getAnalyticsOptions.js +15 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/getSDKAnalyticsSignature.js +45 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/padVersion.js +14 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/reverseVersion.js +8 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/stringPad.js +13 -0
- package/dist/node_modules/@fastify/deepmerge/index.js +102 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +507 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +686 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +161 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +228 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@gilbarbara/deep-equal/dist/index.js +78 -0
- package/dist/node_modules/@gilbarbara/hooks/dist/index.js +81 -0
- package/dist/node_modules/@hookform/resolvers/dist/resolvers.js +33 -0
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup.js +33 -0
- package/dist/node_modules/@internationalized/date/dist/private/CalendarDate.js +243 -0
- package/dist/node_modules/@internationalized/date/dist/private/DateFormatter.js +102 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/BuddhistCalendar.js +32 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/EthiopicCalendar.js +114 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +104 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/HebrewCalendar.js +88 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/IndianCalendar.js +40 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/IslamicCalendar.js +122 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/JapaneseCalendar.js +128 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/PersianCalendar.js +53 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/TaiwanCalendar.js +54 -0
- package/dist/node_modules/@internationalized/date/dist/private/conversion.js +141 -0
- package/dist/node_modules/@internationalized/date/dist/private/createCalendar.js +42 -0
- package/dist/node_modules/@internationalized/date/dist/private/manipulation.js +211 -0
- package/dist/node_modules/@internationalized/date/dist/private/queries.js +150 -0
- package/dist/node_modules/@internationalized/date/dist/private/string.js +50 -0
- package/dist/node_modules/@internationalized/date/dist/private/utils.js +6 -0
- package/dist/node_modules/@internationalized/date/dist/private/weekStartData.js +100 -0
- package/dist/node_modules/@internationalized/number/dist/private/NumberFormatter.js +121 -0
- package/dist/node_modules/@internationalized/number/dist/private/NumberParser.js +163 -0
- package/dist/node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.js +47 -0
- package/dist/node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.js +32 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js +29 -0
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +38 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +696 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +33 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +53 -0
- package/dist/node_modules/character-entities-legacy/index.js +111 -0
- package/dist/node_modules/character-reference-invalid/index.js +33 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/comma-separated-tokens/index.js +13 -0
- package/dist/node_modules/dayjs/dayjs.min.js +282 -0
- package/dist/node_modules/dayjs/plugin/localizedFormat.js +29 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/components/LazyMotion/index.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +285 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +130 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +60 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +62 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/m/proxy.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/features-animation.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +28 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +20 -0
- package/dist/node_modules/hastscript/lib/create-h.js +112 -0
- package/dist/node_modules/hastscript/lib/index.js +8 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +44 -0
- package/dist/node_modules/is-alphabetical/index.js +7 -0
- package/dist/node_modules/is-alphanumerical/index.js +8 -0
- package/dist/node_modules/is-decimal/index.js +7 -0
- package/dist/node_modules/is-hexadecimal/index.js +7 -0
- package/dist/node_modules/is-lite/dist/index.js +139 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_Hash.js +22 -0
- package/dist/node_modules/lodash/_ListCache.js +22 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_MapCache.js +22 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_arrayEach.js +14 -0
- package/dist/node_modules/lodash/_arrayFilter.js +16 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +26 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arrayReduce.js +15 -0
- package/dist/node_modules/lodash/_arraySome.js +15 -0
- package/dist/node_modules/lodash/_asciiToArray.js +12 -0
- package/dist/node_modules/lodash/_asciiWords.js +13 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseCreate.js +23 -0
- package/dist/node_modules/lodash/_baseEach.js +12 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseForOwn.js +15 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +16 -0
- package/dist/node_modules/lodash/_baseGetTag.js +16 -0
- package/dist/node_modules/lodash/_baseHasIn.js +12 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +15 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +15 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +38 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +37 -0
- package/dist/node_modules/lodash/_baseIsNative.js +22 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +17 -0
- package/dist/node_modules/lodash/_baseIteratee.js +18 -0
- package/dist/node_modules/lodash/_baseKeys.js +20 -0
- package/dist/node_modules/lodash/_baseMatches.js +19 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +23 -0
- package/dist/node_modules/lodash/_baseProperty.js +14 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/dist/node_modules/lodash/_basePropertyOf.js +14 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSome.js +17 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseToString.js +24 -0
- package/dist/node_modules/lodash/_baseUnary.js +14 -0
- package/dist/node_modules/lodash/_cacheHas.js +12 -0
- package/dist/node_modules/lodash/_castPath.js +17 -0
- package/dist/node_modules/lodash/_castSlice.js +15 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_createBaseEach.js +22 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +21 -0
- package/dist/node_modules/lodash/_createCompounder.js +18 -0
- package/dist/node_modules/lodash/_deburrLetter.js +204 -0
- package/dist/node_modules/lodash/_equalArrays.js +46 -0
- package/dist/node_modules/lodash/_equalByTag.js +51 -0
- package/dist/node_modules/lodash/_equalObjects.js +42 -0
- package/dist/node_modules/lodash/_freeGlobal.js +11 -0
- package/dist/node_modules/lodash/_getAllKeys.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js +15 -0
- package/dist/node_modules/lodash/_getMatchData.js +19 -0
- package/dist/node_modules/lodash/_getNative.js +16 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getSymbols.js +16 -0
- package/dist/node_modules/lodash/_getTag.js +33 -0
- package/dist/node_modules/lodash/_getValue.js +12 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasUnicode.js +13 -0
- package/dist/node_modules/lodash/_hasUnicodeWord.js +13 -0
- package/dist/node_modules/lodash/_hashClear.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js +13 -0
- package/dist/node_modules/lodash/_hashGet.js +19 -0
- package/dist/node_modules/lodash/_hashHas.js +15 -0
- package/dist/node_modules/lodash/_hashSet.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js +14 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKeyable.js +13 -0
- package/dist/node_modules/lodash/_isMasked.js +17 -0
- package/dist/node_modules/lodash/_isPrototype.js +14 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +14 -0
- package/dist/node_modules/lodash/_listCacheClear.js +12 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +18 -0
- package/dist/node_modules/lodash/_listCacheGet.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js +14 -0
- package/dist/node_modules/lodash/_listCacheSet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +20 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +14 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +14 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +15 -0
- package/dist/node_modules/lodash/_mapToArray.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +14 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +17 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nodeUtil.js +19 -0
- package/dist/node_modules/lodash/_objectToString.js +13 -0
- package/dist/node_modules/lodash/_overArg.js +14 -0
- package/dist/node_modules/lodash/_root.js +11 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js +12 -0
- package/dist/node_modules/lodash/_setToArray.js +15 -0
- package/dist/node_modules/lodash/_stackClear.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js +12 -0
- package/dist/node_modules/lodash/_stackHas.js +12 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_stringToArray.js +16 -0
- package/dist/node_modules/lodash/_stringToPath.js +16 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toSource.js +23 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +13 -0
- package/dist/node_modules/lodash/_unicodeWords.js +22 -0
- package/dist/node_modules/lodash/capitalize.js +15 -0
- package/dist/node_modules/lodash/deburr.js +15 -0
- package/dist/node_modules/lodash/eq.js +12 -0
- package/dist/node_modules/lodash/get.js +15 -0
- package/dist/node_modules/lodash/hasIn.js +15 -0
- package/dist/node_modules/lodash/identity.js +12 -0
- package/dist/node_modules/lodash/isArguments.js +16 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArrayLike.js +15 -0
- package/dist/node_modules/lodash/isBuffer.js +14 -0
- package/dist/node_modules/lodash/isEmpty.js +33 -0
- package/dist/node_modules/lodash/isEqual.js +14 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isLength.js +13 -0
- package/dist/node_modules/lodash/isNaN.js +14 -0
- package/dist/node_modules/lodash/isNil.js +12 -0
- package/dist/node_modules/lodash/isNumber.js +15 -0
- package/dist/node_modules/lodash/isObject.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js +12 -0
- package/dist/node_modules/lodash/isSymbol.js +15 -0
- package/dist/node_modules/lodash/isTypedArray.js +13 -0
- package/dist/node_modules/lodash/isUndefined.js +12 -0
- package/dist/node_modules/lodash/keys.js +16 -0
- package/dist/node_modules/lodash/lodash.js +3692 -0
- package/dist/node_modules/lodash/lowerFirst.js +11 -0
- package/dist/node_modules/lodash/memoize.js +23 -0
- package/dist/node_modules/lodash/property.js +17 -0
- package/dist/node_modules/lodash/snakeCase.js +13 -0
- package/dist/node_modules/lodash/some.js +19 -0
- package/dist/node_modules/lodash/stubArray.js +12 -0
- package/dist/node_modules/lodash/stubFalse.js +12 -0
- package/dist/node_modules/lodash/toString.js +14 -0
- package/dist/node_modules/lodash/transform.js +30 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/lodash/words.js +17 -0
- package/dist/node_modules/lottie-light-react/build/index.umd.js +5068 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +112 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +144 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +106 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +178 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +46 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +68 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +74 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +618 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +263 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +40 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +143 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +215 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +70 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +20 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +19 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +14 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +8 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/parse-entities/lib/index.js +135 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/property-information/lib/html.js +368 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +566 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +19 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
- package/dist/node_modules/property-information/lib/util/info.js +28 -0
- package/dist/node_modules/property-information/lib/util/merge.js +10 -0
- package/dist/node_modules/property-information/lib/util/schema.js +21 -0
- package/dist/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/react-aria/dist/private/button/useButton.js +56 -0
- package/dist/node_modules/react-aria/dist/private/calendar/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendar.js +7 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendarBase.js +76 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendarCell.js +148 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendarGrid.js +91 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useRangeCalendar.js +34 -0
- package/dist/node_modules/react-aria/dist/private/calendar/utils.js +109 -0
- package/dist/node_modules/react-aria/dist/private/combobox/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/combobox/useComboBox.js +243 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDateField.js +115 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDatePicker.js +126 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDatePickerGroup.js +73 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDateRangePicker.js +164 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDateSegment.js +249 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDisplayNames.js +33 -0
- package/dist/node_modules/react-aria/dist/private/dialog/useDialog.js +52 -0
- package/dist/node_modules/react-aria/dist/private/dnd/DragManager.js +20 -0
- package/dist/node_modules/react-aria/dist/private/dnd/constants.js +33 -0
- package/dist/node_modules/react-aria/dist/private/dnd/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/dnd/useDrop.js +173 -0
- package/dist/node_modules/react-aria/dist/private/dnd/useVirtualDrop.js +31 -0
- package/dist/node_modules/react-aria/dist/private/dnd/utils.js +114 -0
- package/dist/node_modules/react-aria/dist/private/focus/FocusScope.js +490 -0
- package/dist/node_modules/react-aria/dist/private/focus/virtualFocus.js +32 -0
- package/dist/node_modules/react-aria/dist/private/form/useFormValidation.js +71 -0
- package/dist/node_modules/react-aria/dist/private/i18n/I18nProvider.js +10 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useCollator.js +11 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useDateFormatter.js +23 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useDefaultLocale.js +37 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useFilter.js +35 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useLocalizedStringFormatter.js +23 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useNumberFormatter.js +13 -0
- package/dist/node_modules/react-aria/dist/private/i18n/utils.js +47 -0
- package/dist/node_modules/react-aria/dist/private/interactions/PressResponder.js +14 -0
- package/dist/node_modules/react-aria/dist/private/interactions/context.js +9 -0
- package/dist/node_modules/react-aria/dist/private/interactions/createEventHandler.js +28 -0
- package/dist/node_modules/react-aria/dist/private/interactions/focusSafely.js +19 -0
- package/dist/node_modules/react-aria/dist/private/interactions/textSelection.js +36 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocus.js +31 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusVisible.js +90 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusWithin.js +59 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusable.js +32 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useHover.js +87 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useInteractOutside.js +51 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useKeyboard.js +12 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useLongPress.js +53 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useMove.js +165 -0
- package/dist/node_modules/react-aria/dist/private/interactions/usePress.js +418 -0
- package/dist/node_modules/react-aria/dist/private/interactions/utils.js +93 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ar-AE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/bg-BG.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/cs-CZ.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/da-DK.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/de-DE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/el-GR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/en-US.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/es-ES.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/et-EE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/fi-FI.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/fr-FR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/he-IL.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/hr-HR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/hu-HU.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/it-IT.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ja-JP.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ko-KR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/lt-LT.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/lv-LV.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/nb-NO.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/nl-NL.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/pl-PL.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/pt-BR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/pt-PT.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ro-RO.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ru-RU.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sk-SK.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sl-SI.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sr-SP.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sv-SE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/tr-TR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/uk-UA.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/zh-CN.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/zh-TW.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ar-AE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/bg-BG.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/cs-CZ.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/da-DK.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/de-DE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/el-GR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/en-US.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/es-ES.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/et-EE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/fi-FI.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/fr-FR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/he-IL.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/hr-HR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/hu-HU.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/it-IT.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ja-JP.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ko-KR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/lt-LT.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/lv-LV.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/nb-NO.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/nl-NL.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/pl-PL.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/pt-BR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/pt-PT.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ro-RO.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ru-RU.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sk-SK.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sl-SI.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sr-SP.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sv-SE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/tr-TR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/uk-UA.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/zh-CN.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/zh-TW.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ar-AE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/bg-BG.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/cs-CZ.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/da-DK.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/de-DE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/el-GR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/en-US.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/es-ES.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/et-EE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/fi-FI.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/fr-FR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/he-IL.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/hr-HR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/hu-HU.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/it-IT.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ja-JP.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ko-KR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/lt-LT.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/lv-LV.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/nb-NO.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/nl-NL.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/pl-PL.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/pt-BR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/pt-PT.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ro-RO.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ru-RU.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sk-SK.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sl-SI.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sr-SP.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sv-SE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/tr-TR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/uk-UA.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/zh-CN.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/zh-TW.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ar-AE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/bg-BG.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/cs-CZ.js +46 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/da-DK.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/de-DE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/el-GR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/en-US.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/es-ES.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/et-EE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/fi-FI.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/fr-FR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/he-IL.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/hr-HR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/hu-HU.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/it-IT.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ja-JP.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ko-KR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/lt-LT.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/lv-LV.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/nb-NO.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/nl-NL.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/pl-PL.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/pt-BR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/pt-PT.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ro-RO.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ru-RU.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sk-SK.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sl-SI.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sr-SP.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sv-SE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/tr-TR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/uk-UA.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/zh-CN.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/zh-TW.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ar-AE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/bg-BG.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/cs-CZ.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/da-DK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/de-DE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/el-GR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/en-US.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/es-ES.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/et-EE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/fi-FI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/fr-FR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/he-IL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/hr-HR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/hu-HU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/it-IT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ja-JP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ko-KR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/lt-LT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/lv-LV.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/nb-NO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/nl-NL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/pl-PL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/pt-BR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/pt-PT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ro-RO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ru-RU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sk-SK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sl-SI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sr-SP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sv-SE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/tr-TR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/uk-UA.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/zh-CN.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/zh-TW.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ar-AE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/bg-BG.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/cs-CZ.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/da-DK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/de-DE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/el-GR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/en-US.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/es-ES.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/et-EE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/fi-FI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/fr-FR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/he-IL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/hr-HR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/hu-HU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/it-IT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ja-JP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ko-KR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/lt-LT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/lv-LV.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/nb-NO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/nl-NL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pl-PL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pt-BR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pt-PT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ro-RO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ru-RU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sk-SK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sl-SI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sr-SP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sv-SE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/tr-TR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/uk-UA.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/zh-CN.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/zh-TW.js +7 -0
- package/dist/node_modules/react-aria/dist/private/label/useField.js +36 -0
- package/dist/node_modules/react-aria/dist/private/label/useLabel.js +23 -0
- package/dist/node_modules/react-aria/dist/private/listbox/useListBox.js +56 -0
- package/dist/node_modules/react-aria/dist/private/listbox/useOption.js +69 -0
- package/dist/node_modules/react-aria/dist/private/listbox/utils.js +13 -0
- package/dist/node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.js +49 -0
- package/dist/node_modules/react-aria/dist/private/menu/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/menu/useMenuTrigger.js +65 -0
- package/dist/node_modules/react-aria/dist/private/overlays/Overlay.js +38 -0
- package/dist/node_modules/react-aria/dist/private/overlays/PortalProvider.js +9 -0
- package/dist/node_modules/react-aria/dist/private/overlays/ariaHideOutside.js +119 -0
- package/dist/node_modules/react-aria/dist/private/overlays/calculatePosition.js +208 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useCloseOnScroll.js +26 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useOverlay.js +50 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useOverlayPosition.js +136 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useOverlayTrigger.js +26 -0
- package/dist/node_modules/react-aria/dist/private/overlays/usePopover.js +46 -0
- package/dist/node_modules/react-aria/dist/private/overlays/usePreventScroll.js +112 -0
- package/dist/node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.js +38 -0
- package/dist/node_modules/react-aria/dist/private/selection/ListKeyboardDelegate.js +120 -0
- package/dist/node_modules/react-aria/dist/private/selection/useSelectableCollection.js +222 -0
- package/dist/node_modules/react-aria/dist/private/selection/useSelectableItem.js +137 -0
- package/dist/node_modules/react-aria/dist/private/selection/useSelectableList.js +38 -0
- package/dist/node_modules/react-aria/dist/private/selection/useTypeSelect.js +33 -0
- package/dist/node_modules/react-aria/dist/private/selection/utils.js +23 -0
- package/dist/node_modules/react-aria/dist/private/slider/useSlider.js +88 -0
- package/dist/node_modules/react-aria/dist/private/slider/useSliderThumb.js +142 -0
- package/dist/node_modules/react-aria/dist/private/slider/utils.js +10 -0
- package/dist/node_modules/react-aria/dist/private/spinbutton/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/spinbutton/useSpinButton.js +138 -0
- package/dist/node_modules/react-aria/dist/private/ssr/SSRProvider.js +52 -0
- package/dist/node_modules/react-aria/dist/private/textfield/useTextField.js +78 -0
- package/dist/node_modules/react-aria/dist/private/utils/chain.js +8 -0
- package/dist/node_modules/react-aria/dist/private/utils/constants.js +5 -0
- package/dist/node_modules/react-aria/dist/private/utils/domHelpers.js +12 -0
- package/dist/node_modules/react-aria/dist/private/utils/filterDOMProps.js +65 -0
- package/dist/node_modules/react-aria/dist/private/utils/focusWithoutScrolling.js +45 -0
- package/dist/node_modules/react-aria/dist/private/utils/getNonce.js +15 -0
- package/dist/node_modules/react-aria/dist/private/utils/getScrollParent.js +9 -0
- package/dist/node_modules/react-aria/dist/private/utils/getScrollParents.js +10 -0
- package/dist/node_modules/react-aria/dist/private/utils/isElementVisible.js +25 -0
- package/dist/node_modules/react-aria/dist/private/utils/isFocusable.js +37 -0
- package/dist/node_modules/react-aria/dist/private/utils/isScrollable.js +8 -0
- package/dist/node_modules/react-aria/dist/private/utils/isVirtualEvent.js +11 -0
- package/dist/node_modules/react-aria/dist/private/utils/keyboard.js +22 -0
- package/dist/node_modules/react-aria/dist/private/utils/mergeProps.js +23 -0
- package/dist/node_modules/react-aria/dist/private/utils/mergeRefs.js +21 -0
- package/dist/node_modules/react-aria/dist/private/utils/openLink.js +61 -0
- package/dist/node_modules/react-aria/dist/private/utils/platform.js +44 -0
- package/dist/node_modules/react-aria/dist/private/utils/runAfterTransition.js +38 -0
- package/dist/node_modules/react-aria/dist/private/utils/scrollIntoView.js +66 -0
- package/dist/node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.js +38 -0
- package/dist/node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.js +127 -0
- package/dist/node_modules/react-aria/dist/private/utils/useDeepMemo.js +8 -0
- package/dist/node_modules/react-aria/dist/private/utils/useDescription.js +32 -0
- package/dist/node_modules/react-aria/dist/private/utils/useEffectEvent.js +17 -0
- package/dist/node_modules/react-aria/dist/private/utils/useEvent.js +20 -0
- package/dist/node_modules/react-aria/dist/private/utils/useFormReset.js +18 -0
- package/dist/node_modules/react-aria/dist/private/utils/useGlobalListeners.js +33 -0
- package/dist/node_modules/react-aria/dist/private/utils/useId.js +59 -0
- package/dist/node_modules/react-aria/dist/private/utils/useLabels.js +17 -0
- package/dist/node_modules/react-aria/dist/private/utils/useLayoutEffect.js +6 -0
- package/dist/node_modules/react-aria/dist/private/utils/useResizeObserver.js +32 -0
- package/dist/node_modules/react-aria/dist/private/utils/useSyncRef.js +12 -0
- package/dist/node_modules/react-aria/dist/private/utils/useUpdateEffect.js +15 -0
- package/dist/node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.js +13 -0
- package/dist/node_modules/react-aria/dist/private/utils/useValueEffect.js +28 -0
- package/dist/node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.js +40 -0
- package/dist/node_modules/react-csv/src/components/Download.js +34 -0
- package/dist/node_modules/react-csv/src/components/Link.js +85 -0
- package/dist/node_modules/react-csv/src/core.js +49 -0
- package/dist/node_modules/react-csv/src/index.js +6 -0
- package/dist/node_modules/react-csv/src/metaProps.js +23 -0
- package/dist/node_modules/react-hook-form/dist/index.esm.js +1501 -0
- package/dist/node_modules/react-innertext/index.js +16 -0
- package/dist/node_modules/react-international-phone/dist/index.js +333 -0
- package/dist/node_modules/react-joyride/dist/index.js +2044 -0
- package/dist/node_modules/react-stately/dist/private/calendar/useCalendarState.js +254 -0
- package/dist/node_modules/react-stately/dist/private/calendar/useRangeCalendarState.js +140 -0
- package/dist/node_modules/react-stately/dist/private/calendar/utils.js +66 -0
- package/dist/node_modules/react-stately/dist/private/collections/CollectionBuilder.js +160 -0
- package/dist/node_modules/react-stately/dist/private/collections/Item.js +37 -0
- package/dist/node_modules/react-stately/dist/private/collections/getChildNodes.js +33 -0
- package/dist/node_modules/react-stately/dist/private/collections/getItemCount.js +14 -0
- package/dist/node_modules/react-stately/dist/private/collections/useCollection.js +23 -0
- package/dist/node_modules/react-stately/dist/private/combobox/useComboBoxState.js +206 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/IncompleteDate.js +235 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/intlStrings.js +74 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/placeholders.js +399 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useDateFieldState.js +263 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useDatePickerState.js +76 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useDateRangePickerState.js +171 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useTimeFieldState.js +57 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/utils.js +145 -0
- package/dist/node_modules/react-stately/dist/private/flags/flags.js +7 -0
- package/dist/node_modules/react-stately/dist/private/form/useFormValidationState.js +127 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ar-AE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/bg-BG.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/cs-CZ.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/da-DK.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/de-DE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/el-GR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/en-US.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/es-ES.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/et-EE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/fi-FI.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/fr-FR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/he-IL.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/hr-HR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/hu-HU.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/it-IT.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ja-JP.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ko-KR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/lt-LT.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/lv-LV.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/nb-NO.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/nl-NL.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/pl-PL.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/pt-BR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/pt-PT.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ro-RO.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ru-RU.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sk-SK.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sl-SI.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sr-SP.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sv-SE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/tr-TR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/uk-UA.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/zh-CN.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/zh-TW.js +10 -0
- package/dist/node_modules/react-stately/dist/private/list/ListCollection.js +51 -0
- package/dist/node_modules/react-stately/dist/private/list/useListState.js +60 -0
- package/dist/node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.js +29 -0
- package/dist/node_modules/react-stately/dist/private/selection/Selection.js +8 -0
- package/dist/node_modules/react-stately/dist/private/selection/SelectionManager.js +274 -0
- package/dist/node_modules/react-stately/dist/private/selection/useMultipleSelectionState.js +57 -0
- package/dist/node_modules/react-stately/dist/private/slider/useSliderState.js +151 -0
- package/dist/node_modules/react-stately/dist/private/utils/number.js +26 -0
- package/dist/node_modules/react-stately/dist/private/utils/useControlledState.js +29 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +7 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +99 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +282 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/csharp.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dart.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/docker.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/elixir.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/go.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/hcl.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/java.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javascript.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/kotlin.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/php.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/powershell.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ruby.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/scala.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/swift.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/toml.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-light.js +12 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.js +195 -0
- package/dist/node_modules/refractor/lang/bash.js +226 -0
- package/dist/node_modules/refractor/lang/clike.js +38 -0
- package/dist/node_modules/refractor/lang/csharp.js +385 -0
- package/dist/node_modules/refractor/lang/dart.js +76 -0
- package/dist/node_modules/refractor/lang/docker.js +101 -0
- package/dist/node_modules/refractor/lang/elixir.js +103 -0
- package/dist/node_modules/refractor/lang/go.js +32 -0
- package/dist/node_modules/refractor/lang/hcl.js +67 -0
- package/dist/node_modules/refractor/lang/java.js +135 -0
- package/dist/node_modules/refractor/lang/javascript.js +139 -0
- package/dist/node_modules/refractor/lang/json.js +31 -0
- package/dist/node_modules/refractor/lang/kotlin.js +83 -0
- package/dist/node_modules/refractor/lang/markup-templating.js +74 -0
- package/dist/node_modules/refractor/lang/markup.js +174 -0
- package/dist/node_modules/refractor/lang/php.js +328 -0
- package/dist/node_modules/refractor/lang/powershell.js +62 -0
- package/dist/node_modules/refractor/lang/python.js +68 -0
- package/dist/node_modules/refractor/lang/ruby.js +179 -0
- package/dist/node_modules/refractor/lang/scala.js +52 -0
- package/dist/node_modules/refractor/lang/swift.js +126 -0
- package/dist/node_modules/refractor/lang/toml.js +60 -0
- package/dist/node_modules/refractor/lang/typescript.js +53 -0
- package/dist/node_modules/refractor/lang/yaml.js +88 -0
- package/dist/node_modules/refractor/lib/core.js +107 -0
- package/dist/node_modules/refractor/lib/prism-core.js +430 -0
- package/dist/node_modules/scroll/index.js +36 -0
- package/dist/node_modules/scrollparent/scrollparent.js +28 -0
- package/dist/node_modules/space-separated-tokens/index.js +7 -0
- package/dist/node_modules/tabbable/dist/index.esm.js +200 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +55 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +10 -0
- package/dist/utils/date.js +7 -0
- package/dist/utils/filters.js +60 -0
- package/dist/utils/index.js +26 -21
- package/dist/utils/normalizers.js +16 -0
- package/dist/utils/open-url.js +12 -0
- package/dist/utils/storage.js +16 -0
- package/dist/utils/url.js +13 -0
- package/package.json +5 -1
- package/dist/components-LCJjFofC.mjs +0 -18033
- package/dist/vendor-i-lggy4V.mjs +0 -48982
- /package/dist/assets/{index.css → styles/global.css} +0 -0
|
@@ -0,0 +1,2385 @@
|
|
|
1
|
+
import Q, { createRef as Bn, Component as Gn } from "react";
|
|
2
|
+
var M = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, bt = { exports: {} };
|
|
3
|
+
(function(r, t) {
|
|
4
|
+
var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, c = "[object Arguments]", u = "[object Array]", d = "[object Boolean]", p = "[object Date]", f = "[object Error]", g = "[object Function]", j = "[object GeneratorFunction]", U = "[object Map]", Ft = "[object Number]", at = "[object Object]", Vt = "[object Promise]", Qt = "[object RegExp]", N = "[object Set]", Bt = "[object String]", Gt = "[object Symbol]", ct = "[object WeakMap]", kt = "[object ArrayBuffer]", J = "[object DataView]", Dt = "[object Float32Array]", qt = "[object Float64Array]", zt = "[object Int8Array]", Ut = "[object Int16Array]", Nt = "[object Int32Array]", Jt = "[object Uint8Array]", Ht = "[object Uint8ClampedArray]", Yt = "[object Uint16Array]", Wt = "[object Uint32Array]", pr = /[\\^$.*+?()[\]{}|]/g, gr = /\w*$/, _r = /^\[object .+?Constructor\]$/, mr = /^(?:0|[1-9]\d*)$/, _ = {};
|
|
5
|
+
_[c] = _[u] = _[kt] = _[J] = _[d] = _[p] = _[Dt] = _[qt] = _[zt] = _[Ut] = _[Nt] = _[U] = _[Ft] = _[at] = _[Qt] = _[N] = _[Bt] = _[Gt] = _[Jt] = _[Ht] = _[Yt] = _[Wt] = !0, _[f] = _[g] = _[ct] = !1;
|
|
6
|
+
var yr = typeof M == "object" && M && M.Object === Object && M, vr = typeof self == "object" && self && self.Object === Object && self, O = yr || vr || Function("return this")(), Kt = t && !t.nodeType && t, Xt = Kt && !0 && r && !r.nodeType && r, wr = Xt && Xt.exports === Kt;
|
|
7
|
+
function br(n, o) {
|
|
8
|
+
return n.set(o[0], o[1]), n;
|
|
9
|
+
}
|
|
10
|
+
function Ar(n, o) {
|
|
11
|
+
return n.add(o), n;
|
|
12
|
+
}
|
|
13
|
+
function Or(n, o) {
|
|
14
|
+
for (var a = -1, l = n ? n.length : 0; ++a < l && o(n[a], a, n) !== !1; )
|
|
15
|
+
;
|
|
16
|
+
return n;
|
|
17
|
+
}
|
|
18
|
+
function Tr(n, o) {
|
|
19
|
+
for (var a = -1, l = o.length, y = n.length; ++a < l; )
|
|
20
|
+
n[y + a] = o[a];
|
|
21
|
+
return n;
|
|
22
|
+
}
|
|
23
|
+
function Zt(n, o, a, l) {
|
|
24
|
+
for (var y = -1, v = n ? n.length : 0; ++y < v; )
|
|
25
|
+
a = o(a, n[y], y, n);
|
|
26
|
+
return a;
|
|
27
|
+
}
|
|
28
|
+
function Er(n, o) {
|
|
29
|
+
for (var a = -1, l = Array(n); ++a < n; )
|
|
30
|
+
l[a] = o(a);
|
|
31
|
+
return l;
|
|
32
|
+
}
|
|
33
|
+
function Sr(n, o) {
|
|
34
|
+
return n?.[o];
|
|
35
|
+
}
|
|
36
|
+
function te(n) {
|
|
37
|
+
var o = !1;
|
|
38
|
+
if (n != null && typeof n.toString != "function")
|
|
39
|
+
try {
|
|
40
|
+
o = !!(n + "");
|
|
41
|
+
} catch {
|
|
42
|
+
}
|
|
43
|
+
return o;
|
|
44
|
+
}
|
|
45
|
+
function ee(n) {
|
|
46
|
+
var o = -1, a = Array(n.size);
|
|
47
|
+
return n.forEach(function(l, y) {
|
|
48
|
+
a[++o] = [y, l];
|
|
49
|
+
}), a;
|
|
50
|
+
}
|
|
51
|
+
function ut(n, o) {
|
|
52
|
+
return function(a) {
|
|
53
|
+
return n(o(a));
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function re(n) {
|
|
57
|
+
var o = -1, a = Array(n.size);
|
|
58
|
+
return n.forEach(function(l) {
|
|
59
|
+
a[++o] = l;
|
|
60
|
+
}), a;
|
|
61
|
+
}
|
|
62
|
+
var Mr = Array.prototype, xr = Function.prototype, H = Object.prototype, lt = O["__core-js_shared__"], ne = (function() {
|
|
63
|
+
var n = /[^.]+$/.exec(lt && lt.keys && lt.keys.IE_PROTO || "");
|
|
64
|
+
return n ? "Symbol(src)_1." + n : "";
|
|
65
|
+
})(), ie = xr.toString, S = H.hasOwnProperty, Y = H.toString, Cr = RegExp(
|
|
66
|
+
"^" + ie.call(S).replace(pr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
67
|
+
), oe = wr ? O.Buffer : void 0, se = O.Symbol, ae = O.Uint8Array, Lr = ut(Object.getPrototypeOf, Object), Ir = Object.create, Rr = H.propertyIsEnumerable, jr = Mr.splice, ce = Object.getOwnPropertySymbols, Pr = oe ? oe.isBuffer : void 0, $r = ut(Object.keys, Object), ft = F(O, "DataView"), D = F(O, "Map"), dt = F(O, "Promise"), ht = F(O, "Set"), pt = F(O, "WeakMap"), q = F(Object, "create"), Fr = I(ft), Vr = I(D), Qr = I(dt), Br = I(ht), Gr = I(pt), ue = se ? se.prototype : void 0, le = ue ? ue.valueOf : void 0;
|
|
68
|
+
function C(n) {
|
|
69
|
+
var o = -1, a = n ? n.length : 0;
|
|
70
|
+
for (this.clear(); ++o < a; ) {
|
|
71
|
+
var l = n[o];
|
|
72
|
+
this.set(l[0], l[1]);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function kr() {
|
|
76
|
+
this.__data__ = q ? q(null) : {};
|
|
77
|
+
}
|
|
78
|
+
function Dr(n) {
|
|
79
|
+
return this.has(n) && delete this.__data__[n];
|
|
80
|
+
}
|
|
81
|
+
function qr(n) {
|
|
82
|
+
var o = this.__data__;
|
|
83
|
+
if (q) {
|
|
84
|
+
var a = o[n];
|
|
85
|
+
return a === i ? void 0 : a;
|
|
86
|
+
}
|
|
87
|
+
return S.call(o, n) ? o[n] : void 0;
|
|
88
|
+
}
|
|
89
|
+
function zr(n) {
|
|
90
|
+
var o = this.__data__;
|
|
91
|
+
return q ? o[n] !== void 0 : S.call(o, n);
|
|
92
|
+
}
|
|
93
|
+
function Ur(n, o) {
|
|
94
|
+
var a = this.__data__;
|
|
95
|
+
return a[n] = q && o === void 0 ? i : o, this;
|
|
96
|
+
}
|
|
97
|
+
C.prototype.clear = kr, C.prototype.delete = Dr, C.prototype.get = qr, C.prototype.has = zr, C.prototype.set = Ur;
|
|
98
|
+
function T(n) {
|
|
99
|
+
var o = -1, a = n ? n.length : 0;
|
|
100
|
+
for (this.clear(); ++o < a; ) {
|
|
101
|
+
var l = n[o];
|
|
102
|
+
this.set(l[0], l[1]);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
function Nr() {
|
|
106
|
+
this.__data__ = [];
|
|
107
|
+
}
|
|
108
|
+
function Jr(n) {
|
|
109
|
+
var o = this.__data__, a = W(o, n);
|
|
110
|
+
if (a < 0)
|
|
111
|
+
return !1;
|
|
112
|
+
var l = o.length - 1;
|
|
113
|
+
return a == l ? o.pop() : jr.call(o, a, 1), !0;
|
|
114
|
+
}
|
|
115
|
+
function Hr(n) {
|
|
116
|
+
var o = this.__data__, a = W(o, n);
|
|
117
|
+
return a < 0 ? void 0 : o[a][1];
|
|
118
|
+
}
|
|
119
|
+
function Yr(n) {
|
|
120
|
+
return W(this.__data__, n) > -1;
|
|
121
|
+
}
|
|
122
|
+
function Wr(n, o) {
|
|
123
|
+
var a = this.__data__, l = W(a, n);
|
|
124
|
+
return l < 0 ? a.push([n, o]) : a[l][1] = o, this;
|
|
125
|
+
}
|
|
126
|
+
T.prototype.clear = Nr, T.prototype.delete = Jr, T.prototype.get = Hr, T.prototype.has = Yr, T.prototype.set = Wr;
|
|
127
|
+
function P(n) {
|
|
128
|
+
var o = -1, a = n ? n.length : 0;
|
|
129
|
+
for (this.clear(); ++o < a; ) {
|
|
130
|
+
var l = n[o];
|
|
131
|
+
this.set(l[0], l[1]);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
function Kr() {
|
|
135
|
+
this.__data__ = {
|
|
136
|
+
hash: new C(),
|
|
137
|
+
map: new (D || T)(),
|
|
138
|
+
string: new C()
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function Xr(n) {
|
|
142
|
+
return K(this, n).delete(n);
|
|
143
|
+
}
|
|
144
|
+
function Zr(n) {
|
|
145
|
+
return K(this, n).get(n);
|
|
146
|
+
}
|
|
147
|
+
function tn(n) {
|
|
148
|
+
return K(this, n).has(n);
|
|
149
|
+
}
|
|
150
|
+
function en(n, o) {
|
|
151
|
+
return K(this, n).set(n, o), this;
|
|
152
|
+
}
|
|
153
|
+
P.prototype.clear = Kr, P.prototype.delete = Xr, P.prototype.get = Zr, P.prototype.has = tn, P.prototype.set = en;
|
|
154
|
+
function $(n) {
|
|
155
|
+
this.__data__ = new T(n);
|
|
156
|
+
}
|
|
157
|
+
function rn() {
|
|
158
|
+
this.__data__ = new T();
|
|
159
|
+
}
|
|
160
|
+
function nn(n) {
|
|
161
|
+
return this.__data__.delete(n);
|
|
162
|
+
}
|
|
163
|
+
function on(n) {
|
|
164
|
+
return this.__data__.get(n);
|
|
165
|
+
}
|
|
166
|
+
function sn(n) {
|
|
167
|
+
return this.__data__.has(n);
|
|
168
|
+
}
|
|
169
|
+
function an(n, o) {
|
|
170
|
+
var a = this.__data__;
|
|
171
|
+
if (a instanceof T) {
|
|
172
|
+
var l = a.__data__;
|
|
173
|
+
if (!D || l.length < e - 1)
|
|
174
|
+
return l.push([n, o]), this;
|
|
175
|
+
a = this.__data__ = new P(l);
|
|
176
|
+
}
|
|
177
|
+
return a.set(n, o), this;
|
|
178
|
+
}
|
|
179
|
+
$.prototype.clear = rn, $.prototype.delete = nn, $.prototype.get = on, $.prototype.has = sn, $.prototype.set = an;
|
|
180
|
+
function cn(n, o) {
|
|
181
|
+
var a = mt(n) || Rn(n) ? Er(n.length, String) : [], l = a.length, y = !!l;
|
|
182
|
+
for (var v in n)
|
|
183
|
+
S.call(n, v) && !(y && (v == "length" || xn(v, l))) && a.push(v);
|
|
184
|
+
return a;
|
|
185
|
+
}
|
|
186
|
+
function fe(n, o, a) {
|
|
187
|
+
var l = n[o];
|
|
188
|
+
(!(S.call(n, o) && ge(l, a)) || a === void 0 && !(o in n)) && (n[o] = a);
|
|
189
|
+
}
|
|
190
|
+
function W(n, o) {
|
|
191
|
+
for (var a = n.length; a--; )
|
|
192
|
+
if (ge(n[a][0], o))
|
|
193
|
+
return a;
|
|
194
|
+
return -1;
|
|
195
|
+
}
|
|
196
|
+
function un(n, o) {
|
|
197
|
+
return n && de(o, yt(o), n);
|
|
198
|
+
}
|
|
199
|
+
function gt(n, o, a, l, y, v, E) {
|
|
200
|
+
var w;
|
|
201
|
+
if (l && (w = v ? l(n, y, v, E) : l(n)), w !== void 0)
|
|
202
|
+
return w;
|
|
203
|
+
if (!X(n))
|
|
204
|
+
return n;
|
|
205
|
+
var ye = mt(n);
|
|
206
|
+
if (ye) {
|
|
207
|
+
if (w = En(n), !o)
|
|
208
|
+
return An(n, w);
|
|
209
|
+
} else {
|
|
210
|
+
var V = L(n), ve = V == g || V == j;
|
|
211
|
+
if (Pn(n))
|
|
212
|
+
return gn(n, o);
|
|
213
|
+
if (V == at || V == c || ve && !v) {
|
|
214
|
+
if (te(n))
|
|
215
|
+
return v ? n : {};
|
|
216
|
+
if (w = Sn(ve ? {} : n), !o)
|
|
217
|
+
return On(n, un(w, n));
|
|
218
|
+
} else {
|
|
219
|
+
if (!_[V])
|
|
220
|
+
return v ? n : {};
|
|
221
|
+
w = Mn(n, V, gt, o);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
E || (E = new $());
|
|
225
|
+
var we = E.get(n);
|
|
226
|
+
if (we)
|
|
227
|
+
return we;
|
|
228
|
+
if (E.set(n, w), !ye)
|
|
229
|
+
var be = a ? Tn(n) : yt(n);
|
|
230
|
+
return Or(be || n, function(vt, Z) {
|
|
231
|
+
be && (Z = vt, vt = n[Z]), fe(w, Z, gt(vt, o, a, l, Z, n, E));
|
|
232
|
+
}), w;
|
|
233
|
+
}
|
|
234
|
+
function ln(n) {
|
|
235
|
+
return X(n) ? Ir(n) : {};
|
|
236
|
+
}
|
|
237
|
+
function fn(n, o, a) {
|
|
238
|
+
var l = o(n);
|
|
239
|
+
return mt(n) ? l : Tr(l, a(n));
|
|
240
|
+
}
|
|
241
|
+
function dn(n) {
|
|
242
|
+
return Y.call(n);
|
|
243
|
+
}
|
|
244
|
+
function hn(n) {
|
|
245
|
+
if (!X(n) || Ln(n))
|
|
246
|
+
return !1;
|
|
247
|
+
var o = me(n) || te(n) ? Cr : _r;
|
|
248
|
+
return o.test(I(n));
|
|
249
|
+
}
|
|
250
|
+
function pn(n) {
|
|
251
|
+
if (!pe(n))
|
|
252
|
+
return $r(n);
|
|
253
|
+
var o = [];
|
|
254
|
+
for (var a in Object(n))
|
|
255
|
+
S.call(n, a) && a != "constructor" && o.push(a);
|
|
256
|
+
return o;
|
|
257
|
+
}
|
|
258
|
+
function gn(n, o) {
|
|
259
|
+
if (o)
|
|
260
|
+
return n.slice();
|
|
261
|
+
var a = new n.constructor(n.length);
|
|
262
|
+
return n.copy(a), a;
|
|
263
|
+
}
|
|
264
|
+
function _t(n) {
|
|
265
|
+
var o = new n.constructor(n.byteLength);
|
|
266
|
+
return new ae(o).set(new ae(n)), o;
|
|
267
|
+
}
|
|
268
|
+
function _n(n, o) {
|
|
269
|
+
var a = o ? _t(n.buffer) : n.buffer;
|
|
270
|
+
return new n.constructor(a, n.byteOffset, n.byteLength);
|
|
271
|
+
}
|
|
272
|
+
function mn(n, o, a) {
|
|
273
|
+
var l = o ? a(ee(n), !0) : ee(n);
|
|
274
|
+
return Zt(l, br, new n.constructor());
|
|
275
|
+
}
|
|
276
|
+
function yn(n) {
|
|
277
|
+
var o = new n.constructor(n.source, gr.exec(n));
|
|
278
|
+
return o.lastIndex = n.lastIndex, o;
|
|
279
|
+
}
|
|
280
|
+
function vn(n, o, a) {
|
|
281
|
+
var l = o ? a(re(n), !0) : re(n);
|
|
282
|
+
return Zt(l, Ar, new n.constructor());
|
|
283
|
+
}
|
|
284
|
+
function wn(n) {
|
|
285
|
+
return le ? Object(le.call(n)) : {};
|
|
286
|
+
}
|
|
287
|
+
function bn(n, o) {
|
|
288
|
+
var a = o ? _t(n.buffer) : n.buffer;
|
|
289
|
+
return new n.constructor(a, n.byteOffset, n.length);
|
|
290
|
+
}
|
|
291
|
+
function An(n, o) {
|
|
292
|
+
var a = -1, l = n.length;
|
|
293
|
+
for (o || (o = Array(l)); ++a < l; )
|
|
294
|
+
o[a] = n[a];
|
|
295
|
+
return o;
|
|
296
|
+
}
|
|
297
|
+
function de(n, o, a, l) {
|
|
298
|
+
a || (a = {});
|
|
299
|
+
for (var y = -1, v = o.length; ++y < v; ) {
|
|
300
|
+
var E = o[y], w = void 0;
|
|
301
|
+
fe(a, E, w === void 0 ? n[E] : w);
|
|
302
|
+
}
|
|
303
|
+
return a;
|
|
304
|
+
}
|
|
305
|
+
function On(n, o) {
|
|
306
|
+
return de(n, he(n), o);
|
|
307
|
+
}
|
|
308
|
+
function Tn(n) {
|
|
309
|
+
return fn(n, yt, he);
|
|
310
|
+
}
|
|
311
|
+
function K(n, o) {
|
|
312
|
+
var a = n.__data__;
|
|
313
|
+
return Cn(o) ? a[typeof o == "string" ? "string" : "hash"] : a.map;
|
|
314
|
+
}
|
|
315
|
+
function F(n, o) {
|
|
316
|
+
var a = Sr(n, o);
|
|
317
|
+
return hn(a) ? a : void 0;
|
|
318
|
+
}
|
|
319
|
+
var he = ce ? ut(ce, Object) : Vn, L = dn;
|
|
320
|
+
(ft && L(new ft(new ArrayBuffer(1))) != J || D && L(new D()) != U || dt && L(dt.resolve()) != Vt || ht && L(new ht()) != N || pt && L(new pt()) != ct) && (L = function(n) {
|
|
321
|
+
var o = Y.call(n), a = o == at ? n.constructor : void 0, l = a ? I(a) : void 0;
|
|
322
|
+
if (l)
|
|
323
|
+
switch (l) {
|
|
324
|
+
case Fr:
|
|
325
|
+
return J;
|
|
326
|
+
case Vr:
|
|
327
|
+
return U;
|
|
328
|
+
case Qr:
|
|
329
|
+
return Vt;
|
|
330
|
+
case Br:
|
|
331
|
+
return N;
|
|
332
|
+
case Gr:
|
|
333
|
+
return ct;
|
|
334
|
+
}
|
|
335
|
+
return o;
|
|
336
|
+
});
|
|
337
|
+
function En(n) {
|
|
338
|
+
var o = n.length, a = n.constructor(o);
|
|
339
|
+
return o && typeof n[0] == "string" && S.call(n, "index") && (a.index = n.index, a.input = n.input), a;
|
|
340
|
+
}
|
|
341
|
+
function Sn(n) {
|
|
342
|
+
return typeof n.constructor == "function" && !pe(n) ? ln(Lr(n)) : {};
|
|
343
|
+
}
|
|
344
|
+
function Mn(n, o, a, l) {
|
|
345
|
+
var y = n.constructor;
|
|
346
|
+
switch (o) {
|
|
347
|
+
case kt:
|
|
348
|
+
return _t(n);
|
|
349
|
+
case d:
|
|
350
|
+
case p:
|
|
351
|
+
return new y(+n);
|
|
352
|
+
case J:
|
|
353
|
+
return _n(n, l);
|
|
354
|
+
case Dt:
|
|
355
|
+
case qt:
|
|
356
|
+
case zt:
|
|
357
|
+
case Ut:
|
|
358
|
+
case Nt:
|
|
359
|
+
case Jt:
|
|
360
|
+
case Ht:
|
|
361
|
+
case Yt:
|
|
362
|
+
case Wt:
|
|
363
|
+
return bn(n, l);
|
|
364
|
+
case U:
|
|
365
|
+
return mn(n, l, a);
|
|
366
|
+
case Ft:
|
|
367
|
+
case Bt:
|
|
368
|
+
return new y(n);
|
|
369
|
+
case Qt:
|
|
370
|
+
return yn(n);
|
|
371
|
+
case N:
|
|
372
|
+
return vn(n, l, a);
|
|
373
|
+
case Gt:
|
|
374
|
+
return wn(n);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
function xn(n, o) {
|
|
378
|
+
return o = o ?? s, !!o && (typeof n == "number" || mr.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
379
|
+
}
|
|
380
|
+
function Cn(n) {
|
|
381
|
+
var o = typeof n;
|
|
382
|
+
return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? n !== "__proto__" : n === null;
|
|
383
|
+
}
|
|
384
|
+
function Ln(n) {
|
|
385
|
+
return !!ne && ne in n;
|
|
386
|
+
}
|
|
387
|
+
function pe(n) {
|
|
388
|
+
var o = n && n.constructor, a = typeof o == "function" && o.prototype || H;
|
|
389
|
+
return n === a;
|
|
390
|
+
}
|
|
391
|
+
function I(n) {
|
|
392
|
+
if (n != null) {
|
|
393
|
+
try {
|
|
394
|
+
return ie.call(n);
|
|
395
|
+
} catch {
|
|
396
|
+
}
|
|
397
|
+
try {
|
|
398
|
+
return n + "";
|
|
399
|
+
} catch {
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
return "";
|
|
403
|
+
}
|
|
404
|
+
function In(n) {
|
|
405
|
+
return gt(n, !0, !0);
|
|
406
|
+
}
|
|
407
|
+
function ge(n, o) {
|
|
408
|
+
return n === o || n !== n && o !== o;
|
|
409
|
+
}
|
|
410
|
+
function Rn(n) {
|
|
411
|
+
return jn(n) && S.call(n, "callee") && (!Rr.call(n, "callee") || Y.call(n) == c);
|
|
412
|
+
}
|
|
413
|
+
var mt = Array.isArray;
|
|
414
|
+
function _e(n) {
|
|
415
|
+
return n != null && $n(n.length) && !me(n);
|
|
416
|
+
}
|
|
417
|
+
function jn(n) {
|
|
418
|
+
return Fn(n) && _e(n);
|
|
419
|
+
}
|
|
420
|
+
var Pn = Pr || Qn;
|
|
421
|
+
function me(n) {
|
|
422
|
+
var o = X(n) ? Y.call(n) : "";
|
|
423
|
+
return o == g || o == j;
|
|
424
|
+
}
|
|
425
|
+
function $n(n) {
|
|
426
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= s;
|
|
427
|
+
}
|
|
428
|
+
function X(n) {
|
|
429
|
+
var o = typeof n;
|
|
430
|
+
return !!n && (o == "object" || o == "function");
|
|
431
|
+
}
|
|
432
|
+
function Fn(n) {
|
|
433
|
+
return !!n && typeof n == "object";
|
|
434
|
+
}
|
|
435
|
+
function yt(n) {
|
|
436
|
+
return _e(n) ? cn(n) : pn(n);
|
|
437
|
+
}
|
|
438
|
+
function Vn() {
|
|
439
|
+
return [];
|
|
440
|
+
}
|
|
441
|
+
function Qn() {
|
|
442
|
+
return !1;
|
|
443
|
+
}
|
|
444
|
+
r.exports = In;
|
|
445
|
+
})(bt, bt.exports);
|
|
446
|
+
var x = bt.exports, tt = function() {
|
|
447
|
+
return tt = Object.assign || function(t) {
|
|
448
|
+
for (var e, i = 1, s = arguments.length; i < s; i++) {
|
|
449
|
+
e = arguments[i];
|
|
450
|
+
for (var c in e) Object.prototype.hasOwnProperty.call(e, c) && (t[c] = e[c]);
|
|
451
|
+
}
|
|
452
|
+
return t;
|
|
453
|
+
}, tt.apply(this, arguments);
|
|
454
|
+
};
|
|
455
|
+
function kn(r, t, e, i) {
|
|
456
|
+
function s(c) {
|
|
457
|
+
return c instanceof e ? c : new e(function(u) {
|
|
458
|
+
u(c);
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
return new (e || (e = Promise))(function(c, u) {
|
|
462
|
+
function d(g) {
|
|
463
|
+
try {
|
|
464
|
+
f(i.next(g));
|
|
465
|
+
} catch (j) {
|
|
466
|
+
u(j);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
function p(g) {
|
|
470
|
+
try {
|
|
471
|
+
f(i.throw(g));
|
|
472
|
+
} catch (j) {
|
|
473
|
+
u(j);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
function f(g) {
|
|
477
|
+
g.done ? c(g.value) : s(g.value).then(d, p);
|
|
478
|
+
}
|
|
479
|
+
f((i = i.apply(r, [])).next());
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
function Dn(r, t) {
|
|
483
|
+
var e = { label: 0, sent: function() {
|
|
484
|
+
if (c[0] & 1) throw c[1];
|
|
485
|
+
return c[1];
|
|
486
|
+
}, trys: [], ops: [] }, i, s, c, u = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
|
|
487
|
+
return u.next = d(0), u.throw = d(1), u.return = d(2), typeof Symbol == "function" && (u[Symbol.iterator] = function() {
|
|
488
|
+
return this;
|
|
489
|
+
}), u;
|
|
490
|
+
function d(f) {
|
|
491
|
+
return function(g) {
|
|
492
|
+
return p([f, g]);
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
function p(f) {
|
|
496
|
+
if (i) throw new TypeError("Generator is already executing.");
|
|
497
|
+
for (; u && (u = 0, f[0] && (e = 0)), e; ) try {
|
|
498
|
+
if (i = 1, s && (c = f[0] & 2 ? s.return : f[0] ? s.throw || ((c = s.return) && c.call(s), 0) : s.next) && !(c = c.call(s, f[1])).done) return c;
|
|
499
|
+
switch (s = 0, c && (f = [f[0] & 2, c.value]), f[0]) {
|
|
500
|
+
case 0:
|
|
501
|
+
case 1:
|
|
502
|
+
c = f;
|
|
503
|
+
break;
|
|
504
|
+
case 4:
|
|
505
|
+
return e.label++, { value: f[1], done: !1 };
|
|
506
|
+
case 5:
|
|
507
|
+
e.label++, s = f[1], f = [0];
|
|
508
|
+
continue;
|
|
509
|
+
case 7:
|
|
510
|
+
f = e.ops.pop(), e.trys.pop();
|
|
511
|
+
continue;
|
|
512
|
+
default:
|
|
513
|
+
if (c = e.trys, !(c = c.length > 0 && c[c.length - 1]) && (f[0] === 6 || f[0] === 2)) {
|
|
514
|
+
e = 0;
|
|
515
|
+
continue;
|
|
516
|
+
}
|
|
517
|
+
if (f[0] === 3 && (!c || f[1] > c[0] && f[1] < c[3])) {
|
|
518
|
+
e.label = f[1];
|
|
519
|
+
break;
|
|
520
|
+
}
|
|
521
|
+
if (f[0] === 6 && e.label < c[1]) {
|
|
522
|
+
e.label = c[1], c = f;
|
|
523
|
+
break;
|
|
524
|
+
}
|
|
525
|
+
if (c && e.label < c[2]) {
|
|
526
|
+
e.label = c[2], e.ops.push(f);
|
|
527
|
+
break;
|
|
528
|
+
}
|
|
529
|
+
c[2] && e.ops.pop(), e.trys.pop();
|
|
530
|
+
continue;
|
|
531
|
+
}
|
|
532
|
+
f = t.call(r, e);
|
|
533
|
+
} catch (g) {
|
|
534
|
+
f = [6, g], s = 0;
|
|
535
|
+
} finally {
|
|
536
|
+
i = c = 0;
|
|
537
|
+
}
|
|
538
|
+
if (f[0] & 5) throw f[1];
|
|
539
|
+
return { value: f[0] ? f[1] : void 0, done: !0 };
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
function et(r, t, e, i, s) {
|
|
543
|
+
return kn(this, void 0, void 0, function() {
|
|
544
|
+
var c, u;
|
|
545
|
+
return Dn(this, function(d) {
|
|
546
|
+
switch (d.label) {
|
|
547
|
+
case 0:
|
|
548
|
+
if (e === void 0)
|
|
549
|
+
return [
|
|
550
|
+
2
|
|
551
|
+
/*return*/
|
|
552
|
+
];
|
|
553
|
+
u = 0, d.label = 1;
|
|
554
|
+
case 1:
|
|
555
|
+
return u < e.length ? [4, e[u](r, t, i, s, e)] : [3, 4];
|
|
556
|
+
case 2:
|
|
557
|
+
if (c = d.sent(), c === "canceled")
|
|
558
|
+
return [3, 4];
|
|
559
|
+
d.label = 3;
|
|
560
|
+
case 3:
|
|
561
|
+
return u++, [3, 1];
|
|
562
|
+
case 4:
|
|
563
|
+
return c !== "canceled" ? [2, c] : [
|
|
564
|
+
2
|
|
565
|
+
/*return*/
|
|
566
|
+
];
|
|
567
|
+
}
|
|
568
|
+
});
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
var At = function(r, t) {
|
|
572
|
+
return t === void 0 && (t = {}), r ? {
|
|
573
|
+
trackedAnalytics: tt(tt({ sdkCode: r.sdkCode, sdkSemver: r.sdkSemver, techVersion: r.techVersion }, r.product !== void 0 && { product: r.product }), t)
|
|
574
|
+
} : null;
|
|
575
|
+
}, qn = (
|
|
576
|
+
/** @class */
|
|
577
|
+
(function() {
|
|
578
|
+
function r(t, e, i, s) {
|
|
579
|
+
var c = this;
|
|
580
|
+
this.isMounted = !0, this.imgElement = t, this.htmlPluginState = { cleanupCallbacks: [], pluginEventSubscription: [] };
|
|
581
|
+
var u = x(e);
|
|
582
|
+
et(t, u, i, this.htmlPluginState, s).then(function(d) {
|
|
583
|
+
if (c.isMounted) {
|
|
584
|
+
c.htmlPluginState.pluginEventSubscription.forEach(function(f) {
|
|
585
|
+
f();
|
|
586
|
+
});
|
|
587
|
+
var p = At(s, d);
|
|
588
|
+
c.imgElement.setAttribute("src", u.toURL(p));
|
|
589
|
+
}
|
|
590
|
+
});
|
|
591
|
+
}
|
|
592
|
+
return r.prototype.update = function(t, e, i) {
|
|
593
|
+
var s = this, c = x(t);
|
|
594
|
+
et(this.imgElement, c, e, this.htmlPluginState).then(function(u) {
|
|
595
|
+
if (s.isMounted) {
|
|
596
|
+
var d = At(i, u);
|
|
597
|
+
s.imgElement.setAttribute("src", c.toURL(d));
|
|
598
|
+
}
|
|
599
|
+
});
|
|
600
|
+
}, r.prototype.unmount = function() {
|
|
601
|
+
this.isMounted = !1;
|
|
602
|
+
}, r;
|
|
603
|
+
})()
|
|
604
|
+
);
|
|
605
|
+
class m {
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @param {QualifierValue | QualifierValue[] | any[] | string | number}qualifierValue
|
|
609
|
+
*/
|
|
610
|
+
constructor(t) {
|
|
611
|
+
this.values = [], this.delimiter = ":", this.hasValue(t) && this.addValue(t);
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* @description Joins the provided values with the provided delimiter
|
|
615
|
+
*/
|
|
616
|
+
toString() {
|
|
617
|
+
return this.values.join(this.delimiter);
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* @description Checks if the provided argument has a value
|
|
621
|
+
* @param {any} v
|
|
622
|
+
* @private
|
|
623
|
+
* @return {boolean}
|
|
624
|
+
*/
|
|
625
|
+
hasValue(t) {
|
|
626
|
+
return typeof t < "u" && t !== null && t !== "";
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* @desc Adds a value for the this qualifier instance
|
|
630
|
+
* @param {any} value
|
|
631
|
+
* @return {this}
|
|
632
|
+
*/
|
|
633
|
+
addValue(t) {
|
|
634
|
+
return Array.isArray(t) ? this.values = this.values.concat(t) : this.values.push(t), this.values = this.values.filter((e) => this.hasValue(e)), this;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* @description Sets the delimiter for this instance
|
|
638
|
+
* @param delimiter
|
|
639
|
+
*/
|
|
640
|
+
setDelimiter(t) {
|
|
641
|
+
return this.delimiter = t, this;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
class zn extends Error {
|
|
645
|
+
constructor(t = "Unsupported") {
|
|
646
|
+
super(t);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
function Et(r) {
|
|
650
|
+
return new zn(r);
|
|
651
|
+
}
|
|
652
|
+
function Un() {
|
|
653
|
+
return this._qualifierModel || { error: Et(`unsupported qualifier ${this.constructor.name}`) };
|
|
654
|
+
}
|
|
655
|
+
class Nn {
|
|
656
|
+
constructor() {
|
|
657
|
+
this._qualifierModel = {};
|
|
658
|
+
}
|
|
659
|
+
toJson() {
|
|
660
|
+
return Un.apply(this);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
class h extends Nn {
|
|
664
|
+
constructor(t, e) {
|
|
665
|
+
super(), this.delimiter = "_", this.key = t, e instanceof m ? this.qualifierValue = e : (this.qualifierValue = new m(), this.qualifierValue.addValue(e));
|
|
666
|
+
}
|
|
667
|
+
toString() {
|
|
668
|
+
const { key: t, delimiter: e, qualifierValue: i } = this;
|
|
669
|
+
return `${t}${e}${i.toString()}`;
|
|
670
|
+
}
|
|
671
|
+
addValue(t) {
|
|
672
|
+
return this.qualifierValue.addValue(t), this;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
class b extends h {
|
|
676
|
+
constructor(t, e) {
|
|
677
|
+
let i;
|
|
678
|
+
e ? i = new m([t, `${e}`]).setDelimiter(":") : i = t, super("fl", i), this.flagValue = e;
|
|
679
|
+
}
|
|
680
|
+
toString() {
|
|
681
|
+
return super.toString().replace(/\./g, "%2E");
|
|
682
|
+
}
|
|
683
|
+
getFlagValue() {
|
|
684
|
+
return this.flagValue;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
function Jn(r, t) {
|
|
688
|
+
const e = Array.from(r.entries());
|
|
689
|
+
return t.forEach((i) => {
|
|
690
|
+
e.push(["fl", i]);
|
|
691
|
+
}), e.sort().map((i) => i[1]);
|
|
692
|
+
}
|
|
693
|
+
function Hn() {
|
|
694
|
+
var r, t, e;
|
|
695
|
+
const i = this._actionModel && Object.keys(this._actionModel).length, s = (e = (t = (r = this._actionModel) === null || r === void 0 ? void 0 : r.source) === null || t === void 0 ? void 0 : t.transformation) === null || e === void 0 ? void 0 : e.error;
|
|
696
|
+
return s && s instanceof Error ? { error: s } : i ? this._actionModel : { error: Et(`unsupported action ${this.constructor.name}`) };
|
|
697
|
+
}
|
|
698
|
+
class Yn {
|
|
699
|
+
constructor() {
|
|
700
|
+
this._actionModel = {};
|
|
701
|
+
}
|
|
702
|
+
toJson() {
|
|
703
|
+
return Hn.apply(this);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
class A extends Yn {
|
|
707
|
+
constructor() {
|
|
708
|
+
super(...arguments), this.qualifiers = /* @__PURE__ */ new Map(), this.flags = [], this.delimiter = ",", this.actionTag = "";
|
|
709
|
+
}
|
|
710
|
+
prepareQualifiers() {
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* @description Returns the custom name tag that was given to this action
|
|
714
|
+
* @return {string}
|
|
715
|
+
*/
|
|
716
|
+
getActionTag() {
|
|
717
|
+
return this.actionTag;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* @description Sets the custom name tag for this action
|
|
721
|
+
* @return {this}
|
|
722
|
+
*/
|
|
723
|
+
setActionTag(t) {
|
|
724
|
+
return this.actionTag = t, this;
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* @description Calls toString() on all child qualifiers (implicitly by using .join()).
|
|
728
|
+
* @return {string}
|
|
729
|
+
*/
|
|
730
|
+
toString() {
|
|
731
|
+
return this.prepareQualifiers(), Jn(this.qualifiers, this.flags).join(this.delimiter);
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
* @description Adds the parameter to the action.
|
|
735
|
+
* @param {SDK.Qualifier} qualifier
|
|
736
|
+
* @return {this}
|
|
737
|
+
*/
|
|
738
|
+
addQualifier(t) {
|
|
739
|
+
if (typeof t == "string") {
|
|
740
|
+
const [e, i] = t.toLowerCase().split("_");
|
|
741
|
+
e === "fl" ? this.flags.push(new b(i)) : this.qualifiers.set(e, new h(e, i));
|
|
742
|
+
} else
|
|
743
|
+
this.qualifiers.set(t.key, t);
|
|
744
|
+
return this;
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
* @description Adds a flag to the current action.
|
|
748
|
+
* @param {Qualifiers.Flag} flag
|
|
749
|
+
* @return {this}
|
|
750
|
+
*/
|
|
751
|
+
addFlag(t) {
|
|
752
|
+
return typeof t == "string" ? this.flags.push(new b(t)) : t instanceof b && this.flags.push(t), this;
|
|
753
|
+
}
|
|
754
|
+
addValueToQualifier(t, e) {
|
|
755
|
+
return this.qualifiers.get(t).addValue(e), this;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
class St extends A {
|
|
759
|
+
constructor(t) {
|
|
760
|
+
super(), this.regionType = t, this._actionModel.regionType = t;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
class nt extends St {
|
|
764
|
+
constructor() {
|
|
765
|
+
super("custom");
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* @description The x position in pixels.
|
|
769
|
+
* @param {number | string} x
|
|
770
|
+
*/
|
|
771
|
+
x(t) {
|
|
772
|
+
return this._actionModel.x = t, this.addQualifier(new h("x", t)), this;
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* @description The y position in pixels.
|
|
776
|
+
* @param {number | string} y
|
|
777
|
+
*/
|
|
778
|
+
y(t) {
|
|
779
|
+
return this._actionModel.y = t, this.addQualifier(new h("y", t)), this;
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* @description The width of the region in pixels.
|
|
783
|
+
* @param {number | string} width
|
|
784
|
+
*/
|
|
785
|
+
width(t) {
|
|
786
|
+
return this._actionModel.width = t, this.addQualifier(new h("w", t)), this;
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* @description The height of the region in pixels.
|
|
790
|
+
* @param {number | string} height
|
|
791
|
+
*/
|
|
792
|
+
height(t) {
|
|
793
|
+
return this._actionModel.height = t, this.addQualifier(new h("h", t)), this;
|
|
794
|
+
}
|
|
795
|
+
static fromJson(t) {
|
|
796
|
+
const e = new nt();
|
|
797
|
+
return t.width && e.width(t.width), t.height && e.height(t.height), t.x && e.x(t.x), t.y && e.y(t.y), e;
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
function Wn() {
|
|
801
|
+
return new nt();
|
|
802
|
+
}
|
|
803
|
+
function Re() {
|
|
804
|
+
return new St("faces");
|
|
805
|
+
}
|
|
806
|
+
function Kn() {
|
|
807
|
+
return new St("ocr_text");
|
|
808
|
+
}
|
|
809
|
+
class Xn extends A {
|
|
810
|
+
constructor(t) {
|
|
811
|
+
super(), this._actionModel = {}, this._strength = t, this._actionModel.actionType = "blur", this._actionModel.strength = t;
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* @description Specifies the region to blur.
|
|
815
|
+
* @param {NamedRegion} blurRegion
|
|
816
|
+
*/
|
|
817
|
+
region(t) {
|
|
818
|
+
return this._region = t, this._actionModel.region = t.toJson(), this;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* @description Sets the strength of the blur effect.
|
|
822
|
+
* @param {number | string} strength
|
|
823
|
+
*/
|
|
824
|
+
strength(t) {
|
|
825
|
+
return this._strength = t, this._actionModel.strength = t, this;
|
|
826
|
+
}
|
|
827
|
+
prepareQualifiers() {
|
|
828
|
+
const t = this._strength ? `:${this._strength}` : "";
|
|
829
|
+
"_region" in this ? (this._region.qualifiers.forEach((i) => this.addQualifier(i)), this._region.regionType === "custom" && this.addQualifier(new h("e", `blur_region${t}`)), this._region.regionType === "ocr_text" && (this.addQualifier(new h("e", `blur_region${t}`)), this.addQualifier(new h("g", "ocr_text"))), this._region.regionType === "faces" && this.addQualifier(new h("e", `blur_faces${t}`))) : this.addQualifier(new h("e", `blur${t}`));
|
|
830
|
+
}
|
|
831
|
+
static fromJson(t) {
|
|
832
|
+
const { strength: e, region: i } = t, s = new this(e);
|
|
833
|
+
return e && s.strength(e), i && i.regionType === "faces" && s.region(Re()), i && i.regionType === "ocr_text" && s.region(Kn()), i && i.regionType === "custom" && s.region(nt.fromJson(i)), s;
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
function R(r) {
|
|
837
|
+
const t = {};
|
|
838
|
+
return Object.keys(r).forEach((e) => {
|
|
839
|
+
t[r[e]] = e;
|
|
840
|
+
}), t;
|
|
841
|
+
}
|
|
842
|
+
const je = {
|
|
843
|
+
limitFit: "limit",
|
|
844
|
+
limitFill: "lfill",
|
|
845
|
+
minimumFit: "mfit",
|
|
846
|
+
thumbnail: "thumb",
|
|
847
|
+
limitPad: "lpad",
|
|
848
|
+
minimumPad: "mpad",
|
|
849
|
+
autoPad: "auto_pad"
|
|
850
|
+
}, Zn = {
|
|
851
|
+
colorSpace: "cs",
|
|
852
|
+
dpr: "dpr",
|
|
853
|
+
density: "dn",
|
|
854
|
+
defaultImage: "d",
|
|
855
|
+
format: "f",
|
|
856
|
+
quality: "q"
|
|
857
|
+
}, Pe = {
|
|
858
|
+
redEye: "redeye",
|
|
859
|
+
advancedRedEye: "adv_redeye",
|
|
860
|
+
oilPaint: "oil_paint",
|
|
861
|
+
unsharpMask: "unsharp_mask",
|
|
862
|
+
makeTransparent: "make_transparent",
|
|
863
|
+
generativeRestore: "gen_restore",
|
|
864
|
+
upscale: "upscale"
|
|
865
|
+
}, $e = {
|
|
866
|
+
autoBest: "auto:best",
|
|
867
|
+
autoEco: "auto:eco",
|
|
868
|
+
autoGood: "auto:good",
|
|
869
|
+
autoLow: "auto:low",
|
|
870
|
+
jpegminiHigh: "jpegmini:1",
|
|
871
|
+
jpegminiMedium: "jpegmini:2",
|
|
872
|
+
jpegminiBest: "jpegmini:0"
|
|
873
|
+
}, ti = {
|
|
874
|
+
fullHd: "full_hd",
|
|
875
|
+
fullHdWifi: "full_hd_wifi",
|
|
876
|
+
fullHdLean: "full_hd_lean",
|
|
877
|
+
hdLean: "hd_lean"
|
|
878
|
+
}, Fe = {
|
|
879
|
+
444: "CHROMA_444",
|
|
880
|
+
420: "CHROMA_420"
|
|
881
|
+
}, ei = {
|
|
882
|
+
noCmyk: "no_cmyk",
|
|
883
|
+
keepCmyk: "keep_cmyk",
|
|
884
|
+
tinySrgb: "tinysrgb",
|
|
885
|
+
srgbTrueColor: "srgb:truecolor"
|
|
886
|
+
}, ri = R(Fe);
|
|
887
|
+
R(ei);
|
|
888
|
+
const ni = R(je), ii = R(Zn), Ve = R(Pe);
|
|
889
|
+
R($e);
|
|
890
|
+
R(ti);
|
|
891
|
+
class Qe extends A {
|
|
892
|
+
constructor(t, e) {
|
|
893
|
+
super(), this._actionModel = {}, this._actionModel.actionType = Ve[t] || t;
|
|
894
|
+
const i = this.createEffectQualifier(t, e);
|
|
895
|
+
this.addQualifier(i);
|
|
896
|
+
}
|
|
897
|
+
createEffectQualifier(t, e) {
|
|
898
|
+
let i;
|
|
899
|
+
return e ? i = new m([t, `${e}`]).setDelimiter(":") : i = new m(t), new h("e", i);
|
|
900
|
+
}
|
|
901
|
+
static fromJson(t) {
|
|
902
|
+
const { actionType: e, level: i, strength: s } = t, c = Pe[e] || e;
|
|
903
|
+
return new this(c, i || s);
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
class oi extends Qe {
|
|
907
|
+
constructor(t, e) {
|
|
908
|
+
super(t, e), this.LEVEL_NAME = "level", this._actionModel = {}, this.effectType = t, this._actionModel.actionType = Ve[t] || t, e && this.setLevel(e);
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
912
|
+
* @description Sets the effect level for the action
|
|
913
|
+
* @param {string | number} level - The strength of the effect
|
|
914
|
+
* @protected
|
|
915
|
+
*/
|
|
916
|
+
setLevel(t) {
|
|
917
|
+
this._actionModel[this.LEVEL_NAME] = t;
|
|
918
|
+
const e = this.createEffectQualifier(this.effectType, t);
|
|
919
|
+
return this.addQualifier(e), this;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
function it(r) {
|
|
923
|
+
return r && (r.match(/^#/) ? `rgb:${r.substr(1)}` : r);
|
|
924
|
+
}
|
|
925
|
+
class si extends A {
|
|
926
|
+
constructor() {
|
|
927
|
+
super(), this._actionModel = {}, this._actionModel.actionType = "vectorize";
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* @description The number of colors. (Range: 2 to 30, Server default: 10)
|
|
931
|
+
* @param {number | string} num
|
|
932
|
+
* @return {this}
|
|
933
|
+
*/
|
|
934
|
+
numOfColors(t) {
|
|
935
|
+
return this._actionModel.numOfColors = t, this._numOfColors = t, this;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* @description The level of detail. Specify either a percentage of the original image (Range: 0.0 to 1.0) or an absolute number of pixels (Range: 0 to 1000). (Server default: 300)
|
|
939
|
+
* @param {number | string} num
|
|
940
|
+
* @return {this}
|
|
941
|
+
*/
|
|
942
|
+
detailsLevel(t) {
|
|
943
|
+
return this._actionModel.detailLevel = t, this._detailsLevel = t, this;
|
|
944
|
+
}
|
|
945
|
+
/**
|
|
946
|
+
* @description The size of speckles to suppress. Specify either a percentage of the original image (Range: 0.0 to 1.0) or an absolute number of pixels (Range: 0 to 100, Server default: 2)
|
|
947
|
+
* @param {number | string} num
|
|
948
|
+
* @return {this}
|
|
949
|
+
*/
|
|
950
|
+
despeckleLevel(t) {
|
|
951
|
+
return this._actionModel.despeckleLevel = t, this._despeckleLevel = t, this;
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* @description The corner threshold. Specify 100 for no smoothing (polygon corners), 0 for completely smooth corners. (Range: 0 to 100, Default: 25)
|
|
955
|
+
* @param {number | string} num
|
|
956
|
+
* @return {this}
|
|
957
|
+
*/
|
|
958
|
+
cornersLevel(t) {
|
|
959
|
+
return this._actionModel.cornersLevel = t, this._cornersLevel = t, this;
|
|
960
|
+
}
|
|
961
|
+
/**
|
|
962
|
+
* @description The optimization value. Specify 100 for least optimization and the largest file. (Range: 0 to 100, Server default: 100).
|
|
963
|
+
* @param {number} num
|
|
964
|
+
* @return {this}
|
|
965
|
+
*/
|
|
966
|
+
paths(t) {
|
|
967
|
+
return this._actionModel.paths = t, this._paths = t, this;
|
|
968
|
+
}
|
|
969
|
+
prepareQualifiers() {
|
|
970
|
+
let t = "vectorize";
|
|
971
|
+
this._numOfColors && (t += `:${new m(`colors:${this._numOfColors}`).toString()}`), this._detailsLevel && (t += `:${new m(`detail:${this._detailsLevel}`).toString()}`), this._despeckleLevel && (t += `:${new m(`despeckle:${this._despeckleLevel}`).toString()}`), this._paths && (t += `:${new m(`paths:${this._paths}`).toString()}`), this._cornersLevel && (t += `:${new m(`corners:${this._cornersLevel}`).toString()}`), this.addQualifier(new h("e", t));
|
|
972
|
+
}
|
|
973
|
+
static fromJson(t) {
|
|
974
|
+
const { actionType: e, paths: i, cornersLevel: s, despeckleLevel: c, detailLevel: u, numOfColors: d } = t, p = new this();
|
|
975
|
+
return i && p.paths(i), s && p.cornersLevel(s), c && p.despeckleLevel(c), u && p.detailsLevel(u), d && p.numOfColors(d), p;
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
class ai extends oi {
|
|
979
|
+
level(t) {
|
|
980
|
+
return this._actionModel.level = t, this.setLevel(t);
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
class ci extends A {
|
|
984
|
+
constructor() {
|
|
985
|
+
super(), this._actionModel = {}, this._actionModel.actionType = "assistColorblind", this.addQualifier(new h("e", new m("assist_colorblind")));
|
|
986
|
+
}
|
|
987
|
+
/**
|
|
988
|
+
* @description Replaces problematic colors with colors that are easier to differentiate.
|
|
989
|
+
* @return {this}
|
|
990
|
+
*/
|
|
991
|
+
xray() {
|
|
992
|
+
return this._actionModel.type = "xray", this.addQualifier(new h("e", new m(["assist_colorblind", "xray"]).setDelimiter(":")));
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* @description Applies stripes of the specified intensity to help people with common color blind conditions to differentiate between colors that are similar for them.
|
|
996
|
+
* @param {number | string} strength The intensity of the stripes. (Range: 1 to 100, Server default: 10)
|
|
997
|
+
* @return {this}
|
|
998
|
+
*/
|
|
999
|
+
stripesStrength(t) {
|
|
1000
|
+
return this._actionModel.type = "stripes", this._actionModel.stripesStrength = t, this.addQualifier(new h("e", new m(["assist_colorblind", t]).setDelimiter(":")));
|
|
1001
|
+
}
|
|
1002
|
+
static fromJson(t) {
|
|
1003
|
+
const { actionType: e, type: i, stripesStrength: s } = t, c = new this();
|
|
1004
|
+
return i === "xray" && c.xray(), i === "stripes" && s && c.stripesStrength(s), c;
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
class ui extends ai {
|
|
1008
|
+
/**
|
|
1009
|
+
* @description The color to use for colorization. Specify HTML name or RGB hex code. (Server default: gray)
|
|
1010
|
+
* @param {string} color HTML name(red, green, etc.) or RGB hex code. (Server default: gray)
|
|
1011
|
+
* @return {this}
|
|
1012
|
+
*/
|
|
1013
|
+
color(t) {
|
|
1014
|
+
return this._actionModel.color = t, this.addQualifier(new h("co", new m(it(t))));
|
|
1015
|
+
}
|
|
1016
|
+
static fromJson(t) {
|
|
1017
|
+
const { actionType: e, level: i, color: s } = t, c = new this(e, i);
|
|
1018
|
+
return s && c.color(s), c;
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
class li extends A {
|
|
1022
|
+
constructor(t) {
|
|
1023
|
+
super(), this._actionModel = {}, this._squareSize = t, this._actionModel.actionType = "pixelate", this._actionModel.squareSize = t;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* @description Specifies the region to piexlate.
|
|
1027
|
+
* @param {NamedRegion} pixelateRegion
|
|
1028
|
+
*/
|
|
1029
|
+
region(t) {
|
|
1030
|
+
return this._region = t, this._actionModel.region = { regionType: this._region.regionType }, this;
|
|
1031
|
+
}
|
|
1032
|
+
/**
|
|
1033
|
+
* @description Sets the squareSize of the pixelate effect.
|
|
1034
|
+
* @param {number | string} squareSize
|
|
1035
|
+
*/
|
|
1036
|
+
squareSize(t) {
|
|
1037
|
+
return this._squareSize = t, this._actionModel.squareSize = t, this;
|
|
1038
|
+
}
|
|
1039
|
+
prepareQualifiers() {
|
|
1040
|
+
const t = this._squareSize ? `:${this._squareSize}` : "";
|
|
1041
|
+
"_region" in this ? (this._region.qualifiers.forEach((i) => this.addQualifier(i)), this._region.regionType === "custom" && this.addQualifier(new h("e", `pixelate_region${t}`)), this._region.regionType === "ocr_text" && (this.addQualifier(new h("e", `pixelate_region${t}`)), this.addQualifier(new h("g", "ocr_text"))), this._region.regionType === "faces" && this.addQualifier(new h("e", `pixelate_faces${t}`))) : this.addQualifier(new h("e", `pixelate${t}`));
|
|
1042
|
+
}
|
|
1043
|
+
static fromJson(t) {
|
|
1044
|
+
const { region: e, squareSize: i } = t, s = new this(i);
|
|
1045
|
+
return i && s.squareSize(i), e && e.regionType === "faces" && s.region(Re()), e && e.regionType === "custom" && s.region(Wn()), s;
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
const fi = (r) => _i(encodeURIComponent, pi, gi)(r), di = /[!'()*~_.-]/g, hi = {
|
|
1049
|
+
"!": "%21",
|
|
1050
|
+
"'": "%27",
|
|
1051
|
+
"(": "%28",
|
|
1052
|
+
")": "%29",
|
|
1053
|
+
"*": "%2A",
|
|
1054
|
+
"~": "%7E",
|
|
1055
|
+
_: "%5F",
|
|
1056
|
+
".": "%2E",
|
|
1057
|
+
"-": "%2D"
|
|
1058
|
+
}, pi = (r) => r.replace(di, (t) => {
|
|
1059
|
+
var e;
|
|
1060
|
+
return (e = hi[t]) !== null && e !== void 0 ? e : t;
|
|
1061
|
+
}), gi = (r) => r.replace(/%20/g, " "), _i = (...r) => (t) => r.reduce((e, i) => i(e), t);
|
|
1062
|
+
function mi(r) {
|
|
1063
|
+
return new Xn(r);
|
|
1064
|
+
}
|
|
1065
|
+
function yi() {
|
|
1066
|
+
return new Qe("grayscale");
|
|
1067
|
+
}
|
|
1068
|
+
function Ae(r) {
|
|
1069
|
+
return new ui("colorize", r);
|
|
1070
|
+
}
|
|
1071
|
+
function vi() {
|
|
1072
|
+
return new si();
|
|
1073
|
+
}
|
|
1074
|
+
function wi() {
|
|
1075
|
+
return new ci();
|
|
1076
|
+
}
|
|
1077
|
+
function bi(r) {
|
|
1078
|
+
return new li(r);
|
|
1079
|
+
}
|
|
1080
|
+
class Ai extends A {
|
|
1081
|
+
constructor(t) {
|
|
1082
|
+
super(), this._actionModel = {}, this.addQualifier(new h("b", new m(it(t)).setDelimiter("_"))), this._actionModel.color = t, this._actionModel.actionType = "backgroundColor";
|
|
1083
|
+
}
|
|
1084
|
+
static fromJson(t) {
|
|
1085
|
+
const { color: e } = t;
|
|
1086
|
+
return new this(e);
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
class Oe {
|
|
1090
|
+
constructor(t) {
|
|
1091
|
+
this.raw = t;
|
|
1092
|
+
}
|
|
1093
|
+
toString() {
|
|
1094
|
+
return this.raw;
|
|
1095
|
+
}
|
|
1096
|
+
toJson() {
|
|
1097
|
+
return { error: Et(`unsupported action ${this.constructor.name}`) };
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
function Oi(r) {
|
|
1101
|
+
const t = r;
|
|
1102
|
+
return "error" in t && !!t.error;
|
|
1103
|
+
}
|
|
1104
|
+
function Ti() {
|
|
1105
|
+
return new b("ignore_aspect_ratio");
|
|
1106
|
+
}
|
|
1107
|
+
function Ei() {
|
|
1108
|
+
return new b("lossy");
|
|
1109
|
+
}
|
|
1110
|
+
function Si() {
|
|
1111
|
+
return new b("preserve_transparency");
|
|
1112
|
+
}
|
|
1113
|
+
function Mi(r) {
|
|
1114
|
+
return new b("progressive", r);
|
|
1115
|
+
}
|
|
1116
|
+
function xi() {
|
|
1117
|
+
return new b("region_relative");
|
|
1118
|
+
}
|
|
1119
|
+
function Ci() {
|
|
1120
|
+
return new b("relative");
|
|
1121
|
+
}
|
|
1122
|
+
class Mt extends m {
|
|
1123
|
+
constructor(t) {
|
|
1124
|
+
super(t), this.val = t;
|
|
1125
|
+
}
|
|
1126
|
+
getValue() {
|
|
1127
|
+
return this.val;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
class Be extends A {
|
|
1131
|
+
/**
|
|
1132
|
+
* @param {string} deliveryKey A generic Delivery Action Key (such as q, f, dn, etc.)
|
|
1133
|
+
* @param {string} deliveryType A Format Qualifiers for the action, such as Quality.auto()
|
|
1134
|
+
* @param {string} modelProperty internal model property of the action, for example quality uses `level` while dpr uses `density`
|
|
1135
|
+
* @see Visit {@link Actions.Delivery|Delivery} for an example
|
|
1136
|
+
*/
|
|
1137
|
+
constructor(t, e, i) {
|
|
1138
|
+
super(), this._actionModel = {};
|
|
1139
|
+
let s;
|
|
1140
|
+
e instanceof Mt ? s = e.getValue() : s = e, this._actionModel.actionType = ii[t], this._actionModel[i] = s, this.addQualifier(new h(t, e));
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
class Li extends b {
|
|
1144
|
+
constructor(t) {
|
|
1145
|
+
super("progressive", t);
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
class Ot extends Be {
|
|
1149
|
+
constructor(t, e) {
|
|
1150
|
+
super(t, e, "formatType");
|
|
1151
|
+
}
|
|
1152
|
+
/**
|
|
1153
|
+
* @description Uses lossy compression when delivering animated GIF files.
|
|
1154
|
+
* @return {this}
|
|
1155
|
+
*/
|
|
1156
|
+
lossy() {
|
|
1157
|
+
return this._actionModel.lossy = !0, this.addFlag(Ei()), this;
|
|
1158
|
+
}
|
|
1159
|
+
/**
|
|
1160
|
+
* @description Uses progressive compression when delivering JPG file format.
|
|
1161
|
+
* @return {this}
|
|
1162
|
+
*/
|
|
1163
|
+
progressive(t) {
|
|
1164
|
+
return t instanceof Li ? (this._actionModel.progressive = { mode: t.getFlagValue() }, this.addFlag(t)) : (this._actionModel.progressive = { mode: t }, this.addFlag(Mi(t))), this;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* @description Ensures that images with a transparency channel are delivered in PNG format.
|
|
1168
|
+
*/
|
|
1169
|
+
preserveTransparency() {
|
|
1170
|
+
return this._actionModel.preserveTransparency = !0, this.addFlag(Si()), this;
|
|
1171
|
+
}
|
|
1172
|
+
static fromJson(t) {
|
|
1173
|
+
const { formatType: e, lossy: i, progressive: s, preserveTransparency: c } = t;
|
|
1174
|
+
let u;
|
|
1175
|
+
return e ? u = new this("f", e) : u = new this("f"), s && (s.mode ? u.progressive(s.mode) : u.progressive()), i && u.lossy(), c && u.preserveTransparency(), u;
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
class k {
|
|
1179
|
+
constructor() {
|
|
1180
|
+
this.actions = [];
|
|
1181
|
+
}
|
|
1182
|
+
/**
|
|
1183
|
+
* @param {SDK.Action | string} action
|
|
1184
|
+
* @return {this}
|
|
1185
|
+
*/
|
|
1186
|
+
addAction(t) {
|
|
1187
|
+
let e;
|
|
1188
|
+
if (typeof t == "string") {
|
|
1189
|
+
if (t.indexOf("/") >= 0)
|
|
1190
|
+
throw "addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";
|
|
1191
|
+
e = new Oe(t);
|
|
1192
|
+
} else
|
|
1193
|
+
e = t;
|
|
1194
|
+
return this.actions.push(e), this;
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* @description Allows the injection of a raw transformation as a string into the transformation, or a Transformation instance that was previously created
|
|
1198
|
+
* @param {string | SDK.Transformation} tx
|
|
1199
|
+
* @example
|
|
1200
|
+
* import {Transformation} from "@cloudinary/url-gen";
|
|
1201
|
+
*
|
|
1202
|
+
* const transformation = new Transformation();
|
|
1203
|
+
* transformation.addTransformation('w_100/w_200/w_300');
|
|
1204
|
+
* @return {this}
|
|
1205
|
+
*/
|
|
1206
|
+
addTransformation(t) {
|
|
1207
|
+
return t instanceof k ? this.actions = this.actions.concat(t.actions) : this.actions.push(new Oe(t)), this;
|
|
1208
|
+
}
|
|
1209
|
+
/**
|
|
1210
|
+
* @return {string}
|
|
1211
|
+
*/
|
|
1212
|
+
toString() {
|
|
1213
|
+
return this.actions.map((t) => t.toString()).filter((t) => t).join("/");
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* @description Delivers an animated GIF.
|
|
1217
|
+
* @param {AnimatedAction} animatedAction
|
|
1218
|
+
* @return {this}
|
|
1219
|
+
*/
|
|
1220
|
+
animated(t) {
|
|
1221
|
+
return this.addAction(t);
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* @description Adds a border around the image.
|
|
1225
|
+
* @param {Border} borderAction
|
|
1226
|
+
* @return {this}
|
|
1227
|
+
*/
|
|
1228
|
+
border(t) {
|
|
1229
|
+
return this.addAction(t);
|
|
1230
|
+
}
|
|
1231
|
+
/**
|
|
1232
|
+
* @description Adjusts the shape of the delivered image. </br>
|
|
1233
|
+
* <b>Learn more:</b> {@link https://cloudinary.com/documentation/effects_and_artistic_enhancements#distort|Shape changes and distortion effects}
|
|
1234
|
+
* @param {IReshape} reshapeAction
|
|
1235
|
+
* @return {this}
|
|
1236
|
+
*/
|
|
1237
|
+
reshape(t) {
|
|
1238
|
+
return this.addAction(t);
|
|
1239
|
+
}
|
|
1240
|
+
/**
|
|
1241
|
+
* @description Resize the asset using provided resize action
|
|
1242
|
+
* @param {ResizeSimpleAction} resizeAction
|
|
1243
|
+
* @return {this}
|
|
1244
|
+
*/
|
|
1245
|
+
resize(t) {
|
|
1246
|
+
return this.addAction(t);
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
* @desc An alias to Action Delivery.quality
|
|
1250
|
+
* @param {string|number} quality
|
|
1251
|
+
* @return {this}
|
|
1252
|
+
*/
|
|
1253
|
+
quality(t) {
|
|
1254
|
+
return this.addAction(new Ot("q", t)), this;
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* @desc An alias to Action Delivery.format
|
|
1258
|
+
* @param {string} format
|
|
1259
|
+
* @return {this}
|
|
1260
|
+
*/
|
|
1261
|
+
format(t) {
|
|
1262
|
+
return this.addAction(new Ot("f", t)), this;
|
|
1263
|
+
}
|
|
1264
|
+
/**
|
|
1265
|
+
* @description Rounds the specified corners of an image.
|
|
1266
|
+
* @param roundCornersAction
|
|
1267
|
+
* @return {this}
|
|
1268
|
+
*/
|
|
1269
|
+
roundCorners(t) {
|
|
1270
|
+
return this.addAction(t);
|
|
1271
|
+
}
|
|
1272
|
+
/**
|
|
1273
|
+
* @description Adds an overlay over the base image.
|
|
1274
|
+
* @param {LayerAction} overlayAction
|
|
1275
|
+
* @return {this}
|
|
1276
|
+
*/
|
|
1277
|
+
overlay(t) {
|
|
1278
|
+
return this.addAction(t);
|
|
1279
|
+
}
|
|
1280
|
+
/**
|
|
1281
|
+
* @description Adds an underlay under the base image.
|
|
1282
|
+
* @param {LayerAction} underlayAction
|
|
1283
|
+
* @return {this}
|
|
1284
|
+
*/
|
|
1285
|
+
underlay(t) {
|
|
1286
|
+
return t.setLayerType("u"), this.addAction(t);
|
|
1287
|
+
}
|
|
1288
|
+
/**
|
|
1289
|
+
* @description Defines an new user variable.
|
|
1290
|
+
* @param {VariableAction} variableAction
|
|
1291
|
+
* @return {this}
|
|
1292
|
+
*/
|
|
1293
|
+
addVariable(t) {
|
|
1294
|
+
return this.addAction(t);
|
|
1295
|
+
}
|
|
1296
|
+
/**
|
|
1297
|
+
* @description Specifies a condition to be met before applying a transformation.
|
|
1298
|
+
* @param {ConditionalAction} conditionAction
|
|
1299
|
+
* @return {this}
|
|
1300
|
+
*/
|
|
1301
|
+
conditional(t) {
|
|
1302
|
+
return this.addAction(t);
|
|
1303
|
+
}
|
|
1304
|
+
/**
|
|
1305
|
+
* @description Applies a filter or an effect on an asset.
|
|
1306
|
+
* @param {SimpleEffectAction} effectAction
|
|
1307
|
+
* @return {this}
|
|
1308
|
+
*/
|
|
1309
|
+
effect(t) {
|
|
1310
|
+
return this.addAction(t);
|
|
1311
|
+
}
|
|
1312
|
+
/**
|
|
1313
|
+
* @description Applies adjustment effect on an asset.
|
|
1314
|
+
* @param action
|
|
1315
|
+
* @return {this}
|
|
1316
|
+
*/
|
|
1317
|
+
adjust(t) {
|
|
1318
|
+
return this.addAction(t);
|
|
1319
|
+
}
|
|
1320
|
+
/**
|
|
1321
|
+
* @description Rotates the asset by the given angle.
|
|
1322
|
+
* @param {RotateAction} rotateAction
|
|
1323
|
+
* @return {this}
|
|
1324
|
+
*/
|
|
1325
|
+
rotate(t) {
|
|
1326
|
+
return this.addAction(t);
|
|
1327
|
+
}
|
|
1328
|
+
/**
|
|
1329
|
+
* @description Applies a pre-defined named transformation of the given name.
|
|
1330
|
+
* @param {NamedTransformation} namedTransformation
|
|
1331
|
+
* @return {this}
|
|
1332
|
+
*/
|
|
1333
|
+
namedTransformation(t) {
|
|
1334
|
+
return this.addAction(t);
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* @description Applies delivery action.
|
|
1338
|
+
* @param deliveryAction
|
|
1339
|
+
* @return {this}
|
|
1340
|
+
*/
|
|
1341
|
+
delivery(t) {
|
|
1342
|
+
return this.addAction(t);
|
|
1343
|
+
}
|
|
1344
|
+
/**
|
|
1345
|
+
* @description Sets the color of the background.
|
|
1346
|
+
* @param {Qualifiers.Color} color
|
|
1347
|
+
* @return {this}
|
|
1348
|
+
*/
|
|
1349
|
+
backgroundColor(t) {
|
|
1350
|
+
return this.addAction(new Ai(t));
|
|
1351
|
+
}
|
|
1352
|
+
/**
|
|
1353
|
+
* @description Adds a layer in a Photoshop document.
|
|
1354
|
+
* @param action
|
|
1355
|
+
* @return {this}
|
|
1356
|
+
*/
|
|
1357
|
+
psdTools(t) {
|
|
1358
|
+
return this.addAction(t);
|
|
1359
|
+
}
|
|
1360
|
+
/**
|
|
1361
|
+
* @description Extracts an image or a page using an index, a range, or a name from a layered media asset.
|
|
1362
|
+
* @param action
|
|
1363
|
+
* @return {this}
|
|
1364
|
+
*/
|
|
1365
|
+
extract(t) {
|
|
1366
|
+
return this.addAction(t);
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* @description Adds a flag as a separate action.
|
|
1370
|
+
* @param {Qualifiers.Flag | string} flagQualifier
|
|
1371
|
+
* @return {this}
|
|
1372
|
+
*/
|
|
1373
|
+
addFlag(t) {
|
|
1374
|
+
const e = new A();
|
|
1375
|
+
let i = t;
|
|
1376
|
+
return typeof t == "string" && (i = new b(t)), e.addQualifier(i), this.addAction(e);
|
|
1377
|
+
}
|
|
1378
|
+
/**
|
|
1379
|
+
* @description Inject a custom function into the image transformation pipeline.
|
|
1380
|
+
* @return {this}
|
|
1381
|
+
*/
|
|
1382
|
+
customFunction(t) {
|
|
1383
|
+
return this.addAction(t);
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* Transcodes the video (or audio) to another format.
|
|
1387
|
+
* @param {Action} action
|
|
1388
|
+
* @return {this}
|
|
1389
|
+
*/
|
|
1390
|
+
transcode(t) {
|
|
1391
|
+
return this.addAction(t);
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* Applies the specified video edit action.
|
|
1395
|
+
*
|
|
1396
|
+
* @param {videoEditType} action
|
|
1397
|
+
* @return {this}
|
|
1398
|
+
*/
|
|
1399
|
+
videoEdit(t) {
|
|
1400
|
+
return this.addAction(t);
|
|
1401
|
+
}
|
|
1402
|
+
toJson() {
|
|
1403
|
+
const t = [];
|
|
1404
|
+
for (const e of this.actions) {
|
|
1405
|
+
const i = e.toJson();
|
|
1406
|
+
if (Oi(i))
|
|
1407
|
+
return i;
|
|
1408
|
+
t.push(i);
|
|
1409
|
+
}
|
|
1410
|
+
return { actions: t };
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
function Te(r) {
|
|
1414
|
+
const t = r.toString();
|
|
1415
|
+
return t.match(/[A-Z]/gi) || t.length > 1 && t[0] === "0" ? t : !isNaN(parseFloat(t)) && t.indexOf(":") === -1 && t.indexOf(".") === -1 ? `${t}.0` : t;
|
|
1416
|
+
}
|
|
1417
|
+
class Ii extends m {
|
|
1418
|
+
}
|
|
1419
|
+
class Ri extends A {
|
|
1420
|
+
/**
|
|
1421
|
+
* @param {string} cropType
|
|
1422
|
+
* @param {number | string} cropWidth The required width of a transformed asset.
|
|
1423
|
+
* @param {number | string} cropHeight The required height of a transformed asset.
|
|
1424
|
+
*/
|
|
1425
|
+
constructor(t, e, i) {
|
|
1426
|
+
super(), this._actionModel = { dimensions: {} }, this._actionModel.actionType = ni[t] || t, this.addQualifier(new h("c", t)), e && this.width(e), i && this.height(i);
|
|
1427
|
+
}
|
|
1428
|
+
/**
|
|
1429
|
+
* @description Sets the height of the resize
|
|
1430
|
+
* @param {string | number} x The height in pixels (if an integer is specified) or as a percentage (if a float is specified).
|
|
1431
|
+
*/
|
|
1432
|
+
height(t) {
|
|
1433
|
+
return this._actionModel.dimensions.height = t, this.addQualifier(new h("h", t));
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* @description Sets the width of the resize
|
|
1437
|
+
* @param {string | number} x The width in pixels (if an integer is specified) or as a percentage (if a float is specified).
|
|
1438
|
+
*/
|
|
1439
|
+
width(t) {
|
|
1440
|
+
return this._actionModel.dimensions.width = t, this.addQualifier(new h("w", t));
|
|
1441
|
+
}
|
|
1442
|
+
/**
|
|
1443
|
+
* @description Sets the aspect ratio of the asset.
|
|
1444
|
+
* For a list of supported types see {@link Qualifiers.AspectRatio|
|
|
1445
|
+
* AspectRatio values}
|
|
1446
|
+
* @param {AspectRatioType|number|string} ratio The new aspect ratio, specified as a percentage or ratio.
|
|
1447
|
+
* @return {this}
|
|
1448
|
+
*/
|
|
1449
|
+
aspectRatio(t) {
|
|
1450
|
+
if (t instanceof Ii)
|
|
1451
|
+
return this._actionModel.dimensions.aspectRatio = `${t}`, this.addQualifier(new h("ar", t));
|
|
1452
|
+
if (typeof t == "number" || typeof t == "string")
|
|
1453
|
+
return this._actionModel.dimensions.aspectRatio = Te(t), this.addQualifier(new h("ar", Te(t)));
|
|
1454
|
+
if (t instanceof b)
|
|
1455
|
+
return this._actionModel.dimensions.aspectRatio = `${t.qualifierValue}`, this.addFlag(t);
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* @description Modifies percentage-based width & height parameters of overlays and underlays (e.g., 1.0) to be relative to the containing image instead of the added layer.
|
|
1459
|
+
* @return {this}
|
|
1460
|
+
*/
|
|
1461
|
+
relative() {
|
|
1462
|
+
return this._actionModel.relative = !0, this.addFlag(Ci());
|
|
1463
|
+
}
|
|
1464
|
+
/**
|
|
1465
|
+
* @description Modifies percentage-based width & height parameters of overlays and underlays (e.g., 1.0) to be relative to the overlaid region
|
|
1466
|
+
* @return {this}
|
|
1467
|
+
*/
|
|
1468
|
+
regionRelative() {
|
|
1469
|
+
return this._actionModel.regionRelative = !0, this.addFlag(xi());
|
|
1470
|
+
}
|
|
1471
|
+
static fromJson(t) {
|
|
1472
|
+
const { actionType: e, dimensions: i, relative: s, regionRelative: c } = t, { aspectRatio: u, width: d, height: p } = i, f = je[e] || e, g = new this(f, d, p);
|
|
1473
|
+
return u && g.aspectRatio(u === "ignore_aspect_ratio" ? Ti() : u), s && g.relative(), c && g.regionRelative(), g;
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
class xt extends h {
|
|
1477
|
+
/**
|
|
1478
|
+
* @param value, an array containing (GravityObject | AutoGravity | string) or a string;
|
|
1479
|
+
*/
|
|
1480
|
+
constructor(t) {
|
|
1481
|
+
super("g", new m(t));
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
class Ge extends xt {
|
|
1485
|
+
constructor() {
|
|
1486
|
+
super("auto");
|
|
1487
|
+
}
|
|
1488
|
+
/**
|
|
1489
|
+
* @description Autofocuses on objects, allowing their priority within the algorithm to be configured.
|
|
1490
|
+
* @param {AutoFocus} AutoFocusObjects
|
|
1491
|
+
*/
|
|
1492
|
+
autoFocus(...t) {
|
|
1493
|
+
return this.addValue(t), this;
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
class ke extends xt {
|
|
1497
|
+
constructor(t) {
|
|
1498
|
+
super(t);
|
|
1499
|
+
}
|
|
1500
|
+
/**
|
|
1501
|
+
* @description Specifies the gravity to use if none of the other gravity objects are found.
|
|
1502
|
+
* @param {Qualifiers.Gravity.AutoGravity} val
|
|
1503
|
+
*/
|
|
1504
|
+
fallbackGravity(t) {
|
|
1505
|
+
return this.addValue(t.qualifierValue), this;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
class De extends xt {
|
|
1509
|
+
constructor(t) {
|
|
1510
|
+
super(t);
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
function ji(r) {
|
|
1514
|
+
return new De(r);
|
|
1515
|
+
}
|
|
1516
|
+
function qe(...r) {
|
|
1517
|
+
const t = [...r];
|
|
1518
|
+
return new ke(t);
|
|
1519
|
+
}
|
|
1520
|
+
function ze() {
|
|
1521
|
+
return new Ge();
|
|
1522
|
+
}
|
|
1523
|
+
class B extends m {
|
|
1524
|
+
constructor(t) {
|
|
1525
|
+
super(), this.name = t;
|
|
1526
|
+
}
|
|
1527
|
+
toString() {
|
|
1528
|
+
return this.name;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
function Pi() {
|
|
1532
|
+
return new B("ocr_text");
|
|
1533
|
+
}
|
|
1534
|
+
function $i(r) {
|
|
1535
|
+
return r && `${r}`.split(":")[0] === "auto";
|
|
1536
|
+
}
|
|
1537
|
+
function Fi(r) {
|
|
1538
|
+
const t = Ct(r);
|
|
1539
|
+
return ["north", "center", "east", "west", "south", "north_west", "south_east", "south_west", "north_east"].includes(t);
|
|
1540
|
+
}
|
|
1541
|
+
function Ct(r) {
|
|
1542
|
+
return `${r}`.replace("g_", "");
|
|
1543
|
+
}
|
|
1544
|
+
function Vi(r) {
|
|
1545
|
+
return {
|
|
1546
|
+
compass: Ct(r),
|
|
1547
|
+
gravityType: "direction"
|
|
1548
|
+
};
|
|
1549
|
+
}
|
|
1550
|
+
function Qi(r) {
|
|
1551
|
+
return Ct(r) === "ocr_text";
|
|
1552
|
+
}
|
|
1553
|
+
function Bi() {
|
|
1554
|
+
return {
|
|
1555
|
+
gravityType: "ocr"
|
|
1556
|
+
};
|
|
1557
|
+
}
|
|
1558
|
+
function Gi(r) {
|
|
1559
|
+
return `${r.qualifierValue}`.split(":")[0] === "auto";
|
|
1560
|
+
}
|
|
1561
|
+
function ki(r) {
|
|
1562
|
+
const e = r.toString().split("_"), i = {
|
|
1563
|
+
object: e[0]
|
|
1564
|
+
};
|
|
1565
|
+
return e.length > 1 && (e[1] === "avoid" ? i.avoid = !0 : i.weight = +e[1]), i;
|
|
1566
|
+
}
|
|
1567
|
+
function Ue(r) {
|
|
1568
|
+
let t;
|
|
1569
|
+
const e = r === "auto" ? new Ge() : r;
|
|
1570
|
+
return `${r}`.startsWith("auto:") ? t = `${r}`.split(":").filter((s) => s !== "auto") : t = e.qualifierValue.values.filter((s) => s !== "auto"), {
|
|
1571
|
+
gravityType: "auto",
|
|
1572
|
+
autoFocus: t.map(ki)
|
|
1573
|
+
};
|
|
1574
|
+
}
|
|
1575
|
+
function Di(r) {
|
|
1576
|
+
const t = `${r}`.split(":").includes("auto"), e = r.qualifierValue.values, s = {
|
|
1577
|
+
gravityType: "object",
|
|
1578
|
+
focusOnObjects: (t ? e.slice(0, e.length - 1) : e).map((c) => `${c}`)
|
|
1579
|
+
};
|
|
1580
|
+
if (t) {
|
|
1581
|
+
const c = e[e.length - 1].values.slice(1), u = ze().autoFocus(...c);
|
|
1582
|
+
s.fallbackGravity = Ue(u);
|
|
1583
|
+
}
|
|
1584
|
+
return s;
|
|
1585
|
+
}
|
|
1586
|
+
function qi(r) {
|
|
1587
|
+
const e = r.split(":").map((i) => new B(i));
|
|
1588
|
+
return new ke(e);
|
|
1589
|
+
}
|
|
1590
|
+
function zi(r) {
|
|
1591
|
+
return Fi(r) ? Vi(r) : Qi(r) ? Bi() : $i(r) || Gi(r) ? Ue(r) : Di(typeof r == "string" ? qi(r) : r);
|
|
1592
|
+
}
|
|
1593
|
+
class Lt extends m {
|
|
1594
|
+
constructor(t, e) {
|
|
1595
|
+
super(), this._weight = e, this.focusOn = t, this.shouldAvoid = !1;
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
* @summary qualifier
|
|
1599
|
+
* @description Specifies the object to focus on automatically
|
|
1600
|
+
* Accepts an AutoFocusObject (which is just a wrapper for a FocusOn object, but with extra method: avoid, weight)
|
|
1601
|
+
* @param {Qualifiers.FocusOn} obj The object to focus on.
|
|
1602
|
+
* @param {number} weight
|
|
1603
|
+
*/
|
|
1604
|
+
static focusOn(t, e) {
|
|
1605
|
+
const i = t instanceof B ? t : new B(t);
|
|
1606
|
+
return new Lt(i, e);
|
|
1607
|
+
}
|
|
1608
|
+
shouldAddWeight() {
|
|
1609
|
+
return typeof this._weight == "number" || typeof this._weight == "string" || this.shouldAvoid;
|
|
1610
|
+
}
|
|
1611
|
+
/**
|
|
1612
|
+
* @summary qualifier
|
|
1613
|
+
* @desc Get the name of the of the object
|
|
1614
|
+
*/
|
|
1615
|
+
getName() {
|
|
1616
|
+
return this.focusOn.name;
|
|
1617
|
+
}
|
|
1618
|
+
/**
|
|
1619
|
+
* @summary qualifier
|
|
1620
|
+
* @desc Get the weight for the object
|
|
1621
|
+
*/
|
|
1622
|
+
getWeight() {
|
|
1623
|
+
return this.shouldAvoid ? "avoid" : this._weight;
|
|
1624
|
+
}
|
|
1625
|
+
/**
|
|
1626
|
+
* @summary qualifier
|
|
1627
|
+
* @desc Return the string representation of this QualifierValue
|
|
1628
|
+
*/
|
|
1629
|
+
toString() {
|
|
1630
|
+
return this.shouldAddWeight() ? `${this.getName()}_${this.getWeight()}` : `${this.getName()}`;
|
|
1631
|
+
}
|
|
1632
|
+
/**
|
|
1633
|
+
* @summary qualifier
|
|
1634
|
+
* @description Sets the importance level of the object within the automatic gravity algorithm
|
|
1635
|
+
* @param {numebr} w The focus weight for the object
|
|
1636
|
+
* @return {this}
|
|
1637
|
+
*/
|
|
1638
|
+
weight(t) {
|
|
1639
|
+
return this._weight = t, this;
|
|
1640
|
+
}
|
|
1641
|
+
/**
|
|
1642
|
+
* @summary qualifier
|
|
1643
|
+
* @description Attempts to avoid the detected object in the image
|
|
1644
|
+
* @return {this}
|
|
1645
|
+
*/
|
|
1646
|
+
avoid() {
|
|
1647
|
+
return this.shouldAvoid = !0, this;
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
class Ne extends m {
|
|
1651
|
+
constructor(t) {
|
|
1652
|
+
super(), this.val = t;
|
|
1653
|
+
}
|
|
1654
|
+
toString() {
|
|
1655
|
+
return this.val;
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
function Ui(r) {
|
|
1659
|
+
return r.gravityType === "direction";
|
|
1660
|
+
}
|
|
1661
|
+
function Ni(r) {
|
|
1662
|
+
return r.gravityType === "ocr";
|
|
1663
|
+
}
|
|
1664
|
+
function Ji(r) {
|
|
1665
|
+
return r.gravityType === "auto";
|
|
1666
|
+
}
|
|
1667
|
+
function Hi(r) {
|
|
1668
|
+
const { object: t, weight: e, avoid: i } = r, s = new Lt(new B(t));
|
|
1669
|
+
return (e || e === 0) && s.weight(e), i && s.avoid(), s;
|
|
1670
|
+
}
|
|
1671
|
+
function Je(r) {
|
|
1672
|
+
const e = (r.autoFocus || []).map(Hi);
|
|
1673
|
+
return ze().autoFocus(...e);
|
|
1674
|
+
}
|
|
1675
|
+
function Yi(r) {
|
|
1676
|
+
const t = (r.focusOnObjects || []).map((i) => new B(i)), e = qe(...t);
|
|
1677
|
+
if (r.fallbackGravity) {
|
|
1678
|
+
const i = Je(r.fallbackGravity);
|
|
1679
|
+
e.fallbackGravity(i);
|
|
1680
|
+
}
|
|
1681
|
+
return e;
|
|
1682
|
+
}
|
|
1683
|
+
function Wi(r) {
|
|
1684
|
+
return Ui(r) ? new De(new Ne(r.compass)) : Ni(r) ? qe(Pi()) : Ji(r) ? Je(r) : Yi(r);
|
|
1685
|
+
}
|
|
1686
|
+
class It extends Ri {
|
|
1687
|
+
/**
|
|
1688
|
+
* @description Which part of the original image to include.
|
|
1689
|
+
* @param {Qualifiers.Gravity} gravity
|
|
1690
|
+
*/
|
|
1691
|
+
gravity(t) {
|
|
1692
|
+
this._actionModel.gravity = zi(t);
|
|
1693
|
+
const e = typeof t == "string" ? new h("g", t) : t;
|
|
1694
|
+
return this.addQualifier(e);
|
|
1695
|
+
}
|
|
1696
|
+
static fromJson(t) {
|
|
1697
|
+
const e = super.fromJson.apply(this, [t]);
|
|
1698
|
+
return t.gravity && e.gravity(Wi(t.gravity)), e;
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
class z extends h {
|
|
1702
|
+
constructor(t) {
|
|
1703
|
+
super("b"), t && this.addValue(t);
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
const He = 100, Ki = 0;
|
|
1707
|
+
class Xi extends z {
|
|
1708
|
+
/**
|
|
1709
|
+
* @description Sets the intensity of the blur.
|
|
1710
|
+
* @param {number} value - The intensity of the blur.
|
|
1711
|
+
*/
|
|
1712
|
+
intensity(t) {
|
|
1713
|
+
return this.intensityLevel = t, this;
|
|
1714
|
+
}
|
|
1715
|
+
/**
|
|
1716
|
+
* @description Sets the brightness of the background.
|
|
1717
|
+
* @param {number} value - The brightness of the background.
|
|
1718
|
+
*/
|
|
1719
|
+
brightness(t) {
|
|
1720
|
+
return this.brightnessLevel = t, this;
|
|
1721
|
+
}
|
|
1722
|
+
/**
|
|
1723
|
+
* @description
|
|
1724
|
+
* Stringify the qualifier
|
|
1725
|
+
* BackgroundQualifiers don't have a value, but instead override the toString() function
|
|
1726
|
+
*/
|
|
1727
|
+
toString() {
|
|
1728
|
+
const t = this.intensityLevel !== void 0 ? `:${this.intensityLevel}` : "", e = this.brightnessLevel !== void 0 ? this.intensityLevel !== void 0 ? `:${this.brightnessLevel}` : `:${He}:${this.brightnessLevel}` : "";
|
|
1729
|
+
return `b_blurred${t}${e}`;
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
var Ye = Xi;
|
|
1733
|
+
class Rt extends z {
|
|
1734
|
+
constructor() {
|
|
1735
|
+
super(), this._palette = [];
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
* @description Selects the strongest contrasting color to use for padding.
|
|
1739
|
+
* @return {this}
|
|
1740
|
+
*/
|
|
1741
|
+
contrast() {
|
|
1742
|
+
return this._contrast = !0, this;
|
|
1743
|
+
}
|
|
1744
|
+
/**
|
|
1745
|
+
* @description Defines the custom colors to use when resizing using content-aware padding.
|
|
1746
|
+
* @param {...string} colors One or more colors - Example: palette('green', 'red', blue')
|
|
1747
|
+
* @return {this}
|
|
1748
|
+
*/
|
|
1749
|
+
palette(...t) {
|
|
1750
|
+
return this._palette = t.map((e) => it(e)), this;
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
class We extends Rt {
|
|
1754
|
+
/**
|
|
1755
|
+
* @description
|
|
1756
|
+
* Stringify the qualifier
|
|
1757
|
+
* BackgroundQualifiers don't have a value, but instead override the toString() function.
|
|
1758
|
+
*/
|
|
1759
|
+
toString() {
|
|
1760
|
+
return `
|
|
1761
|
+
b_auto:border
|
|
1762
|
+
${this._contrast ? "_contrast" : ""}
|
|
1763
|
+
${this._palette.length ? `:palette_${this._palette.join("_")}` : ""}
|
|
1764
|
+
`.replace(/\s+/g, "");
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
class Ke extends Rt {
|
|
1768
|
+
/**
|
|
1769
|
+
*
|
|
1770
|
+
* @description Sets the number of predominant colors to use (2 or 4).
|
|
1771
|
+
* @param {number} num
|
|
1772
|
+
* @return {this}
|
|
1773
|
+
*/
|
|
1774
|
+
gradientColors(t) {
|
|
1775
|
+
return this._gradientColors = t, this;
|
|
1776
|
+
}
|
|
1777
|
+
/**
|
|
1778
|
+
* @description Sets the direction for a background gradient fade effect.
|
|
1779
|
+
* @param {Qualifiers.GradientDirection | GradientDirectionType | string} direction Use one of these functions
|
|
1780
|
+
* provided by {@link Qualifiers.GradientDirection|GradientDirection}
|
|
1781
|
+
* @return {this}
|
|
1782
|
+
*/
|
|
1783
|
+
gradientDirection(t) {
|
|
1784
|
+
return this._gradientDirection = t, this;
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
class Xe extends Ke {
|
|
1788
|
+
/**
|
|
1789
|
+
* @description
|
|
1790
|
+
* Stringify the qualifier
|
|
1791
|
+
* BackgroundQualifiers don't have a value, but instead override the toString() function.
|
|
1792
|
+
*/
|
|
1793
|
+
toString() {
|
|
1794
|
+
return `
|
|
1795
|
+
b_auto:border_gradient
|
|
1796
|
+
${this._contrast ? "_contrast" : ""}
|
|
1797
|
+
${this._gradientColors ? `:${this._gradientColors}` : ""}
|
|
1798
|
+
${this._gradientDirection ? `:${this._gradientDirection}` : ""}
|
|
1799
|
+
${this._palette.length ? `:palette_${this._palette.join("_")}` : ""}
|
|
1800
|
+
`.replace(/\s+/g, "");
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
class Ze extends Ke {
|
|
1804
|
+
/**
|
|
1805
|
+
* @description
|
|
1806
|
+
* Stringify the qualifier
|
|
1807
|
+
* BackgroundQualifiers don't have a value, but instead override the toString() function.
|
|
1808
|
+
*/
|
|
1809
|
+
toString() {
|
|
1810
|
+
return `
|
|
1811
|
+
b_auto:predominant_gradient
|
|
1812
|
+
${this._contrast ? "_contrast" : ""}
|
|
1813
|
+
${this._gradientColors ? `:${this._gradientColors}` : ""}
|
|
1814
|
+
${this._gradientDirection ? `:${this._gradientDirection}` : ""}
|
|
1815
|
+
${this._palette.length ? `:palette_${this._palette.join("_")}` : ""}
|
|
1816
|
+
`.replace(/\s+/g, "");
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
class tr extends Rt {
|
|
1820
|
+
/**
|
|
1821
|
+
* @description
|
|
1822
|
+
* Stringify the qualifier
|
|
1823
|
+
* BackgroundQualifiers don't have a value, but instead override the toString() function.
|
|
1824
|
+
*/
|
|
1825
|
+
toString() {
|
|
1826
|
+
return `
|
|
1827
|
+
b_auto:predominant
|
|
1828
|
+
${this._contrast ? "_contrast" : ""}
|
|
1829
|
+
${this._palette.length ? `:palette_${this._palette.join("_")}` : ""}
|
|
1830
|
+
`.replace(/\s+/g, "");
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
class er extends z {
|
|
1834
|
+
constructor() {
|
|
1835
|
+
super("gen_fill"), this._backgroundType = "generativeFill";
|
|
1836
|
+
}
|
|
1837
|
+
prompt(t) {
|
|
1838
|
+
try {
|
|
1839
|
+
this._prompt = decodeURIComponent(t);
|
|
1840
|
+
} catch {
|
|
1841
|
+
this._prompt = t;
|
|
1842
|
+
}
|
|
1843
|
+
return this;
|
|
1844
|
+
}
|
|
1845
|
+
getPrompt() {
|
|
1846
|
+
return this._prompt;
|
|
1847
|
+
}
|
|
1848
|
+
getBackgroundType() {
|
|
1849
|
+
return this._backgroundType;
|
|
1850
|
+
}
|
|
1851
|
+
/**
|
|
1852
|
+
* @description
|
|
1853
|
+
* Override the toString() function to explicitly stringify the qualifier.
|
|
1854
|
+
*/
|
|
1855
|
+
toString() {
|
|
1856
|
+
return `b_gen_fill${this._prompt ? `:prompt_${fi(this._prompt)}` : ""}`;
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
function rr(r) {
|
|
1860
|
+
return `${r}`.replace("b_", "");
|
|
1861
|
+
}
|
|
1862
|
+
function Zi() {
|
|
1863
|
+
return { backgroundType: "auto" };
|
|
1864
|
+
}
|
|
1865
|
+
function to(r) {
|
|
1866
|
+
const { intensityLevel: t, brightnessLevel: e } = r, i = {
|
|
1867
|
+
backgroundType: "blurred"
|
|
1868
|
+
};
|
|
1869
|
+
return (t || t === 0) && (i.intensity = t), (e || e === 0) && (i.brightness = e), i;
|
|
1870
|
+
}
|
|
1871
|
+
function jt(r) {
|
|
1872
|
+
const t = r._contrast, e = r._palette, i = {
|
|
1873
|
+
backgroundType: ""
|
|
1874
|
+
};
|
|
1875
|
+
return t && (i.contrast = !0), e && (i.palette = e), i;
|
|
1876
|
+
}
|
|
1877
|
+
function eo(r) {
|
|
1878
|
+
return Object.assign(Object.assign({}, jt(r)), { backgroundType: "border" });
|
|
1879
|
+
}
|
|
1880
|
+
function nr(r) {
|
|
1881
|
+
const t = r._gradientColors, e = `${r._gradientDirection}`, i = jt(r);
|
|
1882
|
+
return t && (i.gradientColors = t), e && (i.gradientDirection = e), i;
|
|
1883
|
+
}
|
|
1884
|
+
function ro(r) {
|
|
1885
|
+
return Object.assign(Object.assign({}, nr(r)), { backgroundType: "borderGradient" });
|
|
1886
|
+
}
|
|
1887
|
+
function no(r) {
|
|
1888
|
+
return {
|
|
1889
|
+
backgroundType: "color",
|
|
1890
|
+
color: rr(r)
|
|
1891
|
+
};
|
|
1892
|
+
}
|
|
1893
|
+
function io(r) {
|
|
1894
|
+
return Object.assign(Object.assign({}, jt(r)), { backgroundType: "predominant" });
|
|
1895
|
+
}
|
|
1896
|
+
function oo(r) {
|
|
1897
|
+
return Object.assign(Object.assign({}, nr(r)), { backgroundType: "predominantGradient" });
|
|
1898
|
+
}
|
|
1899
|
+
function so(r) {
|
|
1900
|
+
return Object.assign({ backgroundType: r.getBackgroundType() }, r.getPrompt() ? { prompt: r.getPrompt() } : {});
|
|
1901
|
+
}
|
|
1902
|
+
function ao(r) {
|
|
1903
|
+
return rr(r) === "auto" ? Zi() : r instanceof Ye ? to(r) : r instanceof We ? eo(r) : r instanceof Xe ? ro(r) : r instanceof tr ? io(r) : r instanceof Ze ? oo(r) : r instanceof er ? so(r) : no(r);
|
|
1904
|
+
}
|
|
1905
|
+
function co() {
|
|
1906
|
+
return new Mt("svg");
|
|
1907
|
+
}
|
|
1908
|
+
function Pt() {
|
|
1909
|
+
return new Mt("auto");
|
|
1910
|
+
}
|
|
1911
|
+
function ir() {
|
|
1912
|
+
return new We();
|
|
1913
|
+
}
|
|
1914
|
+
function or() {
|
|
1915
|
+
return new z("auto");
|
|
1916
|
+
}
|
|
1917
|
+
function sr() {
|
|
1918
|
+
return new Xe();
|
|
1919
|
+
}
|
|
1920
|
+
function ar() {
|
|
1921
|
+
return new Ze();
|
|
1922
|
+
}
|
|
1923
|
+
function cr() {
|
|
1924
|
+
return new tr();
|
|
1925
|
+
}
|
|
1926
|
+
function ur(r) {
|
|
1927
|
+
return new z(it(r));
|
|
1928
|
+
}
|
|
1929
|
+
function uo() {
|
|
1930
|
+
return new Ye();
|
|
1931
|
+
}
|
|
1932
|
+
function lr() {
|
|
1933
|
+
return new er();
|
|
1934
|
+
}
|
|
1935
|
+
const fr = {
|
|
1936
|
+
auto: or,
|
|
1937
|
+
border: ir,
|
|
1938
|
+
borderGradient: sr,
|
|
1939
|
+
predominantGradient: ar,
|
|
1940
|
+
predominant: cr,
|
|
1941
|
+
color: ur,
|
|
1942
|
+
blurred: uo,
|
|
1943
|
+
generativeFill: lr
|
|
1944
|
+
};
|
|
1945
|
+
function lo(r) {
|
|
1946
|
+
const { brightness: t, intensity: e } = r, i = fr.blurred();
|
|
1947
|
+
return i.brightness(t ?? Ki), i.intensity(e ?? He), i;
|
|
1948
|
+
}
|
|
1949
|
+
function Ee(r, t) {
|
|
1950
|
+
const { gradientColors: e, gradientDirection: i, contrast: s, palette: c } = t;
|
|
1951
|
+
return s && r.contrast(), c && r.palette(...c), e && r.gradientColors(+e), i && r.gradientDirection(i), r;
|
|
1952
|
+
}
|
|
1953
|
+
function Se(r, t) {
|
|
1954
|
+
const { contrast: e, palette: i } = t;
|
|
1955
|
+
return e && r.contrast(), i && r.palette(...i), r;
|
|
1956
|
+
}
|
|
1957
|
+
function fo(r, t) {
|
|
1958
|
+
const { prompt: e } = t;
|
|
1959
|
+
return e && r.prompt(e), r;
|
|
1960
|
+
}
|
|
1961
|
+
function ho(r) {
|
|
1962
|
+
const { backgroundType: t } = r;
|
|
1963
|
+
switch (t) {
|
|
1964
|
+
case "auto":
|
|
1965
|
+
return or();
|
|
1966
|
+
case "blurred":
|
|
1967
|
+
return lo(r);
|
|
1968
|
+
case "border":
|
|
1969
|
+
return Se(ir(), r);
|
|
1970
|
+
case "borderGradient":
|
|
1971
|
+
return Ee(sr(), r);
|
|
1972
|
+
case "predominant":
|
|
1973
|
+
return Se(cr(), r);
|
|
1974
|
+
case "predominantGradient":
|
|
1975
|
+
return Ee(ar(), r);
|
|
1976
|
+
case "generativeFill":
|
|
1977
|
+
return fo(lr(), r);
|
|
1978
|
+
default:
|
|
1979
|
+
return ur(r.color);
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
class po extends It {
|
|
1983
|
+
/**
|
|
1984
|
+
* @description Sets the background.
|
|
1985
|
+
* @param {Qualifiers.Background} backgroundQualifier Defines the background color to use instead of
|
|
1986
|
+
* transparent background areas or when resizing with padding.
|
|
1987
|
+
*/
|
|
1988
|
+
background(t) {
|
|
1989
|
+
return this._actionModel.background = ao(t), this.addQualifier(t);
|
|
1990
|
+
}
|
|
1991
|
+
/**
|
|
1992
|
+
* @description Horizontal position for custom-coordinates based padding.
|
|
1993
|
+
* @param {number} x The x position.
|
|
1994
|
+
*/
|
|
1995
|
+
offsetX(t) {
|
|
1996
|
+
return this._actionModel.x = t, this.addQualifier(new h("x", t));
|
|
1997
|
+
}
|
|
1998
|
+
/**
|
|
1999
|
+
* @description Vertical position for custom-coordinates based padding
|
|
2000
|
+
* @param {number} y The y position.
|
|
2001
|
+
*/
|
|
2002
|
+
offsetY(t) {
|
|
2003
|
+
return this._actionModel.y = t, this.addQualifier(new h("y", t));
|
|
2004
|
+
}
|
|
2005
|
+
static fromJson(t) {
|
|
2006
|
+
const e = super.fromJson.apply(this, [t]);
|
|
2007
|
+
return t.background && e.background(ho(t.background)), t.x && e.offsetX(t.x), t.y && e.offsetY(t.y), t.zoom && e.zoom(t.zoom), e;
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
class go extends It {
|
|
2011
|
+
/**
|
|
2012
|
+
* @description Horizontal position for custom-coordinates based cropping.
|
|
2013
|
+
* @param {number} x The x position.
|
|
2014
|
+
*/
|
|
2015
|
+
x(t) {
|
|
2016
|
+
return this._actionModel.x = t, this.addQualifier(new h("x", t));
|
|
2017
|
+
}
|
|
2018
|
+
/**
|
|
2019
|
+
* @description Vertical position for custom-coordinates based cropping
|
|
2020
|
+
* @param {number} y The y position.
|
|
2021
|
+
*/
|
|
2022
|
+
y(t) {
|
|
2023
|
+
return this._actionModel.y = t, this.addQualifier(new h("y", t));
|
|
2024
|
+
}
|
|
2025
|
+
/**
|
|
2026
|
+
* @description Controls how much of the original image surrounding the face to keep when using either the 'crop' or 'thumb' cropping modes with face detection.
|
|
2027
|
+
* @param {number | string} z The zoom factor. (Default: 1.0)
|
|
2028
|
+
*/
|
|
2029
|
+
zoom(t) {
|
|
2030
|
+
return this._actionModel.zoom = t, this.addQualifier(new h("z", t));
|
|
2031
|
+
}
|
|
2032
|
+
static fromJson(t) {
|
|
2033
|
+
const e = super.fromJson.apply(this, [t]);
|
|
2034
|
+
return t.x && e.x(t.x), t.y && e.y(t.y), t.zoom && e.zoom(t.zoom), e;
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
class _o extends It {
|
|
2038
|
+
/**
|
|
2039
|
+
* @description Absolute X position when used with Gravity.xyCenter {@link Qualifiers.Gravity.GravityQualifier}}
|
|
2040
|
+
* @param {number} x The x position.
|
|
2041
|
+
*/
|
|
2042
|
+
x(t) {
|
|
2043
|
+
return this._actionModel.x = t, this.addQualifier(new h("x", t));
|
|
2044
|
+
}
|
|
2045
|
+
/**
|
|
2046
|
+
* @description Absolute Y position when used with Gravity.xyCenter {@link Qualifiers.Gravity.GravityQualifier}}
|
|
2047
|
+
* @param {number} y The y position.
|
|
2048
|
+
*/
|
|
2049
|
+
y(t) {
|
|
2050
|
+
return this._actionModel.y = t, this.addQualifier(new h("y", t));
|
|
2051
|
+
}
|
|
2052
|
+
static fromJson(t) {
|
|
2053
|
+
const e = super.fromJson.apply(this, [t]);
|
|
2054
|
+
return t.x && e.x(t.x), t.y && e.y(t.y), e;
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
function mo(r, t) {
|
|
2058
|
+
return new go("crop", r, t);
|
|
2059
|
+
}
|
|
2060
|
+
function yo(r, t) {
|
|
2061
|
+
return new _o("fill", r, t);
|
|
2062
|
+
}
|
|
2063
|
+
function vo(r, t) {
|
|
2064
|
+
return new po("pad", r, t);
|
|
2065
|
+
}
|
|
2066
|
+
class wo extends Be {
|
|
2067
|
+
/**
|
|
2068
|
+
* @param {Qualifiers.Quality} qualityValue a Quality value
|
|
2069
|
+
*/
|
|
2070
|
+
constructor(t) {
|
|
2071
|
+
super("q", t.toString(), "level");
|
|
2072
|
+
}
|
|
2073
|
+
/**
|
|
2074
|
+
* Selet the Chroma sub sampling</br>
|
|
2075
|
+
* <b>Learn more</b>: {@link https://cloudinary.com/documentation/image_optimization#toggle_chroma_subsampling|Toggling chroma subsampling}
|
|
2076
|
+
* @param {420 | 444 | number} type The chroma sub sampling type
|
|
2077
|
+
*/
|
|
2078
|
+
chromaSubSampling(t) {
|
|
2079
|
+
this._actionModel.chromaSubSampling = Fe[t];
|
|
2080
|
+
const e = new m([this._actionModel.level, t]);
|
|
2081
|
+
return e.setDelimiter(":"), this.addQualifier(new h("q", e));
|
|
2082
|
+
}
|
|
2083
|
+
/**
|
|
2084
|
+
* Controls the final quality by setting a maximum quantization percentage
|
|
2085
|
+
* @param {number} val
|
|
2086
|
+
*/
|
|
2087
|
+
quantization(t) {
|
|
2088
|
+
this._actionModel.quantization = t;
|
|
2089
|
+
const e = new m([this._actionModel.level, `qmax_${t}`]).setDelimiter(":");
|
|
2090
|
+
return this.addQualifier(new h("q", e));
|
|
2091
|
+
}
|
|
2092
|
+
static fromJson(t) {
|
|
2093
|
+
const { level: e, chromaSubSampling: i, quantization: s } = t, c = $e[e] || e, u = new this(c);
|
|
2094
|
+
if (i) {
|
|
2095
|
+
const d = ri[i.toUpperCase()];
|
|
2096
|
+
d && u.chromaSubSampling(+d);
|
|
2097
|
+
}
|
|
2098
|
+
return s && u.quantization(s), u;
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
function ot(r) {
|
|
2102
|
+
return new Ot("f", r);
|
|
2103
|
+
}
|
|
2104
|
+
function st(r) {
|
|
2105
|
+
return new wo(r);
|
|
2106
|
+
}
|
|
2107
|
+
function bo() {
|
|
2108
|
+
return new Ne("north_east");
|
|
2109
|
+
}
|
|
2110
|
+
Ae(70).color("black"), Ae(40).color("white"), yi(), wi();
|
|
2111
|
+
var Ao = new k().effect(vi()).delivery(st("auto")).delivery(ot(co())), Oo = new k().effect(bi()).delivery(st("auto")).delivery(ot(Pt())), To = new k().effect(mi(2e3)).delivery(st("auto")).delivery(ot(Pt())), Eo = new k().resize(vo("iw_div_2").aspectRatio(1).background(fr.auto())).resize(mo(1, 1).gravity(ji(bo()))).resize(yo().height("ih").width("iw")).delivery(st("auto")).delivery(ot(Pt())), Me = {
|
|
2112
|
+
vectorize: Ao,
|
|
2113
|
+
pixelate: Oo,
|
|
2114
|
+
blur: To,
|
|
2115
|
+
"predominant-color": Eo
|
|
2116
|
+
}, xe = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", Ce = {
|
|
2117
|
+
flv: "x-flv",
|
|
2118
|
+
"3gp": "3gpp",
|
|
2119
|
+
mov: "quicktime",
|
|
2120
|
+
mpg: "mpeg",
|
|
2121
|
+
avi: "x-msvideo",
|
|
2122
|
+
wmv: "x-ms-wmv",
|
|
2123
|
+
ogv: "ogg",
|
|
2124
|
+
webm: "webm",
|
|
2125
|
+
mp4: "mp4"
|
|
2126
|
+
}, Le = "?_a=", So = (
|
|
2127
|
+
/** @class */
|
|
2128
|
+
(function() {
|
|
2129
|
+
function r(t, e, i, s, c, u, d) {
|
|
2130
|
+
var p = this;
|
|
2131
|
+
this.mimeType = "video", this.mimeSubTypes = Ce, this.videoElement = t, this.originalVideo = e, this.videoOptions = d, this.htmlPluginState = { cleanupCallbacks: [], pluginEventSubscription: [] };
|
|
2132
|
+
var f = x(e);
|
|
2133
|
+
et(t, e, s, this.htmlPluginState).then(function() {
|
|
2134
|
+
p.htmlPluginState.pluginEventSubscription.forEach(function(g) {
|
|
2135
|
+
g();
|
|
2136
|
+
}), p.setVideoAttributes(c, u), p.handleSourceToVideo(f, i);
|
|
2137
|
+
});
|
|
2138
|
+
}
|
|
2139
|
+
return r.prototype.handleSourceToVideo = function(t, e) {
|
|
2140
|
+
var i = this;
|
|
2141
|
+
if (e)
|
|
2142
|
+
this.generateUserSources(t, e);
|
|
2143
|
+
else {
|
|
2144
|
+
var s = ["webm", "mp4", "ogv"];
|
|
2145
|
+
s.forEach(function(c) {
|
|
2146
|
+
i.appendSourceTag(x(t), c);
|
|
2147
|
+
});
|
|
2148
|
+
}
|
|
2149
|
+
}, r.prototype.generateUserSources = function(t, e) {
|
|
2150
|
+
var i = this;
|
|
2151
|
+
e.map(function(s) {
|
|
2152
|
+
var c = s.type, u = s.codecs, d = s.transcode;
|
|
2153
|
+
return i.appendSourceTag(x(t).transcode(d), c, i.buildMimeType(c, u));
|
|
2154
|
+
});
|
|
2155
|
+
}, r.prototype.appendSourceTag = function(t, e, i) {
|
|
2156
|
+
var s, c = document.createElement("source"), u = (s = this.videoOptions) === null || s === void 0 ? void 0 : s.useFetchFormat;
|
|
2157
|
+
u && t.format(e);
|
|
2158
|
+
var d = t.toURL(), p = d.split(Le), f = p[1] ? "".concat(Le).concat(p[1]) : "", g = u ? "" : ".".concat(e);
|
|
2159
|
+
c.src = "".concat(p[0]).concat(g).concat(f), c.type = i || "video/".concat(Ce[e] || e), this.videoElement.appendChild(c);
|
|
2160
|
+
}, r.prototype.buildMimeType = function(t, e) {
|
|
2161
|
+
var i = "".concat(this.mimeType, "/").concat(this.mimeSubTypes[t] || t);
|
|
2162
|
+
return e && (i += "; codecs=" + (Array.isArray(e) ? e.join(", ") : e)), i;
|
|
2163
|
+
}, r.prototype.setVideoAttributes = function(t, e) {
|
|
2164
|
+
var i;
|
|
2165
|
+
if (t === void 0 && (t = {}), e === "auto") {
|
|
2166
|
+
var s = x(this.originalVideo);
|
|
2167
|
+
t.poster = s.quality("auto").format("jpg").addTransformation("so_auto").toURL();
|
|
2168
|
+
} else e && (t.poster = (i = e.toURL) === null || i === void 0 ? void 0 : i.call(e));
|
|
2169
|
+
for (var c = 0, u = Object.entries(t); c < u.length; c++) {
|
|
2170
|
+
var d = u[c], p = d[0], f = d[1];
|
|
2171
|
+
f && this.videoElement.setAttribute(p, p === "poster" ? f : "");
|
|
2172
|
+
}
|
|
2173
|
+
}, r.prototype.update = function(t, e, i, s, c) {
|
|
2174
|
+
var u = this;
|
|
2175
|
+
if (t !== this.originalVideo) {
|
|
2176
|
+
for (var d = this.videoElement.getElementsByTagName("SOURCE"); d[0]; )
|
|
2177
|
+
d[0].parentNode.removeChild(d[0]);
|
|
2178
|
+
et(this.videoElement, t, i, this.htmlPluginState).then(function() {
|
|
2179
|
+
u.setVideoAttributes(s, c), u.handleSourceToVideo(t, e), u.videoElement.load();
|
|
2180
|
+
});
|
|
2181
|
+
}
|
|
2182
|
+
}, r;
|
|
2183
|
+
})()
|
|
2184
|
+
), Mo = typeof M == "object" && M && M.Object === Object && M, xo = typeof self == "object" && self && self.Object === Object && self;
|
|
2185
|
+
Mo || xo || Function("return this")();
|
|
2186
|
+
function $t() {
|
|
2187
|
+
return typeof window < "u";
|
|
2188
|
+
}
|
|
2189
|
+
function Co(r) {
|
|
2190
|
+
return r instanceof HTMLImageElement;
|
|
2191
|
+
}
|
|
2192
|
+
function Qo(r) {
|
|
2193
|
+
var t = {}, e = t.rootMargin, i = e === void 0 ? "0px" : e, s = t.threshold, c = s === void 0 ? 0.1 : s;
|
|
2194
|
+
return Lo.bind(null, i, c);
|
|
2195
|
+
}
|
|
2196
|
+
function Lo(r, t, e, i, s, c) {
|
|
2197
|
+
return r === void 0 && (r = "0px"), t === void 0 && (t = 0.1), $t() ? new Promise(function(u) {
|
|
2198
|
+
var d = function() {
|
|
2199
|
+
return u({ lazyload: !0 });
|
|
2200
|
+
}, p = Ro(e, d, r, t);
|
|
2201
|
+
s.cleanupCallbacks.push(function() {
|
|
2202
|
+
p(), u("canceled");
|
|
2203
|
+
});
|
|
2204
|
+
}) : !1;
|
|
2205
|
+
}
|
|
2206
|
+
function Io() {
|
|
2207
|
+
return window && "IntersectionObserver" in window;
|
|
2208
|
+
}
|
|
2209
|
+
function Ro(r, t, e, i) {
|
|
2210
|
+
try {
|
|
2211
|
+
if (!Io())
|
|
2212
|
+
return t(), function() {
|
|
2213
|
+
};
|
|
2214
|
+
var s = new IntersectionObserver(function(c) {
|
|
2215
|
+
c.forEach(function(u) {
|
|
2216
|
+
u.isIntersecting && (s.unobserve(u.target), t());
|
|
2217
|
+
});
|
|
2218
|
+
}, { rootMargin: e, threshold: i });
|
|
2219
|
+
return s.observe(r), function() {
|
|
2220
|
+
r && s.observe(r);
|
|
2221
|
+
};
|
|
2222
|
+
} catch {
|
|
2223
|
+
t();
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
function Bo(r) {
|
|
2227
|
+
var t = {}, e = t.mode, i = e === void 0 ? "vectorize" : e;
|
|
2228
|
+
return jo.bind(null, i);
|
|
2229
|
+
}
|
|
2230
|
+
function jo(r, t, e, i, s, c) {
|
|
2231
|
+
Me[r] || (r = "vectorize");
|
|
2232
|
+
var u = Me[r].actions, d = x(e);
|
|
2233
|
+
if (u.forEach(function(f) {
|
|
2234
|
+
d.addAction(f);
|
|
2235
|
+
}), !$t())
|
|
2236
|
+
return e.transformation = d.transformation, !0;
|
|
2237
|
+
if (Co(t)) {
|
|
2238
|
+
d.transformation.actions.forEach(function(f, g) {
|
|
2239
|
+
f instanceof A && f.getActionTag() === "responsive" && delete d.transformation.actions[g];
|
|
2240
|
+
});
|
|
2241
|
+
var p = At(s, { placeholder: !0 });
|
|
2242
|
+
return t.src = d.toURL(p), t.onerror = function() {
|
|
2243
|
+
t.src = xe;
|
|
2244
|
+
}, new Promise(function(f) {
|
|
2245
|
+
t.onload = function() {
|
|
2246
|
+
f();
|
|
2247
|
+
};
|
|
2248
|
+
}).then(function() {
|
|
2249
|
+
return new Promise(function(f) {
|
|
2250
|
+
i.cleanupCallbacks.push(function() {
|
|
2251
|
+
t.src = xe, f("canceled");
|
|
2252
|
+
});
|
|
2253
|
+
var g = new Image();
|
|
2254
|
+
g.src = e.toURL(p), g.onload = function() {
|
|
2255
|
+
f({ placeholder: !0 });
|
|
2256
|
+
}, g.onerror = function() {
|
|
2257
|
+
f({ placeholder: !0 });
|
|
2258
|
+
};
|
|
2259
|
+
});
|
|
2260
|
+
});
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
function Po(r, t, e) {
|
|
2264
|
+
var i = x(t);
|
|
2265
|
+
if (r)
|
|
2266
|
+
for (var s = 0; s < r.length; s++) {
|
|
2267
|
+
var c = r[s](null, i);
|
|
2268
|
+
if (!c)
|
|
2269
|
+
break;
|
|
2270
|
+
}
|
|
2271
|
+
return i.toURL(e ? { trackedAnalytics: e } : null);
|
|
2272
|
+
}
|
|
2273
|
+
function rt(r) {
|
|
2274
|
+
r.cleanupCallbacks.forEach(function(t) {
|
|
2275
|
+
t();
|
|
2276
|
+
});
|
|
2277
|
+
}
|
|
2278
|
+
/*! *****************************************************************************
|
|
2279
|
+
Copyright (c) Microsoft Corporation.
|
|
2280
|
+
|
|
2281
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
2282
|
+
purpose with or without fee is hereby granted.
|
|
2283
|
+
|
|
2284
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
2285
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
2286
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
2287
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
2288
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
2289
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2290
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
2291
|
+
***************************************************************************** */
|
|
2292
|
+
var Tt = function(r, t) {
|
|
2293
|
+
return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
|
|
2294
|
+
e.__proto__ = i;
|
|
2295
|
+
} || function(e, i) {
|
|
2296
|
+
for (var s in i) i.hasOwnProperty(s) && (e[s] = i[s]);
|
|
2297
|
+
}, Tt(r, t);
|
|
2298
|
+
};
|
|
2299
|
+
function dr(r, t) {
|
|
2300
|
+
Tt(r, t);
|
|
2301
|
+
function e() {
|
|
2302
|
+
this.constructor = r;
|
|
2303
|
+
}
|
|
2304
|
+
r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
|
|
2305
|
+
}
|
|
2306
|
+
var G = function() {
|
|
2307
|
+
return G = Object.assign || function(t) {
|
|
2308
|
+
for (var e, i = 1, s = arguments.length; i < s; i++) {
|
|
2309
|
+
e = arguments[i];
|
|
2310
|
+
for (var c in e) Object.prototype.hasOwnProperty.call(e, c) && (t[c] = e[c]);
|
|
2311
|
+
}
|
|
2312
|
+
return t;
|
|
2313
|
+
}, G.apply(this, arguments);
|
|
2314
|
+
};
|
|
2315
|
+
function hr(r, t) {
|
|
2316
|
+
var e = {};
|
|
2317
|
+
for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && t.indexOf(i) < 0 && (e[i] = r[i]);
|
|
2318
|
+
if (r != null && typeof Object.getOwnPropertySymbols == "function")
|
|
2319
|
+
for (var s = 0, i = Object.getOwnPropertySymbols(r); s < i.length; s++)
|
|
2320
|
+
t.indexOf(i[s]) < 0 && Object.prototype.propertyIsEnumerable.call(r, i[s]) && (e[i[s]] = r[i[s]]);
|
|
2321
|
+
return e;
|
|
2322
|
+
}
|
|
2323
|
+
function $o() {
|
|
2324
|
+
return typeof process < "u" && process.env ? process.env.CLOUDINARY_SOURCE === "cli" || process.env.CLD_CLI === "true" : !1;
|
|
2325
|
+
}
|
|
2326
|
+
var Ie = $o(), wt = G({ sdkSemver: "1.14.4", techVersion: Q.version, sdkCode: Ie ? "H" : "J" }, Ie && { product: "B" }), Go = (
|
|
2327
|
+
/** @class */
|
|
2328
|
+
(function(r) {
|
|
2329
|
+
dr(t, r);
|
|
2330
|
+
function t(e) {
|
|
2331
|
+
var i = r.call(this, e) || this;
|
|
2332
|
+
return i.imageRef = Q.createRef(), i;
|
|
2333
|
+
}
|
|
2334
|
+
return t.prototype.componentDidMount = function() {
|
|
2335
|
+
this.htmlLayerInstance = new qn(this.imageRef.current, this.props.cldImg, this.props.plugins, wt);
|
|
2336
|
+
}, t.prototype.componentDidUpdate = function() {
|
|
2337
|
+
rt(this.htmlLayerInstance.htmlPluginState), this.htmlLayerInstance.update(this.props.cldImg, this.props.plugins, wt);
|
|
2338
|
+
}, t.prototype.componentWillUnmount = function() {
|
|
2339
|
+
rt(this.htmlLayerInstance.htmlPluginState), this.htmlLayerInstance.unmount();
|
|
2340
|
+
}, t.prototype.render = function() {
|
|
2341
|
+
var e = this.props;
|
|
2342
|
+
e.cldImg, e.plugins;
|
|
2343
|
+
var i = hr(e, ["cldImg", "plugins"]);
|
|
2344
|
+
if ($t())
|
|
2345
|
+
return Q.createElement("img", G({ suppressHydrationWarning: !0 }, i, { ref: this.imageRef }));
|
|
2346
|
+
var s = Po(this.props.plugins, this.props.cldImg, wt);
|
|
2347
|
+
return Q.createElement("img", G({}, i, { src: s }));
|
|
2348
|
+
}, t;
|
|
2349
|
+
})(Q.Component)
|
|
2350
|
+
), Fo = ["controls", "loop", "muted", "poster", "preload", "autoplay", "playsinline"];
|
|
2351
|
+
(function(r) {
|
|
2352
|
+
dr(t, r);
|
|
2353
|
+
function t(e) {
|
|
2354
|
+
var i = r.call(this, e) || this;
|
|
2355
|
+
return i.videoRef = Bn(), i.attachRef = i.attachRef.bind(i), i;
|
|
2356
|
+
}
|
|
2357
|
+
return t.prototype.componentDidMount = function() {
|
|
2358
|
+
this.htmlVideoLayerInstance = new So(this.videoRef && this.videoRef.current, this.props.cldVid, this.props.sources, this.props.plugins, this.getVideoAttributes(), this.props.cldPoster, {
|
|
2359
|
+
useFetchFormat: this.props.useFetchFormat
|
|
2360
|
+
});
|
|
2361
|
+
}, t.prototype.componentDidUpdate = function() {
|
|
2362
|
+
rt(this.htmlVideoLayerInstance.htmlPluginState), this.htmlVideoLayerInstance.update(this.props.cldVid, this.props.sources, this.props.plugins, this.getVideoAttributes(), this.props.cldPoster);
|
|
2363
|
+
}, t.prototype.componentWillUnmount = function() {
|
|
2364
|
+
rt(this.htmlVideoLayerInstance.htmlPluginState);
|
|
2365
|
+
}, t.prototype.getVideoAttributes = function() {
|
|
2366
|
+
var e = this, i = {};
|
|
2367
|
+
return Fo.forEach(function(s) {
|
|
2368
|
+
s in e.props && (i[s] = e.props[s]);
|
|
2369
|
+
}), i;
|
|
2370
|
+
}, t.prototype.attachRef = function(e) {
|
|
2371
|
+
this.videoRef.current = e;
|
|
2372
|
+
var i = this.props.innerRef;
|
|
2373
|
+
i && (i instanceof Function ? i(e) : i.current = e);
|
|
2374
|
+
}, t.prototype.render = function() {
|
|
2375
|
+
var e = this.props;
|
|
2376
|
+
e.cldVid, e.cldPoster, e.plugins, e.sources, e.innerRef, e.useFetchFormat;
|
|
2377
|
+
var i = hr(e, ["cldVid", "cldPoster", "plugins", "sources", "innerRef", "useFetchFormat"]);
|
|
2378
|
+
return Q.createElement("video", G({}, i, { ref: this.attachRef }));
|
|
2379
|
+
}, t;
|
|
2380
|
+
})(Gn);
|
|
2381
|
+
export {
|
|
2382
|
+
Go as AdvancedImage,
|
|
2383
|
+
Qo as lazyload,
|
|
2384
|
+
Bo as placeholder
|
|
2385
|
+
};
|