@gardenfi/garden-book 0.2.25 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animations/RollingText/RollingText.stories.d.ts +7 -0
- package/dist/animations/ScaleY/ScaleY.stories.d.ts +7 -0
- package/dist/animations/Shine/Shine.stories.d.ts +7 -0
- package/dist/components/atoms/BottomSheet/BottomSheet.stories.d.ts +7 -0
- package/dist/components/atoms/Button/Button.stories.d.ts +17 -0
- package/dist/components/atoms/Button/spinner.json.d.ts +3 -0
- package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts +7 -0
- package/dist/components/atoms/Container/Container.stories.d.ts +7 -0
- package/dist/components/atoms/Icons/ExchangeAltIcon.d.ts +3 -0
- package/dist/{Icons → components/atoms/Icons}/GlobeIcon.d.ts +1 -1
- package/dist/components/atoms/Icons/Icons.stories.d.ts +5 -0
- package/dist/{Icons → components/atoms/Icons}/index.d.ts +2 -2
- package/dist/components/atoms/Logo/Logo.stories.d.ts +5 -0
- package/dist/components/atoms/Modal/Modal.stories.d.ts +7 -0
- package/dist/{Opacity → components/atoms/Opacity}/Opacity.d.ts +1 -1
- package/dist/components/atoms/Opacity/Opacity.stories.d.ts +11 -0
- package/dist/components/atoms/Sidebar/Sidebar.stories.d.ts +9 -0
- package/dist/components/atoms/Typography/Typography.stories.d.ts +16 -0
- package/dist/components/atoms/index.d.ts +13 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/molecules/Chip/Chip.stories.d.ts +37 -0
- package/dist/components/molecules/GradientScroll/GradientScroll.stories.d.ts +28 -0
- package/dist/components/molecules/InfoBadge/InfoBadge.stories.d.ts +14 -0
- package/dist/components/molecules/TokenInfo/TokenInfo.stories.d.ts +19 -0
- package/dist/components/molecules/TokenNetworkLogos/TokenNetworkLogos.stories.d.ts +21 -0
- package/dist/components/molecules/index.d.ts +7 -0
- package/dist/components/organisms/BlogCard/BlogCard.stories.d.ts +21 -0
- package/dist/components/organisms/Footer/Footer.stories.d.ts +17 -0
- package/dist/components/organisms/QuestCard/QuestCard.stories.d.ts +27 -0
- package/dist/components/organisms/index.d.ts +3 -0
- package/dist/fonts/HafferBlack.woff2 +0 -0
- package/dist/fonts/HafferBold.woff2 +0 -0
- package/dist/fonts/HafferHeavy.woff2 +0 -0
- package/dist/fonts/HafferLight.woff2 +0 -0
- package/dist/fonts/HafferMedium.woff2 +0 -0
- package/dist/fonts/HafferRegular.woff2 +0 -0
- package/dist/fonts/HafferSemiBold.woff2 +0 -0
- package/dist/fonts/HafferThin.woff2 +0 -0
- package/dist/index.d.ts +1 -19
- package/dist/index.es-DRwhRJ5M.js +8030 -0
- package/dist/index.es-ov1WrgHZ.cjs +11 -0
- package/dist/style.css +1 -1
- package/dist/ui.cjs.js +65 -0
- package/dist/ui.es.js +16104 -0
- package/dist/ui.umd.js +75 -0
- package/package.json +20 -28
- package/dist/BlogCard/index.d.ts +0 -1
- package/dist/BlogCard/index.js +0 -60
- package/dist/BottomSheet/index.d.ts +0 -1
- package/dist/BottomSheet/index.js +0 -17
- package/dist/Button/ClientOnlyLottie.js +0 -27
- package/dist/Button/index.d.ts +0 -1
- package/dist/Button/index.js +0 -108
- package/dist/Button/spinner.json.js +0 -375
- package/dist/Checkbox/index.d.ts +0 -1
- package/dist/Checkbox/index.js +0 -7
- package/dist/Chip/index.d.ts +0 -1
- package/dist/Chip/index.js +0 -20
- package/dist/ClientOnly/index.js +0 -6
- package/dist/Container/index.d.ts +0 -1
- package/dist/Container/index.js +0 -6
- package/dist/Footer/FooterBackgroundAnimation.js +0 -100
- package/dist/Footer/FooterLink.js +0 -87
- package/dist/Footer/index.d.ts +0 -1
- package/dist/Footer/index.js +0 -381
- package/dist/GradientScroll/index.d.ts +0 -1
- package/dist/GradientScroll/index.js +0 -116
- package/dist/Icons/APIIcon.js +0 -37
- package/dist/Icons/AddIcon.js +0 -16
- package/dist/Icons/ArrowDownwardIcon.js +0 -16
- package/dist/Icons/ArrowEastIcon.js +0 -22
- package/dist/Icons/ArrowInwardIcon.js +0 -37
- package/dist/Icons/ArrowLeftIcon.js +0 -16
- package/dist/Icons/ArrowNorthEastIcon.js +0 -16
- package/dist/Icons/ArrowNorthWestIcon.js +0 -16
- package/dist/Icons/ArrowRightIcon.js +0 -16
- package/dist/Icons/ArrowSouthEastIcon.js +0 -16
- package/dist/Icons/ArrowSouthWestIcon.js +0 -16
- package/dist/Icons/ArrowSyncIcon.js +0 -16
- package/dist/Icons/ArrowUpwardIcon.js +0 -16
- package/dist/Icons/BlogIcon.js +0 -37
- package/dist/Icons/BooksIcon.js +0 -8
- package/dist/Icons/BrandKitIcon.js +0 -37
- package/dist/Icons/BtcIcon.js +0 -5
- package/dist/Icons/CancelIcon.js +0 -22
- package/dist/Icons/ChainflipIcon.js +0 -103
- package/dist/Icons/CheckCircleIcon.js +0 -22
- package/dist/Icons/CheckIcon.js +0 -16
- package/dist/Icons/Checked.js +0 -37
- package/dist/Icons/ClockIcon.js +0 -16
- package/dist/Icons/CloseIcon.js +0 -16
- package/dist/Icons/CodeBlockIcon.js +0 -22
- package/dist/Icons/CompareArrowsIcon.js +0 -22
- package/dist/Icons/ConsoleIcon.js +0 -22
- package/dist/Icons/CopyIcon.js +0 -16
- package/dist/Icons/CopyrightsIcon.js +0 -22
- package/dist/Icons/DeleteIcon.js +0 -16
- package/dist/Icons/DigitalWellbeingIcon.js +0 -8
- package/dist/Icons/DiscordIcon.js +0 -22
- package/dist/Icons/DistanceIcon.js +0 -8
- package/dist/Icons/DollarChipIcon.js +0 -37
- package/dist/Icons/DraftIcon.js +0 -37
- package/dist/Icons/EditIcon.js +0 -16
- package/dist/Icons/EncryptedIcon.js +0 -37
- package/dist/Icons/ExchangeAltIcon.d.ts +0 -5
- package/dist/Icons/ExchangeAltIcon.js +0 -37
- package/dist/Icons/ExchangeIcon.js +0 -19
- package/dist/Icons/FaqIcon.js +0 -37
- package/dist/Icons/FeesIcon.js +0 -22
- package/dist/Icons/FillDownIcon.js +0 -5
- package/dist/Icons/FillUpIcon.js +0 -5
- package/dist/Icons/FingerprintIcon.js +0 -22
- package/dist/Icons/FlowChartIcon.js +0 -8
- package/dist/Icons/FolderIcon.js +0 -37
- package/dist/Icons/GasStationIcon.js +0 -22
- package/dist/Icons/GiftBoxIcon.js +0 -37
- package/dist/Icons/GlobeIcon.js +0 -16
- package/dist/Icons/HorizontalSwap.js +0 -37
- package/dist/Icons/HubIcon.js +0 -16
- package/dist/Icons/InfinityIcon.js +0 -22
- package/dist/Icons/InfoIcon.js +0 -16
- package/dist/Icons/KeyboardDownIcon.js +0 -16
- package/dist/Icons/KeyboardLeftIcon.js +0 -16
- package/dist/Icons/KeyboardRightIcon.js +0 -16
- package/dist/Icons/KeyboardUpIcon.js +0 -16
- package/dist/Icons/LinkIcon.js +0 -16
- package/dist/Icons/LocationPointerIcon.js +0 -5
- package/dist/Icons/LockIcon.js +0 -16
- package/dist/Icons/LogoutIcon.js +0 -16
- package/dist/Icons/MailIcon.js +0 -5
- package/dist/Icons/MenuIcon.js +0 -16
- package/dist/Icons/MinusIcon.js +0 -19
- package/dist/Icons/OpenInFullIcon.js +0 -16
- package/dist/Icons/OpenInNewIcon.js +0 -22
- package/dist/Icons/OtterSecIcon.js +0 -31
- package/dist/Icons/PageInfoIcon.js +0 -16
- package/dist/Icons/PasskeyIcon.js +0 -22
- package/dist/Icons/PaymentsIcon.js +0 -8
- package/dist/Icons/PlusIcon.js +0 -19
- package/dist/Icons/RadioCheckedIcon.js +0 -16
- package/dist/Icons/RadioUncheckedIcon.js +0 -16
- package/dist/Icons/RaiseHandIcon.js +0 -37
- package/dist/Icons/ReferralIcon.js +0 -16
- package/dist/Icons/RelayLinkIcon.js +0 -88
- package/dist/Icons/RemoveIcon.js +0 -16
- package/dist/Icons/RewardsIcon.js +0 -5
- package/dist/Icons/Rotate360Icon.js +0 -37
- package/dist/Icons/RoutingIcon.js +0 -37
- package/dist/Icons/RowInfoIcon.js +0 -37
- package/dist/Icons/SDKIcon.js +0 -37
- package/dist/Icons/SearchIcon.js +0 -16
- package/dist/Icons/SearchIconThin.js +0 -37
- package/dist/Icons/ShapesIcon.js +0 -8
- package/dist/Icons/Share.js +0 -22
- package/dist/Icons/StakeIcon.js +0 -37
- package/dist/Icons/StarIcon.js +0 -16
- package/dist/Icons/SwapHorizontalIcon.js +0 -21
- package/dist/Icons/ThorswapIcon.js +0 -55
- package/dist/Icons/TimerIcon.js +0 -16
- package/dist/Icons/Unchecked.js +0 -37
- package/dist/Icons/UserGroupsIcon.js +0 -8
- package/dist/Icons/WalletIcon.js +0 -16
- package/dist/Icons/WalletIconRose.js +0 -22
- package/dist/Icons/WarningIcon.js +0 -37
- package/dist/Icons/XIcon.js +0 -22
- package/dist/Icons/XSolidIcon.js +0 -22
- package/dist/Icons/ZellicIcon.js +0 -101
- package/dist/Icons/index.js +0 -200
- package/dist/InfoBadge/index.d.ts +0 -1
- package/dist/InfoBadge/index.js +0 -16
- package/dist/Logo/ArbitrumLogo.js +0 -66
- package/dist/Logo/BTCLogo.js +0 -32
- package/dist/Logo/Camelot.js +0 -73
- package/dist/Logo/CatalogLogo.js +0 -44
- package/dist/Logo/Coinbase.js +0 -24
- package/dist/Logo/DLCBTC.js +0 -68
- package/dist/Logo/DODO.js +0 -77
- package/dist/Logo/Debridge.js +0 -103
- package/dist/Logo/EthereumLogo.js +0 -60
- package/dist/Logo/GMX.js +0 -49
- package/dist/Logo/GMXLogo.js +0 -40
- package/dist/Logo/GardenDocs.js +0 -31
- package/dist/Logo/GardenExplorer.js +0 -34
- package/dist/Logo/GardenExplorerAlt.js +0 -31
- package/dist/Logo/GardenFullLogo.js +0 -66
- package/dist/Logo/GardenIcon.js +0 -33
- package/dist/Logo/GardenIconOutline.js +0 -43
- package/dist/Logo/GardenLogo.js +0 -33
- package/dist/Logo/GardenLogoDark.js +0 -83
- package/dist/Logo/GardenLogoLight.js +0 -83
- package/dist/Logo/GardenLogoMarkDark.js +0 -41
- package/dist/Logo/GardenLogoMarkLight.js +0 -41
- package/dist/Logo/GardenLogoText.js +0 -59
- package/dist/Logo/GardenStrokeIcon.js +0 -43
- package/dist/Logo/NFTIcon.js +0 -37
- package/dist/Logo/PancakeSwap.js +0 -134
- package/dist/Logo/PhantomIcon.js +0 -23
- package/dist/Logo/PolygonLogo.js +0 -31
- package/dist/Logo/Radiant.js +0 -31
- package/dist/Logo/RadiantLogo.js +0 -40
- package/dist/Logo/Solv.js +0 -73
- package/dist/Logo/SwellBTC.js +0 -31
- package/dist/Logo/TraderJoe.js +0 -98
- package/dist/Logo/TrailOfBits.js +0 -190
- package/dist/Logo/TrustWallet.js +0 -50
- package/dist/Logo/Vertex.js +0 -90
- package/dist/Logo/WalletConnect.js +0 -22
- package/dist/Logo/index.js +0 -76
- package/dist/Modal/index.d.ts +0 -1
- package/dist/Modal/index.js +0 -66
- package/dist/Opacity/index.d.ts +0 -2
- package/dist/Opacity/index.js +0 -25
- package/dist/QuestCard/index.d.ts +0 -1
- package/dist/QuestCard/index.js +0 -57
- package/dist/Sidebar/index.d.ts +0 -1
- package/dist/Sidebar/index.js +0 -41
- package/dist/TokenInfo/index.d.ts +0 -1
- package/dist/TokenInfo/index.js +0 -44
- package/dist/TokenNetworkLogos/index.d.ts +0 -1
- package/dist/TokenNetworkLogos/index.js +0 -41
- package/dist/Typography/index.d.ts +0 -1
- package/dist/Typography/index.js +0 -89
- package/dist/animations/RollingText/RollingText.js +0 -70
- package/dist/animations/ScaleY/ScaleY.js +0 -32
- package/dist/animations/Shine/Shine.js +0 -6
- package/dist/assets/blogPlaceholder.svg.js +0 -4
- package/dist/assets/maskRect.svg.js +0 -4
- package/dist/hooks/useClientOnly.js +0 -10
- package/dist/index.js +0 -315
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -70
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -257
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -137
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -71
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -13
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -54
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
- package/dist/node_modules/vaul/dist/index.js +0 -1038
- package/dist/utils/index.js +0 -6
- /package/dist/{BottomSheet → components/atoms/BottomSheet}/BottomSheet.d.ts +0 -0
- /package/dist/{Button → components/atoms/Button}/Button.d.ts +0 -0
- /package/dist/{Button → components/atoms/Button}/ClientOnlyLottie.d.ts +0 -0
- /package/dist/{Checkbox → components/atoms/Checkbox}/Checkbox.d.ts +0 -0
- /package/dist/{ClientOnly → components/atoms/ClientOnly}/ClientOnly.d.ts +0 -0
- /package/dist/{ClientOnly → components/atoms/ClientOnly}/index.d.ts +0 -0
- /package/dist/{Container → components/atoms/Container}/Container.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/APIIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/AddIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowDownwardIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowEastIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowInwardIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowLeftIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowNorthEastIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowNorthWestIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowRightIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowSouthEastIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowSouthWestIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowSyncIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ArrowUpwardIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/BlogIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/BooksIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/BrandKitIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/BtcIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/CancelIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ChainflipIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/CheckCircleIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/CheckIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/Checked.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ClockIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/CloseIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/CodeBlockIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/CompareArrowsIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ConsoleIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/CopyIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/CopyrightsIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/DeleteIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/DigitalWellbeingIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/DiscordIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/DistanceIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/DollarChipIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/DraftIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/EditIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/EncryptedIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ExchangeIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/FaqIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/FeesIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/FillDownIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/FillUpIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/FingerprintIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/FlowChartIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/FolderIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/GasStationIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/GiftBoxIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/HorizontalSwap.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/HubIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/InfinityIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/InfoIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/KeyboardDownIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/KeyboardLeftIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/KeyboardRightIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/KeyboardUpIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/LinkIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/LocationPointerIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/LockIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/LogoutIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/MailIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/MenuIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/MinusIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/OpenInFullIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/OpenInNewIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/OtterSecIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/PageInfoIcon.d.ts +0 -0
- /package/dist/{Icons/PasskeyIcon.d.ts → components/atoms/Icons/Passkey.d.ts} +0 -0
- /package/dist/{Icons → components/atoms/Icons}/PaymentsIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/PlusIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/RadioCheckedIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/RadioUncheckedIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/RaiseHandIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ReferralIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/RelayLinkIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/RemoveIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/RewardsIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/Rotate360Icon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/RoutingIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/RowInfoIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/SDKIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/SearchIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/SearchIconThin.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ShapesIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/Share.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/StakeIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/StarIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/SwapHorizontalIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ThorswapIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/TimerIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/Unchecked.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/UserGroupsIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/WalletIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/WalletIconRose.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/WarningIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/XIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/XSolidIcon.d.ts +0 -0
- /package/dist/{Icons → components/atoms/Icons}/ZellicIcon.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/ArbitrumLogo.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/BTCLogo.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/Camelot.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/CatalogLogo.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/Coinbase.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/DLCBTC.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/DODO.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/Debridge.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/EthereumLogo.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GMX.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GMXLogo.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenDocs.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenExplorer.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenExplorerAlt.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenFullLogo.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenIcon.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenIconOutline.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenLogo.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenLogoDark.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenLogoLight.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenLogoMarkDark.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenLogoMarkLight.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenLogoText.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/GardenStrokeIcon.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/NFTIcon.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/PancakeSwap.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/PhantomIcon.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/PolygonLogo.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/Radiant.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/RadiantLogo.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/Solv.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/SwellBTC.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/TraderJoe.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/TrailOfBits.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/TrustWallet.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/Vertex.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/WalletConnect.d.ts +0 -0
- /package/dist/{Logo → components/atoms/Logo}/index.d.ts +0 -0
- /package/dist/{Modal → components/atoms/Modal}/Modal.d.ts +0 -0
- /package/dist/{Sidebar → components/atoms/Sidebar}/Sidebar.d.ts +0 -0
- /package/dist/{Typography → components/atoms/Typography}/Typography.d.ts +0 -0
- /package/dist/{Chip → components/molecules/Chip}/Chip.d.ts +0 -0
- /package/dist/{GradientScroll → components/molecules/GradientScroll}/GradientScroll.d.ts +0 -0
- /package/dist/{InfoBadge → components/molecules/InfoBadge}/InfoBadge.d.ts +0 -0
- /package/dist/{TokenInfo → components/molecules/TokenInfo}/TokenInfo.d.ts +0 -0
- /package/dist/{TokenNetworkLogos → components/molecules/TokenNetworkLogos}/TokenNetworkLogos.d.ts +0 -0
- /package/dist/{BlogCard → components/organisms/BlogCard}/BlogCard.d.ts +0 -0
- /package/dist/{Footer → components/organisms/Footer}/Footer.d.ts +0 -0
- /package/dist/{Footer → components/organisms/Footer}/FooterBackgroundAnimation.d.ts +0 -0
- /package/dist/{Footer → components/organisms/Footer}/FooterLink.d.ts +0 -0
- /package/dist/{QuestCard → components/organisms/QuestCard}/QuestCard.d.ts +0 -0
|
@@ -1,1038 +0,0 @@
|
|
|
1
|
-
import { Root as me, Portal as pe, Overlay as we, Content as he } from "../../@radix-ui/react-dialog/dist/index.js";
|
|
2
|
-
import * as ge from "react";
|
|
3
|
-
import r, { useMemo as ve, useLayoutEffect as ye, useEffect as be } from "react";
|
|
4
|
-
function Se(t) {
|
|
5
|
-
if (typeof document > "u") return;
|
|
6
|
-
let n = document.head || document.getElementsByTagName("head")[0], e = document.createElement("style");
|
|
7
|
-
e.type = "text/css", n.appendChild(e), e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
8
|
-
}
|
|
9
|
-
const Wt = r.createContext({
|
|
10
|
-
drawerRef: {
|
|
11
|
-
current: null
|
|
12
|
-
},
|
|
13
|
-
overlayRef: {
|
|
14
|
-
current: null
|
|
15
|
-
},
|
|
16
|
-
onPress: () => {
|
|
17
|
-
},
|
|
18
|
-
onRelease: () => {
|
|
19
|
-
},
|
|
20
|
-
onDrag: () => {
|
|
21
|
-
},
|
|
22
|
-
onNestedDrag: () => {
|
|
23
|
-
},
|
|
24
|
-
onNestedOpenChange: () => {
|
|
25
|
-
},
|
|
26
|
-
onNestedRelease: () => {
|
|
27
|
-
},
|
|
28
|
-
openProp: void 0,
|
|
29
|
-
dismissible: !1,
|
|
30
|
-
isOpen: !1,
|
|
31
|
-
isDragging: !1,
|
|
32
|
-
keyboardIsOpen: {
|
|
33
|
-
current: !1
|
|
34
|
-
},
|
|
35
|
-
snapPointsOffset: null,
|
|
36
|
-
snapPoints: null,
|
|
37
|
-
handleOnly: !1,
|
|
38
|
-
modal: !1,
|
|
39
|
-
shouldFade: !1,
|
|
40
|
-
activeSnapPoint: null,
|
|
41
|
-
onOpenChange: () => {
|
|
42
|
-
},
|
|
43
|
-
setActiveSnapPoint: () => {
|
|
44
|
-
},
|
|
45
|
-
closeDrawer: () => {
|
|
46
|
-
},
|
|
47
|
-
direction: "bottom",
|
|
48
|
-
shouldAnimate: {
|
|
49
|
-
current: !0
|
|
50
|
-
},
|
|
51
|
-
shouldScaleBackground: !1,
|
|
52
|
-
setBackgroundColorOnScale: !0,
|
|
53
|
-
noBodyStyles: !1,
|
|
54
|
-
container: null,
|
|
55
|
-
autoFocus: !1
|
|
56
|
-
}), ct = () => {
|
|
57
|
-
const t = r.useContext(Wt);
|
|
58
|
-
if (!t)
|
|
59
|
-
throw new Error("useDrawerContext must be used within a Drawer.Root");
|
|
60
|
-
return t;
|
|
61
|
-
};
|
|
62
|
-
Se(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
|
|
63
|
-
[data-state=closed]
|
|
64
|
-
){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);
|
|
65
|
-
function Re() {
|
|
66
|
-
const t = navigator.userAgent;
|
|
67
|
-
return typeof window < "u" && (/Firefox/.test(t) && /Mobile/.test(t) || // Android Firefox
|
|
68
|
-
/FxiOS/.test(t));
|
|
69
|
-
}
|
|
70
|
-
function Te() {
|
|
71
|
-
return xt(/^Mac/);
|
|
72
|
-
}
|
|
73
|
-
function Ee() {
|
|
74
|
-
return xt(/^iPhone/);
|
|
75
|
-
}
|
|
76
|
-
function kt() {
|
|
77
|
-
return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
78
|
-
}
|
|
79
|
-
function De() {
|
|
80
|
-
return xt(/^iPad/) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
81
|
-
Te() && navigator.maxTouchPoints > 1;
|
|
82
|
-
}
|
|
83
|
-
function zt() {
|
|
84
|
-
return Ee() || De();
|
|
85
|
-
}
|
|
86
|
-
function xt(t) {
|
|
87
|
-
return typeof window < "u" && window.navigator != null ? t.test(window.navigator.platform) : void 0;
|
|
88
|
-
}
|
|
89
|
-
const Oe = 24, xe = typeof window < "u" ? ye : be;
|
|
90
|
-
function Bt(...t) {
|
|
91
|
-
return (...n) => {
|
|
92
|
-
for (let e of t)
|
|
93
|
-
typeof e == "function" && e(...n);
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
const St = typeof document < "u" && window.visualViewport;
|
|
97
|
-
function Ut(t) {
|
|
98
|
-
let n = window.getComputedStyle(t);
|
|
99
|
-
return /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
|
|
100
|
-
}
|
|
101
|
-
function Vt(t) {
|
|
102
|
-
for (Ut(t) && (t = t.parentElement); t && !Ut(t); )
|
|
103
|
-
t = t.parentElement;
|
|
104
|
-
return t || document.scrollingElement || document.documentElement;
|
|
105
|
-
}
|
|
106
|
-
const Ce = /* @__PURE__ */ new Set([
|
|
107
|
-
"checkbox",
|
|
108
|
-
"radio",
|
|
109
|
-
"range",
|
|
110
|
-
"color",
|
|
111
|
-
"file",
|
|
112
|
-
"image",
|
|
113
|
-
"button",
|
|
114
|
-
"submit",
|
|
115
|
-
"reset"
|
|
116
|
-
]);
|
|
117
|
-
let pt = 0, Rt;
|
|
118
|
-
function $e(t = {}) {
|
|
119
|
-
let { isDisabled: n } = t;
|
|
120
|
-
xe(() => {
|
|
121
|
-
if (!n)
|
|
122
|
-
return pt++, pt === 1 && zt() && (Rt = Ae()), () => {
|
|
123
|
-
pt--, pt === 0 && (Rt == null || Rt());
|
|
124
|
-
};
|
|
125
|
-
}, [
|
|
126
|
-
n
|
|
127
|
-
]);
|
|
128
|
-
}
|
|
129
|
-
function Ae() {
|
|
130
|
-
let t, n = 0, e = (f) => {
|
|
131
|
-
t = Vt(f.target), !(t === document.documentElement && t === document.body) && (n = f.changedTouches[0].pageY);
|
|
132
|
-
}, o = (f) => {
|
|
133
|
-
if (!t || t === document.documentElement || t === document.body) {
|
|
134
|
-
f.preventDefault();
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
137
|
-
let m = f.changedTouches[0].pageY, B = t.scrollTop, L = t.scrollHeight - t.clientHeight;
|
|
138
|
-
L !== 0 && ((B <= 0 && m > n || B >= L && m < n) && f.preventDefault(), n = m);
|
|
139
|
-
}, i = (f) => {
|
|
140
|
-
let m = f.target;
|
|
141
|
-
Dt(m) && m !== document.activeElement && (f.preventDefault(), m.style.transform = "translateY(-2000px)", m.focus(), requestAnimationFrame(() => {
|
|
142
|
-
m.style.transform = "";
|
|
143
|
-
}));
|
|
144
|
-
}, a = (f) => {
|
|
145
|
-
let m = f.target;
|
|
146
|
-
Dt(m) && (m.style.transform = "translateY(-2000px)", requestAnimationFrame(() => {
|
|
147
|
-
m.style.transform = "", St && (St.height < window.innerHeight ? requestAnimationFrame(() => {
|
|
148
|
-
Ft(m);
|
|
149
|
-
}) : St.addEventListener("resize", () => Ft(m), {
|
|
150
|
-
once: !0
|
|
151
|
-
}));
|
|
152
|
-
}));
|
|
153
|
-
}, v = () => {
|
|
154
|
-
window.scrollTo(0, 0);
|
|
155
|
-
}, w = window.pageXOffset, R = window.pageYOffset, E = Bt(Me(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
|
|
156
|
-
window.scrollTo(0, 0);
|
|
157
|
-
let h = Bt(st(document, "touchstart", e, {
|
|
158
|
-
passive: !1,
|
|
159
|
-
capture: !0
|
|
160
|
-
}), st(document, "touchmove", o, {
|
|
161
|
-
passive: !1,
|
|
162
|
-
capture: !0
|
|
163
|
-
}), st(document, "touchend", i, {
|
|
164
|
-
passive: !1,
|
|
165
|
-
capture: !0
|
|
166
|
-
}), st(document, "focus", a, !0), st(window, "scroll", v));
|
|
167
|
-
return () => {
|
|
168
|
-
E(), h(), window.scrollTo(w, R);
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
function Me(t, n, e) {
|
|
172
|
-
let o = t.style[n];
|
|
173
|
-
return t.style[n] = e, () => {
|
|
174
|
-
t.style[n] = o;
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
function st(t, n, e, o) {
|
|
178
|
-
return t.addEventListener(n, e, o), () => {
|
|
179
|
-
t.removeEventListener(n, e, o);
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
function Ft(t) {
|
|
183
|
-
let n = document.scrollingElement || document.documentElement;
|
|
184
|
-
for (; t && t !== n; ) {
|
|
185
|
-
let e = Vt(t);
|
|
186
|
-
if (e !== document.documentElement && e !== document.body && e !== t) {
|
|
187
|
-
let o = e.getBoundingClientRect().top, i = t.getBoundingClientRect().top, a = t.getBoundingClientRect().bottom;
|
|
188
|
-
const v = e.getBoundingClientRect().bottom + Oe;
|
|
189
|
-
a > v && (e.scrollTop += i - o);
|
|
190
|
-
}
|
|
191
|
-
t = e.parentElement;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
function Dt(t) {
|
|
195
|
-
return t instanceof HTMLInputElement && !Ce.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
|
|
196
|
-
}
|
|
197
|
-
function Pe(t, n) {
|
|
198
|
-
typeof t == "function" ? t(n) : t != null && (t.current = n);
|
|
199
|
-
}
|
|
200
|
-
function Ie(...t) {
|
|
201
|
-
return (n) => t.forEach((e) => Pe(e, n));
|
|
202
|
-
}
|
|
203
|
-
function Yt(...t) {
|
|
204
|
-
return ge.useCallback(Ie(...t), t);
|
|
205
|
-
}
|
|
206
|
-
const jt = /* @__PURE__ */ new WeakMap();
|
|
207
|
-
function $(t, n, e = !1) {
|
|
208
|
-
if (!t || !(t instanceof HTMLElement)) return;
|
|
209
|
-
let o = {};
|
|
210
|
-
Object.entries(n).forEach(([i, a]) => {
|
|
211
|
-
if (i.startsWith("--")) {
|
|
212
|
-
t.style.setProperty(i, a);
|
|
213
|
-
return;
|
|
214
|
-
}
|
|
215
|
-
o[i] = t.style[i], t.style[i] = a;
|
|
216
|
-
}), !e && jt.set(t, o);
|
|
217
|
-
}
|
|
218
|
-
function _e(t, n) {
|
|
219
|
-
if (!t || !(t instanceof HTMLElement)) return;
|
|
220
|
-
let e = jt.get(t);
|
|
221
|
-
e && (t.style[n] = e[n]);
|
|
222
|
-
}
|
|
223
|
-
const C = (t) => {
|
|
224
|
-
switch (t) {
|
|
225
|
-
case "top":
|
|
226
|
-
case "bottom":
|
|
227
|
-
return !0;
|
|
228
|
-
case "left":
|
|
229
|
-
case "right":
|
|
230
|
-
return !1;
|
|
231
|
-
default:
|
|
232
|
-
return t;
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
function wt(t, n) {
|
|
236
|
-
if (!t)
|
|
237
|
-
return null;
|
|
238
|
-
const e = window.getComputedStyle(t), o = (
|
|
239
|
-
// @ts-ignore
|
|
240
|
-
e.transform || e.webkitTransform || e.mozTransform
|
|
241
|
-
);
|
|
242
|
-
let i = o.match(/^matrix3d\((.+)\)$/);
|
|
243
|
-
return i ? parseFloat(i[1].split(", ")[C(n) ? 13 : 12]) : (i = o.match(/^matrix\((.+)\)$/), i ? parseFloat(i[1].split(", ")[C(n) ? 5 : 4]) : null);
|
|
244
|
-
}
|
|
245
|
-
function He(t) {
|
|
246
|
-
return 8 * (Math.log(t + 1) - 2);
|
|
247
|
-
}
|
|
248
|
-
function Tt(t, n) {
|
|
249
|
-
if (!t) return () => {
|
|
250
|
-
};
|
|
251
|
-
const e = t.style.cssText;
|
|
252
|
-
return Object.assign(t.style, n), () => {
|
|
253
|
-
t.style.cssText = e;
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
function Ne(...t) {
|
|
257
|
-
return (...n) => {
|
|
258
|
-
for (const e of t)
|
|
259
|
-
typeof e == "function" && e(...n);
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
const O = {
|
|
263
|
-
DURATION: 0.5,
|
|
264
|
-
EASE: [
|
|
265
|
-
0.32,
|
|
266
|
-
0.72,
|
|
267
|
-
0,
|
|
268
|
-
1
|
|
269
|
-
]
|
|
270
|
-
}, qt = 0.4, Le = 0.25, ke = 100, Xt = 8, Z = 16, Ot = 26, Et = "vaul-dragging";
|
|
271
|
-
function Kt(t) {
|
|
272
|
-
const n = r.useRef(t);
|
|
273
|
-
return r.useEffect(() => {
|
|
274
|
-
n.current = t;
|
|
275
|
-
}), r.useMemo(() => (...e) => n.current == null ? void 0 : n.current.call(n, ...e), []);
|
|
276
|
-
}
|
|
277
|
-
function Be({ defaultProp: t, onChange: n }) {
|
|
278
|
-
const e = r.useState(t), [o] = e, i = r.useRef(o), a = Kt(n);
|
|
279
|
-
return r.useEffect(() => {
|
|
280
|
-
i.current !== o && (a(o), i.current = o);
|
|
281
|
-
}, [
|
|
282
|
-
o,
|
|
283
|
-
i,
|
|
284
|
-
a
|
|
285
|
-
]), e;
|
|
286
|
-
}
|
|
287
|
-
function Gt({ prop: t, defaultProp: n, onChange: e = () => {
|
|
288
|
-
} }) {
|
|
289
|
-
const [o, i] = Be({
|
|
290
|
-
defaultProp: n,
|
|
291
|
-
onChange: e
|
|
292
|
-
}), a = t !== void 0, v = a ? t : o, w = Kt(e), R = r.useCallback((E) => {
|
|
293
|
-
if (a) {
|
|
294
|
-
const f = typeof E == "function" ? E(t) : E;
|
|
295
|
-
f !== t && w(f);
|
|
296
|
-
} else
|
|
297
|
-
i(E);
|
|
298
|
-
}, [
|
|
299
|
-
a,
|
|
300
|
-
t,
|
|
301
|
-
i,
|
|
302
|
-
w
|
|
303
|
-
]);
|
|
304
|
-
return [
|
|
305
|
-
v,
|
|
306
|
-
R
|
|
307
|
-
];
|
|
308
|
-
}
|
|
309
|
-
function Ue({ activeSnapPointProp: t, setActiveSnapPointProp: n, snapPoints: e, drawerRef: o, overlayRef: i, fadeFromIndex: a, onSnapPointChange: v, direction: w = "bottom", container: R, snapToSequentialPoint: E }) {
|
|
310
|
-
const [h, f] = Gt({
|
|
311
|
-
prop: t,
|
|
312
|
-
defaultProp: e == null ? void 0 : e[0],
|
|
313
|
-
onChange: n
|
|
314
|
-
}), [m, B] = r.useState(typeof window < "u" ? {
|
|
315
|
-
innerWidth: window.innerWidth,
|
|
316
|
-
innerHeight: window.innerHeight
|
|
317
|
-
} : void 0);
|
|
318
|
-
r.useEffect(() => {
|
|
319
|
-
function u() {
|
|
320
|
-
B({
|
|
321
|
-
innerWidth: window.innerWidth,
|
|
322
|
-
innerHeight: window.innerHeight
|
|
323
|
-
});
|
|
324
|
-
}
|
|
325
|
-
return window.addEventListener("resize", u), () => window.removeEventListener("resize", u);
|
|
326
|
-
}, []);
|
|
327
|
-
const L = r.useMemo(() => h === (e == null ? void 0 : e[e.length - 1]) || null, [
|
|
328
|
-
e,
|
|
329
|
-
h
|
|
330
|
-
]), D = r.useMemo(() => {
|
|
331
|
-
var u;
|
|
332
|
-
return (u = e == null ? void 0 : e.findIndex((b) => b === h)) != null ? u : null;
|
|
333
|
-
}, [
|
|
334
|
-
e,
|
|
335
|
-
h
|
|
336
|
-
]), U = e && e.length > 0 && (a || a === 0) && !Number.isNaN(a) && e[a] === h || !e, p = r.useMemo(() => {
|
|
337
|
-
const u = R ? {
|
|
338
|
-
width: R.getBoundingClientRect().width,
|
|
339
|
-
height: R.getBoundingClientRect().height
|
|
340
|
-
} : typeof window < "u" ? {
|
|
341
|
-
width: window.innerWidth,
|
|
342
|
-
height: window.innerHeight
|
|
343
|
-
} : {
|
|
344
|
-
width: 0,
|
|
345
|
-
height: 0
|
|
346
|
-
};
|
|
347
|
-
var b;
|
|
348
|
-
return (b = e == null ? void 0 : e.map((y) => {
|
|
349
|
-
const _ = typeof y == "string";
|
|
350
|
-
let P = 0;
|
|
351
|
-
if (_ && (P = parseInt(y, 10)), C(w)) {
|
|
352
|
-
const s = _ ? P : m ? y * u.height : 0;
|
|
353
|
-
return m ? w === "bottom" ? u.height - s : -u.height + s : s;
|
|
354
|
-
}
|
|
355
|
-
const W = _ ? P : m ? y * u.width : 0;
|
|
356
|
-
return m ? w === "right" ? u.width - W : -u.width + W : W;
|
|
357
|
-
})) != null ? b : [];
|
|
358
|
-
}, [
|
|
359
|
-
e,
|
|
360
|
-
m,
|
|
361
|
-
R
|
|
362
|
-
]), M = r.useMemo(() => D !== null ? p == null ? void 0 : p[D] : null, [
|
|
363
|
-
p,
|
|
364
|
-
D
|
|
365
|
-
]), A = r.useCallback((u) => {
|
|
366
|
-
var b;
|
|
367
|
-
const y = (b = p == null ? void 0 : p.findIndex((_) => _ === u)) != null ? b : null;
|
|
368
|
-
v(y), $(o.current, {
|
|
369
|
-
transition: `transform ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
|
|
370
|
-
transform: C(w) ? `translate3d(0, ${u}px, 0)` : `translate3d(${u}px, 0, 0)`
|
|
371
|
-
}), p && y !== p.length - 1 && a !== void 0 && y !== a && y < a ? $(i.current, {
|
|
372
|
-
transition: `opacity ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
|
|
373
|
-
opacity: "0"
|
|
374
|
-
}) : $(i.current, {
|
|
375
|
-
transition: `opacity ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
|
|
376
|
-
opacity: "1"
|
|
377
|
-
}), f(e == null ? void 0 : e[Math.max(y, 0)]);
|
|
378
|
-
}, [
|
|
379
|
-
o.current,
|
|
380
|
-
e,
|
|
381
|
-
p,
|
|
382
|
-
a,
|
|
383
|
-
i,
|
|
384
|
-
f
|
|
385
|
-
]);
|
|
386
|
-
r.useEffect(() => {
|
|
387
|
-
if (h || t) {
|
|
388
|
-
var u;
|
|
389
|
-
const b = (u = e == null ? void 0 : e.findIndex((y) => y === t || y === h)) != null ? u : -1;
|
|
390
|
-
p && b !== -1 && typeof p[b] == "number" && A(p[b]);
|
|
391
|
-
}
|
|
392
|
-
}, [
|
|
393
|
-
h,
|
|
394
|
-
t,
|
|
395
|
-
e,
|
|
396
|
-
p,
|
|
397
|
-
A
|
|
398
|
-
]);
|
|
399
|
-
function c({ draggedDistance: u, closeDrawer: b, velocity: y, dismissible: _ }) {
|
|
400
|
-
if (a === void 0) return;
|
|
401
|
-
const P = w === "bottom" || w === "right" ? (M ?? 0) - u : (M ?? 0) + u, W = D === a - 1, s = D === 0, F = u > 0;
|
|
402
|
-
if (W && $(i.current, {
|
|
403
|
-
transition: `opacity ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`
|
|
404
|
-
}), !E && y > 2 && !F) {
|
|
405
|
-
_ ? b() : A(p[0]);
|
|
406
|
-
return;
|
|
407
|
-
}
|
|
408
|
-
if (!E && y > 2 && F && p && e) {
|
|
409
|
-
A(p[e.length - 1]);
|
|
410
|
-
return;
|
|
411
|
-
}
|
|
412
|
-
const H = p == null ? void 0 : p.reduce((I, q) => typeof I != "number" || typeof q != "number" ? I : Math.abs(q - P) < Math.abs(I - P) ? q : I), z = C(w) ? window.innerHeight : window.innerWidth;
|
|
413
|
-
if (y > qt && Math.abs(u) < z * 0.4) {
|
|
414
|
-
const I = F ? 1 : -1;
|
|
415
|
-
if (I > 0 && L && e) {
|
|
416
|
-
A(p[e.length - 1]);
|
|
417
|
-
return;
|
|
418
|
-
}
|
|
419
|
-
if (s && I < 0 && _ && b(), D === null) return;
|
|
420
|
-
A(p[D + I]);
|
|
421
|
-
return;
|
|
422
|
-
}
|
|
423
|
-
A(H);
|
|
424
|
-
}
|
|
425
|
-
function Y({ draggedDistance: u }) {
|
|
426
|
-
if (M === null) return;
|
|
427
|
-
const b = w === "bottom" || w === "right" ? M - u : M + u;
|
|
428
|
-
(w === "bottom" || w === "right") && b < p[p.length - 1] || (w === "top" || w === "left") && b > p[p.length - 1] || $(o.current, {
|
|
429
|
-
transform: C(w) ? `translate3d(0, ${b}px, 0)` : `translate3d(${b}px, 0, 0)`
|
|
430
|
-
});
|
|
431
|
-
}
|
|
432
|
-
function J(u, b) {
|
|
433
|
-
if (!e || typeof D != "number" || !p || a === void 0) return null;
|
|
434
|
-
const y = D === a - 1;
|
|
435
|
-
if (D >= a && b)
|
|
436
|
-
return 0;
|
|
437
|
-
if (y && !b) return 1;
|
|
438
|
-
if (!U && !y) return null;
|
|
439
|
-
const P = y ? D + 1 : D - 1, W = y ? p[P] - p[P - 1] : p[P + 1] - p[P], s = u / Math.abs(W);
|
|
440
|
-
return y ? 1 - s : s;
|
|
441
|
-
}
|
|
442
|
-
return {
|
|
443
|
-
isLastSnapPoint: L,
|
|
444
|
-
activeSnapPoint: h,
|
|
445
|
-
shouldFade: U,
|
|
446
|
-
getPercentageDragged: J,
|
|
447
|
-
setActiveSnapPoint: f,
|
|
448
|
-
activeSnapPointIndex: D,
|
|
449
|
-
onRelease: c,
|
|
450
|
-
onDrag: Y,
|
|
451
|
-
snapPointsOffset: p
|
|
452
|
-
};
|
|
453
|
-
}
|
|
454
|
-
const Fe = () => () => {
|
|
455
|
-
};
|
|
456
|
-
function We() {
|
|
457
|
-
const { direction: t, isOpen: n, shouldScaleBackground: e, setBackgroundColorOnScale: o, noBodyStyles: i } = ct(), a = r.useRef(null), v = ve(() => document.body.style.backgroundColor, []);
|
|
458
|
-
function w() {
|
|
459
|
-
return (window.innerWidth - Ot) / window.innerWidth;
|
|
460
|
-
}
|
|
461
|
-
r.useEffect(() => {
|
|
462
|
-
if (n && e) {
|
|
463
|
-
a.current && clearTimeout(a.current);
|
|
464
|
-
const R = document.querySelector("[data-vaul-drawer-wrapper]") || document.querySelector("[vaul-drawer-wrapper]");
|
|
465
|
-
if (!R) return;
|
|
466
|
-
Ne(o && !i ? Tt(document.body, {
|
|
467
|
-
background: "black"
|
|
468
|
-
}) : Fe, Tt(R, {
|
|
469
|
-
transformOrigin: C(t) ? "top" : "left",
|
|
470
|
-
transitionProperty: "transform, border-radius",
|
|
471
|
-
transitionDuration: `${O.DURATION}s`,
|
|
472
|
-
transitionTimingFunction: `cubic-bezier(${O.EASE.join(",")})`
|
|
473
|
-
}));
|
|
474
|
-
const E = Tt(R, {
|
|
475
|
-
borderRadius: `${Xt}px`,
|
|
476
|
-
overflow: "hidden",
|
|
477
|
-
...C(t) ? {
|
|
478
|
-
transform: `scale(${w()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`
|
|
479
|
-
} : {
|
|
480
|
-
transform: `scale(${w()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`
|
|
481
|
-
}
|
|
482
|
-
});
|
|
483
|
-
return () => {
|
|
484
|
-
E(), a.current = window.setTimeout(() => {
|
|
485
|
-
v ? document.body.style.background = v : document.body.style.removeProperty("background");
|
|
486
|
-
}, O.DURATION * 1e3);
|
|
487
|
-
};
|
|
488
|
-
}
|
|
489
|
-
}, [
|
|
490
|
-
n,
|
|
491
|
-
e,
|
|
492
|
-
v
|
|
493
|
-
]);
|
|
494
|
-
}
|
|
495
|
-
let ut = null;
|
|
496
|
-
function ze({ isOpen: t, modal: n, nested: e, hasBeenOpened: o, preventScrollRestoration: i, noBodyStyles: a }) {
|
|
497
|
-
const [v, w] = r.useState(() => typeof window < "u" ? window.location.href : ""), R = r.useRef(0), E = r.useCallback(() => {
|
|
498
|
-
if (kt() && ut === null && t && !a) {
|
|
499
|
-
ut = {
|
|
500
|
-
position: document.body.style.position,
|
|
501
|
-
top: document.body.style.top,
|
|
502
|
-
left: document.body.style.left,
|
|
503
|
-
height: document.body.style.height,
|
|
504
|
-
right: "unset"
|
|
505
|
-
};
|
|
506
|
-
const { scrollX: f, innerHeight: m } = window;
|
|
507
|
-
document.body.style.setProperty("position", "fixed", "important"), Object.assign(document.body.style, {
|
|
508
|
-
top: `${-R.current}px`,
|
|
509
|
-
left: `${-f}px`,
|
|
510
|
-
right: "0px",
|
|
511
|
-
height: "auto"
|
|
512
|
-
}), window.setTimeout(() => window.requestAnimationFrame(() => {
|
|
513
|
-
const B = m - window.innerHeight;
|
|
514
|
-
B && R.current >= m && (document.body.style.top = `${-(R.current + B)}px`);
|
|
515
|
-
}), 300);
|
|
516
|
-
}
|
|
517
|
-
}, [
|
|
518
|
-
t
|
|
519
|
-
]), h = r.useCallback(() => {
|
|
520
|
-
if (kt() && ut !== null && !a) {
|
|
521
|
-
const f = -parseInt(document.body.style.top, 10), m = -parseInt(document.body.style.left, 10);
|
|
522
|
-
Object.assign(document.body.style, ut), window.requestAnimationFrame(() => {
|
|
523
|
-
if (i && v !== window.location.href) {
|
|
524
|
-
w(window.location.href);
|
|
525
|
-
return;
|
|
526
|
-
}
|
|
527
|
-
window.scrollTo(m, f);
|
|
528
|
-
}), ut = null;
|
|
529
|
-
}
|
|
530
|
-
}, [
|
|
531
|
-
v
|
|
532
|
-
]);
|
|
533
|
-
return r.useEffect(() => {
|
|
534
|
-
function f() {
|
|
535
|
-
R.current = window.scrollY;
|
|
536
|
-
}
|
|
537
|
-
return f(), window.addEventListener("scroll", f), () => {
|
|
538
|
-
window.removeEventListener("scroll", f);
|
|
539
|
-
};
|
|
540
|
-
}, []), r.useEffect(() => {
|
|
541
|
-
if (n)
|
|
542
|
-
return () => {
|
|
543
|
-
typeof document > "u" || document.querySelector("[data-vaul-drawer]") || h();
|
|
544
|
-
};
|
|
545
|
-
}, [
|
|
546
|
-
n,
|
|
547
|
-
h
|
|
548
|
-
]), r.useEffect(() => {
|
|
549
|
-
e || !o || (t ? (!window.matchMedia("(display-mode: standalone)").matches && E(), n || window.setTimeout(() => {
|
|
550
|
-
h();
|
|
551
|
-
}, 500)) : h());
|
|
552
|
-
}, [
|
|
553
|
-
t,
|
|
554
|
-
o,
|
|
555
|
-
v,
|
|
556
|
-
n,
|
|
557
|
-
e,
|
|
558
|
-
E,
|
|
559
|
-
h
|
|
560
|
-
]), {
|
|
561
|
-
restorePositionSetting: h
|
|
562
|
-
};
|
|
563
|
-
}
|
|
564
|
-
function Ve({ open: t, onOpenChange: n, children: e, onDrag: o, onRelease: i, snapPoints: a, shouldScaleBackground: v = !1, setBackgroundColorOnScale: w = !0, closeThreshold: R = Le, scrollLockTimeout: E = ke, dismissible: h = !0, handleOnly: f = !1, fadeFromIndex: m = a && a.length - 1, activeSnapPoint: B, setActiveSnapPoint: L, fixed: D, modal: U = !0, onClose: p, nested: M, noBodyStyles: A = !1, direction: c = "bottom", defaultOpen: Y = !1, disablePreventScroll: J = !0, snapToSequentialPoint: u = !1, preventScrollRestoration: b = !1, repositionInputs: y = !0, onAnimationEnd: _, container: P, autoFocus: W = !1 }) {
|
|
565
|
-
var s, F;
|
|
566
|
-
const [H = !1, z] = Gt({
|
|
567
|
-
defaultProp: Y,
|
|
568
|
-
prop: t,
|
|
569
|
-
onChange: (l) => {
|
|
570
|
-
n == null || n(l), !l && !M && oe(), setTimeout(() => {
|
|
571
|
-
_ == null || _(l);
|
|
572
|
-
}, O.DURATION * 1e3), l && !U && typeof window < "u" && window.requestAnimationFrame(() => {
|
|
573
|
-
document.body.style.pointerEvents = "auto";
|
|
574
|
-
}), l || (document.body.style.pointerEvents = "auto");
|
|
575
|
-
}
|
|
576
|
-
}), [I, q] = r.useState(!1), [X, rt] = r.useState(!1), [Zt, Ct] = r.useState(!1), tt = r.useRef(null), dt = r.useRef(null), ht = r.useRef(null), gt = r.useRef(null), at = r.useRef(null), ot = r.useRef(!1), vt = r.useRef(null), yt = r.useRef(0), et = r.useRef(!1), $t = r.useRef(!Y), At = r.useRef(0), d = r.useRef(null), Mt = r.useRef(((s = d.current) == null ? void 0 : s.getBoundingClientRect().height) || 0), Pt = r.useRef(((F = d.current) == null ? void 0 : F.getBoundingClientRect().width) || 0), bt = r.useRef(0), te = r.useCallback((l) => {
|
|
577
|
-
a && l === it.length - 1 && (dt.current = /* @__PURE__ */ new Date());
|
|
578
|
-
}, []), { activeSnapPoint: ee, activeSnapPointIndex: nt, setActiveSnapPoint: It, onRelease: ne, snapPointsOffset: it, onDrag: re, shouldFade: _t, getPercentageDragged: ae } = Ue({
|
|
579
|
-
snapPoints: a,
|
|
580
|
-
activeSnapPointProp: B,
|
|
581
|
-
setActiveSnapPointProp: L,
|
|
582
|
-
drawerRef: d,
|
|
583
|
-
fadeFromIndex: m,
|
|
584
|
-
overlayRef: tt,
|
|
585
|
-
onSnapPointChange: te,
|
|
586
|
-
direction: c,
|
|
587
|
-
container: P,
|
|
588
|
-
snapToSequentialPoint: u
|
|
589
|
-
});
|
|
590
|
-
$e({
|
|
591
|
-
isDisabled: !H || X || !U || Zt || !I || !y || !J
|
|
592
|
-
});
|
|
593
|
-
const { restorePositionSetting: oe } = ze({
|
|
594
|
-
isOpen: H,
|
|
595
|
-
modal: U,
|
|
596
|
-
nested: M ?? !1,
|
|
597
|
-
hasBeenOpened: I,
|
|
598
|
-
preventScrollRestoration: b,
|
|
599
|
-
noBodyStyles: A
|
|
600
|
-
});
|
|
601
|
-
function ft() {
|
|
602
|
-
return (window.innerWidth - Ot) / window.innerWidth;
|
|
603
|
-
}
|
|
604
|
-
function ie(l) {
|
|
605
|
-
var S, T;
|
|
606
|
-
!h && !a || d.current && !d.current.contains(l.target) || (Mt.current = ((S = d.current) == null ? void 0 : S.getBoundingClientRect().height) || 0, Pt.current = ((T = d.current) == null ? void 0 : T.getBoundingClientRect().width) || 0, rt(!0), ht.current = /* @__PURE__ */ new Date(), zt() && window.addEventListener("touchend", () => ot.current = !1, {
|
|
607
|
-
once: !0
|
|
608
|
-
}), l.target.setPointerCapture(l.pointerId), yt.current = C(c) ? l.pageY : l.pageX);
|
|
609
|
-
}
|
|
610
|
-
function Ht(l, S) {
|
|
611
|
-
var T;
|
|
612
|
-
let g = l;
|
|
613
|
-
const x = (T = window.getSelection()) == null ? void 0 : T.toString(), k = d.current ? wt(d.current, c) : null, N = /* @__PURE__ */ new Date();
|
|
614
|
-
if (g.tagName === "SELECT" || g.hasAttribute("data-vaul-no-drag") || g.closest("[data-vaul-no-drag]"))
|
|
615
|
-
return !1;
|
|
616
|
-
if (c === "right" || c === "left")
|
|
617
|
-
return !0;
|
|
618
|
-
if (dt.current && N.getTime() - dt.current.getTime() < 500)
|
|
619
|
-
return !1;
|
|
620
|
-
if (k !== null && (c === "bottom" ? k > 0 : k < 0))
|
|
621
|
-
return !0;
|
|
622
|
-
if (x && x.length > 0)
|
|
623
|
-
return !1;
|
|
624
|
-
if (at.current && N.getTime() - at.current.getTime() < E && k === 0 || S)
|
|
625
|
-
return at.current = N, !1;
|
|
626
|
-
for (; g; ) {
|
|
627
|
-
if (g.scrollHeight > g.clientHeight) {
|
|
628
|
-
if (g.scrollTop !== 0)
|
|
629
|
-
return at.current = /* @__PURE__ */ new Date(), !1;
|
|
630
|
-
if (g.getAttribute("role") === "dialog")
|
|
631
|
-
return !0;
|
|
632
|
-
}
|
|
633
|
-
g = g.parentNode;
|
|
634
|
-
}
|
|
635
|
-
return !0;
|
|
636
|
-
}
|
|
637
|
-
function le(l) {
|
|
638
|
-
if (d.current && X) {
|
|
639
|
-
const S = c === "bottom" || c === "right" ? 1 : -1, T = (yt.current - (C(c) ? l.pageY : l.pageX)) * S, g = T > 0, x = a && !h && !g;
|
|
640
|
-
if (x && nt === 0) return;
|
|
641
|
-
const k = Math.abs(T), N = document.querySelector("[data-vaul-drawer-wrapper]"), K = c === "bottom" || c === "top" ? Mt.current : Pt.current;
|
|
642
|
-
let V = k / K;
|
|
643
|
-
const Q = ae(k, g);
|
|
644
|
-
if (Q !== null && (V = Q), x && V >= 1 || !ot.current && !Ht(l.target, g)) return;
|
|
645
|
-
if (d.current.classList.add(Et), ot.current = !0, $(d.current, {
|
|
646
|
-
transition: "none"
|
|
647
|
-
}), $(tt.current, {
|
|
648
|
-
transition: "none"
|
|
649
|
-
}), a && re({
|
|
650
|
-
draggedDistance: T
|
|
651
|
-
}), g && !a) {
|
|
652
|
-
const j = He(T), mt = Math.min(j * -1, 0) * S;
|
|
653
|
-
$(d.current, {
|
|
654
|
-
transform: C(c) ? `translate3d(0, ${mt}px, 0)` : `translate3d(${mt}px, 0, 0)`
|
|
655
|
-
});
|
|
656
|
-
return;
|
|
657
|
-
}
|
|
658
|
-
const G = 1 - V;
|
|
659
|
-
if ((_t || m && nt === m - 1) && (o == null || o(l, V), $(tt.current, {
|
|
660
|
-
opacity: `${G}`,
|
|
661
|
-
transition: "none"
|
|
662
|
-
}, !0)), N && tt.current && v) {
|
|
663
|
-
const j = Math.min(ft() + V * (1 - ft()), 1), mt = 8 - V * 8, Lt = Math.max(0, 14 - V * 14);
|
|
664
|
-
$(N, {
|
|
665
|
-
borderRadius: `${mt}px`,
|
|
666
|
-
transform: C(c) ? `scale(${j}) translate3d(0, ${Lt}px, 0)` : `scale(${j}) translate3d(${Lt}px, 0, 0)`,
|
|
667
|
-
transition: "none"
|
|
668
|
-
}, !0);
|
|
669
|
-
}
|
|
670
|
-
if (!a) {
|
|
671
|
-
const j = k * S;
|
|
672
|
-
$(d.current, {
|
|
673
|
-
transform: C(c) ? `translate3d(0, ${j}px, 0)` : `translate3d(${j}px, 0, 0)`
|
|
674
|
-
});
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
r.useEffect(() => {
|
|
679
|
-
window.requestAnimationFrame(() => {
|
|
680
|
-
$t.current = !0;
|
|
681
|
-
});
|
|
682
|
-
}, []), r.useEffect(() => {
|
|
683
|
-
var l;
|
|
684
|
-
function S() {
|
|
685
|
-
if (!d.current || !y) return;
|
|
686
|
-
const T = document.activeElement;
|
|
687
|
-
if (Dt(T) || et.current) {
|
|
688
|
-
var g;
|
|
689
|
-
const x = ((g = window.visualViewport) == null ? void 0 : g.height) || 0, k = window.innerHeight;
|
|
690
|
-
let N = k - x;
|
|
691
|
-
const K = d.current.getBoundingClientRect().height || 0, V = K > k * 0.8;
|
|
692
|
-
bt.current || (bt.current = K);
|
|
693
|
-
const Q = d.current.getBoundingClientRect().top;
|
|
694
|
-
if (Math.abs(At.current - N) > 60 && (et.current = !et.current), a && a.length > 0 && it && nt) {
|
|
695
|
-
const G = it[nt] || 0;
|
|
696
|
-
N += G;
|
|
697
|
-
}
|
|
698
|
-
if (At.current = N, K > x || et.current) {
|
|
699
|
-
const G = d.current.getBoundingClientRect().height;
|
|
700
|
-
let j = G;
|
|
701
|
-
G > x && (j = x - (V ? Q : Ot)), D ? d.current.style.height = `${G - Math.max(N, 0)}px` : d.current.style.height = `${Math.max(j, x - Q)}px`;
|
|
702
|
-
} else Re() || (d.current.style.height = `${bt.current}px`);
|
|
703
|
-
a && a.length > 0 && !et.current ? d.current.style.bottom = "0px" : d.current.style.bottom = `${Math.max(N, 0)}px`;
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
return (l = window.visualViewport) == null || l.addEventListener("resize", S), () => {
|
|
707
|
-
var T;
|
|
708
|
-
return (T = window.visualViewport) == null ? void 0 : T.removeEventListener("resize", S);
|
|
709
|
-
};
|
|
710
|
-
}, [
|
|
711
|
-
nt,
|
|
712
|
-
a,
|
|
713
|
-
it
|
|
714
|
-
]);
|
|
715
|
-
function lt(l) {
|
|
716
|
-
se(), p == null || p(), l || z(!1), setTimeout(() => {
|
|
717
|
-
a && It(a[0]);
|
|
718
|
-
}, O.DURATION * 1e3);
|
|
719
|
-
}
|
|
720
|
-
function Nt() {
|
|
721
|
-
if (!d.current) return;
|
|
722
|
-
const l = document.querySelector("[data-vaul-drawer-wrapper]"), S = wt(d.current, c);
|
|
723
|
-
$(d.current, {
|
|
724
|
-
transform: "translate3d(0, 0, 0)",
|
|
725
|
-
transition: `transform ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`
|
|
726
|
-
}), $(tt.current, {
|
|
727
|
-
transition: `opacity ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
|
|
728
|
-
opacity: "1"
|
|
729
|
-
}), v && S && S > 0 && H && $(l, {
|
|
730
|
-
borderRadius: `${Xt}px`,
|
|
731
|
-
overflow: "hidden",
|
|
732
|
-
...C(c) ? {
|
|
733
|
-
transform: `scale(${ft()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
|
|
734
|
-
transformOrigin: "top"
|
|
735
|
-
} : {
|
|
736
|
-
transform: `scale(${ft()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,
|
|
737
|
-
transformOrigin: "left"
|
|
738
|
-
},
|
|
739
|
-
transitionProperty: "transform, border-radius",
|
|
740
|
-
transitionDuration: `${O.DURATION}s`,
|
|
741
|
-
transitionTimingFunction: `cubic-bezier(${O.EASE.join(",")})`
|
|
742
|
-
}, !0);
|
|
743
|
-
}
|
|
744
|
-
function se() {
|
|
745
|
-
!X || !d.current || (d.current.classList.remove(Et), ot.current = !1, rt(!1), gt.current = /* @__PURE__ */ new Date());
|
|
746
|
-
}
|
|
747
|
-
function ue(l) {
|
|
748
|
-
if (!X || !d.current) return;
|
|
749
|
-
d.current.classList.remove(Et), ot.current = !1, rt(!1), gt.current = /* @__PURE__ */ new Date();
|
|
750
|
-
const S = wt(d.current, c);
|
|
751
|
-
if (!l || !Ht(l.target, !1) || !S || Number.isNaN(S) || ht.current === null) return;
|
|
752
|
-
const T = gt.current.getTime() - ht.current.getTime(), g = yt.current - (C(c) ? l.pageY : l.pageX), x = Math.abs(g) / T;
|
|
753
|
-
if (x > 0.05 && (Ct(!0), setTimeout(() => {
|
|
754
|
-
Ct(!1);
|
|
755
|
-
}, 200)), a) {
|
|
756
|
-
ne({
|
|
757
|
-
draggedDistance: g * (c === "bottom" || c === "right" ? 1 : -1),
|
|
758
|
-
closeDrawer: lt,
|
|
759
|
-
velocity: x,
|
|
760
|
-
dismissible: h
|
|
761
|
-
}), i == null || i(l, !0);
|
|
762
|
-
return;
|
|
763
|
-
}
|
|
764
|
-
if (c === "bottom" || c === "right" ? g > 0 : g < 0) {
|
|
765
|
-
Nt(), i == null || i(l, !0);
|
|
766
|
-
return;
|
|
767
|
-
}
|
|
768
|
-
if (x > qt) {
|
|
769
|
-
lt(), i == null || i(l, !1);
|
|
770
|
-
return;
|
|
771
|
-
}
|
|
772
|
-
var k;
|
|
773
|
-
const N = Math.min((k = d.current.getBoundingClientRect().height) != null ? k : 0, window.innerHeight);
|
|
774
|
-
var K;
|
|
775
|
-
const V = Math.min((K = d.current.getBoundingClientRect().width) != null ? K : 0, window.innerWidth), Q = c === "left" || c === "right";
|
|
776
|
-
if (Math.abs(S) >= (Q ? V : N) * R) {
|
|
777
|
-
lt(), i == null || i(l, !1);
|
|
778
|
-
return;
|
|
779
|
-
}
|
|
780
|
-
i == null || i(l, !0), Nt();
|
|
781
|
-
}
|
|
782
|
-
r.useEffect(() => (H && ($(document.documentElement, {
|
|
783
|
-
scrollBehavior: "auto"
|
|
784
|
-
}), dt.current = /* @__PURE__ */ new Date()), () => {
|
|
785
|
-
_e(document.documentElement, "scrollBehavior");
|
|
786
|
-
}), [
|
|
787
|
-
H
|
|
788
|
-
]);
|
|
789
|
-
function ce(l) {
|
|
790
|
-
const S = l ? (window.innerWidth - Z) / window.innerWidth : 1, T = l ? -Z : 0;
|
|
791
|
-
vt.current && window.clearTimeout(vt.current), $(d.current, {
|
|
792
|
-
transition: `transform ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
|
|
793
|
-
transform: C(c) ? `scale(${S}) translate3d(0, ${T}px, 0)` : `scale(${S}) translate3d(${T}px, 0, 0)`
|
|
794
|
-
}), !l && d.current && (vt.current = setTimeout(() => {
|
|
795
|
-
const g = wt(d.current, c);
|
|
796
|
-
$(d.current, {
|
|
797
|
-
transition: "none",
|
|
798
|
-
transform: C(c) ? `translate3d(0, ${g}px, 0)` : `translate3d(${g}px, 0, 0)`
|
|
799
|
-
});
|
|
800
|
-
}, 500));
|
|
801
|
-
}
|
|
802
|
-
function de(l, S) {
|
|
803
|
-
if (S < 0) return;
|
|
804
|
-
const T = (window.innerWidth - Z) / window.innerWidth, g = T + S * (1 - T), x = -Z + S * Z;
|
|
805
|
-
$(d.current, {
|
|
806
|
-
transform: C(c) ? `scale(${g}) translate3d(0, ${x}px, 0)` : `scale(${g}) translate3d(${x}px, 0, 0)`,
|
|
807
|
-
transition: "none"
|
|
808
|
-
});
|
|
809
|
-
}
|
|
810
|
-
function fe(l, S) {
|
|
811
|
-
const T = C(c) ? window.innerHeight : window.innerWidth, g = S ? (T - Z) / T : 1, x = S ? -Z : 0;
|
|
812
|
-
S && $(d.current, {
|
|
813
|
-
transition: `transform ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
|
|
814
|
-
transform: C(c) ? `scale(${g}) translate3d(0, ${x}px, 0)` : `scale(${g}) translate3d(${x}px, 0, 0)`
|
|
815
|
-
});
|
|
816
|
-
}
|
|
817
|
-
return r.useEffect(() => {
|
|
818
|
-
U || window.requestAnimationFrame(() => {
|
|
819
|
-
document.body.style.pointerEvents = "auto";
|
|
820
|
-
});
|
|
821
|
-
}, [
|
|
822
|
-
U
|
|
823
|
-
]), /* @__PURE__ */ r.createElement(me, {
|
|
824
|
-
defaultOpen: Y,
|
|
825
|
-
onOpenChange: (l) => {
|
|
826
|
-
!h && !l || (l ? q(!0) : lt(!0), z(l));
|
|
827
|
-
},
|
|
828
|
-
open: H
|
|
829
|
-
}, /* @__PURE__ */ r.createElement(Wt.Provider, {
|
|
830
|
-
value: {
|
|
831
|
-
activeSnapPoint: ee,
|
|
832
|
-
snapPoints: a,
|
|
833
|
-
setActiveSnapPoint: It,
|
|
834
|
-
drawerRef: d,
|
|
835
|
-
overlayRef: tt,
|
|
836
|
-
onOpenChange: n,
|
|
837
|
-
onPress: ie,
|
|
838
|
-
onRelease: ue,
|
|
839
|
-
onDrag: le,
|
|
840
|
-
dismissible: h,
|
|
841
|
-
shouldAnimate: $t,
|
|
842
|
-
handleOnly: f,
|
|
843
|
-
isOpen: H,
|
|
844
|
-
isDragging: X,
|
|
845
|
-
shouldFade: _t,
|
|
846
|
-
closeDrawer: lt,
|
|
847
|
-
onNestedDrag: de,
|
|
848
|
-
onNestedOpenChange: ce,
|
|
849
|
-
onNestedRelease: fe,
|
|
850
|
-
keyboardIsOpen: et,
|
|
851
|
-
modal: U,
|
|
852
|
-
snapPointsOffset: it,
|
|
853
|
-
activeSnapPointIndex: nt,
|
|
854
|
-
direction: c,
|
|
855
|
-
shouldScaleBackground: v,
|
|
856
|
-
setBackgroundColorOnScale: w,
|
|
857
|
-
noBodyStyles: A,
|
|
858
|
-
container: P,
|
|
859
|
-
autoFocus: W
|
|
860
|
-
}
|
|
861
|
-
}, e));
|
|
862
|
-
}
|
|
863
|
-
const Jt = /* @__PURE__ */ r.forwardRef(function({ ...t }, n) {
|
|
864
|
-
const { overlayRef: e, snapPoints: o, onRelease: i, shouldFade: a, isOpen: v, modal: w, shouldAnimate: R } = ct(), E = Yt(n, e), h = o && o.length > 0;
|
|
865
|
-
if (!w)
|
|
866
|
-
return null;
|
|
867
|
-
const f = r.useCallback((m) => i(m), [
|
|
868
|
-
i
|
|
869
|
-
]);
|
|
870
|
-
return /* @__PURE__ */ r.createElement(we, {
|
|
871
|
-
onMouseUp: f,
|
|
872
|
-
ref: E,
|
|
873
|
-
"data-vaul-overlay": "",
|
|
874
|
-
"data-vaul-snap-points": v && h ? "true" : "false",
|
|
875
|
-
"data-vaul-snap-points-overlay": v && a ? "true" : "false",
|
|
876
|
-
"data-vaul-animate": R != null && R.current ? "true" : "false",
|
|
877
|
-
...t
|
|
878
|
-
});
|
|
879
|
-
});
|
|
880
|
-
Jt.displayName = "Drawer.Overlay";
|
|
881
|
-
const Qt = /* @__PURE__ */ r.forwardRef(function({ onPointerDownOutside: t, style: n, onOpenAutoFocus: e, ...o }, i) {
|
|
882
|
-
const { drawerRef: a, onPress: v, onRelease: w, onDrag: R, keyboardIsOpen: E, snapPointsOffset: h, activeSnapPointIndex: f, modal: m, isOpen: B, direction: L, snapPoints: D, container: U, handleOnly: p, shouldAnimate: M, autoFocus: A } = ct(), [c, Y] = r.useState(!1), J = Yt(i, a), u = r.useRef(null), b = r.useRef(null), y = r.useRef(!1), _ = D && D.length > 0;
|
|
883
|
-
We();
|
|
884
|
-
const P = (s, F, H = 0) => {
|
|
885
|
-
if (y.current) return !0;
|
|
886
|
-
const z = Math.abs(s.y), I = Math.abs(s.x), q = I > z, X = [
|
|
887
|
-
"bottom",
|
|
888
|
-
"right"
|
|
889
|
-
].includes(F) ? 1 : -1;
|
|
890
|
-
if (F === "left" || F === "right") {
|
|
891
|
-
if (!(s.x * X < 0) && I >= 0 && I <= H)
|
|
892
|
-
return q;
|
|
893
|
-
} else if (!(s.y * X < 0) && z >= 0 && z <= H)
|
|
894
|
-
return !q;
|
|
895
|
-
return y.current = !0, !0;
|
|
896
|
-
};
|
|
897
|
-
r.useEffect(() => {
|
|
898
|
-
_ && window.requestAnimationFrame(() => {
|
|
899
|
-
Y(!0);
|
|
900
|
-
});
|
|
901
|
-
}, []);
|
|
902
|
-
function W(s) {
|
|
903
|
-
u.current = null, y.current = !1, w(s);
|
|
904
|
-
}
|
|
905
|
-
return /* @__PURE__ */ r.createElement(he, {
|
|
906
|
-
"data-vaul-drawer-direction": L,
|
|
907
|
-
"data-vaul-drawer": "",
|
|
908
|
-
"data-vaul-delayed-snap-points": c ? "true" : "false",
|
|
909
|
-
"data-vaul-snap-points": B && _ ? "true" : "false",
|
|
910
|
-
"data-vaul-custom-container": U ? "true" : "false",
|
|
911
|
-
"data-vaul-animate": M != null && M.current ? "true" : "false",
|
|
912
|
-
...o,
|
|
913
|
-
ref: J,
|
|
914
|
-
style: h && h.length > 0 ? {
|
|
915
|
-
"--snap-point-height": `${h[f ?? 0]}px`,
|
|
916
|
-
...n
|
|
917
|
-
} : n,
|
|
918
|
-
onPointerDown: (s) => {
|
|
919
|
-
p || (o.onPointerDown == null || o.onPointerDown.call(o, s), u.current = {
|
|
920
|
-
x: s.pageX,
|
|
921
|
-
y: s.pageY
|
|
922
|
-
}, v(s));
|
|
923
|
-
},
|
|
924
|
-
onOpenAutoFocus: (s) => {
|
|
925
|
-
e == null || e(s), A || s.preventDefault();
|
|
926
|
-
},
|
|
927
|
-
onPointerDownOutside: (s) => {
|
|
928
|
-
if (t == null || t(s), !m || s.defaultPrevented) {
|
|
929
|
-
s.preventDefault();
|
|
930
|
-
return;
|
|
931
|
-
}
|
|
932
|
-
E.current && (E.current = !1);
|
|
933
|
-
},
|
|
934
|
-
onFocusOutside: (s) => {
|
|
935
|
-
if (!m) {
|
|
936
|
-
s.preventDefault();
|
|
937
|
-
return;
|
|
938
|
-
}
|
|
939
|
-
},
|
|
940
|
-
onPointerMove: (s) => {
|
|
941
|
-
if (b.current = s, p || (o.onPointerMove == null || o.onPointerMove.call(o, s), !u.current)) return;
|
|
942
|
-
const F = s.pageY - u.current.y, H = s.pageX - u.current.x, z = s.pointerType === "touch" ? 10 : 2;
|
|
943
|
-
P({
|
|
944
|
-
x: H,
|
|
945
|
-
y: F
|
|
946
|
-
}, L, z) ? R(s) : (Math.abs(H) > z || Math.abs(F) > z) && (u.current = null);
|
|
947
|
-
},
|
|
948
|
-
onPointerUp: (s) => {
|
|
949
|
-
o.onPointerUp == null || o.onPointerUp.call(o, s), u.current = null, y.current = !1, w(s);
|
|
950
|
-
},
|
|
951
|
-
onPointerOut: (s) => {
|
|
952
|
-
o.onPointerOut == null || o.onPointerOut.call(o, s), W(b.current);
|
|
953
|
-
},
|
|
954
|
-
onContextMenu: (s) => {
|
|
955
|
-
o.onContextMenu == null || o.onContextMenu.call(o, s), b.current && W(b.current);
|
|
956
|
-
}
|
|
957
|
-
});
|
|
958
|
-
});
|
|
959
|
-
Qt.displayName = "Drawer.Content";
|
|
960
|
-
const Ye = 250, je = 120, qe = /* @__PURE__ */ r.forwardRef(function({ preventCycle: t = !1, children: n, ...e }, o) {
|
|
961
|
-
const { closeDrawer: i, isDragging: a, snapPoints: v, activeSnapPoint: w, setActiveSnapPoint: R, dismissible: E, handleOnly: h, isOpen: f, onPress: m, onDrag: B } = ct(), L = r.useRef(null), D = r.useRef(!1);
|
|
962
|
-
function U() {
|
|
963
|
-
if (D.current) {
|
|
964
|
-
A();
|
|
965
|
-
return;
|
|
966
|
-
}
|
|
967
|
-
window.setTimeout(() => {
|
|
968
|
-
p();
|
|
969
|
-
}, je);
|
|
970
|
-
}
|
|
971
|
-
function p() {
|
|
972
|
-
if (a || t || D.current) {
|
|
973
|
-
A();
|
|
974
|
-
return;
|
|
975
|
-
}
|
|
976
|
-
if (A(), !v || v.length === 0) {
|
|
977
|
-
E || i();
|
|
978
|
-
return;
|
|
979
|
-
}
|
|
980
|
-
if (w === v[v.length - 1] && E) {
|
|
981
|
-
i();
|
|
982
|
-
return;
|
|
983
|
-
}
|
|
984
|
-
const Y = v.findIndex((u) => u === w);
|
|
985
|
-
if (Y === -1) return;
|
|
986
|
-
const J = v[Y + 1];
|
|
987
|
-
R(J);
|
|
988
|
-
}
|
|
989
|
-
function M() {
|
|
990
|
-
L.current = window.setTimeout(() => {
|
|
991
|
-
D.current = !0;
|
|
992
|
-
}, Ye);
|
|
993
|
-
}
|
|
994
|
-
function A() {
|
|
995
|
-
L.current && window.clearTimeout(L.current), D.current = !1;
|
|
996
|
-
}
|
|
997
|
-
return /* @__PURE__ */ r.createElement("div", {
|
|
998
|
-
onClick: U,
|
|
999
|
-
onPointerCancel: A,
|
|
1000
|
-
onPointerDown: (c) => {
|
|
1001
|
-
h && m(c), M();
|
|
1002
|
-
},
|
|
1003
|
-
onPointerMove: (c) => {
|
|
1004
|
-
h && B(c);
|
|
1005
|
-
},
|
|
1006
|
-
// onPointerUp is already handled by the content component
|
|
1007
|
-
ref: o,
|
|
1008
|
-
"data-vaul-drawer-visible": f ? "true" : "false",
|
|
1009
|
-
"data-vaul-handle": "",
|
|
1010
|
-
"aria-hidden": "true",
|
|
1011
|
-
...e
|
|
1012
|
-
}, /* @__PURE__ */ r.createElement("span", {
|
|
1013
|
-
"data-vaul-handle-hitarea": "",
|
|
1014
|
-
"aria-hidden": "true"
|
|
1015
|
-
}, n));
|
|
1016
|
-
});
|
|
1017
|
-
qe.displayName = "Drawer.Handle";
|
|
1018
|
-
function Xe(t) {
|
|
1019
|
-
const n = ct(), { container: e = n.container, ...o } = t;
|
|
1020
|
-
return /* @__PURE__ */ r.createElement(pe, {
|
|
1021
|
-
container: e,
|
|
1022
|
-
...o
|
|
1023
|
-
});
|
|
1024
|
-
}
|
|
1025
|
-
const Je = {
|
|
1026
|
-
Root: Ve,
|
|
1027
|
-
Content: Qt,
|
|
1028
|
-
Overlay: Jt,
|
|
1029
|
-
Portal: Xe
|
|
1030
|
-
};
|
|
1031
|
-
export {
|
|
1032
|
-
Qt as Content,
|
|
1033
|
-
Je as Drawer,
|
|
1034
|
-
qe as Handle,
|
|
1035
|
-
Jt as Overlay,
|
|
1036
|
-
Xe as Portal,
|
|
1037
|
-
Ve as Root
|
|
1038
|
-
};
|