@hirely/ui 0.1.7 → 0.1.9
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/README.md +23 -8
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/components/ui/{accordion.es.js → accordion.js} +2 -2
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/{alert-dialog.es.js → alert-dialog.js} +3 -3
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/{alert-wrapper.es.js → alert-wrapper.js} +3 -3
- package/dist/components/ui/alert-wrapper.js.map +1 -0
- package/dist/components/ui/{alert.es.js → alert.js} +3 -3
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/{aspect-ratio.es.js → aspect-ratio.js} +2 -2
- package/dist/components/ui/aspect-ratio.js.map +1 -0
- package/dist/components/ui/{attachment.es.js → attachment.js} +4 -4
- package/dist/components/ui/attachment.js.map +1 -0
- package/dist/components/ui/{avatar.es.js → avatar.js} +2 -2
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/{badge.es.js → badge.js} +3 -3
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/bouncy-accordion.d.ts +28 -0
- package/dist/components/ui/bouncy-accordion.js +148 -0
- package/dist/components/ui/bouncy-accordion.js.map +1 -0
- package/dist/components/ui/{breadcrumb.es.js → breadcrumb.js} +2 -2
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/{bubble.es.js → bubble.js} +3 -3
- package/dist/components/ui/bubble.js.map +1 -0
- package/dist/components/ui/{button-group.es.js → button-group.js} +4 -4
- package/dist/components/ui/button-group.js.map +1 -0
- package/dist/components/ui/{button.es.js → button.js} +3 -3
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/{calendar.es.js → calendar.js} +3 -3
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/{card.es.js → card.js} +4 -4
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/{carousel.es.js → carousel.js} +4 -4
- package/dist/components/ui/carousel.js.map +1 -0
- package/dist/components/ui/{chart.es.js → chart.js} +2 -2
- package/dist/components/ui/chart.js.map +1 -0
- package/dist/components/ui/{checkbox.es.js → checkbox.js} +2 -2
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/{collapsible.es.js → collapsible.js} +1 -1
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/{combobox.es.js → combobox.js} +4 -4
- package/dist/components/ui/combobox.js.map +1 -0
- package/dist/components/ui/{command.es.js → command.js} +5 -5
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/{context-menu.es.js → context-menu.js} +2 -2
- package/dist/components/ui/context-menu.js.map +1 -0
- package/dist/components/ui/dashboard-pagination.d.ts +7 -0
- package/dist/components/ui/{dialog.es.js → dialog.js} +3 -3
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/{drawer.es.js → drawer.js} +2 -2
- package/dist/components/ui/drawer.js.map +1 -0
- package/dist/components/ui/{dropdown-menu.es.js → dropdown-menu.js} +2 -2
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/{empty.es.js → empty.js} +3 -3
- package/dist/components/ui/empty.js.map +1 -0
- package/dist/components/ui/{field.es.js → field.js} +5 -5
- package/dist/components/ui/field.js.map +1 -0
- package/dist/components/ui/generate-ai-button.d.ts +10 -0
- package/dist/components/ui/generate-ai-button.js +20 -0
- package/dist/components/ui/generate-ai-button.js.map +1 -0
- package/dist/components/ui/{hover-card.es.js → hover-card.js} +2 -2
- package/dist/components/ui/hover-card.js.map +1 -0
- package/dist/components/ui/image-cropper.d.ts +19 -0
- package/dist/components/ui/image-cropper.js +155 -0
- package/dist/components/ui/image-cropper.js.map +1 -0
- package/dist/components/ui/image-upload.d.ts +30 -0
- package/dist/components/ui/image-upload.js +121 -0
- package/dist/components/ui/image-upload.js.map +1 -0
- package/dist/components/ui/{input-group.es.js → input-group.js} +6 -6
- package/dist/components/ui/input-group.js.map +1 -0
- package/dist/components/ui/{input-otp.es.js → input-otp.js} +3 -3
- package/dist/components/ui/input-otp.js.map +1 -0
- package/dist/components/ui/{input.es.js → input.js} +2 -2
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/{item.es.js → item.js} +4 -4
- package/dist/components/ui/item.js.map +1 -0
- package/dist/components/ui/{kbd.es.js → kbd.js} +2 -2
- package/dist/components/ui/kbd.js.map +1 -0
- package/dist/components/ui/{label.es.js → label.js} +2 -2
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/{marker.es.js → marker.js} +3 -3
- package/dist/components/ui/marker.js.map +1 -0
- package/dist/components/ui/{menubar.es.js → menubar.js} +3 -3
- package/dist/components/ui/menubar.js.map +1 -0
- package/dist/components/ui/{message-scroller.es.js → message-scroller.js} +3 -3
- package/dist/components/ui/message-scroller.js.map +1 -0
- package/dist/components/ui/{message.es.js → message.js} +2 -2
- package/dist/components/ui/message.js.map +1 -0
- package/dist/components/ui/{native-select.es.js → native-select.js} +2 -2
- package/dist/components/ui/native-select.js.map +1 -0
- package/dist/components/ui/{navigation-menu.es.js → navigation-menu.js} +3 -3
- package/dist/components/ui/navigation-menu.js.map +1 -0
- package/dist/components/ui/not-found-dashboard.d.ts +5 -0
- package/dist/components/ui/{pagination.es.js → pagination.js} +3 -3
- package/dist/components/ui/pagination.js.map +1 -0
- package/dist/components/ui/{popover.es.js → popover.js} +2 -2
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/{progress.es.js → progress.js} +2 -2
- package/dist/components/ui/progress.js.map +1 -0
- package/dist/components/ui/{radio-group.es.js → radio-group.js} +2 -2
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/{resizable.es.js → resizable.js} +3 -3
- package/dist/components/ui/resizable.js.map +1 -0
- package/dist/components/ui/{scroll-area.es.js → scroll-area.js} +2 -2
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/{select.es.js → select.js} +2 -2
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/{separator.es.js → separator.js} +2 -2
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/{sheet.es.js → sheet.js} +3 -3
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/{sidebar.es.js → sidebar.js} +10 -10
- package/dist/components/ui/sidebar.js.map +1 -0
- package/dist/components/ui/{skeleton.es.js → skeleton.js} +2 -2
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/{slider.es.js → slider.js} +4 -4
- package/dist/components/ui/slider.js.map +1 -0
- package/dist/components/ui/{sonner.es.js → sonner.js} +1 -1
- package/dist/components/ui/sonner.js.map +1 -0
- package/dist/components/ui/{spinner.es.js → spinner.js} +2 -2
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/stats-header.d.ts +13 -0
- package/dist/components/ui/{switch.es.js → switch.js} +2 -2
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/{table.es.js → table.js} +2 -2
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/{tabs.es.js → tabs.js} +3 -3
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/text-header.d.ts +6 -0
- package/dist/components/ui/{textarea.es.js → textarea.js} +2 -2
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/{toggle-group.es.js → toggle-group.js} +3 -3
- package/dist/components/ui/toggle-group.js.map +1 -0
- package/dist/components/ui/{toggle.es.js → toggle.js} +3 -3
- package/dist/components/ui/toggle.js.map +1 -0
- package/dist/components/ui/{tooltip.es.js → tooltip.js} +2 -2
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/functions/cropImage.d.ts +15 -0
- package/dist/functions/cropImage.js +38 -0
- package/dist/functions/cropImage.js.map +1 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/{use-mobile.es.js → use-mobile.js} +1 -1
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +67 -0
- package/dist/lib/ease.d.ts +39 -0
- package/dist/lib/ease.js +11 -0
- package/dist/lib/ease.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/{index.es.js → index.js} +15 -15
- package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/{index.es.js → index.js} +5 -5
- package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/{index.es.js → index.js} +4 -4
- package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/{index.es.js → index.js} +2 -2
- package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/{index.es.js → index.js} +3 -3
- package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/{index.es.js → index.js} +2 -2
- package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/{index.es.js → index.js} +2 -2
- package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/{index.es.js → index.js} +2 -2
- package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/{index.es.js → index.js} +2 -2
- package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/.bun/attr-accept@2.2.5/node_modules/attr-accept/dist/es/index.js +21 -0
- package/dist/node_modules/.bun/attr-accept@2.2.5/node_modules/attr-accept/dist/es/index.js.map +1 -0
- package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/{index.es.js → index.js} +2 -2
- package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/{clsx.es.js → clsx.js} +1 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/{chunk-NZJY6EH4.es.js → chunk-NZJY6EH4.js} +1 -1
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.js.map +1 -0
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/{index.es.js → index.js} +6 -6
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/{embla-carousel-react.esm.es.js → embla-carousel-react.esm.js} +3 -3
- package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js.map +1 -0
- package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/{embla-carousel-reactive-utils.esm.es.js → embla-carousel-reactive-utils.esm.js} +1 -1
- package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js.map +1 -0
- package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/{embla-carousel.esm.es.js → embla-carousel.esm.js} +1 -1
- package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -0
- package/dist/node_modules/.bun/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file-selector.js +111 -0
- package/dist/node_modules/.bun/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file-selector.js.map +1 -0
- package/dist/node_modules/.bun/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file.js +1236 -0
- package/dist/node_modules/.bun/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file.js.map +1 -0
- package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/{index.es.js → index.js} +1 -1
- package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/index.js +11 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/index.js.map +1 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/ExecutionEnvironment.js +17 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/ExecutionEnvironment.js.map +1 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/UserAgent_DEPRECATED.js +79 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/UserAgent_DEPRECATED.js.map +1 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/isEventSupported.js +22 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/isEventSupported.js.map +1 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/normalizeWheel.js +24 -0
- package/dist/node_modules/.bun/normalize-wheel@1.0.1/node_modules/normalize-wheel/src/normalizeWheel.js.map +1 -0
- package/dist/node_modules/.bun/object-assign@4.1.1/node_modules/object-assign/index.js +41 -0
- package/dist/node_modules/.bun/object-assign@4.1.1/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +46 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/index.js +16 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/lib/has.js +10 -0
- package/dist/node_modules/.bun/prop-types@15.8.1/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/.bun/react-dropzone@15.0.0_e14d3f224186685e/node_modules/react-dropzone/dist/es/index.js +485 -0
- package/dist/node_modules/.bun/react-dropzone@15.0.0_e14d3f224186685e/node_modules/react-dropzone/dist/es/index.js.map +1 -0
- package/dist/node_modules/.bun/react-dropzone@15.0.0_e14d3f224186685e/node_modules/react-dropzone/dist/es/utils/index.js +201 -0
- package/dist/node_modules/.bun/react-dropzone@15.0.0_e14d3f224186685e/node_modules/react-dropzone/dist/es/utils/index.js.map +1 -0
- package/dist/node_modules/.bun/react-easy-crop@6.2.2_7492c01c6988791b/node_modules/react-easy-crop/index.module.js +512 -0
- package/dist/node_modules/.bun/react-easy-crop@6.2.2_7492c01c6988791b/node_modules/react-easy-crop/index.module.js.map +1 -0
- package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +84 -0
- package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +64 -0
- package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/{component.es.js → component.js} +5 -5
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/{constants.es.js → constants.js} +1 -1
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.js +4 -0
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/{utils.es.js → utils.js} +1 -1
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{Combination.es.js → Combination.js} +4 -4
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{SideEffect.es.js → SideEffect.js} +8 -8
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{UI.es.js → UI.js} +5 -5
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{aggresiveCapture.es.js → aggresiveCapture.js} +1 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{handleScroll.es.js → handleScroll.js} +1 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{medium.es.js → medium.js} +2 -2
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/{sidecar.es.js → sidecar.js} +4 -4
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
- package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/{react-resizable-panels.es.js → react-resizable-panels.js} +1 -1
- package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.js.map +1 -0
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/{component.es.js → component.js} +2 -2
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/{hook.es.js → hook.js} +2 -2
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.js +4 -0
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/{singleton.es.js → singleton.js} +2 -2
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
- package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/{tslib.es6.es.js → tslib.es6.js} +30 -3
- package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/{assignRef.es.js → assignRef.js} +1 -1
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/{useMergeRef.es.js → useMergeRef.js} +3 -3
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/{useRef.es.js → useRef.js} +1 -1
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/{exports.es.js → exports.js} +2 -2
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/{medium.es.js → medium.js} +2 -2
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
- package/package.json +296 -13
- package/dist/_virtual/_rolldown/runtime.cjs.js +0 -1
- package/dist/components/ui/accordion.cjs.js +0 -2
- package/dist/components/ui/accordion.cjs.js.map +0 -1
- package/dist/components/ui/accordion.es.js.map +0 -1
- package/dist/components/ui/alert-dialog.cjs.js +0 -2
- package/dist/components/ui/alert-dialog.cjs.js.map +0 -1
- package/dist/components/ui/alert-dialog.es.js.map +0 -1
- package/dist/components/ui/alert-wrapper.cjs.js +0 -2
- package/dist/components/ui/alert-wrapper.cjs.js.map +0 -1
- package/dist/components/ui/alert-wrapper.es.js.map +0 -1
- package/dist/components/ui/alert.cjs.js +0 -2
- package/dist/components/ui/alert.cjs.js.map +0 -1
- package/dist/components/ui/alert.es.js.map +0 -1
- package/dist/components/ui/aspect-ratio.cjs.js +0 -2
- package/dist/components/ui/aspect-ratio.cjs.js.map +0 -1
- package/dist/components/ui/aspect-ratio.es.js.map +0 -1
- package/dist/components/ui/attachment.cjs.js +0 -2
- package/dist/components/ui/attachment.cjs.js.map +0 -1
- package/dist/components/ui/attachment.es.js.map +0 -1
- package/dist/components/ui/avatar.cjs.js +0 -2
- package/dist/components/ui/avatar.cjs.js.map +0 -1
- package/dist/components/ui/avatar.es.js.map +0 -1
- package/dist/components/ui/badge.cjs.js +0 -2
- package/dist/components/ui/badge.cjs.js.map +0 -1
- package/dist/components/ui/badge.es.js.map +0 -1
- package/dist/components/ui/breadcrumb.cjs.js +0 -2
- package/dist/components/ui/breadcrumb.cjs.js.map +0 -1
- package/dist/components/ui/breadcrumb.es.js.map +0 -1
- package/dist/components/ui/bubble.cjs.js +0 -2
- package/dist/components/ui/bubble.cjs.js.map +0 -1
- package/dist/components/ui/bubble.es.js.map +0 -1
- package/dist/components/ui/button-group.cjs.js +0 -2
- package/dist/components/ui/button-group.cjs.js.map +0 -1
- package/dist/components/ui/button-group.es.js.map +0 -1
- package/dist/components/ui/button.cjs.js +0 -2
- package/dist/components/ui/button.cjs.js.map +0 -1
- package/dist/components/ui/button.es.js.map +0 -1
- package/dist/components/ui/calendar.cjs.js +0 -2
- package/dist/components/ui/calendar.cjs.js.map +0 -1
- package/dist/components/ui/calendar.es.js.map +0 -1
- package/dist/components/ui/card.cjs.js +0 -2
- package/dist/components/ui/card.cjs.js.map +0 -1
- package/dist/components/ui/card.es.js.map +0 -1
- package/dist/components/ui/carousel.cjs.js +0 -2
- package/dist/components/ui/carousel.cjs.js.map +0 -1
- package/dist/components/ui/carousel.es.js.map +0 -1
- package/dist/components/ui/chart.cjs.js +0 -8
- package/dist/components/ui/chart.cjs.js.map +0 -1
- package/dist/components/ui/chart.es.js.map +0 -1
- package/dist/components/ui/checkbox.cjs.js +0 -2
- package/dist/components/ui/checkbox.cjs.js.map +0 -1
- package/dist/components/ui/checkbox.es.js.map +0 -1
- package/dist/components/ui/collapsible.cjs.js +0 -2
- package/dist/components/ui/collapsible.cjs.js.map +0 -1
- package/dist/components/ui/collapsible.es.js.map +0 -1
- package/dist/components/ui/combobox.cjs.js +0 -2
- package/dist/components/ui/combobox.cjs.js.map +0 -1
- package/dist/components/ui/combobox.es.js.map +0 -1
- package/dist/components/ui/command.cjs.js +0 -2
- package/dist/components/ui/command.cjs.js.map +0 -1
- package/dist/components/ui/command.es.js.map +0 -1
- package/dist/components/ui/context-menu.cjs.js +0 -2
- package/dist/components/ui/context-menu.cjs.js.map +0 -1
- package/dist/components/ui/context-menu.es.js.map +0 -1
- package/dist/components/ui/dialog.cjs.js +0 -2
- package/dist/components/ui/dialog.cjs.js.map +0 -1
- package/dist/components/ui/dialog.es.js.map +0 -1
- package/dist/components/ui/drawer.cjs.js +0 -2
- package/dist/components/ui/drawer.cjs.js.map +0 -1
- package/dist/components/ui/drawer.es.js.map +0 -1
- package/dist/components/ui/dropdown-menu.cjs.js +0 -2
- package/dist/components/ui/dropdown-menu.cjs.js.map +0 -1
- package/dist/components/ui/dropdown-menu.es.js.map +0 -1
- package/dist/components/ui/empty.cjs.js +0 -2
- package/dist/components/ui/empty.cjs.js.map +0 -1
- package/dist/components/ui/empty.es.js.map +0 -1
- package/dist/components/ui/field.cjs.js +0 -2
- package/dist/components/ui/field.cjs.js.map +0 -1
- package/dist/components/ui/field.es.js.map +0 -1
- package/dist/components/ui/hover-card.cjs.js +0 -2
- package/dist/components/ui/hover-card.cjs.js.map +0 -1
- package/dist/components/ui/hover-card.es.js.map +0 -1
- package/dist/components/ui/input-group.cjs.js +0 -2
- package/dist/components/ui/input-group.cjs.js.map +0 -1
- package/dist/components/ui/input-group.es.js.map +0 -1
- package/dist/components/ui/input-otp.cjs.js +0 -2
- package/dist/components/ui/input-otp.cjs.js.map +0 -1
- package/dist/components/ui/input-otp.es.js.map +0 -1
- package/dist/components/ui/input.cjs.js +0 -2
- package/dist/components/ui/input.cjs.js.map +0 -1
- package/dist/components/ui/input.es.js.map +0 -1
- package/dist/components/ui/item.cjs.js +0 -2
- package/dist/components/ui/item.cjs.js.map +0 -1
- package/dist/components/ui/item.es.js.map +0 -1
- package/dist/components/ui/kbd.cjs.js +0 -2
- package/dist/components/ui/kbd.cjs.js.map +0 -1
- package/dist/components/ui/kbd.es.js.map +0 -1
- package/dist/components/ui/label.cjs.js +0 -2
- package/dist/components/ui/label.cjs.js.map +0 -1
- package/dist/components/ui/label.es.js.map +0 -1
- package/dist/components/ui/marker.cjs.js +0 -2
- package/dist/components/ui/marker.cjs.js.map +0 -1
- package/dist/components/ui/marker.es.js.map +0 -1
- package/dist/components/ui/menubar.cjs.js +0 -2
- package/dist/components/ui/menubar.cjs.js.map +0 -1
- package/dist/components/ui/menubar.es.js.map +0 -1
- package/dist/components/ui/message-scroller.cjs.js +0 -2
- package/dist/components/ui/message-scroller.cjs.js.map +0 -1
- package/dist/components/ui/message-scroller.es.js.map +0 -1
- package/dist/components/ui/message.cjs.js +0 -2
- package/dist/components/ui/message.cjs.js.map +0 -1
- package/dist/components/ui/message.es.js.map +0 -1
- package/dist/components/ui/native-select.cjs.js +0 -2
- package/dist/components/ui/native-select.cjs.js.map +0 -1
- package/dist/components/ui/native-select.es.js.map +0 -1
- package/dist/components/ui/navigation-menu.cjs.js +0 -2
- package/dist/components/ui/navigation-menu.cjs.js.map +0 -1
- package/dist/components/ui/navigation-menu.es.js.map +0 -1
- package/dist/components/ui/pagination.cjs.js +0 -2
- package/dist/components/ui/pagination.cjs.js.map +0 -1
- package/dist/components/ui/pagination.es.js.map +0 -1
- package/dist/components/ui/popover.cjs.js +0 -2
- package/dist/components/ui/popover.cjs.js.map +0 -1
- package/dist/components/ui/popover.es.js.map +0 -1
- package/dist/components/ui/progress.cjs.js +0 -2
- package/dist/components/ui/progress.cjs.js.map +0 -1
- package/dist/components/ui/progress.es.js.map +0 -1
- package/dist/components/ui/radio-group.cjs.js +0 -2
- package/dist/components/ui/radio-group.cjs.js.map +0 -1
- package/dist/components/ui/radio-group.es.js.map +0 -1
- package/dist/components/ui/resizable.cjs.js +0 -2
- package/dist/components/ui/resizable.cjs.js.map +0 -1
- package/dist/components/ui/resizable.es.js.map +0 -1
- package/dist/components/ui/scroll-area.cjs.js +0 -2
- package/dist/components/ui/scroll-area.cjs.js.map +0 -1
- package/dist/components/ui/scroll-area.es.js.map +0 -1
- package/dist/components/ui/select.cjs.js +0 -2
- package/dist/components/ui/select.cjs.js.map +0 -1
- package/dist/components/ui/select.es.js.map +0 -1
- package/dist/components/ui/separator.cjs.js +0 -2
- package/dist/components/ui/separator.cjs.js.map +0 -1
- package/dist/components/ui/separator.es.js.map +0 -1
- package/dist/components/ui/sheet.cjs.js +0 -2
- package/dist/components/ui/sheet.cjs.js.map +0 -1
- package/dist/components/ui/sheet.es.js.map +0 -1
- package/dist/components/ui/sidebar.cjs.js +0 -2
- package/dist/components/ui/sidebar.cjs.js.map +0 -1
- package/dist/components/ui/sidebar.es.js.map +0 -1
- package/dist/components/ui/skeleton.cjs.js +0 -2
- package/dist/components/ui/skeleton.cjs.js.map +0 -1
- package/dist/components/ui/skeleton.es.js.map +0 -1
- package/dist/components/ui/slider.cjs.js +0 -2
- package/dist/components/ui/slider.cjs.js.map +0 -1
- package/dist/components/ui/slider.es.js.map +0 -1
- package/dist/components/ui/sonner.cjs.js +0 -2
- package/dist/components/ui/sonner.cjs.js.map +0 -1
- package/dist/components/ui/sonner.es.js.map +0 -1
- package/dist/components/ui/spinner.cjs.js +0 -2
- package/dist/components/ui/spinner.cjs.js.map +0 -1
- package/dist/components/ui/spinner.es.js.map +0 -1
- package/dist/components/ui/switch.cjs.js +0 -2
- package/dist/components/ui/switch.cjs.js.map +0 -1
- package/dist/components/ui/switch.es.js.map +0 -1
- package/dist/components/ui/table.cjs.js +0 -2
- package/dist/components/ui/table.cjs.js.map +0 -1
- package/dist/components/ui/table.es.js.map +0 -1
- package/dist/components/ui/tabs.cjs.js +0 -2
- package/dist/components/ui/tabs.cjs.js.map +0 -1
- package/dist/components/ui/tabs.es.js.map +0 -1
- package/dist/components/ui/textarea.cjs.js +0 -2
- package/dist/components/ui/textarea.cjs.js.map +0 -1
- package/dist/components/ui/textarea.es.js.map +0 -1
- package/dist/components/ui/toggle-group.cjs.js +0 -2
- package/dist/components/ui/toggle-group.cjs.js.map +0 -1
- package/dist/components/ui/toggle-group.es.js.map +0 -1
- package/dist/components/ui/toggle.cjs.js +0 -2
- package/dist/components/ui/toggle.cjs.js.map +0 -1
- package/dist/components/ui/toggle.es.js.map +0 -1
- package/dist/components/ui/tooltip.cjs.js +0 -2
- package/dist/components/ui/tooltip.cjs.js.map +0 -1
- package/dist/components/ui/tooltip.es.js.map +0 -1
- package/dist/hooks/index.cjs.js +0 -1
- package/dist/hooks/index.es.js +0 -2
- package/dist/hooks/use-mobile.cjs.js +0 -2
- package/dist/hooks/use-mobile.cjs.js.map +0 -1
- package/dist/hooks/use-mobile.es.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -63
- package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.3_93dbe784b8baa420/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-context@1.2.0_93dbe784b8baa420/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-dialog@1.1.19_ae2b4604ef263bc9/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-dismissable-layer@1.1.15_ae2b4604ef263bc9/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-focus-guards@1.1.4_93dbe784b8baa420/node_modules/@radix-ui/react-focus-guards/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-focus-scope@1.1.12_ae2b4604ef263bc9/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-id@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-id/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-portal@1.1.13_ae2b4604ef263bc9/node_modules/@radix-ui/react-portal/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-presence@1.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-presence/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-primitive@2.1.7_ae2b4604ef263bc9/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-slot@1.3.0_93dbe784b8baa420/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-use-callback-ref@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-use-controllable-state@1.2.3_93dbe784b8baa420/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/@radix-ui_react-use-layout-effect@1.1.2_93dbe784b8baa420/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs.js +0 -2
- package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.es.js.map +0 -1
- package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs.js +0 -2
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs.js.map +0 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.es.js.map +0 -1
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.cjs.js +0 -2
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.cjs.js.map +0 -1
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/chunk-NZJY6EH4.es.js.map +0 -1
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/cmdk@1.1.1_ae2b4604ef263bc9/node_modules/cmdk/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js +0 -2
- package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/cnfast@0.0.8/node_modules/cnfast/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs.js +0 -2
- package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs.js.map +0 -1
- package/dist/node_modules/.bun/embla-carousel-react@8.6.0_e14d3f224186685e/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.es.js.map +0 -1
- package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.js +0 -2
- package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.js.map +0 -1
- package/dist/node_modules/.bun/embla-carousel-reactive-utils@8.6.0_3dde5556684c958d/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.es.js.map +0 -1
- package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.js +0 -2
- package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.js.map +0 -1
- package/dist/node_modules/.bun/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.es.js.map +0 -1
- package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs.js +0 -2
- package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.es.js.map +0 -1
- package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.cjs.js +0 -21
- package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.bun/input-otp@1.4.2_7492c01c6988791b/node_modules/input-otp/dist/index.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.js +0 -39
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.js +0 -2
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs.js +0 -1
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.es.js +0 -4
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs.js +0 -2
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.js +0 -2
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.js +0 -5
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.cjs.js +0 -2
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.js +0 -2
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.js +0 -2
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.cjs.js +0 -2
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.es.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.js +0 -2
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-remove-scroll@2.7.2_93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js.map +0 -1
- package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs.js +0 -2
- package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-resizable-panels@4.12.1_7492c01c6988791b/node_modules/react-resizable-panels/dist/react-resizable-panels.es.js.map +0 -1
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js +0 -2
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.es.js.map +0 -1
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.cjs.js +0 -2
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/hook.es.js.map +0 -1
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.cjs.js +0 -1
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.es.js +0 -4
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.cjs.js +0 -2
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.cjs.js.map +0 -1
- package/dist/node_modules/.bun/react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/singleton.es.js.map +0 -1
- package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js +0 -2
- package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs.js.map +0 -1
- package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.es.js.map +0 -1
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.js +0 -2
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.js.map +0 -1
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/assignRef.es.js.map +0 -1
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.js +0 -2
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.js.map +0 -1
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js.map +0 -1
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.cjs.js +0 -2
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.cjs.js.map +0 -1
- package/dist/node_modules/.bun/use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useRef.es.js.map +0 -1
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.cjs.js +0 -2
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.cjs.js.map +0 -1
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/exports.es.js.map +0 -1
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.cjs.js +0 -2
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.cjs.js.map +0 -1
- package/dist/node_modules/.bun/use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.es.js.map +0 -1
- /package/dist/components/ui/{direction.es.js → direction.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.module.js","names":["React"],"sources":["../../../../../../../../node_modules/.bun/react-easy-crop@6.2.2+7492c01c6988791b/node_modules/react-easy-crop/index.module.mjs"],"sourcesContent":["import * as React from \"react\";\nimport normalizeWheel from \"normalize-wheel\";\n//#region \\0@oxc-project+runtime@0.134.0/helpers/esm/typeof.js\nfunction _typeof(o) {\n\t\"@babel/helpers - typeof\";\n\treturn _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n\t\treturn typeof o;\n\t} : function(o) {\n\t\treturn o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n\t}, _typeof(o);\n}\n//#endregion\n//#region \\0@oxc-project+runtime@0.134.0/helpers/esm/toPrimitive.js\nfunction toPrimitive(t, r) {\n\tif (\"object\" != _typeof(t) || !t) return t;\n\tvar e = t[Symbol.toPrimitive];\n\tif (void 0 !== e) {\n\t\tvar i = e.call(t, r || \"default\");\n\t\tif (\"object\" != _typeof(i)) return i;\n\t\tthrow new TypeError(\"@@toPrimitive must return a primitive value.\");\n\t}\n\treturn (\"string\" === r ? String : Number)(t);\n}\n//#endregion\n//#region \\0@oxc-project+runtime@0.134.0/helpers/esm/toPropertyKey.js\nfunction toPropertyKey(t) {\n\tvar i = toPrimitive(t, \"string\");\n\treturn \"symbol\" == _typeof(i) ? i : i + \"\";\n}\n//#endregion\n//#region \\0@oxc-project+runtime@0.134.0/helpers/esm/defineProperty.js\nfunction _defineProperty(e, r, t) {\n\treturn (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n\t\tvalue: t,\n\t\tenumerable: !0,\n\t\tconfigurable: !0,\n\t\twritable: !0\n\t}) : e[r] = t, e;\n}\n//#endregion\n//#region \\0@oxc-project+runtime@0.134.0/helpers/esm/objectSpread2.js\nfunction ownKeys(e, r) {\n\tvar t = Object.keys(e);\n\tif (Object.getOwnPropertySymbols) {\n\t\tvar o = Object.getOwnPropertySymbols(e);\n\t\tr && (o = o.filter(function(r) {\n\t\t\treturn Object.getOwnPropertyDescriptor(e, r).enumerable;\n\t\t})), t.push.apply(t, o);\n\t}\n\treturn t;\n}\nfunction _objectSpread2(e) {\n\tfor (var r = 1; r < arguments.length; r++) {\n\t\tvar t = null != arguments[r] ? arguments[r] : {};\n\t\tr % 2 ? ownKeys(Object(t), !0).forEach(function(r) {\n\t\t\t_defineProperty(e, r, t[r]);\n\t\t}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {\n\t\t\tObject.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n\t\t});\n\t}\n\treturn e;\n}\n//#endregion\n//#region src/helpers.ts\n/**\n* Compute the dimension of the crop area based on media size,\n* aspect ratio and optionally rotation\n*/\nfunction getCropSize(mediaWidth, mediaHeight, containerWidth, containerHeight, aspect, rotation = 0) {\n\tconst { width, height } = rotateSize(mediaWidth, mediaHeight, rotation);\n\tconst fittingWidth = Math.min(width, containerWidth);\n\tconst fittingHeight = Math.min(height, containerHeight);\n\tif (fittingWidth > fittingHeight * aspect) return {\n\t\twidth: fittingHeight * aspect,\n\t\theight: fittingHeight\n\t};\n\treturn {\n\t\twidth: fittingWidth,\n\t\theight: fittingWidth / aspect\n\t};\n}\n/**\n* Compute media zoom.\n* We fit the media into the container with \"max-width: 100%; max-height: 100%;\"\n*/\nfunction getMediaZoom(mediaSize) {\n\treturn mediaSize.width > mediaSize.height ? mediaSize.width / mediaSize.naturalWidth : mediaSize.height / mediaSize.naturalHeight;\n}\n/**\n* Ensure a new media position stays in the crop area.\n*/\nfunction restrictPosition(position, mediaSize, cropSize, zoom, rotation = 0) {\n\tconst { width, height } = rotateSize(mediaSize.width, mediaSize.height, rotation);\n\treturn {\n\t\tx: restrictPositionCoord(position.x, width, cropSize.width, zoom),\n\t\ty: restrictPositionCoord(position.y, height, cropSize.height, zoom)\n\t};\n}\nfunction restrictPositionCoord(position, mediaSize, cropSize, zoom) {\n\tconst maxPosition = Math.abs(mediaSize * zoom / 2 - cropSize / 2);\n\treturn clamp(position, -maxPosition, maxPosition);\n}\nfunction getDistanceBetweenPoints(pointA, pointB) {\n\treturn Math.sqrt(Math.pow(pointA.y - pointB.y, 2) + Math.pow(pointA.x - pointB.x, 2));\n}\nfunction getRotationBetweenPoints(pointA, pointB) {\n\treturn Math.atan2(pointB.y - pointA.y, pointB.x - pointA.x) * 180 / Math.PI;\n}\n/**\n* Compute the output cropped area of the media in percentages and pixels.\n* x/y are the top-left coordinates on the src media\n*/\nfunction computeCroppedArea(crop, mediaSize, cropSize, aspect, zoom, rotation = 0, restrictPosition = true) {\n\tconst limitAreaFn = restrictPosition ? limitArea : noOp;\n\tconst mediaBBoxSize = rotateSize(mediaSize.width, mediaSize.height, rotation);\n\tconst mediaNaturalBBoxSize = rotateSize(mediaSize.naturalWidth, mediaSize.naturalHeight, rotation);\n\tconst croppedAreaPercentages = {\n\t\tx: limitAreaFn(100, ((mediaBBoxSize.width - cropSize.width / zoom) / 2 - crop.x / zoom) / mediaBBoxSize.width * 100),\n\t\ty: limitAreaFn(100, ((mediaBBoxSize.height - cropSize.height / zoom) / 2 - crop.y / zoom) / mediaBBoxSize.height * 100),\n\t\twidth: limitAreaFn(100, cropSize.width / mediaBBoxSize.width * 100 / zoom),\n\t\theight: limitAreaFn(100, cropSize.height / mediaBBoxSize.height * 100 / zoom)\n\t};\n\tconst widthInPixels = Math.round(limitAreaFn(mediaNaturalBBoxSize.width, croppedAreaPercentages.width * mediaNaturalBBoxSize.width / 100));\n\tconst heightInPixels = Math.round(limitAreaFn(mediaNaturalBBoxSize.height, croppedAreaPercentages.height * mediaNaturalBBoxSize.height / 100));\n\tconst sizePixels = mediaNaturalBBoxSize.width >= mediaNaturalBBoxSize.height * aspect ? {\n\t\twidth: Math.round(heightInPixels * aspect),\n\t\theight: heightInPixels\n\t} : {\n\t\twidth: widthInPixels,\n\t\theight: Math.round(widthInPixels / aspect)\n\t};\n\treturn {\n\t\tcroppedAreaPercentages,\n\t\tcroppedAreaPixels: _objectSpread2(_objectSpread2({}, sizePixels), {}, {\n\t\t\tx: Math.round(limitAreaFn(mediaNaturalBBoxSize.width - sizePixels.width, croppedAreaPercentages.x * mediaNaturalBBoxSize.width / 100)),\n\t\t\ty: Math.round(limitAreaFn(mediaNaturalBBoxSize.height - sizePixels.height, croppedAreaPercentages.y * mediaNaturalBBoxSize.height / 100))\n\t\t})\n\t};\n}\n/**\n* Ensure the returned value is between 0 and max\n*/\nfunction limitArea(max, value) {\n\treturn Math.min(max, Math.max(0, value));\n}\nfunction noOp(_max, value) {\n\treturn value;\n}\n/**\n* Compute crop and zoom from the croppedAreaPercentages.\n*/\nfunction getInitialCropFromCroppedAreaPercentages(croppedAreaPercentages, mediaSize, rotation, cropSize, minZoom, maxZoom) {\n\tconst mediaBBoxSize = rotateSize(mediaSize.width, mediaSize.height, rotation);\n\tconst zoom = clamp(cropSize.width / mediaBBoxSize.width * (100 / croppedAreaPercentages.width), minZoom, maxZoom);\n\treturn {\n\t\tcrop: {\n\t\t\tx: zoom * mediaBBoxSize.width / 2 - cropSize.width / 2 - mediaBBoxSize.width * zoom * (croppedAreaPercentages.x / 100),\n\t\t\ty: zoom * mediaBBoxSize.height / 2 - cropSize.height / 2 - mediaBBoxSize.height * zoom * (croppedAreaPercentages.y / 100)\n\t\t},\n\t\tzoom\n\t};\n}\n/**\n* Compute zoom from the croppedAreaPixels\n*/\nfunction getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) {\n\tconst mediaZoom = getMediaZoom(mediaSize);\n\treturn cropSize.height > cropSize.width ? cropSize.height / (croppedAreaPixels.height * mediaZoom) : cropSize.width / (croppedAreaPixels.width * mediaZoom);\n}\n/**\n* Compute crop and zoom from the croppedAreaPixels\n*/\nfunction getInitialCropFromCroppedAreaPixels(croppedAreaPixels, mediaSize, rotation = 0, cropSize, minZoom, maxZoom) {\n\tconst mediaNaturalBBoxSize = rotateSize(mediaSize.naturalWidth, mediaSize.naturalHeight, rotation);\n\tconst zoom = clamp(getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize), minZoom, maxZoom);\n\tconst cropZoom = cropSize.height > cropSize.width ? cropSize.height / croppedAreaPixels.height : cropSize.width / croppedAreaPixels.width;\n\treturn {\n\t\tcrop: {\n\t\t\tx: ((mediaNaturalBBoxSize.width - croppedAreaPixels.width) / 2 - croppedAreaPixels.x) * cropZoom,\n\t\t\ty: ((mediaNaturalBBoxSize.height - croppedAreaPixels.height) / 2 - croppedAreaPixels.y) * cropZoom\n\t\t},\n\t\tzoom\n\t};\n}\n/**\n* Return the point that is the center of point a and b\n*/\nfunction getCenter(a, b) {\n\treturn {\n\t\tx: (b.x + a.x) / 2,\n\t\ty: (b.y + a.y) / 2\n\t};\n}\nfunction getRadianAngle(degreeValue) {\n\treturn degreeValue * Math.PI / 180;\n}\n/**\n* Returns the new bounding area of a rotated rectangle.\n*/\nfunction rotateSize(width, height, rotation) {\n\tconst rotRad = getRadianAngle(rotation);\n\treturn {\n\t\twidth: Math.abs(Math.cos(rotRad) * width) + Math.abs(Math.sin(rotRad) * height),\n\t\theight: Math.abs(Math.sin(rotRad) * width) + Math.abs(Math.cos(rotRad) * height)\n\t};\n}\n/**\n* Clamp value between min and max\n*/\nfunction clamp(value, min, max) {\n\treturn Math.min(Math.max(value, min), max);\n}\n/**\n* Combine multiple class names into a single string.\n*/\nfunction classNames(...args) {\n\treturn args.filter((value) => {\n\t\tif (typeof value === \"string\" && value.length > 0) return true;\n\t\treturn false;\n\t}).join(\" \").trim();\n}\n//#endregion\n//#region src/styles.css?raw\nvar styles_default = \".reactEasyCrop_Container {\\n position: absolute;\\n top: 0;\\n left: 0;\\n right: 0;\\n bottom: 0;\\n overflow: hidden;\\n user-select: none;\\n touch-action: none;\\n cursor: move;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n}\\n\\n.reactEasyCrop_Image,\\n.reactEasyCrop_Video {\\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\\n max-width: unset; /* prevent global img/video reset rules from constraining the cropper media */\\n}\\n\\n.reactEasyCrop_Contain {\\n max-width: 100%;\\n max-height: 100%;\\n margin: auto;\\n position: absolute;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n}\\n.reactEasyCrop_Cover_Horizontal {\\n width: 100%;\\n height: auto;\\n}\\n.reactEasyCrop_Cover_Vertical {\\n width: auto;\\n height: 100%;\\n}\\n\\n.reactEasyCrop_CropArea {\\n position: absolute;\\n left: 50%;\\n top: 50%;\\n transform: translate(-50%, -50%);\\n border: 1px solid rgba(255, 255, 255, 0.5);\\n box-sizing: border-box;\\n box-shadow: 0 0 0 9999em;\\n color: rgba(0, 0, 0, 0.5);\\n overflow: hidden;\\n}\\n\\n.reactEasyCrop_CropAreaRound {\\n border-radius: 50%;\\n}\\n\\n.reactEasyCrop_CropAreaGrid::before {\\n content: ' ';\\n box-sizing: border-box;\\n position: absolute;\\n border: 1px solid rgba(255, 255, 255, 0.5);\\n top: 0;\\n bottom: 0;\\n left: 33.33%;\\n right: 33.33%;\\n border-top: 0;\\n border-bottom: 0;\\n}\\n\\n.reactEasyCrop_CropAreaGrid::after {\\n content: ' ';\\n box-sizing: border-box;\\n position: absolute;\\n border: 1px solid rgba(255, 255, 255, 0.5);\\n top: 33.33%;\\n bottom: 33.33%;\\n left: 0;\\n right: 0;\\n border-left: 0;\\n border-right: 0;\\n}\\n\";\n//#endregion\n//#region src/Cropper.tsx\nconst RESIZE_EMIT_DEBOUNCE_TIME = 250;\nconst MIN_ZOOM = 1;\nconst MAX_ZOOM = 3;\nconst KEYBOARD_STEP = 1;\nvar Cropper = class Cropper extends React.Component {\n\tconstructor(..._args) {\n\t\tsuper(..._args);\n\t\tthis.cropperRef = React.createRef();\n\t\tthis.imageRef = React.createRef();\n\t\tthis.videoRef = React.createRef();\n\t\tthis.containerPosition = {\n\t\t\tx: 0,\n\t\t\ty: 0\n\t\t};\n\t\tthis.containerRef = null;\n\t\tthis.styleRef = null;\n\t\tthis.containerRect = null;\n\t\tthis.mediaSize = {\n\t\t\twidth: 0,\n\t\t\theight: 0,\n\t\t\tnaturalWidth: 0,\n\t\t\tnaturalHeight: 0\n\t\t};\n\t\tthis.dragStartPosition = {\n\t\t\tx: 0,\n\t\t\ty: 0\n\t\t};\n\t\tthis.dragStartCrop = {\n\t\t\tx: 0,\n\t\t\ty: 0\n\t\t};\n\t\tthis.gestureZoomStart = 0;\n\t\tthis.gestureRotationStart = 0;\n\t\tthis.isTouching = false;\n\t\tthis.lastPinchDistance = 0;\n\t\tthis.lastPinchRotation = 0;\n\t\tthis.rafDragTimeout = null;\n\t\tthis.rafPinchTimeout = null;\n\t\tthis.wheelTimer = null;\n\t\tthis.resizeEmitTimer = null;\n\t\tthis.currentDoc = typeof document !== \"undefined\" ? document : null;\n\t\tthis.currentWindow = typeof window !== \"undefined\" ? window : null;\n\t\tthis.resizeObserver = null;\n\t\tthis.previousCropSize = null;\n\t\tthis.isInitialized = false;\n\t\tthis.dragInteractionSource = null;\n\t\tthis.state = {\n\t\t\tcropSize: null,\n\t\t\thasWheelJustStarted: false,\n\t\t\tmediaObjectFit: void 0\n\t\t};\n\t\tthis.initResizeObserver = () => {\n\t\t\tif (typeof window.ResizeObserver === \"undefined\" || !this.containerRef) return;\n\t\t\tlet isFirstResize = true;\n\t\t\tthis.resizeObserver = new window.ResizeObserver((entries) => {\n\t\t\t\tif (isFirstResize) {\n\t\t\t\t\tisFirstResize = false;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.computeSizes({ isResizeTriggered: true });\n\t\t\t});\n\t\t\tthis.resizeObserver.observe(this.containerRef);\n\t\t};\n\t\tthis.onWindowResize = () => {\n\t\t\tthis.computeSizes({ isResizeTriggered: true });\n\t\t};\n\t\tthis.preventZoomSafari = (e) => e.preventDefault();\n\t\tthis.cleanEvents = () => {\n\t\t\tif (!this.currentDoc) return;\n\t\t\tthis.currentDoc.removeEventListener(\"mousemove\", this.onMouseMove);\n\t\t\tthis.currentDoc.removeEventListener(\"mouseup\", this.onDragStopped);\n\t\t\tthis.currentDoc.removeEventListener(\"touchmove\", this.onTouchMove);\n\t\t\tthis.currentDoc.removeEventListener(\"touchend\", this.onDragStopped);\n\t\t\tthis.currentDoc.removeEventListener(\"gesturechange\", this.onGestureChange);\n\t\t\tthis.currentDoc.removeEventListener(\"gestureend\", this.onGestureEnd);\n\t\t\tthis.currentDoc.removeEventListener(\"scroll\", this.onScroll);\n\t\t};\n\t\tthis.clearScrollEvent = () => {\n\t\t\tif (this.containerRef) this.containerRef.removeEventListener(\"wheel\", this.onWheel);\n\t\t\tif (this.wheelTimer) clearTimeout(this.wheelTimer);\n\t\t};\n\t\tthis.onMediaLoad = () => {\n\t\t\tconst cropSize = this.computeSizes();\n\t\t\tif (cropSize) {\n\t\t\t\tthis.previousCropSize = cropSize;\n\t\t\t\tthis.emitCropData();\n\t\t\t\tthis.setInitialCrop(cropSize);\n\t\t\t\tthis.isInitialized = true;\n\t\t\t}\n\t\t\tif (this.props.onMediaLoaded) this.props.onMediaLoaded(this.mediaSize);\n\t\t};\n\t\tthis.setInitialCrop = (cropSize) => {\n\t\t\tif (this.props.initialCroppedAreaPercentages) {\n\t\t\t\tconst { crop, zoom } = getInitialCropFromCroppedAreaPercentages(this.props.initialCroppedAreaPercentages, this.mediaSize, this.props.rotation, cropSize, this.props.minZoom, this.props.maxZoom);\n\t\t\t\tthis.props.onCropChange(crop);\n\t\t\t\tthis.props.onZoomChange && this.props.onZoomChange(zoom);\n\t\t\t} else if (this.props.initialCroppedAreaPixels) {\n\t\t\t\tconst { crop, zoom } = getInitialCropFromCroppedAreaPixels(this.props.initialCroppedAreaPixels, this.mediaSize, this.props.rotation, cropSize, this.props.minZoom, this.props.maxZoom);\n\t\t\t\tthis.props.onCropChange(crop);\n\t\t\t\tthis.props.onZoomChange && this.props.onZoomChange(zoom);\n\t\t\t}\n\t\t};\n\t\tthis.computeSizes = ({ isResizeTriggered = false } = {}) => {\n\t\t\tconst mediaRef = this.imageRef.current || this.videoRef.current;\n\t\t\tif (mediaRef && this.containerRef) {\n\t\t\t\tvar _this$imageRef$curren, _this$videoRef$curren, _this$imageRef$curren2, _this$videoRef$curren2, _this$state$cropSize, _this$state$cropSize2;\n\t\t\t\tthis.containerRect = this.containerRef.getBoundingClientRect();\n\t\t\t\tthis.saveContainerPosition();\n\t\t\t\tconst containerAspect = this.containerRect.width / this.containerRect.height;\n\t\t\t\tconst naturalWidth = ((_this$imageRef$curren = this.imageRef.current) === null || _this$imageRef$curren === void 0 ? void 0 : _this$imageRef$curren.naturalWidth) || ((_this$videoRef$curren = this.videoRef.current) === null || _this$videoRef$curren === void 0 ? void 0 : _this$videoRef$curren.videoWidth) || 0;\n\t\t\t\tconst naturalHeight = ((_this$imageRef$curren2 = this.imageRef.current) === null || _this$imageRef$curren2 === void 0 ? void 0 : _this$imageRef$curren2.naturalHeight) || ((_this$videoRef$curren2 = this.videoRef.current) === null || _this$videoRef$curren2 === void 0 ? void 0 : _this$videoRef$curren2.videoHeight) || 0;\n\t\t\t\tconst isMediaScaledDown = mediaRef.offsetWidth < naturalWidth || mediaRef.offsetHeight < naturalHeight;\n\t\t\t\tconst mediaAspect = naturalWidth / naturalHeight;\n\t\t\t\tlet renderedMediaSize;\n\t\t\t\tif (isMediaScaledDown) switch (this.state.mediaObjectFit) {\n\t\t\t\t\tdefault:\n\t\t\t\t\tcase \"contain\":\n\t\t\t\t\t\trenderedMediaSize = containerAspect > mediaAspect ? {\n\t\t\t\t\t\t\twidth: this.containerRect.height * mediaAspect,\n\t\t\t\t\t\t\theight: this.containerRect.height\n\t\t\t\t\t\t} : {\n\t\t\t\t\t\t\twidth: this.containerRect.width,\n\t\t\t\t\t\t\theight: this.containerRect.width / mediaAspect\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"horizontal-cover\":\n\t\t\t\t\t\trenderedMediaSize = {\n\t\t\t\t\t\t\twidth: this.containerRect.width,\n\t\t\t\t\t\t\theight: this.containerRect.width / mediaAspect\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"vertical-cover\":\n\t\t\t\t\t\trenderedMediaSize = {\n\t\t\t\t\t\t\twidth: this.containerRect.height * mediaAspect,\n\t\t\t\t\t\t\theight: this.containerRect.height\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse renderedMediaSize = {\n\t\t\t\t\twidth: mediaRef.offsetWidth,\n\t\t\t\t\theight: mediaRef.offsetHeight\n\t\t\t\t};\n\t\t\t\tthis.mediaSize = _objectSpread2(_objectSpread2({}, renderedMediaSize), {}, {\n\t\t\t\t\tnaturalWidth,\n\t\t\t\t\tnaturalHeight\n\t\t\t\t});\n\t\t\t\tif (this.props.setMediaSize) this.props.setMediaSize(this.mediaSize);\n\t\t\t\tconst cropSize = this.props.cropSize ? this.props.cropSize : getCropSize(this.mediaSize.width, this.mediaSize.height, this.containerRect.width, this.containerRect.height, this.props.aspect, this.props.rotation);\n\t\t\t\tif (((_this$state$cropSize = this.state.cropSize) === null || _this$state$cropSize === void 0 ? void 0 : _this$state$cropSize.height) !== cropSize.height || ((_this$state$cropSize2 = this.state.cropSize) === null || _this$state$cropSize2 === void 0 ? void 0 : _this$state$cropSize2.width) !== cropSize.width) this.props.onCropSizeChange && this.props.onCropSizeChange(cropSize);\n\t\t\t\tthis.setState({ cropSize }, () => this.recomputeCropPosition({ isResizeTriggered }));\n\t\t\t\tif (this.props.setCropSize) this.props.setCropSize(cropSize);\n\t\t\t\treturn cropSize;\n\t\t\t}\n\t\t};\n\t\tthis.saveContainerPosition = () => {\n\t\t\tif (this.containerRef) {\n\t\t\t\tconst bounds = this.containerRef.getBoundingClientRect();\n\t\t\t\tthis.containerPosition = {\n\t\t\t\t\tx: bounds.left,\n\t\t\t\t\ty: bounds.top\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t\tthis.onMouseDown = (e) => {\n\t\t\tif (!this.currentDoc) return;\n\t\t\te.preventDefault();\n\t\t\tthis.currentDoc.addEventListener(\"mousemove\", this.onMouseMove);\n\t\t\tthis.currentDoc.addEventListener(\"mouseup\", this.onDragStopped);\n\t\t\tthis.saveContainerPosition();\n\t\t\tthis.onDragStart(Cropper.getMousePoint(e), \"mouse\");\n\t\t};\n\t\tthis.onMouseMove = (e) => this.onDrag(Cropper.getMousePoint(e));\n\t\tthis.onScroll = (e) => {\n\t\t\tif (!this.currentDoc) return;\n\t\t\te.preventDefault();\n\t\t\tthis.saveContainerPosition();\n\t\t};\n\t\tthis.onTouchStart = (e) => {\n\t\t\tif (!this.currentDoc) return;\n\t\t\tthis.isTouching = true;\n\t\t\tif (this.props.onTouchRequest && !this.props.onTouchRequest(e)) return;\n\t\t\tthis.currentDoc.addEventListener(\"touchmove\", this.onTouchMove, { passive: false });\n\t\t\tthis.currentDoc.addEventListener(\"touchend\", this.onDragStopped);\n\t\t\tthis.saveContainerPosition();\n\t\t\tif (e.touches.length === 2) this.onPinchStart(e);\n\t\t\telse if (e.touches.length === 1) this.onDragStart(Cropper.getTouchPoint(e.touches[0]), \"touch\");\n\t\t};\n\t\tthis.onTouchMove = (e) => {\n\t\t\te.preventDefault();\n\t\t\tif (e.touches.length === 2) this.onPinchMove(e);\n\t\t\telse if (e.touches.length === 1) this.onDrag(Cropper.getTouchPoint(e.touches[0]));\n\t\t};\n\t\tthis.onGestureStart = (e) => {\n\t\t\tif (!this.currentDoc) return;\n\t\t\te.preventDefault();\n\t\t\tthis.currentDoc.addEventListener(\"gesturechange\", this.onGestureChange);\n\t\t\tthis.currentDoc.addEventListener(\"gestureend\", this.onGestureEnd);\n\t\t\tthis.gestureZoomStart = this.props.zoom;\n\t\t\tthis.gestureRotationStart = this.props.rotation;\n\t\t};\n\t\tthis.onGestureChange = (e) => {\n\t\t\te.preventDefault();\n\t\t\tif (this.isTouching) return;\n\t\t\tconst point = Cropper.getMousePoint(e);\n\t\t\tconst newZoom = this.gestureZoomStart - 1 + e.scale;\n\t\t\tthis.setNewZoom(newZoom, point, { shouldUpdatePosition: true });\n\t\t\tif (this.props.onRotationChange) {\n\t\t\t\tconst newRotation = this.gestureRotationStart + e.rotation;\n\t\t\t\tthis.props.onRotationChange(newRotation);\n\t\t\t}\n\t\t};\n\t\tthis.onGestureEnd = (e) => {\n\t\t\tthis.cleanEvents();\n\t\t};\n\t\tthis.onDragStart = ({ x, y }, source) => {\n\t\t\tvar _this$props$onInterac, _this$props;\n\t\t\tthis.dragStartPosition = {\n\t\t\t\tx,\n\t\t\t\ty\n\t\t\t};\n\t\t\tthis.dragStartCrop = _objectSpread2({}, this.props.crop);\n\t\t\tthis.dragInteractionSource = source;\n\t\t\t(_this$props$onInterac = (_this$props = this.props).onInteractionStart) === null || _this$props$onInterac === void 0 || _this$props$onInterac.call(_this$props, { source });\n\t\t};\n\t\tthis.onDrag = ({ x, y }) => {\n\t\t\tif (!this.currentWindow) return;\n\t\t\tif (this.rafDragTimeout) this.currentWindow.cancelAnimationFrame(this.rafDragTimeout);\n\t\t\tthis.rafDragTimeout = this.currentWindow.requestAnimationFrame(() => {\n\t\t\t\tif (!this.state.cropSize) return;\n\t\t\t\tif (x === void 0 || y === void 0) return;\n\t\t\t\tconst offsetX = x - this.dragStartPosition.x;\n\t\t\t\tconst offsetY = y - this.dragStartPosition.y;\n\t\t\t\tconst requestedPosition = {\n\t\t\t\t\tx: this.dragStartCrop.x + offsetX,\n\t\t\t\t\ty: this.dragStartCrop.y + offsetY\n\t\t\t\t};\n\t\t\t\tconst newPosition = this.props.restrictPosition ? restrictPosition(requestedPosition, this.mediaSize, this.state.cropSize, this.props.zoom, this.props.rotation) : requestedPosition;\n\t\t\t\tthis.props.onCropChange(newPosition);\n\t\t\t});\n\t\t};\n\t\tthis.onDragStopped = () => {\n\t\t\tvar _this$props$onInterac2, _this$props2, _this$dragInteraction;\n\t\t\tthis.isTouching = false;\n\t\t\tthis.cleanEvents();\n\t\t\tthis.emitCropData();\n\t\t\t(_this$props$onInterac2 = (_this$props2 = this.props).onInteractionEnd) === null || _this$props$onInterac2 === void 0 || _this$props$onInterac2.call(_this$props2, { source: (_this$dragInteraction = this.dragInteractionSource) !== null && _this$dragInteraction !== void 0 ? _this$dragInteraction : \"mouse\" });\n\t\t\tthis.dragInteractionSource = null;\n\t\t};\n\t\tthis.onWheel = (e) => {\n\t\t\tif (!this.currentWindow) return;\n\t\t\tif (this.props.onWheelRequest && !this.props.onWheelRequest(e)) return;\n\t\t\te.preventDefault();\n\t\t\tconst point = Cropper.getMousePoint(e);\n\t\t\tconst { pixelY } = normalizeWheel(e);\n\t\t\tconst newZoom = this.props.zoom - pixelY * this.props.zoomSpeed / 200;\n\t\t\tthis.setNewZoom(newZoom, point, { shouldUpdatePosition: true });\n\t\t\tif (!this.state.hasWheelJustStarted) this.setState({ hasWheelJustStarted: true }, () => {\n\t\t\t\tvar _this$props$onInterac3, _this$props3;\n\t\t\t\treturn (_this$props$onInterac3 = (_this$props3 = this.props).onInteractionStart) === null || _this$props$onInterac3 === void 0 ? void 0 : _this$props$onInterac3.call(_this$props3, { source: \"wheel\" });\n\t\t\t});\n\t\t\tif (this.wheelTimer) clearTimeout(this.wheelTimer);\n\t\t\tthis.wheelTimer = this.currentWindow.setTimeout(() => this.setState({ hasWheelJustStarted: false }, () => {\n\t\t\t\tvar _this$props$onInterac4, _this$props4;\n\t\t\t\treturn (_this$props$onInterac4 = (_this$props4 = this.props).onInteractionEnd) === null || _this$props$onInterac4 === void 0 ? void 0 : _this$props$onInterac4.call(_this$props4, { source: \"wheel\" });\n\t\t\t}), 250);\n\t\t};\n\t\tthis.getPointOnContainer = ({ x, y }, containerTopLeft) => {\n\t\t\tif (!this.containerRect) throw new Error(\"The Cropper is not mounted\");\n\t\t\treturn {\n\t\t\t\tx: this.containerRect.width / 2 - (x - containerTopLeft.x),\n\t\t\t\ty: this.containerRect.height / 2 - (y - containerTopLeft.y)\n\t\t\t};\n\t\t};\n\t\tthis.getPointOnMedia = ({ x, y }) => {\n\t\t\tconst { crop, zoom } = this.props;\n\t\t\treturn {\n\t\t\t\tx: (x + crop.x) / zoom,\n\t\t\t\ty: (y + crop.y) / zoom\n\t\t\t};\n\t\t};\n\t\tthis.setNewZoom = (zoom, point, { shouldUpdatePosition = true } = {}) => {\n\t\t\tif (!this.state.cropSize || !this.props.onZoomChange) return;\n\t\t\tconst newZoom = clamp(zoom, this.props.minZoom, this.props.maxZoom);\n\t\t\tif (shouldUpdatePosition) {\n\t\t\t\tconst zoomPoint = this.getPointOnContainer(point, this.containerPosition);\n\t\t\t\tconst zoomTarget = this.getPointOnMedia(zoomPoint);\n\t\t\t\tconst requestedPosition = {\n\t\t\t\t\tx: zoomTarget.x * newZoom - zoomPoint.x,\n\t\t\t\t\ty: zoomTarget.y * newZoom - zoomPoint.y\n\t\t\t\t};\n\t\t\t\tconst newPosition = this.props.restrictPosition ? restrictPosition(requestedPosition, this.mediaSize, this.state.cropSize, newZoom, this.props.rotation) : requestedPosition;\n\t\t\t\tthis.props.onCropChange(newPosition);\n\t\t\t}\n\t\t\tthis.props.onZoomChange(newZoom);\n\t\t};\n\t\tthis.getCropData = () => {\n\t\t\tif (!this.state.cropSize) return null;\n\t\t\treturn computeCroppedArea(this.props.restrictPosition ? restrictPosition(this.props.crop, this.mediaSize, this.state.cropSize, this.props.zoom, this.props.rotation) : this.props.crop, this.mediaSize, this.state.cropSize, this.getAspect(), this.props.zoom, this.props.rotation, this.props.restrictPosition);\n\t\t};\n\t\tthis.emitCropData = () => {\n\t\t\tif (this.resizeEmitTimer) {\n\t\t\t\tclearTimeout(this.resizeEmitTimer);\n\t\t\t\tthis.resizeEmitTimer = null;\n\t\t\t}\n\t\t\tconst cropData = this.getCropData();\n\t\t\tif (!cropData) return;\n\t\t\tconst { croppedAreaPercentages, croppedAreaPixels } = cropData;\n\t\t\tif (this.props.onCropComplete) this.props.onCropComplete(croppedAreaPercentages, croppedAreaPixels);\n\t\t\tif (this.props.onCropAreaChange) this.props.onCropAreaChange(croppedAreaPercentages, croppedAreaPixels);\n\t\t};\n\t\tthis.emitCropAreaChange = () => {\n\t\t\tconst cropData = this.getCropData();\n\t\t\tif (!cropData) return;\n\t\t\tconst { croppedAreaPercentages, croppedAreaPixels } = cropData;\n\t\t\tif (this.props.onCropAreaChange) this.props.onCropAreaChange(croppedAreaPercentages, croppedAreaPixels);\n\t\t};\n\t\tthis.recomputeCropPosition = ({ isResizeTriggered = false } = {}) => {\n\t\t\tvar _this$previousCropSiz, _this$previousCropSiz2;\n\t\t\tif (!this.state.cropSize) return;\n\t\t\tlet adjustedCrop = this.props.crop;\n\t\t\tif (this.isInitialized && ((_this$previousCropSiz = this.previousCropSize) === null || _this$previousCropSiz === void 0 ? void 0 : _this$previousCropSiz.width) && ((_this$previousCropSiz2 = this.previousCropSize) === null || _this$previousCropSiz2 === void 0 ? void 0 : _this$previousCropSiz2.height)) {\n\t\t\t\tif (Math.abs(this.previousCropSize.width - this.state.cropSize.width) > 1e-6 || Math.abs(this.previousCropSize.height - this.state.cropSize.height) > 1e-6) {\n\t\t\t\t\tconst scaleX = this.state.cropSize.width / this.previousCropSize.width;\n\t\t\t\t\tconst scaleY = this.state.cropSize.height / this.previousCropSize.height;\n\t\t\t\t\tadjustedCrop = {\n\t\t\t\t\t\tx: this.props.crop.x * scaleX,\n\t\t\t\t\t\ty: this.props.crop.y * scaleY\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst newPosition = this.props.restrictPosition ? restrictPosition(adjustedCrop, this.mediaSize, this.state.cropSize, this.props.zoom, this.props.rotation) : adjustedCrop;\n\t\t\tthis.previousCropSize = this.state.cropSize;\n\t\t\tthis.props.onCropChange(newPosition);\n\t\t\tif (isResizeTriggered) this.debouncedEmitCropData();\n\t\t\telse this.emitCropData();\n\t\t};\n\t\tthis.debouncedEmitCropData = () => {\n\t\t\tif (!this.currentWindow) return;\n\t\t\tif (this.resizeEmitTimer) clearTimeout(this.resizeEmitTimer);\n\t\t\tthis.resizeEmitTimer = this.currentWindow.setTimeout(() => {\n\t\t\t\tthis.emitCropData();\n\t\t\t}, RESIZE_EMIT_DEBOUNCE_TIME);\n\t\t};\n\t\tthis.onKeyDown = (event) => {\n\t\t\tconst { crop, onCropChange, keyboardStep, zoom, rotation } = this.props;\n\t\t\tlet step = keyboardStep;\n\t\t\tif (!this.state.cropSize) return;\n\t\t\tif (event.shiftKey) step *= .2;\n\t\t\tlet newCrop = _objectSpread2({}, crop);\n\t\t\tswitch (event.key) {\n\t\t\t\tcase \"ArrowUp\":\n\t\t\t\t\tnewCrop.y -= step;\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"ArrowDown\":\n\t\t\t\t\tnewCrop.y += step;\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"ArrowLeft\":\n\t\t\t\t\tnewCrop.x -= step;\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"ArrowRight\":\n\t\t\t\t\tnewCrop.x += step;\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tbreak;\n\t\t\t\tdefault: return;\n\t\t\t}\n\t\t\tif (this.props.restrictPosition) newCrop = restrictPosition(newCrop, this.mediaSize, this.state.cropSize, zoom, rotation);\n\t\t\tif (!event.repeat) {\n\t\t\t\tvar _this$props$onInterac5, _this$props5;\n\t\t\t\t(_this$props$onInterac5 = (_this$props5 = this.props).onInteractionStart) === null || _this$props$onInterac5 === void 0 || _this$props$onInterac5.call(_this$props5, { source: \"keyboard\" });\n\t\t\t}\n\t\t\tonCropChange(newCrop);\n\t\t};\n\t\tthis.onKeyUp = (event) => {\n\t\t\tvar _this$props$onInterac6, _this$props6;\n\t\t\tswitch (event.key) {\n\t\t\t\tcase \"ArrowUp\":\n\t\t\t\tcase \"ArrowDown\":\n\t\t\t\tcase \"ArrowLeft\":\n\t\t\t\tcase \"ArrowRight\":\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tbreak;\n\t\t\t\tdefault: return;\n\t\t\t}\n\t\t\tthis.emitCropData();\n\t\t\t(_this$props$onInterac6 = (_this$props6 = this.props).onInteractionEnd) === null || _this$props$onInterac6 === void 0 || _this$props$onInterac6.call(_this$props6, { source: \"keyboard\" });\n\t\t};\n\t}\n\tcomponentDidMount() {\n\t\tif (!this.currentDoc || !this.currentWindow) return;\n\t\tif (this.containerRef) {\n\t\t\tif (this.containerRef.ownerDocument) this.currentDoc = this.containerRef.ownerDocument;\n\t\t\tif (this.currentDoc.defaultView) this.currentWindow = this.currentDoc.defaultView;\n\t\t\tthis.initResizeObserver();\n\t\t\tif (typeof window.ResizeObserver === \"undefined\") this.currentWindow.addEventListener(\"resize\", this.onWindowResize);\n\t\t\tthis.props.zoomWithScroll && this.containerRef.addEventListener(\"wheel\", this.onWheel, { passive: false });\n\t\t\tthis.containerRef.addEventListener(\"gesturestart\", this.onGestureStart);\n\t\t}\n\t\tthis.currentDoc.addEventListener(\"scroll\", this.onScroll);\n\t\tif (!this.props.disableAutomaticStylesInjection) {\n\t\t\tthis.styleRef = this.currentDoc.createElement(\"style\");\n\t\t\tthis.styleRef.setAttribute(\"type\", \"text/css\");\n\t\t\tif (this.props.nonce) this.styleRef.setAttribute(\"nonce\", this.props.nonce);\n\t\t\tthis.styleRef.innerHTML = styles_default;\n\t\t\tthis.currentDoc.head.appendChild(this.styleRef);\n\t\t}\n\t\tif (this.imageRef.current && this.imageRef.current.complete) this.onMediaLoad();\n\t\tif (this.props.setImageRef) this.props.setImageRef(this.imageRef);\n\t\tif (this.props.setVideoRef) this.props.setVideoRef(this.videoRef);\n\t\tif (this.props.setCropperRef) this.props.setCropperRef(this.cropperRef);\n\t}\n\tcomponentWillUnmount() {\n\t\tvar _this$resizeObserver;\n\t\tif (!this.currentDoc || !this.currentWindow) return;\n\t\tif (typeof window.ResizeObserver === \"undefined\") this.currentWindow.removeEventListener(\"resize\", this.onWindowResize);\n\t\t(_this$resizeObserver = this.resizeObserver) === null || _this$resizeObserver === void 0 || _this$resizeObserver.disconnect();\n\t\tif (this.resizeEmitTimer) clearTimeout(this.resizeEmitTimer);\n\t\tif (this.containerRef) this.containerRef.removeEventListener(\"gesturestart\", this.preventZoomSafari);\n\t\tif (this.styleRef) {\n\t\t\tvar _this$styleRef$parent;\n\t\t\t(_this$styleRef$parent = this.styleRef.parentNode) === null || _this$styleRef$parent === void 0 || _this$styleRef$parent.removeChild(this.styleRef);\n\t\t}\n\t\tthis.cleanEvents();\n\t\tthis.props.zoomWithScroll && this.clearScrollEvent();\n\t}\n\tcomponentDidUpdate(prevProps) {\n\t\tvar _prevProps$cropSize, _this$props$cropSize, _prevProps$cropSize2, _this$props$cropSize2, _prevProps$crop, _this$props$crop, _prevProps$crop2, _this$props$crop2;\n\t\tif (prevProps.rotation !== this.props.rotation) {\n\t\t\tthis.computeSizes();\n\t\t\tthis.recomputeCropPosition();\n\t\t} else if (prevProps.aspect !== this.props.aspect) this.computeSizes();\n\t\telse if (prevProps.objectFit !== this.props.objectFit) this.computeSizes();\n\t\telse if (prevProps.zoom !== this.props.zoom) this.recomputeCropPosition();\n\t\telse if (((_prevProps$cropSize = prevProps.cropSize) === null || _prevProps$cropSize === void 0 ? void 0 : _prevProps$cropSize.height) !== ((_this$props$cropSize = this.props.cropSize) === null || _this$props$cropSize === void 0 ? void 0 : _this$props$cropSize.height) || ((_prevProps$cropSize2 = prevProps.cropSize) === null || _prevProps$cropSize2 === void 0 ? void 0 : _prevProps$cropSize2.width) !== ((_this$props$cropSize2 = this.props.cropSize) === null || _this$props$cropSize2 === void 0 ? void 0 : _this$props$cropSize2.width)) this.computeSizes();\n\t\telse if (((_prevProps$crop = prevProps.crop) === null || _prevProps$crop === void 0 ? void 0 : _prevProps$crop.x) !== ((_this$props$crop = this.props.crop) === null || _this$props$crop === void 0 ? void 0 : _this$props$crop.x) || ((_prevProps$crop2 = prevProps.crop) === null || _prevProps$crop2 === void 0 ? void 0 : _prevProps$crop2.y) !== ((_this$props$crop2 = this.props.crop) === null || _this$props$crop2 === void 0 ? void 0 : _this$props$crop2.y)) this.emitCropAreaChange();\n\t\tif (prevProps.zoomWithScroll !== this.props.zoomWithScroll && this.containerRef) this.props.zoomWithScroll ? this.containerRef.addEventListener(\"wheel\", this.onWheel, { passive: false }) : this.clearScrollEvent();\n\t\tif (prevProps.video !== this.props.video) {\n\t\t\tvar _this$videoRef$curren3;\n\t\t\t(_this$videoRef$curren3 = this.videoRef.current) === null || _this$videoRef$curren3 === void 0 || _this$videoRef$curren3.load();\n\t\t}\n\t\tconst objectFit = this.getObjectFit();\n\t\tif (objectFit !== this.state.mediaObjectFit) this.setState({ mediaObjectFit: objectFit }, this.computeSizes);\n\t}\n\tgetAspect() {\n\t\tconst { cropSize, aspect } = this.props;\n\t\tif (cropSize) return cropSize.width / cropSize.height;\n\t\treturn aspect;\n\t}\n\tgetObjectFit() {\n\t\tif (this.props.objectFit === \"cover\") {\n\t\t\tif ((this.imageRef.current || this.videoRef.current) && this.containerRef) {\n\t\t\t\tvar _this$imageRef$curren3, _this$videoRef$curren4, _this$imageRef$curren4, _this$videoRef$curren5;\n\t\t\t\tthis.containerRect = this.containerRef.getBoundingClientRect();\n\t\t\t\tconst containerAspect = this.containerRect.width / this.containerRect.height;\n\t\t\t\treturn (((_this$imageRef$curren3 = this.imageRef.current) === null || _this$imageRef$curren3 === void 0 ? void 0 : _this$imageRef$curren3.naturalWidth) || ((_this$videoRef$curren4 = this.videoRef.current) === null || _this$videoRef$curren4 === void 0 ? void 0 : _this$videoRef$curren4.videoWidth) || 0) / (((_this$imageRef$curren4 = this.imageRef.current) === null || _this$imageRef$curren4 === void 0 ? void 0 : _this$imageRef$curren4.naturalHeight) || ((_this$videoRef$curren5 = this.videoRef.current) === null || _this$videoRef$curren5 === void 0 ? void 0 : _this$videoRef$curren5.videoHeight) || 0) < containerAspect ? \"horizontal-cover\" : \"vertical-cover\";\n\t\t\t}\n\t\t\treturn \"horizontal-cover\";\n\t\t}\n\t\treturn this.props.objectFit;\n\t}\n\tonPinchStart(e) {\n\t\tconst pointA = Cropper.getTouchPoint(e.touches[0]);\n\t\tconst pointB = Cropper.getTouchPoint(e.touches[1]);\n\t\tthis.lastPinchDistance = getDistanceBetweenPoints(pointA, pointB);\n\t\tthis.lastPinchRotation = getRotationBetweenPoints(pointA, pointB);\n\t\tthis.onDragStart(getCenter(pointA, pointB), \"touch\");\n\t}\n\tonPinchMove(e) {\n\t\tif (!this.currentDoc || !this.currentWindow) return;\n\t\tconst pointA = Cropper.getTouchPoint(e.touches[0]);\n\t\tconst pointB = Cropper.getTouchPoint(e.touches[1]);\n\t\tconst center = getCenter(pointA, pointB);\n\t\tthis.onDrag(center);\n\t\tif (this.rafPinchTimeout) this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout);\n\t\tthis.rafPinchTimeout = this.currentWindow.requestAnimationFrame(() => {\n\t\t\tconst distance = getDistanceBetweenPoints(pointA, pointB);\n\t\t\tconst newZoom = this.props.zoom * (distance / this.lastPinchDistance);\n\t\t\tthis.setNewZoom(newZoom, center, { shouldUpdatePosition: false });\n\t\t\tthis.lastPinchDistance = distance;\n\t\t\tconst rotation = getRotationBetweenPoints(pointA, pointB);\n\t\t\tconst newRotation = this.props.rotation + (rotation - this.lastPinchRotation);\n\t\t\tthis.props.onRotationChange && this.props.onRotationChange(newRotation);\n\t\t\tthis.lastPinchRotation = rotation;\n\t\t});\n\t}\n\trender() {\n\t\tvar _this$state$mediaObje;\n\t\tconst { image, video, mediaProps, cropperProps, transform, crop: { x, y }, rotation, zoom, cropShape, showGrid, roundCropAreaPixels, style: { containerStyle, cropAreaStyle, mediaStyle }, classes: { containerClassName, cropAreaClassName, mediaClassName } } = this.props;\n\t\tconst objectFit = (_this$state$mediaObje = this.state.mediaObjectFit) !== null && _this$state$mediaObje !== void 0 ? _this$state$mediaObje : this.getObjectFit();\n\t\treturn /* @__PURE__ */ React.createElement(\"div\", {\n\t\t\tonMouseDown: this.onMouseDown,\n\t\t\tonTouchStart: this.onTouchStart,\n\t\t\tref: (el) => this.containerRef = el,\n\t\t\t\"data-testid\": \"container\",\n\t\t\tstyle: containerStyle,\n\t\t\tclassName: classNames(\"reactEasyCrop_Container\", containerClassName)\n\t\t}, image ? /* @__PURE__ */ React.createElement(\"img\", _objectSpread2(_objectSpread2({\n\t\t\talt: \"\",\n\t\t\tclassName: classNames(\"reactEasyCrop_Image\", objectFit === \"contain\" && \"reactEasyCrop_Contain\", objectFit === \"horizontal-cover\" && \"reactEasyCrop_Cover_Horizontal\", objectFit === \"vertical-cover\" && \"reactEasyCrop_Cover_Vertical\", mediaClassName)\n\t\t}, mediaProps), {}, {\n\t\t\tsrc: image,\n\t\t\tref: this.imageRef,\n\t\t\tstyle: _objectSpread2(_objectSpread2({}, mediaStyle), {}, { transform: transform || `translate(${x}px, ${y}px) rotate(${rotation}deg) scale(${zoom})` }),\n\t\t\tonLoad: this.onMediaLoad\n\t\t})) : video && /* @__PURE__ */ React.createElement(\"video\", _objectSpread2(_objectSpread2({\n\t\t\tautoPlay: true,\n\t\t\tplaysInline: true,\n\t\t\tloop: true,\n\t\t\tmuted: true,\n\t\t\tclassName: classNames(\"reactEasyCrop_Video\", objectFit === \"contain\" && \"reactEasyCrop_Contain\", objectFit === \"horizontal-cover\" && \"reactEasyCrop_Cover_Horizontal\", objectFit === \"vertical-cover\" && \"reactEasyCrop_Cover_Vertical\", mediaClassName)\n\t\t}, mediaProps), {}, {\n\t\t\tref: this.videoRef,\n\t\t\tonLoadedMetadata: this.onMediaLoad,\n\t\t\tstyle: _objectSpread2(_objectSpread2({}, mediaStyle), {}, { transform: transform || `translate(${x}px, ${y}px) rotate(${rotation}deg) scale(${zoom})` }),\n\t\t\tcontrols: false\n\t\t}), (Array.isArray(video) ? video : [{ src: video }]).map((item) => /* @__PURE__ */ React.createElement(\"source\", _objectSpread2({ key: item.src }, item)))), this.state.cropSize && /* @__PURE__ */ React.createElement(\"div\", _objectSpread2({\n\t\t\tref: this.cropperRef,\n\t\t\tstyle: _objectSpread2(_objectSpread2({}, cropAreaStyle), {}, {\n\t\t\t\twidth: roundCropAreaPixels ? Math.round(this.state.cropSize.width) : this.state.cropSize.width,\n\t\t\t\theight: roundCropAreaPixels ? Math.round(this.state.cropSize.height) : this.state.cropSize.height\n\t\t\t}),\n\t\t\ttabIndex: 0,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t\tonKeyUp: this.onKeyUp,\n\t\t\t\"data-testid\": \"cropper\",\n\t\t\tclassName: classNames(\"reactEasyCrop_CropArea\", cropShape === \"round\" && \"reactEasyCrop_CropAreaRound\", showGrid && \"reactEasyCrop_CropAreaGrid\", cropAreaClassName)\n\t\t}, cropperProps)));\n\t}\n};\nCropper.defaultProps = {\n\tzoom: 1,\n\trotation: 0,\n\taspect: 4 / 3,\n\tmaxZoom: MAX_ZOOM,\n\tminZoom: MIN_ZOOM,\n\tcropShape: \"rect\",\n\tobjectFit: \"contain\",\n\tshowGrid: true,\n\tstyle: {},\n\tclasses: {},\n\tmediaProps: {},\n\tcropperProps: {},\n\tzoomSpeed: 1,\n\trestrictPosition: true,\n\tzoomWithScroll: true,\n\tkeyboardStep: KEYBOARD_STEP\n};\nCropper.getMousePoint = (e) => ({\n\tx: Number(e.clientX),\n\ty: Number(e.clientY)\n});\nCropper.getTouchPoint = (touch) => ({\n\tx: Number(touch.clientX),\n\ty: Number(touch.clientY)\n});\n//#endregion\n//#region src/index.ts\nvar src_default = Cropper;\n//#endregion\nexport { src_default as default, getInitialCropFromCroppedAreaPercentages, getInitialCropFromCroppedAreaPixels };\n\n//# sourceMappingURL=index.module.mjs.map"],"x_google_ignoreList":[0],"mappings":";;;;;AAGA,SAAS,EAAQ,GAAG;CACnB;CACA,OAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAS,GAAG;EAChG,OAAO,OAAO;CACf,IAAI,SAAS,GAAG;EACf,OAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAAO;CACnH,GAAG,EAAQ,CAAC;AACb;AAGA,SAAS,EAA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S;GAC5F,CAAC;GACD,UAAU;GACV,WAAW,KAAK;GAChB,SAAS,KAAK;GACd,eAAe;GACf,WAAW,EAAW,0BAA0B,MAAc,WAAW,+BAA+B,KAAY,8BAA8B,CAAiB;EACpK,GAAG,CAAY,CAAC,CAAC;CAClB;AACD;AACA,EAAQ,eAAe;CACtB,MAAM;CACN,UAAU;CACV,QAAQ,IAAI;CACZ,SAAS;CACT,SAAS;CACT,WAAW;CACX,WAAW;CACX,UAAU;CACV,OAAO,CAAC;CACR,SAAS,CAAC;CACV,YAAY,CAAC;CACb,cAAc,CAAC;CACf,WAAW;CACX,kBAAkB;CAClB,gBAAgB;CAChB,cAAc;AACf,GACA,EAAQ,iBAAiB,OAAO;CAC/B,GAAG,OAAO,EAAE,OAAO;CACnB,GAAG,OAAO,EAAE,OAAO;AACpB,IACA,EAAQ,iBAAiB,OAAW;CACnC,GAAG,OAAO,EAAM,OAAO;CACvB,GAAG,OAAO,EAAM,OAAO;AACxB;AAGA,IAAI,IAAc"}
|
package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
5
|
+
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
6
|
+
function b(e) {
|
|
7
|
+
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
8
|
+
}
|
|
9
|
+
function x(e) {
|
|
10
|
+
if (typeof e == "object" && e) {
|
|
11
|
+
var t = e.$$typeof;
|
|
12
|
+
switch (t) {
|
|
13
|
+
case n:
|
|
14
|
+
var p = e.type;
|
|
15
|
+
switch (p) {
|
|
16
|
+
case l:
|
|
17
|
+
case u:
|
|
18
|
+
case i:
|
|
19
|
+
case o:
|
|
20
|
+
case a:
|
|
21
|
+
case f: return p;
|
|
22
|
+
default:
|
|
23
|
+
var g = p && p.$$typeof;
|
|
24
|
+
switch (g) {
|
|
25
|
+
case c:
|
|
26
|
+
case d:
|
|
27
|
+
case h:
|
|
28
|
+
case m:
|
|
29
|
+
case s: return g;
|
|
30
|
+
default: return t;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
case r: return t;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
var S = l, C = u, w = c, T = s, E = n, D = d, O = i, k = h, A = m, j = r, M = o, N = a, P = f, F = !1;
|
|
38
|
+
function I(e) {
|
|
39
|
+
return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(e) || x(e) === l;
|
|
40
|
+
}
|
|
41
|
+
function L(e) {
|
|
42
|
+
return x(e) === u;
|
|
43
|
+
}
|
|
44
|
+
function R(e) {
|
|
45
|
+
return x(e) === c;
|
|
46
|
+
}
|
|
47
|
+
function z(e) {
|
|
48
|
+
return x(e) === s;
|
|
49
|
+
}
|
|
50
|
+
function B(e) {
|
|
51
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
52
|
+
}
|
|
53
|
+
function V(e) {
|
|
54
|
+
return x(e) === d;
|
|
55
|
+
}
|
|
56
|
+
function H(e) {
|
|
57
|
+
return x(e) === i;
|
|
58
|
+
}
|
|
59
|
+
function U(e) {
|
|
60
|
+
return x(e) === h;
|
|
61
|
+
}
|
|
62
|
+
function W(e) {
|
|
63
|
+
return x(e) === m;
|
|
64
|
+
}
|
|
65
|
+
function G(e) {
|
|
66
|
+
return x(e) === r;
|
|
67
|
+
}
|
|
68
|
+
function K(e) {
|
|
69
|
+
return x(e) === o;
|
|
70
|
+
}
|
|
71
|
+
function q(e) {
|
|
72
|
+
return x(e) === a;
|
|
73
|
+
}
|
|
74
|
+
function J(e) {
|
|
75
|
+
return x(e) === f;
|
|
76
|
+
}
|
|
77
|
+
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = I, e.isConcurrentMode = L, e.isContextConsumer = R, e.isContextProvider = z, e.isElement = B, e.isForwardRef = V, e.isFragment = H, e.isLazy = U, e.isMemo = W, e.isPortal = G, e.isProfiler = K, e.isStrictMode = q, e.isSuspense = J, e.isValidElementType = b, e.typeOf = x;
|
|
78
|
+
})();
|
|
79
|
+
}));
|
|
80
|
+
//#endregion
|
|
81
|
+
export default t();
|
|
82
|
+
export { t as require_react_is_development };
|
|
83
|
+
|
|
84
|
+
//# sourceMappingURL=react-is.development.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-is.development.js","names":[],"sources":["../../../../../../../../../node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"],"sourcesContent":["/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n"],"x_google_ignoreList":[0],"mappings":";;;CAaA,AAAA,QAAA,IAAA,aAA6B,iBAC1B,WAAW;EAKd,IAAI,IAAY,OAAO,UAAW,cAAc,OAAO,KACnD,IAAqB,IAAY,OAAO,IAAI,eAAe,IAAI,OAC/D,IAAoB,IAAY,OAAO,IAAI,cAAc,IAAI,OAC7D,IAAsB,IAAY,OAAO,IAAI,gBAAgB,IAAI,OACjE,IAAyB,IAAY,OAAO,IAAI,mBAAmB,IAAI,OACvE,IAAsB,IAAY,O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,EAAQ,YAAY,GACpB,EAAQ,iBAAiB,GACzB,EAAQ,kBAAkB,GAC1B,EAAQ,kBAAkB,GAC1B,EAAQ,UAAU,GAClB,EAAQ,aAAa,GACrB,EAAQ,WAAW,GACnB,EAAQ,OAAO,GACf,EAAQ,OAAO,GACf,EAAQ,SAAS,GACjB,EAAQ,WAAW,GACnB,EAAQ,aAAa,GACrB,EAAQ,WAAW,GACnB,EAAQ,cAAc,GACtB,EAAQ,mBAAmB,GAC3B,EAAQ,oBAAoB,GAC5B,EAAQ,oBAAoB,GAC5B,EAAQ,YAAY,GACpB,EAAQ,eAAe,GACvB,EAAQ,aAAa,GACrB,EAAQ,SAAS,GACjB,EAAQ,SAAS,GACjB,EAAQ,WAAW,GACnB,EAAQ,aAAa,GACrB,EAAQ,eAAe,GACvB,EAAQ,aAAa,GACrB,EAAQ,qBAAqB,GAC7B,EAAQ,SAAS;CACf,EAAA,CAAG"}
|
package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
5
|
+
function b(e) {
|
|
6
|
+
if (typeof e == "object" && e) {
|
|
7
|
+
var t = e.$$typeof;
|
|
8
|
+
switch (t) {
|
|
9
|
+
case n: switch (e = e.type, e) {
|
|
10
|
+
case l:
|
|
11
|
+
case u:
|
|
12
|
+
case i:
|
|
13
|
+
case o:
|
|
14
|
+
case a:
|
|
15
|
+
case f: return e;
|
|
16
|
+
default: switch (e &&= e.$$typeof, e) {
|
|
17
|
+
case c:
|
|
18
|
+
case d:
|
|
19
|
+
case h:
|
|
20
|
+
case m:
|
|
21
|
+
case s: return e;
|
|
22
|
+
default: return t;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
case r: return t;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function x(e) {
|
|
30
|
+
return b(e) === u;
|
|
31
|
+
}
|
|
32
|
+
e.AsyncMode = l, e.ConcurrentMode = u, e.ContextConsumer = c, e.ContextProvider = s, e.Element = n, e.ForwardRef = d, e.Fragment = i, e.Lazy = h, e.Memo = m, e.Portal = r, e.Profiler = o, e.StrictMode = a, e.Suspense = f, e.isAsyncMode = function(e) {
|
|
33
|
+
return x(e) || b(e) === l;
|
|
34
|
+
}, e.isConcurrentMode = x, e.isContextConsumer = function(e) {
|
|
35
|
+
return b(e) === c;
|
|
36
|
+
}, e.isContextProvider = function(e) {
|
|
37
|
+
return b(e) === s;
|
|
38
|
+
}, e.isElement = function(e) {
|
|
39
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
40
|
+
}, e.isForwardRef = function(e) {
|
|
41
|
+
return b(e) === d;
|
|
42
|
+
}, e.isFragment = function(e) {
|
|
43
|
+
return b(e) === i;
|
|
44
|
+
}, e.isLazy = function(e) {
|
|
45
|
+
return b(e) === h;
|
|
46
|
+
}, e.isMemo = function(e) {
|
|
47
|
+
return b(e) === m;
|
|
48
|
+
}, e.isPortal = function(e) {
|
|
49
|
+
return b(e) === r;
|
|
50
|
+
}, e.isProfiler = function(e) {
|
|
51
|
+
return b(e) === o;
|
|
52
|
+
}, e.isStrictMode = function(e) {
|
|
53
|
+
return b(e) === a;
|
|
54
|
+
}, e.isSuspense = function(e) {
|
|
55
|
+
return b(e) === f;
|
|
56
|
+
}, e.isValidElementType = function(e) {
|
|
57
|
+
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
58
|
+
}, e.typeOf = b;
|
|
59
|
+
}));
|
|
60
|
+
//#endregion
|
|
61
|
+
export default t();
|
|
62
|
+
export { t as require_react_is_production_min };
|
|
63
|
+
|
|
64
|
+
//# sourceMappingURL=react-is.production.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-is.production.min.js","names":[],"sources":["../../../../../../../../../node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js"],"sourcesContent":["/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n"],"x_google_ignoreList":[0],"mappings":";;;CASa,IAAI,IAAe,OAAO,UAAp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AE;EAAC,OAAiB,OAAO,KAAlB,YAAkC,OAAO,KAApB,cAAuB,MAAI,KAAG,MAAI,KAAG,MAAI,KAAG,MAAI,KAAG,MAAI,KAAG,MAAI,KAAc,OAAO,KAAlB,cAA4B,MAAI,EAAE,aAAW,KAAG,EAAE,aAAW,KAAG,EAAE,aAAW,KAAG,EAAE,aAAW,KAAG,EAAE,aAAW,KAAG,EAAE,aAAW,KAAG,EAAE,aAAW,KAAG,EAAE,aAAW,KAAG,EAAE,aAAW;CAAE,GAAE,EAAQ,SAAO"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_react_is_production_min as t } from "./cjs/react-is.production.min.js";
|
|
3
|
+
import { require_react_is_development as n } from "./cjs/react-is.development.js";
|
|
4
|
+
//#region ../../node_modules/.bun/react-is@16.13.1/node_modules/react-is/index.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
process.env.NODE_ENV === "production" ? r.exports = t() : r.exports = n();
|
|
7
|
+
}));
|
|
8
|
+
//#endregion
|
|
9
|
+
export default r();
|
|
10
|
+
export { r as require_react_is };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../node_modules/.bun/react-is@16.13.1/node_modules/react-is/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAEA,AAAA,QAAA,IAAA,aAA6B,eAC3B,EAAO,UAAA,EAAA,IAEP,EAAO,UAAA,EAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { fullWidthClassName as e, noScrollbarsClassName as t, removedBarSizeVariable as n, zeroRightClassName as r } from "./constants.
|
|
2
|
-
import { styleSingleton as i } from "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.
|
|
3
|
-
import "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.
|
|
4
|
-
import { getGapWidth as a } from "./utils.
|
|
1
|
+
import { fullWidthClassName as e, noScrollbarsClassName as t, removedBarSizeVariable as n, zeroRightClassName as r } from "./constants.js";
|
|
2
|
+
import { styleSingleton as i } from "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.js";
|
|
3
|
+
import "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.js";
|
|
4
|
+
import { getGapWidth as a } from "./utils.js";
|
|
5
5
|
import * as o from "react";
|
|
6
6
|
//#region ../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
7
7
|
var s = i(), c = "data-scroll-locked", l = function(i, a, o, s) {
|
|
@@ -69,4 +69,4 @@ var s = i(), c = "data-scroll-locked", l = function(i, a, o, s) {
|
|
|
69
69
|
//#endregion
|
|
70
70
|
export { f as RemoveScrollBar, c as lockAttribute, d as useLockAttribute };
|
|
71
71
|
|
|
72
|
-
//# sourceMappingURL=component.
|
|
72
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.js","names":["React"],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAIA,IAAI,IAAQ,EAAe,GAChB,IAAgB,sBAIvB,IAAY,SAAU,GAAI,GAAe,GAAS,GAAW;CAC7D,IAAI,IAAO,EAAG,MAAM,IAAM,EAAG,KAAK,IAAQ,EAAG,OAAO,IAAM,EAAG;CAE7D,OADI,MAAY,KAAK,MAAK,IAAU,WAC7B;KAAe;sBAA0D;oBAA2C,OAAmB;;SAAqC;uBAAoD;;MAAgE;EACnS,KAAiB,sBAA6B;EAC9C,MAAY,YACR;oBAA8B;mBAAuC;qBAAwC;;;oBAAgF,OAAmB;;EACpN,MAAY,aAAa,kBAAyB,OAAmB;CACzE,CAAC,CACI,OAAO,OAAO,CAAC,CACf,KAAK,EAAE;;;KAA4B;aAA8C,OAAmB;;;KAAqC;oBAAqD,OAAmB;;;KAAqC,MAAiC;eAAgD;;;KAAqC,MAAiC;sBAAuD;;;SAAyC;MAAmC,MAAqC;;;AAC9jB,GACI,IAAuB,WAAY;CACnC,IAAI,IAAU,SAAS,SAAS,KAAK,aAAA,oBAA0B,KAAK,KAAK,EAAE;CAC3E,OAAO,SAAS,CAAO,IAAI,IAAU;AACzC,GACW,IAAmB,WAAY;CACtC,EAAM,UAAU,WAAY;EAExB,OADA,SAAS,KAAK,aAAa,IAAgB,EAAqB,IAAI,EAAA,CAAG,SAAS,CAAC,GAC1E,WAAY;GACf,IAAI,IAAa,EAAqB,IAAI;GAC1C,AAAI,KAAc,IACd,SAAS,KAAK,gBAAgB,CAAa,IAG3C,SAAS,KAAK,aAAa,GAAe,EAAW,SAAS,CAAC;EAEvE;CACJ,GAAG,CAAC,CAAC;AACT,GAIW,IAAkB,SAAU,GAAI;CACvC,IAAI,IAAa,EAAG,YAAY,IAAc,EAAG,aAAa,IAAK,EAAG,SAAS,IAAU,MAAO,KAAK,IAAI,WAAW;CACpH,EAAiB;CAMjB,IAAI,IAAMA,EAAM,QAAQ,WAAY;EAAE,OAAO,EAAY,CAAO;CAAG,GAAG,CAAC,CAAO,CAAC;CAC/E,OAAOA,EAAM,cAAc,GAAO,EAAE,QAAQ,EAAU,GAAK,CAAC,GAAY,GAAU,IAA6B,KAAf,YAAiB,EAAE,CAAC;AACxH"}
|
|
@@ -3,4 +3,4 @@ var e = "right-scroll-bar-position", t = "width-before-scroll-bar", n = "with-sc
|
|
|
3
3
|
//#endregion
|
|
4
4
|
export { t as fullWidthClassName, n as noScrollbarsClassName, r as removedBarSizeVariable, e as zeroRightClassName };
|
|
5
5
|
|
|
6
|
-
//# sourceMappingURL=constants.
|
|
6
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAW,IAAqB,6BACrB,IAAqB,2BACrB,IAAwB,2BAKxB,IAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll-bar@2.3.8+93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAW,IAAU;CACjB,MAAM;CACN,KAAK;CACL,OAAO;CACP,KAAK;AACT,GACI,IAAQ,SAAU,GAAG;CAAE,OAAO,SAAS,KAAK,IAAI,EAAE,KAAK;AAAG,GAC1D,IAAY,SAAU,GAAS;CAC/B,IAAI,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1C,IAAO,EAAG,MAAY,YAAY,gBAAgB,eAClD,IAAM,EAAG,MAAY,YAAY,eAAe,cAChD,IAAQ,EAAG,MAAY,YAAY,iBAAiB;CACxD,OAAO;EAAC,EAAM,CAAI;EAAG,EAAM,CAAG;EAAG,EAAM,CAAK;CAAC;AACjD,GACW,IAAc,SAAU,GAAS;CAExC,IADI,MAAY,KAAK,MAAK,IAAU,WAChC,OAAO,SAAW,KAClB,OAAO;CAEX,IAAI,IAAU,EAAU,CAAO,GAC3B,IAAgB,SAAS,gBAAgB,aACzC,IAAc,OAAO;CACzB,OAAO;EACH,MAAM,EAAQ;EACd,KAAK,EAAQ;EACb,OAAO,EAAQ;EACf,KAAK,KAAK,IAAI,GAAG,IAAc,IAAgB,EAAQ,KAAK,EAAQ,EAAE;CAC1E;AACJ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __assign as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.
|
|
2
|
-
import { RemoveScroll as t } from "./UI.
|
|
3
|
-
import n from "./sidecar.
|
|
1
|
+
import { __assign as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { RemoveScroll as t } from "./UI.js";
|
|
3
|
+
import n from "./sidecar.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
//#region ../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
6
6
|
var i = r.forwardRef(function(i, a) {
|
|
@@ -13,4 +13,4 @@ i.classNames = t.classNames;
|
|
|
13
13
|
//#endregion
|
|
14
14
|
export { i as default };
|
|
15
15
|
|
|
16
|
-
//# sourceMappingURL=Combination.
|
|
16
|
+
//# sourceMappingURL=Combination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Combination.js","names":["React","SideCar"],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAIA,IAAI,IAAoBA,EAAM,WAAW,SAAU,GAAO,GAAK;CAAE,OAAQA,EAAM,cAAc,GAAc,EAAS,CAAC,GAAG,GAAO;EAAO;EAAK,SAASC;CAAQ,CAAC,CAAC;AAAI,CAAC;AACnK,EAAkB,aAAa,EAAa"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { __spreadArray as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.
|
|
2
|
-
import { styleSingleton as t } from "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.
|
|
3
|
-
import "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.
|
|
4
|
-
import { RemoveScrollBar as n } from "../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.
|
|
5
|
-
import "../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.
|
|
6
|
-
import { nonPassive as r } from "./aggresiveCapture.
|
|
7
|
-
import { handleScroll as i, locationCouldBeScrolled as a } from "./handleScroll.
|
|
1
|
+
import { __spreadArray as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { styleSingleton as t } from "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/component.js";
|
|
3
|
+
import "../../../../../react-style-singleton@2.2.3_93dbe784b8baa420/node_modules/react-style-singleton/dist/es2015/index.js";
|
|
4
|
+
import { RemoveScrollBar as n } from "../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/component.js";
|
|
5
|
+
import "../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/index.js";
|
|
6
|
+
import { nonPassive as r } from "./aggresiveCapture.js";
|
|
7
|
+
import { handleScroll as i, locationCouldBeScrolled as a } from "./handleScroll.js";
|
|
8
8
|
import * as o from "react";
|
|
9
9
|
//#region ../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
10
10
|
var s = function(e) {
|
|
@@ -115,4 +115,4 @@ function h(e) {
|
|
|
115
115
|
//#endregion
|
|
116
116
|
export { m as RemoveScrollSideCar, c as getDeltaXY, s as getTouchXY };
|
|
117
117
|
|
|
118
|
-
//# sourceMappingURL=SideEffect.
|
|
118
|
+
//# sourceMappingURL=SideEffect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SideEffect.js","names":["React"],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n // allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target\n var selection = window.getSelection();\n var anchorNode = selection && selection.anchorNode;\n var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false;\n if (isTouchingSelection) {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AAMA,IAAW,IAAa,SAAU,GAAO;CACrC,OAAO,oBAAoB,IAAQ,CAAC,EAAM,eAAe,EAAE,CAAC,SAAS,EAAM,eAAe,EAAE,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC;AACjH,GACW,IAAa,SAAU,GAAO;CAAE,OAAO,CAAC,EAAM,QAAQ,EAAM,MAAM;AAAG,GAC5E,IAAa,SAAU,GAAK;CAC5B,OAAO,KAAO,aAAa,IAAM,EAAI,UAAU;AACnD,GACI,IAAe,SAAU,GAAG,GAAG;CAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;AAAI,GACxE,IAAgB,SAAU,GAAI;CAAE,OAAO;yBAAmC;yBAAgE;;AAAkC,GAC5K,IAAY,GACZ,IAAY,CAAC;AACjB,SAAgB,EAAoB,GAAO;CACvC,IAAI,IAAqBA,EAAM,OAAO,CAAC,CAAC,GACpC,IAAgBA,EAAM,OAAO,CAAC,GAAG,CAAC,CAAC,GACnC,IAAaA,EAAM,OAAO,GAC1B,IAAKA,EAAM,SA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G,CAAC,CAAC;CACL,IAAI,IAAkB,EAAM,iBAAiB,IAAQ,EAAM;CAC3D,OAAQA,EAAM,cAAcA,EAAM,UAAU,MACxC,IAAQA,EAAM,cAAc,GAAO,EAAE,QAAQ,EAAc,CAAE,EAAE,CAAC,IAAI,MACpE,IAAkBA,EAAM,cAAc,GAAiB;EAAE,YAAY,EAAM;EAAY,SAAS,EAAM;CAAQ,CAAC,IAAI,IAAI;AAC/H;AACA,SAAS,EAAyB,GAAM;CAEpC,KADA,IAAI,IAAe,MACZ,MAAS,OAKZ,AAJI,aAAgB,eAChB,IAAe,EAAK,MACpB,IAAO,EAAK,OAEhB,IAAO,EAAK;CAEhB,OAAO;AACX"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __assign as e, __rest as t } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.
|
|
2
|
-
import { fullWidthClassName as n, zeroRightClassName as r } from "../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.
|
|
3
|
-
import { useMergeRefs as i } from "../../../../../use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.
|
|
4
|
-
import { effectCar as a } from "./medium.
|
|
1
|
+
import { __assign as e, __rest as t } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { fullWidthClassName as n, zeroRightClassName as r } from "../../../../../react-remove-scroll-bar@2.3.8_93dbe784b8baa420/node_modules/react-remove-scroll-bar/dist/es2015/constants.js";
|
|
3
|
+
import { useMergeRefs as i } from "../../../../../use-callback-ref@1.3.3_93dbe784b8baa420/node_modules/use-callback-ref/dist/es2015/useMergeRef.js";
|
|
4
|
+
import { effectCar as a } from "./medium.js";
|
|
5
5
|
import * as o from "react";
|
|
6
6
|
//#region ../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
7
7
|
var s = function() {}, c = o.forwardRef(function(n, r) {
|
|
@@ -51,4 +51,4 @@ c.defaultProps = {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
export { c as RemoveScroll };
|
|
53
53
|
|
|
54
|
-
//# sourceMappingURL=UI.
|
|
54
|
+
//# sourceMappingURL=UI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UI.js","names":["React"],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noRelative\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAKA,IAAI,IAAU,WAAY,CAE1B,GAII,IAAeA,EAAM,WAAW,SAAU,GAAO,GAAW;CAC5D,IAAI,IAAMA,EAAM,OAAO,IAAI,GACvB,IAAKA,EAAM,SAAS;EACpB,iBAAiB;EACjB,gBAAgB;EAChB,oBAAoB;CACxB,CAAC,GAAG,IAAY,EAAG,IAAI,IAAe,EAAG,IACrC,IAAe,EAAM,cAAc,IAAW,EAAM,UAAU,IAAY,EAAM,WAAW,IAAkB,EAAM,iBAAiB,IAAU,EAAM,SAAS,IAAS,EAAM,QAAQ,IAAU,EAAM,SAAS,IAAa,EAAM,YAAY,IAAc,EAAM,aAAa,IAAQ,EAAM,OAAO,IAAiB,EAAM,gBAAgB,IAAK,EAAM,IAAI,IAAY,MAAO,KAAK,IAAI,QAAQ,GAAI,IAAU,EAAM,SAAS,IAAO,EAAO,GAAO;EAAC;EAAgB;EAAY;EAAa;EAAmB;EAAW;EAAU;EAAW;EAAc;EAAe;EAAS;EAAkB;EAAM;CAAS,CAAC,GACnlB,IAAU,GACV,IAAe,EAAa,CAAC,GAAK,CAAS,CAAC,GAC5C,IAAiB,EAAS,EAAS,CAAC,GAAG,CAAI,GAAG,CAAS;CAC3D,OAAQA,EAAM,cAAcA,EAAM,UAAU,MACxC,KAAYA,EAAM,cAAc,GAAS;EAAE,SAAS;EAA4B;EAAyB;EAAoB;EAAyB;EAAoB;EAAqB;EAAc,gBAAgB,CAAC,CAAC;EAAgB,SAAS;EAAc;CAAQ,CAAC,GAC/Q,IAAgBA,EAAM,aAAaA,EAAM,SAAS,KAAK,CAAQ,GAAG,EAAS,EAAS,CAAC,GAAG,CAAc,GAAG,EAAE,KAAK,EAAa,CAAC,CAAC,IAAMA,EAAM,cAAc,GAAW,EAAS,CAAC,GAAG,GAAgB;EAAa;EAAW,KAAK;CAAa,CAAC,GAAG,CAAQ,CAAE;AACjQ,CAAC;AACD,EAAa,eAAe;CACxB,SAAS;CACT,iBAAiB;CACjB,OAAO;AACX,GACA,EAAa,aAAa;CACtB,WAAW;CACX,WAAW;AACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggresiveCapture.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI,IAAmB;AACvB,IAAI,OAAO,SAAW,KAClB,IAAI;CACA,IAAI,IAAU,OAAO,eAAe,CAAC,GAAG,WAAW,EAC/C,KAAK,WAAY;EAEb,OADA,IAAmB,IACZ;CACX,EACJ,CAAC;CAID,AAFA,OAAO,iBAAiB,QAAQ,GAAS,CAAO,GAEhD,OAAO,oBAAoB,QAAQ,GAAS,CAAO;AACvD,QACY;CACR,IAAmB;AACvB;AAEJ,IAAW,IAAa,IAAmB,EAAE,SAAS,GAAM,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handleScroll.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n if (!target) {\n break;\n }\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n var parent_1 = target.parentNode;\n // we will \"bubble\" from ShadowDom in case we are, or just to the parent in normal case\n // this is the same logic used in focus-lock\n target = (parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1);\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI,IAAuB,SAAU,GAAM;CAEvC,OAAO,EAAK,YAAY;AAC5B,GACI,IAAuB,SAAU,GAAM,GAAU;CACjD,IAAI,EAAE,aAAgB,UAClB,OAAO;CA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IACrB,IAAkB,IAAQ,GAC1B,IAAkB,GAClB,IAAqB;CACzB,GAAG;EACC,IAAI,CAAC,GACD;EAEJ,IAAI,IAAK,EAAmB,GAAM,CAAM,GAAG,IAAW,EAAG,IACrD,IADoE,EAAG,KAAe,EAAG,KACnD,IAAkB;EAC5D,CAAI,KAAY,MACR,EAAuB,GAAM,CAAM,MACnC,KAAmB,GACnB,KAAsB;EAG9B,IAAI,IAAW,EAAO;EAGtB,IAAU,KAAY,EAAS,aAAa,KAAK,yBAAyB,EAAS,OAAO;CAC9F,SAEC,CAAC,KAAgB,MAAW,SAAS,QAEjC,MAAiB,EAAU,SAAS,CAAM,KAAK,MAAc;CAUlE,QARI,MACE,KAAgB,KAAK,IAAI,CAAe,IAAI,KAAO,CAAC,KAAgB,IAAQ,MAGzE,CAAC,MACJ,KAAgB,KAAK,IAAI,CAAkB,IAAI,KAAO,CAAC,KAAgB,CAAC,IAAQ,QAHlF,IAAqB,KAMlB;AACX"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createSidecarMedium as e } from "../../../../../use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.
|
|
1
|
+
import { createSidecarMedium as e } from "../../../../../use-sidecar@1.1.3_93dbe784b8baa420/node_modules/use-sidecar/dist/es2015/medium.js";
|
|
2
2
|
//#region ../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3
3
|
var t = e();
|
|
4
4
|
//#endregion
|
|
5
5
|
export { t as effectCar };
|
|
6
6
|
|
|
7
|
-
//# sourceMappingURL=medium.
|
|
7
|
+
//# sourceMappingURL=medium.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"medium.js","names":[],"sources":["../../../../../../../../../../node_modules/.bun/react-remove-scroll@2.7.2+93dbe784b8baa420/node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAW,IAAY,EAAoB"}
|