mainstack-design-system 0.7.44 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +702 -15
- package/dist/FormCountryOptionsList-BTIDLbxV.cjs +8 -0
- package/dist/FormCountryOptionsList-BWbi-SZ_.js +1790 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/clsx-C11secjj.cjs +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/Accordion/AccordionContent.js +1 -0
- package/dist/components/Accordion/AccordionHeader.js +1 -0
- package/dist/components/Accordion/AccordionItem.js +1 -0
- package/dist/components/Accordion/AccordionRoot.js +1 -0
- package/dist/components/Accordion/AccordionSubtitle.js +1 -0
- package/dist/components/Accordion/AccordionTitle.js +1 -0
- package/dist/components/Accordion/AccordionTrigger.js +1 -0
- package/dist/components/Accordion/index.js +1 -0
- package/dist/components/Avatar/Avatar.js +2 -0
- package/dist/components/Avatar/avatarVariants.js +1 -0
- package/dist/components/Avatar/getAvatarSize.js +1 -0
- package/dist/components/Avatar/index.js +1 -0
- package/dist/components/Banner/BannerAction.js +1 -0
- package/dist/components/Banner/BannerContent.js +1 -0
- package/dist/components/Banner/BannerHeader.js +1 -0
- package/dist/components/Banner/BannerIcon.js +1 -0
- package/dist/components/Banner/BannerRoot.js +1 -0
- package/dist/components/Banner/BannerText.js +1 -0
- package/dist/components/Banner/bannerVariants.js +1 -0
- package/dist/components/Banner/index.js +1 -0
- package/dist/components/Button/Button.js +1 -0
- package/dist/components/Button/ButtonIcon.js +1 -0
- package/dist/components/Button/ButtonLabel.js +1 -0
- package/dist/components/Button/ButtonRoot.js +1 -0
- package/dist/components/Button/buttonVariants.js +87 -0
- package/dist/components/Button/index.js +1 -0
- package/dist/components/Checkbox/CheckboxIndicator.js +2 -0
- package/dist/components/Checkbox/CheckboxLabel.js +1 -0
- package/dist/components/Checkbox/CheckboxRoot.js +1 -0
- package/dist/components/Checkbox/CheckboxSubtext.js +1 -0
- package/dist/components/Checkbox/CheckboxTitle.js +1 -0
- package/dist/components/Checkbox/index.js +1 -0
- package/dist/components/Chip/Chip.js +1 -0
- package/dist/components/Chip/ChipLabel.js +1 -0
- package/dist/components/Chip/ChipRoot.js +1 -0
- package/dist/components/Chip/ChipSlot.js +1 -0
- package/dist/components/Chip/chipVariants.js +1 -0
- package/dist/components/Chip/index.js +1 -0
- package/dist/components/Form/FormCharacterCounter.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountryOptions.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountryOptionsList.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountryOptionsSearchField.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountrySelect.js +1 -0
- package/dist/components/Form/FormCountrySelect/constant.js +1 -0
- package/dist/components/Form/FormCountrySelect/getCountryFlagComp.js +1 -0
- package/dist/components/Form/FormItem.js +1 -0
- package/dist/components/Form/FormLabel.js +1 -0
- package/dist/components/Form/FormStatus/FormErrorStatus.js +1 -0
- package/dist/components/Form/FormStatus/FormHintStatus.js +1 -0
- package/dist/components/Form/FormStatus/FormStatusRoot.js +1 -0
- package/dist/components/Form/FormStatus/FormStatusText.js +1 -0
- package/dist/components/Form/FormStatus/FormSuccessStatus.js +1 -0
- package/dist/components/Form/index.js +1 -0
- package/dist/components/Icons/AccountBalanceIcon.js +1 -0
- package/dist/components/Icons/AccountBalanceWalletIcon.js +1 -0
- package/dist/components/Icons/AccountCircleIcon.js +1 -0
- package/dist/components/Icons/AdGroupIcon.js +1 -0
- package/dist/components/Icons/AdaptiveAudioMicIcon.js +1 -0
- package/dist/components/Icons/AddAPhotoIcon.js +1 -0
- package/dist/components/Icons/AddBusinessIcon.js +1 -0
- package/dist/components/Icons/AddCircleIcon.js +1 -0
- package/dist/components/Icons/AddIcon.js +1 -0
- package/dist/components/Icons/AddLinkIcon.js +1 -0
- package/dist/components/Icons/AddPhotoAlternateIcon.js +1 -0
- package/dist/components/Icons/AddShoppingCartIcon.js +1 -0
- package/dist/components/Icons/AdminPanelSettingsIcon.js +1 -0
- package/dist/components/Icons/AdsClickIcon.js +1 -0
- package/dist/components/Icons/AlarmIcon.js +1 -0
- package/dist/components/Icons/AllInboxIcon.js +1 -0
- package/dist/components/Icons/AnimationIcon.js +1 -0
- package/dist/components/Icons/ApartmentIcon.js +1 -0
- package/dist/components/Icons/AppsIcon.js +1 -0
- package/dist/components/Icons/ArchiveIcon.js +1 -0
- package/dist/components/Icons/ArrowBackIcon.js +1 -0
- package/dist/components/Icons/ArrowCircleDownIcon.js +1 -0
- package/dist/components/Icons/ArrowCircleUpIcon.js +1 -0
- package/dist/components/Icons/ArrowDownwardIcon.js +1 -0
- package/dist/components/Icons/ArrowDropDownIcon.js +1 -0
- package/dist/components/Icons/ArrowDropUpIcon.js +1 -0
- package/dist/components/Icons/ArrowForwardIcon.js +1 -0
- package/dist/components/Icons/ArrowUpwardIcon.js +1 -0
- package/dist/components/Icons/ArtTrackIcon.js +1 -0
- package/dist/components/Icons/ArticleIcon.js +1 -0
- package/dist/components/Icons/AttachMoneyIcon.js +1 -0
- package/dist/components/Icons/AttachmentIcon.js +1 -0
- package/dist/components/Icons/AudioFileIcon.js +1 -0
- package/dist/components/Icons/AutoAwesomeMosaic.js +1 -0
- package/dist/components/Icons/AvatarIcon.js +1 -0
- package/dist/components/Icons/AwardStarIcon.js +1 -0
- package/dist/components/Icons/BarChartIcon.js +1 -0
- package/dist/components/Icons/BarcodeScannerIcon.js +1 -0
- package/dist/components/Icons/BlockIcon.js +1 -0
- package/dist/components/Icons/BoltIcon.js +1 -0
- package/dist/components/Icons/Book5Icon.js +1 -0
- package/dist/components/Icons/BookOnlineIcon.js +1 -0
- package/dist/components/Icons/BugReportIcon.js +1 -0
- package/dist/components/Icons/BusinessCenterIcon.js +1 -0
- package/dist/components/Icons/CalendarAddOnIcon.js +1 -0
- package/dist/components/Icons/CalendarClockIcon.js +1 -0
- package/dist/components/Icons/CalendarMonthIcon.js +1 -0
- package/dist/components/Icons/CalendarTodayIcon.js +1 -0
- package/dist/components/Icons/CallIcon.js +1 -0
- package/dist/components/Icons/CallMadeIcon.js +1 -0
- package/dist/components/Icons/CallMissedIcon.js +1 -0
- package/dist/components/Icons/CallMissedOutgoingIcon.js +1 -0
- package/dist/components/Icons/CallReceivedIcon.js +1 -0
- package/dist/components/Icons/CampaignIcon.js +1 -0
- package/dist/components/Icons/CancelIcon.js +1 -0
- package/dist/components/Icons/CancelScheduleSendIcon.js +1 -0
- package/dist/components/Icons/CaptivePortalIcon.js +1 -0
- package/dist/components/Icons/CardLayoutIcon.js +1 -0
- package/dist/components/Icons/CasesIcon.js +1 -0
- package/dist/components/Icons/CategoryIcon.js +1 -0
- package/dist/components/Icons/ChairIcon.js +1 -0
- package/dist/components/Icons/ChangeCircleIcon.js +1 -0
- package/dist/components/Icons/ChatBubbleIcon.js +1 -0
- package/dist/components/Icons/ChatIcon.js +1 -0
- package/dist/components/Icons/CheckBoxIcon.js +1 -0
- package/dist/components/Icons/CheckBoxOutlineBlankIcon.js +1 -0
- package/dist/components/Icons/CheckCircleIcon.js +1 -0
- package/dist/components/Icons/CheckIcon.js +1 -0
- package/dist/components/Icons/ChevronLeftIcon.js +1 -0
- package/dist/components/Icons/ChevronRightIcon.js +1 -0
- package/dist/components/Icons/ClinicalNoteIcon.js +1 -0
- package/dist/components/Icons/CloseIcon.js +1 -0
- package/dist/components/Icons/CloudUploadIcon.js +1 -0
- package/dist/components/Icons/CodeIcon.js +1 -0
- package/dist/components/Icons/CoffeeIcon.js +1 -0
- package/dist/components/Icons/CollectionsBookmarkIcon.js +1 -0
- package/dist/components/Icons/ColorPickerIcon.js +1 -0
- package/dist/components/Icons/CompareArrowsIcon.js +1 -0
- package/dist/components/Icons/ConfirmationNumberIcon.js +1 -0
- package/dist/components/Icons/ContactMailIcon.js +1 -0
- package/dist/components/Icons/ContactPageIcon.js +1 -0
- package/dist/components/Icons/ContactPhoneIcon.js +1 -0
- package/dist/components/Icons/ContactSupportIcon.js +1 -0
- package/dist/components/Icons/ContactsIcon.js +1 -0
- package/dist/components/Icons/ContentCopyIcon.js +1 -0
- package/dist/components/Icons/CreditCardGearIcon.js +1 -0
- package/dist/components/Icons/CreditCardIcon.js +1 -0
- package/dist/components/Icons/CsvIcon.js +1 -0
- package/dist/components/Icons/CurrencyExchangeIcon.js +1 -0
- package/dist/components/Icons/DNSIcon.js +1 -0
- package/dist/components/Icons/DangerousIcon.js +1 -0
- package/dist/components/Icons/DarkModeIcon.js +1 -0
- package/dist/components/Icons/DashboardIcon.js +1 -0
- package/dist/components/Icons/DataCheckIcon.js +1 -0
- package/dist/components/Icons/DataObjectIcon.js +1 -0
- package/dist/components/Icons/DatabaseIcon.js +1 -0
- package/dist/components/Icons/DehazeIcon.js +1 -0
- package/dist/components/Icons/DeployedCodeAccountIcon.js +1 -0
- package/dist/components/Icons/DescriptionIcon.js +1 -0
- package/dist/components/Icons/DesktopMacIcon.js +1 -0
- package/dist/components/Icons/DevicesIcon.js +1 -0
- package/dist/components/Icons/DiamondIcon.js +1 -0
- package/dist/components/Icons/DirectionsWalkIcon.js +1 -0
- package/dist/components/Icons/Diversity1Icon.js +1 -0
- package/dist/components/Icons/Diversity2Icon.js +1 -0
- package/dist/components/Icons/Diversity3Icon.js +1 -0
- package/dist/components/Icons/DoNotDisturbOnIcon.js +1 -0
- package/dist/components/Icons/DomainAddIcon.js +1 -0
- package/dist/components/Icons/DomainIcon.js +1 -0
- package/dist/components/Icons/DomainVerificationIcon.js +1 -0
- package/dist/components/Icons/DownloadIcon.js +1 -0
- package/dist/components/Icons/DraftsIcon.js +1 -0
- package/dist/components/Icons/DragHandleIcon.js +1 -0
- package/dist/components/Icons/DragIndicatorIcon.js +1 -0
- package/dist/components/Icons/DuoIcon.js +1 -0
- package/dist/components/Icons/EarlyOnIcon.js +1 -0
- package/dist/components/Icons/EditIcon.js +1 -0
- package/dist/components/Icons/EmojiFoodBeverageIcon.js +1 -0
- package/dist/components/Icons/EmojiIcon.js +1 -0
- package/dist/components/Icons/EncryptedIcon.js +1 -0
- package/dist/components/Icons/EnterpriseIcon.js +1 -0
- package/dist/components/Icons/EqualIcon.js +1 -0
- package/dist/components/Icons/ErrorIcon.js +1 -0
- package/dist/components/Icons/EventBusyIcon.js +1 -0
- package/dist/components/Icons/EventIcon.js +1 -0
- package/dist/components/Icons/ExpandAllIcon.js +1 -0
- package/dist/components/Icons/FastForwardIcon.js +1 -0
- package/dist/components/Icons/FastRewindIcon.js +1 -0
- package/dist/components/Icons/FavoriteIcon.js +1 -0
- package/dist/components/Icons/FeaturedSeasonalAndGiftsIcon.js +1 -0
- package/dist/components/Icons/FeedIcon.js +1 -0
- package/dist/components/Icons/FilePresentIcon.js +1 -0
- package/dist/components/Icons/FilterListIcon.js +1 -0
- package/dist/components/Icons/FingerPrintIcon.js +1 -0
- package/dist/components/Icons/FlagIcon.js +1 -0
- package/dist/components/Icons/FolderCopyIcon.js +1 -0
- package/dist/components/Icons/FolderIcon.js +1 -0
- package/dist/components/Icons/FolderZipIcon.js +1 -0
- package/dist/components/Icons/FootPrintIcon.js +1 -0
- package/dist/components/Icons/FormatAlignCenterIcon.js +1 -0
- package/dist/components/Icons/FormatAlignJustifyIcon.js +1 -0
- package/dist/components/Icons/FormatAlignLeftIcon.js +1 -0
- package/dist/components/Icons/FormatAlignRightIcon.js +1 -0
- package/dist/components/Icons/FormatBoldIcon.js +1 -0
- package/dist/components/Icons/FormatItalicIcon.js +1 -0
- package/dist/components/Icons/FormatListBulletedIcon.js +1 -0
- package/dist/components/Icons/FormatListNumberedIcon.js +1 -0
- package/dist/components/Icons/FormatSizeIcon.js +1 -0
- package/dist/components/Icons/FormatUnderlinedIcon.js +1 -0
- package/dist/components/Icons/ForumIcon.js +1 -0
- package/dist/components/Icons/ForwardToInboxIcon.js +1 -0
- package/dist/components/Icons/FullScreenIcon.js +1 -0
- package/dist/components/Icons/GalleryThumbnailIcon.js +1 -0
- package/dist/components/Icons/GppBadIcon.js +1 -0
- package/dist/components/Icons/GppMaybeIcon.js +1 -0
- package/dist/components/Icons/GridViewIcon.js +1 -0
- package/dist/components/Icons/GroupIcon.js +1 -0
- package/dist/components/Icons/GroupsTwoIcon.js +1 -0
- package/dist/components/Icons/HandShakeIcon.js +1 -0
- package/dist/components/Icons/HeadphonesIcon.js +1 -0
- package/dist/components/Icons/HelpIcon.js +1 -0
- package/dist/components/Icons/HomeIcon.js +1 -0
- package/dist/components/Icons/HomePinIcon.js +1 -0
- package/dist/components/Icons/HomeRepairServiceIcon.js +1 -0
- package/dist/components/Icons/HourGlassTopIcon.js +1 -0
- package/dist/components/Icons/HourglassEmptyIcon.js +1 -0
- package/dist/components/Icons/HubIcon.js +1 -0
- package/dist/components/Icons/IFrameIcon.js +1 -0
- package/dist/components/Icons/IconWrapper.js +1 -0
- package/dist/components/Icons/IdCardIcon.js +1 -0
- package/dist/components/Icons/IndeterminateCheckBoxIcon.js +1 -0
- package/dist/components/Icons/InfoIcon.js +1 -0
- package/dist/components/Icons/InsertChartIcon.js +1 -0
- package/dist/components/Icons/IntegrationInstructionsIcon.js +1 -0
- package/dist/components/Icons/Inventory2Icon.js +1 -0
- package/dist/components/Icons/IosShareIcon.js +1 -0
- package/dist/components/Icons/KeepIcon.js +1 -0
- package/dist/components/Icons/KeyIcon.js +1 -0
- package/dist/components/Icons/KeyOffIcon.js +1 -0
- package/dist/components/Icons/KeyboardArrowDownIcon.js +1 -0
- package/dist/components/Icons/KeyboardArrowUpIcon.js +1 -0
- package/dist/components/Icons/KeyboardBackSpaceIcon.js +1 -0
- package/dist/components/Icons/KeyboardDoubleArrowDownIcon.js +1 -0
- package/dist/components/Icons/LabProfileIcon.js +1 -0
- package/dist/components/Icons/LabelIcon.js +1 -0
- package/dist/components/Icons/LabelOffIcon.js +1 -0
- package/dist/components/Icons/LanguageIcon.js +1 -0
- package/dist/components/Icons/LeftPanelCloseIcon.js +1 -0
- package/dist/components/Icons/LeftPanelOpenIcon.js +1 -0
- package/dist/components/Icons/LibraryMusicIcon.js +1 -0
- package/dist/components/Icons/LinkIcon.js +1 -0
- package/dist/components/Icons/LinkOffIcon.js +1 -0
- package/dist/components/Icons/LocalActivityIcon.js +1 -0
- package/dist/components/Icons/LocalFloristIcon.js +1 -0
- package/dist/components/Icons/LocalLibraryIcon.js +1 -0
- package/dist/components/Icons/LocationOnIcon.js +1 -0
- package/dist/components/Icons/LockIcon.js +1 -0
- package/dist/components/Icons/LockOpenIcon.js +1 -0
- package/dist/components/Icons/LoginIcon.js +1 -0
- package/dist/components/Icons/LogoutIcon.js +1 -0
- package/dist/components/Icons/MailIcon.js +1 -0
- package/dist/components/Icons/ManageAccountsIcon.js +1 -0
- package/dist/components/Icons/MarkUnreadChatAltIcon.js +1 -0
- package/dist/components/Icons/MediaLinkIcon.js +1 -0
- package/dist/components/Icons/MenuOpenIcon.js +1 -0
- package/dist/components/Icons/MetabolismIcon.js +1 -0
- package/dist/components/Icons/MilitaryTechIcon.js +1 -0
- package/dist/components/Icons/MoneyBagIcon.js +1 -0
- package/dist/components/Icons/MonitorIcon.js +1 -0
- package/dist/components/Icons/MonitoringIcon.js +1 -0
- package/dist/components/Icons/MoreHorizIcon.js +1 -0
- package/dist/components/Icons/MoreVertIcon.js +1 -0
- package/dist/components/Icons/MotionPhotosPausedIcon.js +1 -0
- package/dist/components/Icons/NotificationsIcon.js +1 -0
- package/dist/components/Icons/OpenInNewIcon.js +1 -0
- package/dist/components/Icons/Package2Icon.js +1 -0
- package/dist/components/Icons/PageviewIcon.js +1 -0
- package/dist/components/Icons/PaidIcon.js +1 -0
- package/dist/components/Icons/PaletteIcon.js +1 -0
- package/dist/components/Icons/PatientListIcon.js +1 -0
- package/dist/components/Icons/PauseIcon.js +1 -0
- package/dist/components/Icons/PaymentsIcon.js +1 -0
- package/dist/components/Icons/PendingActionsIcon.js +1 -0
- package/dist/components/Icons/PercentIcon.js +1 -0
- package/dist/components/Icons/PermMediaIcon.js +1 -0
- package/dist/components/Icons/PersonAddIcon.js +1 -0
- package/dist/components/Icons/PersonBookIcon.js +1 -0
- package/dist/components/Icons/PersonIcon.js +1 -0
- package/dist/components/Icons/PhotoCameraIcon.js +1 -0
- package/dist/components/Icons/PhotoIcon.js +1 -0
- package/dist/components/Icons/PhotoLibraryIcon.js +1 -0
- package/dist/components/Icons/PictureAsPdfIcon.js +1 -0
- package/dist/components/Icons/PlayArrowIcon.js +1 -0
- package/dist/components/Icons/PlayCircleIcon.js +1 -0
- package/dist/components/Icons/PolicyIcon.js +1 -0
- package/dist/components/Icons/PowerSettingsCircleIcon.js +1 -0
- package/dist/components/Icons/PowerSettingsNewIcon.js +1 -0
- package/dist/components/Icons/PreviewIcon.js +1 -0
- package/dist/components/Icons/PriorityHighIcon.js +1 -0
- package/dist/components/Icons/PsychologyAltIcon.js +1 -0
- package/dist/components/Icons/PublicIcon.js +1 -0
- package/dist/components/Icons/PublishIcon.js +1 -0
- package/dist/components/Icons/QRCode2Icon.js +1 -0
- package/dist/components/Icons/QuestionMarkIcon.js +1 -0
- package/dist/components/Icons/QuizIcon.js +1 -0
- package/dist/components/Icons/RadioButtonCheckedIcon.js +1 -0
- package/dist/components/Icons/RadioButtonUncheckedIcon.js +1 -0
- package/dist/components/Icons/RateReviewIcon.js +1 -0
- package/dist/components/Icons/ReceiptLongIcon.js +1 -0
- package/dist/components/Icons/RecordVoiceOverIcon.js +1 -0
- package/dist/components/Icons/RedeemIcon.js +1 -0
- package/dist/components/Icons/RedoIcon.js +1 -0
- package/dist/components/Icons/RemoveIcon.js +1 -0
- package/dist/components/Icons/RemoveRoadIcon.js +1 -0
- package/dist/components/Icons/RequestQuoteIcon.js +1 -0
- package/dist/components/Icons/ReviewIcon.js +1 -0
- package/dist/components/Icons/SavingsIcon.js +1 -0
- package/dist/components/Icons/ScheduleIcon.js +1 -0
- package/dist/components/Icons/ScheduleSendIcon.js +1 -0
- package/dist/components/Icons/SearchIcon.js +1 -0
- package/dist/components/Icons/SellIcon.js +1 -0
- package/dist/components/Icons/SendIcon.js +1 -0
- package/dist/components/Icons/SettingsIcon.js +1 -0
- package/dist/components/Icons/ShareIcon.js +1 -0
- package/dist/components/Icons/ShoppingCartIcon.js +1 -0
- package/dist/components/Icons/ShoppingModeIcon.js +1 -0
- package/dist/components/Icons/ShuffleIcon.js +1 -0
- package/dist/components/Icons/SocialLeaderBoardIcon.js +1 -0
- package/dist/components/Icons/Speed15xIcon.js +1 -0
- package/dist/components/Icons/Speed1xIcon.js +1 -0
- package/dist/components/Icons/Speed2xIcon.js +1 -0
- package/dist/components/Icons/StarHalfIcon.js +1 -0
- package/dist/components/Icons/StarIcon.js +1 -0
- package/dist/components/Icons/StorefrontIcon.js +1 -0
- package/dist/components/Icons/StrikethroughSIcon.js +1 -0
- package/dist/components/Icons/SubscriptionsIcon.js +1 -0
- package/dist/components/Icons/SupervisorAccountIcon.js +1 -0
- package/dist/components/Icons/SwitchAccountIcon.js +1 -0
- package/dist/components/Icons/SwitchesIcon.js +1 -0
- package/dist/components/Icons/SyncSavedLocallyIcon.js +1 -0
- package/dist/components/Icons/TabletIcon.js +1 -0
- package/dist/components/Icons/ThumbDownIcon.js +1 -0
- package/dist/components/Icons/ThumbUpIcon.js +1 -0
- package/dist/components/Icons/TocIcon.js +1 -0
- package/dist/components/Icons/TrashDeleteBinIcon.js +1 -0
- package/dist/components/Icons/TrendingUpIcon.js +1 -0
- package/dist/components/Icons/TrophyIcon.js +1 -0
- package/dist/components/Icons/UndoIcon.js +1 -0
- package/dist/components/Icons/UnfoldMoreIcon.js +1 -0
- package/dist/components/Icons/UnsubscribeIcon.js +1 -0
- package/dist/components/Icons/UploadIcon.js +1 -0
- package/dist/components/Icons/VerifiedIcon.js +1 -0
- package/dist/components/Icons/VideoCamIcon.js +1 -0
- package/dist/components/Icons/VideoFileIcon.js +1 -0
- package/dist/components/Icons/ViewAgendaIcon.js +1 -0
- package/dist/components/Icons/ViewArrayIcon.js +1 -0
- package/dist/components/Icons/ViewCarouselIcon.js +1 -0
- package/dist/components/Icons/ViewCozyIcon.js +1 -0
- package/dist/components/Icons/ViewModuleIcon.js +1 -0
- package/dist/components/Icons/VisibilityIcon.js +1 -0
- package/dist/components/Icons/VisibilityOffIcon.js +1 -0
- package/dist/components/Icons/VolumeUpIcon.js +1 -0
- package/dist/components/Icons/VolunteerActivismIcon.js +1 -0
- package/dist/components/Icons/WandStarsGradientIcon.js +1 -0
- package/dist/components/Icons/WandStarsIcon.js +1 -0
- package/dist/components/Icons/WarningIcon.js +1 -0
- package/dist/components/Icons/WbSunnyIcon.js +1 -0
- package/dist/components/Icons/WebAssetIcon.js +1 -0
- package/dist/components/Icons/WebTrafficIcon.js +1 -0
- package/dist/components/Icons/WebhookIcon.js +1 -0
- package/dist/components/Icons/WidgetsIcon.js +1 -0
- package/dist/components/Icons/WorkHistoryIcon.js +1 -0
- package/dist/components/Icons/WorkIcon.js +1 -0
- package/dist/components/Icons/enums.js +1 -0
- package/dist/components/Icons/icons.js +1 -0
- package/dist/components/Icons/index.js +1 -0
- package/dist/components/Icons/types.js +1 -0
- package/dist/components/Input/Input.js +1 -0
- package/dist/components/Input/InputField.js +1 -0
- package/dist/components/Input/InputRoot.js +1 -0
- package/dist/components/Input/index.js +1 -0
- package/dist/components/PasswordField/PasswordField.js +2 -0
- package/dist/components/PasswordField/index.js +1 -0
- package/dist/components/PhoneNumber/PhoneNumberDigitField.js +3 -0
- package/dist/components/PhoneNumber/PhoneNumberFields.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberFlagField.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberInput.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberOptions.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberOptionsList.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberOptionsSearchField.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberPortal.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberRoot.js +2 -0
- package/dist/components/PhoneNumber/index.js +1 -0
- package/dist/components/PhoneNumber/phoneNumberContext.js +1 -0
- package/dist/components/PriceField/PriceFieldDigitField.js +2 -0
- package/dist/components/PriceField/PriceFieldFields.js +2 -0
- package/dist/components/PriceField/PriceFieldFlagField.js +2 -0
- package/dist/components/PriceField/PriceFieldInput.js +2 -0
- package/dist/components/PriceField/PriceFieldOptions.js +2 -0
- package/dist/components/PriceField/PriceFieldOptionsList.js +2 -0
- package/dist/components/PriceField/PriceFieldOptionsSearchField.js +2 -0
- package/dist/components/PriceField/PriceFieldPortal.js +2 -0
- package/dist/components/PriceField/PriceFieldRoot.js +2 -0
- package/dist/components/PriceField/index.js +1 -0
- package/dist/components/PriceField/priceFieldContext.js +1 -0
- package/dist/components/Provider/MainstackDesignSystemProvider.js +1 -0
- package/dist/components/Provider/index.js +1 -0
- package/dist/components/Provider/providerContext.js +1 -0
- package/dist/components/Provider/useMainstackDesignSystemTheme.js +1 -0
- package/dist/components/Radio/RadioItem.js +1 -0
- package/dist/components/Radio/RadioItemIndicator.js +1 -0
- package/dist/components/Radio/RadioItemLabel.js +1 -0
- package/dist/components/Radio/RadioItemSubtext.js +1 -0
- package/dist/components/Radio/RadioItemTitle.js +1 -0
- package/dist/components/Radio/RadioRoot.js +1 -0
- package/dist/components/Radio/index.js +1 -0
- package/dist/components/SearchField/SearchField.js +2 -0
- package/dist/components/SearchField/index.js +1 -0
- package/dist/components/Select/MultiSelect.js +2 -0
- package/dist/components/Select/Select.js +2 -0
- package/dist/components/Select/SelectInputField.js +2 -0
- package/dist/components/Select/SelectOptionInputPreview.js +2 -0
- package/dist/components/Select/SelectOptionItem.js +2 -0
- package/dist/components/Select/SelectOptionItemWithCheckbox.js +2 -0
- package/dist/components/Select/SelectOptions.js +2 -0
- package/dist/components/Select/SelectPortal.js +2 -0
- package/dist/components/Select/SelectRoot.js +2 -0
- package/dist/components/Select/index.js +1 -0
- package/dist/components/Select/selectContext.js +1 -0
- package/dist/components/Select/utils.js +1 -0
- package/dist/components/Tab/TabsContent.js +1 -0
- package/dist/components/Tab/TabsContext.js +1 -0
- package/dist/components/Tab/TabsList.js +1 -0
- package/dist/components/Tab/TabsRoot.js +1 -0
- package/dist/components/Tab/TabsTrigger.js +1 -0
- package/dist/components/Tab/index.js +1 -0
- package/dist/components/Tab/tabsVariants.js +1 -0
- package/dist/components/Tag/Tag.js +1 -0
- package/dist/components/Tag/TagIcon.js +1 -0
- package/dist/components/Tag/TagLabel.js +1 -0
- package/dist/components/Tag/TagRoot.js +1 -0
- package/dist/components/Tag/index.js +1 -0
- package/dist/components/Tag/tagVariants.js +1 -0
- package/dist/components/TextEditor/TextEditorField.js +4 -0
- package/dist/components/TextEditor/TextEditorInput.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/BoldMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/CodeMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/ColorPickerMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/GenerateWithAiMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/ImageUploadMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/ItalicMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/LinkMenu.js +6 -0
- package/dist/components/TextEditor/TextEditorMenuBar/OrderedListMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/StrikethroughMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextAlignMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextEditorMenuAction.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextEditorMenuBar.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextSizesMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/UnderlineMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/UnorderedListMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorRoot.js +42 -0
- package/dist/components/TextEditor/index.js +1 -0
- package/dist/components/TextEditor/textEditorContext.js +1 -0
- package/dist/components/Textarea/Textarea.js +1 -0
- package/dist/components/Textarea/TextareaField.js +1 -0
- package/dist/components/Textarea/TextareaRoot.js +1 -0
- package/dist/components/Textarea/index.js +1 -0
- package/dist/components/Tile/TileCheckbox.js +1 -0
- package/dist/components/Tile/TileContent.js +1 -0
- package/dist/components/Tile/TileDescription.js +1 -0
- package/dist/components/Tile/TileHeader.js +1 -0
- package/dist/components/Tile/TileMedia.js +3 -0
- package/dist/components/Tile/TileRoot.js +2 -0
- package/dist/components/Tile/TileTitle.js +1 -0
- package/dist/components/Tile/index.js +1 -0
- package/dist/components/Tile/tileVariants.js +1 -0
- package/dist/components/Toggle/Toggle.js +1 -0
- package/dist/components/Toggle/ToggleLabel.js +1 -0
- package/dist/components/Toggle/ToggleRoot.js +1 -0
- package/dist/components/Toggle/ToggleSubtext.js +1 -0
- package/dist/components/Toggle/ToggleSwitch.js +2 -0
- package/dist/components/Toggle/ToggleTitle.js +1 -0
- package/dist/components/Toggle/index.js +1 -0
- package/dist/components/Toggle/toggleVariants.js +1 -0
- package/dist/components/Tooltip/TooltipArrow.js +1 -0
- package/dist/components/Tooltip/TooltipBody.js +1 -0
- package/dist/components/Tooltip/TooltipContent.js +1 -0
- package/dist/components/Tooltip/TooltipContext.js +1 -0
- package/dist/components/Tooltip/TooltipFooter.js +1 -0
- package/dist/components/Tooltip/TooltipHeader.js +1 -0
- package/dist/components/Tooltip/TooltipRoot.js +2 -0
- package/dist/components/Tooltip/TooltipTitle.js +1 -0
- package/dist/components/Tooltip/TooltipTrigger.js +1 -0
- package/dist/components/Tooltip/index.js +1 -0
- package/dist/components/Tooltip/useTooltipContext.js +1 -0
- package/dist/components/Typography/BodyText/BodyText.js +1 -0
- package/dist/components/Typography/BodyText/bodyTextVariants.js +1 -0
- package/dist/components/Typography/BodyText/index.js +1 -0
- package/dist/components/Typography/DisplayText/DisplayText.js +1 -0
- package/dist/components/Typography/DisplayText/displayTextVariants.js +1 -0
- package/dist/components/Typography/DisplayText/index.js +1 -0
- package/dist/components/Typography/HeadlineText/HeadlineText.js +1 -0
- package/dist/components/Typography/HeadlineText/headlineTextVariants.js +1 -0
- package/dist/components/Typography/HeadlineText/index.js +1 -0
- package/dist/en.json-BPy-6DYI.cjs +1 -0
- package/dist/en.json-VbJG9vrN.js +263 -0
- package/dist/floating-ui.dom-C224prEy.cjs +1 -0
- package/dist/floating-ui.dom-CauyjNxS.js +1131 -0
- package/dist/fonts/degular/Degular-Black.woff2 +0 -0
- package/dist/fonts/degular/Degular-Black_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Bold.woff2 +0 -0
- package/dist/fonts/degular/Degular-Bold_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Light.woff2 +0 -0
- package/dist/fonts/degular/Degular-Light_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Medium.woff2 +0 -0
- package/dist/fonts/degular/Degular-Medium_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Regular.woff2 +0 -0
- package/dist/fonts/degular/Degular-Semibold.woff2 +0 -0
- package/dist/fonts/degular/Degular-Semibold_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Thin.woff2 +0 -0
- package/dist/fonts/degular/Degular-Thin_Italic.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Black.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-BlackIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Bold.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-BoldIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Book.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-BookIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Medium.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-MediumIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Regular.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-RegularIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Semibold.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-SemiboldIt.woff2 +0 -0
- package/dist/getInternationalPhoneNumberPrefix-C4Qc97tE.cjs +34 -0
- package/dist/getInternationalPhoneNumberPrefix-C8O8VTpp.js +4368 -0
- package/dist/index-0ioNhtNM.js +10 -0
- package/dist/index-437EL2iq.js +52 -0
- package/dist/index-5Bhkapwi.js +82 -0
- package/dist/index-B0dI0L76.cjs +2 -0
- package/dist/index-BGQepRFJ.js +27 -0
- package/dist/index-BGfrl8IX.js +71 -0
- package/dist/index-BI11g55_.cjs +42 -0
- package/dist/index-BRRTyZ1e.js +75 -0
- package/dist/index-BZCybroW.cjs +2 -0
- package/dist/index-BZPx6jYI.js +8 -0
- package/dist/index-B_Bwy8wX.cjs +1 -0
- package/dist/index-BbQbyYHN.cjs +2 -0
- package/dist/index-BfKbXbc8.cjs +1 -0
- package/dist/index-BvWMjxZ5.js +675 -0
- package/dist/index-Bx2vBAJ5.cjs +2 -0
- package/dist/index-ByaXH_ih.js +10 -0
- package/dist/index-C2mPf2xD.cjs +1 -0
- package/dist/index-C8aODXfJ.cjs +1 -0
- package/dist/index-CAgJYdlN.cjs +1 -0
- package/dist/index-CCKe-Mpx.js +6 -0
- package/dist/index-CRDKsB5y.cjs +2 -0
- package/dist/index-CRdNenpR.js +422 -0
- package/dist/index-CajSSBH7.cjs +1 -0
- package/dist/index-Cje7xxa1.cjs +1 -0
- package/dist/index-CpDnqHCm.js +36 -0
- package/dist/index-CsK1LjrZ.cjs +2 -0
- package/dist/index-CvknVH0W.js +754 -0
- package/dist/index-CwR-dC8j.cjs +2 -0
- package/dist/index-CyFz8fal.cjs +131 -0
- package/dist/index-CzY-WZXL.cjs +1 -0
- package/dist/index-D-KHlZ2P.js +20 -0
- package/dist/index-D29mdTf5.js +34 -0
- package/dist/index-D9S-9HH_.js +332 -0
- package/dist/index-DCXkdCW2.js +227 -0
- package/dist/index-DLcgu_3m.js +159 -0
- package/dist/index-DVuTCIJE.cjs +2 -0
- package/dist/index-DWQmix6e.js +234 -0
- package/dist/index-DYxWvftI.cjs +1 -0
- package/dist/index-DgIcguCG.cjs +2 -0
- package/dist/index-DmeJCEwx.js +181 -0
- package/dist/index-Dt3HnaYe.js +48 -0
- package/dist/index-Dz5LHXX9.js +145 -0
- package/dist/index-MQ0c3ZX_.cjs +1 -0
- package/dist/index-ZhUVW4CS.cjs +2 -0
- package/dist/index-bSPhqlcX.cjs +1 -0
- package/dist/index-fw7dUmQl.js +352 -0
- package/dist/index-ojFnBVkh.cjs +2 -0
- package/dist/index-q-4o5Ie4.cjs +2 -0
- package/dist/index-twi8FX77.js +13814 -0
- package/dist/index-xqkGMOJ8.js +13 -0
- package/dist/index.d.ts +68 -0
- package/dist/index.js +1 -0
- package/dist/lib/useElementWidth.js +1 -0
- package/dist/lib/utils.js +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +89 -66
- package/build/index.css +0 -6
- package/build/index.d.ts +0 -1419
- package/build/mainstack-design-system.js +0 -25463
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
ext: "ext.",
|
|
3
|
+
country: "Phone number country",
|
|
4
|
+
phone: "Phone",
|
|
5
|
+
AB: "Abkhazia",
|
|
6
|
+
AC: "Ascension Island",
|
|
7
|
+
AD: "Andorra",
|
|
8
|
+
AE: "United Arab Emirates",
|
|
9
|
+
AF: "Afghanistan",
|
|
10
|
+
AG: "Antigua and Barbuda",
|
|
11
|
+
AI: "Anguilla",
|
|
12
|
+
AL: "Albania",
|
|
13
|
+
AM: "Armenia",
|
|
14
|
+
AO: "Angola",
|
|
15
|
+
AQ: "Antarctica",
|
|
16
|
+
AR: "Argentina",
|
|
17
|
+
AS: "American Samoa",
|
|
18
|
+
AT: "Austria",
|
|
19
|
+
AU: "Australia",
|
|
20
|
+
AW: "Aruba",
|
|
21
|
+
AX: "Åland Islands",
|
|
22
|
+
AZ: "Azerbaijan",
|
|
23
|
+
BA: "Bosnia and Herzegovina",
|
|
24
|
+
BB: "Barbados",
|
|
25
|
+
BD: "Bangladesh",
|
|
26
|
+
BE: "Belgium",
|
|
27
|
+
BF: "Burkina Faso",
|
|
28
|
+
BG: "Bulgaria",
|
|
29
|
+
BH: "Bahrain",
|
|
30
|
+
BI: "Burundi",
|
|
31
|
+
BJ: "Benin",
|
|
32
|
+
BL: "Saint Barthélemy",
|
|
33
|
+
BM: "Bermuda",
|
|
34
|
+
BN: "Brunei Darussalam",
|
|
35
|
+
BO: "Bolivia",
|
|
36
|
+
BQ: "Bonaire, Sint Eustatius and Saba",
|
|
37
|
+
BR: "Brazil",
|
|
38
|
+
BS: "Bahamas",
|
|
39
|
+
BT: "Bhutan",
|
|
40
|
+
BV: "Bouvet Island",
|
|
41
|
+
BW: "Botswana",
|
|
42
|
+
BY: "Belarus",
|
|
43
|
+
BZ: "Belize",
|
|
44
|
+
CA: "Canada",
|
|
45
|
+
CC: "Cocos (Keeling) Islands",
|
|
46
|
+
CD: "Congo, Democratic Republic of the",
|
|
47
|
+
CF: "Central African Republic",
|
|
48
|
+
CG: "Congo",
|
|
49
|
+
CH: "Switzerland",
|
|
50
|
+
CI: "Cote d'Ivoire",
|
|
51
|
+
CK: "Cook Islands",
|
|
52
|
+
CL: "Chile",
|
|
53
|
+
CM: "Cameroon",
|
|
54
|
+
CN: "China",
|
|
55
|
+
CO: "Colombia",
|
|
56
|
+
CR: "Costa Rica",
|
|
57
|
+
CU: "Cuba",
|
|
58
|
+
CV: "Cape Verde",
|
|
59
|
+
CW: "Curaçao",
|
|
60
|
+
CX: "Christmas Island",
|
|
61
|
+
CY: "Cyprus",
|
|
62
|
+
CZ: "Czech Republic",
|
|
63
|
+
DE: "Germany",
|
|
64
|
+
DJ: "Djibouti",
|
|
65
|
+
DK: "Denmark",
|
|
66
|
+
DM: "Dominica",
|
|
67
|
+
DO: "Dominican Republic",
|
|
68
|
+
DZ: "Algeria",
|
|
69
|
+
EC: "Ecuador",
|
|
70
|
+
EE: "Estonia",
|
|
71
|
+
EG: "Egypt",
|
|
72
|
+
EH: "Western Sahara",
|
|
73
|
+
ER: "Eritrea",
|
|
74
|
+
ES: "Spain",
|
|
75
|
+
ET: "Ethiopia",
|
|
76
|
+
FI: "Finland",
|
|
77
|
+
FJ: "Fiji",
|
|
78
|
+
FK: "Falkland Islands",
|
|
79
|
+
FM: "Federated States of Micronesia",
|
|
80
|
+
FO: "Faroe Islands",
|
|
81
|
+
FR: "France",
|
|
82
|
+
GA: "Gabon",
|
|
83
|
+
GB: "United Kingdom",
|
|
84
|
+
GD: "Grenada",
|
|
85
|
+
GE: "Georgia",
|
|
86
|
+
GF: "French Guiana",
|
|
87
|
+
GG: "Guernsey",
|
|
88
|
+
GH: "Ghana",
|
|
89
|
+
GI: "Gibraltar",
|
|
90
|
+
GL: "Greenland",
|
|
91
|
+
GM: "Gambia",
|
|
92
|
+
GN: "Guinea",
|
|
93
|
+
GP: "Guadeloupe",
|
|
94
|
+
GQ: "Equatorial Guinea",
|
|
95
|
+
GR: "Greece",
|
|
96
|
+
GS: "South Georgia and the South Sandwich Islands",
|
|
97
|
+
GT: "Guatemala",
|
|
98
|
+
GU: "Guam",
|
|
99
|
+
GW: "Guinea-Bissau",
|
|
100
|
+
GY: "Guyana",
|
|
101
|
+
HK: "Hong Kong",
|
|
102
|
+
HM: "Heard Island and McDonald Islands",
|
|
103
|
+
HN: "Honduras",
|
|
104
|
+
HR: "Croatia",
|
|
105
|
+
HT: "Haiti",
|
|
106
|
+
HU: "Hungary",
|
|
107
|
+
ID: "Indonesia",
|
|
108
|
+
IE: "Ireland",
|
|
109
|
+
IL: "Israel",
|
|
110
|
+
IM: "Isle of Man",
|
|
111
|
+
IN: "India",
|
|
112
|
+
IO: "British Indian Ocean Territory",
|
|
113
|
+
IQ: "Iraq",
|
|
114
|
+
IR: "Iran",
|
|
115
|
+
IS: "Iceland",
|
|
116
|
+
IT: "Italy",
|
|
117
|
+
JE: "Jersey",
|
|
118
|
+
JM: "Jamaica",
|
|
119
|
+
JO: "Jordan",
|
|
120
|
+
JP: "Japan",
|
|
121
|
+
KE: "Kenya",
|
|
122
|
+
KG: "Kyrgyzstan",
|
|
123
|
+
KH: "Cambodia",
|
|
124
|
+
KI: "Kiribati",
|
|
125
|
+
KM: "Comoros",
|
|
126
|
+
KN: "Saint Kitts and Nevis",
|
|
127
|
+
KP: "North Korea",
|
|
128
|
+
KR: "South Korea",
|
|
129
|
+
KW: "Kuwait",
|
|
130
|
+
KY: "Cayman Islands",
|
|
131
|
+
KZ: "Kazakhstan",
|
|
132
|
+
LA: "Laos",
|
|
133
|
+
LB: "Lebanon",
|
|
134
|
+
LC: "Saint Lucia",
|
|
135
|
+
LI: "Liechtenstein",
|
|
136
|
+
LK: "Sri Lanka",
|
|
137
|
+
LR: "Liberia",
|
|
138
|
+
LS: "Lesotho",
|
|
139
|
+
LT: "Lithuania",
|
|
140
|
+
LU: "Luxembourg",
|
|
141
|
+
LV: "Latvia",
|
|
142
|
+
LY: "Libya",
|
|
143
|
+
MA: "Morocco",
|
|
144
|
+
MC: "Monaco",
|
|
145
|
+
MD: "Moldova",
|
|
146
|
+
ME: "Montenegro",
|
|
147
|
+
MF: "Saint Martin (French Part)",
|
|
148
|
+
MG: "Madagascar",
|
|
149
|
+
MH: "Marshall Islands",
|
|
150
|
+
MK: "North Macedonia",
|
|
151
|
+
ML: "Mali",
|
|
152
|
+
MM: "Myanmar",
|
|
153
|
+
MN: "Mongolia",
|
|
154
|
+
MO: "Macao",
|
|
155
|
+
MP: "Northern Mariana Islands",
|
|
156
|
+
MQ: "Martinique",
|
|
157
|
+
MR: "Mauritania",
|
|
158
|
+
MS: "Montserrat",
|
|
159
|
+
MT: "Malta",
|
|
160
|
+
MU: "Mauritius",
|
|
161
|
+
MV: "Maldives",
|
|
162
|
+
MW: "Malawi",
|
|
163
|
+
MX: "Mexico",
|
|
164
|
+
MY: "Malaysia",
|
|
165
|
+
MZ: "Mozambique",
|
|
166
|
+
NA: "Namibia",
|
|
167
|
+
NC: "New Caledonia",
|
|
168
|
+
NE: "Niger",
|
|
169
|
+
NF: "Norfolk Island",
|
|
170
|
+
NG: "Nigeria",
|
|
171
|
+
NI: "Nicaragua",
|
|
172
|
+
NL: "Netherlands",
|
|
173
|
+
NO: "Norway",
|
|
174
|
+
NP: "Nepal",
|
|
175
|
+
NR: "Nauru",
|
|
176
|
+
NU: "Niue",
|
|
177
|
+
NZ: "New Zealand",
|
|
178
|
+
OM: "Oman",
|
|
179
|
+
OS: "South Ossetia",
|
|
180
|
+
PA: "Panama",
|
|
181
|
+
PE: "Peru",
|
|
182
|
+
PF: "French Polynesia",
|
|
183
|
+
PG: "Papua New Guinea",
|
|
184
|
+
PH: "Philippines",
|
|
185
|
+
PK: "Pakistan",
|
|
186
|
+
PL: "Poland",
|
|
187
|
+
PM: "Saint Pierre and Miquelon",
|
|
188
|
+
PN: "Pitcairn",
|
|
189
|
+
PR: "Puerto Rico",
|
|
190
|
+
PS: "Palestine",
|
|
191
|
+
PT: "Portugal",
|
|
192
|
+
PW: "Palau",
|
|
193
|
+
PY: "Paraguay",
|
|
194
|
+
QA: "Qatar",
|
|
195
|
+
RE: "Reunion",
|
|
196
|
+
RO: "Romania",
|
|
197
|
+
RS: "Serbia",
|
|
198
|
+
RU: "Russia",
|
|
199
|
+
RW: "Rwanda",
|
|
200
|
+
SA: "Saudi Arabia",
|
|
201
|
+
SB: "Solomon Islands",
|
|
202
|
+
SC: "Seychelles",
|
|
203
|
+
SD: "Sudan",
|
|
204
|
+
SE: "Sweden",
|
|
205
|
+
SG: "Singapore",
|
|
206
|
+
SH: "Saint Helena",
|
|
207
|
+
SI: "Slovenia",
|
|
208
|
+
SJ: "Svalbard and Jan Mayen",
|
|
209
|
+
SK: "Slovakia",
|
|
210
|
+
SL: "Sierra Leone",
|
|
211
|
+
SM: "San Marino",
|
|
212
|
+
SN: "Senegal",
|
|
213
|
+
SO: "Somalia",
|
|
214
|
+
SR: "Suriname",
|
|
215
|
+
SS: "South Sudan",
|
|
216
|
+
ST: "Sao Tome and Principe",
|
|
217
|
+
SV: "El Salvador",
|
|
218
|
+
SX: "Sint Maarten",
|
|
219
|
+
SY: "Syria",
|
|
220
|
+
SZ: "Swaziland",
|
|
221
|
+
TA: "Tristan da Cunha",
|
|
222
|
+
TC: "Turks and Caicos Islands",
|
|
223
|
+
TD: "Chad",
|
|
224
|
+
TF: "French Southern Territories",
|
|
225
|
+
TG: "Togo",
|
|
226
|
+
TH: "Thailand",
|
|
227
|
+
TJ: "Tajikistan",
|
|
228
|
+
TK: "Tokelau",
|
|
229
|
+
TL: "Timor-Leste",
|
|
230
|
+
TM: "Turkmenistan",
|
|
231
|
+
TN: "Tunisia",
|
|
232
|
+
TO: "Tonga",
|
|
233
|
+
TR: "Turkey",
|
|
234
|
+
TT: "Trinidad and Tobago",
|
|
235
|
+
TV: "Tuvalu",
|
|
236
|
+
TW: "Taiwan",
|
|
237
|
+
TZ: "Tanzania",
|
|
238
|
+
UA: "Ukraine",
|
|
239
|
+
UG: "Uganda",
|
|
240
|
+
UM: "United States Minor Outlying Islands",
|
|
241
|
+
US: "United States",
|
|
242
|
+
UY: "Uruguay",
|
|
243
|
+
UZ: "Uzbekistan",
|
|
244
|
+
VA: "Holy See (Vatican City State)",
|
|
245
|
+
VC: "Saint Vincent and the Grenadines",
|
|
246
|
+
VE: "Venezuela",
|
|
247
|
+
VG: "Virgin Islands, British",
|
|
248
|
+
VI: "Virgin Islands, U.S.",
|
|
249
|
+
VN: "Vietnam",
|
|
250
|
+
VU: "Vanuatu",
|
|
251
|
+
WF: "Wallis and Futuna",
|
|
252
|
+
WS: "Samoa",
|
|
253
|
+
XK: "Kosovo",
|
|
254
|
+
YE: "Yemen",
|
|
255
|
+
YT: "Mayotte",
|
|
256
|
+
ZA: "South Africa",
|
|
257
|
+
ZM: "Zambia",
|
|
258
|
+
ZW: "Zimbabwe",
|
|
259
|
+
ZZ: "International"
|
|
260
|
+
};
|
|
261
|
+
export {
|
|
262
|
+
a as c
|
|
263
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const $t=["top","right","bottom","left"],j=Math.min,S=Math.max,ot=Math.round,nt=Math.floor,W=t=>({x:t,y:t}),zt={left:"right",right:"left",bottom:"top",top:"bottom"},_t={start:"end",end:"start"};function ut(t,e,n){return S(t,j(e,n))}function $(t,e){return typeof t=="function"?t(e):t}function z(t){return t.split("-")[0]}function J(t){return t.split("-")[1]}function ht(t){return t==="x"?"y":"x"}function gt(t){return t==="y"?"height":"width"}const It=new Set(["top","bottom"]);function k(t){return It.has(z(t))?"y":"x"}function pt(t){return ht(k(t))}function Xt(t,e,n){n===void 0&&(n=!1);const o=J(t),i=pt(t),s=gt(i);let r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=it(r)),[r,it(r)]}function jt(t){const e=it(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>_t[e])}const vt=["left","right"],bt=["right","left"],Yt=["top","bottom"],qt=["bottom","top"];function Ut(t,e,n){switch(t){case"top":case"bottom":return n?e?bt:vt:e?vt:bt;case"left":case"right":return e?Yt:qt;default:return[]}}function Kt(t,e,n,o){const i=J(t);let s=Ut(z(t),n==="start",o);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(dt)))),s}function it(t){return t.replace(/left|right|bottom|top/g,e=>zt[e])}function Gt(t){return{top:0,right:0,bottom:0,left:0,...t}}function Et(t){return typeof t!="number"?Gt(t):{top:t,right:t,bottom:t,left:t}}function st(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function At(t,e,n){let{reference:o,floating:i}=t;const s=k(e),r=pt(e),c=gt(r),a=z(e),l=s==="y",u=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let f;switch(a){case"top":f={x:u,y:o.y-i.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-i.width,y:d};break;default:f={x:o.x,y:o.y}}switch(J(e)){case"start":f[r]-=h*(n&&l?-1:1);break;case"end":f[r]+=h*(n&&l?-1:1);break}return f}const Jt=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n,c=s.filter(Boolean),a=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:d}=At(l,o,a),h=o,f={},m=0;for(let g=0;g<c.length;g++){const{name:p,fn:w}=c[g],{x,y,data:b,reset:v}=await w({x:u,y:d,initialPlacement:o,placement:h,strategy:i,middlewareData:f,rects:l,platform:r,elements:{reference:t,floating:e}});u=x??u,d=y??d,f={...f,[p]:{...f[p],...b}},v&&m<=50&&(m++,typeof v=="object"&&(v.placement&&(h=v.placement),v.rects&&(l=v.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:u,y:d}=At(l,h,a)),g=-1)}return{x:u,y:d,placement:h,strategy:i,middlewareData:f}};async function Z(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:r,elements:c,strategy:a}=t,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=$(e,t),m=Et(f),p=c[h?d==="floating"?"reference":"floating":d],w=st(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(p)))==null||n?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:l,rootBoundary:u,strategy:a})),x=d==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),b=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},v=st(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:y,strategy:a}):x);return{top:(w.top-v.top+m.top)/b.y,bottom:(v.bottom-w.bottom+m.bottom)/b.y,left:(w.left-v.left+m.left)/b.x,right:(v.right-w.right+m.right)/b.x}}const Qt=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:s,platform:r,elements:c,middlewareData:a}=e,{element:l,padding:u=0}=$(t,e)||{};if(l==null)return{};const d=Et(u),h={x:n,y:o},f=pt(i),m=gt(f),g=await r.getDimensions(l),p=f==="y",w=p?"top":"left",x=p?"bottom":"right",y=p?"clientHeight":"clientWidth",b=s.reference[m]+s.reference[f]-h[f]-s.floating[m],v=h[f]-s.reference[f],R=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l));let A=R?R[y]:0;(!A||!await(r.isElement==null?void 0:r.isElement(R)))&&(A=c.floating[y]||s.floating[m]);const N=b/2-v/2,M=A/2-g[m]/2-1,L=j(d[w],M),_=j(d[x],M),F=L,I=A-g[m]-_,O=A/2-g[m]/2+N,q=ut(F,O,I),V=!a.arrow&&J(i)!=null&&O!==q&&s.reference[m]/2-(O<F?L:_)-g[m]/2<0,T=V?O<F?O-F:O-I:0;return{[f]:h[f]+T,data:{[f]:q,centerOffset:O-q-T,...V&&{alignmentOffset:T}},reset:V}}}),Zt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:r,initialPlacement:c,platform:a,elements:l}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...p}=$(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const w=z(i),x=k(c),y=z(c)===c,b=await(a.isRTL==null?void 0:a.isRTL(l.floating)),v=h||(y||!g?[it(c)]:jt(c)),R=m!=="none";!h&&R&&v.push(...Kt(c,g,m,b));const A=[c,...v],N=await Z(e,p),M=[];let L=((o=s.flip)==null?void 0:o.overflows)||[];if(u&&M.push(N[w]),d){const O=Xt(i,r,b);M.push(N[O[0]],N[O[1]])}if(L=[...L,{placement:i,overflows:M}],!M.every(O=>O<=0)){var _,F;const O=(((_=s.flip)==null?void 0:_.index)||0)+1,q=A[O];if(q&&(!(d==="alignment"?x!==k(q):!1)||L.every(E=>k(E.placement)===x?E.overflows[0]>0:!0)))return{data:{index:O,overflows:L},reset:{placement:q}};let V=(F=L.filter(T=>T.overflows[0]<=0).sort((T,E)=>T.overflows[1]-E.overflows[1])[0])==null?void 0:F.placement;if(!V)switch(f){case"bestFit":{var I;const T=(I=L.filter(E=>{if(R){const X=k(E.placement);return X===x||X==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(X=>X>0).reduce((X,Vt)=>X+Vt,0)]).sort((E,X)=>E[1]-X[1])[0])==null?void 0:I[0];T&&(V=T);break}case"initialPlacement":V=c;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function Ot(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Rt(t){return $t.some(e=>t[e]>=0)}const te=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=$(t,e);switch(o){case"referenceHidden":{const s=await Z(e,{...i,elementContext:"reference"}),r=Ot(s,n.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:Rt(r)}}}case"escaped":{const s=await Z(e,{...i,altBoundary:!0}),r=Ot(s,n.floating);return{data:{escapedOffsets:r,escaped:Rt(r)}}}default:return{}}}}},Dt=new Set(["left","top"]);async function ee(t,e){const{placement:n,platform:o,elements:i}=t,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),r=z(n),c=J(n),a=k(n)==="y",l=Dt.has(r)?-1:1,u=s&&a?-1:1,d=$(e,t);let{mainAxis:h,crossAxis:f,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return c&&typeof m=="number"&&(f=c==="end"?m*-1:m),a?{x:f*u,y:h*l}:{x:h*l,y:f*u}}const ne=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:s,placement:r,middlewareData:c}=e,a=await ee(e,t);return r===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+a.x,y:s+a.y,data:{...a,placement:r}}}}},oe=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:c={fn:p=>{let{x:w,y:x}=p;return{x:w,y:x}}},...a}=$(t,e),l={x:n,y:o},u=await Z(e,a),d=k(z(i)),h=ht(d);let f=l[h],m=l[d];if(s){const p=h==="y"?"top":"left",w=h==="y"?"bottom":"right",x=f+u[p],y=f-u[w];f=ut(x,f,y)}if(r){const p=d==="y"?"top":"left",w=d==="y"?"bottom":"right",x=m+u[p],y=m-u[w];m=ut(x,m,y)}const g=c.fn({...e,[h]:f,[d]:m});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[h]:s,[d]:r}}}}}},ie=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:s,middlewareData:r}=e,{offset:c=0,mainAxis:a=!0,crossAxis:l=!0}=$(t,e),u={x:n,y:o},d=k(i),h=ht(d);let f=u[h],m=u[d];const g=$(c,e),p=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(a){const y=h==="y"?"height":"width",b=s.reference[h]-s.floating[y]+p.mainAxis,v=s.reference[h]+s.reference[y]-p.mainAxis;f<b?f=b:f>v&&(f=v)}if(l){var w,x;const y=h==="y"?"width":"height",b=Dt.has(z(i)),v=s.reference[d]-s.floating[y]+(b&&((w=r.offset)==null?void 0:w[d])||0)+(b?0:p.crossAxis),R=s.reference[d]+s.reference[y]+(b?0:((x=r.offset)==null?void 0:x[d])||0)-(b?p.crossAxis:0);m<v?m=v:m>R&&(m=R)}return{[h]:f,[d]:m}}}},se=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:s,platform:r,elements:c}=e,{apply:a=()=>{},...l}=$(t,e),u=await Z(e,l),d=z(i),h=J(i),f=k(i)==="y",{width:m,height:g}=s.floating;let p,w;d==="top"||d==="bottom"?(p=d,w=h===(await(r.isRTL==null?void 0:r.isRTL(c.floating))?"start":"end")?"left":"right"):(w=d,p=h==="end"?"top":"bottom");const x=g-u.top-u.bottom,y=m-u.left-u.right,b=j(g-u[p],x),v=j(m-u[w],y),R=!e.middlewareData.shift;let A=b,N=v;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(N=y),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(A=x),R&&!h){const L=S(u.left,0),_=S(u.right,0),F=S(u.top,0),I=S(u.bottom,0);f?N=m-2*(L!==0||_!==0?L+_:S(u.left,u.right)):A=g-2*(F!==0||I!==0?F+I:S(u.top,u.bottom))}await a({...e,availableWidth:N,availableHeight:A});const M=await r.getDimensions(c.floating);return m!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function rt(){return typeof window<"u"}function Q(t){return Pt(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function H(t){var e;return(e=(Pt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Pt(t){return rt()?t instanceof Node||t instanceof C(t).Node:!1}function D(t){return rt()?t instanceof Element||t instanceof C(t).Element:!1}function B(t){return rt()?t instanceof HTMLElement||t instanceof C(t).HTMLElement:!1}function St(t){return!rt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof C(t).ShadowRoot}const re=new Set(["inline","contents"]);function et(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!re.has(i)}const ce=new Set(["table","td","th"]);function le(t){return ce.has(Q(t))}const fe=[":popover-open",":modal"];function ct(t){return fe.some(e=>{try{return t.matches(e)}catch{return!1}})}const ae=["transform","translate","scale","rotate","perspective"],ue=["transform","translate","scale","rotate","perspective","filter"],de=["paint","layout","strict","content"];function wt(t){const e=xt(),n=D(t)?P(t):t;return ae.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||ue.some(o=>(n.willChange||"").includes(o))||de.some(o=>(n.contain||"").includes(o))}function me(t){let e=Y(t);for(;B(e)&&!G(e);){if(wt(e))return e;if(ct(e))return null;e=Y(e)}return null}function xt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const he=new Set(["html","body","#document"]);function G(t){return he.has(Q(t))}function P(t){return C(t).getComputedStyle(t)}function lt(t){return D(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Q(t)==="html")return t;const e=t.assignedSlot||t.parentNode||St(t)&&t.host||H(t);return St(e)?e.host:e}function Mt(t){const e=Y(t);return G(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&et(e)?e:Mt(e)}function tt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Mt(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),r=C(i);if(s){const c=mt(r);return e.concat(r,r.visualViewport||[],et(i)?i:[],c&&n?tt(c):[])}return e.concat(i,tt(i,[],n))}function mt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ft(t){const e=P(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=B(t),s=i?t.offsetWidth:n,r=i?t.offsetHeight:o,c=ot(n)!==s||ot(o)!==r;return c&&(n=s,o=r),{width:n,height:o,$:c}}function yt(t){return D(t)?t:t.contextElement}function K(t){const e=yt(t);if(!B(e))return W(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=Ft(e);let r=(s?ot(n.width):n.width)/o,c=(s?ot(n.height):n.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const ge=W(0);function kt(t){const e=C(t);return!xt()||!e.visualViewport?ge:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function pe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==C(t)?!1:e}function U(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=yt(t);let r=W(1);e&&(o?D(o)&&(r=K(o)):r=K(t));const c=pe(s,n,o)?kt(s):W(0);let a=(i.left+c.x)/r.x,l=(i.top+c.y)/r.y,u=i.width/r.x,d=i.height/r.y;if(s){const h=C(s),f=o&&D(o)?C(o):o;let m=h,g=mt(m);for(;g&&o&&f!==m;){const p=K(g),w=g.getBoundingClientRect(),x=P(g),y=w.left+(g.clientLeft+parseFloat(x.paddingLeft))*p.x,b=w.top+(g.clientTop+parseFloat(x.paddingTop))*p.y;a*=p.x,l*=p.y,u*=p.x,d*=p.y,a+=y,l+=b,m=C(g),g=mt(m)}}return st({width:u,height:d,x:a,y:l})}function ft(t,e){const n=lt(t).scrollLeft;return e?e.left+n:U(H(t)).left+n}function Wt(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-ft(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function we(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",r=H(o),c=e?ct(e.floating):!1;if(o===r||c&&s)return n;let a={scrollLeft:0,scrollTop:0},l=W(1);const u=W(0),d=B(o);if((d||!d&&!s)&&((Q(o)!=="body"||et(r))&&(a=lt(o)),B(o))){const f=U(o);l=K(o),u.x=f.x+o.clientLeft,u.y=f.y+o.clientTop}const h=r&&!d&&!s?Wt(r,a):W(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+u.x+h.x,y:n.y*l.y-a.scrollTop*l.y+u.y+h.y}}function xe(t){return Array.from(t.getClientRects())}function ye(t){const e=H(t),n=lt(t),o=t.ownerDocument.body,i=S(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=S(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+ft(t);const c=-n.scrollTop;return P(o).direction==="rtl"&&(r+=S(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:r,y:c}}const Ct=25;function ve(t,e){const n=C(t),o=H(t),i=n.visualViewport;let s=o.clientWidth,r=o.clientHeight,c=0,a=0;if(i){s=i.width,r=i.height;const u=xt();(!u||u&&e==="fixed")&&(c=i.offsetLeft,a=i.offsetTop)}const l=ft(o);if(l<=0){const u=o.ownerDocument,d=u.body,h=getComputedStyle(d),f=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,m=Math.abs(o.clientWidth-d.clientWidth-f);m<=Ct&&(s-=m)}else l<=Ct&&(s+=l);return{width:s,height:r,x:c,y:a}}const be=new Set(["absolute","fixed"]);function Ae(t,e){const n=U(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=B(t)?K(t):W(1),r=t.clientWidth*s.x,c=t.clientHeight*s.y,a=i*s.x,l=o*s.y;return{width:r,height:c,x:a,y:l}}function Lt(t,e,n){let o;if(e==="viewport")o=ve(t,n);else if(e==="document")o=ye(H(t));else if(D(e))o=Ae(e,n);else{const i=kt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return st(o)}function Bt(t,e){const n=Y(t);return n===e||!D(n)||G(n)?!1:P(n).position==="fixed"||Bt(n,e)}function Oe(t,e){const n=e.get(t);if(n)return n;let o=tt(t,[],!1).filter(c=>D(c)&&Q(c)!=="body"),i=null;const s=P(t).position==="fixed";let r=s?Y(t):t;for(;D(r)&&!G(r);){const c=P(r),a=wt(r);!a&&c.position==="fixed"&&(i=null),(s?!a&&!i:!a&&c.position==="static"&&!!i&&be.has(i.position)||et(r)&&!a&&Bt(t,r))?o=o.filter(u=>u!==r):i=c,r=Y(r)}return e.set(t,o),o}function Re(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[...n==="clippingAncestors"?ct(e)?[]:Oe(e,this._c):[].concat(n),o],c=r[0],a=r.reduce((l,u)=>{const d=Lt(e,u,i);return l.top=S(d.top,l.top),l.right=j(d.right,l.right),l.bottom=j(d.bottom,l.bottom),l.left=S(d.left,l.left),l},Lt(e,c,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Se(t){const{width:e,height:n}=Ft(t);return{width:e,height:n}}function Ce(t,e,n){const o=B(e),i=H(e),s=n==="fixed",r=U(t,!0,s,e);let c={scrollLeft:0,scrollTop:0};const a=W(0);function l(){a.x=ft(i)}if(o||!o&&!s)if((Q(e)!=="body"||et(i))&&(c=lt(e)),o){const f=U(e,!0,s,e);a.x=f.x+e.clientLeft,a.y=f.y+e.clientTop}else i&&l();s&&!o&&i&&l();const u=i&&!o&&!s?Wt(i,c):W(0),d=r.left+c.scrollLeft-a.x-u.x,h=r.top+c.scrollTop-a.y-u.y;return{x:d,y:h,width:r.width,height:r.height}}function at(t){return P(t).position==="static"}function Tt(t,e){if(!B(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return H(t)===n&&(n=n.ownerDocument.body),n}function Ht(t,e){const n=C(t);if(ct(t))return n;if(!B(t)){let i=Y(t);for(;i&&!G(i);){if(D(i)&&!at(i))return i;i=Y(i)}return n}let o=Tt(t,e);for(;o&&le(o)&&at(o);)o=Tt(o,e);return o&&G(o)&&at(o)&&!wt(o)?n:o||me(t)||n}const Le=async function(t){const e=this.getOffsetParent||Ht,n=this.getDimensions,o=await n(t.floating);return{reference:Ce(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Te(t){return P(t).direction==="rtl"}const Ee={convertOffsetParentRelativeRectToViewportRelativeRect:we,getDocumentElement:H,getClippingRect:Re,getOffsetParent:Ht,getElementRects:Le,getClientRects:xe,getDimensions:Se,getScale:K,isElement:D,isRTL:Te};function Nt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function De(t,e){let n=null,o;const i=H(t);function s(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function r(c,a){c===void 0&&(c=!1),a===void 0&&(a=1),s();const l=t.getBoundingClientRect(),{left:u,top:d,width:h,height:f}=l;if(c||e(),!h||!f)return;const m=nt(d),g=nt(i.clientWidth-(u+h)),p=nt(i.clientHeight-(d+f)),w=nt(u),y={rootMargin:-m+"px "+-g+"px "+-p+"px "+-w+"px",threshold:S(0,j(1,a))||1};let b=!0;function v(R){const A=R[0].intersectionRatio;if(A!==a){if(!b)return r();A?r(!1,A):o=setTimeout(()=>{r(!1,1e-7)},1e3)}A===1&&!Nt(l,t.getBoundingClientRect())&&r(),b=!1}try{n=new IntersectionObserver(v,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(v,y)}n.observe(t)}return r(!0),s}function Pe(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,l=yt(t),u=i||s?[...l?tt(l):[],...tt(e)]:[];u.forEach(w=>{i&&w.addEventListener("scroll",n,{passive:!0}),s&&w.addEventListener("resize",n)});const d=l&&c?De(l,n):null;let h=-1,f=null;r&&(f=new ResizeObserver(w=>{let[x]=w;x&&x.target===l&&f&&(f.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),n()}),l&&!a&&f.observe(l),f.observe(e));let m,g=a?U(t):null;a&&p();function p(){const w=U(t);g&&!Nt(g,w)&&n(),g=w,m=requestAnimationFrame(p)}return n(),()=>{var w;u.forEach(x=>{i&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),d?.(),(w=f)==null||w.disconnect(),f=null,a&&cancelAnimationFrame(m)}}const Me=ne,Fe=oe,ke=Zt,We=se,Be=te,He=Qt,Ne=ie,Ve=(t,e,n)=>{const o=new Map,i={platform:Ee,...n},s={...i.platform,_c:o};return Jt(t,e,{...i,platform:s})};exports.arrow=He;exports.autoUpdate=Pe;exports.computePosition=Ve;exports.flip=ke;exports.hide=Be;exports.limitShift=Ne;exports.offset=Me;exports.shift=Fe;exports.size=We;
|