@clickview/exchange 0.43.0 → 0.43.1-dev.1
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/bundles.json +2 -2
- package/dist/css/Actions-BPdg7JW4.css +1 -0
- package/dist/css/AddToLibraryView-BBV1d-ZI.css +1 -0
- package/dist/css/Caret-C2R4QydJ.css +1 -0
- package/dist/css/ExchangeSearchBar-DL_jCfRl.css +1 -0
- package/dist/css/ExchangeSearchResultsView-fap4f8w8.css +1 -0
- package/dist/css/FormField-CY0yvCW4.css +1 -0
- package/dist/css/GiveFeedbackView-CifDVjr-.css +1 -0
- package/dist/css/IconCircle-jbMisi9r.css +1 -0
- package/dist/css/LazyImage-CC5F5C8O.css +1 -0
- package/dist/css/LinkifyHelper-DI4l_5OJ.css +1 -0
- package/dist/css/PillTabSelector-DlOtoSz0.css +1 -0
- package/dist/css/PreviewVideoDetails-CLoNhAp2.css +1 -0
- package/dist/css/ProgramType-B57G3PZD.css +1 -0
- package/dist/css/RestrictionHelper-BiRz4h1c.css +1 -0
- package/dist/css/SearchFilters-DKLFGlDI.css +1 -0
- package/dist/css/TagItem-DD13UQOa.css +1 -0
- package/dist/css/TvAdFreeBadge-DnhNnDZN.css +1 -0
- package/dist/css/TvAddView-fs02hBfZ.css +1 -0
- package/dist/css/TvAlreadyAddedView-Dkh6sNpi.css +1 -0
- package/dist/css/TvBroadcastContentView-CDiJwtuL.css +1 -0
- package/dist/css/TvChannelBadge-BDOTXlob.css +1 -0
- package/dist/css/TvChannelView-DRlDmMhN.css +1 -0
- package/dist/css/TvChannelsView-w4TLT4f5.css +1 -0
- package/dist/css/TvProgramTimeBadge-zFa1fH-z.css +1 -0
- package/dist/css/TvProgramsView-Bt3pBBLn.css +1 -0
- package/dist/css/TvSearchBar-Ci6HCTb5.css +1 -0
- package/dist/css/TvSearchResultsView-DGyCCqtO.css +1 -0
- package/dist/css/UseFetchAll-BIeUeS4h.css +1 -0
- package/dist/css/UseGetMediaQueryString-CrSv-tYo.css +1 -0
- package/dist/css/UseSelectAllPages-C7XoyEPr.css +1 -0
- package/dist/css/VideoList-DJ07F3NX.css +1 -0
- package/dist/css/app-B9KW71K5.css +1 -0
- package/dist/css/useBreakpoints-CCsCPLDG.css +1 -0
- package/dist/en.json +1 -0
- package/dist/scripts/Actions-DU6xcKNt.js +1 -0
- package/dist/scripts/AddToLibraryView-BbpiFnD1.js +1 -0
- package/dist/scripts/Badge-kRGAgSgq.js +1 -0
- package/dist/scripts/BadgeListContainer-B-qdl_Qj.js +1 -0
- package/dist/scripts/ButtonGroup-Pz8uSjml.js +1 -0
- package/dist/scripts/Caret-BRrDlj-2.js +1 -0
- package/dist/scripts/ChevronDownSvg-PWL_4rOb.js +1 -0
- package/dist/scripts/ClassNameHelper-C1RD6ZYU.js +1 -0
- package/dist/scripts/CloseSvg-MoBnROf1.js +1 -0
- package/dist/scripts/CurationStatus-BlDVEZsX.js +1 -0
- package/dist/scripts/DevErrorView-CK5-Rxy-.js +1 -0
- package/dist/scripts/DialogView-im7-qx9i.js +1 -0
- package/dist/scripts/DownloadHelper-tNp3R89-.js +1 -0
- package/dist/scripts/DownloadVideoView-Dcsxo22U.js +1 -0
- package/dist/scripts/DragDropMoveWrapper-Dsd-8vE3.js +1 -0
- package/dist/scripts/ExchangeAddView-CwHPqfoQ.js +1 -0
- package/dist/scripts/ExchangeFolderView-BpMNAmMQ.js +1 -0
- package/dist/scripts/ExchangeMostRecentView-DQH8FDqI.js +1 -0
- package/dist/scripts/ExchangeNotFoundView-BxjMr4v3.js +1 -0
- package/dist/scripts/ExchangePreviewView-Od2pV8fa.js +1 -0
- package/dist/scripts/ExchangeRequests-CaMKspLi.js +1 -0
- package/dist/scripts/ExchangeSearchBar-BetVWbNL.js +1 -0
- package/dist/scripts/ExchangeSearchResultsView-GbfK9RDh.js +2 -0
- package/dist/scripts/ExchangeSeriesView-b1ayep0S.js +1 -0
- package/dist/scripts/ExchangeSuggestEditView-3CoGs1xA.js +1 -0
- package/dist/scripts/ExchangeTabs-CQC3f-18.js +1 -0
- package/dist/scripts/ExchangeUtils-BXtQ6ui-.js +1 -0
- package/dist/scripts/ExchangeView-DCrYAO5x.js +1 -0
- package/dist/scripts/FormButtons-Bgi1UFwH.js +1 -0
- package/dist/scripts/FormFeedback-CSSo249E.js +1 -0
- package/dist/scripts/FormField-BefWo_kh.js +5 -0
- package/dist/scripts/GiveFeedbackView-C05VDJBO.js +7 -0
- package/dist/scripts/GroupSvg-CF5_JUEf.js +1 -0
- package/dist/scripts/HardCoded-NS2B_WZd.js +1 -0
- package/dist/scripts/HttpErrorHandlers-CXQ82gVO.js +1 -0
- package/dist/scripts/IconCircle-Bl2iLV5f.js +1 -0
- package/dist/scripts/InstanceRegion-CJ3oIQlG.js +1 -0
- package/dist/scripts/LazyImage-BuPwkT8t.js +1 -0
- package/dist/scripts/LibraryRequests-CIFsh_TC.js +1 -0
- package/dist/scripts/LinkifyHelper-DXhtCX0t.js +4 -0
- package/dist/scripts/MasterTypeHelper-C89Dh71u.js +1 -0
- package/dist/scripts/MediaQueries-_sYSSSUN.js +1 -0
- package/dist/scripts/PartialLoadingHelper-jX9dOBvb.js +1 -0
- package/dist/scripts/PermissionFilterOption-pkzD5BEm.js +1 -0
- package/dist/scripts/PillTabSelector-0Eg1sgXj.js +14 -0
- package/dist/scripts/PreviewVideoDetails-DYcfSG9C.js +362 -0
- package/dist/scripts/ProgramType-ClR23Av6.js +1 -0
- package/dist/scripts/RatingRequests-DE77YS3s.js +1 -0
- package/dist/scripts/RedirectView-Bd2ocWHW.js +1 -0
- package/dist/scripts/RestrictionHelper-FFW66EYt.js +1 -0
- package/dist/scripts/ScrollHelper-DdBBQJML.js +1 -0
- package/dist/scripts/SearchFilters-FlVReO0V.js +1 -0
- package/dist/scripts/SearchSvg-BVG6NbDK.js +1 -0
- package/dist/scripts/SharedSearchHelper-OTwt6mVX.js +1 -0
- package/dist/scripts/TagItem-D-T5Jgxc.js +1 -0
- package/dist/scripts/TvAdFreeBadge-CK6vQXKI.js +1 -0
- package/dist/scripts/TvAdFreeRequestView-DI72pb_f.js +1 -0
- package/dist/scripts/TvAddView-B1D9QlK5.js +1 -0
- package/dist/scripts/TvAlreadyAddedView-DFqGZwQO.js +1 -0
- package/dist/scripts/TvBroadcastContentView-BdIK-pK2.js +1 -0
- package/dist/scripts/TvChannelBadge-pBwnbFcb.js +1 -0
- package/dist/scripts/TvChannelView-fMD7YYjb.js +1 -0
- package/dist/scripts/TvChannelsView-eH68B1en.js +1 -0
- package/dist/scripts/TvGuideView-CTuQRLzy.js +1 -0
- package/dist/scripts/TvHomeView-B_wgL0pd.js +1 -0
- package/dist/scripts/TvPreviewView-DG7HOmV0.js +1 -0
- package/dist/scripts/TvProgramTimeBadge-spEPk9Ci.js +1 -0
- package/dist/scripts/TvProgramsView-CIGHzdBW.js +1 -0
- package/dist/scripts/TvRadioDownloadView-BBjF31yx.js +1 -0
- package/dist/scripts/TvRequestProgramView-D4tAgJGb.js +1 -0
- package/dist/scripts/TvRequests-DGpJhsk0.js +1 -0
- package/dist/scripts/TvSearchBar-DeJpQCLg.js +1 -0
- package/dist/scripts/TvSearchResultsView-C2maqf2-.js +1 -0
- package/dist/scripts/TvTabs-CwSo_jRg.js +1 -0
- package/dist/scripts/TypeHelper-B668bf5B.js +1 -0
- package/dist/scripts/UseAlerts-CvkkojNb.js +1 -0
- package/dist/scripts/UseFetchAll-gFCX5FgS.js +1 -0
- package/dist/scripts/UseGetMediaQueryString-CtMZxiJN.js +1 -0
- package/dist/scripts/UseHandleDialogError-DyBOBdQw.js +1 -0
- package/dist/scripts/UseHandleObjectError-BX2Mxo9Q.js +1 -0
- package/dist/scripts/UseHover-CvNCFvZV.js +1 -0
- package/dist/scripts/UseSelectAllPages-lGahuUoo.js +1 -0
- package/dist/scripts/VideoHelper-CCZMG1XL.js +1 -0
- package/dist/scripts/VideoList-DqqHxoXh.js +49 -0
- package/dist/scripts/VideoRequests-vwphYsR4.js +1 -0
- package/dist/scripts/VideoSortSelect-DVdIHmhA.js +1 -0
- package/dist/scripts/VisibleOnSvg-BuD3Reup.js +1 -0
- package/dist/scripts/app-Lrh8TPTe.js +147 -0
- package/dist/scripts/getRegionInfo-BBAErHX7.js +1 -0
- package/dist/scripts/index-C9eYzTFT.js +1 -0
- package/dist/scripts/toLocalTime-pPGBAyPL.js +1 -0
- package/dist/scripts/useBreakpoints-BALX55hP.js +1 -0
- package/dist/scripts/useGetExchangeActions-BtGC0q85.js +1 -0
- package/dist/scripts/useGetTvActions-Cx_DXvlg.js +1 -0
- package/dist/scripts/useHandleRegionError-CaGlG48W.js +1 -0
- package/dist/scripts/usePreviewContext-B5fK7PxW.js +1 -0
- package/dist/scripts/useSelectedRegion-h9Rl12Z2.js +1 -0
- package/dist/scripts/useVerifiedEmailRequiredErrorHandler-BON6gc7P.js +1 -0
- package/package.json +12 -3
- package/typings/utils/imports.d.ts +1 -1
- package/vite-bundle-manifest.ts +41 -0
- package/vite-i18n-plugin.ts +113 -0
- package/vite.config.ts +74 -0
- package/dist/css/137-exchange-8c1b8716b3.chunk.css +0 -25
- package/dist/css/212-exchange-d71527fc65.chunk.css +0 -1
- package/dist/css/226-exchange-9ab9f14b3c.chunk.css +0 -57
- package/dist/css/291-exchange-be9d9f0cdb.chunk.css +0 -11
- package/dist/css/298-exchange-78ece5c7c5.chunk.css +0 -37
- package/dist/css/332-exchange-e4754ae27a.chunk.css +0 -1
- package/dist/css/489-exchange-6ecb1e7adc.chunk.css +0 -85
- package/dist/css/494-exchange-02d7a0249c.chunk.css +0 -2
- package/dist/css/522-exchange-1387f35e92.chunk.css +0 -14
- package/dist/css/538-exchange-4cbfe56ba3.chunk.css +0 -1
- package/dist/css/589-exchange-fa098d9131.chunk.css +0 -11
- package/dist/css/611-exchange-cbf2bb5621.chunk.css +0 -5
- package/dist/css/669-exchange-e80e6c6649.chunk.css +0 -10
- package/dist/css/68-exchange-b5eaf8af44.chunk.css +0 -35
- package/dist/css/75-exchange-6d2304419c.chunk.css +0 -5
- package/dist/css/759-exchange-23bb5dd175.chunk.css +0 -8
- package/dist/css/858-exchange-06944bdfa4.chunk.css +0 -1
- package/dist/css/904-exchange-0eab318199.chunk.css +0 -40
- package/dist/css/95-exchange-4cbfe56ba3.chunk.css +0 -1
- package/dist/css/lite-exchange-ed6bd260c5.css +0 -14
- package/dist/languages/en.json +0 -1
- package/dist/scripts/117-259130ac0e-exchange.chunk.js +0 -1
- package/dist/scripts/127-4a3c8f9725-exchange.chunk.js +0 -1
- package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js +0 -2
- package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/137-51b4dab452-exchange.chunk.js +0 -1
- package/dist/scripts/156-847dae6ace-exchange.chunk.js +0 -1
- package/dist/scripts/170-9db7c3b12e-exchange.chunk.js +0 -1
- package/dist/scripts/173-3668db114a-exchange.chunk.js +0 -1
- package/dist/scripts/212-6ed71b2797-exchange.chunk.js +0 -1
- package/dist/scripts/226-889bef8e6c-exchange.chunk.js +0 -1
- package/dist/scripts/267-7daf64f8a1-exchange.chunk.js +0 -1
- package/dist/scripts/291-7e85a6e844-exchange.chunk.js +0 -1
- package/dist/scripts/298-ed8e8b8328-exchange.chunk.js +0 -1
- package/dist/scripts/312-69afcbbc39-exchange.chunk.js +0 -1
- package/dist/scripts/325-76baea117f-exchange.chunk.js +0 -1
- package/dist/scripts/332-08d48debc2-exchange.chunk.js +0 -1
- package/dist/scripts/414-567e121c75-exchange.chunk.js +0 -2
- package/dist/scripts/414-567e121c75-exchange.chunk.js.LICENSE.txt +0 -60
- package/dist/scripts/442-fcba36183d-exchange.chunk.js +0 -1
- package/dist/scripts/455-ceeb969c54-exchange.chunk.js +0 -1
- package/dist/scripts/484-08c82c5a88-exchange.chunk.js +0 -1
- package/dist/scripts/489-8554f0ce7a-exchange.chunk.js +0 -2
- package/dist/scripts/489-8554f0ce7a-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/494-abba46b945-exchange.chunk.js +0 -2
- package/dist/scripts/494-abba46b945-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/507-b6e119c8e2-exchange.chunk.js +0 -1
- package/dist/scripts/522-ce819dee18-exchange.chunk.js +0 -2
- package/dist/scripts/522-ce819dee18-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/536-b915864d5f-exchange.chunk.js +0 -1
- package/dist/scripts/538-ccc01a623f-exchange.chunk.js +0 -2
- package/dist/scripts/538-ccc01a623f-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/558-1bdbbc1f64-exchange.chunk.js +0 -1
- package/dist/scripts/589-17d73ab116-exchange.chunk.js +0 -1
- package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +0 -1
- package/dist/scripts/611-d8bd3e98dc-exchange.chunk.js +0 -1
- package/dist/scripts/619-1abac6cb1d-exchange.chunk.js +0 -1
- package/dist/scripts/648-485af12c37-exchange.chunk.js +0 -1
- package/dist/scripts/659-d08f206e1d-exchange.chunk.js +0 -1
- package/dist/scripts/669-a49a0838ff-exchange.chunk.js +0 -1
- package/dist/scripts/68-34b81dae8c-exchange.chunk.js +0 -1
- package/dist/scripts/725-9ddf1084b6-exchange.chunk.js +0 -1
- package/dist/scripts/726-868a877381-exchange.chunk.js +0 -1
- package/dist/scripts/75-9780e4300e-exchange.chunk.js +0 -1
- package/dist/scripts/759-f1a9db4868-exchange.chunk.js +0 -1
- package/dist/scripts/782-2c340d8404-exchange.chunk.js +0 -1
- package/dist/scripts/831-8808647fc7-exchange.chunk.js +0 -1
- package/dist/scripts/851-61f77ce4aa-exchange.chunk.js +0 -2
- package/dist/scripts/851-61f77ce4aa-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/858-70085ed3b1-exchange.chunk.js +0 -1
- package/dist/scripts/866-14ce8a3a4d-exchange.chunk.js +0 -1
- package/dist/scripts/87-d569a1463e-exchange.chunk.js +0 -1
- package/dist/scripts/877-5b357aeb63-exchange.chunk.js +0 -1
- package/dist/scripts/904-bd1dfd39e0-exchange.chunk.js +0 -1
- package/dist/scripts/925-f70ee1c7f9-exchange.chunk.js +0 -1
- package/dist/scripts/937-2e1f1f330e-exchange.chunk.js +0 -1
- package/dist/scripts/95-841a847f54-exchange.chunk.js +0 -2
- package/dist/scripts/95-841a847f54-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/bundle-15f20b2d26.min.js +0 -2
- package/dist/scripts/bundle-15f20b2d26.min.js.LICENSE.txt +0 -108
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/GiveFeedbackView-C05VDJBO.js","scripts/UseAlerts-CvkkojNb.js","scripts/PermissionFilterOption-pkzD5BEm.js","scripts/InstanceRegion-CJ3oIQlG.js","scripts/UseHover-CvNCFvZV.js","scripts/FormField-BefWo_kh.js","scripts/VisibleOnSvg-BuD3Reup.js","css/FormField-CY0yvCW4.css","scripts/GroupSvg-CF5_JUEf.js","scripts/FormFeedback-CSSo249E.js","scripts/CloseSvg-MoBnROf1.js","scripts/ClassNameHelper-C1RD6ZYU.js","scripts/IconCircle-Bl2iLV5f.js","css/IconCircle-jbMisi9r.css","scripts/MasterTypeHelper-C89Dh71u.js","scripts/index-C9eYzTFT.js","scripts/SearchSvg-BVG6NbDK.js","scripts/MediaQueries-_sYSSSUN.js","scripts/TypeHelper-B668bf5B.js","css/GiveFeedbackView-CifDVjr-.css","scripts/ExchangeView-DCrYAO5x.js","scripts/UseFetchAll-gFCX5FgS.js","scripts/Caret-BRrDlj-2.js","css/Caret-C2R4QydJ.css","scripts/Actions-DU6xcKNt.js","css/Actions-BPdg7JW4.css","scripts/DragDropMoveWrapper-Dsd-8vE3.js","scripts/useBreakpoints-BALX55hP.js","scripts/LazyImage-BuPwkT8t.js","css/LazyImage-CC5F5C8O.css","css/useBreakpoints-CCsCPLDG.css","scripts/UseSelectAllPages-lGahuUoo.js","css/UseSelectAllPages-C7XoyEPr.css","css/UseFetchAll-BIeUeS4h.css","scripts/LibraryRequests-CIFsh_TC.js","scripts/UseHandleObjectError-BX2Mxo9Q.js","scripts/HttpErrorHandlers-CXQ82gVO.js","scripts/ExchangeSearchBar-BetVWbNL.js","css/ExchangeSearchBar-DL_jCfRl.css","scripts/ExchangeTabs-CQC3f-18.js","scripts/PillTabSelector-0Eg1sgXj.js","scripts/Badge-kRGAgSgq.js","scripts/CurationStatus-BlDVEZsX.js","scripts/RestrictionHelper-FFW66EYt.js","css/RestrictionHelper-BiRz4h1c.css","css/PillTabSelector-DlOtoSz0.css","scripts/ExchangeRequests-CaMKspLi.js","scripts/SharedSearchHelper-OTwt6mVX.js","scripts/ExchangeUtils-BXtQ6ui-.js","scripts/ExchangeFolderView-BpMNAmMQ.js","scripts/VideoList-DqqHxoXh.js","scripts/UseGetMediaQueryString-CtMZxiJN.js","scripts/ChevronDownSvg-PWL_4rOb.js","css/UseGetMediaQueryString-CrSv-tYo.css","scripts/ScrollHelper-DdBBQJML.js","scripts/VideoHelper-CCZMG1XL.js","scripts/VideoRequests-vwphYsR4.js","scripts/BadgeListContainer-B-qdl_Qj.js","scripts/LinkifyHelper-DXhtCX0t.js","css/LinkifyHelper-DI4l_5OJ.css","scripts/HardCoded-NS2B_WZd.js","css/VideoList-DJ07F3NX.css","scripts/useGetExchangeActions-BtGC0q85.js","scripts/VideoSortSelect-DVdIHmhA.js","scripts/PartialLoadingHelper-jX9dOBvb.js","scripts/ExchangeSeriesView-b1ayep0S.js","scripts/ExchangeSearchResultsView-GbfK9RDh.js","scripts/TagItem-D-T5Jgxc.js","css/TagItem-DD13UQOa.css","scripts/SearchFilters-FlVReO0V.js","scripts/ButtonGroup-Pz8uSjml.js","css/SearchFilters-DKLFGlDI.css","scripts/RatingRequests-DE77YS3s.js","css/ExchangeSearchResultsView-fap4f8w8.css","scripts/ExchangeMostRecentView-DQH8FDqI.js","scripts/ExchangePreviewView-Od2pV8fa.js","scripts/UseHandleDialogError-DyBOBdQw.js","scripts/PreviewVideoDetails-DYcfSG9C.js","scripts/DownloadHelper-tNp3R89-.js","scripts/TvAdFreeBadge-CK6vQXKI.js","css/TvAdFreeBadge-DnhNnDZN.css","scripts/TvChannelBadge-pBwnbFcb.js","css/TvChannelBadge-BDOTXlob.css","scripts/TvProgramTimeBadge-spEPk9Ci.js","scripts/toLocalTime-pPGBAyPL.js","css/TvProgramTimeBadge-zFa1fH-z.css","css/PreviewVideoDetails-CLoNhAp2.css","scripts/usePreviewContext-B5fK7PxW.js","scripts/ExchangeAddView-CwHPqfoQ.js","scripts/ExchangeSuggestEditView-3CoGs1xA.js","scripts/FormButtons-Bgi1UFwH.js","scripts/useVerifiedEmailRequiredErrorHandler-BON6gc7P.js","scripts/DownloadVideoView-Dcsxo22U.js","scripts/AddToLibraryView-BbpiFnD1.js","css/AddToLibraryView-BBV1d-ZI.css","scripts/TvHomeView-B_wgL0pd.js","scripts/useSelectedRegion-h9Rl12Z2.js","scripts/TvRequests-DGpJhsk0.js","scripts/TvChannelsView-eH68B1en.js","scripts/TvTabs-CwSo_jRg.js","scripts/TvSearchBar-DeJpQCLg.js","css/TvSearchBar-Ci6HCTb5.css","scripts/useHandleRegionError-CaGlG48W.js","scripts/getRegionInfo-BBAErHX7.js","css/TvChannelsView-w4TLT4f5.css","scripts/TvChannelView-fMD7YYjb.js","scripts/ProgramType-ClR23Av6.js","css/ProgramType-B57G3PZD.css","css/TvChannelView-DRlDmMhN.css","scripts/TvProgramsView-CIGHzdBW.js","css/TvProgramsView-Bt3pBBLn.css","scripts/TvSearchResultsView-C2maqf2-.js","scripts/useGetTvActions-Cx_DXvlg.js","css/TvSearchResultsView-DGyCCqtO.css","scripts/TvPreviewView-DG7HOmV0.js","scripts/TvAddView-B1D9QlK5.js","css/TvAddView-fs02hBfZ.css","scripts/TvAdFreeRequestView-DI72pb_f.js","scripts/TvBroadcastContentView-BdIK-pK2.js","css/TvBroadcastContentView-CDiJwtuL.css","scripts/TvAlreadyAddedView-DFqGZwQO.js","css/TvAlreadyAddedView-Dkh6sNpi.css","scripts/TvRequestProgramView-D4tAgJGb.js","scripts/TvRadioDownloadView-BBjF31yx.js","scripts/TvGuideView-CTuQRLzy.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var IF=Object.defineProperty;var PF=(e,t,r)=>t in e?IF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _a=(e,t,r)=>PF(e,typeof t!="symbol"?t+"":t,r);var ka=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function kF(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Dh={exports:{}};/*!
|
|
3
|
+
* jQuery JavaScript Library v3.7.1
|
|
4
|
+
* https://jquery.com/
|
|
5
|
+
*
|
|
6
|
+
* Copyright OpenJS Foundation and other contributors
|
|
7
|
+
* Released under the MIT license
|
|
8
|
+
* https://jquery.org/license
|
|
9
|
+
*
|
|
10
|
+
* Date: 2023-08-28T13:37Z
|
|
11
|
+
*/var LF=Dh.exports,Lx;function YP(){return Lx||(Lx=1,function(e){(function(t,r){e.exports=t.document?r(t,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return r(n)}})(typeof window<"u"?window:LF,function(t,r){var n=[],o=Object.getPrototypeOf,a=n.slice,u=n.flat?function(h){return n.flat.call(h)}:function(h){return n.concat.apply([],h)},f=n.push,l=n.indexOf,d={},v=d.toString,p=d.hasOwnProperty,w=p.toString,x=w.call(Object),C={},E=function(m){return typeof m=="function"&&typeof m.nodeType!="number"&&typeof m.item!="function"},S=function(m){return m!=null&&m===m.window},I=t.document,D={type:!0,src:!0,nonce:!0,noModule:!0};function H(h,m,_){_=_||I;var O,U,W=_.createElement("script");if(W.text=h,m)for(O in D)U=m[O]||m.getAttribute&&m.getAttribute(O),U&&W.setAttribute(O,U);_.head.appendChild(W).parentNode.removeChild(W)}function V(h){return h==null?h+"":typeof h=="object"||typeof h=="function"?d[v.call(h)]||"object":typeof h}var M="3.7.1",G=/HTML$/i,y=function(h,m){return new y.fn.init(h,m)};y.fn=y.prototype={jquery:M,constructor:y,length:0,toArray:function(){return a.call(this)},get:function(h){return h==null?a.call(this):h<0?this[h+this.length]:this[h]},pushStack:function(h){var m=y.merge(this.constructor(),h);return m.prevObject=this,m},each:function(h){return y.each(this,h)},map:function(h){return this.pushStack(y.map(this,function(m,_){return h.call(m,_,m)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(y.grep(this,function(h,m){return(m+1)%2}))},odd:function(){return this.pushStack(y.grep(this,function(h,m){return m%2}))},eq:function(h){var m=this.length,_=+h+(h<0?m:0);return this.pushStack(_>=0&&_<m?[this[_]]:[])},end:function(){return this.prevObject||this.constructor()},push:f,sort:n.sort,splice:n.splice},y.extend=y.fn.extend=function(){var h,m,_,O,U,W,Y=arguments[0]||{},xe=1,we=arguments.length,ke=!1;for(typeof Y=="boolean"&&(ke=Y,Y=arguments[xe]||{},xe++),typeof Y!="object"&&!E(Y)&&(Y={}),xe===we&&(Y=this,xe--);xe<we;xe++)if((h=arguments[xe])!=null)for(m in h)O=h[m],!(m==="__proto__"||Y===O)&&(ke&&O&&(y.isPlainObject(O)||(U=Array.isArray(O)))?(_=Y[m],U&&!Array.isArray(_)?W=[]:!U&&!y.isPlainObject(_)?W={}:W=_,U=!1,Y[m]=y.extend(ke,W,O)):O!==void 0&&(Y[m]=O));return Y},y.extend({expando:"jQuery"+(M+Math.random()).replace(/\D/g,""),isReady:!0,error:function(h){throw new Error(h)},noop:function(){},isPlainObject:function(h){var m,_;return!h||v.call(h)!=="[object Object]"?!1:(m=o(h),m?(_=p.call(m,"constructor")&&m.constructor,typeof _=="function"&&w.call(_)===x):!0)},isEmptyObject:function(h){var m;for(m in h)return!1;return!0},globalEval:function(h,m,_){H(h,{nonce:m&&m.nonce},_)},each:function(h,m){var _,O=0;if(Z(h))for(_=h.length;O<_&&m.call(h[O],O,h[O])!==!1;O++);else for(O in h)if(m.call(h[O],O,h[O])===!1)break;return h},text:function(h){var m,_="",O=0,U=h.nodeType;if(!U)for(;m=h[O++];)_+=y.text(m);return U===1||U===11?h.textContent:U===9?h.documentElement.textContent:U===3||U===4?h.nodeValue:_},makeArray:function(h,m){var _=m||[];return h!=null&&(Z(Object(h))?y.merge(_,typeof h=="string"?[h]:h):f.call(_,h)),_},inArray:function(h,m,_){return m==null?-1:l.call(m,h,_)},isXMLDoc:function(h){var m=h&&h.namespaceURI,_=h&&(h.ownerDocument||h).documentElement;return!G.test(m||_&&_.nodeName||"HTML")},merge:function(h,m){for(var _=+m.length,O=0,U=h.length;O<_;O++)h[U++]=m[O];return h.length=U,h},grep:function(h,m,_){for(var O,U=[],W=0,Y=h.length,xe=!_;W<Y;W++)O=!m(h[W],W),O!==xe&&U.push(h[W]);return U},map:function(h,m,_){var O,U,W=0,Y=[];if(Z(h))for(O=h.length;W<O;W++)U=m(h[W],W,_),U!=null&&Y.push(U);else for(W in h)U=m(h[W],W,_),U!=null&&Y.push(U);return u(Y)},guid:1,support:C}),typeof Symbol=="function"&&(y.fn[Symbol.iterator]=n[Symbol.iterator]),y.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(h,m){d["[object "+m+"]"]=m.toLowerCase()});function Z(h){var m=!!h&&"length"in h&&h.length,_=V(h);return E(h)||S(h)?!1:_==="array"||m===0||typeof m=="number"&&m>0&&m-1 in h}function ae(h,m){return h.nodeName&&h.nodeName.toLowerCase()===m.toLowerCase()}var ce=n.pop,ie=n.sort,de=n.splice,ge="[\\x20\\t\\r\\n\\f]",me=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");y.contains=function(h,m){var _=m&&m.parentNode;return h===_||!!(_&&_.nodeType===1&&(h.contains?h.contains(_):h.compareDocumentPosition&&h.compareDocumentPosition(_)&16))};var ye=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function be(h,m){return m?h==="\0"?"�":h.slice(0,-1)+"\\"+h.charCodeAt(h.length-1).toString(16)+" ":"\\"+h}y.escapeSelector=function(h){return(h+"").replace(ye,be)};var Ae=I,re=f;(function(){var h,m,_,O,U,W=re,Y,xe,we,ke,Je,tt=y.expando,Be=0,pt=0,Wt=Qa(),Er=Qa(),or=Qa(),gn=Qa(),hn=function(le,Pe){return le===Pe&&(U=!0),0},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",K="\\["+ge+"*("+B+")(?:"+ge+"*([*^$|!~]?=)"+ge+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+B+"))|)"+ge+"*\\]",_e=":("+B+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+K+")*)|.*)\\)|)",Ne=new RegExp(ge+"+","g"),Me=new RegExp("^"+ge+"*,"+ge+"*"),it=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),vt=new RegExp(ge+"|>"),Ft=new RegExp(_e),nr=new RegExp("^"+B+"$"),qt={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+K),PSEUDO:new RegExp("^"+_e),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},Gr=/^(?:input|select|textarea|button)$/i,vn=/^h\d$/i,rn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_c=/[+~]/,$o=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),Fo=function(le,Pe){var ze="0x"+le.slice(1)-65536;return Pe||(ze<0?String.fromCharCode(ze+65536):String.fromCharCode(ze>>10|55296,ze&1023|56320))},Rg=function(){ns()},bc=os(function(le){return le.disabled===!0&&ae(le,"fieldset")},{dir:"parentNode",next:"legend"});function Xa(){try{return Y.activeElement}catch{}}try{W.apply(n=a.call(Ae.childNodes),Ae.childNodes),n[Ae.childNodes.length].nodeType}catch{W={apply:function(Pe,ze){re.apply(Pe,a.call(ze))},call:function(Pe){re.apply(Pe,a.call(arguments,1))}}}function Vr(le,Pe,ze,Xe){var nt,_t,bt,It,At,mr,Xt,tr=Pe&&Pe.ownerDocument,hr=Pe?Pe.nodeType:9;if(ze=ze||[],typeof le!="string"||!le||hr!==1&&hr!==9&&hr!==11)return ze;if(!Xe&&(ns(Pe),Pe=Pe||Y,we)){if(hr!==11&&(At=rn.exec(le)))if(nt=At[1]){if(hr===9)if(bt=Pe.getElementById(nt)){if(bt.id===nt)return W.call(ze,bt),ze}else return ze;else if(tr&&(bt=tr.getElementById(nt))&&Vr.contains(Pe,bt)&&bt.id===nt)return W.call(ze,bt),ze}else{if(At[2])return W.apply(ze,Pe.getElementsByTagName(le)),ze;if((nt=At[3])&&Pe.getElementsByClassName)return W.apply(ze,Pe.getElementsByClassName(nt)),ze}if(!gn[le+" "]&&(!ke||!ke.test(le))){if(Xt=le,tr=Pe,hr===1&&(vt.test(le)||it.test(le))){for(tr=_c.test(le)&&xc(Pe.parentNode)||Pe,(tr!=Pe||!C.scope)&&((It=Pe.getAttribute("id"))?It=y.escapeSelector(It):Pe.setAttribute("id",It=tt)),mr=ua(le),_t=mr.length;_t--;)mr[_t]=(It?"#"+It:":scope")+" "+is(mr[_t]);Xt=mr.join(",")}try{return W.apply(ze,tr.querySelectorAll(Xt)),ze}catch{gn(le,!0)}finally{It===tt&&Pe.removeAttribute("id")}}}return Rc(le.replace(me,"$1"),Pe,ze,Xe)}function Qa(){var le=[];function Pe(ze,Xe){return le.push(ze+" ")>m.cacheLength&&delete Pe[le.shift()],Pe[ze+" "]=Xe}return Pe}function Li(le){return le[tt]=!0,le}function As(le){var Pe=Y.createElement("fieldset");try{return!!le(Pe)}catch{return!1}finally{Pe.parentNode&&Pe.parentNode.removeChild(Pe),Pe=null}}function hd(le){return function(Pe){return ae(Pe,"input")&&Pe.type===le}}function pd(le){return function(Pe){return(ae(Pe,"input")||ae(Pe,"button"))&&Pe.type===le}}function Rs(le){return function(Pe){return"form"in Pe?Pe.parentNode&&Pe.disabled===!1?"label"in Pe?"label"in Pe.parentNode?Pe.parentNode.disabled===le:Pe.disabled===le:Pe.isDisabled===le||Pe.isDisabled!==!le&&bc(Pe)===le:Pe.disabled===le:"label"in Pe?Pe.disabled===le:!1}}function Os(le){return Li(function(Pe){return Pe=+Pe,Li(function(ze,Xe){for(var nt,_t=le([],ze.length,Pe),bt=_t.length;bt--;)ze[nt=_t[bt]]&&(ze[nt]=!(Xe[nt]=ze[nt]))})})}function xc(le){return le&&typeof le.getElementsByTagName<"u"&&le}function ns(le){var Pe,ze=le?le.ownerDocument||le:Ae;return ze==Y||ze.nodeType!==9||!ze.documentElement||(Y=ze,xe=Y.documentElement,we=!y.isXMLDoc(Y),Je=xe.matches||xe.webkitMatchesSelector||xe.msMatchesSelector,xe.msMatchesSelector&&Ae!=Y&&(Pe=Y.defaultView)&&Pe.top!==Pe&&Pe.addEventListener("unload",Rg),C.getById=As(function(Xe){return xe.appendChild(Xe).id=y.expando,!Y.getElementsByName||!Y.getElementsByName(y.expando).length}),C.disconnectedMatch=As(function(Xe){return Je.call(Xe,"*")}),C.scope=As(function(){return Y.querySelectorAll(":scope")}),C.cssHas=As(function(){try{return Y.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),C.getById?(m.filter.ID=function(Xe){var nt=Xe.replace($o,Fo);return function(_t){return _t.getAttribute("id")===nt}},m.find.ID=function(Xe,nt){if(typeof nt.getElementById<"u"&&we){var _t=nt.getElementById(Xe);return _t?[_t]:[]}}):(m.filter.ID=function(Xe){var nt=Xe.replace($o,Fo);return function(_t){var bt=typeof _t.getAttributeNode<"u"&&_t.getAttributeNode("id");return bt&&bt.value===nt}},m.find.ID=function(Xe,nt){if(typeof nt.getElementById<"u"&&we){var _t,bt,It,At=nt.getElementById(Xe);if(At){if(_t=At.getAttributeNode("id"),_t&&_t.value===Xe)return[At];for(It=nt.getElementsByName(Xe),bt=0;At=It[bt++];)if(_t=At.getAttributeNode("id"),_t&&_t.value===Xe)return[At]}return[]}}),m.find.TAG=function(Xe,nt){return typeof nt.getElementsByTagName<"u"?nt.getElementsByTagName(Xe):nt.querySelectorAll(Xe)},m.find.CLASS=function(Xe,nt){if(typeof nt.getElementsByClassName<"u"&&we)return nt.getElementsByClassName(Xe)},ke=[],As(function(Xe){var nt;xe.appendChild(Xe).innerHTML="<a id='"+tt+"' href='' disabled='disabled'></a><select id='"+tt+"-\r\\' disabled='disabled'><option selected=''></option></select>",Xe.querySelectorAll("[selected]").length||ke.push("\\["+ge+"*(?:value|"+R+")"),Xe.querySelectorAll("[id~="+tt+"-]").length||ke.push("~="),Xe.querySelectorAll("a#"+tt+"+*").length||ke.push(".#.+[+~]"),Xe.querySelectorAll(":checked").length||ke.push(":checked"),nt=Y.createElement("input"),nt.setAttribute("type","hidden"),Xe.appendChild(nt).setAttribute("name","D"),xe.appendChild(Xe).disabled=!0,Xe.querySelectorAll(":disabled").length!==2&&ke.push(":enabled",":disabled"),nt=Y.createElement("input"),nt.setAttribute("name",""),Xe.appendChild(nt),Xe.querySelectorAll("[name='']").length||ke.push("\\["+ge+"*name"+ge+"*="+ge+`*(?:''|"")`)}),C.cssHas||ke.push(":has"),ke=ke.length&&new RegExp(ke.join("|")),hn=function(Xe,nt){if(Xe===nt)return U=!0,0;var _t=!Xe.compareDocumentPosition-!nt.compareDocumentPosition;return _t||(_t=(Xe.ownerDocument||Xe)==(nt.ownerDocument||nt)?Xe.compareDocumentPosition(nt):1,_t&1||!C.sortDetached&&nt.compareDocumentPosition(Xe)===_t?Xe===Y||Xe.ownerDocument==Ae&&Vr.contains(Ae,Xe)?-1:nt===Y||nt.ownerDocument==Ae&&Vr.contains(Ae,nt)?1:O?l.call(O,Xe)-l.call(O,nt):0:_t&4?-1:1)}),Y}Vr.matches=function(le,Pe){return Vr(le,null,null,Pe)},Vr.matchesSelector=function(le,Pe){if(ns(le),we&&!gn[Pe+" "]&&(!ke||!ke.test(Pe)))try{var ze=Je.call(le,Pe);if(ze||C.disconnectedMatch||le.document&&le.document.nodeType!==11)return ze}catch{gn(Pe,!0)}return Vr(Pe,Y,null,[le]).length>0},Vr.contains=function(le,Pe){return(le.ownerDocument||le)!=Y&&ns(le),y.contains(le,Pe)},Vr.attr=function(le,Pe){(le.ownerDocument||le)!=Y&&ns(le);var ze=m.attrHandle[Pe.toLowerCase()],Xe=ze&&p.call(m.attrHandle,Pe.toLowerCase())?ze(le,Pe,!we):void 0;return Xe!==void 0?Xe:le.getAttribute(Pe)},Vr.error=function(le){throw new Error("Syntax error, unrecognized expression: "+le)},y.uniqueSort=function(le){var Pe,ze=[],Xe=0,nt=0;if(U=!C.sortStable,O=!C.sortStable&&a.call(le,0),ie.call(le,hn),U){for(;Pe=le[nt++];)Pe===le[nt]&&(Xe=ze.push(nt));for(;Xe--;)de.call(le,ze[Xe],1)}return O=null,le},y.fn.uniqueSort=function(){return this.pushStack(y.uniqueSort(a.apply(this)))},m=y.expr={cacheLength:50,createPseudo:Li,match:qt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(le){return le[1]=le[1].replace($o,Fo),le[3]=(le[3]||le[4]||le[5]||"").replace($o,Fo),le[2]==="~="&&(le[3]=" "+le[3]+" "),le.slice(0,4)},CHILD:function(le){return le[1]=le[1].toLowerCase(),le[1].slice(0,3)==="nth"?(le[3]||Vr.error(le[0]),le[4]=+(le[4]?le[5]+(le[6]||1):2*(le[3]==="even"||le[3]==="odd")),le[5]=+(le[7]+le[8]||le[3]==="odd")):le[3]&&Vr.error(le[0]),le},PSEUDO:function(le){var Pe,ze=!le[6]&&le[2];return qt.CHILD.test(le[0])?null:(le[3]?le[2]=le[4]||le[5]||"":ze&&Ft.test(ze)&&(Pe=ua(ze,!0))&&(Pe=ze.indexOf(")",ze.length-Pe)-ze.length)&&(le[0]=le[0].slice(0,Pe),le[2]=ze.slice(0,Pe)),le.slice(0,3))}},filter:{TAG:function(le){var Pe=le.replace($o,Fo).toLowerCase();return le==="*"?function(){return!0}:function(ze){return ae(ze,Pe)}},CLASS:function(le){var Pe=Wt[le+" "];return Pe||(Pe=new RegExp("(^|"+ge+")"+le+"("+ge+"|$)"))&&Wt(le,function(ze){return Pe.test(typeof ze.className=="string"&&ze.className||typeof ze.getAttribute<"u"&&ze.getAttribute("class")||"")})},ATTR:function(le,Pe,ze){return function(Xe){var nt=Vr.attr(Xe,le);return nt==null?Pe==="!=":Pe?(nt+="",Pe==="="?nt===ze:Pe==="!="?nt!==ze:Pe==="^="?ze&&nt.indexOf(ze)===0:Pe==="*="?ze&&nt.indexOf(ze)>-1:Pe==="$="?ze&&nt.slice(-ze.length)===ze:Pe==="~="?(" "+nt.replace(Ne," ")+" ").indexOf(ze)>-1:Pe==="|="?nt===ze||nt.slice(0,ze.length+1)===ze+"-":!1):!0}},CHILD:function(le,Pe,ze,Xe,nt){var _t=le.slice(0,3)!=="nth",bt=le.slice(-4)!=="last",It=Pe==="of-type";return Xe===1&&nt===0?function(At){return!!At.parentNode}:function(At,mr,Xt){var tr,hr,Bt,Qr,Tn,Nn=_t!==bt?"nextSibling":"previousSibling",qn=At.parentNode,Di=It&&At.nodeName.toLowerCase(),Is=!Xt&&!It,Mn=!1;if(qn){if(_t){for(;Nn;){for(Bt=At;Bt=Bt[Nn];)if(It?ae(Bt,Di):Bt.nodeType===1)return!1;Tn=Nn=le==="only"&&!Tn&&"nextSibling"}return!0}if(Tn=[bt?qn.firstChild:qn.lastChild],bt&&Is){for(hr=qn[tt]||(qn[tt]={}),tr=hr[le]||[],Qr=tr[0]===Be&&tr[1],Mn=Qr&&tr[2],Bt=Qr&&qn.childNodes[Qr];Bt=++Qr&&Bt&&Bt[Nn]||(Mn=Qr=0)||Tn.pop();)if(Bt.nodeType===1&&++Mn&&Bt===At){hr[le]=[Be,Qr,Mn];break}}else if(Is&&(hr=At[tt]||(At[tt]={}),tr=hr[le]||[],Qr=tr[0]===Be&&tr[1],Mn=Qr),Mn===!1)for(;(Bt=++Qr&&Bt&&Bt[Nn]||(Mn=Qr=0)||Tn.pop())&&!((It?ae(Bt,Di):Bt.nodeType===1)&&++Mn&&(Is&&(hr=Bt[tt]||(Bt[tt]={}),hr[le]=[Be,Mn]),Bt===At)););return Mn-=nt,Mn===Xe||Mn%Xe===0&&Mn/Xe>=0}}},PSEUDO:function(le,Pe){var ze,Xe=m.pseudos[le]||m.setFilters[le.toLowerCase()]||Vr.error("unsupported pseudo: "+le);return Xe[tt]?Xe(Pe):Xe.length>1?(ze=[le,le,"",Pe],m.setFilters.hasOwnProperty(le.toLowerCase())?Li(function(nt,_t){for(var bt,It=Xe(nt,Pe),At=It.length;At--;)bt=l.call(nt,It[At]),nt[bt]=!(_t[bt]=It[At])}):function(nt){return Xe(nt,0,ze)}):Xe}},pseudos:{not:Li(function(le){var Pe=[],ze=[],Xe=al(le.replace(me,"$1"));return Xe[tt]?Li(function(nt,_t,bt,It){for(var At,mr=Xe(nt,null,It,[]),Xt=nt.length;Xt--;)(At=mr[Xt])&&(nt[Xt]=!(_t[Xt]=At))}):function(nt,_t,bt){return Pe[0]=nt,Xe(Pe,null,bt,ze),Pe[0]=null,!ze.pop()}}),has:Li(function(le){return function(Pe){return Vr(le,Pe).length>0}}),contains:Li(function(le){return le=le.replace($o,Fo),function(Pe){return(Pe.textContent||y.text(Pe)).indexOf(le)>-1}}),lang:Li(function(le){return nr.test(le||"")||Vr.error("unsupported lang: "+le),le=le.replace($o,Fo).toLowerCase(),function(Pe){var ze;do if(ze=we?Pe.lang:Pe.getAttribute("xml:lang")||Pe.getAttribute("lang"))return ze=ze.toLowerCase(),ze===le||ze.indexOf(le+"-")===0;while((Pe=Pe.parentNode)&&Pe.nodeType===1);return!1}}),target:function(le){var Pe=t.location&&t.location.hash;return Pe&&Pe.slice(1)===le.id},root:function(le){return le===xe},focus:function(le){return le===Xa()&&Y.hasFocus()&&!!(le.type||le.href||~le.tabIndex)},enabled:Rs(!1),disabled:Rs(!0),checked:function(le){return ae(le,"input")&&!!le.checked||ae(le,"option")&&!!le.selected},selected:function(le){return le.parentNode&&le.parentNode.selectedIndex,le.selected===!0},empty:function(le){for(le=le.firstChild;le;le=le.nextSibling)if(le.nodeType<6)return!1;return!0},parent:function(le){return!m.pseudos.empty(le)},header:function(le){return vn.test(le.nodeName)},input:function(le){return Gr.test(le.nodeName)},button:function(le){return ae(le,"input")&&le.type==="button"||ae(le,"button")},text:function(le){var Pe;return ae(le,"input")&&le.type==="text"&&((Pe=le.getAttribute("type"))==null||Pe.toLowerCase()==="text")},first:Os(function(){return[0]}),last:Os(function(le,Pe){return[Pe-1]}),eq:Os(function(le,Pe,ze){return[ze<0?ze+Pe:ze]}),even:Os(function(le,Pe){for(var ze=0;ze<Pe;ze+=2)le.push(ze);return le}),odd:Os(function(le,Pe){for(var ze=1;ze<Pe;ze+=2)le.push(ze);return le}),lt:Os(function(le,Pe,ze){var Xe;for(ze<0?Xe=ze+Pe:ze>Pe?Xe=Pe:Xe=ze;--Xe>=0;)le.push(Xe);return le}),gt:Os(function(le,Pe,ze){for(var Xe=ze<0?ze+Pe:ze;++Xe<Pe;)le.push(Xe);return le})}},m.pseudos.nth=m.pseudos.eq;for(h in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})m.pseudos[h]=hd(h);for(h in{submit:!0,reset:!0})m.pseudos[h]=pd(h);function Cc(){}Cc.prototype=m.filters=m.pseudos,m.setFilters=new Cc;function ua(le,Pe){var ze,Xe,nt,_t,bt,It,At,mr=Er[le+" "];if(mr)return Pe?0:mr.slice(0);for(bt=le,It=[],At=m.preFilter;bt;){(!ze||(Xe=Me.exec(bt)))&&(Xe&&(bt=bt.slice(Xe[0].length)||bt),It.push(nt=[])),ze=!1,(Xe=it.exec(bt))&&(ze=Xe.shift(),nt.push({value:ze,type:Xe[0].replace(me," ")}),bt=bt.slice(ze.length));for(_t in m.filter)(Xe=qt[_t].exec(bt))&&(!At[_t]||(Xe=At[_t](Xe)))&&(ze=Xe.shift(),nt.push({value:ze,type:_t,matches:Xe}),bt=bt.slice(ze.length));if(!ze)break}return Pe?bt.length:bt?Vr.error(le):Er(le,It).slice(0)}function is(le){for(var Pe=0,ze=le.length,Xe="";Pe<ze;Pe++)Xe+=le[Pe].value;return Xe}function os(le,Pe,ze){var Xe=Pe.dir,nt=Pe.next,_t=nt||Xe,bt=ze&&_t==="parentNode",It=pt++;return Pe.first?function(At,mr,Xt){for(;At=At[Xe];)if(At.nodeType===1||bt)return le(At,mr,Xt);return!1}:function(At,mr,Xt){var tr,hr,Bt=[Be,It];if(Xt){for(;At=At[Xe];)if((At.nodeType===1||bt)&&le(At,mr,Xt))return!0}else for(;At=At[Xe];)if(At.nodeType===1||bt)if(hr=At[tt]||(At[tt]={}),nt&&ae(At,nt))At=At[Xe]||At;else{if((tr=hr[_t])&&tr[0]===Be&&tr[1]===It)return Bt[2]=tr[2];if(hr[_t]=Bt,Bt[2]=le(At,mr,Xt))return!0}return!1}}function Tc(le){return le.length>1?function(Pe,ze,Xe){for(var nt=le.length;nt--;)if(!le[nt](Pe,ze,Xe))return!1;return!0}:le[0]}function il(le,Pe,ze){for(var Xe=0,nt=Pe.length;Xe<nt;Xe++)Vr(le,Pe[Xe],ze);return ze}function ol(le,Pe,ze,Xe,nt){for(var _t,bt=[],It=0,At=le.length,mr=Pe!=null;It<At;It++)(_t=le[It])&&(!ze||ze(_t,Xe,nt))&&(bt.push(_t),mr&&Pe.push(It));return bt}function sl(le,Pe,ze,Xe,nt,_t){return Xe&&!Xe[tt]&&(Xe=sl(Xe)),nt&&!nt[tt]&&(nt=sl(nt,_t)),Li(function(bt,It,At,mr){var Xt,tr,hr,Bt,Qr=[],Tn=[],Nn=It.length,qn=bt||il(Pe||"*",At.nodeType?[At]:At,[]),Di=le&&(bt||!Pe)?ol(qn,Qr,le,At,mr):qn;if(ze?(Bt=nt||(bt?le:Nn||Xe)?[]:It,ze(Di,Bt,At,mr)):Bt=Di,Xe)for(Xt=ol(Bt,Tn),Xe(Xt,[],At,mr),tr=Xt.length;tr--;)(hr=Xt[tr])&&(Bt[Tn[tr]]=!(Di[Tn[tr]]=hr));if(bt){if(nt||le){if(nt){for(Xt=[],tr=Bt.length;tr--;)(hr=Bt[tr])&&Xt.push(Di[tr]=hr);nt(null,Bt=[],Xt,mr)}for(tr=Bt.length;tr--;)(hr=Bt[tr])&&(Xt=nt?l.call(bt,hr):Qr[tr])>-1&&(bt[Xt]=!(It[Xt]=hr))}}else Bt=ol(Bt===It?Bt.splice(Nn,Bt.length):Bt),nt?nt(null,It,Bt,mr):W.apply(It,Bt)})}function Ja(le){for(var Pe,ze,Xe,nt=le.length,_t=m.relative[le[0].type],bt=_t||m.relative[" "],It=_t?1:0,At=os(function(tr){return tr===Pe},bt,!0),mr=os(function(tr){return l.call(Pe,tr)>-1},bt,!0),Xt=[function(tr,hr,Bt){var Qr=!_t&&(Bt||hr!=_)||((Pe=hr).nodeType?At(tr,hr,Bt):mr(tr,hr,Bt));return Pe=null,Qr}];It<nt;It++)if(ze=m.relative[le[It].type])Xt=[os(Tc(Xt),ze)];else{if(ze=m.filter[le[It].type].apply(null,le[It].matches),ze[tt]){for(Xe=++It;Xe<nt&&!m.relative[le[Xe].type];Xe++);return sl(It>1&&Tc(Xt),It>1&&is(le.slice(0,It-1).concat({value:le[It-2].type===" "?"*":""})).replace(me,"$1"),ze,It<Xe&&Ja(le.slice(It,Xe)),Xe<nt&&Ja(le=le.slice(Xe)),Xe<nt&&is(le))}Xt.push(ze)}return Tc(Xt)}function Ac(le,Pe){var ze=Pe.length>0,Xe=le.length>0,nt=function(_t,bt,It,At,mr){var Xt,tr,hr,Bt=0,Qr="0",Tn=_t&&[],Nn=[],qn=_,Di=_t||Xe&&m.find.TAG("*",mr),Is=Be+=qn==null?1:Math.random()||.1,Mn=Di.length;for(mr&&(_=bt==Y||bt||mr);Qr!==Mn&&(Xt=Di[Qr])!=null;Qr++){if(Xe&&Xt){for(tr=0,!bt&&Xt.ownerDocument!=Y&&(ns(Xt),It=!we);hr=le[tr++];)if(hr(Xt,bt||Y,It)){W.call(At,Xt);break}mr&&(Be=Is)}ze&&((Xt=!hr&&Xt)&&Bt--,_t&&Tn.push(Xt))}if(Bt+=Qr,ze&&Qr!==Bt){for(tr=0;hr=Pe[tr++];)hr(Tn,Nn,bt,It);if(_t){if(Bt>0)for(;Qr--;)Tn[Qr]||Nn[Qr]||(Nn[Qr]=ce.call(At));Nn=ol(Nn)}W.apply(At,Nn),mr&&!_t&&Nn.length>0&&Bt+Pe.length>1&&y.uniqueSort(At)}return mr&&(Be=Is,_=qn),Tn};return ze?Li(nt):nt}function al(le,Pe){var ze,Xe=[],nt=[],_t=or[le+" "];if(!_t){for(Pe||(Pe=ua(le)),ze=Pe.length;ze--;)_t=Ja(Pe[ze]),_t[tt]?Xe.push(_t):nt.push(_t);_t=or(le,Ac(nt,Xe)),_t.selector=le}return _t}function Rc(le,Pe,ze,Xe){var nt,_t,bt,It,At,mr=typeof le=="function"&&le,Xt=!Xe&&ua(le=mr.selector||le);if(ze=ze||[],Xt.length===1){if(_t=Xt[0]=Xt[0].slice(0),_t.length>2&&(bt=_t[0]).type==="ID"&&Pe.nodeType===9&&we&&m.relative[_t[1].type]){if(Pe=(m.find.ID(bt.matches[0].replace($o,Fo),Pe)||[])[0],Pe)mr&&(Pe=Pe.parentNode);else return ze;le=le.slice(_t.shift().value.length)}for(nt=qt.needsContext.test(le)?0:_t.length;nt--&&(bt=_t[nt],!m.relative[It=bt.type]);)if((At=m.find[It])&&(Xe=At(bt.matches[0].replace($o,Fo),_c.test(_t[0].type)&&xc(Pe.parentNode)||Pe))){if(_t.splice(nt,1),le=Xe.length&&is(_t),!le)return W.apply(ze,Xe),ze;break}}return(mr||al(le,Xt))(Xe,Pe,!we,ze,!Pe||_c.test(le)&&xc(Pe.parentNode)||Pe),ze}C.sortStable=tt.split("").sort(hn).join("")===tt,ns(),C.sortDetached=As(function(le){return le.compareDocumentPosition(Y.createElement("fieldset"))&1}),y.find=Vr,y.expr[":"]=y.expr.pseudos,y.unique=y.uniqueSort,Vr.compile=al,Vr.select=Rc,Vr.setDocument=ns,Vr.tokenize=ua,Vr.escape=y.escapeSelector,Vr.getText=y.text,Vr.isXML=y.isXMLDoc,Vr.selectors=y.expr,Vr.support=y.support,Vr.uniqueSort=y.uniqueSort})();var Ee=function(h,m,_){for(var O=[],U=_!==void 0;(h=h[m])&&h.nodeType!==9;)if(h.nodeType===1){if(U&&y(h).is(_))break;O.push(h)}return O},X=function(h,m){for(var _=[];h;h=h.nextSibling)h.nodeType===1&&h!==m&&_.push(h);return _},Re=y.expr.match.needsContext,qe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Qe(h,m,_){return E(m)?y.grep(h,function(O,U){return!!m.call(O,U,O)!==_}):m.nodeType?y.grep(h,function(O){return O===m!==_}):typeof m!="string"?y.grep(h,function(O){return l.call(m,O)>-1!==_}):y.filter(m,h,_)}y.filter=function(h,m,_){var O=m[0];return _&&(h=":not("+h+")"),m.length===1&&O.nodeType===1?y.find.matchesSelector(O,h)?[O]:[]:y.find.matches(h,y.grep(m,function(U){return U.nodeType===1}))},y.fn.extend({find:function(h){var m,_,O=this.length,U=this;if(typeof h!="string")return this.pushStack(y(h).filter(function(){for(m=0;m<O;m++)if(y.contains(U[m],this))return!0}));for(_=this.pushStack([]),m=0;m<O;m++)y.find(h,U[m],_);return O>1?y.uniqueSort(_):_},filter:function(h){return this.pushStack(Qe(this,h||[],!1))},not:function(h){return this.pushStack(Qe(this,h||[],!0))},is:function(h){return!!Qe(this,typeof h=="string"&&Re.test(h)?y(h):h||[],!1).length}});var et,ut=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,dt=y.fn.init=function(h,m,_){var O,U;if(!h)return this;if(_=_||et,typeof h=="string")if(h[0]==="<"&&h[h.length-1]===">"&&h.length>=3?O=[null,h,null]:O=ut.exec(h),O&&(O[1]||!m))if(O[1]){if(m=m instanceof y?m[0]:m,y.merge(this,y.parseHTML(O[1],m&&m.nodeType?m.ownerDocument||m:I,!0)),qe.test(O[1])&&y.isPlainObject(m))for(O in m)E(this[O])?this[O](m[O]):this.attr(O,m[O]);return this}else return U=I.getElementById(O[2]),U&&(this[0]=U,this.length=1),this;else return!m||m.jquery?(m||_).find(h):this.constructor(m).find(h);else{if(h.nodeType)return this[0]=h,this.length=1,this;if(E(h))return _.ready!==void 0?_.ready(h):h(y)}return y.makeArray(h,this)};dt.prototype=y.fn,et=y(I);var F=/^(?:parents|prev(?:Until|All))/,T={children:!0,contents:!0,next:!0,prev:!0};y.fn.extend({has:function(h){var m=y(h,this),_=m.length;return this.filter(function(){for(var O=0;O<_;O++)if(y.contains(this,m[O]))return!0})},closest:function(h,m){var _,O=0,U=this.length,W=[],Y=typeof h!="string"&&y(h);if(!Re.test(h)){for(;O<U;O++)for(_=this[O];_&&_!==m;_=_.parentNode)if(_.nodeType<11&&(Y?Y.index(_)>-1:_.nodeType===1&&y.find.matchesSelector(_,h))){W.push(_);break}}return this.pushStack(W.length>1?y.uniqueSort(W):W)},index:function(h){return h?typeof h=="string"?l.call(y(h),this[0]):l.call(this,h.jquery?h[0]:h):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(h,m){return this.pushStack(y.uniqueSort(y.merge(this.get(),y(h,m))))},addBack:function(h){return this.add(h==null?this.prevObject:this.prevObject.filter(h))}});function N(h,m){for(;(h=h[m])&&h.nodeType!==1;);return h}y.each({parent:function(h){var m=h.parentNode;return m&&m.nodeType!==11?m:null},parents:function(h){return Ee(h,"parentNode")},parentsUntil:function(h,m,_){return Ee(h,"parentNode",_)},next:function(h){return N(h,"nextSibling")},prev:function(h){return N(h,"previousSibling")},nextAll:function(h){return Ee(h,"nextSibling")},prevAll:function(h){return Ee(h,"previousSibling")},nextUntil:function(h,m,_){return Ee(h,"nextSibling",_)},prevUntil:function(h,m,_){return Ee(h,"previousSibling",_)},siblings:function(h){return X((h.parentNode||{}).firstChild,h)},children:function(h){return X(h.firstChild)},contents:function(h){return h.contentDocument!=null&&o(h.contentDocument)?h.contentDocument:(ae(h,"template")&&(h=h.content||h),y.merge([],h.childNodes))}},function(h,m){y.fn[h]=function(_,O){var U=y.map(this,m,_);return h.slice(-5)!=="Until"&&(O=_),O&&typeof O=="string"&&(U=y.filter(O,U)),this.length>1&&(T[h]||y.uniqueSort(U),F.test(h)&&U.reverse()),this.pushStack(U)}});var L=/[^\x20\t\r\n\f]+/g;function q(h){var m={};return y.each(h.match(L)||[],function(_,O){m[O]=!0}),m}y.Callbacks=function(h){h=typeof h=="string"?q(h):y.extend({},h);var m,_,O,U,W=[],Y=[],xe=-1,we=function(){for(U=U||h.once,O=m=!0;Y.length;xe=-1)for(_=Y.shift();++xe<W.length;)W[xe].apply(_[0],_[1])===!1&&h.stopOnFalse&&(xe=W.length,_=!1);h.memory||(_=!1),m=!1,U&&(_?W=[]:W="")},ke={add:function(){return W&&(_&&!m&&(xe=W.length-1,Y.push(_)),function Je(tt){y.each(tt,function(Be,pt){E(pt)?(!h.unique||!ke.has(pt))&&W.push(pt):pt&&pt.length&&V(pt)!=="string"&&Je(pt)})}(arguments),_&&!m&&we()),this},remove:function(){return y.each(arguments,function(Je,tt){for(var Be;(Be=y.inArray(tt,W,Be))>-1;)W.splice(Be,1),Be<=xe&&xe--}),this},has:function(Je){return Je?y.inArray(Je,W)>-1:W.length>0},empty:function(){return W&&(W=[]),this},disable:function(){return U=Y=[],W=_="",this},disabled:function(){return!W},lock:function(){return U=Y=[],!_&&!m&&(W=_=""),this},locked:function(){return!!U},fireWith:function(Je,tt){return U||(tt=tt||[],tt=[Je,tt.slice?tt.slice():tt],Y.push(tt),m||we()),this},fire:function(){return ke.fireWith(this,arguments),this},fired:function(){return!!O}};return ke};function P(h){return h}function j(h){throw h}function se(h,m,_,O){var U;try{h&&E(U=h.promise)?U.call(h).done(m).fail(_):h&&E(U=h.then)?U.call(h,m,_):m.apply(void 0,[h].slice(O))}catch(W){_.apply(void 0,[W])}}y.extend({Deferred:function(h){var m=[["notify","progress",y.Callbacks("memory"),y.Callbacks("memory"),2],["resolve","done",y.Callbacks("once memory"),y.Callbacks("once memory"),0,"resolved"],["reject","fail",y.Callbacks("once memory"),y.Callbacks("once memory"),1,"rejected"]],_="pending",O={state:function(){return _},always:function(){return U.done(arguments).fail(arguments),this},catch:function(W){return O.then(null,W)},pipe:function(){var W=arguments;return y.Deferred(function(Y){y.each(m,function(xe,we){var ke=E(W[we[4]])&&W[we[4]];U[we[1]](function(){var Je=ke&&ke.apply(this,arguments);Je&&E(Je.promise)?Je.promise().progress(Y.notify).done(Y.resolve).fail(Y.reject):Y[we[0]+"With"](this,ke?[Je]:arguments)})}),W=null}).promise()},then:function(W,Y,xe){var we=0;function ke(Je,tt,Be,pt){return function(){var Wt=this,Er=arguments,or=function(){var hn,R;if(!(Je<we)){if(hn=Be.apply(Wt,Er),hn===tt.promise())throw new TypeError("Thenable self-resolution");R=hn&&(typeof hn=="object"||typeof hn=="function")&&hn.then,E(R)?pt?R.call(hn,ke(we,tt,P,pt),ke(we,tt,j,pt)):(we++,R.call(hn,ke(we,tt,P,pt),ke(we,tt,j,pt),ke(we,tt,P,tt.notifyWith))):(Be!==P&&(Wt=void 0,Er=[hn]),(pt||tt.resolveWith)(Wt,Er))}},gn=pt?or:function(){try{or()}catch(hn){y.Deferred.exceptionHook&&y.Deferred.exceptionHook(hn,gn.error),Je+1>=we&&(Be!==j&&(Wt=void 0,Er=[hn]),tt.rejectWith(Wt,Er))}};Je?gn():(y.Deferred.getErrorHook?gn.error=y.Deferred.getErrorHook():y.Deferred.getStackHook&&(gn.error=y.Deferred.getStackHook()),t.setTimeout(gn))}}return y.Deferred(function(Je){m[0][3].add(ke(0,Je,E(xe)?xe:P,Je.notifyWith)),m[1][3].add(ke(0,Je,E(W)?W:P)),m[2][3].add(ke(0,Je,E(Y)?Y:j))}).promise()},promise:function(W){return W!=null?y.extend(W,O):O}},U={};return y.each(m,function(W,Y){var xe=Y[2],we=Y[5];O[Y[1]]=xe.add,we&&xe.add(function(){_=we},m[3-W][2].disable,m[3-W][3].disable,m[0][2].lock,m[0][3].lock),xe.add(Y[3].fire),U[Y[0]]=function(){return U[Y[0]+"With"](this===U?void 0:this,arguments),this},U[Y[0]+"With"]=xe.fireWith}),O.promise(U),h&&h.call(U,U),U},when:function(h){var m=arguments.length,_=m,O=Array(_),U=a.call(arguments),W=y.Deferred(),Y=function(xe){return function(we){O[xe]=this,U[xe]=arguments.length>1?a.call(arguments):we,--m||W.resolveWith(O,U)}};if(m<=1&&(se(h,W.done(Y(_)).resolve,W.reject,!m),W.state()==="pending"||E(U[_]&&U[_].then)))return W.then();for(;_--;)se(U[_],Y(_),W.reject);return W.promise()}});var ee=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;y.Deferred.exceptionHook=function(h,m){t.console&&t.console.warn&&h&&ee.test(h.name)&&t.console.warn("jQuery.Deferred exception: "+h.message,h.stack,m)},y.readyException=function(h){t.setTimeout(function(){throw h})};var pe=y.Deferred();y.fn.ready=function(h){return pe.then(h).catch(function(m){y.readyException(m)}),this},y.extend({isReady:!1,readyWait:1,ready:function(h){(h===!0?--y.readyWait:y.isReady)||(y.isReady=!0,!(h!==!0&&--y.readyWait>0)&&pe.resolveWith(I,[y]))}}),y.ready.then=pe.then;function ue(){I.removeEventListener("DOMContentLoaded",ue),t.removeEventListener("load",ue),y.ready()}I.readyState==="complete"||I.readyState!=="loading"&&!I.documentElement.doScroll?t.setTimeout(y.ready):(I.addEventListener("DOMContentLoaded",ue),t.addEventListener("load",ue));var Oe=function(h,m,_,O,U,W,Y){var xe=0,we=h.length,ke=_==null;if(V(_)==="object"){U=!0;for(xe in _)Oe(h,m,xe,_[xe],!0,W,Y)}else if(O!==void 0&&(U=!0,E(O)||(Y=!0),ke&&(Y?(m.call(h,O),m=null):(ke=m,m=function(Je,tt,Be){return ke.call(y(Je),Be)})),m))for(;xe<we;xe++)m(h[xe],_,Y?O:O.call(h[xe],xe,m(h[xe],_)));return U?h:ke?m.call(h):we?m(h[0],_):W},Le=/^-ms-/,oe=/-([a-z])/g;function Se(h,m){return m.toUpperCase()}function ve(h){return h.replace(Le,"ms-").replace(oe,Se)}var Te=function(h){return h.nodeType===1||h.nodeType===9||!+h.nodeType};function He(){this.expando=y.expando+He.uid++}He.uid=1,He.prototype={cache:function(h){var m=h[this.expando];return m||(m={},Te(h)&&(h.nodeType?h[this.expando]=m:Object.defineProperty(h,this.expando,{value:m,configurable:!0}))),m},set:function(h,m,_){var O,U=this.cache(h);if(typeof m=="string")U[ve(m)]=_;else for(O in m)U[ve(O)]=m[O];return U},get:function(h,m){return m===void 0?this.cache(h):h[this.expando]&&h[this.expando][ve(m)]},access:function(h,m,_){return m===void 0||m&&typeof m=="string"&&_===void 0?this.get(h,m):(this.set(h,m,_),_!==void 0?_:m)},remove:function(h,m){var _,O=h[this.expando];if(O!==void 0){if(m!==void 0)for(Array.isArray(m)?m=m.map(ve):(m=ve(m),m=m in O?[m]:m.match(L)||[]),_=m.length;_--;)delete O[m[_]];(m===void 0||y.isEmptyObject(O))&&(h.nodeType?h[this.expando]=void 0:delete h[this.expando])}},hasData:function(h){var m=h[this.expando];return m!==void 0&&!y.isEmptyObject(m)}};var Ue=new He,at=new He,Nt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,$t=/[A-Z]/g;function Ut(h){return h==="true"?!0:h==="false"?!1:h==="null"?null:h===+h+""?+h:Nt.test(h)?JSON.parse(h):h}function br(h,m,_){var O;if(_===void 0&&h.nodeType===1)if(O="data-"+m.replace($t,"-$&").toLowerCase(),_=h.getAttribute(O),typeof _=="string"){try{_=Ut(_)}catch{}at.set(h,m,_)}else _=void 0;return _}y.extend({hasData:function(h){return at.hasData(h)||Ue.hasData(h)},data:function(h,m,_){return at.access(h,m,_)},removeData:function(h,m){at.remove(h,m)},_data:function(h,m,_){return Ue.access(h,m,_)},_removeData:function(h,m){Ue.remove(h,m)}}),y.fn.extend({data:function(h,m){var _,O,U,W=this[0],Y=W&&W.attributes;if(h===void 0){if(this.length&&(U=at.get(W),W.nodeType===1&&!Ue.get(W,"hasDataAttrs"))){for(_=Y.length;_--;)Y[_]&&(O=Y[_].name,O.indexOf("data-")===0&&(O=ve(O.slice(5)),br(W,O,U[O])));Ue.set(W,"hasDataAttrs",!0)}return U}return typeof h=="object"?this.each(function(){at.set(this,h)}):Oe(this,function(xe){var we;if(W&&xe===void 0)return we=at.get(W,h),we!==void 0||(we=br(W,h),we!==void 0)?we:void 0;this.each(function(){at.set(this,h,xe)})},null,m,arguments.length>1,null,!0)},removeData:function(h){return this.each(function(){at.remove(this,h)})}}),y.extend({queue:function(h,m,_){var O;if(h)return m=(m||"fx")+"queue",O=Ue.get(h,m),_&&(!O||Array.isArray(_)?O=Ue.access(h,m,y.makeArray(_)):O.push(_)),O||[]},dequeue:function(h,m){m=m||"fx";var _=y.queue(h,m),O=_.length,U=_.shift(),W=y._queueHooks(h,m),Y=function(){y.dequeue(h,m)};U==="inprogress"&&(U=_.shift(),O--),U&&(m==="fx"&&_.unshift("inprogress"),delete W.stop,U.call(h,Y,W)),!O&&W&&W.empty.fire()},_queueHooks:function(h,m){var _=m+"queueHooks";return Ue.get(h,_)||Ue.access(h,_,{empty:y.Callbacks("once memory").add(function(){Ue.remove(h,[m+"queue",_])})})}}),y.fn.extend({queue:function(h,m){var _=2;return typeof h!="string"&&(m=h,h="fx",_--),arguments.length<_?y.queue(this[0],h):m===void 0?this:this.each(function(){var O=y.queue(this,h,m);y._queueHooks(this,h),h==="fx"&&O[0]!=="inprogress"&&y.dequeue(this,h)})},dequeue:function(h){return this.each(function(){y.dequeue(this,h)})},clearQueue:function(h){return this.queue(h||"fx",[])},promise:function(h,m){var _,O=1,U=y.Deferred(),W=this,Y=this.length,xe=function(){--O||U.resolveWith(W,[W])};for(typeof h!="string"&&(m=h,h=void 0),h=h||"fx";Y--;)_=Ue.get(W[Y],h+"queueHooks"),_&&_.empty&&(O++,_.empty.add(xe));return xe(),U.promise(m)}});var Pr=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ur=new RegExp("^(?:([+-])=|)("+Pr+")([a-z%]*)$","i"),xr=["Top","Right","Bottom","Left"],Rr=I.documentElement,gr=function(h){return y.contains(h.ownerDocument,h)},Jt={composed:!0};Rr.getRootNode&&(gr=function(h){return y.contains(h.ownerDocument,h)||h.getRootNode(Jt)===h.ownerDocument});var Et=function(h,m){return h=m||h,h.style.display==="none"||h.style.display===""&&gr(h)&&y.css(h,"display")==="none"};function je(h,m,_,O){var U,W,Y=20,xe=O?function(){return O.cur()}:function(){return y.css(h,m,"")},we=xe(),ke=_&&_[3]||(y.cssNumber[m]?"":"px"),Je=h.nodeType&&(y.cssNumber[m]||ke!=="px"&&+we)&&ur.exec(y.css(h,m));if(Je&&Je[3]!==ke){for(we=we/2,ke=ke||Je[3],Je=+we||1;Y--;)y.style(h,m,Je+ke),(1-W)*(1-(W=xe()/we||.5))<=0&&(Y=0),Je=Je/W;Je=Je*2,y.style(h,m,Je+ke),_=_||[]}return _&&(Je=+Je||+we||0,U=_[1]?Je+(_[1]+1)*_[2]:+_[2],O&&(O.unit=ke,O.start=Je,O.end=U)),U}var mt={};function Rt(h){var m,_=h.ownerDocument,O=h.nodeName,U=mt[O];return U||(m=_.body.appendChild(_.createElement(O)),U=y.css(m,"display"),m.parentNode.removeChild(m),U==="none"&&(U="block"),mt[O]=U,U)}function Vt(h,m){for(var _,O,U=[],W=0,Y=h.length;W<Y;W++)O=h[W],O.style&&(_=O.style.display,m?(_==="none"&&(U[W]=Ue.get(O,"display")||null,U[W]||(O.style.display="")),O.style.display===""&&Et(O)&&(U[W]=Rt(O))):_!=="none"&&(U[W]="none",Ue.set(O,"display",_)));for(W=0;W<Y;W++)U[W]!=null&&(h[W].style.display=U[W]);return h}y.fn.extend({show:function(){return Vt(this,!0)},hide:function(){return Vt(this)},toggle:function(h){return typeof h=="boolean"?h?this.show():this.hide():this.each(function(){Et(this)?y(this).show():y(this).hide()})}});var kt=/^(?:checkbox|radio)$/i,wr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ur=/^$|^module$|\/(?:java|ecma)script/i;(function(){var h=I.createDocumentFragment(),m=h.appendChild(I.createElement("div")),_=I.createElement("input");_.setAttribute("type","radio"),_.setAttribute("checked","checked"),_.setAttribute("name","t"),m.appendChild(_),C.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,m.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!m.cloneNode(!0).lastChild.defaultValue,m.innerHTML="<option></option>",C.option=!!m.lastChild})();var dr={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};dr.tbody=dr.tfoot=dr.colgroup=dr.caption=dr.thead,dr.th=dr.td,C.option||(dr.optgroup=dr.option=[1,"<select multiple='multiple'>","</select>"]);function Cr(h,m){var _;return typeof h.getElementsByTagName<"u"?_=h.getElementsByTagName(m||"*"):typeof h.querySelectorAll<"u"?_=h.querySelectorAll(m||"*"):_=[],m===void 0||m&&ae(h,m)?y.merge([h],_):_}function kr(h,m){for(var _=0,O=h.length;_<O;_++)Ue.set(h[_],"globalEval",!m||Ue.get(m[_],"globalEval"))}var bn=/<|&#?\w+;/;function Pn(h,m,_,O,U){for(var W,Y,xe,we,ke,Je,tt=m.createDocumentFragment(),Be=[],pt=0,Wt=h.length;pt<Wt;pt++)if(W=h[pt],W||W===0)if(V(W)==="object")y.merge(Be,W.nodeType?[W]:W);else if(!bn.test(W))Be.push(m.createTextNode(W));else{for(Y=Y||tt.appendChild(m.createElement("div")),xe=(wr.exec(W)||["",""])[1].toLowerCase(),we=dr[xe]||dr._default,Y.innerHTML=we[1]+y.htmlPrefilter(W)+we[2],Je=we[0];Je--;)Y=Y.lastChild;y.merge(Be,Y.childNodes),Y=tt.firstChild,Y.textContent=""}for(tt.textContent="",pt=0;W=Be[pt++];){if(O&&y.inArray(W,O)>-1){U&&U.push(W);continue}if(ke=gr(W),Y=Cr(tt.appendChild(W),"script"),ke&&kr(Y),_)for(Je=0;W=Y[Je++];)Ur.test(W.type||"")&&_.push(W)}return tt}var an=/^([^.]*)(?:\.(.+)|)/;function en(){return!0}function un(){return!1}function Ii(h,m,_,O,U,W){var Y,xe;if(typeof m=="object"){typeof _!="string"&&(O=O||_,_=void 0);for(xe in m)Ii(h,xe,_,O,m[xe],W);return h}if(O==null&&U==null?(U=_,O=_=void 0):U==null&&(typeof _=="string"?(U=O,O=void 0):(U=O,O=_,_=void 0)),U===!1)U=un;else if(!U)return h;return W===1&&(Y=U,U=function(we){return y().off(we),Y.apply(this,arguments)},U.guid=Y.guid||(Y.guid=y.guid++)),h.each(function(){y.event.add(this,m,U,O,_)})}y.event={global:{},add:function(h,m,_,O,U){var W,Y,xe,we,ke,Je,tt,Be,pt,Wt,Er,or=Ue.get(h);if(Te(h))for(_.handler&&(W=_,_=W.handler,U=W.selector),U&&y.find.matchesSelector(Rr,U),_.guid||(_.guid=y.guid++),(we=or.events)||(we=or.events=Object.create(null)),(Y=or.handle)||(Y=or.handle=function(gn){return typeof y<"u"&&y.event.triggered!==gn.type?y.event.dispatch.apply(h,arguments):void 0}),m=(m||"").match(L)||[""],ke=m.length;ke--;)xe=an.exec(m[ke])||[],pt=Er=xe[1],Wt=(xe[2]||"").split(".").sort(),pt&&(tt=y.event.special[pt]||{},pt=(U?tt.delegateType:tt.bindType)||pt,tt=y.event.special[pt]||{},Je=y.extend({type:pt,origType:Er,data:O,handler:_,guid:_.guid,selector:U,needsContext:U&&y.expr.match.needsContext.test(U),namespace:Wt.join(".")},W),(Be=we[pt])||(Be=we[pt]=[],Be.delegateCount=0,(!tt.setup||tt.setup.call(h,O,Wt,Y)===!1)&&h.addEventListener&&h.addEventListener(pt,Y)),tt.add&&(tt.add.call(h,Je),Je.handler.guid||(Je.handler.guid=_.guid)),U?Be.splice(Be.delegateCount++,0,Je):Be.push(Je),y.event.global[pt]=!0)},remove:function(h,m,_,O,U){var W,Y,xe,we,ke,Je,tt,Be,pt,Wt,Er,or=Ue.hasData(h)&&Ue.get(h);if(!(!or||!(we=or.events))){for(m=(m||"").match(L)||[""],ke=m.length;ke--;){if(xe=an.exec(m[ke])||[],pt=Er=xe[1],Wt=(xe[2]||"").split(".").sort(),!pt){for(pt in we)y.event.remove(h,pt+m[ke],_,O,!0);continue}for(tt=y.event.special[pt]||{},pt=(O?tt.delegateType:tt.bindType)||pt,Be=we[pt]||[],xe=xe[2]&&new RegExp("(^|\\.)"+Wt.join("\\.(?:.*\\.|)")+"(\\.|$)"),Y=W=Be.length;W--;)Je=Be[W],(U||Er===Je.origType)&&(!_||_.guid===Je.guid)&&(!xe||xe.test(Je.namespace))&&(!O||O===Je.selector||O==="**"&&Je.selector)&&(Be.splice(W,1),Je.selector&&Be.delegateCount--,tt.remove&&tt.remove.call(h,Je));Y&&!Be.length&&((!tt.teardown||tt.teardown.call(h,Wt,or.handle)===!1)&&y.removeEvent(h,pt,or.handle),delete we[pt])}y.isEmptyObject(we)&&Ue.remove(h,"handle events")}},dispatch:function(h){var m,_,O,U,W,Y,xe=new Array(arguments.length),we=y.event.fix(h),ke=(Ue.get(this,"events")||Object.create(null))[we.type]||[],Je=y.event.special[we.type]||{};for(xe[0]=we,m=1;m<arguments.length;m++)xe[m]=arguments[m];if(we.delegateTarget=this,!(Je.preDispatch&&Je.preDispatch.call(this,we)===!1)){for(Y=y.event.handlers.call(this,we,ke),m=0;(U=Y[m++])&&!we.isPropagationStopped();)for(we.currentTarget=U.elem,_=0;(W=U.handlers[_++])&&!we.isImmediatePropagationStopped();)(!we.rnamespace||W.namespace===!1||we.rnamespace.test(W.namespace))&&(we.handleObj=W,we.data=W.data,O=((y.event.special[W.origType]||{}).handle||W.handler).apply(U.elem,xe),O!==void 0&&(we.result=O)===!1&&(we.preventDefault(),we.stopPropagation()));return Je.postDispatch&&Je.postDispatch.call(this,we),we.result}},handlers:function(h,m){var _,O,U,W,Y,xe=[],we=m.delegateCount,ke=h.target;if(we&&ke.nodeType&&!(h.type==="click"&&h.button>=1)){for(;ke!==this;ke=ke.parentNode||this)if(ke.nodeType===1&&!(h.type==="click"&&ke.disabled===!0)){for(W=[],Y={},_=0;_<we;_++)O=m[_],U=O.selector+" ",Y[U]===void 0&&(Y[U]=O.needsContext?y(U,this).index(ke)>-1:y.find(U,this,null,[ke]).length),Y[U]&&W.push(O);W.length&&xe.push({elem:ke,handlers:W})}}return ke=this,we<m.length&&xe.push({elem:ke,handlers:m.slice(we)}),xe},addProp:function(h,m){Object.defineProperty(y.Event.prototype,h,{enumerable:!0,configurable:!0,get:E(m)?function(){if(this.originalEvent)return m(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[h]},set:function(_){Object.defineProperty(this,h,{enumerable:!0,configurable:!0,writable:!0,value:_})}})},fix:function(h){return h[y.expando]?h:new y.Event(h)},special:{load:{noBubble:!0},click:{setup:function(h){var m=this||h;return kt.test(m.type)&&m.click&&ae(m,"input")&&kn(m,"click",!0),!1},trigger:function(h){var m=this||h;return kt.test(m.type)&&m.click&&ae(m,"input")&&kn(m,"click"),!0},_default:function(h){var m=h.target;return kt.test(m.type)&&m.click&&ae(m,"input")&&Ue.get(m,"click")||ae(m,"a")}},beforeunload:{postDispatch:function(h){h.result!==void 0&&h.originalEvent&&(h.originalEvent.returnValue=h.result)}}}};function kn(h,m,_){if(!_){Ue.get(h,m)===void 0&&y.event.add(h,m,en);return}Ue.set(h,m,!1),y.event.add(h,m,{namespace:!1,handler:function(O){var U,W=Ue.get(this,m);if(O.isTrigger&1&&this[m]){if(W)(y.event.special[m]||{}).delegateType&&O.stopPropagation();else if(W=a.call(arguments),Ue.set(this,m,W),this[m](),U=Ue.get(this,m),Ue.set(this,m,!1),W!==U)return O.stopImmediatePropagation(),O.preventDefault(),U}else W&&(Ue.set(this,m,y.event.trigger(W[0],W.slice(1),this)),O.stopPropagation(),O.isImmediatePropagationStopped=en)}})}y.removeEvent=function(h,m,_){h.removeEventListener&&h.removeEventListener(m,_)},y.Event=function(h,m){if(!(this instanceof y.Event))return new y.Event(h,m);h&&h.type?(this.originalEvent=h,this.type=h.type,this.isDefaultPrevented=h.defaultPrevented||h.defaultPrevented===void 0&&h.returnValue===!1?en:un,this.target=h.target&&h.target.nodeType===3?h.target.parentNode:h.target,this.currentTarget=h.currentTarget,this.relatedTarget=h.relatedTarget):this.type=h,m&&y.extend(this,m),this.timeStamp=h&&h.timeStamp||Date.now(),this[y.expando]=!0},y.Event.prototype={constructor:y.Event,isDefaultPrevented:un,isPropagationStopped:un,isImmediatePropagationStopped:un,isSimulated:!1,preventDefault:function(){var h=this.originalEvent;this.isDefaultPrevented=en,h&&!this.isSimulated&&h.preventDefault()},stopPropagation:function(){var h=this.originalEvent;this.isPropagationStopped=en,h&&!this.isSimulated&&h.stopPropagation()},stopImmediatePropagation:function(){var h=this.originalEvent;this.isImmediatePropagationStopped=en,h&&!this.isSimulated&&h.stopImmediatePropagation(),this.stopPropagation()}},y.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},y.event.addProp),y.each({focus:"focusin",blur:"focusout"},function(h,m){function _(O){if(I.documentMode){var U=Ue.get(this,"handle"),W=y.event.fix(O);W.type=O.type==="focusin"?"focus":"blur",W.isSimulated=!0,U(O),W.target===W.currentTarget&&U(W)}else y.event.simulate(m,O.target,y.event.fix(O))}y.event.special[h]={setup:function(){var O;if(kn(this,h,!0),I.documentMode)O=Ue.get(this,m),O||this.addEventListener(m,_),Ue.set(this,m,(O||0)+1);else return!1},trigger:function(){return kn(this,h),!0},teardown:function(){var O;if(I.documentMode)O=Ue.get(this,m)-1,O?Ue.set(this,m,O):(this.removeEventListener(m,_),Ue.remove(this,m));else return!1},_default:function(O){return Ue.get(O.target,h)},delegateType:m},y.event.special[m]={setup:function(){var O=this.ownerDocument||this.document||this,U=I.documentMode?this:O,W=Ue.get(U,m);W||(I.documentMode?this.addEventListener(m,_):O.addEventListener(h,_,!0)),Ue.set(U,m,(W||0)+1)},teardown:function(){var O=this.ownerDocument||this.document||this,U=I.documentMode?this:O,W=Ue.get(U,m)-1;W?Ue.set(U,m,W):(I.documentMode?this.removeEventListener(m,_):O.removeEventListener(h,_,!0),Ue.remove(U,m))}}}),y.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(h,m){y.event.special[h]={delegateType:m,bindType:m,handle:function(_){var O,U=this,W=_.relatedTarget,Y=_.handleObj;return(!W||W!==U&&!y.contains(U,W))&&(_.type=Y.origType,O=Y.handler.apply(this,arguments),_.type=m),O}}}),y.fn.extend({on:function(h,m,_,O){return Ii(this,h,m,_,O)},one:function(h,m,_,O){return Ii(this,h,m,_,O,1)},off:function(h,m,_){var O,U;if(h&&h.preventDefault&&h.handleObj)return O=h.handleObj,y(h.delegateTarget).off(O.namespace?O.origType+"."+O.namespace:O.origType,O.selector,O.handler),this;if(typeof h=="object"){for(U in h)this.off(U,m,h[U]);return this}return(m===!1||typeof m=="function")&&(_=m,m=void 0),_===!1&&(_=un),this.each(function(){y.event.remove(this,h,_,m)})}});var qi=/<script|<style|<link/i,Gi=/checked\s*(?:[^=]|=\s*.checked.)/i,mi=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ho(h,m){return ae(h,"table")&&ae(m.nodeType!==11?m:m.firstChild,"tr")&&y(h).children("tbody")[0]||h}function Yi(h){return h.type=(h.getAttribute("type")!==null)+"/"+h.type,h}function po(h){return(h.type||"").slice(0,5)==="true/"?h.type=h.type.slice(5):h.removeAttribute("type"),h}function Kn(h,m){var _,O,U,W,Y,xe,we;if(m.nodeType===1){if(Ue.hasData(h)&&(W=Ue.get(h),we=W.events,we)){Ue.remove(m,"handle events");for(U in we)for(_=0,O=we[U].length;_<O;_++)y.event.add(m,U,we[U][_])}at.hasData(h)&&(Y=at.access(h),xe=y.extend({},Y),at.set(m,xe))}}function yi(h,m){var _=m.nodeName.toLowerCase();_==="input"&&kt.test(h.type)?m.checked=h.checked:(_==="input"||_==="textarea")&&(m.defaultValue=h.defaultValue)}function ri(h,m,_,O){m=u(m);var U,W,Y,xe,we,ke,Je=0,tt=h.length,Be=tt-1,pt=m[0],Wt=E(pt);if(Wt||tt>1&&typeof pt=="string"&&!C.checkClone&&Gi.test(pt))return h.each(function(Er){var or=h.eq(Er);Wt&&(m[0]=pt.call(this,Er,or.html())),ri(or,m,_,O)});if(tt&&(U=Pn(m,h[0].ownerDocument,!1,h,O),W=U.firstChild,U.childNodes.length===1&&(U=W),W||O)){for(Y=y.map(Cr(U,"script"),Yi),xe=Y.length;Je<tt;Je++)we=U,Je!==Be&&(we=y.clone(we,!0,!0),xe&&y.merge(Y,Cr(we,"script"))),_.call(h[Je],we,Je);if(xe)for(ke=Y[Y.length-1].ownerDocument,y.map(Y,po),Je=0;Je<xe;Je++)we=Y[Je],Ur.test(we.type||"")&&!Ue.access(we,"globalEval")&&y.contains(ke,we)&&(we.src&&(we.type||"").toLowerCase()!=="module"?y._evalUrl&&!we.noModule&&y._evalUrl(we.src,{nonce:we.nonce||we.getAttribute("nonce")},ke):H(we.textContent.replace(mi,""),we,ke))}return h}function Ki(h,m,_){for(var O,U=m?y.filter(m,h):h,W=0;(O=U[W])!=null;W++)!_&&O.nodeType===1&&y.cleanData(Cr(O)),O.parentNode&&(_&&gr(O)&&kr(Cr(O,"script")),O.parentNode.removeChild(O));return h}y.extend({htmlPrefilter:function(h){return h},clone:function(h,m,_){var O,U,W,Y,xe=h.cloneNode(!0),we=gr(h);if(!C.noCloneChecked&&(h.nodeType===1||h.nodeType===11)&&!y.isXMLDoc(h))for(Y=Cr(xe),W=Cr(h),O=0,U=W.length;O<U;O++)yi(W[O],Y[O]);if(m)if(_)for(W=W||Cr(h),Y=Y||Cr(xe),O=0,U=W.length;O<U;O++)Kn(W[O],Y[O]);else Kn(h,xe);return Y=Cr(xe,"script"),Y.length>0&&kr(Y,!we&&Cr(h,"script")),xe},cleanData:function(h){for(var m,_,O,U=y.event.special,W=0;(_=h[W])!==void 0;W++)if(Te(_)){if(m=_[Ue.expando]){if(m.events)for(O in m.events)U[O]?y.event.remove(_,O):y.removeEvent(_,O,m.handle);_[Ue.expando]=void 0}_[at.expando]&&(_[at.expando]=void 0)}}}),y.fn.extend({detach:function(h){return Ki(this,h,!0)},remove:function(h){return Ki(this,h)},text:function(h){return Oe(this,function(m){return m===void 0?y.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=m)})},null,h,arguments.length)},append:function(){return ri(this,arguments,function(h){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=ho(this,h);m.appendChild(h)}})},prepend:function(){return ri(this,arguments,function(h){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=ho(this,h);m.insertBefore(h,m.firstChild)}})},before:function(){return ri(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this)})},after:function(){return ri(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this.nextSibling)})},empty:function(){for(var h,m=0;(h=this[m])!=null;m++)h.nodeType===1&&(y.cleanData(Cr(h,!1)),h.textContent="");return this},clone:function(h,m){return h=h??!1,m=m??h,this.map(function(){return y.clone(this,h,m)})},html:function(h){return Oe(this,function(m){var _=this[0]||{},O=0,U=this.length;if(m===void 0&&_.nodeType===1)return _.innerHTML;if(typeof m=="string"&&!qi.test(m)&&!dr[(wr.exec(m)||["",""])[1].toLowerCase()]){m=y.htmlPrefilter(m);try{for(;O<U;O++)_=this[O]||{},_.nodeType===1&&(y.cleanData(Cr(_,!1)),_.innerHTML=m);_=0}catch{}}_&&this.empty().append(m)},null,h,arguments.length)},replaceWith:function(){var h=[];return ri(this,arguments,function(m){var _=this.parentNode;y.inArray(this,h)<0&&(y.cleanData(Cr(this)),_&&_.replaceChild(m,this))},h)}}),y.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(h,m){y.fn[h]=function(_){for(var O,U=[],W=y(_),Y=W.length-1,xe=0;xe<=Y;xe++)O=xe===Y?this:this.clone(!0),y(W[xe])[m](O),f.apply(U,O.get());return this.pushStack(U)}});var ni=new RegExp("^("+Pr+")(?!px)[a-z%]+$","i"),tn=/^--/,Xn=function(h){var m=h.ownerDocument.defaultView;return(!m||!m.opener)&&(m=t),m.getComputedStyle(h)},Xi=function(h,m,_){var O,U,W={};for(U in m)W[U]=h.style[U],h.style[U]=m[U];O=_.call(h);for(U in m)h.style[U]=W[U];return O},fe=new RegExp(xr.join("|"),"i");(function(){function h(){if(ke){we.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",ke.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Rr.appendChild(we).appendChild(ke);var Je=t.getComputedStyle(ke);_=Je.top!=="1%",xe=m(Je.marginLeft)===12,ke.style.right="60%",W=m(Je.right)===36,O=m(Je.width)===36,ke.style.position="absolute",U=m(ke.offsetWidth/3)===12,Rr.removeChild(we),ke=null}}function m(Je){return Math.round(parseFloat(Je))}var _,O,U,W,Y,xe,we=I.createElement("div"),ke=I.createElement("div");ke.style&&(ke.style.backgroundClip="content-box",ke.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=ke.style.backgroundClip==="content-box",y.extend(C,{boxSizingReliable:function(){return h(),O},pixelBoxStyles:function(){return h(),W},pixelPosition:function(){return h(),_},reliableMarginLeft:function(){return h(),xe},scrollboxSize:function(){return h(),U},reliableTrDimensions:function(){var Je,tt,Be,pt;return Y==null&&(Je=I.createElement("table"),tt=I.createElement("tr"),Be=I.createElement("div"),Je.style.cssText="position:absolute;left:-11111px;border-collapse:separate",tt.style.cssText="box-sizing:content-box;border:1px solid",tt.style.height="1px",Be.style.height="9px",Be.style.display="block",Rr.appendChild(Je).appendChild(tt).appendChild(Be),pt=t.getComputedStyle(tt),Y=parseInt(pt.height,10)+parseInt(pt.borderTopWidth,10)+parseInt(pt.borderBottomWidth,10)===tt.offsetHeight,Rr.removeChild(Je)),Y}}))})();function Ze(h,m,_){var O,U,W,Y,xe=tn.test(m),we=h.style;return _=_||Xn(h),_&&(Y=_.getPropertyValue(m)||_[m],xe&&Y&&(Y=Y.replace(me,"$1")||void 0),Y===""&&!gr(h)&&(Y=y.style(h,m)),!C.pixelBoxStyles()&&ni.test(Y)&&fe.test(m)&&(O=we.width,U=we.minWidth,W=we.maxWidth,we.minWidth=we.maxWidth=we.width=Y,Y=_.width,we.width=O,we.minWidth=U,we.maxWidth=W)),Y!==void 0?Y+"":Y}function Ge(h,m){return{get:function(){if(h()){delete this.get;return}return(this.get=m).apply(this,arguments)}}}var rt=["Webkit","Moz","ms"],ct=I.createElement("div").style,Ht={};function Tt(h){for(var m=h[0].toUpperCase()+h.slice(1),_=rt.length;_--;)if(h=rt[_]+m,h in ct)return h}function vr(h){var m=y.cssProps[h]||Ht[h];return m||(h in ct?h:Ht[h]=Tt(h)||h)}var Or=/^(none|table(?!-c[ea]).+)/,Lr={position:"absolute",visibility:"hidden",display:"block"},$r={letterSpacing:"0",fontWeight:"400"};function lt(h,m,_){var O=ur.exec(m);return O?Math.max(0,O[2]-(_||0))+(O[3]||"px"):m}function lr(h,m,_,O,U,W){var Y=m==="width"?1:0,xe=0,we=0,ke=0;if(_===(O?"border":"content"))return 0;for(;Y<4;Y+=2)_==="margin"&&(ke+=y.css(h,_+xr[Y],!0,U)),O?(_==="content"&&(we-=y.css(h,"padding"+xr[Y],!0,U)),_!=="margin"&&(we-=y.css(h,"border"+xr[Y]+"Width",!0,U))):(we+=y.css(h,"padding"+xr[Y],!0,U),_!=="padding"?we+=y.css(h,"border"+xr[Y]+"Width",!0,U):xe+=y.css(h,"border"+xr[Y]+"Width",!0,U));return!O&&W>=0&&(we+=Math.max(0,Math.ceil(h["offset"+m[0].toUpperCase()+m.slice(1)]-W-we-xe-.5))||0),we+ke}function jn(h,m,_){var O=Xn(h),U=!C.boxSizingReliable()||_,W=U&&y.css(h,"boxSizing",!1,O)==="border-box",Y=W,xe=Ze(h,m,O),we="offset"+m[0].toUpperCase()+m.slice(1);if(ni.test(xe)){if(!_)return xe;xe="auto"}return(!C.boxSizingReliable()&&W||!C.reliableTrDimensions()&&ae(h,"tr")||xe==="auto"||!parseFloat(xe)&&y.css(h,"display",!1,O)==="inline")&&h.getClientRects().length&&(W=y.css(h,"boxSizing",!1,O)==="border-box",Y=we in h,Y&&(xe=h[we])),xe=parseFloat(xe)||0,xe+lr(h,m,_||(W?"border":"content"),Y,O,xe)+"px"}y.extend({cssHooks:{opacity:{get:function(h,m){if(m){var _=Ze(h,"opacity");return _===""?"1":_}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(h,m,_,O){if(!(!h||h.nodeType===3||h.nodeType===8||!h.style)){var U,W,Y,xe=ve(m),we=tn.test(m),ke=h.style;if(we||(m=vr(xe)),Y=y.cssHooks[m]||y.cssHooks[xe],_!==void 0){if(W=typeof _,W==="string"&&(U=ur.exec(_))&&U[1]&&(_=je(h,m,U),W="number"),_==null||_!==_)return;W==="number"&&!we&&(_+=U&&U[3]||(y.cssNumber[xe]?"":"px")),!C.clearCloneStyle&&_===""&&m.indexOf("background")===0&&(ke[m]="inherit"),(!Y||!("set"in Y)||(_=Y.set(h,_,O))!==void 0)&&(we?ke.setProperty(m,_):ke[m]=_)}else return Y&&"get"in Y&&(U=Y.get(h,!1,O))!==void 0?U:ke[m]}},css:function(h,m,_,O){var U,W,Y,xe=ve(m),we=tn.test(m);return we||(m=vr(xe)),Y=y.cssHooks[m]||y.cssHooks[xe],Y&&"get"in Y&&(U=Y.get(h,!0,_)),U===void 0&&(U=Ze(h,m,O)),U==="normal"&&m in $r&&(U=$r[m]),_===""||_?(W=parseFloat(U),_===!0||isFinite(W)?W||0:U):U}}),y.each(["height","width"],function(h,m){y.cssHooks[m]={get:function(_,O,U){if(O)return Or.test(y.css(_,"display"))&&(!_.getClientRects().length||!_.getBoundingClientRect().width)?Xi(_,Lr,function(){return jn(_,m,U)}):jn(_,m,U)},set:function(_,O,U){var W,Y=Xn(_),xe=!C.scrollboxSize()&&Y.position==="absolute",we=xe||U,ke=we&&y.css(_,"boxSizing",!1,Y)==="border-box",Je=U?lr(_,m,U,ke,Y):0;return ke&&xe&&(Je-=Math.ceil(_["offset"+m[0].toUpperCase()+m.slice(1)]-parseFloat(Y[m])-lr(_,m,"border",!1,Y)-.5)),Je&&(W=ur.exec(O))&&(W[3]||"px")!=="px"&&(_.style[m]=O,O=y.css(_,m)),lt(_,O,Je)}}}),y.cssHooks.marginLeft=Ge(C.reliableMarginLeft,function(h,m){if(m)return(parseFloat(Ze(h,"marginLeft"))||h.getBoundingClientRect().left-Xi(h,{marginLeft:0},function(){return h.getBoundingClientRect().left}))+"px"}),y.each({margin:"",padding:"",border:"Width"},function(h,m){y.cssHooks[h+m]={expand:function(_){for(var O=0,U={},W=typeof _=="string"?_.split(" "):[_];O<4;O++)U[h+xr[O]+m]=W[O]||W[O-2]||W[0];return U}},h!=="margin"&&(y.cssHooks[h+m].set=lt)}),y.fn.extend({css:function(h,m){return Oe(this,function(_,O,U){var W,Y,xe={},we=0;if(Array.isArray(O)){for(W=Xn(_),Y=O.length;we<Y;we++)xe[O[we]]=y.css(_,O[we],!1,W);return xe}return U!==void 0?y.style(_,O,U):y.css(_,O)},h,m,arguments.length>1)}});function ln(h,m,_,O,U){return new ln.prototype.init(h,m,_,O,U)}y.Tween=ln,ln.prototype={constructor:ln,init:function(h,m,_,O,U,W){this.elem=h,this.prop=_,this.easing=U||y.easing._default,this.options=m,this.start=this.now=this.cur(),this.end=O,this.unit=W||(y.cssNumber[_]?"":"px")},cur:function(){var h=ln.propHooks[this.prop];return h&&h.get?h.get(this):ln.propHooks._default.get(this)},run:function(h){var m,_=ln.propHooks[this.prop];return this.options.duration?this.pos=m=y.easing[this.easing](h,this.options.duration*h,0,1,this.options.duration):this.pos=m=h,this.now=(this.end-this.start)*m+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),_&&_.set?_.set(this):ln.propHooks._default.set(this),this}},ln.prototype.init.prototype=ln.prototype,ln.propHooks={_default:{get:function(h){var m;return h.elem.nodeType!==1||h.elem[h.prop]!=null&&h.elem.style[h.prop]==null?h.elem[h.prop]:(m=y.css(h.elem,h.prop,""),!m||m==="auto"?0:m)},set:function(h){y.fx.step[h.prop]?y.fx.step[h.prop](h):h.elem.nodeType===1&&(y.cssHooks[h.prop]||h.elem.style[vr(h.prop)]!=null)?y.style(h.elem,h.prop,h.now+h.unit):h.elem[h.prop]=h.now}}},ln.propHooks.scrollTop=ln.propHooks.scrollLeft={set:function(h){h.elem.nodeType&&h.elem.parentNode&&(h.elem[h.prop]=h.now)}},y.easing={linear:function(h){return h},swing:function(h){return .5-Math.cos(h*Math.PI)/2},_default:"swing"},y.fx=ln.prototype.init,y.fx.step={};var ii,Wn,wi=/^(?:toggle|show|hide)$/,Qi=/queueHooks$/;function Pi(){Wn&&(I.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Pi):t.setTimeout(Pi,y.fx.interval),y.fx.tick())}function A(){return t.setTimeout(function(){ii=void 0}),ii=Date.now()}function z(h,m){var _,O=0,U={height:h};for(m=m?1:0;O<4;O+=2-m)_=xr[O],U["margin"+_]=U["padding"+_]=h;return m&&(U.opacity=U.width=h),U}function te(h,m,_){for(var O,U=(Fe.tweeners[m]||[]).concat(Fe.tweeners["*"]),W=0,Y=U.length;W<Y;W++)if(O=U[W].call(_,m,h))return O}function Ce(h,m,_){var O,U,W,Y,xe,we,ke,Je,tt="width"in m||"height"in m,Be=this,pt={},Wt=h.style,Er=h.nodeType&&Et(h),or=Ue.get(h,"fxshow");_.queue||(Y=y._queueHooks(h,"fx"),Y.unqueued==null&&(Y.unqueued=0,xe=Y.empty.fire,Y.empty.fire=function(){Y.unqueued||xe()}),Y.unqueued++,Be.always(function(){Be.always(function(){Y.unqueued--,y.queue(h,"fx").length||Y.empty.fire()})}));for(O in m)if(U=m[O],wi.test(U)){if(delete m[O],W=W||U==="toggle",U===(Er?"hide":"show"))if(U==="show"&&or&&or[O]!==void 0)Er=!0;else continue;pt[O]=or&&or[O]||y.style(h,O)}if(we=!y.isEmptyObject(m),!(!we&&y.isEmptyObject(pt))){tt&&h.nodeType===1&&(_.overflow=[Wt.overflow,Wt.overflowX,Wt.overflowY],ke=or&&or.display,ke==null&&(ke=Ue.get(h,"display")),Je=y.css(h,"display"),Je==="none"&&(ke?Je=ke:(Vt([h],!0),ke=h.style.display||ke,Je=y.css(h,"display"),Vt([h]))),(Je==="inline"||Je==="inline-block"&&ke!=null)&&y.css(h,"float")==="none"&&(we||(Be.done(function(){Wt.display=ke}),ke==null&&(Je=Wt.display,ke=Je==="none"?"":Je)),Wt.display="inline-block")),_.overflow&&(Wt.overflow="hidden",Be.always(function(){Wt.overflow=_.overflow[0],Wt.overflowX=_.overflow[1],Wt.overflowY=_.overflow[2]})),we=!1;for(O in pt)we||(or?"hidden"in or&&(Er=or.hidden):or=Ue.access(h,"fxshow",{display:ke}),W&&(or.hidden=!Er),Er&&Vt([h],!0),Be.done(function(){Er||Vt([h]),Ue.remove(h,"fxshow");for(O in pt)y.style(h,O,pt[O])})),we=te(Er?or[O]:0,O,Be),O in or||(or[O]=we.start,Er&&(we.end=we.start,we.start=0))}}function Ye(h,m){var _,O,U,W,Y;for(_ in h)if(O=ve(_),U=m[O],W=h[_],Array.isArray(W)&&(U=W[1],W=h[_]=W[0]),_!==O&&(h[O]=W,delete h[_]),Y=y.cssHooks[O],Y&&"expand"in Y){W=Y.expand(W),delete h[O];for(_ in W)_ in h||(h[_]=W[_],m[_]=U)}else m[O]=U}function Fe(h,m,_){var O,U,W=0,Y=Fe.prefilters.length,xe=y.Deferred().always(function(){delete we.elem}),we=function(){if(U)return!1;for(var tt=ii||A(),Be=Math.max(0,ke.startTime+ke.duration-tt),pt=Be/ke.duration||0,Wt=1-pt,Er=0,or=ke.tweens.length;Er<or;Er++)ke.tweens[Er].run(Wt);return xe.notifyWith(h,[ke,Wt,Be]),Wt<1&&or?Be:(or||xe.notifyWith(h,[ke,1,0]),xe.resolveWith(h,[ke]),!1)},ke=xe.promise({elem:h,props:y.extend({},m),opts:y.extend(!0,{specialEasing:{},easing:y.easing._default},_),originalProperties:m,originalOptions:_,startTime:ii||A(),duration:_.duration,tweens:[],createTween:function(tt,Be){var pt=y.Tween(h,ke.opts,tt,Be,ke.opts.specialEasing[tt]||ke.opts.easing);return ke.tweens.push(pt),pt},stop:function(tt){var Be=0,pt=tt?ke.tweens.length:0;if(U)return this;for(U=!0;Be<pt;Be++)ke.tweens[Be].run(1);return tt?(xe.notifyWith(h,[ke,1,0]),xe.resolveWith(h,[ke,tt])):xe.rejectWith(h,[ke,tt]),this}}),Je=ke.props;for(Ye(Je,ke.opts.specialEasing);W<Y;W++)if(O=Fe.prefilters[W].call(ke,h,Je,ke.opts),O)return E(O.stop)&&(y._queueHooks(ke.elem,ke.opts.queue).stop=O.stop.bind(O)),O;return y.map(Je,te,ke),E(ke.opts.start)&&ke.opts.start.call(h,ke),ke.progress(ke.opts.progress).done(ke.opts.done,ke.opts.complete).fail(ke.opts.fail).always(ke.opts.always),y.fx.timer(y.extend(we,{elem:h,anim:ke,queue:ke.opts.queue})),ke}y.Animation=y.extend(Fe,{tweeners:{"*":[function(h,m){var _=this.createTween(h,m);return je(_.elem,h,ur.exec(m),_),_}]},tweener:function(h,m){E(h)?(m=h,h=["*"]):h=h.match(L);for(var _,O=0,U=h.length;O<U;O++)_=h[O],Fe.tweeners[_]=Fe.tweeners[_]||[],Fe.tweeners[_].unshift(m)},prefilters:[Ce],prefilter:function(h,m){m?Fe.prefilters.unshift(h):Fe.prefilters.push(h)}}),y.speed=function(h,m,_){var O=h&&typeof h=="object"?y.extend({},h):{complete:_||!_&&m||E(h)&&h,duration:h,easing:_&&m||m&&!E(m)&&m};return y.fx.off?O.duration=0:typeof O.duration!="number"&&(O.duration in y.fx.speeds?O.duration=y.fx.speeds[O.duration]:O.duration=y.fx.speeds._default),(O.queue==null||O.queue===!0)&&(O.queue="fx"),O.old=O.complete,O.complete=function(){E(O.old)&&O.old.call(this),O.queue&&y.dequeue(this,O.queue)},O},y.fn.extend({fadeTo:function(h,m,_,O){return this.filter(Et).css("opacity",0).show().end().animate({opacity:m},h,_,O)},animate:function(h,m,_,O){var U=y.isEmptyObject(h),W=y.speed(m,_,O),Y=function(){var xe=Fe(this,y.extend({},h),W);(U||Ue.get(this,"finish"))&&xe.stop(!0)};return Y.finish=Y,U||W.queue===!1?this.each(Y):this.queue(W.queue,Y)},stop:function(h,m,_){var O=function(U){var W=U.stop;delete U.stop,W(_)};return typeof h!="string"&&(_=m,m=h,h=void 0),m&&this.queue(h||"fx",[]),this.each(function(){var U=!0,W=h!=null&&h+"queueHooks",Y=y.timers,xe=Ue.get(this);if(W)xe[W]&&xe[W].stop&&O(xe[W]);else for(W in xe)xe[W]&&xe[W].stop&&Qi.test(W)&&O(xe[W]);for(W=Y.length;W--;)Y[W].elem===this&&(h==null||Y[W].queue===h)&&(Y[W].anim.stop(_),U=!1,Y.splice(W,1));(U||!_)&&y.dequeue(this,h)})},finish:function(h){return h!==!1&&(h=h||"fx"),this.each(function(){var m,_=Ue.get(this),O=_[h+"queue"],U=_[h+"queueHooks"],W=y.timers,Y=O?O.length:0;for(_.finish=!0,y.queue(this,h,[]),U&&U.stop&&U.stop.call(this,!0),m=W.length;m--;)W[m].elem===this&&W[m].queue===h&&(W[m].anim.stop(!0),W.splice(m,1));for(m=0;m<Y;m++)O[m]&&O[m].finish&&O[m].finish.call(this);delete _.finish})}}),y.each(["toggle","show","hide"],function(h,m){var _=y.fn[m];y.fn[m]=function(O,U,W){return O==null||typeof O=="boolean"?_.apply(this,arguments):this.animate(z(m,!0),O,U,W)}}),y.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(h,m){y.fn[h]=function(_,O,U){return this.animate(m,_,O,U)}}),y.timers=[],y.fx.tick=function(){var h,m=0,_=y.timers;for(ii=Date.now();m<_.length;m++)h=_[m],!h()&&_[m]===h&&_.splice(m--,1);_.length||y.fx.stop(),ii=void 0},y.fx.timer=function(h){y.timers.push(h),y.fx.start()},y.fx.interval=13,y.fx.start=function(){Wn||(Wn=!0,Pi())},y.fx.stop=function(){Wn=null},y.fx.speeds={slow:600,fast:200,_default:400},y.fn.delay=function(h,m){return h=y.fx&&y.fx.speeds[h]||h,m=m||"fx",this.queue(m,function(_,O){var U=t.setTimeout(_,h);O.stop=function(){t.clearTimeout(U)}})},function(){var h=I.createElement("input"),m=I.createElement("select"),_=m.appendChild(I.createElement("option"));h.type="checkbox",C.checkOn=h.value!=="",C.optSelected=_.selected,h=I.createElement("input"),h.value="t",h.type="radio",C.radioValue=h.value==="t"}();var st,yt=y.expr.attrHandle;y.fn.extend({attr:function(h,m){return Oe(this,y.attr,h,m,arguments.length>1)},removeAttr:function(h){return this.each(function(){y.removeAttr(this,h)})}}),y.extend({attr:function(h,m,_){var O,U,W=h.nodeType;if(!(W===3||W===8||W===2)){if(typeof h.getAttribute>"u")return y.prop(h,m,_);if((W!==1||!y.isXMLDoc(h))&&(U=y.attrHooks[m.toLowerCase()]||(y.expr.match.bool.test(m)?st:void 0)),_!==void 0){if(_===null){y.removeAttr(h,m);return}return U&&"set"in U&&(O=U.set(h,_,m))!==void 0?O:(h.setAttribute(m,_+""),_)}return U&&"get"in U&&(O=U.get(h,m))!==null?O:(O=y.find.attr(h,m),O??void 0)}},attrHooks:{type:{set:function(h,m){if(!C.radioValue&&m==="radio"&&ae(h,"input")){var _=h.value;return h.setAttribute("type",m),_&&(h.value=_),m}}}},removeAttr:function(h,m){var _,O=0,U=m&&m.match(L);if(U&&h.nodeType===1)for(;_=U[O++];)h.removeAttribute(_)}}),st={set:function(h,m,_){return m===!1?y.removeAttr(h,_):h.setAttribute(_,_),_}},y.each(y.expr.match.bool.source.match(/\w+/g),function(h,m){var _=yt[m]||y.find.attr;yt[m]=function(O,U,W){var Y,xe,we=U.toLowerCase();return W||(xe=yt[we],yt[we]=Y,Y=_(O,U,W)!=null?we:null,yt[we]=xe),Y}});var St=/^(?:input|select|textarea|button)$/i,cr=/^(?:a|area)$/i;y.fn.extend({prop:function(h,m){return Oe(this,y.prop,h,m,arguments.length>1)},removeProp:function(h){return this.each(function(){delete this[y.propFix[h]||h]})}}),y.extend({prop:function(h,m,_){var O,U,W=h.nodeType;if(!(W===3||W===8||W===2))return(W!==1||!y.isXMLDoc(h))&&(m=y.propFix[m]||m,U=y.propHooks[m]),_!==void 0?U&&"set"in U&&(O=U.set(h,_,m))!==void 0?O:h[m]=_:U&&"get"in U&&(O=U.get(h,m))!==null?O:h[m]},propHooks:{tabIndex:{get:function(h){var m=y.find.attr(h,"tabindex");return m?parseInt(m,10):St.test(h.nodeName)||cr.test(h.nodeName)&&h.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(y.propHooks.selected={get:function(h){var m=h.parentNode;return m&&m.parentNode&&m.parentNode.selectedIndex,null},set:function(h){var m=h.parentNode;m&&(m.selectedIndex,m.parentNode&&m.parentNode.selectedIndex)}}),y.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){y.propFix[this.toLowerCase()]=this});function ir(h){var m=h.match(L)||[];return m.join(" ")}function Xr(h){return h.getAttribute&&h.getAttribute("class")||""}function xn(h){return Array.isArray(h)?h:typeof h=="string"?h.match(L)||[]:[]}y.fn.extend({addClass:function(h){var m,_,O,U,W,Y;return E(h)?this.each(function(xe){y(this).addClass(h.call(this,xe,Xr(this)))}):(m=xn(h),m.length?this.each(function(){if(O=Xr(this),_=this.nodeType===1&&" "+ir(O)+" ",_){for(W=0;W<m.length;W++)U=m[W],_.indexOf(" "+U+" ")<0&&(_+=U+" ");Y=ir(_),O!==Y&&this.setAttribute("class",Y)}}):this)},removeClass:function(h){var m,_,O,U,W,Y;return E(h)?this.each(function(xe){y(this).removeClass(h.call(this,xe,Xr(this)))}):arguments.length?(m=xn(h),m.length?this.each(function(){if(O=Xr(this),_=this.nodeType===1&&" "+ir(O)+" ",_){for(W=0;W<m.length;W++)for(U=m[W];_.indexOf(" "+U+" ")>-1;)_=_.replace(" "+U+" "," ");Y=ir(_),O!==Y&&this.setAttribute("class",Y)}}):this):this.attr("class","")},toggleClass:function(h,m){var _,O,U,W,Y=typeof h,xe=Y==="string"||Array.isArray(h);return E(h)?this.each(function(we){y(this).toggleClass(h.call(this,we,Xr(this),m),m)}):typeof m=="boolean"&&xe?m?this.addClass(h):this.removeClass(h):(_=xn(h),this.each(function(){if(xe)for(W=y(this),U=0;U<_.length;U++)O=_[U],W.hasClass(O)?W.removeClass(O):W.addClass(O);else(h===void 0||Y==="boolean")&&(O=Xr(this),O&&Ue.set(this,"__className__",O),this.setAttribute&&this.setAttribute("class",O||h===!1?"":Ue.get(this,"__className__")||""))}))},hasClass:function(h){var m,_,O=0;for(m=" "+h+" ";_=this[O++];)if(_.nodeType===1&&(" "+ir(Xr(_))+" ").indexOf(m)>-1)return!0;return!1}});var Ln=/\r/g;y.fn.extend({val:function(h){var m,_,O,U=this[0];return arguments.length?(O=E(h),this.each(function(W){var Y;this.nodeType===1&&(O?Y=h.call(this,W,y(this).val()):Y=h,Y==null?Y="":typeof Y=="number"?Y+="":Array.isArray(Y)&&(Y=y.map(Y,function(xe){return xe==null?"":xe+""})),m=y.valHooks[this.type]||y.valHooks[this.nodeName.toLowerCase()],(!m||!("set"in m)||m.set(this,Y,"value")===void 0)&&(this.value=Y))})):U?(m=y.valHooks[U.type]||y.valHooks[U.nodeName.toLowerCase()],m&&"get"in m&&(_=m.get(U,"value"))!==void 0?_:(_=U.value,typeof _=="string"?_.replace(Ln,""):_??"")):void 0}}),y.extend({valHooks:{option:{get:function(h){var m=y.find.attr(h,"value");return m??ir(y.text(h))}},select:{get:function(h){var m,_,O,U=h.options,W=h.selectedIndex,Y=h.type==="select-one",xe=Y?null:[],we=Y?W+1:U.length;for(W<0?O=we:O=Y?W:0;O<we;O++)if(_=U[O],(_.selected||O===W)&&!_.disabled&&(!_.parentNode.disabled||!ae(_.parentNode,"optgroup"))){if(m=y(_).val(),Y)return m;xe.push(m)}return xe},set:function(h,m){for(var _,O,U=h.options,W=y.makeArray(m),Y=U.length;Y--;)O=U[Y],(O.selected=y.inArray(y.valHooks.option.get(O),W)>-1)&&(_=!0);return _||(h.selectedIndex=-1),W}}}}),y.each(["radio","checkbox"],function(){y.valHooks[this]={set:function(h,m){if(Array.isArray(m))return h.checked=y.inArray(y(h).val(),m)>-1}},C.checkOn||(y.valHooks[this].get=function(h){return h.getAttribute("value")===null?"on":h.value})});var Qo=t.location,ia={guid:Date.now()},Jo=/\?/;y.parseXML=function(h){var m,_;if(!h||typeof h!="string")return null;try{m=new t.DOMParser().parseFromString(h,"text/xml")}catch{}return _=m&&m.getElementsByTagName("parsererror")[0],(!m||_)&&y.error("Invalid XML: "+(_?y.map(_.childNodes,function(O){return O.textContent}).join(`
|
|
12
|
+
`):h)),m};var Ji=/^(?:focusinfocus|focusoutblur)$/,Cn=function(h){h.stopPropagation()};y.extend(y.event,{trigger:function(h,m,_,O){var U,W,Y,xe,we,ke,Je,tt,Be=[_||I],pt=p.call(h,"type")?h.type:h,Wt=p.call(h,"namespace")?h.namespace.split("."):[];if(W=tt=Y=_=_||I,!(_.nodeType===3||_.nodeType===8)&&!Ji.test(pt+y.event.triggered)&&(pt.indexOf(".")>-1&&(Wt=pt.split("."),pt=Wt.shift(),Wt.sort()),we=pt.indexOf(":")<0&&"on"+pt,h=h[y.expando]?h:new y.Event(pt,typeof h=="object"&&h),h.isTrigger=O?2:3,h.namespace=Wt.join("."),h.rnamespace=h.namespace?new RegExp("(^|\\.)"+Wt.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h.result=void 0,h.target||(h.target=_),m=m==null?[h]:y.makeArray(m,[h]),Je=y.event.special[pt]||{},!(!O&&Je.trigger&&Je.trigger.apply(_,m)===!1))){if(!O&&!Je.noBubble&&!S(_)){for(xe=Je.delegateType||pt,Ji.test(xe+pt)||(W=W.parentNode);W;W=W.parentNode)Be.push(W),Y=W;Y===(_.ownerDocument||I)&&Be.push(Y.defaultView||Y.parentWindow||t)}for(U=0;(W=Be[U++])&&!h.isPropagationStopped();)tt=W,h.type=U>1?xe:Je.bindType||pt,ke=(Ue.get(W,"events")||Object.create(null))[h.type]&&Ue.get(W,"handle"),ke&&ke.apply(W,m),ke=we&&W[we],ke&&ke.apply&&Te(W)&&(h.result=ke.apply(W,m),h.result===!1&&h.preventDefault());return h.type=pt,!O&&!h.isDefaultPrevented()&&(!Je._default||Je._default.apply(Be.pop(),m)===!1)&&Te(_)&&we&&E(_[pt])&&!S(_)&&(Y=_[we],Y&&(_[we]=null),y.event.triggered=pt,h.isPropagationStopped()&&tt.addEventListener(pt,Cn),_[pt](),h.isPropagationStopped()&&tt.removeEventListener(pt,Cn),y.event.triggered=void 0,Y&&(_[we]=Y)),h.result}},simulate:function(h,m,_){var O=y.extend(new y.Event,_,{type:h,isSimulated:!0});y.event.trigger(O,null,m)}}),y.fn.extend({trigger:function(h,m){return this.each(function(){y.event.trigger(h,m,this)})},triggerHandler:function(h,m){var _=this[0];if(_)return y.event.trigger(h,m,_,!0)}});var ki=/\[\]$/,Zi=/\r?\n/g,Ir=/^(?:submit|button|image|reset|file)$/i,oi=/^(?:input|select|textarea|keygen)/i;function Zo(h,m,_,O){var U;if(Array.isArray(m))y.each(m,function(W,Y){_||ki.test(h)?O(h,Y):Zo(h+"["+(typeof Y=="object"&&Y!=null?W:"")+"]",Y,_,O)});else if(!_&&V(m)==="object")for(U in m)Zo(h+"["+U+"]",m[U],_,O);else O(h,m)}y.param=function(h,m){var _,O=[],U=function(W,Y){var xe=E(Y)?Y():Y;O[O.length]=encodeURIComponent(W)+"="+encodeURIComponent(xe??"")};if(h==null)return"";if(Array.isArray(h)||h.jquery&&!y.isPlainObject(h))y.each(h,function(){U(this.name,this.value)});else for(_ in h)Zo(_,h[_],m,U);return O.join("&")},y.fn.extend({serialize:function(){return y.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var h=y.prop(this,"elements");return h?y.makeArray(h):this}).filter(function(){var h=this.type;return this.name&&!y(this).is(":disabled")&&oi.test(this.nodeName)&&!Ir.test(h)&&(this.checked||!kt.test(h))}).map(function(h,m){var _=y(this).val();return _==null?null:Array.isArray(_)?y.map(_,function(O){return{name:m.name,value:O.replace(Zi,`\r
|
|
13
|
+
`)}}):{name:m.name,value:_.replace(Zi,`\r
|
|
14
|
+
`)}}).get()}});var es=/%20/g,si=/#.*$/,oa=/([?&])_=[^&]*/,go=/^(.*?):[ \t]*([^\r\n]*)$/mg,bs=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,sa=/^(?:GET|HEAD)$/,Ka=/^\/\//,Do={},vo={},mo="*/".concat("*"),ts=I.createElement("a");ts.href=Qo.href;function rl(h){return function(m,_){typeof m!="string"&&(_=m,m="*");var O,U=0,W=m.toLowerCase().match(L)||[];if(E(_))for(;O=W[U++];)O[0]==="+"?(O=O.slice(1)||"*",(h[O]=h[O]||[]).unshift(_)):(h[O]=h[O]||[]).push(_)}}function xs(h,m,_,O){var U={},W=h===vo;function Y(xe){var we;return U[xe]=!0,y.each(h[xe]||[],function(ke,Je){var tt=Je(m,_,O);if(typeof tt=="string"&&!W&&!U[tt])return m.dataTypes.unshift(tt),Y(tt),!1;if(W)return!(we=tt)}),we}return Y(m.dataTypes[0])||!U["*"]&&Y("*")}function rs(h,m){var _,O,U=y.ajaxSettings.flatOptions||{};for(_ in m)m[_]!==void 0&&((U[_]?h:O||(O={}))[_]=m[_]);return O&&y.extend(!0,h,O),h}function No(h,m,_){for(var O,U,W,Y,xe=h.contents,we=h.dataTypes;we[0]==="*";)we.shift(),O===void 0&&(O=h.mimeType||m.getResponseHeader("Content-Type"));if(O){for(U in xe)if(xe[U]&&xe[U].test(O)){we.unshift(U);break}}if(we[0]in _)W=we[0];else{for(U in _){if(!we[0]||h.converters[U+" "+we[0]]){W=U;break}Y||(Y=U)}W=W||Y}if(W)return W!==we[0]&&we.unshift(W),_[W]}function Cs(h,m,_,O){var U,W,Y,xe,we,ke={},Je=h.dataTypes.slice();if(Je[1])for(Y in h.converters)ke[Y.toLowerCase()]=h.converters[Y];for(W=Je.shift();W;)if(h.responseFields[W]&&(_[h.responseFields[W]]=m),!we&&O&&h.dataFilter&&(m=h.dataFilter(m,h.dataType)),we=W,W=Je.shift(),W){if(W==="*")W=we;else if(we!=="*"&&we!==W){if(Y=ke[we+" "+W]||ke["* "+W],!Y){for(U in ke)if(xe=U.split(" "),xe[1]===W&&(Y=ke[we+" "+xe[0]]||ke["* "+xe[0]],Y)){Y===!0?Y=ke[U]:ke[U]!==!0&&(W=xe[0],Je.unshift(xe[1]));break}}if(Y!==!0)if(Y&&h.throws)m=Y(m);else try{m=Y(m)}catch(tt){return{state:"parsererror",error:Y?tt:"No conversion from "+we+" to "+W}}}}return{state:"success",data:m}}y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Qo.href,type:"GET",isLocal:bs.test(Qo.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":mo,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":y.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(h,m){return m?rs(rs(h,y.ajaxSettings),m):rs(y.ajaxSettings,h)},ajaxPrefilter:rl(Do),ajaxTransport:rl(vo),ajax:function(h,m){typeof h=="object"&&(m=h,h=void 0),m=m||{};var _,O,U,W,Y,xe,we,ke,Je,tt,Be=y.ajaxSetup({},m),pt=Be.context||Be,Wt=Be.context&&(pt.nodeType||pt.jquery)?y(pt):y.event,Er=y.Deferred(),or=y.Callbacks("once memory"),gn=Be.statusCode||{},hn={},R={},B="canceled",K={readyState:0,getResponseHeader:function(Ne){var Me;if(we){if(!W)for(W={};Me=go.exec(U);)W[Me[1].toLowerCase()+" "]=(W[Me[1].toLowerCase()+" "]||[]).concat(Me[2]);Me=W[Ne.toLowerCase()+" "]}return Me==null?null:Me.join(", ")},getAllResponseHeaders:function(){return we?U:null},setRequestHeader:function(Ne,Me){return we==null&&(Ne=R[Ne.toLowerCase()]=R[Ne.toLowerCase()]||Ne,hn[Ne]=Me),this},overrideMimeType:function(Ne){return we==null&&(Be.mimeType=Ne),this},statusCode:function(Ne){var Me;if(Ne)if(we)K.always(Ne[K.status]);else for(Me in Ne)gn[Me]=[gn[Me],Ne[Me]];return this},abort:function(Ne){var Me=Ne||B;return _&&_.abort(Me),_e(0,Me),this}};if(Er.promise(K),Be.url=((h||Be.url||Qo.href)+"").replace(Ka,Qo.protocol+"//"),Be.type=m.method||m.type||Be.method||Be.type,Be.dataTypes=(Be.dataType||"*").toLowerCase().match(L)||[""],Be.crossDomain==null){xe=I.createElement("a");try{xe.href=Be.url,xe.href=xe.href,Be.crossDomain=ts.protocol+"//"+ts.host!=xe.protocol+"//"+xe.host}catch{Be.crossDomain=!0}}if(Be.data&&Be.processData&&typeof Be.data!="string"&&(Be.data=y.param(Be.data,Be.traditional)),xs(Do,Be,m,K),we)return K;ke=y.event&&Be.global,ke&&y.active++===0&&y.event.trigger("ajaxStart"),Be.type=Be.type.toUpperCase(),Be.hasContent=!sa.test(Be.type),O=Be.url.replace(si,""),Be.hasContent?Be.data&&Be.processData&&(Be.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Be.data=Be.data.replace(es,"+")):(tt=Be.url.slice(O.length),Be.data&&(Be.processData||typeof Be.data=="string")&&(O+=(Jo.test(O)?"&":"?")+Be.data,delete Be.data),Be.cache===!1&&(O=O.replace(oa,"$1"),tt=(Jo.test(O)?"&":"?")+"_="+ia.guid+++tt),Be.url=O+tt),Be.ifModified&&(y.lastModified[O]&&K.setRequestHeader("If-Modified-Since",y.lastModified[O]),y.etag[O]&&K.setRequestHeader("If-None-Match",y.etag[O])),(Be.data&&Be.hasContent&&Be.contentType!==!1||m.contentType)&&K.setRequestHeader("Content-Type",Be.contentType),K.setRequestHeader("Accept",Be.dataTypes[0]&&Be.accepts[Be.dataTypes[0]]?Be.accepts[Be.dataTypes[0]]+(Be.dataTypes[0]!=="*"?", "+mo+"; q=0.01":""):Be.accepts["*"]);for(Je in Be.headers)K.setRequestHeader(Je,Be.headers[Je]);if(Be.beforeSend&&(Be.beforeSend.call(pt,K,Be)===!1||we))return K.abort();if(B="abort",or.add(Be.complete),K.done(Be.success),K.fail(Be.error),_=xs(vo,Be,m,K),!_)_e(-1,"No Transport");else{if(K.readyState=1,ke&&Wt.trigger("ajaxSend",[K,Be]),we)return K;Be.async&&Be.timeout>0&&(Y=t.setTimeout(function(){K.abort("timeout")},Be.timeout));try{we=!1,_.send(hn,_e)}catch(Ne){if(we)throw Ne;_e(-1,Ne)}}function _e(Ne,Me,it,vt){var Ft,nr,qt,Gr,vn,rn=Me;we||(we=!0,Y&&t.clearTimeout(Y),_=void 0,U=vt||"",K.readyState=Ne>0?4:0,Ft=Ne>=200&&Ne<300||Ne===304,it&&(Gr=No(Be,K,it)),!Ft&&y.inArray("script",Be.dataTypes)>-1&&y.inArray("json",Be.dataTypes)<0&&(Be.converters["text script"]=function(){}),Gr=Cs(Be,Gr,K,Ft),Ft?(Be.ifModified&&(vn=K.getResponseHeader("Last-Modified"),vn&&(y.lastModified[O]=vn),vn=K.getResponseHeader("etag"),vn&&(y.etag[O]=vn)),Ne===204||Be.type==="HEAD"?rn="nocontent":Ne===304?rn="notmodified":(rn=Gr.state,nr=Gr.data,qt=Gr.error,Ft=!qt)):(qt=rn,(Ne||!rn)&&(rn="error",Ne<0&&(Ne=0))),K.status=Ne,K.statusText=(Me||rn)+"",Ft?Er.resolveWith(pt,[nr,rn,K]):Er.rejectWith(pt,[K,rn,qt]),K.statusCode(gn),gn=void 0,ke&&Wt.trigger(Ft?"ajaxSuccess":"ajaxError",[K,Be,Ft?nr:qt]),or.fireWith(pt,[K,rn]),ke&&(Wt.trigger("ajaxComplete",[K,Be]),--y.active||y.event.trigger("ajaxStop")))}return K},getJSON:function(h,m,_){return y.get(h,m,_,"json")},getScript:function(h,m){return y.get(h,void 0,m,"script")}}),y.each(["get","post"],function(h,m){y[m]=function(_,O,U,W){return E(O)&&(W=W||U,U=O,O=void 0),y.ajax(y.extend({url:_,type:m,dataType:W,data:O,success:U},y.isPlainObject(_)&&_))}}),y.ajaxPrefilter(function(h){var m;for(m in h.headers)m.toLowerCase()==="content-type"&&(h.contentType=h.headers[m]||"")}),y._evalUrl=function(h,m,_){return y.ajax({url:h,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(O){y.globalEval(O,m,_)}})},y.fn.extend({wrapAll:function(h){var m;return this[0]&&(E(h)&&(h=h.call(this[0])),m=y(h,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&m.insertBefore(this[0]),m.map(function(){for(var _=this;_.firstElementChild;)_=_.firstElementChild;return _}).append(this)),this},wrapInner:function(h){return E(h)?this.each(function(m){y(this).wrapInner(h.call(this,m))}):this.each(function(){var m=y(this),_=m.contents();_.length?_.wrapAll(h):m.append(h)})},wrap:function(h){var m=E(h);return this.each(function(_){y(this).wrapAll(m?h.call(this,_):h)})},unwrap:function(h){return this.parent(h).not("body").each(function(){y(this).replaceWith(this.childNodes)}),this}}),y.expr.pseudos.hidden=function(h){return!y.expr.pseudos.visible(h)},y.expr.pseudos.visible=function(h){return!!(h.offsetWidth||h.offsetHeight||h.getClientRects().length)},y.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var nl={0:200,1223:204},Dn=y.ajaxSettings.xhr();C.cors=!!Dn&&"withCredentials"in Dn,C.ajax=Dn=!!Dn,y.ajaxTransport(function(h){var m,_;if(C.cors||Dn&&!h.crossDomain)return{send:function(O,U){var W,Y=h.xhr();if(Y.open(h.type,h.url,h.async,h.username,h.password),h.xhrFields)for(W in h.xhrFields)Y[W]=h.xhrFields[W];h.mimeType&&Y.overrideMimeType&&Y.overrideMimeType(h.mimeType),!h.crossDomain&&!O["X-Requested-With"]&&(O["X-Requested-With"]="XMLHttpRequest");for(W in O)Y.setRequestHeader(W,O[W]);m=function(xe){return function(){m&&(m=_=Y.onload=Y.onerror=Y.onabort=Y.ontimeout=Y.onreadystatechange=null,xe==="abort"?Y.abort():xe==="error"?typeof Y.status!="number"?U(0,"error"):U(Y.status,Y.statusText):U(nl[Y.status]||Y.status,Y.statusText,(Y.responseType||"text")!=="text"||typeof Y.responseText!="string"?{binary:Y.response}:{text:Y.responseText},Y.getAllResponseHeaders()))}},Y.onload=m(),_=Y.onerror=Y.ontimeout=m("error"),Y.onabort!==void 0?Y.onabort=_:Y.onreadystatechange=function(){Y.readyState===4&&t.setTimeout(function(){m&&_()})},m=m("abort");try{Y.send(h.hasContent&&h.data||null)}catch(xe){if(m)throw xe}},abort:function(){m&&m()}}}),y.ajaxPrefilter(function(h){h.crossDomain&&(h.contents.script=!1)}),y.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(h){return y.globalEval(h),h}}}),y.ajaxPrefilter("script",function(h){h.cache===void 0&&(h.cache=!1),h.crossDomain&&(h.type="GET")}),y.ajaxTransport("script",function(h){if(h.crossDomain||h.scriptAttrs){var m,_;return{send:function(O,U){m=y("<script>").attr(h.scriptAttrs||{}).prop({charset:h.scriptCharset,src:h.url}).on("load error",_=function(W){m.remove(),_=null,W&&U(W.type==="error"?404:200,W.type)}),I.head.appendChild(m[0])},abort:function(){_&&_()}}}});var aa=[],yo=/(=)\?(?=&|$)|\?\?/;y.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var h=aa.pop()||y.expando+"_"+ia.guid++;return this[h]=!0,h}}),y.ajaxPrefilter("json jsonp",function(h,m,_){var O,U,W,Y=h.jsonp!==!1&&(yo.test(h.url)?"url":typeof h.data=="string"&&(h.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&yo.test(h.data)&&"data");if(Y||h.dataTypes[0]==="jsonp")return O=h.jsonpCallback=E(h.jsonpCallback)?h.jsonpCallback():h.jsonpCallback,Y?h[Y]=h[Y].replace(yo,"$1"+O):h.jsonp!==!1&&(h.url+=(Jo.test(h.url)?"&":"?")+h.jsonp+"="+O),h.converters["script json"]=function(){return W||y.error(O+" was not called"),W[0]},h.dataTypes[0]="json",U=t[O],t[O]=function(){W=arguments},_.always(function(){U===void 0?y(t).removeProp(O):t[O]=U,h[O]&&(h.jsonpCallback=m.jsonpCallback,aa.push(O)),W&&E(U)&&U(W[0]),W=U=void 0}),"script"}),C.createHTMLDocument=function(){var h=I.implementation.createHTMLDocument("").body;return h.innerHTML="<form></form><form></form>",h.childNodes.length===2}(),y.parseHTML=function(h,m,_){if(typeof h!="string")return[];typeof m=="boolean"&&(_=m,m=!1);var O,U,W;return m||(C.createHTMLDocument?(m=I.implementation.createHTMLDocument(""),O=m.createElement("base"),O.href=I.location.href,m.head.appendChild(O)):m=I),U=qe.exec(h),W=!_&&[],U?[m.createElement(U[1])]:(U=Pn([h],m,W),W&&W.length&&y(W).remove(),y.merge([],U.childNodes))},y.fn.load=function(h,m,_){var O,U,W,Y=this,xe=h.indexOf(" ");return xe>-1&&(O=ir(h.slice(xe)),h=h.slice(0,xe)),E(m)?(_=m,m=void 0):m&&typeof m=="object"&&(U="POST"),Y.length>0&&y.ajax({url:h,type:U||"GET",dataType:"html",data:m}).done(function(we){W=arguments,Y.html(O?y("<div>").append(y.parseHTML(we)).find(O):we)}).always(_&&function(we,ke){Y.each(function(){_.apply(this,W||[we.responseText,ke,we])})}),this},y.expr.pseudos.animated=function(h){return y.grep(y.timers,function(m){return h===m.elem}).length},y.offset={setOffset:function(h,m,_){var O,U,W,Y,xe,we,ke,Je=y.css(h,"position"),tt=y(h),Be={};Je==="static"&&(h.style.position="relative"),xe=tt.offset(),W=y.css(h,"top"),we=y.css(h,"left"),ke=(Je==="absolute"||Je==="fixed")&&(W+we).indexOf("auto")>-1,ke?(O=tt.position(),Y=O.top,U=O.left):(Y=parseFloat(W)||0,U=parseFloat(we)||0),E(m)&&(m=m.call(h,_,y.extend({},xe))),m.top!=null&&(Be.top=m.top-xe.top+Y),m.left!=null&&(Be.left=m.left-xe.left+U),"using"in m?m.using.call(h,Be):tt.css(Be)}},y.fn.extend({offset:function(h){if(arguments.length)return h===void 0?this:this.each(function(U){y.offset.setOffset(this,h,U)});var m,_,O=this[0];if(O)return O.getClientRects().length?(m=O.getBoundingClientRect(),_=O.ownerDocument.defaultView,{top:m.top+_.pageYOffset,left:m.left+_.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var h,m,_,O=this[0],U={top:0,left:0};if(y.css(O,"position")==="fixed")m=O.getBoundingClientRect();else{for(m=this.offset(),_=O.ownerDocument,h=O.offsetParent||_.documentElement;h&&(h===_.body||h===_.documentElement)&&y.css(h,"position")==="static";)h=h.parentNode;h&&h!==O&&h.nodeType===1&&(U=y(h).offset(),U.top+=y.css(h,"borderTopWidth",!0),U.left+=y.css(h,"borderLeftWidth",!0))}return{top:m.top-U.top-y.css(O,"marginTop",!0),left:m.left-U.left-y.css(O,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var h=this.offsetParent;h&&y.css(h,"position")==="static";)h=h.offsetParent;return h||Rr})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(h,m){var _=m==="pageYOffset";y.fn[h]=function(O){return Oe(this,function(U,W,Y){var xe;if(S(U)?xe=U:U.nodeType===9&&(xe=U.defaultView),Y===void 0)return xe?xe[m]:U[W];xe?xe.scrollTo(_?xe.pageXOffset:Y,_?Y:xe.pageYOffset):U[W]=Y},h,O,arguments.length)}}),y.each(["top","left"],function(h,m){y.cssHooks[m]=Ge(C.pixelPosition,function(_,O){if(O)return O=Ze(_,m),ni.test(O)?y(_).position()[m]+"px":O})}),y.each({Height:"height",Width:"width"},function(h,m){y.each({padding:"inner"+h,content:m,"":"outer"+h},function(_,O){y.fn[O]=function(U,W){var Y=arguments.length&&(_||typeof U!="boolean"),xe=_||(U===!0||W===!0?"margin":"border");return Oe(this,function(we,ke,Je){var tt;return S(we)?O.indexOf("outer")===0?we["inner"+h]:we.document.documentElement["client"+h]:we.nodeType===9?(tt=we.documentElement,Math.max(we.body["scroll"+h],tt["scroll"+h],we.body["offset"+h],tt["offset"+h],tt["client"+h])):Je===void 0?y.css(we,ke,xe):y.style(we,ke,Je,xe)},m,Y?U:void 0,Y)}})}),y.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(h,m){y.fn[m]=function(_){return this.on(m,_)}}),y.fn.extend({bind:function(h,m,_){return this.on(h,null,m,_)},unbind:function(h,m){return this.off(h,null,m)},delegate:function(h,m,_,O){return this.on(m,h,_,O)},undelegate:function(h,m,_){return arguments.length===1?this.off(h,"**"):this.off(m,h||"**",_)},hover:function(h,m){return this.on("mouseenter",h).on("mouseleave",m||h)}}),y.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(h,m){y.fn[m]=function(_,O){return arguments.length>0?this.on(m,null,_,O):this.trigger(m)}});var Ts=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;y.proxy=function(h,m){var _,O,U;if(typeof m=="string"&&(_=h[m],m=h,h=_),!!E(h))return O=a.call(arguments,2),U=function(){return h.apply(m||this,O.concat(a.call(arguments)))},U.guid=h.guid=h.guid||y.guid++,U},y.holdReady=function(h){h?y.readyWait++:y.ready(!0)},y.isArray=Array.isArray,y.parseJSON=JSON.parse,y.nodeName=ae,y.isFunction=E,y.isWindow=S,y.camelCase=ve,y.type=V,y.now=Date.now,y.isNumeric=function(h){var m=y.type(h);return(m==="number"||m==="string")&&!isNaN(h-parseFloat(h))},y.trim=function(h){return h==null?"":(h+"").replace(Ts,"$1")};var wo=t.jQuery,Mo=t.$;return y.noConflict=function(h){return t.$===y&&(t.$=Mo),h&&t.jQuery===y&&(t.jQuery=wo),y},typeof r>"u"&&(t.jQuery=t.$=y),y})}(Dh)),Dh.exports}var DF=YP();const NF=Kr(DF);var xi="top",oo="bottom",so="right",Ci="left",Pp="auto",lc=[xi,oo,so,Ci],Mu="start",Ql="end",KP="clippingParents",p1="viewport",Ml="popper",XP="reference",SE=lc.reduce(function(e,t){return e.concat([t+"-"+Mu,t+"-"+Ql])},[]),g1=[].concat(lc,[Pp]).reduce(function(e,t){return e.concat([t,t+"-"+Mu,t+"-"+Ql])},[]),QP="beforeRead",JP="read",ZP="afterRead",ek="beforeMain",tk="main",rk="afterMain",nk="beforeWrite",ik="write",ok="afterWrite",sk=[QP,JP,ZP,ek,tk,rk,nk,ik,ok];function ys(e){return e?(e.nodeName||"").toLowerCase():null}function ao(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $u(e){var t=ao(e).Element;return e instanceof t||e instanceof Element}function Oo(e){var t=ao(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function v1(e){if(typeof ShadowRoot>"u")return!1;var t=ao(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function MF(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!Oo(a)||!ys(a)||(Object.assign(a.style,n),Object.keys(o).forEach(function(u){var f=o[u];f===!1?a.removeAttribute(u):a.setAttribute(u,f===!0?"":f)}))})}function $F(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],a=t.attributes[n]||{},u=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),f=u.reduce(function(l,d){return l[d]="",l},{});!Oo(o)||!ys(o)||(Object.assign(o.style,f),Object.keys(a).forEach(function(l){o.removeAttribute(l)}))})}}const m1={name:"applyStyles",enabled:!0,phase:"write",fn:MF,effect:$F,requires:["computeStyles"]};function gs(e){return e.split("-")[0]}var Au=Math.max,tp=Math.min,Jl=Math.round;function _E(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ak(){return!/^((?!chrome|android).)*safari/i.test(_E())}function Zl(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&Oo(e)&&(o=e.offsetWidth>0&&Jl(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Jl(n.height)/e.offsetHeight||1);var u=$u(e)?ao(e):window,f=u.visualViewport,l=!ak()&&r,d=(n.left+(l&&f?f.offsetLeft:0))/o,v=(n.top+(l&&f?f.offsetTop:0))/a,p=n.width/o,w=n.height/a;return{width:p,height:w,top:v,right:d+p,bottom:v+w,left:d,x:d,y:v}}function y1(e){var t=Zl(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function uk(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&v1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Xs(e){return ao(e).getComputedStyle(e)}function FF(e){return["table","td","th"].indexOf(ys(e))>=0}function Ba(e){return(($u(e)?e.ownerDocument:e.document)||window.document).documentElement}function kp(e){return ys(e)==="html"?e:e.assignedSlot||e.parentNode||(v1(e)?e.host:null)||Ba(e)}function Dx(e){return!Oo(e)||Xs(e).position==="fixed"?null:e.offsetParent}function jF(e){var t=/firefox/i.test(_E()),r=/Trident/i.test(_E());if(r&&Oo(e)){var n=Xs(e);if(n.position==="fixed")return null}var o=kp(e);for(v1(o)&&(o=o.host);Oo(o)&&["html","body"].indexOf(ys(o))<0;){var a=Xs(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Vf(e){for(var t=ao(e),r=Dx(e);r&&FF(r)&&Xs(r).position==="static";)r=Dx(r);return r&&(ys(r)==="html"||ys(r)==="body"&&Xs(r).position==="static")?t:r||jF(e)||t}function w1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ff(e,t,r){return Au(e,tp(t,r))}function UF(e,t,r){var n=ff(e,t,r);return n>r?r:n}function lk(){return{top:0,right:0,bottom:0,left:0}}function ck(e){return Object.assign({},lk(),e)}function fk(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var VF=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ck(typeof t!="number"?t:fk(t,lc))};function HF(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,u=r.modifiersData.popperOffsets,f=gs(r.placement),l=w1(f),d=[Ci,so].indexOf(f)>=0,v=d?"height":"width";if(!(!a||!u)){var p=VF(o.padding,r),w=y1(a),x=l==="y"?xi:Ci,C=l==="y"?oo:so,E=r.rects.reference[v]+r.rects.reference[l]-u[l]-r.rects.popper[v],S=u[l]-r.rects.reference[l],I=Vf(a),D=I?l==="y"?I.clientHeight||0:I.clientWidth||0:0,H=E/2-S/2,V=p[x],M=D-w[v]-p[C],G=D/2-w[v]/2+H,y=ff(V,G,M),Z=l;r.modifiersData[n]=(t={},t[Z]=y,t.centerOffset=y-G,t)}}function BF(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||uk(t.elements.popper,o)&&(t.elements.arrow=o))}const E1={name:"arrow",enabled:!0,phase:"main",fn:HF,effect:BF,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ec(e){return e.split("-")[1]}var zF={top:"auto",right:"auto",bottom:"auto",left:"auto"};function WF(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Jl(r*o)/o||0,y:Jl(n*o)/o||0}}function Nx(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.variation,u=e.offsets,f=e.position,l=e.gpuAcceleration,d=e.adaptive,v=e.roundOffsets,p=e.isFixed,w=u.x,x=w===void 0?0:w,C=u.y,E=C===void 0?0:C,S=typeof v=="function"?v({x,y:E}):{x,y:E};x=S.x,E=S.y;var I=u.hasOwnProperty("x"),D=u.hasOwnProperty("y"),H=Ci,V=xi,M=window;if(d){var G=Vf(r),y="clientHeight",Z="clientWidth";if(G===ao(r)&&(G=Ba(r),Xs(G).position!=="static"&&f==="absolute"&&(y="scrollHeight",Z="scrollWidth")),G=G,o===xi||(o===Ci||o===so)&&a===Ql){V=oo;var ae=p&&G===M&&M.visualViewport?M.visualViewport.height:G[y];E-=ae-n.height,E*=l?1:-1}if(o===Ci||(o===xi||o===oo)&&a===Ql){H=so;var ce=p&&G===M&&M.visualViewport?M.visualViewport.width:G[Z];x-=ce-n.width,x*=l?1:-1}}var ie=Object.assign({position:f},d&&zF),de=v===!0?WF({x,y:E},ao(r)):{x,y:E};if(x=de.x,E=de.y,l){var ge;return Object.assign({},ie,(ge={},ge[V]=D?"0":"",ge[H]=I?"0":"",ge.transform=(M.devicePixelRatio||1)<=1?"translate("+x+"px, "+E+"px)":"translate3d("+x+"px, "+E+"px, 0)",ge))}return Object.assign({},ie,(t={},t[V]=D?E+"px":"",t[H]=I?x+"px":"",t.transform="",t))}function qF(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,a=r.adaptive,u=a===void 0?!0:a,f=r.roundOffsets,l=f===void 0?!0:f,d={placement:gs(t.placement),variation:ec(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Nx(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nx(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Lp={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qF,data:{}};var sh={passive:!0};function GF(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=o===void 0?!0:o,u=n.resize,f=u===void 0?!0:u,l=ao(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(v){v.addEventListener("scroll",r.update,sh)}),f&&l.addEventListener("resize",r.update,sh),function(){a&&d.forEach(function(v){v.removeEventListener("scroll",r.update,sh)}),f&&l.removeEventListener("resize",r.update,sh)}}const Dp={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:GF,data:{}};var YF={left:"right",right:"left",bottom:"top",top:"bottom"};function Nh(e){return e.replace(/left|right|bottom|top/g,function(t){return YF[t]})}var KF={start:"end",end:"start"};function Mx(e){return e.replace(/start|end/g,function(t){return KF[t]})}function S1(e){var t=ao(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function _1(e){return Zl(Ba(e)).left+S1(e).scrollLeft}function XF(e,t){var r=ao(e),n=Ba(e),o=r.visualViewport,a=n.clientWidth,u=n.clientHeight,f=0,l=0;if(o){a=o.width,u=o.height;var d=ak();(d||!d&&t==="fixed")&&(f=o.offsetLeft,l=o.offsetTop)}return{width:a,height:u,x:f+_1(e),y:l}}function QF(e){var t,r=Ba(e),n=S1(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Au(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),u=Au(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-n.scrollLeft+_1(e),l=-n.scrollTop;return Xs(o||r).direction==="rtl"&&(f+=Au(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:u,x:f,y:l}}function b1(e){var t=Xs(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function dk(e){return["html","body","#document"].indexOf(ys(e))>=0?e.ownerDocument.body:Oo(e)&&b1(e)?e:dk(kp(e))}function df(e,t){var r;t===void 0&&(t=[]);var n=dk(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=ao(n),u=o?[a].concat(a.visualViewport||[],b1(n)?n:[]):n,f=t.concat(u);return o?f:f.concat(df(kp(u)))}function bE(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function JF(e,t){var r=Zl(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function $x(e,t,r){return t===p1?bE(XF(e,r)):$u(t)?JF(t,r):bE(QF(Ba(e)))}function ZF(e){var t=df(kp(e)),r=["absolute","fixed"].indexOf(Xs(e).position)>=0,n=r&&Oo(e)?Vf(e):e;return $u(n)?t.filter(function(o){return $u(o)&&uk(o,n)&&ys(o)!=="body"}):[]}function e3(e,t,r,n){var o=t==="clippingParents"?ZF(e):[].concat(t),a=[].concat(o,[r]),u=a[0],f=a.reduce(function(l,d){var v=$x(e,d,n);return l.top=Au(v.top,l.top),l.right=tp(v.right,l.right),l.bottom=tp(v.bottom,l.bottom),l.left=Au(v.left,l.left),l},$x(e,u,n));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function hk(e){var t=e.reference,r=e.element,n=e.placement,o=n?gs(n):null,a=n?ec(n):null,u=t.x+t.width/2-r.width/2,f=t.y+t.height/2-r.height/2,l;switch(o){case xi:l={x:u,y:t.y-r.height};break;case oo:l={x:u,y:t.y+t.height};break;case so:l={x:t.x+t.width,y:f};break;case Ci:l={x:t.x-r.width,y:f};break;default:l={x:t.x,y:t.y}}var d=o?w1(o):null;if(d!=null){var v=d==="y"?"height":"width";switch(a){case Mu:l[d]=l[d]-(t[v]/2-r[v]/2);break;case Ql:l[d]=l[d]+(t[v]/2-r[v]/2);break}}return l}function tc(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,a=r.strategy,u=a===void 0?e.strategy:a,f=r.boundary,l=f===void 0?KP:f,d=r.rootBoundary,v=d===void 0?p1:d,p=r.elementContext,w=p===void 0?Ml:p,x=r.altBoundary,C=x===void 0?!1:x,E=r.padding,S=E===void 0?0:E,I=ck(typeof S!="number"?S:fk(S,lc)),D=w===Ml?XP:Ml,H=e.rects.popper,V=e.elements[C?D:w],M=e3($u(V)?V:V.contextElement||Ba(e.elements.popper),l,v,u),G=Zl(e.elements.reference),y=hk({reference:G,element:H,placement:o}),Z=bE(Object.assign({},H,y)),ae=w===Ml?Z:G,ce={top:M.top-ae.top+I.top,bottom:ae.bottom-M.bottom+I.bottom,left:M.left-ae.left+I.left,right:ae.right-M.right+I.right},ie=e.modifiersData.offset;if(w===Ml&&ie){var de=ie[o];Object.keys(ce).forEach(function(ge){var me=[so,oo].indexOf(ge)>=0?1:-1,ye=[xi,oo].indexOf(ge)>=0?"y":"x";ce[ge]+=de[ye]*me})}return ce}function t3(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,u=r.padding,f=r.flipVariations,l=r.allowedAutoPlacements,d=l===void 0?g1:l,v=ec(n),p=v?f?SE:SE.filter(function(C){return ec(C)===v}):lc,w=p.filter(function(C){return d.indexOf(C)>=0});w.length===0&&(w=p);var x=w.reduce(function(C,E){return C[E]=tc(e,{placement:E,boundary:o,rootBoundary:a,padding:u})[gs(E)],C},{});return Object.keys(x).sort(function(C,E){return x[C]-x[E]})}function r3(e){if(gs(e)===Pp)return[];var t=Nh(e);return[Mx(e),t,Mx(t)]}function n3(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=o===void 0?!0:o,u=r.altAxis,f=u===void 0?!0:u,l=r.fallbackPlacements,d=r.padding,v=r.boundary,p=r.rootBoundary,w=r.altBoundary,x=r.flipVariations,C=x===void 0?!0:x,E=r.allowedAutoPlacements,S=t.options.placement,I=gs(S),D=I===S,H=l||(D||!C?[Nh(S)]:r3(S)),V=[S].concat(H).reduce(function(et,ut){return et.concat(gs(ut)===Pp?t3(t,{placement:ut,boundary:v,rootBoundary:p,padding:d,flipVariations:C,allowedAutoPlacements:E}):ut)},[]),M=t.rects.reference,G=t.rects.popper,y=new Map,Z=!0,ae=V[0],ce=0;ce<V.length;ce++){var ie=V[ce],de=gs(ie),ge=ec(ie)===Mu,me=[xi,oo].indexOf(de)>=0,ye=me?"width":"height",be=tc(t,{placement:ie,boundary:v,rootBoundary:p,altBoundary:w,padding:d}),Ae=me?ge?so:Ci:ge?oo:xi;M[ye]>G[ye]&&(Ae=Nh(Ae));var re=Nh(Ae),Ee=[];if(a&&Ee.push(be[de]<=0),f&&Ee.push(be[Ae]<=0,be[re]<=0),Ee.every(function(et){return et})){ae=ie,Z=!1;break}y.set(ie,Ee)}if(Z)for(var X=C?3:1,Re=function(ut){var dt=V.find(function(F){var T=y.get(F);if(T)return T.slice(0,ut).every(function(N){return N})});if(dt)return ae=dt,"break"},qe=X;qe>0;qe--){var Qe=Re(qe);if(Qe==="break")break}t.placement!==ae&&(t.modifiersData[n]._skip=!0,t.placement=ae,t.reset=!0)}}const x1={name:"flip",enabled:!0,phase:"main",fn:n3,requiresIfExists:["offset"],data:{_skip:!1}};function Fx(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function jx(e){return[xi,so,oo,Ci].some(function(t){return e[t]>=0})}function i3(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,u=tc(t,{elementContext:"reference"}),f=tc(t,{altBoundary:!0}),l=Fx(u,n),d=Fx(f,o,a),v=jx(l),p=jx(d);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:v,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":p})}const C1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:i3};function o3(e,t,r){var n=gs(e),o=[Ci,xi].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,u=a[0],f=a[1];return u=u||0,f=(f||0)*o,[Ci,so].indexOf(n)>=0?{x:f,y:u}:{x:u,y:f}}function s3(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=o===void 0?[0,0]:o,u=g1.reduce(function(v,p){return v[p]=o3(p,t.rects,a),v},{}),f=u[t.placement],l=f.x,d=f.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=u}const T1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:s3};function a3(e){var t=e.state,r=e.name;t.modifiersData[r]=hk({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Np={name:"popperOffsets",enabled:!0,phase:"read",fn:a3,data:{}};function u3(e){return e==="x"?"y":"x"}function l3(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=o===void 0?!0:o,u=r.altAxis,f=u===void 0?!1:u,l=r.boundary,d=r.rootBoundary,v=r.altBoundary,p=r.padding,w=r.tether,x=w===void 0?!0:w,C=r.tetherOffset,E=C===void 0?0:C,S=tc(t,{boundary:l,rootBoundary:d,padding:p,altBoundary:v}),I=gs(t.placement),D=ec(t.placement),H=!D,V=w1(I),M=u3(V),G=t.modifiersData.popperOffsets,y=t.rects.reference,Z=t.rects.popper,ae=typeof E=="function"?E(Object.assign({},t.rects,{placement:t.placement})):E,ce=typeof ae=="number"?{mainAxis:ae,altAxis:ae}:Object.assign({mainAxis:0,altAxis:0},ae),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,de={x:0,y:0};if(G){if(a){var ge,me=V==="y"?xi:Ci,ye=V==="y"?oo:so,be=V==="y"?"height":"width",Ae=G[V],re=Ae+S[me],Ee=Ae-S[ye],X=x?-Z[be]/2:0,Re=D===Mu?y[be]:Z[be],qe=D===Mu?-Z[be]:-y[be],Qe=t.elements.arrow,et=x&&Qe?y1(Qe):{width:0,height:0},ut=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:lk(),dt=ut[me],F=ut[ye],T=ff(0,y[be],et[be]),N=H?y[be]/2-X-T-dt-ce.mainAxis:Re-T-dt-ce.mainAxis,L=H?-y[be]/2+X+T+F+ce.mainAxis:qe+T+F+ce.mainAxis,q=t.elements.arrow&&Vf(t.elements.arrow),P=q?V==="y"?q.clientTop||0:q.clientLeft||0:0,j=(ge=ie==null?void 0:ie[V])!=null?ge:0,se=Ae+N-j-P,ee=Ae+L-j,pe=ff(x?tp(re,se):re,Ae,x?Au(Ee,ee):Ee);G[V]=pe,de[V]=pe-Ae}if(f){var ue,Oe=V==="x"?xi:Ci,Le=V==="x"?oo:so,oe=G[M],Se=M==="y"?"height":"width",ve=oe+S[Oe],Te=oe-S[Le],He=[xi,Ci].indexOf(I)!==-1,Ue=(ue=ie==null?void 0:ie[M])!=null?ue:0,at=He?ve:oe-y[Se]-Z[Se]-Ue+ce.altAxis,Nt=He?oe+y[Se]+Z[Se]-Ue-ce.altAxis:Te,$t=x&&He?UF(at,oe,Nt):ff(x?at:ve,oe,x?Nt:Te);G[M]=$t,de[M]=$t-oe}t.modifiersData[n]=de}}const A1={name:"preventOverflow",enabled:!0,phase:"main",fn:l3,requiresIfExists:["offset"]};function c3(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function f3(e){return e===ao(e)||!Oo(e)?S1(e):c3(e)}function d3(e){var t=e.getBoundingClientRect(),r=Jl(t.width)/e.offsetWidth||1,n=Jl(t.height)/e.offsetHeight||1;return r!==1||n!==1}function h3(e,t,r){r===void 0&&(r=!1);var n=Oo(t),o=Oo(t)&&d3(t),a=Ba(t),u=Zl(e,o,r),f={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((ys(t)!=="body"||b1(a))&&(f=f3(t)),Oo(t)?(l=Zl(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=_1(a))),{x:u.left+f.scrollLeft-l.x,y:u.top+f.scrollTop-l.y,width:u.width,height:u.height}}function p3(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function o(a){r.add(a.name);var u=[].concat(a.requires||[],a.requiresIfExists||[]);u.forEach(function(f){if(!r.has(f)){var l=t.get(f);l&&o(l)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||o(a)}),n}function g3(e){var t=p3(e);return sk.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function v3(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function m3(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ux={placement:"bottom",modifiers:[],strategy:"absolute"};function Vx(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Hf(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,a=o===void 0?Ux:o;return function(f,l,d){d===void 0&&(d=a);var v={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ux,a),modifiersData:{},elements:{reference:f,popper:l},attributes:{},styles:{}},p=[],w=!1,x={state:v,setOptions:function(I){var D=typeof I=="function"?I(v.options):I;E(),v.options=Object.assign({},a,v.options,D),v.scrollParents={reference:$u(f)?df(f):f.contextElement?df(f.contextElement):[],popper:df(l)};var H=g3(m3([].concat(n,v.options.modifiers)));return v.orderedModifiers=H.filter(function(V){return V.enabled}),C(),x.update()},forceUpdate:function(){if(!w){var I=v.elements,D=I.reference,H=I.popper;if(Vx(D,H)){v.rects={reference:h3(D,Vf(H),v.options.strategy==="fixed"),popper:y1(H)},v.reset=!1,v.placement=v.options.placement,v.orderedModifiers.forEach(function(ce){return v.modifiersData[ce.name]=Object.assign({},ce.data)});for(var V=0;V<v.orderedModifiers.length;V++){if(v.reset===!0){v.reset=!1,V=-1;continue}var M=v.orderedModifiers[V],G=M.fn,y=M.options,Z=y===void 0?{}:y,ae=M.name;typeof G=="function"&&(v=G({state:v,options:Z,name:ae,instance:x})||v)}}}},update:v3(function(){return new Promise(function(S){x.forceUpdate(),S(v)})}),destroy:function(){E(),w=!0}};if(!Vx(f,l))return x;x.setOptions(d).then(function(S){!w&&d.onFirstUpdate&&d.onFirstUpdate(S)});function C(){v.orderedModifiers.forEach(function(S){var I=S.name,D=S.options,H=D===void 0?{}:D,V=S.effect;if(typeof V=="function"){var M=V({state:v,name:I,instance:x,options:H}),G=function(){};p.push(M||G)}})}function E(){p.forEach(function(S){return S()}),p=[]}return x}}var y3=Hf(),w3=[Dp,Np,Lp,m1],E3=Hf({defaultModifiers:w3}),S3=[Dp,Np,Lp,m1,T1,x1,A1,E1,C1],R1=Hf({defaultModifiers:S3});const pk=Object.freeze(Object.defineProperty({__proto__:null,afterMain:rk,afterRead:ZP,afterWrite:ok,applyStyles:m1,arrow:E1,auto:Pp,basePlacements:lc,beforeMain:ek,beforeRead:QP,beforeWrite:nk,bottom:oo,clippingParents:KP,computeStyles:Lp,createPopper:R1,createPopperBase:y3,createPopperLite:E3,detectOverflow:tc,end:Ql,eventListeners:Dp,flip:x1,hide:C1,left:Ci,main:tk,modifierPhases:sk,offset:T1,placements:g1,popper:Ml,popperGenerator:Hf,popperOffsets:Np,preventOverflow:A1,read:JP,reference:XP,right:so,start:Mu,top:xi,variationPlacements:SE,viewport:p1,write:ik},Symbol.toStringTag,{value:"Module"}));/*!
|
|
15
|
+
* Bootstrap v5.3.2 (https://getbootstrap.com/)
|
|
16
|
+
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
17
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
18
|
+
*/const ba=new Map,Uv={set(e,t,r){ba.has(e)||ba.set(e,new Map);const n=ba.get(e);if(!n.has(t)&&n.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);return}n.set(t,r)},get(e,t){return ba.has(e)&&ba.get(e).get(t)||null},remove(e,t){if(!ba.has(e))return;const r=ba.get(e);r.delete(t),r.size===0&&ba.delete(e)}},_3=1e6,b3=1e3,xE="transitionend",gk=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),x3=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),C3=e=>{do e+=Math.floor(Math.random()*_3);while(document.getElementById(e));return e},T3=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:r}=window.getComputedStyle(e);const n=Number.parseFloat(t),o=Number.parseFloat(r);return!n&&!o?0:(t=t.split(",")[0],r=r.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(r))*b3)},vk=e=>{e.dispatchEvent(new Event(xE))},Gs=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),Ma=e=>Gs(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(gk(e)):null,cc=e=>{if(!Gs(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",r=e.closest("details:not([open])");if(!r)return t;if(r!==e){const n=e.closest("summary");if(n&&n.parentNode!==r||n===null)return!1}return t},$a=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",mk=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?mk(e.parentNode):null},rp=()=>{},Bf=e=>{e.offsetHeight},yk=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Vv=[],A3=e=>{document.readyState==="loading"?(Vv.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Vv)t()}),Vv.push(e)):e()},Po=()=>document.documentElement.dir==="rtl",Lo=e=>{A3(()=>{const t=yk();if(t){const r=e.NAME,n=t.fn[r];t.fn[r]=e.jQueryInterface,t.fn[r].Constructor=e,t.fn[r].noConflict=()=>(t.fn[r]=n,e.jQueryInterface)}})},Hi=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,wk=(e,t,r=!0)=>{if(!r){Hi(e);return}const o=T3(t)+5;let a=!1;const u=({target:f})=>{f===t&&(a=!0,t.removeEventListener(xE,u),Hi(e))};t.addEventListener(xE,u),setTimeout(()=>{a||vk(t)},o)},O1=(e,t,r,n)=>{const o=e.length;let a=e.indexOf(t);return a===-1?!r&&n?e[o-1]:e[0]:(a+=r?1:-1,n&&(a=(a+o)%o),e[Math.max(0,Math.min(a,o-1))])},R3=/[^.]*(?=\..*)\.|.*/,O3=/\..*/,I3=/::\d+$/,Hv={};let Hx=1;const Ek={mouseenter:"mouseover",mouseleave:"mouseout"},P3=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Sk(e,t){return t&&`${t}::${Hx++}`||e.uidEvent||Hx++}function _k(e){const t=Sk(e);return e.uidEvent=t,Hv[t]=Hv[t]||{},Hv[t]}function k3(e,t){return function r(n){return I1(n,{delegateTarget:e}),r.oneOff&>.off(e,n.type,t),t.apply(e,[n])}}function L3(e,t,r){return function n(o){const a=e.querySelectorAll(t);for(let{target:u}=o;u&&u!==this;u=u.parentNode)for(const f of a)if(f===u)return I1(o,{delegateTarget:u}),n.oneOff&>.off(e,o.type,t,r),r.apply(u,[o])}}function bk(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function xk(e,t,r){const n=typeof t=="string",o=n?r:t||r;let a=Ck(e);return P3.has(a)||(a=e),[n,o,a]}function Bx(e,t,r,n,o){if(typeof t!="string"||!e)return;let[a,u,f]=xk(t,r,n);t in Ek&&(u=(C=>function(E){if(!E.relatedTarget||E.relatedTarget!==E.delegateTarget&&!E.delegateTarget.contains(E.relatedTarget))return C.call(this,E)})(u));const l=_k(e),d=l[f]||(l[f]={}),v=bk(d,u,a?r:null);if(v){v.oneOff=v.oneOff&&o;return}const p=Sk(u,t.replace(R3,"")),w=a?L3(e,r,u):k3(e,u);w.delegationSelector=a?r:null,w.callable=u,w.oneOff=o,w.uidEvent=p,d[p]=w,e.addEventListener(f,w,a)}function CE(e,t,r,n,o){const a=bk(t[r],n,o);a&&(e.removeEventListener(r,a,!!o),delete t[r][a.uidEvent])}function D3(e,t,r,n){const o=t[r]||{};for(const[a,u]of Object.entries(o))a.includes(n)&&CE(e,t,r,u.callable,u.delegationSelector)}function Ck(e){return e=e.replace(O3,""),Ek[e]||e}const gt={on(e,t,r,n){Bx(e,t,r,n,!1)},one(e,t,r,n){Bx(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[o,a,u]=xk(t,r,n),f=u!==t,l=_k(e),d=l[u]||{},v=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(d).length)return;CE(e,l,u,a,o?r:null);return}if(v)for(const p of Object.keys(l))D3(e,l,p,t.slice(1));for(const[p,w]of Object.entries(d)){const x=p.replace(I3,"");(!f||t.includes(x))&&CE(e,l,u,w.callable,w.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=yk(),o=Ck(t),a=t!==o;let u=null,f=!0,l=!0,d=!1;a&&n&&(u=n.Event(t,r),n(e).trigger(u),f=!u.isPropagationStopped(),l=!u.isImmediatePropagationStopped(),d=u.isDefaultPrevented());const v=I1(new Event(t,{bubbles:f,cancelable:!0}),r);return d&&v.preventDefault(),l&&e.dispatchEvent(v),v.defaultPrevented&&u&&u.preventDefault(),v}};function I1(e,t={}){for(const[r,n]of Object.entries(t))try{e[r]=n}catch{Object.defineProperty(e,r,{configurable:!0,get(){return n}})}return e}function zx(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Bv(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Ys={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${Bv(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Bv(t)}`)},getDataAttributes(e){if(!e)return{};const t={},r=Object.keys(e.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of r){let o=n.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),t[o]=zx(e.dataset[n])}return t},getDataAttribute(e,t){return zx(e.getAttribute(`data-bs-${Bv(t)}`))}};class zf{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,r){const n=Gs(r)?Ys.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...Gs(r)?Ys.getDataAttributes(r):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,r=this.constructor.DefaultType){for(const[n,o]of Object.entries(r)){const a=t[n],u=Gs(a)?"element":x3(a);if(!new RegExp(o).test(u))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${u}" but expected type "${o}".`)}}}const N3="5.3.2";class Xo extends zf{constructor(t,r){super(),t=Ma(t),t&&(this._element=t,this._config=this._getConfig(r),Uv.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Uv.remove(this._element,this.constructor.DATA_KEY),gt.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){wk(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Uv.get(Ma(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return N3}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const zv=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let r=e.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),t=r&&r!=="#"?gk(r.trim()):null}return t},Gt={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(r=>r.matches(t))},parents(e,t){const r=[];let n=e.parentNode.closest(t);for(;n;)r.push(n),n=n.parentNode.closest(t);return r},prev(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return[r];r=r.previousElementSibling}return[]},next(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return[r];r=r.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(r=>!$a(r)&&cc(r))},getSelectorFromElement(e){const t=zv(e);return t&&Gt.findOne(t)?t:null},getElementFromSelector(e){const t=zv(e);return t?Gt.findOne(t):null},getMultipleElementsFromSelector(e){const t=zv(e);return t?Gt.find(t):[]}},Mp=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;gt.on(document,r,`[data-bs-dismiss="${n}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),$a(this))return;const a=Gt.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(a)[t]()})},M3="alert",$3="bs.alert",Tk=`.${$3}`,F3=`close${Tk}`,j3=`closed${Tk}`,U3="fade",V3="show";let Ak=class Rk extends Xo{static get NAME(){return M3}close(){if(gt.trigger(this._element,F3).defaultPrevented)return;this._element.classList.remove(V3);const r=this._element.classList.contains(U3);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),gt.trigger(this._element,j3),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=Rk.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}};Mp(Ak,"close");Lo(Ak);const H3="button",B3="bs.button",z3=`.${B3}`,W3=".data-api",q3="active",Wx='[data-bs-toggle="button"]',G3=`click${z3}${W3}`;let Ok=class Ik extends Xo{static get NAME(){return H3}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(q3))}static jQueryInterface(t){return this.each(function(){const r=Ik.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};gt.on(document,G3,Wx,e=>{e.preventDefault();const t=e.target.closest(Wx);Ok.getOrCreateInstance(t).toggle()});Lo(Ok);const Y3="swipe",fc=".bs.swipe",K3=`touchstart${fc}`,X3=`touchmove${fc}`,Q3=`touchend${fc}`,J3=`pointerdown${fc}`,Z3=`pointerup${fc}`,ej="touch",tj="pen",rj="pointer-event",nj=40,ij={endCallback:null,leftCallback:null,rightCallback:null},oj={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class np extends zf{constructor(t,r){super(),this._element=t,!(!t||!np.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ij}static get DefaultType(){return oj}static get NAME(){return Y3}dispose(){gt.off(this._element,fc)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Hi(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=nj)return;const r=t/this._deltaX;this._deltaX=0,r&&Hi(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(gt.on(this._element,J3,t=>this._start(t)),gt.on(this._element,Z3,t=>this._end(t)),this._element.classList.add(rj)):(gt.on(this._element,K3,t=>this._start(t)),gt.on(this._element,X3,t=>this._move(t)),gt.on(this._element,Q3,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===tj||t.pointerType===ej)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const sj="carousel",aj="bs.carousel",za=`.${aj}`,Pk=".data-api",uj="ArrowLeft",lj="ArrowRight",cj=500,Kc="next",Cl="prev",$l="left",Mh="right",fj=`slide${za}`,Wv=`slid${za}`,dj=`keydown${za}`,hj=`mouseenter${za}`,pj=`mouseleave${za}`,gj=`dragstart${za}`,vj=`load${za}${Pk}`,mj=`click${za}${Pk}`,kk="carousel",ah="active",yj="slide",wj="carousel-item-end",Ej="carousel-item-start",Sj="carousel-item-next",_j="carousel-item-prev",Lk=".active",Dk=".carousel-item",bj=Lk+Dk,xj=".carousel-item img",Cj=".carousel-indicators",Tj="[data-bs-slide], [data-bs-slide-to]",Aj='[data-bs-ride="carousel"]',Rj={[uj]:Mh,[lj]:$l},Oj={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ij={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Wf extends Xo{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Gt.findOne(Cj,this._element),this._addEventListeners(),this._config.ride===kk&&this.cycle()}static get Default(){return Oj}static get DefaultType(){return Ij}static get NAME(){return sj}next(){this._slide(Kc)}nextWhenVisible(){!document.hidden&&cc(this._element)&&this.next()}prev(){this._slide(Cl)}pause(){this._isSliding&&vk(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){gt.one(this._element,Wv,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){gt.one(this._element,Wv,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const o=t>n?Kc:Cl;this._slide(o,r[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&>.on(this._element,dj,t=>this._keydown(t)),this._config.pause==="hover"&&(gt.on(this._element,hj,()=>this.pause()),gt.on(this._element,pj,()=>this._maybeEnableCycle())),this._config.touch&&np.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Gt.find(xj,this._element))gt.on(n,gj,o=>o.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder($l)),rightCallback:()=>this._slide(this._directionToOrder(Mh)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),cj+this._config.interval))}};this._swipeHelper=new np(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=Rj[t.key];r&&(t.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const r=Gt.findOne(Lk,this._indicatorsElement);r.classList.remove(ah),r.removeAttribute("aria-current");const n=Gt.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(ah),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const r=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(t,r=null){if(this._isSliding)return;const n=this._getActive(),o=t===Kc,a=r||O1(this._getItems(),n,o,this._config.wrap);if(a===n)return;const u=this._getItemIndex(a),f=x=>gt.trigger(this._element,x,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:u});if(f(fj).defaultPrevented||!n||!a)return;const d=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(u),this._activeElement=a;const v=o?Ej:wj,p=o?Sj:_j;a.classList.add(p),Bf(a),n.classList.add(v),a.classList.add(v);const w=()=>{a.classList.remove(v,p),a.classList.add(ah),n.classList.remove(ah,p,v),this._isSliding=!1,f(Wv)};this._queueCallback(w,n,this._isAnimated()),d&&this.cycle()}_isAnimated(){return this._element.classList.contains(yj)}_getActive(){return Gt.findOne(bj,this._element)}_getItems(){return Gt.find(Dk,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Po()?t===$l?Cl:Kc:t===$l?Kc:Cl}_orderToDirection(t){return Po()?t===Cl?$l:Mh:t===Cl?Mh:$l}static jQueryInterface(t){return this.each(function(){const r=Wf.getOrCreateInstance(this,t);if(typeof t=="number"){r.to(t);return}if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}gt.on(document,mj,Tj,function(e){const t=Gt.getElementFromSelector(this);if(!t||!t.classList.contains(kk))return;e.preventDefault();const r=Wf.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(Ys.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});gt.on(window,vj,()=>{const e=Gt.find(Aj);for(const t of e)Wf.getOrCreateInstance(t)});Lo(Wf);const Pj="collapse",kj="bs.collapse",qf=`.${kj}`,Lj=".data-api",Dj=`show${qf}`,Nj=`shown${qf}`,Mj=`hide${qf}`,$j=`hidden${qf}`,Fj=`click${qf}${Lj}`,qv="show",Hl="collapse",uh="collapsing",jj="collapsed",Uj=`:scope .${Hl} .${Hl}`,Vj="collapse-horizontal",Hj="width",Bj="height",zj=".collapse.show, .collapse.collapsing",TE='[data-bs-toggle="collapse"]',Wj={parent:null,toggle:!0},qj={parent:"(null|element)",toggle:"boolean"};class Ef extends Xo{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=Gt.find(TE);for(const o of n){const a=Gt.getSelectorFromElement(o),u=Gt.find(a).filter(f=>f===this._element);a!==null&&u.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Wj}static get DefaultType(){return qj}static get NAME(){return Pj}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(zj).filter(f=>f!==this._element).map(f=>Ef.getOrCreateInstance(f,{toggle:!1}))),t.length&&t[0]._isTransitioning||gt.trigger(this._element,Dj).defaultPrevented)return;for(const f of t)f.hide();const n=this._getDimension();this._element.classList.remove(Hl),this._element.classList.add(uh),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(uh),this._element.classList.add(Hl,qv),this._element.style[n]="",gt.trigger(this._element,Nj)},u=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[n]=`${this._element[u]}px`}hide(){if(this._isTransitioning||!this._isShown()||gt.trigger(this._element,Mj).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Bf(this._element),this._element.classList.add(uh),this._element.classList.remove(Hl,qv);for(const o of this._triggerArray){const a=Gt.getElementFromSelector(o);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(uh),this._element.classList.add(Hl),gt.trigger(this._element,$j)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(qv)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Ma(t.parent),t}_getDimension(){return this._element.classList.contains(Vj)?Hj:Bj}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(TE);for(const r of t){const n=Gt.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=Gt.find(Uj,this._config.parent);return Gt.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(jj,!r),n.setAttribute("aria-expanded",r)}static jQueryInterface(t){const r={};return typeof t=="string"&&/show|hide/.test(t)&&(r.toggle=!1),this.each(function(){const n=Ef.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}gt.on(document,Fj,TE,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Gt.getMultipleElementsFromSelector(this))Ef.getOrCreateInstance(t,{toggle:!1}).toggle()});Lo(Ef);const qx="dropdown",Gj="bs.dropdown",Hu=`.${Gj}`,P1=".data-api",Yj="Escape",Gx="Tab",Kj="ArrowUp",Yx="ArrowDown",Xj=2,Qj=`hide${Hu}`,Jj=`hidden${Hu}`,Zj=`show${Hu}`,e4=`shown${Hu}`,Nk=`click${Hu}${P1}`,Mk=`keydown${Hu}${P1}`,t4=`keyup${Hu}${P1}`,Fl="show",r4="dropup",n4="dropend",i4="dropstart",o4="dropup-center",s4="dropdown-center",Eu='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',a4=`${Eu}.${Fl}`,$h=".dropdown-menu",u4=".navbar",l4=".navbar-nav",c4=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",f4=Po()?"top-end":"top-start",d4=Po()?"top-start":"top-end",h4=Po()?"bottom-end":"bottom-start",p4=Po()?"bottom-start":"bottom-end",g4=Po()?"left-start":"right-start",v4=Po()?"right-start":"left-start",m4="top",y4="bottom",w4={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},E4={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};let dc=class Fh extends Xo{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Gt.next(this._element,$h)[0]||Gt.prev(this._element,$h)[0]||Gt.findOne($h,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return w4}static get DefaultType(){return E4}static get NAME(){return qx}toggle(){return this._isShown()?this.hide():this.show()}show(){if($a(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!gt.trigger(this._element,Zj,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(l4))for(const n of[].concat(...document.body.children))gt.on(n,"mouseover",rp);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Fl),this._element.classList.add(Fl),gt.trigger(this._element,e4,t)}}hide(){if($a(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!gt.trigger(this._element,Qj,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))gt.off(n,"mouseover",rp);this._popper&&this._popper.destroy(),this._menu.classList.remove(Fl),this._element.classList.remove(Fl),this._element.setAttribute("aria-expanded","false"),Ys.removeDataAttribute(this._menu,"popper"),gt.trigger(this._element,Jj,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Gs(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${qx.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof pk>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:Gs(this._config.reference)?t=Ma(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=R1(t,this._menu,r)}_isShown(){return this._menu.classList.contains(Fl)}_getPlacement(){const t=this._parent;if(t.classList.contains(n4))return g4;if(t.classList.contains(i4))return v4;if(t.classList.contains(o4))return m4;if(t.classList.contains(s4))return y4;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(r4)?r?d4:f4:r?p4:h4}_detectNavbar(){return this._element.closest(u4)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Ys.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Hi(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=Gt.find(c4,this._menu).filter(o=>cc(o));n.length&&O1(n,r,t===Yx,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=Fh.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}static clearMenus(t){if(t.button===Xj||t.type==="keyup"&&t.key!==Gx)return;const r=Gt.find(a4);for(const n of r){const o=Fh.getInstance(n);if(!o||o._config.autoClose===!1)continue;const a=t.composedPath(),u=a.includes(o._menu);if(a.includes(o._element)||o._config.autoClose==="inside"&&!u||o._config.autoClose==="outside"&&u||o._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Gx||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const f={relatedTarget:o._element};t.type==="click"&&(f.clickEvent=t),o._completeHide(f)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===Yj,o=[Kj,Yx].includes(t.key);if(!o&&!n||r&&!n)return;t.preventDefault();const a=this.matches(Eu)?this:Gt.prev(this,Eu)[0]||Gt.next(this,Eu)[0]||Gt.findOne(Eu,t.delegateTarget.parentNode),u=Fh.getOrCreateInstance(a);if(o){t.stopPropagation(),u.show(),u._selectMenuItem(t);return}u._isShown()&&(t.stopPropagation(),u.hide(),a.focus())}};gt.on(document,Mk,Eu,dc.dataApiKeydownHandler);gt.on(document,Mk,$h,dc.dataApiKeydownHandler);gt.on(document,Nk,dc.clearMenus);gt.on(document,t4,dc.clearMenus);gt.on(document,Nk,Eu,function(e){e.preventDefault(),dc.getOrCreateInstance(this).toggle()});Lo(dc);const $k="backdrop",S4="fade",Kx="show",Xx=`mousedown.bs.${$k}`,_4={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},b4={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Fk extends zf{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return _4}static get DefaultType(){return b4}static get NAME(){return $k}show(t){if(!this._config.isVisible){Hi(t);return}this._append();const r=this._getElement();this._config.isAnimated&&Bf(r),r.classList.add(Kx),this._emulateAnimation(()=>{Hi(t)})}hide(t){if(!this._config.isVisible){Hi(t);return}this._getElement().classList.remove(Kx),this._emulateAnimation(()=>{this.dispose(),Hi(t)})}dispose(){this._isAppended&&(gt.off(this._element,Xx),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(S4),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Ma(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),gt.on(t,Xx,()=>{Hi(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){wk(t,this._getElement(),this._config.isAnimated)}}const x4="focustrap",C4="bs.focustrap",ip=`.${C4}`,T4=`focusin${ip}`,A4=`keydown.tab${ip}`,R4="Tab",O4="forward",Qx="backward",I4={autofocus:!0,trapElement:null},P4={autofocus:"boolean",trapElement:"element"};class jk extends zf{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return I4}static get DefaultType(){return P4}static get NAME(){return x4}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),gt.off(document,ip),gt.on(document,T4,t=>this._handleFocusin(t)),gt.on(document,A4,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,gt.off(document,ip))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=Gt.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===Qx?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===R4&&(this._lastTabNavDirection=t.shiftKey?Qx:O4)}}const Jx=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Zx=".sticky-top",lh="padding-right",eC="margin-right";class AE{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,lh,r=>r+t),this._setElementAttributes(Jx,lh,r=>r+t),this._setElementAttributes(Zx,eC,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,lh),this._resetElementAttributes(Jx,lh),this._resetElementAttributes(Zx,eC)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,r,n){const o=this.getWidth(),a=u=>{if(u!==this._element&&window.innerWidth>u.clientWidth+o)return;this._saveInitialAttribute(u,r);const f=window.getComputedStyle(u).getPropertyValue(r);u.style.setProperty(r,`${n(Number.parseFloat(f))}px`)};this._applyManipulationCallback(t,a)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&Ys.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=o=>{const a=Ys.getDataAttribute(o,r);if(a===null){o.style.removeProperty(r);return}Ys.removeDataAttribute(o,r),o.style.setProperty(r,a)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(Gs(t)){r(t);return}for(const n of Gt.find(t,this._element))r(n)}}const k4="modal",L4="bs.modal",ko=`.${L4}`,D4=".data-api",N4="Escape",M4=`hide${ko}`,$4=`hidePrevented${ko}`,Uk=`hidden${ko}`,Vk=`show${ko}`,F4=`shown${ko}`,j4=`resize${ko}`,U4=`click.dismiss${ko}`,V4=`mousedown.dismiss${ko}`,H4=`keydown.dismiss${ko}`,B4=`click${ko}${D4}`,tC="modal-open",z4="fade",rC="show",Gv="modal-static",W4=".modal.show",q4=".modal-dialog",G4=".modal-body",Y4='[data-bs-toggle="modal"]',K4={backdrop:!0,focus:!0,keyboard:!0},X4={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};let op=class Hk extends Xo{constructor(t,r){super(t,r),this._dialog=Gt.findOne(q4,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new AE,this._addEventListeners()}static get Default(){return K4}static get DefaultType(){return X4}static get NAME(){return k4}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||gt.trigger(this._element,Vk,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(tC),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||gt.trigger(this._element,M4).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(rC),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){gt.off(window,ko),gt.off(this._dialog,ko),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Fk({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new jk({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const r=Gt.findOne(G4,this._dialog);r&&(r.scrollTop=0),Bf(this._element),this._element.classList.add(rC);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,gt.trigger(this._element,F4,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){gt.on(this._element,H4,t=>{if(t.key===N4){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),gt.on(window,j4,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),gt.on(this._element,V4,t=>{gt.one(this._element,U4,r=>{if(!(this._element!==t.target||this._element!==r.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(tC),this._resetAdjustments(),this._scrollBar.reset(),gt.trigger(this._element,Uk)})}_isAnimated(){return this._element.classList.contains(z4)}_triggerBackdropTransition(){if(gt.trigger(this._element,$4).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(Gv)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(Gv),this._queueCallback(()=>{this._element.classList.remove(Gv),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),n=r>0;if(n&&!t){const o=Po()?"paddingLeft":"paddingRight";this._element.style[o]=`${r}px`}if(!n&&t){const o=Po()?"paddingRight":"paddingLeft";this._element.style[o]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,r){return this.each(function(){const n=Hk.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}};gt.on(document,B4,Y4,function(e){const t=Gt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),gt.one(t,Vk,o=>{o.defaultPrevented||gt.one(t,Uk,()=>{cc(this)&&this.focus()})});const r=Gt.findOne(W4);r&&op.getInstance(r).hide(),op.getOrCreateInstance(t).toggle(this)});Mp(op);Lo(op);const Q4="offcanvas",J4="bs.offcanvas",ea=`.${J4}`,Bk=".data-api",Z4=`load${ea}${Bk}`,eU="Escape",nC="show",iC="showing",oC="hiding",tU="offcanvas-backdrop",zk=".offcanvas.show",rU=`show${ea}`,nU=`shown${ea}`,iU=`hide${ea}`,sC=`hidePrevented${ea}`,Wk=`hidden${ea}`,oU=`resize${ea}`,sU=`click${ea}${Bk}`,aU=`keydown.dismiss${ea}`,uU='[data-bs-toggle="offcanvas"]',lU={backdrop:!0,keyboard:!0,scroll:!1},cU={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Fa extends Xo{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return lU}static get DefaultType(){return cU}static get NAME(){return Q4}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||gt.trigger(this._element,rU,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new AE().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(iC);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(nC),this._element.classList.remove(iC),gt.trigger(this._element,nU,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||gt.trigger(this._element,iU).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(oC),this._backdrop.hide();const r=()=>{this._element.classList.remove(nC,oC),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new AE().reset(),gt.trigger(this._element,Wk)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){gt.trigger(this._element,sC);return}this.hide()},r=!!this._config.backdrop;return new Fk({className:tU,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new jk({trapElement:this._element})}_addEventListeners(){gt.on(this._element,aU,t=>{if(t.key===eU){if(this._config.keyboard){this.hide();return}gt.trigger(this._element,sC)}})}static jQueryInterface(t){return this.each(function(){const r=Fa.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}gt.on(document,sU,uU,function(e){const t=Gt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),$a(this))return;gt.one(t,Wk,()=>{cc(this)&&this.focus()});const r=Gt.findOne(zk);r&&r!==t&&Fa.getInstance(r).hide(),Fa.getOrCreateInstance(t).toggle(this)});gt.on(window,Z4,()=>{for(const e of Gt.find(zk))Fa.getOrCreateInstance(e).show()});gt.on(window,oU,()=>{for(const e of Gt.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Fa.getOrCreateInstance(e).hide()});Mp(Fa);Lo(Fa);const fU=/^aria-[\w-]*$/i,qk={"*":["class","dir","id","lang","role",fU],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},dU=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),hU=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,pU=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?dU.has(r)?!!hU.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function gU(e,t,r){if(!e.length)return e;if(r&&typeof r=="function")return r(e);const o=new window.DOMParser().parseFromString(e,"text/html"),a=[].concat(...o.body.querySelectorAll("*"));for(const u of a){const f=u.nodeName.toLowerCase();if(!Object.keys(t).includes(f)){u.remove();continue}const l=[].concat(...u.attributes),d=[].concat(t["*"]||[],t[f]||[]);for(const v of l)pU(v,d)||u.removeAttribute(v.nodeName)}return o.body.innerHTML}const vU="TemplateFactory",mU={allowList:qk,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},yU={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},wU={entry:"(string|element|function|null)",selector:"(string|element)"};class EU extends zf{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return mU}static get DefaultType(){return yU}static get NAME(){return vU}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[o,a]of Object.entries(this._config.content))this._setContent(t,a,o);const r=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&r.classList.add(...n.split(" ")),r}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[r,n]of Object.entries(t))super._typeCheckConfig({selector:r,entry:n},wU)}_setContent(t,r,n){const o=Gt.findOne(n,t);if(o){if(r=this._resolvePossibleFunction(r),!r){o.remove();return}if(Gs(r)){this._putElementInTemplate(Ma(r),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(r);return}o.textContent=r}}_maybeSanitize(t){return this._config.sanitize?gU(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Hi(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const SU="tooltip",_U=new Set(["sanitize","allowList","sanitizeFn"]),Yv="fade",bU="modal",ch="show",xU=".tooltip-inner",aC=`.${bU}`,uC="hide.bs.modal",Xc="hover",Kv="focus",CU="click",TU="manual",AU="hide",RU="hidden",OU="show",IU="shown",PU="inserted",kU="click",LU="focusin",DU="focusout",NU="mouseenter",MU="mouseleave",$U={AUTO:"auto",TOP:"top",RIGHT:Po()?"left":"right",BOTTOM:"bottom",LEFT:Po()?"right":"left"},FU={allowList:qk,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},jU={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};let $p=class Gk extends Xo{constructor(t,r){if(typeof pk>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,r),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return FU}static get DefaultType(){return jU}static get NAME(){return SU}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),gt.off(this._element.closest(aC),uC,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=gt.trigger(this._element,this.constructor.eventName(OU)),n=(mk(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(o),gt.trigger(this._element,this.constructor.eventName(PU))),this._popper=this._createPopper(o),o.classList.add(ch),"ontouchstart"in document.documentElement)for(const f of[].concat(...document.body.children))gt.on(f,"mouseover",rp);const u=()=>{gt.trigger(this._element,this.constructor.eventName(IU)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(u,this.tip,this._isAnimated())}hide(){if(!this._isShown()||gt.trigger(this._element,this.constructor.eventName(AU)).defaultPrevented)return;if(this._getTipElement().classList.remove(ch),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))gt.off(o,"mouseover",rp);this._activeTrigger[CU]=!1,this._activeTrigger[Kv]=!1,this._activeTrigger[Xc]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),gt.trigger(this._element,this.constructor.eventName(RU)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const r=this._getTemplateFactory(t).toHtml();if(!r)return null;r.classList.remove(Yv,ch),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=C3(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(Yv),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new EU({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[xU]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Yv)}_isShown(){return this.tip&&this.tip.classList.contains(ch)}_createPopper(t){const r=Hi(this._config.placement,[this,t,this._element]),n=$U[r.toUpperCase()];return R1(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_resolvePossibleFunction(t){return Hi(t,[this._element])}_getPopperConfig(t){const r={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...r,...Hi(this._config.popperConfig,[r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")gt.on(this._element,this.constructor.eventName(kU),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==TU){const n=r===Xc?this.constructor.eventName(NU):this.constructor.eventName(LU),o=r===Xc?this.constructor.eventName(MU):this.constructor.eventName(DU);gt.on(this._element,n,this._config.selector,a=>{const u=this._initializeOnDelegatedTarget(a);u._activeTrigger[a.type==="focusin"?Kv:Xc]=!0,u._enter()}),gt.on(this._element,o,this._config.selector,a=>{const u=this._initializeOnDelegatedTarget(a);u._activeTrigger[a.type==="focusout"?Kv:Xc]=u._element.contains(a.relatedTarget),u._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},gt.on(this._element.closest(aC),uC,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,r){clearTimeout(this._timeout),this._timeout=setTimeout(t,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const r=Ys.getDataAttributes(this._element);for(const n of Object.keys(r))_U.has(n)&&delete r[n];return t={...r,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:Ma(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[r,n]of Object.entries(this._config))this.constructor.Default[r]!==n&&(t[r]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const r=Gk.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};Lo($p);const UU="popover",VU=".popover-header",HU=".popover-body",BU={...$p.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},zU={...$p.DefaultType,content:"(null|string|element|function)"};let WU=class Yk extends $p{static get Default(){return BU}static get DefaultType(){return zU}static get NAME(){return UU}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[VU]:this._getTitle(),[HU]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=Yk.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};Lo(WU);const qU="scrollspy",GU="bs.scrollspy",k1=`.${GU}`,YU=".data-api",KU=`activate${k1}`,lC=`click${k1}`,XU=`load${k1}${YU}`,QU="dropdown-item",Tl="active",JU='[data-bs-spy="scroll"]',Xv="[href]",ZU=".nav, .list-group",cC=".nav-link",e2=".nav-item",t2=".list-group-item",r2=`${cC}, ${e2} > ${cC}, ${t2}`,n2=".dropdown",i2=".dropdown-toggle",o2={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},s2={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Fp extends Xo{constructor(t,r){super(t,r),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return o2}static get DefaultType(){return s2}static get NAME(){return qU}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Ma(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(r=>Number.parseFloat(r))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(gt.off(this._config.target,lC),gt.on(this._config.target,lC,Xv,t=>{const r=this._observableSections.get(t.target.hash);if(r){t.preventDefault();const n=this._rootElement||window,o=r.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:o,behavior:"smooth"});return}n.scrollTop=o}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),t)}_observerCallback(t){const r=u=>this._targetLinks.get(`#${u.target.id}`),n=u=>{this._previousScrollData.visibleEntryTop=u.target.offsetTop,this._process(r(u))},o=(this._rootElement||document.documentElement).scrollTop,a=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const u of t){if(!u.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(u));continue}const f=u.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&f){if(n(u),!o)return;continue}!a&&!f&&n(u)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Gt.find(Xv,this._config.target);for(const r of t){if(!r.hash||$a(r))continue;const n=Gt.findOne(decodeURI(r.hash),this._element);cc(n)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,n))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Tl),this._activateParents(t),gt.trigger(this._element,KU,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(QU)){Gt.findOne(i2,t.closest(n2)).classList.add(Tl);return}for(const r of Gt.parents(t,ZU))for(const n of Gt.prev(r,r2))n.classList.add(Tl)}_clearActiveClass(t){t.classList.remove(Tl);const r=Gt.find(`${Xv}.${Tl}`,t);for(const n of r)n.classList.remove(Tl)}static jQueryInterface(t){return this.each(function(){const r=Fp.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}gt.on(window,XU,()=>{for(const e of Gt.find(JU))Fp.getOrCreateInstance(e)});Lo(Fp);const a2="tab",u2="bs.tab",Bu=`.${u2}`,l2=`hide${Bu}`,c2=`hidden${Bu}`,f2=`show${Bu}`,d2=`shown${Bu}`,h2=`click${Bu}`,p2=`keydown${Bu}`,g2=`load${Bu}`,v2="ArrowLeft",fC="ArrowRight",m2="ArrowUp",dC="ArrowDown",Qv="Home",hC="End",Su="active",pC="fade",Jv="show",y2="dropdown",Kk=".dropdown-toggle",w2=".dropdown-menu",Zv=`:not(${Kk})`,E2='.list-group, .nav, [role="tablist"]',S2=".nav-item, .list-group-item",_2=`.nav-link${Zv}, .list-group-item${Zv}, [role="tab"]${Zv}`,Xk='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',em=`${_2}, ${Xk}`,b2=`.${Su}[data-bs-toggle="tab"], .${Su}[data-bs-toggle="pill"], .${Su}[data-bs-toggle="list"]`;class rc extends Xo{constructor(t){super(t),this._parent=this._element.closest(E2),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),gt.on(this._element,p2,r=>this._keydown(r)))}static get NAME(){return a2}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?gt.trigger(r,l2,{relatedTarget:t}):null;gt.trigger(t,f2,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(Su),this._activate(Gt.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Jv);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),gt.trigger(t,d2,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(pC))}_deactivate(t,r){if(!t)return;t.classList.remove(Su),t.blur(),this._deactivate(Gt.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Jv);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),gt.trigger(t,c2,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(pC))}_keydown(t){if(![v2,fC,m2,dC,Qv,hC].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(o=>!$a(o));let n;if([Qv,hC].includes(t.key))n=r[t.key===Qv?0:r.length-1];else{const o=[fC,dC].includes(t.key);n=O1(r,t.target,o,!0)}n&&(n.focus({preventScroll:!0}),rc.getOrCreateInstance(n).show())}_getChildren(){return Gt.find(em,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,r){this._setAttributeIfNotExists(t,"role","tablist");for(const n of r)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const r=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",r),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),r||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const r=Gt.getElementFromSelector(t);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,r){const n=this._getOuterElement(t);if(!n.classList.contains(y2))return;const o=(a,u)=>{const f=Gt.findOne(a,n);f&&f.classList.toggle(u,r)};o(Kk,Su),o(w2,Jv),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(Su)}_getInnerElement(t){return t.matches(em)?t:Gt.findOne(em,t)}_getOuterElement(t){return t.closest(S2)||t}static jQueryInterface(t){return this.each(function(){const r=rc.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}gt.on(document,h2,Xk,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!$a(this)&&rc.getOrCreateInstance(this).show()});gt.on(window,g2,()=>{for(const e of Gt.find(b2))rc.getOrCreateInstance(e)});Lo(rc);const x2="toast",C2="bs.toast",Wa=`.${C2}`,T2=`mouseover${Wa}`,A2=`mouseout${Wa}`,R2=`focusin${Wa}`,O2=`focusout${Wa}`,I2=`hide${Wa}`,P2=`hidden${Wa}`,k2=`show${Wa}`,L2=`shown${Wa}`,D2="fade",gC="hide",fh="show",dh="showing",N2={animation:"boolean",autohide:"boolean",delay:"number"},M2={animation:!0,autohide:!0,delay:5e3};class jp extends Xo{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return M2}static get DefaultType(){return N2}static get NAME(){return x2}show(){if(gt.trigger(this._element,k2).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(D2);const r=()=>{this._element.classList.remove(dh),gt.trigger(this._element,L2),this._maybeScheduleHide()};this._element.classList.remove(gC),Bf(this._element),this._element.classList.add(fh,dh),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||gt.trigger(this._element,I2).defaultPrevented)return;const r=()=>{this._element.classList.add(gC),this._element.classList.remove(dh,fh),gt.trigger(this._element,P2)};this._element.classList.add(dh),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fh),super.dispose()}isShown(){return this._element.classList.contains(fh)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,r){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){gt.on(this._element,T2,t=>this._onInteraction(t,!0)),gt.on(this._element,A2,t=>this._onInteraction(t,!1)),gt.on(this._element,R2,t=>this._onInteraction(t,!0)),gt.on(this._element,O2,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=jp.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Mp(jp);Lo(jp);var jh={exports:{}},L1="1.13.7",vC=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},Up=Array.prototype,D1=Object.prototype,mC=typeof Symbol<"u"?Symbol.prototype:null,$2=Up.push,Gf=Up.slice,Sf=D1.toString,F2=D1.hasOwnProperty,Qk=typeof ArrayBuffer<"u",j2=typeof DataView<"u",U2=Array.isArray,yC=Object.keys,wC=Object.create,EC=Qk&&ArrayBuffer.isView,V2=isNaN,H2=isFinite,Jk=!{toString:null}.propertyIsEnumerable("toString"),SC=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B2=Math.pow(2,53)-1;function Oi(e,t){return t=t==null?e.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),n=Array(r),o=0;o<r;o++)n[o]=arguments[o+t];switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var a=Array(t+1);for(o=0;o<t;o++)a[o]=arguments[o];return a[t]=n,e.apply(this,a)}}function uo(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function Zk(e){return e===null}function _f(e){return e===void 0}function N1(e){return e===!0||e===!1||Sf.call(e)==="[object Boolean]"}function eL(e){return!!(e&&e.nodeType===1)}function vi(e){var t="[object "+e+"]";return function(r){return Sf.call(r)===t}}const Vp=vi("String"),Ru=vi("Number"),tL=vi("Date"),rL=vi("RegExp"),nL=vi("Error"),M1=vi("Symbol"),$1=vi("ArrayBuffer");var iL=vi("Function"),z2=vC.document&&vC.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof z2!="function"&&(iL=function(e){return typeof e=="function"||!1});const yr=iL,oL=vi("Object");var sL=j2&&(!/\[native code\]/.test(String(DataView))||oL(new DataView(new ArrayBuffer(8)))),F1=typeof Map<"u"&&oL(new Map),W2=vi("DataView");function q2(e){return e!=null&&yr(e.getInt8)&&$1(e.buffer)}const bf=sL?q2:W2,ta=U2||vi("Array");function qa(e,t){return e!=null&&F2.call(e,t)}var RE=vi("Arguments");(function(){RE(arguments)||(RE=function(e){return qa(e,"callee")})})();const Hp=RE;function aL(e){return!M1(e)&&H2(e)&&!isNaN(parseFloat(e))}function j1(e){return Ru(e)&&V2(e)}function U1(e){return function(){return e}}function uL(e){return function(t){var r=e(t);return typeof r=="number"&&r>=0&&r<=B2}}function lL(e){return function(t){return t==null?void 0:t[e]}}const sp=lL("byteLength"),G2=uL(sp);var Y2=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function K2(e){return EC?EC(e)&&!bf(e):G2(e)&&Y2.test(Sf.call(e))}const V1=Qk?K2:U1(!1),Bi=lL("length");function X2(e){for(var t={},r=e.length,n=0;n<r;++n)t[e[n]]=!0;return{contains:function(o){return t[o]===!0},push:function(o){return t[o]=!0,e.push(o)}}}function cL(e,t){t=X2(t);var r=SC.length,n=e.constructor,o=yr(n)&&n.prototype||D1,a="constructor";for(qa(e,a)&&!t.contains(a)&&t.push(a);r--;)a=SC[r],a in e&&e[a]!==o[a]&&!t.contains(a)&&t.push(a)}function In(e){if(!uo(e))return[];if(yC)return yC(e);var t=[];for(var r in e)qa(e,r)&&t.push(r);return Jk&&cL(e,t),t}function nc(e){if(e==null)return!0;var t=Bi(e);return typeof t=="number"&&(ta(e)||Vp(e)||Hp(e))?t===0:Bi(In(e))===0}function H1(e,t){var r=In(t),n=r.length;if(e==null)return!n;for(var o=Object(e),a=0;a<n;a++){var u=r[a];if(t[u]!==o[u]||!(u in o))return!1}return!0}function qr(e){if(e instanceof qr)return e;if(!(this instanceof qr))return new qr(e);this._wrapped=e}qr.VERSION=L1;qr.prototype.value=function(){return this._wrapped};qr.prototype.valueOf=qr.prototype.toJSON=qr.prototype.value;qr.prototype.toString=function(){return String(this._wrapped)};function _C(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,sp(e))}var bC="[object DataView]";function OE(e,t,r,n){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var o=typeof e;return o!=="function"&&o!=="object"&&typeof t!="object"?!1:fL(e,t,r,n)}function fL(e,t,r,n){e instanceof qr&&(e=e._wrapped),t instanceof qr&&(t=t._wrapped);var o=Sf.call(e);if(o!==Sf.call(t))return!1;if(sL&&o=="[object Object]"&&bf(e)){if(!bf(t))return!1;o=bC}switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:+e==0?1/+e===1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return mC.valueOf.call(e)===mC.valueOf.call(t);case"[object ArrayBuffer]":case bC:return fL(_C(e),_C(t),r,n)}var a=o==="[object Array]";if(!a&&V1(e)){var u=sp(e);if(u!==sp(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;a=!0}if(!a){if(typeof e!="object"||typeof t!="object")return!1;var f=e.constructor,l=t.constructor;if(f!==l&&!(yr(f)&&f instanceof f&&yr(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}r=r||[],n=n||[];for(var d=r.length;d--;)if(r[d]===e)return n[d]===t;if(r.push(e),n.push(t),a){if(d=e.length,d!==t.length)return!1;for(;d--;)if(!OE(e[d],t[d],r,n))return!1}else{var v=In(e),p;if(d=v.length,In(t).length!==d)return!1;for(;d--;)if(p=v[d],!(qa(t,p)&&OE(e[p],t[p],r,n)))return!1}return r.pop(),n.pop(),!0}function B1(e,t){return OE(e,t)}function hc(e){if(!uo(e))return[];var t=[];for(var r in e)t.push(r);return Jk&&cL(e,t),t}function z1(e){var t=Bi(e);return function(r){if(r==null)return!1;var n=hc(r);if(Bi(n))return!1;for(var o=0;o<t;o++)if(!yr(r[e[o]]))return!1;return e!==pL||!yr(r[W1])}}var W1="forEach",dL="has",q1=["clear","delete"],hL=["get",dL,"set"],Q2=q1.concat(W1,hL),pL=q1.concat(hL),J2=["add"].concat(q1,W1,dL);const gL=F1?z1(Q2):vi("Map"),vL=F1?z1(pL):vi("WeakMap"),mL=F1?z1(J2):vi("Set"),yL=vi("WeakSet");function ra(e){for(var t=In(e),r=t.length,n=Array(r),o=0;o<r;o++)n[o]=e[t[o]];return n}function wL(e){for(var t=In(e),r=t.length,n=Array(r),o=0;o<r;o++)n[o]=[t[o],e[t[o]]];return n}function G1(e){for(var t={},r=In(e),n=0,o=r.length;n<o;n++)t[e[r[n]]]=r[n];return t}function xf(e){var t=[];for(var r in e)yr(e[r])&&t.push(r);return t.sort()}function Y1(e,t){return function(r){var n=arguments.length;if(t&&(r=Object(r)),n<2||r==null)return r;for(var o=1;o<n;o++)for(var a=arguments[o],u=e(a),f=u.length,l=0;l<f;l++){var d=u[l];(!t||r[d]===void 0)&&(r[d]=a[d])}return r}}const _i=Y1(hc),ic=Y1(In),K1=Y1(hc,!0);function Z2(){return function(){}}function EL(e){if(!uo(e))return{};if(wC)return wC(e);var t=Z2();t.prototype=e;var r=new t;return t.prototype=null,r}function SL(e,t){var r=EL(e);return t&&ic(r,t),r}function X1(e){return uo(e)?ta(e)?e.slice():_i({},e):e}function _L(e,t){return t(e),e}function Q1(e){return ta(e)?e:[e]}qr.toPath=Q1;function Yf(e){return qr.toPath(e)}function J1(e,t){for(var r=t.length,n=0;n<r;n++){if(e==null)return;e=e[t[n]]}return r?e:void 0}function Z1(e,t,r){var n=J1(e,Yf(t));return _f(n)?r:n}function Cf(e,t){t=Yf(t);for(var r=t.length,n=0;n<r;n++){var o=t[n];if(!qa(e,o))return!1;e=e[o]}return!!r}function Kf(e){return e}function Fu(e){return e=ic({},e),function(t){return H1(t,e)}}function Bp(e){return e=Yf(e),function(t){return J1(t,e)}}function Xf(e,t,r){if(t===void 0)return e;switch(r??3){case 1:return function(n){return e.call(t,n)};case 3:return function(n,o,a){return e.call(t,n,o,a)};case 4:return function(n,o,a,u){return e.call(t,n,o,a,u)}}return function(){return e.apply(t,arguments)}}function bL(e,t,r){return e==null?Kf:yr(e)?Xf(e,t,r):uo(e)&&!ta(e)?Fu(e):Bp(e)}function zp(e,t){return bL(e,t,1/0)}qr.iteratee=zp;function zi(e,t,r){return qr.iteratee!==zp?qr.iteratee(e,t):bL(e,t,r)}function xL(e,t,r){t=zi(t,r);for(var n=In(e),o=n.length,a={},u=0;u<o;u++){var f=n[u];a[f]=t(e[f],f,e)}return a}function eS(){}function CL(e){return e==null?eS:function(t){return Z1(e,t)}}function TL(e,t,r){var n=Array(Math.max(0,e));t=Xf(t,r,1);for(var o=0;o<e;o++)n[o]=t(o);return n}function ap(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}const oc=Date.now||function(){return new Date().getTime()};function AL(e){var t=function(a){return e[a]},r="(?:"+In(e).join("|")+")",n=RegExp(r),o=RegExp(r,"g");return function(a){return a=a==null?"":""+a,n.test(a)?a.replace(o,t):a}}const RL={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},OL=AL(RL),e6=G1(RL),IL=AL(e6),PL=qr.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var tm=/(.)^/,t6={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},r6=/\\|'|\r|\n|\u2028|\u2029/g;function n6(e){return"\\"+t6[e]}var i6=/^\s*(\w|\$)+\s*$/;function kL(e,t,r){!t&&r&&(t=r),t=K1({},t,qr.templateSettings);var n=RegExp([(t.escape||tm).source,(t.interpolate||tm).source,(t.evaluate||tm).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(n,function(d,v,p,w,x){return a+=e.slice(o,x).replace(r6,n6),o=x+d.length,v?a+=`'+
|
|
19
|
+
((__t=(`+v+`))==null?'':_.escape(__t))+
|
|
20
|
+
'`:p?a+=`'+
|
|
21
|
+
((__t=(`+p+`))==null?'':__t)+
|
|
22
|
+
'`:w&&(a+=`';
|
|
23
|
+
`+w+`
|
|
24
|
+
__p+='`),d}),a+=`';
|
|
25
|
+
`;var u=t.variable;if(u){if(!i6.test(u))throw new Error("variable is not a bare identifier: "+u)}else a=`with(obj||{}){
|
|
26
|
+
`+a+`}
|
|
27
|
+
`,u="obj";a=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
|
28
|
+
`+a+`return __p;
|
|
29
|
+
`;var f;try{f=new Function(u,"_",a)}catch(d){throw d.source=a,d}var l=function(d){return f.call(this,d,qr)};return l.source="function("+u+`){
|
|
30
|
+
`+a+"}",l}function Wl(e,t,r){t=Yf(t);var n=t.length;if(!n)return yr(r)?r.call(e):r;for(var o=0;o<n;o++){var a=e==null?void 0:e[t[o]];a===void 0&&(a=r,o=n),e=yr(a)?a.call(e):a}return e}var o6=0;function tS(e){var t=++o6+"";return e?e+t:t}function LL(e){var t=qr(e);return t._chain=!0,t}function DL(e,t,r,n,o){if(!(n instanceof t))return e.apply(r,o);var a=EL(e.prototype),u=e.apply(a,o);return uo(u)?u:a}var zu=Oi(function(e,t){var r=zu.placeholder,n=function(){for(var o=0,a=t.length,u=Array(a),f=0;f<a;f++)u[f]=t[f]===r?arguments[o++]:t[f];for(;o<arguments.length;)u.push(arguments[o++]);return DL(e,n,this,this,u)};return n});zu.placeholder=qr;const ds=Oi(function(e,t,r){if(!yr(e))throw new TypeError("Bind must be called on a function");var n=Oi(function(o){return DL(e,n,t,this,r.concat(o))});return n}),fo=uL(Bi);function Wu(e,t,r,n){if(n=n||[],!t&&t!==0)t=1/0;else if(t<=0)return n.concat(e);for(var o=n.length,a=0,u=Bi(e);a<u;a++){var f=e[a];if(fo(f)&&(ta(f)||Hp(f)))if(t>1)Wu(f,t-1,r,n),o=n.length;else for(var l=0,d=f.length;l<d;)n[o++]=f[l++];else r||(n[o++]=f)}return n}const NL=Oi(function(e,t){t=Wu(t,!1,!1);var r=t.length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=t[r];e[n]=ds(e[n],e)}return e});function rS(e,t){var r=function(n){var o=r.cache,a=""+(t?t.apply(this,arguments):n);return qa(o,a)||(o[a]=e.apply(this,arguments)),o[a]};return r.cache={},r}const nS=Oi(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),ML=zu(nS,qr,1);function iS(e,t,r){var n,o,a,u,f=0;r||(r={});var l=function(){f=r.leading===!1?0:oc(),n=null,u=e.apply(o,a),n||(o=a=null)},d=function(){var v=oc();!f&&r.leading===!1&&(f=v);var p=t-(v-f);return o=this,a=arguments,p<=0||p>t?(n&&(clearTimeout(n),n=null),f=v,u=e.apply(o,a),n||(o=a=null)):!n&&r.trailing!==!1&&(n=setTimeout(l,p)),u};return d.cancel=function(){clearTimeout(n),f=0,n=o=a=null},d}function oS(e,t,r){var n,o,a,u,f,l=function(){var v=oc()-o;t>v?n=setTimeout(l,t-v):(n=null,r||(u=e.apply(f,a)),n||(a=f=null))},d=Oi(function(v){return f=this,a=v,o=oc(),n||(n=setTimeout(l,t),r&&(u=e.apply(f,a))),u});return d.cancel=function(){clearTimeout(n),n=a=f=null},d}function $L(e,t){return zu(t,e)}function Wp(e){return function(){return!e.apply(this,arguments)}}function FL(){var e=arguments,t=e.length-1;return function(){for(var r=t,n=e[t].apply(this,arguments);r--;)n=e[r].call(this,n);return n}}function jL(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function sS(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}const UL=zu(sS,2);function aS(e,t,r){t=zi(t,r);for(var n=In(e),o,a=0,u=n.length;a<u;a++)if(o=n[a],t(e[o],o,e))return o}function VL(e){return function(t,r,n){r=zi(r,n);for(var o=Bi(t),a=e>0?0:o-1;a>=0&&a<o;a+=e)if(r(t[a],a,t))return a;return-1}}const Qf=VL(1),uS=VL(-1);function lS(e,t,r,n){r=zi(r,n,1);for(var o=r(t),a=0,u=Bi(e);a<u;){var f=Math.floor((a+u)/2);r(e[f])<o?a=f+1:u=f}return a}function HL(e,t,r){return function(n,o,a){var u=0,f=Bi(n);if(typeof a=="number")e>0?u=a>=0?a:Math.max(a+f,u):f=a>=0?Math.min(a+1,f):a+f+1;else if(r&&a&&f)return a=r(n,o),n[a]===o?a:-1;if(o!==o)return a=t(Gf.call(n,u,f),j1),a>=0?a+u:-1;for(a=e>0?u:f-1;a>=0&&a<f;a+=e)if(n[a]===o)return a;return-1}}const cS=HL(1,Qf,lS),BL=HL(-1,uS);function Tf(e,t,r){var n=fo(e)?Qf:aS,o=n(e,t,r);if(o!==void 0&&o!==-1)return e[o]}function fS(e,t){return Tf(e,Fu(t))}function zn(e,t,r){t=Xf(t,r);var n,o;if(fo(e))for(n=0,o=e.length;n<o;n++)t(e[n],n,e);else{var a=In(e);for(n=0,o=a.length;n<o;n++)t(e[a[n]],a[n],e)}return e}function Qs(e,t,r){t=zi(t,r);for(var n=!fo(e)&&In(e),o=(n||e).length,a=Array(o),u=0;u<o;u++){var f=n?n[u]:u;a[u]=t(e[f],f,e)}return a}function zL(e){var t=function(r,n,o,a){var u=!fo(r)&&In(r),f=(u||r).length,l=e>0?0:f-1;for(a||(o=r[u?u[l]:l],l+=e);l>=0&&l<f;l+=e){var d=u?u[l]:l;o=n(o,r[d],d,r)}return o};return function(r,n,o,a){var u=arguments.length>=3;return t(r,Xf(n,a,4),o,u)}}const Ou=zL(1),up=zL(-1);function Js(e,t,r){var n=[];return t=zi(t,r),zn(e,function(o,a,u){t(o,a,u)&&n.push(o)}),n}function WL(e,t,r){return Js(e,Wp(zi(t)),r)}function Af(e,t,r){t=zi(t,r);for(var n=!fo(e)&&In(e),o=(n||e).length,a=0;a<o;a++){var u=n?n[a]:a;if(!t(e[u],u,e))return!1}return!0}function Rf(e,t,r){t=zi(t,r);for(var n=!fo(e)&&In(e),o=(n||e).length,a=0;a<o;a++){var u=n?n[a]:a;if(t(e[u],u,e))return!0}return!1}function Io(e,t,r,n){return fo(e)||(e=ra(e)),(typeof r!="number"||n)&&(r=0),cS(e,t,r)>=0}const qL=Oi(function(e,t,r){var n,o;return yr(t)?o=t:(t=Yf(t),n=t.slice(0,-1),t=t[t.length-1]),Qs(e,function(a){var u=o;if(!u){if(n&&n.length&&(a=J1(a,n)),a==null)return;u=a[t]}return u==null?u:u.apply(a,r)})});function qp(e,t){return Qs(e,Bp(t))}function dS(e,t){return Js(e,Fu(t))}function Gp(e,t,r){var n=-1/0,o=-1/0,a,u;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=fo(e)?e:ra(e);for(var f=0,l=e.length;f<l;f++)a=e[f],a!=null&&a>n&&(n=a)}else t=zi(t,r),zn(e,function(d,v,p){u=t(d,v,p),(u>o||u===-1/0&&n===-1/0)&&(n=d,o=u)});return n}function GL(e,t,r){var n=1/0,o=1/0,a,u;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=fo(e)?e:ra(e);for(var f=0,l=e.length;f<l;f++)a=e[f],a!=null&&a<n&&(n=a)}else t=zi(t,r),zn(e,function(d,v,p){u=t(d,v,p),(u<o||u===1/0&&n===1/0)&&(n=d,o=u)});return n}var s6=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function hS(e){return e?ta(e)?Gf.call(e):Vp(e)?e.match(s6):fo(e)?Qs(e,Kf):ra(e):[]}function pS(e,t,r){if(t==null||r)return fo(e)||(e=ra(e)),e[ap(e.length-1)];var n=hS(e),o=Bi(n);t=Math.max(Math.min(t,o),0);for(var a=o-1,u=0;u<t;u++){var f=ap(u,a),l=n[u];n[u]=n[f],n[f]=l}return n.slice(0,t)}function gS(e){return pS(e,1/0)}function vS(e,t,r){var n=0;return t=zi(t,r),qp(Qs(e,function(o,a,u){return{value:o,index:n++,criteria:t(o,a,u)}}).sort(function(o,a){var u=o.criteria,f=a.criteria;if(u!==f){if(u>f||u===void 0)return 1;if(u<f||f===void 0)return-1}return o.index-a.index}),"value")}function Yp(e,t){return function(r,n,o){var a=t?[[],[]]:{};return n=zi(n,o),zn(r,function(u,f){var l=n(u,f,r);e(a,u,l)}),a}}const mS=Yp(function(e,t,r){qa(e,r)?e[r].push(t):e[r]=[t]}),YL=Yp(function(e,t,r){e[r]=t}),yS=Yp(function(e,t,r){qa(e,r)?e[r]++:e[r]=1}),KL=Yp(function(e,t,r){e[r?0:1].push(t)},!0);function XL(e){return e==null?0:fo(e)?e.length:In(e).length}function a6(e,t,r){return t in r}const Kp=Oi(function(e,t){var r={},n=t[0];if(e==null)return r;yr(n)?(t.length>1&&(n=Xf(n,t[1])),t=hc(e)):(n=a6,t=Wu(t,!1,!1),e=Object(e));for(var o=0,a=t.length;o<a;o++){var u=t[o],f=e[u];n(f,u,e)&&(r[u]=f)}return r}),Jf=Oi(function(e,t){var r=t[0],n;return yr(r)?(r=Wp(r),t.length>1&&(n=t[1])):(t=Qs(Wu(t,!1,!1),String),r=function(o,a){return!Io(t,a)}),Kp(e,r,n)});function wS(e,t,r){return Gf.call(e,0,Math.max(0,e.length-(t==null||r?1:t)))}function Da(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[0]:wS(e,e.length-t)}function Iu(e,t,r){return Gf.call(e,t==null||r?1:t)}function Of(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[e.length-1]:Iu(e,Math.max(0,e.length-t))}function QL(e){return Js(e,Boolean)}function ES(e,t){return Wu(e,t,!1)}const SS=Oi(function(e,t){return t=Wu(t,!0,!0),Js(e,function(r){return!Io(t,r)})}),lp=Oi(function(e,t){return SS(e,t)});function ju(e,t,r,n){N1(t)||(n=r,r=t,t=!1),r!=null&&(r=zi(r,n));for(var o=[],a=[],u=0,f=Bi(e);u<f;u++){var l=e[u],d=r?r(l,u,e):l;t&&!r?((!u||a!==d)&&o.push(l),a=d):r?Io(a,d)||(a.push(d),o.push(l)):Io(o,l)||o.push(l)}return o}const JL=Oi(function(e){return ju(Wu(e,!0,!0))});function _S(e){for(var t=[],r=arguments.length,n=0,o=Bi(e);n<o;n++){var a=e[n];if(!Io(t,a)){var u;for(u=1;u<r&&Io(arguments[u],a);u++);u===r&&t.push(a)}}return t}function If(e){for(var t=e&&Gp(e,Bi).length||0,r=Array(t),n=0;n<t;n++)r[n]=qp(e,n);return r}const ZL=Oi(If);function bS(e,t){for(var r={},n=0,o=Bi(e);n<o;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function eD(e,t,r){t==null&&(t=e||0,e=0),r||(r=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/r),0),o=Array(n),a=0;a<n;a++,e+=r)o[a]=e;return o}function xS(e,t){if(t==null||t<1)return[];for(var r=[],n=0,o=e.length;n<o;)r.push(Gf.call(e,n,n+=t));return r}function CS(e,t){return e._chain?qr(t).chain():t}function TS(e){return zn(xf(e),function(t){var r=qr[t]=e[t];qr.prototype[t]=function(){var n=[this._wrapped];return $2.apply(n,arguments),CS(this,r.apply(qr,n))}}),qr}zn(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=Up[e];qr.prototype[e]=function(){var r=this._wrapped;return r!=null&&(t.apply(r,arguments),(e==="shift"||e==="splice")&&r.length===0&&delete r[0]),CS(this,r)}});zn(["concat","join","slice"],function(e){var t=Up[e];qr.prototype[e]=function(){var r=this._wrapped;return r!=null&&(r=t.apply(r,arguments)),CS(this,r)}});const u6=Object.freeze(Object.defineProperty({__proto__:null,VERSION:L1,after:jL,all:Af,allKeys:hc,any:Rf,assign:ic,before:sS,bind:ds,bindAll:NL,chain:LL,chunk:xS,clone:X1,collect:Qs,compact:QL,compose:FL,constant:U1,contains:Io,countBy:yS,create:SL,debounce:oS,default:qr,defaults:K1,defer:ML,delay:nS,detect:Tf,difference:SS,drop:Iu,each:zn,escape:OL,every:Af,extend:_i,extendOwn:ic,filter:Js,find:Tf,findIndex:Qf,findKey:aS,findLastIndex:uS,findWhere:fS,first:Da,flatten:ES,foldl:Ou,foldr:up,forEach:zn,functions:xf,get:Z1,groupBy:mS,has:Cf,head:Da,identity:Kf,include:Io,includes:Io,indexBy:YL,indexOf:cS,initial:wS,inject:Ou,intersection:_S,invert:G1,invoke:qL,isArguments:Hp,isArray:ta,isArrayBuffer:$1,isBoolean:N1,isDataView:bf,isDate:tL,isElement:eL,isEmpty:nc,isEqual:B1,isError:nL,isFinite:aL,isFunction:yr,isMap:gL,isMatch:H1,isNaN:j1,isNull:Zk,isNumber:Ru,isObject:uo,isRegExp:rL,isSet:mL,isString:Vp,isSymbol:M1,isTypedArray:V1,isUndefined:_f,isWeakMap:vL,isWeakSet:yL,iteratee:zp,keys:In,last:Of,lastIndexOf:BL,map:Qs,mapObject:xL,matcher:Fu,matches:Fu,max:Gp,memoize:rS,methods:xf,min:GL,mixin:TS,negate:Wp,noop:eS,now:oc,object:bS,omit:Jf,once:UL,pairs:wL,partial:zu,partition:KL,pick:Kp,pluck:qp,property:Bp,propertyOf:CL,random:ap,range:eD,reduce:Ou,reduceRight:up,reject:WL,rest:Iu,restArguments:Oi,result:Wl,sample:pS,select:Js,shuffle:gS,size:XL,some:Rf,sortBy:vS,sortedIndex:lS,tail:Iu,take:Da,tap:_L,template:kL,templateSettings:PL,throttle:iS,times:TL,toArray:hS,toPath:Q1,transpose:If,unescape:IL,union:JL,uniq:ju,unique:ju,uniqueId:tS,unzip:If,values:ra,where:dS,without:lp,wrap:$L,zip:ZL},Symbol.toStringTag,{value:"Module"}));var $e=TS(u6);$e._=$e;const l6=Object.freeze(Object.defineProperty({__proto__:null,VERSION:L1,after:jL,all:Af,allKeys:hc,any:Rf,assign:ic,before:sS,bind:ds,bindAll:NL,chain:LL,chunk:xS,clone:X1,collect:Qs,compact:QL,compose:FL,constant:U1,contains:Io,countBy:yS,create:SL,debounce:oS,default:$e,defaults:K1,defer:ML,delay:nS,detect:Tf,difference:SS,drop:Iu,each:zn,escape:OL,every:Af,extend:_i,extendOwn:ic,filter:Js,find:Tf,findIndex:Qf,findKey:aS,findLastIndex:uS,findWhere:fS,first:Da,flatten:ES,foldl:Ou,foldr:up,forEach:zn,functions:xf,get:Z1,groupBy:mS,has:Cf,head:Da,identity:Kf,include:Io,includes:Io,indexBy:YL,indexOf:cS,initial:wS,inject:Ou,intersection:_S,invert:G1,invoke:qL,isArguments:Hp,isArray:ta,isArrayBuffer:$1,isBoolean:N1,isDataView:bf,isDate:tL,isElement:eL,isEmpty:nc,isEqual:B1,isError:nL,isFinite:aL,isFunction:yr,isMap:gL,isMatch:H1,isNaN:j1,isNull:Zk,isNumber:Ru,isObject:uo,isRegExp:rL,isSet:mL,isString:Vp,isSymbol:M1,isTypedArray:V1,isUndefined:_f,isWeakMap:vL,isWeakSet:yL,iteratee:zp,keys:In,last:Of,lastIndexOf:BL,map:Qs,mapObject:xL,matcher:Fu,matches:Fu,max:Gp,memoize:rS,methods:xf,min:GL,mixin:TS,negate:Wp,noop:eS,now:oc,object:bS,omit:Jf,once:UL,pairs:wL,partial:zu,partition:KL,pick:Kp,pluck:qp,property:Bp,propertyOf:CL,random:ap,range:eD,reduce:Ou,reduceRight:up,reject:WL,rest:Iu,restArguments:Oi,result:Wl,sample:pS,select:Js,shuffle:gS,size:XL,some:Rf,sortBy:vS,sortedIndex:lS,tail:Iu,take:Da,tap:_L,template:kL,templateSettings:PL,throttle:iS,times:TL,toArray:hS,toPath:Q1,transpose:If,unescape:IL,union:JL,uniq:ju,unique:ju,uniqueId:tS,unzip:If,values:ra,where:dS,without:lp,wrap:$L,zip:ZL},Symbol.toStringTag,{value:"Module"})),tD=kF(l6);var rm={},xC;function rD(){return xC||(xC=1,function(e){(function(t){var r=typeof self=="object"&&self.self===self&&self||typeof ka=="object"&&ka.global===ka&&ka;{var n=tD,o;try{o=YP()}catch{}t(r,e,n,o)}})(function(t,r,n,o){var a=t.Backbone,u=Array.prototype.slice;r.VERSION="1.3.3",r.$=o,r.noConflict=function(){return t.Backbone=a,this},r.emulateHTTP=!1,r.emulateJSON=!1;var f=function(F,T,N){switch(F){case 1:return function(){return n[T](this[N])};case 2:return function(L){return n[T](this[N],L)};case 3:return function(L,q){return n[T](this[N],d(L,this),q)};case 4:return function(L,q,P){return n[T](this[N],d(L,this),q,P)};default:return function(){var L=u.call(arguments);return L.unshift(this[N]),n[T].apply(n,L)}}},l=function(F,T,N){n.each(T,function(L,q){n[q]&&(F.prototype[q]=f(L,q,N))})},d=function(F,T){return n.isFunction(F)?F:n.isObject(F)&&!T._isModel(F)?v(F):n.isString(F)?function(N){return N.get(F)}:F},v=function(F){var T=n.matches(F);return function(N){return T(N.attributes)}},p=r.Events={},w=/\s+/,x=function(F,T,N,L,q){var P=0,j;if(N&&typeof N=="object")for(L!==void 0&&("context"in q)&&q.context===void 0&&(q.context=L),j=n.keys(N);P<j.length;P++)T=x(F,T,j[P],N[j[P]],q);else if(N&&w.test(N))for(j=N.split(w);P<j.length;P++)T=F(T,j[P],L,q);else T=F(T,N,L,q);return T};p.on=function(F,T,N){return C(this,F,T,N)};var C=function(F,T,N,L,q){if(F._events=x(E,F._events||{},T,N,{context:L,ctx:F,listening:q}),q){var P=F._listeners||(F._listeners={});P[q.id]=q}return F};p.listenTo=function(F,T,N){if(!F)return this;var L=F._listenId||(F._listenId=n.uniqueId("l")),q=this._listeningTo||(this._listeningTo={}),P=q[L];if(!P){var j=this._listenId||(this._listenId=n.uniqueId("l"));P=q[L]={obj:F,objId:L,id:j,listeningTo:q,count:0}}return C(F,T,N,this,P),this};var E=function(F,T,N,L){if(N){var q=F[T]||(F[T]=[]),P=L.context,j=L.ctx,se=L.listening;se&&se.count++,q.push({callback:N,context:P,ctx:P||j,listening:se})}return F};p.off=function(F,T,N){return this._events?(this._events=x(S,this._events,F,T,{context:N,listeners:this._listeners}),this):this},p.stopListening=function(F,T,N){var L=this._listeningTo;if(!L)return this;for(var q=F?[F._listenId]:n.keys(L),P=0;P<q.length;P++){var j=L[q[P]];if(!j)break;j.obj.off(T,N,this)}return this};var S=function(F,T,N,L){if(F){var q=0,P,j=L.context,se=L.listeners;if(!T&&!N&&!j){for(var ee=n.keys(se);q<ee.length;q++)P=se[ee[q]],delete se[P.id],delete P.listeningTo[P.objId];return}for(var pe=T?[T]:n.keys(F);q<pe.length;q++){T=pe[q];var ue=F[T];if(!ue)break;for(var Oe=[],Le=0;Le<ue.length;Le++){var oe=ue[Le];N&&N!==oe.callback&&N!==oe.callback._callback||j&&j!==oe.context?Oe.push(oe):(P=oe.listening,P&&--P.count===0&&(delete se[P.id],delete P.listeningTo[P.objId]))}Oe.length?F[T]=Oe:delete F[T]}return F}};p.once=function(F,T,N){var L=x(I,{},F,T,n.bind(this.off,this));return typeof F=="string"&&N==null&&(T=void 0),this.on(L,T,N)},p.listenToOnce=function(F,T,N){var L=x(I,{},T,N,n.bind(this.stopListening,this,F));return this.listenTo(F,L)};var I=function(F,T,N,L){if(N){var q=F[T]=n.once(function(){L(T,q),N.apply(this,arguments)});q._callback=N}return F};p.trigger=function(F){if(!this._events)return this;for(var T=Math.max(0,arguments.length-1),N=Array(T),L=0;L<T;L++)N[L]=arguments[L+1];return x(D,this._events,F,void 0,N),this};var D=function(F,T,N,L){if(F){var q=F[T],P=F.all;q&&P&&(P=P.slice()),q&&H(q,L),P&&H(P,[T].concat(L))}return F},H=function(F,T){var N,L=-1,q=F.length,P=T[0],j=T[1],se=T[2];switch(T.length){case 0:for(;++L<q;)(N=F[L]).callback.call(N.ctx);return;case 1:for(;++L<q;)(N=F[L]).callback.call(N.ctx,P);return;case 2:for(;++L<q;)(N=F[L]).callback.call(N.ctx,P,j);return;case 3:for(;++L<q;)(N=F[L]).callback.call(N.ctx,P,j,se);return;default:for(;++L<q;)(N=F[L]).callback.apply(N.ctx,T);return}};p.bind=p.on,p.unbind=p.off,n.extend(r,p);var V=r.Model=function(F,T){var N=F||{};T||(T={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},T.collection&&(this.collection=T.collection),T.parse&&(N=this.parse(N,T)||{});var L=n.result(this,"defaults");N=n.defaults(n.extend({},L,N),L),this.set(N,T),this.changed={},this.initialize.apply(this,arguments)};n.extend(V.prototype,p,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(F){return n.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(F){return this.attributes[F]},escape:function(F){return n.escape(this.get(F))},has:function(F){return this.get(F)!=null},matches:function(F){return!!n.iteratee(F,this)(this.attributes)},set:function(F,T,N){if(F==null)return this;var L;if(typeof F=="object"?(L=F,N=T):(L={})[F]=T,N||(N={}),!this._validate(L,N))return!1;var q=N.unset,P=N.silent,j=[],se=this._changing;this._changing=!0,se||(this._previousAttributes=n.clone(this.attributes),this.changed={});var ee=this.attributes,pe=this.changed,ue=this._previousAttributes;for(var Oe in L)T=L[Oe],n.isEqual(ee[Oe],T)||j.push(Oe),n.isEqual(ue[Oe],T)?delete pe[Oe]:pe[Oe]=T,q?delete ee[Oe]:ee[Oe]=T;if(this.idAttribute in L&&(this.id=this.get(this.idAttribute)),!P){j.length&&(this._pending=N);for(var Le=0;Le<j.length;Le++)this.trigger("change:"+j[Le],this,ee[j[Le]],N)}if(se)return this;if(!P)for(;this._pending;)N=this._pending,this._pending=!1,this.trigger("change",this,N);return this._pending=!1,this._changing=!1,this},unset:function(F,T){return this.set(F,void 0,n.extend({},T,{unset:!0}))},clear:function(F){var T={};for(var N in this.attributes)T[N]=void 0;return this.set(T,n.extend({},F,{unset:!0}))},hasChanged:function(F){return F==null?!n.isEmpty(this.changed):n.has(this.changed,F)},changedAttributes:function(F){if(!F)return this.hasChanged()?n.clone(this.changed):!1;var T=this._changing?this._previousAttributes:this.attributes,N={};for(var L in F){var q=F[L];n.isEqual(T[L],q)||(N[L]=q)}return n.size(N)?N:!1},previous:function(F){return F==null||!this._previousAttributes?null:this._previousAttributes[F]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(F){F=n.extend({parse:!0},F);var T=this,N=F.success;return F.success=function(L){var q=F.parse?T.parse(L,F):L;if(!T.set(q,F))return!1;N&&N.call(F.context,T,L,F),T.trigger("sync",T,L,F)},dt(this,F),this.sync("read",this,F)},save:function(F,T,N){var L;F==null||typeof F=="object"?(L=F,N=T):(L={})[F]=T,N=n.extend({validate:!0,parse:!0},N);var q=N.wait;if(L&&!q){if(!this.set(L,N))return!1}else if(!this._validate(L,N))return!1;var P=this,j=N.success,se=this.attributes;N.success=function(ue){P.attributes=se;var Oe=N.parse?P.parse(ue,N):ue;if(q&&(Oe=n.extend({},L,Oe)),Oe&&!P.set(Oe,N))return!1;j&&j.call(N.context,P,ue,N),P.trigger("sync",P,ue,N)},dt(this,N),L&&q&&(this.attributes=n.extend({},se,L));var ee=this.isNew()?"create":N.patch?"patch":"update";ee==="patch"&&!N.attrs&&(N.attrs=L);var pe=this.sync(ee,this,N);return this.attributes=se,pe},destroy:function(F){F=F?n.clone(F):{};var T=this,N=F.success,L=F.wait,q=function(){T.stopListening(),T.trigger("destroy",T,T.collection,F)};F.success=function(j){L&&q(),N&&N.call(F.context,T,j,F),T.isNew()||T.trigger("sync",T,j,F)};var P=!1;return this.isNew()?n.defer(F.success):(dt(this,F),P=this.sync("delete",this,F)),L||q(),P},url:function(){var F=n.result(this,"urlRoot")||n.result(this.collection,"url")||ut();if(this.isNew())return F;var T=this.get(this.idAttribute);return F.replace(/[^\/]$/,"$&/")+encodeURIComponent(T)},parse:function(F,T){return F},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(F){return this._validate({},n.extend({},F,{validate:!0}))},_validate:function(F,T){if(!T.validate||!this.validate)return!0;F=n.extend({},this.attributes,F);var N=this.validationError=this.validate(F,T)||null;return N?(this.trigger("invalid",this,N,n.extend(T,{validationError:N})),!1):!0}});var M={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};l(V,M,"attributes");var G=r.Collection=function(F,T){T||(T={}),T.model&&(this.model=T.model),T.comparator!==void 0&&(this.comparator=T.comparator),this._reset(),this.initialize.apply(this,arguments),F&&this.reset(F,n.extend({silent:!0},T))},y={add:!0,remove:!0,merge:!0},Z={add:!0,remove:!1},ae=function(F,T,N){N=Math.min(Math.max(N,0),F.length);var L=Array(F.length-N),q=T.length,P;for(P=0;P<L.length;P++)L[P]=F[P+N];for(P=0;P<q;P++)F[P+N]=T[P];for(P=0;P<L.length;P++)F[P+q+N]=L[P]};n.extend(G.prototype,p,{model:V,initialize:function(){},toJSON:function(F){return this.map(function(T){return T.toJSON(F)})},sync:function(){return r.sync.apply(this,arguments)},add:function(F,T){return this.set(F,n.extend({merge:!1},T,Z))},remove:function(F,T){T=n.extend({},T);var N=!n.isArray(F);F=N?[F]:F.slice();var L=this._removeModels(F,T);return!T.silent&&L.length&&(T.changes={added:[],merged:[],removed:L},this.trigger("update",this,T)),N?L[0]:L},set:function(F,T){if(F!=null){T=n.extend({},y,T),T.parse&&!this._isModel(F)&&(F=this.parse(F,T)||[]);var N=!n.isArray(F);F=N?[F]:F.slice();var L=T.at;L!=null&&(L=+L),L>this.length&&(L=this.length),L<0&&(L+=this.length+1);var q=[],P=[],j=[],se=[],ee={},pe=T.add,ue=T.merge,Oe=T.remove,Le=!1,oe=this.comparator&&L==null&&T.sort!==!1,Se=n.isString(this.comparator)?this.comparator:null,ve,Te;for(Te=0;Te<F.length;Te++){ve=F[Te];var He=this.get(ve);if(He){if(ue&&ve!==He){var Ue=this._isModel(ve)?ve.attributes:ve;T.parse&&(Ue=He.parse(Ue,T)),He.set(Ue,T),j.push(He),oe&&!Le&&(Le=He.hasChanged(Se))}ee[He.cid]||(ee[He.cid]=!0,q.push(He)),F[Te]=He}else pe&&(ve=F[Te]=this._prepareModel(ve,T),ve&&(P.push(ve),this._addReference(ve,T),ee[ve.cid]=!0,q.push(ve)))}if(Oe){for(Te=0;Te<this.length;Te++)ve=this.models[Te],ee[ve.cid]||se.push(ve);se.length&&this._removeModels(se,T)}var at=!1,Nt=!oe&&pe&&Oe;if(q.length&&Nt?(at=this.length!==q.length||n.some(this.models,function($t,Ut){return $t!==q[Ut]}),this.models.length=0,ae(this.models,q,0),this.length=this.models.length):P.length&&(oe&&(Le=!0),ae(this.models,P,L??this.length),this.length=this.models.length),Le&&this.sort({silent:!0}),!T.silent){for(Te=0;Te<P.length;Te++)L!=null&&(T.index=L+Te),ve=P[Te],ve.trigger("add",ve,this,T);(Le||at)&&this.trigger("sort",this,T),(P.length||se.length||j.length)&&(T.changes={added:P,removed:se,merged:j},this.trigger("update",this,T))}return N?F[0]:F}},reset:function(F,T){T=T?n.clone(T):{};for(var N=0;N<this.models.length;N++)this._removeReference(this.models[N],T);return T.previousModels=this.models,this._reset(),F=this.add(F,n.extend({silent:!0},T)),T.silent||this.trigger("reset",this,T),F},push:function(F,T){return this.add(F,n.extend({at:this.length},T))},pop:function(F){var T=this.at(this.length-1);return this.remove(T,F)},unshift:function(F,T){return this.add(F,n.extend({at:0},T))},shift:function(F){var T=this.at(0);return this.remove(T,F)},slice:function(){return u.apply(this.models,arguments)},get:function(F){if(F!=null)return this._byId[F]||this._byId[this.modelId(F.attributes||F)]||F.cid&&this._byId[F.cid]},has:function(F){return this.get(F)!=null},at:function(F){return F<0&&(F+=this.length),this.models[F]},where:function(F,T){return this[T?"find":"filter"](F)},findWhere:function(F){return this.where(F,!0)},sort:function(F){var T=this.comparator;if(!T)throw new Error("Cannot sort a set without a comparator");F||(F={});var N=T.length;return n.isFunction(T)&&(T=n.bind(T,this)),N===1||n.isString(T)?this.models=this.sortBy(T):this.models.sort(T),F.silent||this.trigger("sort",this,F),this},pluck:function(F){return this.map(F+"")},fetch:function(F){F=n.extend({parse:!0},F);var T=F.success,N=this;return F.success=function(L){var q=F.reset?"reset":"set";N[q](L,F),T&&T.call(F.context,N,L,F),N.trigger("sync",N,L,F)},dt(this,F),this.sync("read",this,F)},create:function(F,T){T=T?n.clone(T):{};var N=T.wait;if(F=this._prepareModel(F,T),!F)return!1;N||this.add(F,T);var L=this,q=T.success;return T.success=function(P,j,se){N&&L.add(P,se),q&&q.call(se.context,P,j,se)},F.save(null,T),F},parse:function(F,T){return F},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(F){return F[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(F,T){if(this._isModel(F))return F.collection||(F.collection=this),F;T=T?n.clone(T):{},T.collection=this;var N=new this.model(F,T);return N.validationError?(this.trigger("invalid",this,N.validationError,T),!1):N},_removeModels:function(F,T){for(var N=[],L=0;L<F.length;L++){var q=this.get(F[L]);if(q){var P=this.indexOf(q);this.models.splice(P,1),this.length--,delete this._byId[q.cid];var j=this.modelId(q.attributes);j!=null&&delete this._byId[j],T.silent||(T.index=P,q.trigger("remove",q,this,T)),N.push(q),this._removeReference(q,T)}}return N},_isModel:function(F){return F instanceof V},_addReference:function(F,T){this._byId[F.cid]=F;var N=this.modelId(F.attributes);N!=null&&(this._byId[N]=F),F.on("all",this._onModelEvent,this)},_removeReference:function(F,T){delete this._byId[F.cid];var N=this.modelId(F.attributes);N!=null&&delete this._byId[N],this===F.collection&&delete F.collection,F.off("all",this._onModelEvent,this)},_onModelEvent:function(F,T,N,L){if(T){if((F==="add"||F==="remove")&&N!==this)return;if(F==="destroy"&&this.remove(T,L),F==="change"){var q=this.modelId(T.previousAttributes()),P=this.modelId(T.attributes);q!==P&&(q!=null&&delete this._byId[q],P!=null&&(this._byId[P]=T))}}this.trigger.apply(this,arguments)}});var ce={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};l(G,ce,"models");var ie=r.View=function(F){this.cid=n.uniqueId("view"),n.extend(this,n.pick(F,ge)),this._ensureElement(),this.initialize.apply(this,arguments)},de=/^(\S+)\s*(.*)$/,ge=["model","collection","el","id","attributes","className","tagName","events"];n.extend(ie.prototype,p,{tagName:"div",$:function(F){return this.$el.find(F)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(F){return this.undelegateEvents(),this._setElement(F),this.delegateEvents(),this},_setElement:function(F){this.$el=F instanceof r.$?F:r.$(F),this.el=this.$el[0]},delegateEvents:function(F){if(F||(F=n.result(this,"events")),!F)return this;this.undelegateEvents();for(var T in F){var N=F[T];if(n.isFunction(N)||(N=this[N]),!!N){var L=T.match(de);this.delegate(L[1],L[2],n.bind(N,this))}}return this},delegate:function(F,T,N){return this.$el.on(F+".delegateEvents"+this.cid,T,N),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(F,T,N){return this.$el.off(F+".delegateEvents"+this.cid,T,N),this},_createElement:function(F){return document.createElement(F)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var F=n.extend({},n.result(this,"attributes"));this.id&&(F.id=n.result(this,"id")),this.className&&(F.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(F)}},_setAttributes:function(F){this.$el.attr(F)}}),r.sync=function(F,T,N){var L=me[F];n.defaults(N||(N={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var q={type:L,dataType:"json"};if(N.url||(q.url=n.result(T,"url")||ut()),N.data==null&&T&&(F==="create"||F==="update"||F==="patch")&&(q.contentType="application/json",q.data=JSON.stringify(N.attrs||T.toJSON(N))),N.emulateJSON&&(q.contentType="application/x-www-form-urlencoded",q.data=q.data?{model:q.data}:{}),N.emulateHTTP&&(L==="PUT"||L==="DELETE"||L==="PATCH")){q.type="POST",N.emulateJSON&&(q.data._method=L);var P=N.beforeSend;N.beforeSend=function(ee){if(ee.setRequestHeader("X-HTTP-Method-Override",L),P)return P.apply(this,arguments)}}q.type!=="GET"&&!N.emulateJSON&&(q.processData=!1);var j=N.error;N.error=function(ee,pe,ue){N.textStatus=pe,N.errorThrown=ue,j&&j.call(N.context,ee,pe,ue)};var se=N.xhr=r.ajax(n.extend(q,N));return T.trigger("request",T,se,N),se};var me={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var ye=r.Router=function(F){F||(F={}),F.routes&&(this.routes=F.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},be=/\((.*?)\)/g,Ae=/(\(\?)?:\w+/g,re=/\*\w+/g,Ee=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(ye.prototype,p,{initialize:function(){},route:function(F,T,N){n.isRegExp(F)||(F=this._routeToRegExp(F)),n.isFunction(T)&&(N=T,T=""),N||(N=this[T]);var L=this;return r.history.route(F,function(q){var P=L._extractParameters(F,q);L.execute(N,P,T)!==!1&&(L.trigger.apply(L,["route:"+T].concat(P)),L.trigger("route",T,P),r.history.trigger("route",L,T,P))}),this},execute:function(F,T,N){F&&F.apply(this,T)},navigate:function(F,T){return r.history.navigate(F,T),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var F,T=n.keys(this.routes);(F=T.pop())!=null;)this.route(F,this.routes[F])}},_routeToRegExp:function(F){return F=F.replace(Ee,"\\$&").replace(be,"(?:$1)?").replace(Ae,function(T,N){return N?T:"([^/?]+)"}).replace(re,"([^?]*?)"),new RegExp("^"+F+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(F,T){var N=F.exec(T).slice(1);return n.map(N,function(L,q){return q===N.length-1?L||null:L?decodeURIComponent(L):null})}});var X=r.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},Re=/^[#\/]|\s+$/g,qe=/^\/+|\/+$/g,Qe=/#.*$/;X.started=!1,n.extend(X.prototype,p,{interval:50,atRoot:function(){var F=this.location.pathname.replace(/[^\/]$/,"$&/");return F===this.root&&!this.getSearch()},matchRoot:function(){var F=this.decodeFragment(this.location.pathname),T=F.slice(0,this.root.length-1)+"/";return T===this.root},decodeFragment:function(F){return decodeURI(F.replace(/%25/g,"%2525"))},getSearch:function(){var F=this.location.href.replace(/#.*/,"").match(/\?.+/);return F?F[0]:""},getHash:function(F){var T=(F||this).location.href.match(/#(.*)$/);return T?T[1]:""},getPath:function(){var F=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return F.charAt(0)==="/"?F.slice(1):F},getFragment:function(F){return F==null&&(this._usePushState||!this._wantsHashChange?F=this.getPath():F=this.getHash()),F.replace(Re,"")},start:function(F){if(X.started)throw new Error("Backbone.history has already been started");if(X.started=!0,this.options=n.extend({root:"/"},this.options,F),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(document.documentMode===void 0||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.history&&this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(qe,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var T=this.root.slice(0,-1)||"/";return this.location.replace(T+"#"+this.getPath()),!0}else this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var N=document.body,L=N.insertBefore(this.iframe,N.firstChild).contentWindow;L.document.open(),L.document.close(),L.location.hash="#"+this.fragment}var q=window.addEventListener||function(P,j){return attachEvent("on"+P,j)};if(this._usePushState?q("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?q("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var F=window.removeEventListener||function(T,N){return detachEvent("on"+T,N)};this._usePushState?F("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&F("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),X.started=!1},route:function(F,T){this.handlers.unshift({route:F,callback:T})},checkUrl:function(F){var T=this.getFragment();if(T===this.fragment&&this.iframe&&(T=this.getHash(this.iframe.contentWindow)),T===this.fragment)return!1;this.iframe&&this.navigate(T),this.loadUrl()},loadUrl:function(F){return this.matchRoot()?(F=this.fragment=this.getFragment(F),n.some(this.handlers,function(T){if(T.route.test(F))return T.callback(F),!0})):!1},navigate:function(F,T){if(!X.started)return!1;(!T||T===!0)&&(T={trigger:!!T}),F=this.getFragment(F||"");var N=this.root;(F===""||F.charAt(0)==="?")&&(N=N.slice(0,-1)||"/");var L=N+F;if(F=this.decodeFragment(F.replace(Qe,"")),this.fragment!==F){if(this.fragment=F,this._usePushState)this.history[T.replace?"replaceState":"pushState"]({},document.title,L);else if(this._wantsHashChange){if(this._updateHash(this.location,F,T.replace),this.iframe&&F!==this.getHash(this.iframe.contentWindow)){var q=this.iframe.contentWindow;T.replace||(q.document.open(),q.document.close()),this._updateHash(q.location,F,T.replace)}}else return this.location.assign(L);if(T.trigger)return this.loadUrl(F)}},_updateHash:function(F,T,N){if(N){var L=F.href.replace(/(javascript:|#).*$/,"");F.replace(L+"#"+T)}else F.hash="#"+T}}),r.history=new X;var et=function(F,T){var N=this,L;return F&&n.has(F,"constructor")?L=F.constructor:L=function(){return N.apply(this,arguments)},n.extend(L,N,T),L.prototype=n.create(N.prototype,F),L.prototype.constructor=L,L.__super__=N.prototype,L};V.extend=G.extend=ye.extend=ie.extend=X.extend=et;var ut=function(){throw new Error('A "url" property or function must be specified')},dt=function(F,T){var N=T.error;T.error=function(L){N&&N.call(T.context,F,L,T),F.trigger("error",F,L,T)}};return r})}(rm)),rm}var c6=jh.exports,CC;function f6(){return CC||(CC=1,function(e,t){(function(r,n){e.exports=n(tD,rD())})(c6,function(r,n){r="default"in r?r.default:r,n="default"in n?n.default:n;var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol?"symbol":typeof S},a=n.Radio,u=n.Radio={};u.VERSION="2.0.0",u.noConflict=function(){return n.Radio=a,this},u.DEBUG=!1,u._debugText=function(S,I,D){return S+(D?" on the "+D+" channel":"")+': "'+I+'"'},u.debugLog=function(S,I,D){u.DEBUG&&console&&console.warn&&console.warn(u._debugText(S,I,D))};var f=/\s+/;u._eventsApi=function(S,I,D,H){if(!D)return!1;var V={};if((typeof D>"u"?"undefined":o(D))==="object"){for(var M in D){var G=S[I].apply(S,[M,D[M]].concat(H));f.test(M)?r.extend(V,G):V[M]=G}return V}if(f.test(D)){for(var y=D.split(f),Z=0,ae=y.length;Z<ae;Z++)V[y[Z]]=S[I].apply(S,[y[Z]].concat(H));return V}return!1},u._callHandler=function(S,I,D){var H=D[0],V=D[1],M=D[2];switch(D.length){case 0:return S.call(I);case 1:return S.call(I,H);case 2:return S.call(I,H,V);case 3:return S.call(I,H,V,M);default:return S.apply(I,D)}};function l(S,I,D,H){var V=S[I];if((!D||D===V.callback||D===V.callback._callback)&&(!H||H===V.context))return delete S[I],!0}function d(S,I,D,H){S||(S={});for(var V=I?[I]:r.keys(S),M=!1,G=0,y=V.length;G<y;G++)I=V[G],S[I]&&l(S,I,D,H)&&(M=!0);return M}var v={};function p(S){return v[S]||(v[S]=r.bind(u.log,u,S))}r.extend(u,{log:function(I,D){if(!(typeof console>"u")){var H=r.toArray(arguments).slice(2);console.log("["+I+'] "'+D+'"',H)}},tuneIn:function(I){var D=u.channel(I);return D._tunedIn=!0,D.on("all",p(I)),this},tuneOut:function(I){var D=u.channel(I);return D._tunedIn=!1,D.off("all",p(I)),delete v[I],this}});function w(S){return r.isFunction(S)?S:function(){return S}}u.Requests={request:function(I){var D=r.toArray(arguments).slice(1),H=u._eventsApi(this,"request",I,D);if(H)return H;var V=this.channelName,M=this._requests;if(V&&this._tunedIn&&u.log.apply(this,[V,I].concat(D)),M&&(M[I]||M.default)){var G=M[I]||M.default;return D=M[I]?D:arguments,u._callHandler(G.callback,G.context,D)}else u.debugLog("An unhandled request was fired",I,V)},reply:function(I,D,H){return u._eventsApi(this,"reply",I,[D,H])?this:(this._requests||(this._requests={}),this._requests[I]&&u.debugLog("A request was overwritten",I,this.channelName),this._requests[I]={callback:w(D),context:H||this},this)},replyOnce:function(I,D,H){if(u._eventsApi(this,"replyOnce",I,[D,H]))return this;var V=this,M=r.once(function(){return V.stopReplying(I),w(D).apply(this,arguments)});return this.reply(I,M,H)},stopReplying:function(I,D,H){return u._eventsApi(this,"stopReplying",I)?this:(!I&&!D&&!H?delete this._requests:d(this._requests,I,D,H)||u.debugLog("Attempted to remove the unregistered request",I,this.channelName),this)}},u._channels={},u.channel=function(S){if(!S)throw new Error("You must provide a name for the channel.");return u._channels[S]?u._channels[S]:u._channels[S]=new u.Channel(S)},u.Channel=function(S){this.channelName=S},r.extend(u.Channel.prototype,n.Events,u.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var x,C,E=[n.Events,u.Requests];return r.each(E,function(S){r.each(S,function(I,D){u[D]=function(H){return C=r.toArray(arguments).slice(1),x=this.channel(H),x[D].apply(x,C)}})}),u.reset=function(S){var I=S?[this._channels[S]]:this._channels;r.each(I,function(D){D.reset()})},u})}(jh)),jh.exports}var d6=f6();const TC=Kr(d6);var Zt=rD();const Fn=Kr(Zt),Nr={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"},jr={SHOW_POPUP:"show:popup",ROUTE:"route",LOCK_NAV:"lock:nav",UNLOCK_NAV:"unlock:nav",NAV_IS_LOCKED:"navigation:islocked",NAV_UNLOCKED_BY_USER:"navigation:unlocked:by:user",ROUTING_START:"routing:start",ROUTING_END:"routing:end",HAS_ACTIVE_ROUTE:"has:active:route",ROUTE_LOOKUP:"route:look:up",URL_CHANGE:"url:change",ERROR:"error",CURRENT_ROUTE:"route:current"},h6=/\/+$/g,p6=Zt.history.getFragment.bind(Zt.history);_i(Zt.history,{getFragment(e){return p6(e).replace(h6,"")}});const Yr={GetQuery(){return Yr.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery(e){if(!e)return;const t=Yr.GetQuery();let r=Yr.SerializeQueryParams(_i(t,e));r&&(r=`?${r}`),Yr.UpdateUrl(`${Yr.GetCurrentPath()}${r}`,null,{replace:!0,trigger:!1})},UpdateUrl(e,t,r){const n=_n.buildRoute(e,t);Zt.history.navigate(n,r),Zt.Radio.channel(Nr.SHELL).trigger(jr.URL_CHANGE,t,r)},SerializeQueryParams(e){if(!e)return"";if(typeof e=="string")return e;const t=[],r=(n,o)=>`${encodeURIComponent(n)}=${encodeURIComponent(o)}`;return Object.keys(e).sort().forEach(n=>{const o=e[n];if(!(typeof o>"u"||o===null)){if(Array.isArray(o)){o.forEach(a=>{t.push(r(n,a))});return}t.push(r(n,o))}}),t.join("&")},DeserializeQueryParams(e){return e?Ou(e.split("&"),(t,r)=>{const n=r.split("="),o=n[0],a=n.length>0?decodeURIComponent(n[1]):"";return t[o]?t[o]instanceof Array?(t[o].push(a),t):(t[o]=[t[o],a],t):(t[o]=a,t)},{}):{}},StartHistory(){Zt.History.started&&Zt.history.stop(),Zt.history.start({pushState:!0})},PageLoad(e,t=!1){if(!t){window.location.href=e;return}window.open(e,"_blank")},Redirect(e,t=!0){const r=()=>t?window.location.replace(e):window.location.href=e;qo.hasActiveRoute()?Zt.Radio.channel(Nr.SHELL).once("routing:end",r):r()},Reload(){window.location.reload()},GetCurrentPath(){return window.location.pathname},GetCurrentQueryString(){return window.location.search},GetCurrentPathAndQuery(){return window.location.pathname+window.location.search},GetCurrentUrl(){return window.location.href},GetCurrentReferrer(){return document.referrer},GetCurrentOrigin(){return window.location.origin},SetPageTitle(e){document.title=e}},g6=/((\(\?)?:\w+)|(\*\w+)/,v6=/[\(\)]/g,m6=/\(\/\)/g,y6=/\/$/,w6=/\([^)]*\)/g,qo={routingStarted(){Zt.Radio.channel(Nr.SHELL).trigger(jr.ROUTING_START)},routingEnded(){if(!qo.hasActiveRoute())return;Zt.Radio.channel(Nr.SHELL).trigger(jr.ROUTING_END)},hasActiveRoute(){return Zt.Radio.channel(Nr.SHELL).request(jr.HAS_ACTIVE_ROUTE)}},AC=(e,t={})=>{t.usedHelper=!0;const{application:r,action:n}=e;Zt.Radio.channel(r).trigger(n,e,t)},_n={getHref(e,t){if(!e)return"";const{application:r,action:n,args:o,params:a}=e,u=Zt.Radio.channel(Nr.SHELL),f={...t,middlewareOptions:{buildHref:!0,...t==null?void 0:t.middlewareOptions}},l=u.request(jr.ROUTE_LOOKUP,`${r}:${n}`,o,a,f);return l===!1?"":`/${l}`},buildRoute(e,t,r){if(!t)return e;const n=t.args,o=t.params;if(zn(n,u=>{e=e.replace(g6,u||"")}),r!=null&&r.excludeOptionalRoute&&(e=e.replace(w6,"")),e=e.replace(m6,""),e=e.replace(v6,""),e=e.replace(y6,""),!o)return e;const a=Yr.SerializeQueryParams(o);return a.length?`${e}?${a}`:e},trigger(e,t){if(!e)return;if(!qo.hasActiveRoute()){AC(e,t);return}Zt.Radio.channel(Nr.SHELL).once("routing:end",()=>{AC(e,t)})},getCurrentAppLink(){return Zt.Radio.channel(Nr.SHELL).request(jr.CURRENT_ROUTE)},getAppLinkString(e){return e?e.application+e.action:""},isEqual(e,t,r={args:!0,params:!0}){if((e==null?void 0:e.application)!==(t==null?void 0:t.application)||(e==null?void 0:e.action)!==(t==null?void 0:t.action))return!1;const n=((e==null?void 0:e.args)??[]).join(","),o=(t.args??[]).join(",");if(r.args&&n!==o)return!1;const a=Yr.SerializeQueryParams((e==null?void 0:e.params)??{}),u=Yr.SerializeQueryParams((t==null?void 0:t.params)??{});return!(r.params&&a!==u)}};var E6="4.1.3",Zf=Fn.Model.extend,AS=function(t){var r=this;if(t)return $e.reduce(t,function(n,o,a){return $e.isFunction(o)||(o=r[o]),o&&(n[a]=o),n},{})},RC=["description","fileName","lineNumber","name","message","number","url"],ei=Zf.call(Error,{urlRoot:"http://marionettejs.com/docs/v".concat(E6,"/"),url:"",constructor:function(t){var r=Error.call(this,t.message);$e.extend(this,$e.pick(r,RC),$e.pick(t,RC)),Error.captureStackTrace&&this.captureStackTrace(),this.url=this.urlRoot+this.url},captureStackTrace:function(){Error.captureStackTrace(this,ei)},toString:function(){return"".concat(this.name,": ").concat(this.message," See: ").concat(this.url)}});function nD(e,t){if(!$e.isObject(t))throw new ei({message:"Bindings must be an object.",url:"common.html#bindevents"});return AS.call(e,t)}function S6(e,t){return!e||!t?this:(this.listenTo(e,nD(this,t)),this)}function _6(e,t){return e?t?(this.stopListening(e,nD(this,t)),this):(this.stopListening(e),this):this}function iD(e,t){if(!$e.isObject(t))throw new ei({message:"Bindings must be an object.",url:"common.html#bindrequests"});return AS.call(e,t)}function b6(e,t){return!e||!t?this:(e.reply(iD(this,t),this),this)}function x6(e,t){return e?t?(e.stopReplying(iD(this,t),this),this):(e.stopReplying(null,null,this),this):this}var oD=function(t){if(t)return this.options&&this.options[t]!==void 0?this.options[t]:this[t]},C6=function(t,r){var n=this;t&&$e.each(r,function(o){var a=t[o];a!==void 0&&(n[o]=a)})};function Xp(e,t,r){e._getImmediateChildren&&$e.each(e._getImmediateChildren(),function(n){r(n)&&n.triggerMethod(t,n)})}function sD(e){return!e._isAttached}function T6(e){return sD(e)?(e._isAttached=!0,!0):!1}function A6(e){return e._isAttached}function R6(e){return e._isAttached=!1,!0}function aD(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:refresh",e)}function uD(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:remove",e)}function O6(){Xp(this,"before:attach",sD)}function I6(){Xp(this,"attach",T6),aD(this)}function P6(){Xp(this,"before:detach",A6),uD(this)}function k6(){Xp(this,"detach",R6)}function L6(){uD(this)}function D6(){aD(this)}function cp(e){e._areViewEventsMonitored||e.monitorViewEvents===!1||(e._areViewEventsMonitored=!0,e.on({"before:attach":O6,attach:I6,"before:detach":P6,detach:k6,"before:render":L6,render:D6}))}var N6=/(^|:)(\w)/gi,nm={};function M6(e,t,r){return r.toUpperCase()}var $6=function(t){return nm[t]||(nm[t]="on"+t.replace(N6,M6)),nm[t]};function F6(e){var t=$6(e),r=oD.call(this,t),n;return $e.isFunction(r)&&(n=r.apply(this,$e.drop(arguments))),this.trigger.apply(this,arguments),n}var pc={normalizeMethods:AS,_setOptions:function(t,r){this.options=$e.extend({},$e.result(this,"options"),t),this.mergeOptions(t,r)},mergeOptions:C6,getOption:oD,bindEvents:S6,unbindEvents:_6,bindRequests:b6,unbindRequests:x6,triggerMethod:F6};$e.extend(pc,Fn.Events);var lD={_isDestroyed:!1,isDestroyed:function(){return this._isDestroyed},destroy:function(t){return this._isDestroyed?this:(this.triggerMethod("before:destroy",this,t),this._isDestroyed=!0,this.triggerMethod("destroy",this,t),this.stopListening(),this)}},cD={_initRadio:function(){var t=$e.result(this,"channelName");if(t){if(!TC)throw new ei({message:'The dependency "backbone.radio" is missing.',url:"backbone.radio.html#marionette-integration"});var r=this._channel=TC.channel(t),n=$e.result(this,"radioEvents");this.bindEvents(r,n);var o=$e.result(this,"radioRequests");this.bindRequests(r,o),this.on("destroy",this._destroyRadio)}},_destroyRadio:function(){this._channel.stopReplying(null,null,this)},getChannel:function(){return this._channel}},j6=["channelName","radioEvents","radioRequests"],qu=function(t){this._setOptions(t,j6),this.cid=$e.uniqueId(this.cidPrefix),this._initRadio(),this.initialize.apply(this,arguments)};qu.extend=Zf;$e.extend(qu.prototype,pc,lD,cD,{cidPrefix:"mno",initialize:function(){}});var zo=$e.invokeMap||$e.invoke;function U6(e){if(e.behaviorClass)return{BehaviorClass:e.behaviorClass,options:e};if($e.isFunction(e))return{BehaviorClass:e,options:{}};throw new ei({message:"Unable to get behavior class. A Behavior constructor should be passed directly or as behaviorClass property of options",url:"marionette.behavior.html#defining-and-attaching-behaviors"})}function fD(e,t,r){return $e.reduce(t,function(n,o){var a=U6(o),u=a.BehaviorClass,f=a.options,l=new u(f,e);return n.push(l),fD(e,$e.result(l,"behaviors"),n)},r)}var V6={_initBehaviors:function(){this._behaviors=fD(this,$e.result(this,"behaviors"),[])},_getBehaviorTriggers:function(){var t=zo(this._behaviors,"_getTriggers");return $e.reduce(t,function(r,n){return $e.extend(r,n)},{})},_getBehaviorEvents:function(){var t=zo(this._behaviors,"_getEvents");return $e.reduce(t,function(r,n){return $e.extend(r,n)},{})},_proxyBehaviorViewProperties:function(){zo(this._behaviors,"proxyViewProperties")},_delegateBehaviorEntityEvents:function(){zo(this._behaviors,"delegateEntityEvents")},_undelegateBehaviorEntityEvents:function(){zo(this._behaviors,"undelegateEntityEvents")},_destroyBehaviors:function(t){zo(this._behaviors,"destroy",t)},_removeBehavior:function(t){this._isDestroyed||(this.undelegate(".trig".concat(t.cid," .").concat(t.cid)),this._behaviors=$e.without(this._behaviors,t))},_bindBehaviorUIElements:function(){zo(this._behaviors,"bindUIElements")},_unbindBehaviorUIElements:function(){zo(this._behaviors,"unbindUIElements")},_triggerEventOnBehaviors:function(t,r,n){zo(this._behaviors,"triggerMethod",t,r,n)}},dD={_delegateEntityEvents:function(t,r){t&&(this._modelEvents=$e.result(this,"modelEvents"),this.bindEvents(t,this._modelEvents)),r&&(this._collectionEvents=$e.result(this,"collectionEvents"),this.bindEvents(r,this._collectionEvents))},_undelegateEntityEvents:function(t,r){this._modelEvents&&(this.unbindEvents(t,this._modelEvents),delete this._modelEvents),this._collectionEvents&&(this.unbindEvents(r,this._collectionEvents),delete this._collectionEvents)},_deleteEntityEventHandlers:function(){delete this._modelEvents,delete this._collectionEvents}},H6={_renderTemplate:function(t){var r=this.mixinTemplateContext(this.serializeData())||{},n=this._renderHtml(t,r);typeof n<"u"&&this.attachElContent(n)},getTemplate:function(){return this.template},mixinTemplateContext:function(t){var r=$e.result(this,"templateContext");return r?t?$e.extend({},t,r):r:t},serializeData:function(){if(this.model)return this.serializeModel();if(this.collection)return{items:this.serializeCollection()}},serializeModel:function(){return this.model.attributes},serializeCollection:function(){return $e.map(this.collection.models,function(t){return t.attributes})},_renderHtml:function(t,r){return t(r)},attachElContent:function(t){this.Dom.setContents(this.el,t,this.$el)}},B6=/^(\S+)\s*(.*)$/,hD=function(t,r){var n=t.match(B6);return"".concat(n[1],".").concat(r," ").concat(n[2])},z6={childViewEventPrefix:!1,triggersStopPropagation:!0,triggersPreventDefault:!0,DEV_MODE:!1};function IE(e){return!!z6[e]}function W6(e,t){$e.isString(t)&&(t={event:t});var r=t.event,n=!!t.preventDefault;IE("triggersPreventDefault")&&(n=t.preventDefault!==!1);var o=!!t.stopPropagation;return IE("triggersStopPropagation")&&(o=t.stopPropagation!==!1),function(a){n&&a.preventDefault(),o&&a.stopPropagation();for(var u=arguments.length,f=new Array(u>1?u-1:0),l=1;l<u;l++)f[l-1]=arguments[l];e.triggerMethod.apply(e,[r,e,a].concat(f))}}var pD={_getViewTriggers:function(t,r){var n=this;return $e.reduce(r,function(o,a,u){return u=hD(u,"trig".concat(n.cid)),o[u]=W6(t,a),o},{})}},q6=function(t,r){return $e.reduce(t,function(n,o,a){var u=fp(a,r);return n[u]=o,n},{})},G6=/@ui\.[a-zA-Z-_$0-9]*/g,fp=function(t,r){return t.replace(G6,function(n){return r[n.slice(4)]})},Y6=function(t,r,n){return $e.each(t,function(o,a){if($e.isString(o))t[a]=fp(o,r);else if(o){var u=o[n];$e.isString(u)&&(o[n]=fp(u,r))}}),t},gD={normalizeUIKeys:function(t){var r=this._getUIBindings();return q6(t,r)},normalizeUIString:function(t){var r=this._getUIBindings();return fp(t,r)},normalizeUIValues:function(t,r){var n=this._getUIBindings();return Y6(t,n,r)},_getUIBindings:function(){var t=$e.result(this,"_uiBindings");return t||$e.result(this,"ui")},_bindUIElements:function(){var t=this;if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var r=$e.result(this,"_uiBindings");this._ui={},$e.each(r,function(n,o){t._ui[o]=t.$(n)}),this.ui=this._ui}},_unbindUIElements:function(){var t=this;!this.ui||!this._uiBindings||($e.each(this.ui,function(r,n){delete t.ui[n]}),this.ui=this._uiBindings,delete this._uiBindings,delete this._ui)},_getUI:function(t){return this._ui[t]}};function cu(e){return e instanceof Fn.$?e:Fn.$(e)}function RS(e){return this.prototype.Dom=$e.extend({},this.prototype.Dom,e),this}var vD={createBuffer:function(){return document.createDocumentFragment()},getDocumentEl:function(t){return t.ownerDocument.documentElement},getEl:function(t){return cu(t)},findEl:function(t,r){return cu(t).find(r)},hasEl:function(t,r){return t.contains(r&&r.parentNode)},detachEl:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cu(t);r.detach()},replaceEl:function(t,r){if(t!==r){var n=r.parentNode;n&&n.replaceChild(t,r)}},swapEl:function(t,r){if(t!==r){var n=t.parentNode,o=r.parentNode;if(!(!n||!o)){var a=t.nextSibling,u=r.nextSibling;n.insertBefore(r,a),o.insertBefore(t,u)}}},setContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:cu(t);n.html(r)},appendContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n._$el,a=o===void 0?cu(t):o,u=n._$contents,f=u===void 0?cu(r):u;a.append(f)},hasContents:function(t){return!!t&&t.hasChildNodes()},detachContents:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cu(t);r.contents().detach()}},OS={Dom:vD,_isElAttached:function(){return!!this.el&&this.Dom.hasEl(this.Dom.getDocumentEl(this.el),this.el)},supportsRenderLifecycle:!0,supportsDestroyLifecycle:!0,_isDestroyed:!1,isDestroyed:function(){return!!this._isDestroyed},_isRendered:!1,isRendered:function(){return!!this._isRendered},_isAttached:!1,isAttached:function(){return!!this._isAttached},delegateEvents:function(t){this._proxyBehaviorViewProperties(),this._buildEventProxies();var r=$e.extend({},this._getBehaviorEvents(),this._getEvents(t),this._getBehaviorTriggers(),this._getTriggers());return Fn.View.prototype.delegateEvents.call(this,r),this},_getEvents:function(t){if(t)return this.normalizeUIKeys(t);if(this.events)return this.normalizeUIKeys($e.result(this,"events"))},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys($e.result(this,"triggers"));return this._getViewTriggers(this,t)}},delegateEntityEvents:function(){return this._delegateEntityEvents(this.model,this.collection),this._delegateBehaviorEntityEvents(),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.model,this.collection),this._undelegateBehaviorEntityEvents(),this},destroy:function(t){if(this._isDestroyed||this._isDestroying)return this;this._isDestroying=!0;var r=this._isAttached&&!this._disableDetachEvents;return this.triggerMethod("before:destroy",this,t),r&&this.triggerMethod("before:detach",this),this.unbindUIElements(),this._removeElement(),r&&(this._isAttached=!1,this.triggerMethod("detach",this)),this._removeChildren(),this._isDestroyed=!0,this._isRendered=!1,this._destroyBehaviors(t),this._deleteEntityEventHandlers(),this.triggerMethod("destroy",this,t),this._triggerEventOnBehaviors("destroy",this,t),this.stopListening(),this},_removeElement:function(){this.$el.off().removeData(),this.Dom.detachEl(this.el,this.$el)},bindUIElements:function(){return this._bindUIElements(),this._bindBehaviorUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this._unbindBehaviorUIElements(),this},getUI:function(t){return this._getUI(t)},_buildEventProxies:function(){this._childViewEvents=this.normalizeMethods($e.result(this,"childViewEvents")),this._childViewTriggers=$e.result(this,"childViewTriggers"),this._eventPrefix=this._getEventPrefix()},_getEventPrefix:function(){var t=IE("childViewEventPrefix")?"childview":!1,r=$e.result(this,"childViewEventPrefix",t);return r===!1?r:r+":"},_proxyChildViewEvents:function(t){(this._childViewEvents||this._childViewTriggers||this._eventPrefix)&&this.listenTo(t,"all",this._childViewEventHandler)},_childViewEventHandler:function(t){for(var r=this._childViewEvents,n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];r&&r[t]&&r[t].apply(this,o);var u=this._childViewTriggers;u&&u[t]&&this.triggerMethod.apply(this,[u[t]].concat(o)),this._eventPrefix&&this.triggerMethod.apply(this,[this._eventPrefix+t].concat(o))}};$e.extend(OS,V6,pc,dD,H6,pD,gD);function mD(e){e._isRendered||(e.supportsRenderLifecycle||e.triggerMethod("before:render",e),e.render(),e._isRendered=!0,e.supportsRenderLifecycle||e.triggerMethod("render",e))}function yD(e,t){if(e.destroy){e._disableDetachEvents=t,e.destroy();return}e.supportsDestroyLifecycle||e.triggerMethod("before:destroy",e);var r=e._isAttached&&!t;r&&e.triggerMethod("before:detach",e),e.remove(),r&&(e._isAttached=!1,e.triggerMethod("detach",e)),e._isDestroyed=!0,e.supportsDestroyLifecycle||e.triggerMethod("destroy",e)}var Qc="RegionError",K6=["allowMissingEl","parentEl","replaceElement"],Gu=function(t){this._setOptions(t,K6),this.cid=$e.uniqueId(this.cidPrefix),this._initEl=this.el=this.getOption("el"),this.el=this.el instanceof Fn.$?this.el[0]:this.el,this.$el=this._getEl(this.el),this.initialize.apply(this,arguments)};Gu.extend=Zf;Gu.setDomApi=RS;$e.extend(Gu.prototype,pc,{Dom:vD,cidPrefix:"mnr",replaceElement:!1,_isReplaced:!1,_isSwappingView:!1,initialize:function(){},show:function(t,r){if(this._ensureElement(r)){if(t=this._getView(t,r),t===this.currentView)return this;if(t._isShown)throw new ei({name:Qc,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});return this._isSwappingView=!!this.currentView,this.triggerMethod("before:show",this,t,r),(this.currentView||!t._isAttached)&&this.empty(r),this._setupChildView(t),this.currentView=t,mD(t),this._attachView(t,r),this.triggerMethod("show",this,t,r),this._isSwappingView=!1,this}},_getEl:function(t){if(!t)throw new ei({name:Qc,message:'An "el" must be specified for a region.',url:"marionette.region.html#additional-options"});return this.getEl(t)},_setEl:function(){this.$el=this._getEl(this.el),this.$el.length&&(this.el=this.$el[0]),this.$el.length>1&&(this.$el=this.Dom.getEl(this.el))},_setElement:function(t){if(t===this.el)return this;var r=this._isReplaced;if(this._restoreEl(),this.el=t,this._setEl(),this.currentView){var n=this.currentView;r?this._replaceEl(n):this.attachHtml(n)}return this},_setupChildView:function(t){cp(t),this._proxyChildViewEvents(t),t.on("destroy",this._empty,this)},_proxyChildViewEvents:function(t){var r=this._parentView;r&&r._proxyChildViewEvents(t)},_shouldDisableMonitoring:function(){return this._parentView&&this._parentView.monitorViewEvents===!1},_isElAttached:function(){return this.Dom.hasEl(this.Dom.getDocumentEl(this.el),this.el)},_attachView:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.replaceElement,o=!t._isAttached&&this._isElAttached()&&!this._shouldDisableMonitoring(),a=typeof n>"u"?!!$e.result(this,"replaceElement"):!!n;o&&t.triggerMethod("before:attach",t),a?this._replaceEl(t):this.attachHtml(t),o&&(t._isAttached=!0,t.triggerMethod("attach",t)),t._isShown=!0},_ensureElement:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if($e.isObject(this.el)||this._setEl(),!this.$el||this.$el.length===0){var r=typeof t.allowMissingEl>"u"?!!$e.result(this,"allowMissingEl"):!!t.allowMissingEl;if(r)return!1;throw new ei({name:Qc,message:'An "el" must exist in DOM for this region '.concat(this.cid),url:"marionette.region.html#additional-options"})}return!0},_getView:function(t){if(!t)throw new ei({name:Qc,message:"The view passed is undefined and therefore invalid. You must pass a view instance to show.",url:"marionette.region.html#showing-a-view"});if(t._isDestroyed)throw new ei({name:Qc,message:'View (cid: "'.concat(t.cid,'") has already been destroyed and cannot be used.'),url:"marionette.region.html#showing-a-view"});if(t instanceof Fn.View)return t;var r=this._getViewOptions(t);return new IS(r)},_getViewOptions:function(t){if($e.isFunction(t))return{template:t};if($e.isObject(t))return t;var r=function(){return t};return{template:r}},getEl:function(t){var r=$e.result(this,"parentEl");return r&&$e.isString(t)?this.Dom.findEl(r,t):this.Dom.getEl(t)},_replaceEl:function(t){this._restoreEl(),t.on("before:destroy",this._restoreEl,this),this.Dom.replaceEl(t.el,this.el),this._isReplaced=!0},_restoreEl:function(){if(this._isReplaced){var t=this.currentView;t&&(this._detachView(t),this._isReplaced=!1)}},isReplaced:function(){return!!this._isReplaced},isSwappingView:function(){return!!this._isSwappingView},attachHtml:function(t){this.Dom.appendContents(this.el,t.el,{_$el:this.$el,_$contents:t.$el})},empty:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{allowMissingEl:!0},r=this.currentView;return r?(this._empty(r,!0),this):(this._ensureElement(t)&&this.detachHtml(),this)},_empty:function(t,r){t.off("destroy",this._empty,this),this.triggerMethod("before:empty",this,t),this._restoreEl(),delete this.currentView,t._isDestroyed||(r?this.removeView(t):this._detachView(t),t._isShown=!1,this._stopChildViewEvents(t)),this.triggerMethod("empty",this,t)},_stopChildViewEvents:function(t){var r=this._parentView;r&&this._parentView.stopListening(t)},destroyView:function(t){return t._isDestroyed||yD(t,this._shouldDisableMonitoring()),t},removeView:function(t){this.destroyView(t)},detachView:function(){var t=this.currentView;if(t)return this._empty(t),t},_detachView:function(t){var r=t._isAttached&&!this._shouldDisableMonitoring(),n=this._isReplaced;r&&t.triggerMethod("before:detach",t),n?this.Dom.replaceEl(this.el,t.el):this.detachHtml(),r&&(t._isAttached=!1,t.triggerMethod("detach",t))},detachHtml:function(){this.Dom.detachContents(this.el,this.$el)},hasView:function(){return!!this.currentView},reset:function(t){return this.empty(t),this.el=this._initEl,delete this.$el,this},_isDestroyed:!1,isDestroyed:function(){return this._isDestroyed},destroy:function(t){return this._isDestroyed?this:(this.triggerMethod("before:destroy",this,t),this._isDestroyed=!0,this.reset(t),this._name&&this._parentView._removeReferences(this._name),delete this._parentView,delete this._name,this.triggerMethod("destroy",this,t),this.stopListening(),this)}});function wD(e,t){if(e instanceof Gu)return e;if($e.isString(e))return im(t,{el:e});if($e.isFunction(e))return im(t,{regionClass:e});if($e.isObject(e))return im(t,e);throw new ei({message:"Improper region configuration type.",url:"marionette.region.html#defining-regions"})}function im(e,t){var r=$e.extend({},e,t),n=r.regionClass;return delete r.regionClass,new n(r)}var X6={regionClass:Gu,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions($e.result(this,"regions"))},_reInitRegions:function(){zo(this._regions,"reset")},addRegion:function(t,r){var n={};return n[t]=r,this.addRegions(n)[t]},addRegions:function(t){if(!$e.isEmpty(t))return t=this.normalizeUIValues(t,"el"),this.regions=$e.extend({},this.regions,t),this._addRegions(t)},_addRegions:function(t){var r=this,n={regionClass:this.regionClass,parentEl:$e.partial($e.result,this,"el")};return $e.reduce(t,function(o,a,u){return o[u]=wD(a,n),r._addRegion(o[u],u),o},{})},_addRegion:function(t,r){this.triggerMethod("before:add:region",this,r,t),t._parentView=this,t._name=r,this._regions[r]=t,this.triggerMethod("add:region",this,r,t)},removeRegion:function(t){var r=this._regions[t];return this._removeRegion(r,t),r},removeRegions:function(){var t=this._getRegions();return $e.each(this._regions,this._removeRegion.bind(this)),t},_removeRegion:function(t,r){this.triggerMethod("before:remove:region",this,r,t),t.destroy(),this.triggerMethod("remove:region",this,r,t)},_removeReferences:function(t){delete this.regions[t],delete this._regions[t]},emptyRegions:function(){var t=this.getRegions();return zo(t,"empty"),t},hasRegion:function(t){return!!this.getRegion(t)},getRegion:function(t){return this._isRendered||this.render(),this._regions[t]},_getRegions:function(){return $e.clone(this._regions)},getRegions:function(){return this._isRendered||this.render(),this._getRegions()},showChildView:function(t,r,n){var o=this.getRegion(t);return o.show(r,n),r},detachChildView:function(t){return this.getRegion(t).detachView()},getChildView:function(t){return this.getRegion(t).currentView}};function ED(e){return this.prototype._renderHtml=e,this}var Q6=["behaviors","childViewEventPrefix","childViewEvents","childViewTriggers","collectionEvents","events","modelEvents","regionClass","regions","template","templateContext","triggers","ui"];function J6(e,t){return t.currentView&&e.push(t.currentView),e}var IS=Fn.View.extend({constructor:function(t){this._setOptions(t,Q6),cp(this),this._initBehaviors(),this._initRegions(),Fn.View.prototype.constructor.apply(this,arguments),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},setElement:function(){return Fn.View.prototype.setElement.apply(this,arguments),this._isRendered=this.Dom.hasContents(this.el),this._isAttached=this._isElAttached(),this._isRendered&&this.bindUIElements(),this},render:function(){var t=this.getTemplate();return t===!1||this._isDestroyed?this:(this.triggerMethod("before:render",this),this._isRendered&&this._reInitRegions(),this._renderTemplate(t),this.bindUIElements(),this._isRendered=!0,this.triggerMethod("render",this),this)},_removeChildren:function(){this.removeRegions()},_getImmediateChildren:function(){return $e.reduce(this._regions,J6,[])}},{setRenderer:ED,setDomApi:RS});$e.extend(IS.prototype,OS,X6);var dp=function(){this._init()},Z6=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce","partition"];$e.each(Z6,function(e){dp.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return $e[e].apply($e,[this._views].concat(r))}});function eV(e,t){return t.model&&t.model.get(e)}$e.extend(dp.prototype,{_init:function(){this._views=[],this._viewsByCid={},this._indexByModel={},this._updateLength()},_add:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._views.length;this._addViewIndexes(t),this._views.splice(r,0,t),this._updateLength()},_addViewIndexes:function(t){this._viewsByCid[t.cid]=t,t.model&&(this._indexByModel[t.model.cid]=t)},_sort:function(t,r){return typeof t=="string"?(t=$e.partial(eV,t),this._sortBy(t)):t.length===1?this._sortBy(t.bind(r)):this._views.sort(t.bind(r))},_sortBy:function(t){var r=$e.sortBy(this._views,t);return this._set(r),r},_set:function(t,r){this._views.length=0,this._views.push.apply(this._views,t.slice(0)),r&&(this._viewsByCid={},this._indexByModel={},$e.each(t,this._addViewIndexes.bind(this)),this._updateLength())},_swap:function(t,r){var n=this.findIndexByView(t),o=this.findIndexByView(r);if(!(n===-1||o===-1)){var a=this._views[n];this._views[n]=this._views[o],this._views[o]=a}},findByModel:function(t){return this.findByModelCid(t.cid)},findByModelCid:function(t){return this._indexByModel[t]},findByIndex:function(t){return this._views[t]},findIndexByView:function(t){return this._views.indexOf(t)},findByCid:function(t){return this._viewsByCid[t]},hasView:function(t){return!!this.findByCid(t.cid)},_remove:function(t){if(this._viewsByCid[t.cid]){t.model&&delete this._indexByModel[t.model.cid],delete this._viewsByCid[t.cid];var r=this.findIndexByView(t);this._views.splice(r,1),this._updateLength()}},_updateLength:function(){this.length=this._views.length}});var Al="CollectionViewError",tV=["behaviors","childView","childViewContainer","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","template","templateContext","triggers","ui","viewComparator","viewFilter"],rV=Fn.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t,tV),cp(this),this._initChildViewStorage(),this._initBehaviors(),Fn.View.prototype.constructor.apply(this,arguments),this.getEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},_initChildViewStorage:function(){this._children=new dp,this.children=new dp},getEmptyRegion:function(){var t=this.$container||this.$el;return this._emptyRegion&&!this._emptyRegion.isDestroyed()?(this._emptyRegion._setElement(t[0]),this._emptyRegion):(this._emptyRegion=new Gu({el:t[0],replaceElement:!1}),this._emptyRegion._parentView=this,this._emptyRegion)},_initialEvents:function(){this._isRendered||this.listenTo(this.collection,{sort:this._onCollectionSort,reset:this._onCollectionReset,update:this._onCollectionUpdate})},_onCollectionSort:function(t,r){var n=r.add,o=r.merge,a=r.remove;!this.sortWithCollection||this.viewComparator===!1||n||a||o||this.sort()},_onCollectionReset:function(){this._destroyChildren(),this._addChildModels(this.collection.models),this.sort()},_onCollectionUpdate:function(t,r){var n=r.changes,o=n.removed.length&&this._removeChildModels(n.removed);this._addedViews=n.added.length&&this._addChildModels(n.added),this._detachChildren(o),this.sort(),this._removeChildViews(o)},_removeChildModels:function(t){var r=this;return $e.reduce(t,function(n,o){var a=r._removeChildModel(o);return a&&n.push(a),n},[])},_removeChildModel:function(t){var r=this._children.findByModel(t);return r&&this._removeChild(r),r},_removeChild:function(t){this.triggerMethod("before:remove:child",this,t),this.children._remove(t),this._children._remove(t),this.triggerMethod("remove:child",this,t)},_addChildModels:function(t){return $e.map(t,this._addChildModel.bind(this))},_addChildModel:function(t){var r=this._createChildView(t);return this._addChild(r),r},_createChildView:function(t){var r=this._getChildView(t),n=this._getChildViewOptions(t),o=this.buildChildView(t,r,n);return o},_addChild:function(t,r){this.triggerMethod("before:add:child",this,t),this._setupChildView(t),this._children._add(t,r),this.children._add(t,r),this.triggerMethod("add:child",this,t)},_getChildView:function(t){var r=this.childView;if(!r)throw new ei({name:Al,message:'A "childView" must be specified',url:"marionette.collectionview.html#collectionviews-childview"});if(r=this._getView(r,t),!r)throw new ei({name:Al,message:'"childView" must be a view class or a function that returns a view class',url:"marionette.collectionview.html#collectionviews-childview"});return r},_getView:function(t,r){if(t.prototype instanceof Fn.View||t===Fn.View)return t;if($e.isFunction(t))return t.call(this,r)},_getChildViewOptions:function(t){return $e.isFunction(this.childViewOptions)?this.childViewOptions(t):this.childViewOptions},buildChildView:function(t,r,n){var o=$e.extend({model:t},n);return new r(o)},_setupChildView:function(t){cp(t),t.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(t)},_getImmediateChildren:function(){return this.children._views},setElement:function(){return Fn.View.prototype.setElement.apply(this,arguments),this._isAttached=this._isElAttached(),this},render:function(){if(this._isDestroyed)return this;this.triggerMethod("before:render",this),this._destroyChildren(),this.collection&&(this._addChildModels(this.collection.models),this._initialEvents());var t=this.getTemplate();return t&&(this._renderTemplate(t),this.bindUIElements()),this._getChildViewContainer(),this.sort(),this._isRendered=!0,this.triggerMethod("render",this),this},_getChildViewContainer:function(){var t=$e.result(this,"childViewContainer");if(this.$container=t?this.$(t):this.$el,!this.$container.length)throw new ei({name:Al,message:'The specified "childViewContainer" was not found: '.concat(t),url:"marionette.collectionview.html#defining-the-childviewcontainer"})},sort:function(){return this._sortChildren(),this.filter(),this},_sortChildren:function(){if(this._children.length){var t=this.getComparator();t&&(delete this._addedViews,this.triggerMethod("before:sort",this),this._children._sort(t,this),this.triggerMethod("sort",this))}},setComparator:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventRender,o=this.viewComparator!==t,a=o&&!n;return this.viewComparator=t,a&&this.sort(),this},removeComparator:function(t){return this.setComparator(null,t)},getComparator:function(){return this.viewComparator?this.viewComparator:!this.sortWithCollection||this.viewComparator===!1||!this.collection?!1:this._viewComparator},_viewComparator:function(t){return this.collection.indexOf(t.model)},filter:function(){return this._isDestroyed?this:(this._filterChildren(),this._renderChildren(),this)},_filterChildren:function(){var t=this;if(this._children.length){var r=this._getFilter();if(!r){var n=this.children.length!==this._children.length;this.children._set(this._children._views,n);return}delete this._addedViews,this.triggerMethod("before:filter",this);var o=[],a=[];$e.each(this._children._views,function(u,f,l){(r.call(t,u,f,l)?o:a).push(u)}),this._detachChildren(a),this.children._set(o,!0),this.triggerMethod("filter",this,o,a)}},_getFilter:function(){var t=this.getFilter();if(!t)return!1;if($e.isFunction(t))return t;if($e.isObject(t)){var r=$e.matches(t);return function(n){return r(n.model&&n.model.attributes)}}if($e.isString(t))return function(n){return n.model&&n.model.get(t)};throw new ei({name:Al,message:'"viewFilter" must be a function, predicate object literal, a string indicating a model attribute, or falsy',url:"marionette.collectionview.html#defining-the-viewfilter"})},getFilter:function(){return this.viewFilter},setFilter:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventRender,o=this.viewFilter!==t,a=o&&!n;return this.viewFilter=t,a&&this.filter(),this},removeFilter:function(t){return this.setFilter(null,t)},_detachChildren:function(t){$e.each(t,this._detachChildView.bind(this))},_detachChildView:function(t){var r=t._isAttached&&this.monitorViewEvents!==!1;r&&t.triggerMethod("before:detach",t),this.detachHtml(t),r&&(t._isAttached=!1,t.triggerMethod("detach",t)),t._isShown=!1},detachHtml:function(t){this.Dom.detachEl(t.el,t.$el)},_renderChildren:function(){this._hasUnrenderedViews&&(delete this._addedViews,delete this._hasUnrenderedViews);var t=this._addedViews||this.children._views;if(this.triggerMethod("before:render:children",this,t),this.isEmpty())this._showEmptyView();else{this._destroyEmptyView();var r=this._getBuffer(t);this._attachChildren(r,t)}delete this._addedViews,this.triggerMethod("render:children",this,t)},_getBuffer:function(t){var r=this,n=this.Dom.createBuffer();return $e.each(t,function(o){mD(o),o._isShown=!0,r.Dom.appendContents(n,o.el,{_$contents:o.$el})}),n},_attachChildren:function(t,r){var n=this._isAttached&&this.monitorViewEvents!==!1;r=n?r:[],$e.each(r,function(o){o._isAttached||o.triggerMethod("before:attach",o)}),this.attachHtml(t,this.$container),$e.each(r,function(o){o._isAttached||(o._isAttached=!0,o.triggerMethod("attach",o))})},attachHtml:function(t,r){this.Dom.appendContents(r[0],t,{_$el:r})},isEmpty:function(){return!this.children.length},_showEmptyView:function(){var t=this._getEmptyView();if(t){var r=this._getEmptyViewOptions(),n=this.getEmptyRegion();n.show(new t(r))}},_getEmptyView:function(){var t=this.emptyView;if(t)return this._getView(t)},_destroyEmptyView:function(){var t=this.getEmptyRegion();t.hasView()&&t.empty()},_getEmptyViewOptions:function(){var t=this.emptyViewOptions||this.childViewOptions;return $e.isFunction(t)?t.call(this):t},swapChildViews:function(t,r){if(!this._children.hasView(t)||!this._children.hasView(r))throw new ei({name:Al,message:"Both views must be children of the collection view to swap.",url:"marionette.collectionview.html#swapping-child-views"});return this._children._swap(t,r),this.Dom.swapEl(t.el,r.el),this.children.hasView(t)!==this.children.hasView(r)?this.filter():this.children._swap(t,r),this},addChildView:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t||t._isDestroyed)return t;if(t._isShown)throw new ei({name:Al,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});if($e.isObject(r)&&(n=r),n.index!=null&&(r=n.index),this._isRendered||this.render(),this._addChild(t,r),n.preventRender)return this._hasUnrenderedViews=!0,t;var o=typeof r<"u",a=!o||r>=this._children.length;return a&&!this._hasUnrenderedViews&&(this._addedViews=[t]),o?this._renderChildren():this.sort(),t},detachChildView:function(t){return this.removeChildView(t,{shouldDetach:!0}),t},removeChildView:function(t,r){return t&&(this._removeChildView(t,r),this._removeChild(t),this.isEmpty()&&this._showEmptyView(),t)},_removeChildViews:function(t){$e.each(t,this._removeChildView.bind(this))},_removeChildView:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.shouldDetach;t.off("destroy",this.removeChildView,this),n?this._detachChildView(t):this._destroyChildView(t),this.stopListening(t)},_destroyChildView:function(t){if(!t._isDestroyed){var r=this.monitorViewEvents===!1;yD(t,r)}},_removeChildren:function(){this._destroyChildren();var t=this.getEmptyRegion();t.destroy(),delete this._addedViews},_destroyChildren:function(){this._children.length&&(this.triggerMethod("before:destroy:children",this),this.monitorViewEvents===!1&&this.Dom.detachContents(this.el,this.$el),this._removeChildViews(this._children._views),this._children._init(),this.children._init(),this.triggerMethod("destroy:children",this))}},{setDomApi:RS,setRenderer:ED});$e.extend(rV.prototype,OS);var nV=["collectionEvents","events","modelEvents","triggers","ui"],SD=function(t,r){this.view=r,this._setOptions(t,nV),this.cid=$e.uniqueId(this.cidPrefix),this.ui=$e.extend({},$e.result(this,"ui"),$e.result(r,"ui")),this.listenTo(r,"all",this.triggerMethod),this.initialize.apply(this,arguments)};SD.extend=Zf;$e.extend(SD.prototype,pc,dD,pD,gD,{cidPrefix:"mnb",initialize:function(){},$:function(){return this.view.$.apply(this.view,arguments)},destroy:function(){return this.stopListening(),this.view._removeBehavior(this),this._deleteEntityEventHandlers(),this},proxyViewProperties:function(){return this.$el=this.view.$el,this.el=this.view.el,this},bindUIElements:function(){return this._bindUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this},getUI:function(t){return this._getUI(t)},delegateEntityEvents:function(){return this._delegateEntityEvents(this.view.model,this.view.collection),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.view.model,this.view.collection),this},_getEvents:function(){var t=this;if(this.events){var r=this.normalizeUIKeys($e.result(this,"events"));return $e.reduce(r,function(n,o,a){return $e.isFunction(o)||(o=t[o]),o&&(a=hD(a,t.cid),n[a]=o.bind(t)),n},{})}},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys($e.result(this,"triggers"));return this._getViewTriggers(this.view,t)}}});var iV=["channelName","radioEvents","radioRequests","region","regionClass"],Qp=function(t){this._setOptions(t,iV),this.cid=$e.uniqueId(this.cidPrefix),this._initRegion(),this._initRadio(),this.initialize.apply(this,arguments)};Qp.extend=Zf;$e.extend(Qp.prototype,pc,lD,cD,{cidPrefix:"mna",initialize:function(){},start:function(t){return this.triggerMethod("before:start",this,t),this.triggerMethod("start",this,t),this},regionClass:Gu,_initRegion:function(){var t=this.region;if(t){var r={regionClass:this.regionClass};this._region=wD(t,r)}},getRegion:function(){return this._region},showView:function(t){for(var r=this.getRegion(),n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return r.show.apply(r,[t].concat(o)),t},getView:function(){return this.getRegion().currentView}});var PS=(e=>(e[e.Ok=200]="Ok",e[e.NoContent=204]="NoContent",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.Conflict=409]="Conflict",e[e.InternalServer=500]="InternalServer",e))(PS||{}),PE=(e=>(e[e.Information=1]="Information",e[e.Success=2]="Success",e[e.Redirect=3]="Redirect",e[e.ClientError=4]="ClientError",e[e.ServerError=5]="ServerError",e))(PE||{});class _D extends Error{constructor(t){super(t)}}class Jp extends _D{get name(){return"SilentError"}}class ti extends Error{get name(){return"CoreError"}}const Mt={throw(e){if(Zt.Radio.channel(Nr.SHELL).trigger(jr.ERROR,e),!(e instanceof Jp))throw e},isStatusCodeError(e){var r;const t=+((r=e==null?void 0:e.toString())==null?void 0:r.substr(0,1));return t===PE.ClientError||t===PE.ServerError}};function Ga(e,t,r,n){let o=e;return typeof e=="string"&&(o=Zt.Radio.channel(e)),n.call(this,o,t,r)}class oV extends Qp{get defaultProps(){return["shell","layoutService"]}constructor(t){super(t),this.mergeOptions(t,[...this.defaultProps,...this.props||[]]),$e.result(this,"name")||Mt.throw(new ti("BaseApplication must define a name")),$e.result(this,"channelName")||Mt.throw(new ti("BaseApplication must define a channelName")),this.listenTo(this.getGlobalRadioChannel("popup"),jr.SHOW_POPUP,this.onShowPopup),this.listenTo(this.getGlobalRadioChannel("alert"),"show:alert",this.onShowAlert)}getGlobalRadioChannel(t){const n=this.shell.getGlobalRadioChannels()[t.toUpperCase()];return n||Mt.throw(new ti(`Global channel ${n} does not exist`)),Zt.Radio.channel(n)}onLoadLayout(){if(!this.layoutOptions||!this.layoutOptions.name)return;const t=$e.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout($e.extend(this.layoutOptions,{options:t})),this.layout||Mt.throw(new ti(`Layout: ${this.layoutOptions.name} does not exist or was not registered`)),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}onShowPopup(t){this.layout.getRegion("popup")||Mt.throw(new ti("Your application layout must define a popup region")),this.layout.showChildView("popup",t)}onShowAlert(t){const{ctor:r,collection:n}=t,o=this.layout.getRegion("alert");if(!o){Mt.throw(new ti("Your application layout must define an alert region"));return}o.hasView()||this.layout.showChildView("alert",new r({collection:n}))}setDefaultQueryParams(t){this.defaultQueryParams&&(t=$e.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}getAndClearDefaultQueryParams(){const t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}listenTo(...t){return Ga.call(this,t[0],t[1],t[2],super.listenTo)}}/**
|
|
31
|
+
* @license
|
|
32
|
+
* MarionetteJS (Marionette.AppRouter)
|
|
33
|
+
* ----------------------------------
|
|
34
|
+
* v1.0.1
|
|
35
|
+
*
|
|
36
|
+
* Copyright (c)2018 Derick Bailey, Muted Solutions, LLC.
|
|
37
|
+
* Distributed under MIT license
|
|
38
|
+
*
|
|
39
|
+
* http://marionettejs.com
|
|
40
|
+
*/var sV=["triggerMethod","normalizeMethods","_setOptions","mergeOptions","getOption","bindEvents","unbindEvents"],aV=["appRoutes","controller"],bD=Fn.Router.extend({constructor:function(t){this._setOptions(t),this.mergeOptions(t,aV),Fn.Router.apply(this,arguments);var r=this.appRoutes,n=this._getController();this.processAppRoutes(n,r),this.on("route",this._processOnRoute,this)},appRoute:function(t,r){var n=this._getController();return this._addAppRoute(n,t,r),this},_processOnRoute:function(t,r){if($e.isFunction(this.onRoute)){var n=$e.invert(this.appRoutes)[t];this.onRoute(t,n,r)}},processAppRoutes:function(t,r){var n=this;if(!r)return this;var o=$e.keys(r).reverse();return $e.each(o,function(a){n._addAppRoute(t,a,r[a])}),this},_getController:function(){return this.controller},_addAppRoute:function(t,r,n){var o=t[n];if(!o)throw new Error('Method "'+n+'" was not found on the controller');this.route(r,n,$e.bind(o,t))}});$e.extend(bD.prototype,$e.pick(qu.prototype,sV));class ql{constructor(){this.stack=[]}useAsync(t){const r=n=>(o,a)=>n(o,u=>t(u,a));this.goAsync=r(this.goAsync)}goAsync(t,r){r(t)}useSync(t){this.stack.push(t)}goSync(t){let r=t;for(const n of this.stack)r=n(r);return r}}const uV=/([A-Z])/g,lV=/(^|:)(\w)/gi;class kS extends bD{constructor(t){super(t)}processAppRoutes(t){super.processAppRoutes.call(this,t,null)}async _initRoutes(){const t=new ql,r=this.options.shell.routeMiddleware,n=this.appRoutes;return $e.each(r,t.useAsync,t),new Promise(o=>{if(!r||!r.length)return o(n);t.goAsync({appRoutes:n,shell:this.options.shell},a=>o(a.appRoutes))})}_processAppRoutes(t){super.processAppRoutes.call(this,this.controller,t),this._appRoutes=t}_buildRouteLookup(){const t=this.appRoutes??{},r=this._appRoutes??{},n=Object.entries(t).reduce((a,[u,f])=>({...a,[f]:u}),{}),o=Object.entries(r).reduce((a,[u,f])=>({...a,[f]:u}),{});this._routeLookup={baseRoutes:{...this.appRoutes,...n},modifiedRoutes:{...this._appRoutes,...o}}}async start(){const t=await this._initRoutes();this._processAppRoutes(t),this._buildRouteLookup(),this.bindDisposal(),this.processInternalRoutes(),this.processExternalRoutes(),this.processAppLinks()}_processOnRoute(t,r){if($e.isFunction(this.onRoute)){const n=$e.invert(this._appRoutes)[t];this.onRoute(t,n,r)}}bindDisposal(){this.listenTo(Nr.SHELL,jr.ROUTE,t=>{t.application!==this.channelName&&this.destroyApp()})}_executeAppLinkMiddleware(t,r){const n=new ql;return $e.each(t,n.useSync,n),!t||!t.length?r.appLink:n.goSync(r).appLink}addRouteLookup(t,r){this.options.shell.addRouteLookup(`${this.channelName}:${t}`,(n,o,a)=>{const f={appLink:{application:this.channelName,action:t,args:n,params:o},appLinkOptions:a,currentRoute:r,routeLookup:this._routeLookup},l=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,f),d=this.toMethodName(l.action),v=this._routeLookup.modifiedRoutes[d];return _n.buildRoute(v??r,l,a)})}processInternalRoutes(){$e.each($e.keys(this._appRoutes),t=>{const r=this._appRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(o,a)=>{(!a||!a.usedHelper)&&Mt.throw(new ti("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const u={appLink:o,appLinkOptions:a,currentRoute:t,routeLookup:this._routeLookup},f=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,u),l=this.toMethodName(f.action),d=this._routeLookup.modifiedRoutes[l];this.executeRoute(f,{isAppRoute:!0,route:d??t},v=>{const p=$e.extend({},this.controller.getAndClearDefaultQueryParams(),v.params);v.params=p,Yr.UpdateUrl(d??t,v,a)})})})}triggerNavLocked(t,r){t.trigger(jr.NAV_IS_LOCKED,r),qo.routingEnded()}processExternalRoutes(){this.externalRoutes&&$e.each($e.keys(this.externalRoutes),t=>{const r=this.externalRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(o,a)=>{(!a||!a.usedHelper)&&Mt.throw(new ti("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const u=Zt.Radio.channel(Nr.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(u,o);return}Yr.PageLoad(_n.getHref(o))})})}processAppLinks(){this.appLinks&&$e.each(this.appLinks,t=>{const r=this.toEventName(t);this.listenTo(this.channelName,r,(n,o)=>{(!o||!o.usedHelper)&&Mt.throw(new ti("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),this.executeRoute(n,{isAppRoute:!1,route:null})})})}executeRoute(t,r,n){this.validateAppLink(t),qo.routingStarted();const o=Zt.Radio.channel(Nr.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(o,t);return}const a={appLink:t,currentRoute:r.route,routeLookup:this._routeLookup},u=this._executeAppLinkMiddleware(this.options.shell.onExecuteAppLinkMiddleware,a),f=this.toMethodName(u.action),l=new ql;$e.each(this.filters,d=>l.useAsync(d)),l.goAsync({appLink:u,shell:this.options.shell},()=>{o.trigger(jr.ROUTE,u,r),this.createApp();const d=this.controller;if($e.isFunction(d[f])||(qo.routingEnded(),Mt.throw(new ti(`${f} does not exist on the ${$e.result(d,"name")}.`))),d.triggerMethod("before:action",t)===!1){d.triggerMethod("action:cancelled"),qo.routingEnded();return}d.triggerMethod("load:layout");const v={appLink:u,currentRoute:r.route,routeLookup:this._routeLookup},p=this._executeAppLinkMiddleware(this.options.shell.onAfterExecuteAppLinkMiddleware,v);d[f].apply(d,[...p.args||[],p.params||{}]),$e.isFunction(n)&&n(u),qo.routingEnded()})}createApp(){this.controller||(this.controller=new this.options.appConstructor(this.options.appOptions),this.controller.start())}destroyApp(){if(!this.controller)return;this.controller.destroy(),delete this.controller}_addAppRoute(t,r,n){this.route(r,n,(...o)=>{const a={application:this.channelName,action:this.toEventName(n),args:o.slice(0,o.length-1),params:Yr.DeserializeQueryParams(o[o.length-1])};this.executeRoute(a,{isAppRoute:!0,route:r},()=>{Yr.UpdateQuery($e.extend(this.controller.getAndClearDefaultQueryParams(),a.params))})})}toEventName(t){return t.replace(uV,":$1").toLowerCase()}toMethodName(t){const r=t.replace(lV,(n,o,a)=>a.toUpperCase());return r[0].toLowerCase()+r.slice(1,r.length)}validateAppLink(t){(!t.application||!t.action)&&(qo.routingEnded(),Mt.throw(new ti("Invalid AppLink")))}listenTo(...t){return Ga.call(this,t[0],t[1],t[2],super.listenTo)}}class Zp extends Zt.Collection{listenTo(...t){return Ga.call(this,t[0],t[1],t[2],super.listenTo)}}class Hr extends _D{get name(){return"DevError"}}class cV{constructor(){this.variables={}}static get Instance(){return this.instance||(this.instance=new this)}get name(){return"EnvironmentVariables"}get isDevelopment(){return this.variables.isDevelopment}get(t){return this.variables[t]}setUpVariables(t){this.variables=t}}const eg=cV.Instance;function fV(e,t){for(;e;){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}return null}const dV=["model","collection","el","id","attributes","className","tagName","events"];Zt.View.prototype.constructor=function(e){this.cid=$e.uniqueId("view");const t=dV.filter(r=>{var n;return!((n=fV(this,r))!=null&&n.get)});$e.extend(this,$e.pick(e,t)),this._ensureElement(),this.initialize.call(this,e)};const zl=class zl extends IS{get defaultProps(){return["shell","layoutService"]}_setOptions(t){this.options=$e.extend({},$e.result(this,"defaults"),t)}_setAttributes(t){eg.isDevelopment&&$e.extend(t,{"cv-classname":this.name}),this.$el.attr(t)}get elements(){return null}get ui(){return this.uiStorage?this.uiStorage:(this.uiStorage=this.elements,this.uiStorage)}set ui(t){this.uiStorage=t}constructor(t){super(t);const r=[...this.defaultProps,...this.props||[]];this.mergeOptions(t,r),$e.result(this,"name")||Mt.throw(new ti(`Error: View with cid:${this.cid} requires a name.`))}static AddViewDataExtension(t){zl.ViewDataExtensions.push(t)}serializeModel(){return this.model?this.model.toJSON():{}}serializeCollection(){return this.collection?this.collection.toJSON():[]}resetClassName(){this.$el.attr("class",$e.result(this,"className"))}serializeData(){const t=super.serializeData(),r=$e.result(this,"viewOptions"),n=$e.extend({},t,{options:r});return zl.ViewDataExtensions.length?$e.extend(n,...$e.map(zl.ViewDataExtensions,o=>o instanceof Function?o(this):o)):n}viewOptions(){return this.options}undelegateAppLinks(){this.$el&&this.$el.off(`.appLinks${this.cid}`)}renderAppLinks(){let t=this.appLinks;t&&(t=this.normalizeUIKeys(t),this.undelegateAppLinks(),$e.each($e.keys(t),r=>{let n=r;const o=t[r],a=_n.getHref(o);n==="[this]"&&(n=null);const u=n?this.$el.find(r):this.$el;!u.is("a")&&!u.is("button")||(a&&a!=="/"&&u.attr("href",a),this.delegate(`click.appLinks${this.cid}`,n,function(f){f.preventDefault(),_n.trigger(o)}))}))}hasPartialLoadingRegions(){const t=this;return t._hasPartialLoadingRegions!==void 0||(t._hasPartialLoadingRegions=$e.some(t.regions,r=>$e.has(r,"partialLoading"))),t._hasPartialLoadingRegions}renderPartialLoading(t){Zt.Radio.channel(Nr.SHELL).trigger("render:partial:loading",this,t)}getTemplate(){var t;return this.template||((t=this.options)==null?void 0:t.template)}listenTo(...t){return Ga.call(this,t[0],t[1],t[2],super.listenTo)}render(){const t=this;if(t._isDestroyed)return this;const r=this.getTemplate();if(!r)return this;let n=this.processRequriedResources(!0);return n&&(n=t.triggerMethod("before:render",this)),n!==!1&&(n=!0),n=n&&this.processRequriedResources(!1),n===!1?t._partialLoadingRendered||!t.hasPartialLoadingRegions()?this:(t._partialLoadingRendered=!0,t._reInitRegions(),t._renderTemplate(r),t.renderPartialLoading(),this):((t._isRendered||t._partialLoadingRendered)&&t._reInitRegions(),this.setTitle(),t._renderTemplate(r),t.bindUIElements(),this.renderAppLinks(),t._partialLoadingRendered=!1,t._isRendered=!0,t.triggerMethod("render",this),this)}processRequriedResources(t){return!0}setTitle(){}};zl.ViewDataExtensions=[];let kE=zl;class hV extends kE{constructor(t){super(t),this.boundListeners={},this.resourceInstances={}}processRequriedResources(t){const r=$e.keys(this.requiredResources);if(!r.length)return!0;const n=this;let o=!0;return $e.each(r,a=>{const u=this.requiredResources[a];if(u.beforeOnBeforeRender!==t)return;const f=u.dataServiceName;this.resourceInstances[f]||(this.resourceInstances[f]=u.getInstance(this)),this.boundListeners[`${f}:${u.eventName}`]||(this.listenTo(this.resourceInstances[f].channelName,u.eventName,this.render),this.boundListeners[`${f}:${u.eventName}`]=!0),n[a]=u.getData(this.resourceInstances[f]),o=o&&!!n[a]}),o}setTitle(){!$e.isString(this.title)&&this.title!==!1&&Mt.throw(new Hr(`Must define a title for ${this.name}.`)),Zt.Radio.channel(Nr.SHELL).trigger("set:page:title",this.title)}}class pV extends hV{constructor(t){super(t)}static getCacheKey(t){Mt.throw(new Hr(`Must define getCacheKey for ${this.name}.`))}unmountRegion(t){this.trigger(`unmount:${t}`)}}class Ks extends Zt.Model{mixin(t){const r=this;for(const n in t){if(r.hasOwnProperty(n)){const o=r[n];r[n]=_i({},o,t[n]);return}r[n]=t[n]}}addValidation(t){this.mixin({validation:t})}validate(t,r){super.validate.call(this,t,r)}listenTo(...t){return Ga.call(this,t[0],t[1],t[2],super.listenTo)}}class OC extends Ks{set(t,r,n){let o,a;if(t===null)return this;typeof t=="object"?(a=t,n=r):(a={},a[t]=r),n||(n={});for(o in a)Cf(this.associations,o)&&(a[o]=this.setAssociation(o,a[o],n));return super.set.call(this,a,n)}get(t){const r=t.indexOf(".");if(r===-1)return super.get.call(this,t);const n=t.substr(0,r),o=this.attributes[n];if(!o||!yr(o.get))return super.get.call(this,t);const a=t.substr(r+1);return o.get(a)}setAssociation(t,r,n){const o=this.associations[t],a=this.attributes[t];if(!yr(o))return r;if(n.unset)return a&&delete a.parent,delete this[t],a;if(a)return a instanceof Ks&&a.set(r,n),a instanceof Zp&&a.set(r,n),n.silent||this.trigger(`change:${t}`,this,r,n),a;const u=r instanceof Ks?r:new o(r,{parse:!0});return u.parent=this,this[t]=u,u}toJSON(...t){const r=super.toJSON.apply(this,t);return zn(this.associations,(n,o)=>{Cf(r,o)&&yr(r[o].toJSON)?r[o]=r[o].toJSON():r[o]=new n().toJSON()}),r}toFlatJSON(...t){return Jf(super.toJSON.apply(this,t),In(this.associations))}}class Wi extends qu{constructor(t){super(t),this.name||Mt.throw(new ti("Your service must be named."))}listenTo(...t){return Ga.call(this,t[0],t[1],t[2],super.listenTo)}}class gV extends qu{constructor(t){super(t),this.layouts={},this.requiredRegions=t.requiredRegions}clearLayout(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}registerLayout(t,r){return this.checkRequiredRegions(r),this.layouts[t]=r,this}getLayout(t){const{name:r,options:n={}}=t;this.layouts[r]||Mt.throw(new ti(`${r} was not registered as a template.`));const o=this.layouts[r].getCacheKey(n);return this.currentLayoutCacheKey===o&&this.currentLayout?(this.currentLayout.triggerMethod("layout:requested",n),this.currentLayout):(this.clearLayout(),this.currentLayoutCacheKey=o,this.currentLayout=new this.layouts[r](n),this.listenToOnce(this.currentLayout,"destroy",this.clearLayout),this.currentLayout)}checkRequiredRegions(t){zn(this.requiredRegions,r=>{Cf(Wl(t.prototype,"regions"),r)||Mt.throw(new ti(`Layout: ${t.prototype.name} must define an ${r} region.`))})}listenTo(...t){return Ga.call(this,t[0],t[1],t[2],super.listenTo)}}class vV{constructor(t,r){this.application=t,this.options=r||{}}get Application(){return this.application}get Options(){return this.options}}class mV extends Qp{constructor(){super(...arguments),this.routeMiddleware=[],this.onBeforeExecuteAppLinkMiddleware=[],this.onExecuteAppLinkMiddleware=[],this.onAfterExecuteAppLinkMiddleware=[]}initialize(t){this.mergeOptions(t,["layoutService"]),this.applications=[],this.routeLookup={},this.shellState={navLock:!1,activeRoute:!1,currentAppLink:null},this.errorHandlers=[]}bindListeners(){this.bindRouteLookup(),this.bindNavLockListeners(),this.bindAppLinkListeners(),this.bindErrorHandlers(),this.bindErrorListener()}bindNavLockListeners(){this.listenTo(Nr.SHELL,jr.LOCK_NAV,()=>this.shellState.navLock=!0),this.listenTo(Nr.SHELL,jr.UNLOCK_NAV,()=>this.shellState.navLock=!1)}bindAppLinkListeners(){this.listenTo(Nr.SHELL,jr.ROUTING_START,()=>this.shellState.activeRoute=!0),this.listenTo(Nr.SHELL,jr.ROUTING_END,()=>this.shellState.activeRoute=!1),this.listenTo(Nr.SHELL,jr.ROUTE,r=>this.shellState.currentAppLink=r);const t=Zt.Radio.channel(Nr.SHELL);t.reply(jr.HAS_ACTIVE_ROUTE,$e.bind(this.hasActiveRoute,this)),t.reply(jr.CURRENT_ROUTE,()=>this.shellState.currentAppLink)}bindErrorHandlers(){window.addEventListener("error",()=>{qo.routingEnded()})}bindErrorListener(){const t=Zt.Radio.channel(Nr.SHELL);this.listenTo(t,jr.ERROR,this.handleError)}bindRouteLookup(){Zt.Radio.channel(Nr.SHELL).reply(jr.ROUTE_LOOKUP,(r,n,o,a)=>this.routeLookup[r]?this.routeLookup[r](n,o,a):!1,this)}addRouteLookup(t,r){this.routeLookup[t]=r}registerApplication(t,r){return this.applications.push(new vV(t,r)),this}getGlobalRadioChannels(){return Nr}isNavLocked(){return this.shellState.navLock}start(t){t||(t={}),this.runInitializationSteps(this,()=>{this.runStartUpSteps(this,t,()=>{super.start(t)})})}hasActiveRoute(){return this.shellState.activeRoute}async onStart(){const t=$e.map(this.applications,r=>{const n={appConstructor:r.Application,shell:this,appOptions:{region:"",shell:this,layoutService:this.layoutService,...r.Options}};return new r.Application.router(n)});await Promise.all(t.map(r=>r.start())),this.bindListeners(),Yr.StartHistory()}addInitializationStep(t){return this.runInitializationSteps=(r=>(n,o)=>r(n,()=>t(n,o)))(this.runInitializationSteps),this}runInitializationSteps(t,r){r(t)}addStartUpStep(t){return this.runStartUpSteps=(r=>(n,o,a)=>r(n,o,()=>t(n,o,a)))(this.runStartUpSteps),this}runStartUpSteps(t,r,n){n(t,r)}registerLayout(t,r){return this.layoutService.registerLayout(t,r),this}registerErrorHandler(t,r){return t||Mt.throw(new ti("An error must have a name in order to register a handler for it.")),$e.any(this.errorHandlers,n=>n.errorType===t)&&Mt.throw(new ti(`An error handler for ${t.prototype.name} has already been defined.`)),this.errorHandlers.push({errorType:t,handler:r}),this}handleError(t){const r=$e.find(this.errorHandlers,n=>t instanceof n.errorType);r&&r.handler&&r.handler(t)}registerStore(t){this.store=t}registerRouteMiddleware(t){return this.routeMiddleware.push(t),this}registerAppLinkMiddleware(t,r){return t==="onBeforeExecute"&&this.onBeforeExecuteAppLinkMiddleware.push(r),t==="onExecute"&&this.onExecuteAppLinkMiddleware.push(r),t==="onAfterExecute"&&this.onAfterExecuteAppLinkMiddleware.push(r),this}listenTo(...t){return Ga.call(this,t[0],t[1],t[2],super.listenTo)}}const bi={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"};var vs=(e=>(e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error",e))(vs||{}),di=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(di||{});function IC(e){const{getResponseHeader:t,responseJSON:r,status:n}=e;return{getResponseHeader:t,responseJSON:r,status:n}}const yV=[di.POST,di.PUT];function wV(e){const{resource:t,type:r,headers:n,success:o,error:a,always:u}=e,f={url:t,method:r,contentType:"application/json; charset=utf-8"};yV.includes(r)&&e.data&&(f.data=JSON.stringify(e.data)),n&&(f.headers=n),$.ajax(f).done((l,d,v)=>{o&&o(l,IC(v))}).fail(l=>{a&&a(IC(l))}).always(()=>{u&&u()})}const xD="id";function om(e,t={}){const{idAttribute:r=xD,namespace:n=""}=t;return`${n}__${e[r]}`}function CD(e,t,r,n={}){const{idAttribute:o=xD}=n,a={...e};if(r.has(e))return e[o]?om(e,n):a;if(r.add(e),Object.keys(e).forEach(u=>{const f=e[u];if(f){if(Array.isArray(f)){a[u]=f.map(l=>LS(l,t,r,n));return}if(typeof f=="object"){const l=CD(f,t,r,n);f[o]?a[u]=om(f,n):a[u]=l}}}),e[o]){const u=om(e,n);return t[u]?t[u]={...t[u],...a}:t[u]=a,u}return a}function LS(e,t,r,n={}){return e&&(Array.isArray(e)?e.map(o=>LS(o,t,r,n)):typeof e=="object"?CD(e,t,r,n):e)}function TD(e,t){const r={};return{result:LS(e,r,new Set,t),entities:r}}var sm,PC;function EV(){if(PC)return sm;PC=1;function e(){this.__data__=[],this.size=0}return sm=e,sm}var am,kC;function AD(){if(kC)return am;kC=1;function e(t,r){return t===r||t!==t&&r!==r}return am=e,am}var um,LC;function tg(){if(LC)return um;LC=1;var e=AD();function t(r,n){for(var o=r.length;o--;)if(e(r[o][0],n))return o;return-1}return um=t,um}var lm,DC;function SV(){if(DC)return lm;DC=1;var e=tg(),t=Array.prototype,r=t.splice;function n(o){var a=this.__data__,u=e(a,o);if(u<0)return!1;var f=a.length-1;return u==f?a.pop():r.call(a,u,1),--this.size,!0}return lm=n,lm}var cm,NC;function _V(){if(NC)return cm;NC=1;var e=tg();function t(r){var n=this.__data__,o=e(n,r);return o<0?void 0:n[o][1]}return cm=t,cm}var fm,MC;function bV(){if(MC)return fm;MC=1;var e=tg();function t(r){return e(this.__data__,r)>-1}return fm=t,fm}var dm,$C;function xV(){if($C)return dm;$C=1;var e=tg();function t(r,n){var o=this.__data__,a=e(o,r);return a<0?(++this.size,o.push([r,n])):o[a][1]=n,this}return dm=t,dm}var hm,FC;function rg(){if(FC)return hm;FC=1;var e=EV(),t=SV(),r=_V(),n=bV(),o=xV();function a(u){var f=-1,l=u==null?0:u.length;for(this.clear();++f<l;){var d=u[f];this.set(d[0],d[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=o,hm=a,hm}var pm,jC;function CV(){if(jC)return pm;jC=1;var e=rg();function t(){this.__data__=new e,this.size=0}return pm=t,pm}var gm,UC;function TV(){if(UC)return gm;UC=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return gm=e,gm}var vm,VC;function AV(){if(VC)return vm;VC=1;function e(t){return this.__data__.get(t)}return vm=e,vm}var mm,HC;function RV(){if(HC)return mm;HC=1;function e(t){return this.__data__.has(t)}return mm=e,mm}var ym,BC;function RD(){if(BC)return ym;BC=1;var e=typeof ka=="object"&&ka&&ka.Object===Object&&ka;return ym=e,ym}var wm,zC;function Es(){if(zC)return wm;zC=1;var e=RD(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return wm=r,wm}var Em,WC;function ng(){if(WC)return Em;WC=1;var e=Es(),t=e.Symbol;return Em=t,Em}var Sm,qC;function OV(){if(qC)return Sm;qC=1;var e=ng(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,o=e?e.toStringTag:void 0;function a(u){var f=r.call(u,o),l=u[o];try{u[o]=void 0;var d=!0}catch{}var v=n.call(u);return d&&(f?u[o]=l:delete u[o]),v}return Sm=a,Sm}var _m,GC;function IV(){if(GC)return _m;GC=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return _m=r,_m}var bm,YC;function ed(){if(YC)return bm;YC=1;var e=ng(),t=OV(),r=IV(),n="[object Null]",o="[object Undefined]",a=e?e.toStringTag:void 0;function u(f){return f==null?f===void 0?o:n:a&&a in Object(f)?t(f):r(f)}return bm=u,bm}var xm,KC;function td(){if(KC)return xm;KC=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return xm=e,xm}var Cm,XC;function OD(){if(XC)return Cm;XC=1;var e=ed(),t=td(),r="[object AsyncFunction]",n="[object Function]",o="[object GeneratorFunction]",a="[object Proxy]";function u(f){if(!t(f))return!1;var l=e(f);return l==n||l==o||l==r||l==a}return Cm=u,Cm}var Tm,QC;function PV(){if(QC)return Tm;QC=1;var e=Es(),t=e["__core-js_shared__"];return Tm=t,Tm}var Am,JC;function kV(){if(JC)return Am;JC=1;var e=PV(),t=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function r(n){return!!t&&t in n}return Am=r,Am}var Rm,ZC;function ID(){if(ZC)return Rm;ZC=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return Rm=r,Rm}var Om,eT;function LV(){if(eT)return Om;eT=1;var e=OD(),t=kV(),r=td(),n=ID(),o=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,u=Function.prototype,f=Object.prototype,l=u.toString,d=f.hasOwnProperty,v=RegExp("^"+l.call(d).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(w){if(!r(w)||t(w))return!1;var x=e(w)?v:a;return x.test(n(w))}return Om=p,Om}var Im,tT;function DV(){if(tT)return Im;tT=1;function e(t,r){return t==null?void 0:t[r]}return Im=e,Im}var Pm,rT;function Yu(){if(rT)return Pm;rT=1;var e=LV(),t=DV();function r(n,o){var a=t(n,o);return e(a)?a:void 0}return Pm=r,Pm}var km,nT;function DS(){if(nT)return km;nT=1;var e=Yu(),t=Es(),r=e(t,"Map");return km=r,km}var Lm,iT;function ig(){if(iT)return Lm;iT=1;var e=Yu(),t=e(Object,"create");return Lm=t,Lm}var Dm,oT;function NV(){if(oT)return Dm;oT=1;var e=ig();function t(){this.__data__=e?e(null):{},this.size=0}return Dm=t,Dm}var Nm,sT;function MV(){if(sT)return Nm;sT=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Nm=e,Nm}var Mm,aT;function $V(){if(aT)return Mm;aT=1;var e=ig(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function o(a){var u=this.__data__;if(e){var f=u[a];return f===t?void 0:f}return n.call(u,a)?u[a]:void 0}return Mm=o,Mm}var $m,uT;function FV(){if(uT)return $m;uT=1;var e=ig(),t=Object.prototype,r=t.hasOwnProperty;function n(o){var a=this.__data__;return e?a[o]!==void 0:r.call(a,o)}return $m=n,$m}var Fm,lT;function jV(){if(lT)return Fm;lT=1;var e=ig(),t="__lodash_hash_undefined__";function r(n,o){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&o===void 0?t:o,this}return Fm=r,Fm}var jm,cT;function UV(){if(cT)return jm;cT=1;var e=NV(),t=MV(),r=$V(),n=FV(),o=jV();function a(u){var f=-1,l=u==null?0:u.length;for(this.clear();++f<l;){var d=u[f];this.set(d[0],d[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=o,jm=a,jm}var Um,fT;function VV(){if(fT)return Um;fT=1;var e=UV(),t=rg(),r=DS();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Um=n,Um}var Vm,dT;function HV(){if(dT)return Vm;dT=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return Vm=e,Vm}var Hm,hT;function og(){if(hT)return Hm;hT=1;var e=HV();function t(r,n){var o=r.__data__;return e(n)?o[typeof n=="string"?"string":"hash"]:o.map}return Hm=t,Hm}var Bm,pT;function BV(){if(pT)return Bm;pT=1;var e=og();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return Bm=t,Bm}var zm,gT;function zV(){if(gT)return zm;gT=1;var e=og();function t(r){return e(this,r).get(r)}return zm=t,zm}var Wm,vT;function WV(){if(vT)return Wm;vT=1;var e=og();function t(r){return e(this,r).has(r)}return Wm=t,Wm}var qm,mT;function qV(){if(mT)return qm;mT=1;var e=og();function t(r,n){var o=e(this,r),a=o.size;return o.set(r,n),this.size+=o.size==a?0:1,this}return qm=t,qm}var Gm,yT;function PD(){if(yT)return Gm;yT=1;var e=VV(),t=BV(),r=zV(),n=WV(),o=qV();function a(u){var f=-1,l=u==null?0:u.length;for(this.clear();++f<l;){var d=u[f];this.set(d[0],d[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=o,Gm=a,Gm}var Ym,wT;function GV(){if(wT)return Ym;wT=1;var e=rg(),t=DS(),r=PD(),n=200;function o(a,u){var f=this.__data__;if(f instanceof e){var l=f.__data__;if(!t||l.length<n-1)return l.push([a,u]),this.size=++f.size,this;f=this.__data__=new r(l)}return f.set(a,u),this.size=f.size,this}return Ym=o,Ym}var Km,ET;function YV(){if(ET)return Km;ET=1;var e=rg(),t=CV(),r=TV(),n=AV(),o=RV(),a=GV();function u(f){var l=this.__data__=new e(f);this.size=l.size}return u.prototype.clear=t,u.prototype.delete=r,u.prototype.get=n,u.prototype.has=o,u.prototype.set=a,Km=u,Km}var Xm,ST;function KV(){if(ST)return Xm;ST=1;function e(t,r){for(var n=-1,o=t==null?0:t.length;++n<o&&r(t[n],n,t)!==!1;);return t}return Xm=e,Xm}var Qm,_T;function XV(){if(_T)return Qm;_T=1;var e=Yu(),t=function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}}();return Qm=t,Qm}var Jm,bT;function kD(){if(bT)return Jm;bT=1;var e=XV();function t(r,n,o){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:o,writable:!0}):r[n]=o}return Jm=t,Jm}var Zm,xT;function LD(){if(xT)return Zm;xT=1;var e=kD(),t=AD(),r=Object.prototype,n=r.hasOwnProperty;function o(a,u,f){var l=a[u];(!(n.call(a,u)&&t(l,f))||f===void 0&&!(u in a))&&e(a,u,f)}return Zm=o,Zm}var ey,CT;function sg(){if(CT)return ey;CT=1;var e=LD(),t=kD();function r(n,o,a,u){var f=!a;a||(a={});for(var l=-1,d=o.length;++l<d;){var v=o[l],p=u?u(a[v],n[v],v,a,n):void 0;p===void 0&&(p=n[v]),f?t(a,v,p):e(a,v,p)}return a}return ey=r,ey}var ty,TT;function QV(){if(TT)return ty;TT=1;function e(t,r){for(var n=-1,o=Array(t);++n<t;)o[n]=r(n);return o}return ty=e,ty}var ry,AT;function gc(){if(AT)return ry;AT=1;function e(t){return t!=null&&typeof t=="object"}return ry=e,ry}var ny,RT;function JV(){if(RT)return ny;RT=1;var e=ed(),t=gc(),r="[object Arguments]";function n(o){return t(o)&&e(o)==r}return ny=n,ny}var iy,OT;function ZV(){if(OT)return iy;OT=1;var e=JV(),t=gc(),r=Object.prototype,n=r.hasOwnProperty,o=r.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(u){return t(u)&&n.call(u,"callee")&&!o.call(u,"callee")};return iy=a,iy}var oy,IT;function vc(){if(IT)return oy;IT=1;var e=Array.isArray;return oy=e,oy}var of={exports:{}},sy,PT;function e8(){if(PT)return sy;PT=1;function e(){return!1}return sy=e,sy}of.exports;var kT;function DD(){return kT||(kT=1,function(e,t){var r=Es(),n=e8(),o=t&&!t.nodeType&&t,a=o&&!0&&e&&!e.nodeType&&e,u=a&&a.exports===o,f=u?r.Buffer:void 0,l=f?f.isBuffer:void 0,d=l||n;e.exports=d}(of,of.exports)),of.exports}var ay,LT;function t8(){if(LT)return ay;LT=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,o){var a=typeof n;return o=o??e,!!o&&(a=="number"||a!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<o}return ay=r,ay}var uy,DT;function ND(){if(DT)return uy;DT=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return uy=t,uy}var ly,NT;function r8(){if(NT)return ly;NT=1;var e=ed(),t=ND(),r=gc(),n="[object Arguments]",o="[object Array]",a="[object Boolean]",u="[object Date]",f="[object Error]",l="[object Function]",d="[object Map]",v="[object Number]",p="[object Object]",w="[object RegExp]",x="[object Set]",C="[object String]",E="[object WeakMap]",S="[object ArrayBuffer]",I="[object DataView]",D="[object Float32Array]",H="[object Float64Array]",V="[object Int8Array]",M="[object Int16Array]",G="[object Int32Array]",y="[object Uint8Array]",Z="[object Uint8ClampedArray]",ae="[object Uint16Array]",ce="[object Uint32Array]",ie={};ie[D]=ie[H]=ie[V]=ie[M]=ie[G]=ie[y]=ie[Z]=ie[ae]=ie[ce]=!0,ie[n]=ie[o]=ie[S]=ie[a]=ie[I]=ie[u]=ie[f]=ie[l]=ie[d]=ie[v]=ie[p]=ie[w]=ie[x]=ie[C]=ie[E]=!1;function de(ge){return r(ge)&&t(ge.length)&&!!ie[e(ge)]}return ly=de,ly}var cy,MT;function NS(){if(MT)return cy;MT=1;function e(t){return function(r){return t(r)}}return cy=e,cy}var sf={exports:{}};sf.exports;var $T;function MS(){return $T||($T=1,function(e,t){var r=RD(),n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===n,u=a&&r.process,f=function(){try{var l=o&&o.require&&o.require("util").types;return l||u&&u.binding&&u.binding("util")}catch{}}();e.exports=f}(sf,sf.exports)),sf.exports}var fy,FT;function n8(){if(FT)return fy;FT=1;var e=r8(),t=NS(),r=MS(),n=r&&r.isTypedArray,o=n?t(n):e;return fy=o,fy}var dy,jT;function MD(){if(jT)return dy;jT=1;var e=QV(),t=ZV(),r=vc(),n=DD(),o=t8(),a=n8(),u=Object.prototype,f=u.hasOwnProperty;function l(d,v){var p=r(d),w=!p&&t(d),x=!p&&!w&&n(d),C=!p&&!w&&!x&&a(d),E=p||w||x||C,S=E?e(d.length,String):[],I=S.length;for(var D in d)(v||f.call(d,D))&&!(E&&(D=="length"||x&&(D=="offset"||D=="parent")||C&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||o(D,I)))&&S.push(D);return S}return dy=l,dy}var hy,UT;function $S(){if(UT)return hy;UT=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,o=typeof n=="function"&&n.prototype||e;return r===o}return hy=t,hy}var py,VT;function $D(){if(VT)return py;VT=1;function e(t,r){return function(n){return t(r(n))}}return py=e,py}var gy,HT;function i8(){if(HT)return gy;HT=1;var e=$D(),t=e(Object.keys,Object);return gy=t,gy}var vy,BT;function o8(){if(BT)return vy;BT=1;var e=$S(),t=i8(),r=Object.prototype,n=r.hasOwnProperty;function o(a){if(!e(a))return t(a);var u=[];for(var f in Object(a))n.call(a,f)&&f!="constructor"&&u.push(f);return u}return vy=o,vy}var my,zT;function FD(){if(zT)return my;zT=1;var e=OD(),t=ND();function r(n){return n!=null&&t(n.length)&&!e(n)}return my=r,my}var yy,WT;function FS(){if(WT)return yy;WT=1;var e=MD(),t=o8(),r=FD();function n(o){return r(o)?e(o):t(o)}return yy=n,yy}var wy,qT;function s8(){if(qT)return wy;qT=1;var e=sg(),t=FS();function r(n,o){return n&&e(o,t(o),n)}return wy=r,wy}var Ey,GT;function a8(){if(GT)return Ey;GT=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return Ey=e,Ey}var Sy,YT;function u8(){if(YT)return Sy;YT=1;var e=td(),t=$S(),r=a8(),n=Object.prototype,o=n.hasOwnProperty;function a(u){if(!e(u))return r(u);var f=t(u),l=[];for(var d in u)d=="constructor"&&(f||!o.call(u,d))||l.push(d);return l}return Sy=a,Sy}var _y,KT;function jS(){if(KT)return _y;KT=1;var e=MD(),t=u8(),r=FD();function n(o){return r(o)?e(o,!0):t(o)}return _y=n,_y}var by,XT;function l8(){if(XT)return by;XT=1;var e=sg(),t=jS();function r(n,o){return n&&e(o,t(o),n)}return by=r,by}var af={exports:{}};af.exports;var QT;function c8(){return QT||(QT=1,function(e,t){var r=Es(),n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===n,u=a?r.Buffer:void 0,f=u?u.allocUnsafe:void 0;function l(d,v){if(v)return d.slice();var p=d.length,w=f?f(p):new d.constructor(p);return d.copy(w),w}e.exports=l}(af,af.exports)),af.exports}var xy,JT;function f8(){if(JT)return xy;JT=1;function e(t,r){var n=-1,o=t.length;for(r||(r=Array(o));++n<o;)r[n]=t[n];return r}return xy=e,xy}var Cy,ZT;function d8(){if(ZT)return Cy;ZT=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,a=0,u=[];++n<o;){var f=t[n];r(f,n,t)&&(u[a++]=f)}return u}return Cy=e,Cy}var Ty,eA;function jD(){if(eA)return Ty;eA=1;function e(){return[]}return Ty=e,Ty}var Ay,tA;function US(){if(tA)return Ay;tA=1;var e=d8(),t=jD(),r=Object.prototype,n=r.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(u){return u==null?[]:(u=Object(u),e(o(u),function(f){return n.call(u,f)}))}:t;return Ay=a,Ay}var Ry,rA;function h8(){if(rA)return Ry;rA=1;var e=sg(),t=US();function r(n,o){return e(n,t(n),o)}return Ry=r,Ry}var Oy,nA;function UD(){if(nA)return Oy;nA=1;function e(t,r){for(var n=-1,o=r.length,a=t.length;++n<o;)t[a+n]=r[n];return t}return Oy=e,Oy}var Iy,iA;function VD(){if(iA)return Iy;iA=1;var e=$D(),t=e(Object.getPrototypeOf,Object);return Iy=t,Iy}var Py,oA;function HD(){if(oA)return Py;oA=1;var e=UD(),t=VD(),r=US(),n=jD(),o=Object.getOwnPropertySymbols,a=o?function(u){for(var f=[];u;)e(f,r(u)),u=t(u);return f}:n;return Py=a,Py}var ky,sA;function p8(){if(sA)return ky;sA=1;var e=sg(),t=HD();function r(n,o){return e(n,t(n),o)}return ky=r,ky}var Ly,aA;function BD(){if(aA)return Ly;aA=1;var e=UD(),t=vc();function r(n,o,a){var u=o(n);return t(n)?u:e(u,a(n))}return Ly=r,Ly}var Dy,uA;function g8(){if(uA)return Dy;uA=1;var e=BD(),t=US(),r=FS();function n(o){return e(o,r,t)}return Dy=n,Dy}var Ny,lA;function v8(){if(lA)return Ny;lA=1;var e=BD(),t=HD(),r=jS();function n(o){return e(o,r,t)}return Ny=n,Ny}var My,cA;function m8(){if(cA)return My;cA=1;var e=Yu(),t=Es(),r=e(t,"DataView");return My=r,My}var $y,fA;function y8(){if(fA)return $y;fA=1;var e=Yu(),t=Es(),r=e(t,"Promise");return $y=r,$y}var Fy,dA;function w8(){if(dA)return Fy;dA=1;var e=Yu(),t=Es(),r=e(t,"Set");return Fy=r,Fy}var jy,hA;function E8(){if(hA)return jy;hA=1;var e=Yu(),t=Es(),r=e(t,"WeakMap");return jy=r,jy}var Uy,pA;function VS(){if(pA)return Uy;pA=1;var e=m8(),t=DS(),r=y8(),n=w8(),o=E8(),a=ed(),u=ID(),f="[object Map]",l="[object Object]",d="[object Promise]",v="[object Set]",p="[object WeakMap]",w="[object DataView]",x=u(e),C=u(t),E=u(r),S=u(n),I=u(o),D=a;return(e&&D(new e(new ArrayBuffer(1)))!=w||t&&D(new t)!=f||r&&D(r.resolve())!=d||n&&D(new n)!=v||o&&D(new o)!=p)&&(D=function(H){var V=a(H),M=V==l?H.constructor:void 0,G=M?u(M):"";if(G)switch(G){case x:return w;case C:return f;case E:return d;case S:return v;case I:return p}return V}),Uy=D,Uy}var Vy,gA;function S8(){if(gA)return Vy;gA=1;var e=Object.prototype,t=e.hasOwnProperty;function r(n){var o=n.length,a=new n.constructor(o);return o&&typeof n[0]=="string"&&t.call(n,"index")&&(a.index=n.index,a.input=n.input),a}return Vy=r,Vy}var Hy,vA;function _8(){if(vA)return Hy;vA=1;var e=Es(),t=e.Uint8Array;return Hy=t,Hy}var By,mA;function HS(){if(mA)return By;mA=1;var e=_8();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return By=t,By}var zy,yA;function b8(){if(yA)return zy;yA=1;var e=HS();function t(r,n){var o=n?e(r.buffer):r.buffer;return new r.constructor(o,r.byteOffset,r.byteLength)}return zy=t,zy}var Wy,wA;function x8(){if(wA)return Wy;wA=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return Wy=t,Wy}var qy,EA;function C8(){if(EA)return qy;EA=1;var e=ng(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(o){return r?Object(r.call(o)):{}}return qy=n,qy}var Gy,SA;function T8(){if(SA)return Gy;SA=1;var e=HS();function t(r,n){var o=n?e(r.buffer):r.buffer;return new r.constructor(o,r.byteOffset,r.length)}return Gy=t,Gy}var Yy,_A;function A8(){if(_A)return Yy;_A=1;var e=HS(),t=b8(),r=x8(),n=C8(),o=T8(),a="[object Boolean]",u="[object Date]",f="[object Map]",l="[object Number]",d="[object RegExp]",v="[object Set]",p="[object String]",w="[object Symbol]",x="[object ArrayBuffer]",C="[object DataView]",E="[object Float32Array]",S="[object Float64Array]",I="[object Int8Array]",D="[object Int16Array]",H="[object Int32Array]",V="[object Uint8Array]",M="[object Uint8ClampedArray]",G="[object Uint16Array]",y="[object Uint32Array]";function Z(ae,ce,ie){var de=ae.constructor;switch(ce){case x:return e(ae);case a:case u:return new de(+ae);case C:return t(ae,ie);case E:case S:case I:case D:case H:case V:case M:case G:case y:return o(ae,ie);case f:return new de;case l:case p:return new de(ae);case d:return r(ae);case v:return new de;case w:return n(ae)}}return Yy=Z,Yy}var Ky,bA;function R8(){if(bA)return Ky;bA=1;var e=td(),t=Object.create,r=function(){function n(){}return function(o){if(!e(o))return{};if(t)return t(o);n.prototype=o;var a=new n;return n.prototype=void 0,a}}();return Ky=r,Ky}var Xy,xA;function O8(){if(xA)return Xy;xA=1;var e=R8(),t=VD(),r=$S();function n(o){return typeof o.constructor=="function"&&!r(o)?e(t(o)):{}}return Xy=n,Xy}var Qy,CA;function I8(){if(CA)return Qy;CA=1;var e=VS(),t=gc(),r="[object Map]";function n(o){return t(o)&&e(o)==r}return Qy=n,Qy}var Jy,TA;function P8(){if(TA)return Jy;TA=1;var e=I8(),t=NS(),r=MS(),n=r&&r.isMap,o=n?t(n):e;return Jy=o,Jy}var Zy,AA;function k8(){if(AA)return Zy;AA=1;var e=VS(),t=gc(),r="[object Set]";function n(o){return t(o)&&e(o)==r}return Zy=n,Zy}var e0,RA;function L8(){if(RA)return e0;RA=1;var e=k8(),t=NS(),r=MS(),n=r&&r.isSet,o=n?t(n):e;return e0=o,e0}var t0,OA;function D8(){if(OA)return t0;OA=1;var e=YV(),t=KV(),r=LD(),n=s8(),o=l8(),a=c8(),u=f8(),f=h8(),l=p8(),d=g8(),v=v8(),p=VS(),w=S8(),x=A8(),C=O8(),E=vc(),S=DD(),I=P8(),D=td(),H=L8(),V=FS(),M=jS(),G=1,y=2,Z=4,ae="[object Arguments]",ce="[object Array]",ie="[object Boolean]",de="[object Date]",ge="[object Error]",me="[object Function]",ye="[object GeneratorFunction]",be="[object Map]",Ae="[object Number]",re="[object Object]",Ee="[object RegExp]",X="[object Set]",Re="[object String]",qe="[object Symbol]",Qe="[object WeakMap]",et="[object ArrayBuffer]",ut="[object DataView]",dt="[object Float32Array]",F="[object Float64Array]",T="[object Int8Array]",N="[object Int16Array]",L="[object Int32Array]",q="[object Uint8Array]",P="[object Uint8ClampedArray]",j="[object Uint16Array]",se="[object Uint32Array]",ee={};ee[ae]=ee[ce]=ee[et]=ee[ut]=ee[ie]=ee[de]=ee[dt]=ee[F]=ee[T]=ee[N]=ee[L]=ee[be]=ee[Ae]=ee[re]=ee[Ee]=ee[X]=ee[Re]=ee[qe]=ee[q]=ee[P]=ee[j]=ee[se]=!0,ee[ge]=ee[me]=ee[Qe]=!1;function pe(ue,Oe,Le,oe,Se,ve){var Te,He=Oe&G,Ue=Oe&y,at=Oe&Z;if(Le&&(Te=Se?Le(ue,oe,Se,ve):Le(ue)),Te!==void 0)return Te;if(!D(ue))return ue;var Nt=E(ue);if(Nt){if(Te=w(ue),!He)return u(ue,Te)}else{var $t=p(ue),Ut=$t==me||$t==ye;if(S(ue))return a(ue,He);if($t==re||$t==ae||Ut&&!Se){if(Te=Ue||Ut?{}:C(ue),!He)return Ue?l(ue,o(Te,ue)):f(ue,n(Te,ue))}else{if(!ee[$t])return Se?ue:{};Te=x(ue,$t,He)}}ve||(ve=new e);var br=ve.get(ue);if(br)return br;ve.set(ue,Te),H(ue)?ue.forEach(function(xr){Te.add(pe(xr,Oe,Le,xr,ue,ve))}):I(ue)&&ue.forEach(function(xr,Rr){Te.set(Rr,pe(xr,Oe,Le,Rr,ue,ve))});var Pr=at?Ue?v:d:Ue?M:V,ur=Nt?void 0:Pr(ue);return t(ur||ue,function(xr,Rr){ur&&(Rr=xr,xr=ue[Rr]),r(Te,Rr,pe(xr,Oe,Le,Rr,ue,ve))}),Te}return t0=pe,t0}var r0,IA;function N8(){if(IA)return r0;IA=1;var e=D8(),t=1,r=4;function n(o){return e(o,t|r)}return r0=n,r0}var M8=N8();const $8=Kr(M8);var n0,PA;function BS(){if(PA)return n0;PA=1;var e=ed(),t=gc(),r="[object Symbol]";function n(o){return typeof o=="symbol"||t(o)&&e(o)==r}return n0=n,n0}var i0,kA;function F8(){if(kA)return i0;kA=1;var e=vc(),t=BS(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function o(a,u){if(e(a))return!1;var f=typeof a;return f=="number"||f=="symbol"||f=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||u!=null&&a in Object(u)}return i0=o,i0}var o0,LA;function j8(){if(LA)return o0;LA=1;var e=PD(),t="Expected a function";function r(n,o){if(typeof n!="function"||o!=null&&typeof o!="function")throw new TypeError(t);var a=function(){var u=arguments,f=o?o.apply(this,u):u[0],l=a.cache;if(l.has(f))return l.get(f);var d=n.apply(this,u);return a.cache=l.set(f,d)||l,d};return a.cache=new(r.Cache||e),a}return r.Cache=e,o0=r,o0}var s0,DA;function U8(){if(DA)return s0;DA=1;var e=j8(),t=500;function r(n){var o=e(n,function(u){return a.size===t&&a.clear(),u}),a=o.cache;return o}return s0=r,s0}var a0,NA;function V8(){if(NA)return a0;NA=1;var e=U8(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(o){var a=[];return o.charCodeAt(0)===46&&a.push(""),o.replace(t,function(u,f,l,d){a.push(l?d.replace(r,"$1"):f||u)}),a});return a0=n,a0}var u0,MA;function H8(){if(MA)return u0;MA=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,a=Array(o);++n<o;)a[n]=r(t[n],n,t);return a}return u0=e,u0}var l0,$A;function B8(){if($A)return l0;$A=1;var e=ng(),t=H8(),r=vc(),n=BS(),o=e?e.prototype:void 0,a=o?o.toString:void 0;function u(f){if(typeof f=="string")return f;if(r(f))return t(f,u)+"";if(n(f))return a?a.call(f):"";var l=f+"";return l=="0"&&1/f==-1/0?"-0":l}return l0=u,l0}var c0,FA;function z8(){if(FA)return c0;FA=1;var e=B8();function t(r){return r==null?"":e(r)}return c0=t,c0}var f0,jA;function W8(){if(jA)return f0;jA=1;var e=vc(),t=F8(),r=V8(),n=z8();function o(a,u){return e(a)?a:t(a,u)?[a]:r(n(a))}return f0=o,f0}var d0,UA;function q8(){if(UA)return d0;UA=1;var e=BS();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return d0=t,d0}var h0,VA;function G8(){if(VA)return h0;VA=1;var e=W8(),t=q8();function r(n,o){o=e(o,n);for(var a=0,u=o.length;n!=null&&a<u;)n=n[t(o[a++])];return a&&a==u?n:void 0}return h0=r,h0}var p0,HA;function Y8(){if(HA)return p0;HA=1;var e=G8();function t(r,n,o){var a=r==null?void 0:e(r,n);return a===void 0?o:a}return p0=t,p0}var K8=Y8();const X8=Kr(K8),ws={isEmpty(e){return nc(e)},values(e){return ra(e)},keys(e){return In(e)},deepClone(e){return $8(e)},getEnumKeys(e){return Object.keys(e).filter(t=>!(parseInt(t)>=0))},isObject(e){return uo(e)},isEqual(e,t){return B1(e,t)},omit(e,t){return Jf(e,t)},pick(e,t){return Kp(e,t)},removeEmptyKeys(e){return Object.entries(e).filter(([,t])=>t!=null).reduce((t,[r,n])=>({...t,[r]:n}),{})},flattenObjectToString(e,t="",r=","){return Object.keys(e).sort().map(n=>{const o=t?`${t}.${n}`:n;return typeof e[n]=="object"&&!Array.isArray(e[n])?ws.flattenObjectToString(e[n],o):`${o}:${e[n]}`}).join(r)},get(e,t,r){return X8(e,t,r)},swapKeysAndValues(e){return Object.entries(e).reduce((t,[r,n])=>({...t,[n]:r}),{})}};function Q8(e,t,r,n){if(r[e])return r[e];r[e]={};const o=hp(t[e],t,r,n);return Object.assign(r[e],o),ws.isEmpty(r[e])?(delete r[e],e):ws.omit(r[e],["__modifyCount"])}function hp(e,t,r,n){if(!e)return e;if(typeof e=="string")return Q8(e,t,r,n);if(Array.isArray(e))return e.map(o=>hp(o,t,r,n));if(n.has(e))return n.get(e);if(typeof e=="object"){const o={};return n.set(e,o),Object.keys(e).forEach(a=>{o[a]=hp(e[a],t,r,n)}),o}return e}function zS(e,t){const r={};return{result:hp(e,t,r,new WeakMap),visited:r}}var g0={exports:{}},Tr={};/**
|
|
41
|
+
* @license React
|
|
42
|
+
* react.production.min.js
|
|
43
|
+
*
|
|
44
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
45
|
+
*
|
|
46
|
+
* This source code is licensed under the MIT license found in the
|
|
47
|
+
* LICENSE file in the root directory of this source tree.
|
|
48
|
+
*/var BA;function J8(){if(BA)return Tr;BA=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),p=Symbol.iterator;function w(X){return X===null||typeof X!="object"?null:(X=p&&X[p]||X["@@iterator"],typeof X=="function"?X:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,E={};function S(X,Re,qe){this.props=X,this.context=Re,this.refs=E,this.updater=qe||x}S.prototype.isReactComponent={},S.prototype.setState=function(X,Re){if(typeof X!="object"&&typeof X!="function"&&X!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,X,Re,"setState")},S.prototype.forceUpdate=function(X){this.updater.enqueueForceUpdate(this,X,"forceUpdate")};function I(){}I.prototype=S.prototype;function D(X,Re,qe){this.props=X,this.context=Re,this.refs=E,this.updater=qe||x}var H=D.prototype=new I;H.constructor=D,C(H,S.prototype),H.isPureReactComponent=!0;var V=Array.isArray,M=Object.prototype.hasOwnProperty,G={current:null},y={key:!0,ref:!0,__self:!0,__source:!0};function Z(X,Re,qe){var Qe,et={},ut=null,dt=null;if(Re!=null)for(Qe in Re.ref!==void 0&&(dt=Re.ref),Re.key!==void 0&&(ut=""+Re.key),Re)M.call(Re,Qe)&&!y.hasOwnProperty(Qe)&&(et[Qe]=Re[Qe]);var F=arguments.length-2;if(F===1)et.children=qe;else if(1<F){for(var T=Array(F),N=0;N<F;N++)T[N]=arguments[N+2];et.children=T}if(X&&X.defaultProps)for(Qe in F=X.defaultProps,F)et[Qe]===void 0&&(et[Qe]=F[Qe]);return{$$typeof:e,type:X,key:ut,ref:dt,props:et,_owner:G.current}}function ae(X,Re){return{$$typeof:e,type:X.type,key:Re,ref:X.ref,props:X.props,_owner:X._owner}}function ce(X){return typeof X=="object"&&X!==null&&X.$$typeof===e}function ie(X){var Re={"=":"=0",":":"=2"};return"$"+X.replace(/[=:]/g,function(qe){return Re[qe]})}var de=/\/+/g;function ge(X,Re){return typeof X=="object"&&X!==null&&X.key!=null?ie(""+X.key):Re.toString(36)}function me(X,Re,qe,Qe,et){var ut=typeof X;(ut==="undefined"||ut==="boolean")&&(X=null);var dt=!1;if(X===null)dt=!0;else switch(ut){case"string":case"number":dt=!0;break;case"object":switch(X.$$typeof){case e:case t:dt=!0}}if(dt)return dt=X,et=et(dt),X=Qe===""?"."+ge(dt,0):Qe,V(et)?(qe="",X!=null&&(qe=X.replace(de,"$&/")+"/"),me(et,Re,qe,"",function(N){return N})):et!=null&&(ce(et)&&(et=ae(et,qe+(!et.key||dt&&dt.key===et.key?"":(""+et.key).replace(de,"$&/")+"/")+X)),Re.push(et)),1;if(dt=0,Qe=Qe===""?".":Qe+":",V(X))for(var F=0;F<X.length;F++){ut=X[F];var T=Qe+ge(ut,F);dt+=me(ut,Re,qe,T,et)}else if(T=w(X),typeof T=="function")for(X=T.call(X),F=0;!(ut=X.next()).done;)ut=ut.value,T=Qe+ge(ut,F++),dt+=me(ut,Re,qe,T,et);else if(ut==="object")throw Re=String(X),Error("Objects are not valid as a React child (found: "+(Re==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":Re)+"). If you meant to render a collection of children, use an array instead.");return dt}function ye(X,Re,qe){if(X==null)return X;var Qe=[],et=0;return me(X,Qe,"","",function(ut){return Re.call(qe,ut,et++)}),Qe}function be(X){if(X._status===-1){var Re=X._result;Re=Re(),Re.then(function(qe){(X._status===0||X._status===-1)&&(X._status=1,X._result=qe)},function(qe){(X._status===0||X._status===-1)&&(X._status=2,X._result=qe)}),X._status===-1&&(X._status=0,X._result=Re)}if(X._status===1)return X._result.default;throw X._result}var Ae={current:null},re={transition:null},Ee={ReactCurrentDispatcher:Ae,ReactCurrentBatchConfig:re,ReactCurrentOwner:G};return Tr.Children={map:ye,forEach:function(X,Re,qe){ye(X,function(){Re.apply(this,arguments)},qe)},count:function(X){var Re=0;return ye(X,function(){Re++}),Re},toArray:function(X){return ye(X,function(Re){return Re})||[]},only:function(X){if(!ce(X))throw Error("React.Children.only expected to receive a single React element child.");return X}},Tr.Component=S,Tr.Fragment=r,Tr.Profiler=o,Tr.PureComponent=D,Tr.StrictMode=n,Tr.Suspense=l,Tr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ee,Tr.cloneElement=function(X,Re,qe){if(X==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+X+".");var Qe=C({},X.props),et=X.key,ut=X.ref,dt=X._owner;if(Re!=null){if(Re.ref!==void 0&&(ut=Re.ref,dt=G.current),Re.key!==void 0&&(et=""+Re.key),X.type&&X.type.defaultProps)var F=X.type.defaultProps;for(T in Re)M.call(Re,T)&&!y.hasOwnProperty(T)&&(Qe[T]=Re[T]===void 0&&F!==void 0?F[T]:Re[T])}var T=arguments.length-2;if(T===1)Qe.children=qe;else if(1<T){F=Array(T);for(var N=0;N<T;N++)F[N]=arguments[N+2];Qe.children=F}return{$$typeof:e,type:X.type,key:et,ref:ut,props:Qe,_owner:dt}},Tr.createContext=function(X){return X={$$typeof:u,_currentValue:X,_currentValue2:X,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},X.Provider={$$typeof:a,_context:X},X.Consumer=X},Tr.createElement=Z,Tr.createFactory=function(X){var Re=Z.bind(null,X);return Re.type=X,Re},Tr.createRef=function(){return{current:null}},Tr.forwardRef=function(X){return{$$typeof:f,render:X}},Tr.isValidElement=ce,Tr.lazy=function(X){return{$$typeof:v,_payload:{_status:-1,_result:X},_init:be}},Tr.memo=function(X,Re){return{$$typeof:d,type:X,compare:Re===void 0?null:Re}},Tr.startTransition=function(X){var Re=re.transition;re.transition={};try{X()}finally{re.transition=Re}},Tr.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Tr.useCallback=function(X,Re){return Ae.current.useCallback(X,Re)},Tr.useContext=function(X){return Ae.current.useContext(X)},Tr.useDebugValue=function(){},Tr.useDeferredValue=function(X){return Ae.current.useDeferredValue(X)},Tr.useEffect=function(X,Re){return Ae.current.useEffect(X,Re)},Tr.useId=function(){return Ae.current.useId()},Tr.useImperativeHandle=function(X,Re,qe){return Ae.current.useImperativeHandle(X,Re,qe)},Tr.useInsertionEffect=function(X,Re){return Ae.current.useInsertionEffect(X,Re)},Tr.useLayoutEffect=function(X,Re){return Ae.current.useLayoutEffect(X,Re)},Tr.useMemo=function(X,Re){return Ae.current.useMemo(X,Re)},Tr.useReducer=function(X,Re,qe){return Ae.current.useReducer(X,Re,qe)},Tr.useRef=function(X){return Ae.current.useRef(X)},Tr.useState=function(X){return Ae.current.useState(X)},Tr.useSyncExternalStore=function(X,Re,qe){return Ae.current.useSyncExternalStore(X,Re,qe)},Tr.useTransition=function(){return Ae.current.useTransition()},Tr.version="18.1.0",Tr}var zA;function Ku(){return zA||(zA=1,g0.exports=J8()),g0.exports}var ne=Ku();const er=Kr(ne);var v0={exports:{}},m0={};/**
|
|
49
|
+
* @license React
|
|
50
|
+
* use-sync-external-store-shim.production.js
|
|
51
|
+
*
|
|
52
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
53
|
+
*
|
|
54
|
+
* This source code is licensed under the MIT license found in the
|
|
55
|
+
* LICENSE file in the root directory of this source tree.
|
|
56
|
+
*/var WA;function Z8(){if(WA)return m0;WA=1;var e=Ku();function t(p,w){return p===w&&(p!==0||1/p===1/w)||p!==p&&w!==w}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,a=e.useLayoutEffect,u=e.useDebugValue;function f(p,w){var x=w(),C=n({inst:{value:x,getSnapshot:w}}),E=C[0].inst,S=C[1];return a(function(){E.value=x,E.getSnapshot=w,l(E)&&S({inst:E})},[p,x,w]),o(function(){return l(E)&&S({inst:E}),p(function(){l(E)&&S({inst:E})})},[p]),u(x),x}function l(p){var w=p.getSnapshot;p=p.value;try{var x=w();return!r(p,x)}catch{return!0}}function d(p,w){return w()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:f;return m0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,m0}var qA;function zD(){return qA||(qA=1,v0.exports=Z8()),v0.exports}zD();var y0={exports:{}},w0={};/**
|
|
57
|
+
* @license React
|
|
58
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
59
|
+
*
|
|
60
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
61
|
+
*
|
|
62
|
+
* This source code is licensed under the MIT license found in the
|
|
63
|
+
* LICENSE file in the root directory of this source tree.
|
|
64
|
+
*/var GA;function e5(){if(GA)return w0;GA=1;var e=Ku(),t=zD();function r(d,v){return d===v&&(d!==0||1/d===1/v)||d!==d&&v!==v}var n=typeof Object.is=="function"?Object.is:r,o=t.useSyncExternalStore,a=e.useRef,u=e.useEffect,f=e.useMemo,l=e.useDebugValue;return w0.useSyncExternalStoreWithSelector=function(d,v,p,w,x){var C=a(null);if(C.current===null){var E={hasValue:!1,value:null};C.current=E}else E=C.current;C=f(function(){function I(G){if(!D){if(D=!0,H=G,G=w(G),x!==void 0&&E.hasValue){var y=E.value;if(x(y,G))return V=y}return V=G}if(y=V,n(H,G))return y;var Z=w(G);return x!==void 0&&x(y,Z)?(H=G,y):(H=G,V=Z)}var D=!1,H,V,M=p===void 0?null:p;return[function(){return I(v())},M===null?void 0:function(){return I(M())}]},[v,p,w,x]);var S=o(d,C[0],C[1]);return u(function(){E.hasValue=!0,E.value=S},[S]),l(S),S},w0}var YA;function t5(){return YA||(YA=1,y0.exports=e5()),y0.exports}var r5=t5(),E0={exports:{}},Vi={},S0={exports:{}},_0={};/**
|
|
65
|
+
* @license React
|
|
66
|
+
* scheduler.production.min.js
|
|
67
|
+
*
|
|
68
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
69
|
+
*
|
|
70
|
+
* This source code is licensed under the MIT license found in the
|
|
71
|
+
* LICENSE file in the root directory of this source tree.
|
|
72
|
+
*/var KA;function n5(){return KA||(KA=1,function(e){function t(re,Ee){var X=re.length;re.push(Ee);e:for(;0<X;){var Re=X-1>>>1,qe=re[Re];if(0<o(qe,Ee))re[Re]=Ee,re[X]=qe,X=Re;else break e}}function r(re){return re.length===0?null:re[0]}function n(re){if(re.length===0)return null;var Ee=re[0],X=re.pop();if(X!==Ee){re[0]=X;e:for(var Re=0,qe=re.length,Qe=qe>>>1;Re<Qe;){var et=2*(Re+1)-1,ut=re[et],dt=et+1,F=re[dt];if(0>o(ut,X))dt<qe&&0>o(F,ut)?(re[Re]=F,re[dt]=X,Re=dt):(re[Re]=ut,re[et]=X,Re=et);else if(dt<qe&&0>o(F,X))re[Re]=F,re[dt]=X,Re=dt;else break e}}return Ee}function o(re,Ee){var X=re.sortIndex-Ee.sortIndex;return X!==0?X:re.id-Ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var l=[],d=[],v=1,p=null,w=3,x=!1,C=!1,E=!1,S=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function H(re){for(var Ee=r(d);Ee!==null;){if(Ee.callback===null)n(d);else if(Ee.startTime<=re)n(d),Ee.sortIndex=Ee.expirationTime,t(l,Ee);else break;Ee=r(d)}}function V(re){if(E=!1,H(re),!C)if(r(l)!==null)C=!0,be(M);else{var Ee=r(d);Ee!==null&&Ae(V,Ee.startTime-re)}}function M(re,Ee){C=!1,E&&(E=!1,I(Z),Z=-1),x=!0;var X=w;try{for(H(Ee),p=r(l);p!==null&&(!(p.expirationTime>Ee)||re&&!ie());){var Re=p.callback;if(typeof Re=="function"){p.callback=null,w=p.priorityLevel;var qe=Re(p.expirationTime<=Ee);Ee=e.unstable_now(),typeof qe=="function"?p.callback=qe:p===r(l)&&n(l),H(Ee)}else n(l);p=r(l)}if(p!==null)var Qe=!0;else{var et=r(d);et!==null&&Ae(V,et.startTime-Ee),Qe=!1}return Qe}finally{p=null,w=X,x=!1}}var G=!1,y=null,Z=-1,ae=5,ce=-1;function ie(){return!(e.unstable_now()-ce<ae)}function de(){if(y!==null){var re=e.unstable_now();ce=re;var Ee=!0;try{Ee=y(!0,re)}finally{Ee?ge():(G=!1,y=null)}}else G=!1}var ge;if(typeof D=="function")ge=function(){D(de)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,ye=me.port2;me.port1.onmessage=de,ge=function(){ye.postMessage(null)}}else ge=function(){S(de,0)};function be(re){y=re,G||(G=!0,ge())}function Ae(re,Ee){Z=S(function(){re(e.unstable_now())},Ee)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(re){re.callback=null},e.unstable_continueExecution=function(){C||x||(C=!0,be(M))},e.unstable_forceFrameRate=function(re){0>re||125<re?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ae=0<re?Math.floor(1e3/re):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(re){switch(w){case 1:case 2:case 3:var Ee=3;break;default:Ee=w}var X=w;w=Ee;try{return re()}finally{w=X}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(re,Ee){switch(re){case 1:case 2:case 3:case 4:case 5:break;default:re=3}var X=w;w=re;try{return Ee()}finally{w=X}},e.unstable_scheduleCallback=function(re,Ee,X){var Re=e.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?Re+X:Re):X=Re,re){case 1:var qe=-1;break;case 2:qe=250;break;case 5:qe=1073741823;break;case 4:qe=1e4;break;default:qe=5e3}return qe=X+qe,re={id:v++,callback:Ee,priorityLevel:re,startTime:X,expirationTime:qe,sortIndex:-1},X>Re?(re.sortIndex=X,t(d,re),r(l)===null&&re===r(d)&&(E?(I(Z),Z=-1):E=!0,Ae(V,X-Re))):(re.sortIndex=qe,t(l,re),C||x||(C=!0,be(M))),re},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(re){var Ee=w;return function(){var X=w;w=Ee;try{return re.apply(this,arguments)}finally{w=X}}}}(_0)),_0}var XA;function i5(){return XA||(XA=1,S0.exports=n5()),S0.exports}/**
|
|
73
|
+
* @license React
|
|
74
|
+
* react-dom.production.min.js
|
|
75
|
+
*
|
|
76
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the MIT license found in the
|
|
79
|
+
* LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/var QA;function o5(){if(QA)return Vi;QA=1;var e=Ku(),t=i5();function r(i){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+i,c=1;c<arguments.length;c++)s+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+i+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,o={};function a(i,s){u(i,s),u(i+"Capture",s)}function u(i,s){for(o[i]=s,i=0;i<s.length;i++)n.add(s[i])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},p={};function w(i){return l.call(p,i)?!0:l.call(v,i)?!1:d.test(i)?p[i]=!0:(v[i]=!0,!1)}function x(i,s,c,g){if(c!==null&&c.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return g?!1:c!==null?!c.acceptsBooleans:(i=i.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-");default:return!1}}function C(i,s,c,g){if(s===null||typeof s>"u"||x(i,s,c,g))return!0;if(g)return!1;if(c!==null)switch(c.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function E(i,s,c,g,b,k,J){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=g,this.attributeNamespace=b,this.mustUseProperty=c,this.propertyName=i,this.type=s,this.sanitizeURL=k,this.removeEmptyString=J}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){S[i]=new E(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var s=i[0];S[s]=new E(s,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){S[i]=new E(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){S[i]=new E(i,2,!1,i,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(i){S[i]=new E(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){S[i]=new E(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){S[i]=new E(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){S[i]=new E(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){S[i]=new E(i,5,!1,i.toLowerCase(),null,!1,!1)});var I=/[\-:]([a-z])/g;function D(i){return i[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(i){var s=i.replace(I,D);S[s]=new E(s,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var s=i.replace(I,D);S[s]=new E(s,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var s=i.replace(I,D);S[s]=new E(s,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){S[i]=new E(i,1,!1,i.toLowerCase(),null,!1,!1)}),S.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){S[i]=new E(i,1,!1,i.toLowerCase(),null,!0,!0)});function H(i,s,c,g){var b=S.hasOwnProperty(s)?S[s]:null;(b!==null?b.type!==0:g||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(C(s,c,b,g)&&(c=null),g||b===null?w(s)&&(c===null?i.removeAttribute(s):i.setAttribute(s,""+c)):b.mustUseProperty?i[b.propertyName]=c===null?b.type===3?!1:"":c:(s=b.attributeName,g=b.attributeNamespace,c===null?i.removeAttribute(s):(b=b.type,c=b===3||b===4&&c===!0?"":""+c,g?i.setAttributeNS(g,s,c):i.setAttribute(s,c))))}var V=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=Symbol.for("react.element"),G=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),ie=Symbol.for("react.context"),de=Symbol.for("react.forward_ref"),ge=Symbol.for("react.suspense"),me=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),Ae=Symbol.for("react.offscreen"),re=Symbol.iterator;function Ee(i){return i===null||typeof i!="object"?null:(i=re&&i[re]||i["@@iterator"],typeof i=="function"?i:null)}var X=Object.assign,Re;function qe(i){if(Re===void 0)try{throw Error()}catch(c){var s=c.stack.trim().match(/\n( *(at )?)/);Re=s&&s[1]||""}return`
|
|
81
|
+
`+Re+i}var Qe=!1;function et(i,s){if(!i||Qe)return"";Qe=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(Ke){var g=Ke}Reflect.construct(i,[],s)}else{try{s.call()}catch(Ke){g=Ke}i.call(s.prototype)}else{try{throw Error()}catch(Ke){g=Ke}i()}}catch(Ke){if(Ke&&g&&typeof Ke.stack=="string"){for(var b=Ke.stack.split(`
|
|
82
|
+
`),k=g.stack.split(`
|
|
83
|
+
`),J=b.length-1,he=k.length-1;1<=J&&0<=he&&b[J]!==k[he];)he--;for(;1<=J&&0<=he;J--,he--)if(b[J]!==k[he]){if(J!==1||he!==1)do if(J--,he--,0>he||b[J]!==k[he]){var Ie=`
|
|
84
|
+
`+b[J].replace(" at new "," at ");return i.displayName&&Ie.includes("<anonymous>")&&(Ie=Ie.replace("<anonymous>",i.displayName)),Ie}while(1<=J&&0<=he);break}}}finally{Qe=!1,Error.prepareStackTrace=c}return(i=i?i.displayName||i.name:"")?qe(i):""}function ut(i){switch(i.tag){case 5:return qe(i.type);case 16:return qe("Lazy");case 13:return qe("Suspense");case 19:return qe("SuspenseList");case 0:case 2:case 15:return i=et(i.type,!1),i;case 11:return i=et(i.type.render,!1),i;case 1:return i=et(i.type,!0),i;default:return""}}function dt(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case y:return"Fragment";case G:return"Portal";case ae:return"Profiler";case Z:return"StrictMode";case ge:return"Suspense";case me:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case ie:return(i.displayName||"Context")+".Consumer";case ce:return(i._context.displayName||"Context")+".Provider";case de:var s=i.render;return i=i.displayName,i||(i=s.displayName||s.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case ye:return s=i.displayName||null,s!==null?s:dt(i.type)||"Memo";case be:s=i._payload,i=i._init;try{return dt(i(s))}catch{}}return null}function F(i){var s=i.type;switch(i.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=s.render,i=i.displayName||i.name||"",s.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return dt(s);case 8:return s===Z?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function T(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function N(i){var s=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function L(i){var s=N(i)?"checked":"value",c=Object.getOwnPropertyDescriptor(i.constructor.prototype,s),g=""+i[s];if(!i.hasOwnProperty(s)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var b=c.get,k=c.set;return Object.defineProperty(i,s,{configurable:!0,get:function(){return b.call(this)},set:function(J){g=""+J,k.call(this,J)}}),Object.defineProperty(i,s,{enumerable:c.enumerable}),{getValue:function(){return g},setValue:function(J){g=""+J},stopTracking:function(){i._valueTracker=null,delete i[s]}}}}function q(i){i._valueTracker||(i._valueTracker=L(i))}function P(i){if(!i)return!1;var s=i._valueTracker;if(!s)return!0;var c=s.getValue(),g="";return i&&(g=N(i)?i.checked?"true":"false":i.value),i=g,i!==c?(s.setValue(i),!0):!1}function j(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}function se(i,s){var c=s.checked;return X({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??i._wrapperState.initialChecked})}function ee(i,s){var c=s.defaultValue==null?"":s.defaultValue,g=s.checked!=null?s.checked:s.defaultChecked;c=T(s.value!=null?s.value:c),i._wrapperState={initialChecked:g,initialValue:c,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function pe(i,s){s=s.checked,s!=null&&H(i,"checked",s,!1)}function ue(i,s){pe(i,s);var c=T(s.value),g=s.type;if(c!=null)g==="number"?(c===0&&i.value===""||i.value!=c)&&(i.value=""+c):i.value!==""+c&&(i.value=""+c);else if(g==="submit"||g==="reset"){i.removeAttribute("value");return}s.hasOwnProperty("value")?Le(i,s.type,c):s.hasOwnProperty("defaultValue")&&Le(i,s.type,T(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(i.defaultChecked=!!s.defaultChecked)}function Oe(i,s,c){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var g=s.type;if(!(g!=="submit"&&g!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+i._wrapperState.initialValue,c||s===i.value||(i.value=s),i.defaultValue=s}c=i.name,c!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,c!==""&&(i.name=c)}function Le(i,s,c){(s!=="number"||j(i.ownerDocument)!==i)&&(c==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+c&&(i.defaultValue=""+c))}var oe=Array.isArray;function Se(i,s,c,g){if(i=i.options,s){s={};for(var b=0;b<c.length;b++)s["$"+c[b]]=!0;for(c=0;c<i.length;c++)b=s.hasOwnProperty("$"+i[c].value),i[c].selected!==b&&(i[c].selected=b),b&&g&&(i[c].defaultSelected=!0)}else{for(c=""+T(c),s=null,b=0;b<i.length;b++){if(i[b].value===c){i[b].selected=!0,g&&(i[b].defaultSelected=!0);return}s!==null||i[b].disabled||(s=i[b])}s!==null&&(s.selected=!0)}}function ve(i,s){if(s.dangerouslySetInnerHTML!=null)throw Error(r(91));return X({},s,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function Te(i,s){var c=s.value;if(c==null){if(c=s.children,s=s.defaultValue,c!=null){if(s!=null)throw Error(r(92));if(oe(c)){if(1<c.length)throw Error(r(93));c=c[0]}s=c}s==null&&(s=""),c=s}i._wrapperState={initialValue:T(c)}}function He(i,s){var c=T(s.value),g=T(s.defaultValue);c!=null&&(c=""+c,c!==i.value&&(i.value=c),s.defaultValue==null&&i.defaultValue!==c&&(i.defaultValue=c)),g!=null&&(i.defaultValue=""+g)}function Ue(i){var s=i.textContent;s===i._wrapperState.initialValue&&s!==""&&s!==null&&(i.value=s)}function at(i){switch(i){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Nt(i,s){return i==null||i==="http://www.w3.org/1999/xhtml"?at(s):i==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var $t,Ut=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,c,g,b){MSApp.execUnsafeLocalFunction(function(){return i(s,c,g,b)})}:i}(function(i,s){if(i.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in i)i.innerHTML=s;else{for($t=$t||document.createElement("div"),$t.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=$t.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;s.firstChild;)i.appendChild(s.firstChild)}});function br(i,s){if(s){var c=i.firstChild;if(c&&c===i.lastChild&&c.nodeType===3){c.nodeValue=s;return}}i.textContent=s}var Pr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ur=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(i){ur.forEach(function(s){s=s+i.charAt(0).toUpperCase()+i.substring(1),Pr[s]=Pr[i]})});function xr(i,s,c){return s==null||typeof s=="boolean"||s===""?"":c||typeof s!="number"||s===0||Pr.hasOwnProperty(i)&&Pr[i]?(""+s).trim():s+"px"}function Rr(i,s){i=i.style;for(var c in s)if(s.hasOwnProperty(c)){var g=c.indexOf("--")===0,b=xr(c,s[c],g);c==="float"&&(c="cssFloat"),g?i.setProperty(c,b):i[c]=b}}var gr=X({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Jt(i,s){if(s){if(gr[i]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(r(137,i));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(r(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(r(61))}if(s.style!=null&&typeof s.style!="object")throw Error(r(62))}}function Et(i,s){if(i.indexOf("-")===-1)return typeof s.is=="string";switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var je=null;function mt(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Rt=null,Vt=null,kt=null;function wr(i){if(i=Lc(i)){if(typeof Rt!="function")throw Error(r(280));var s=i.stateNode;s&&(s=Ed(s),Rt(i.stateNode,i.type,s))}}function Ur(i){Vt?kt?kt.push(i):kt=[i]:Vt=i}function dr(){if(Vt){var i=Vt,s=kt;if(kt=Vt=null,wr(i),s)for(i=0;i<s.length;i++)wr(s[i])}}function Cr(i,s){return i(s)}function kr(){}var bn=!1;function Pn(i,s,c){if(bn)return i(s,c);bn=!0;try{return Cr(i,s,c)}finally{bn=!1,(Vt!==null||kt!==null)&&(kr(),dr())}}function an(i,s){var c=i.stateNode;if(c===null)return null;var g=Ed(c);if(g===null)return null;c=g[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(i=i.type,g=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!g;break e;default:i=!1}if(i)return null;if(c&&typeof c!="function")throw Error(r(231,s,typeof c));return c}var en=!1;if(f)try{var un={};Object.defineProperty(un,"passive",{get:function(){en=!0}}),window.addEventListener("test",un,un),window.removeEventListener("test",un,un)}catch{en=!1}function Ii(i,s,c,g,b,k,J,he,Ie){var Ke=Array.prototype.slice.call(arguments,3);try{s.apply(c,Ke)}catch(ft){this.onError(ft)}}var kn=!1,qi=null,Gi=!1,mi=null,ho={onError:function(i){kn=!0,qi=i}};function Yi(i,s,c,g,b,k,J,he,Ie){kn=!1,qi=null,Ii.apply(ho,arguments)}function po(i,s,c,g,b,k,J,he,Ie){if(Yi.apply(this,arguments),kn){if(kn){var Ke=qi;kn=!1,qi=null}else throw Error(r(198));Gi||(Gi=!0,mi=Ke)}}function Kn(i){var s=i,c=i;if(i.alternate)for(;s.return;)s=s.return;else{i=s;do s=i,(s.flags&4098)!==0&&(c=s.return),i=s.return;while(i)}return s.tag===3?c:null}function yi(i){if(i.tag===13){var s=i.memoizedState;if(s===null&&(i=i.alternate,i!==null&&(s=i.memoizedState)),s!==null)return s.dehydrated}return null}function ri(i){if(Kn(i)!==i)throw Error(r(188))}function Ki(i){var s=i.alternate;if(!s){if(s=Kn(i),s===null)throw Error(r(188));return s!==i?null:i}for(var c=i,g=s;;){var b=c.return;if(b===null)break;var k=b.alternate;if(k===null){if(g=b.return,g!==null){c=g;continue}break}if(b.child===k.child){for(k=b.child;k;){if(k===c)return ri(b),i;if(k===g)return ri(b),s;k=k.sibling}throw Error(r(188))}if(c.return!==g.return)c=b,g=k;else{for(var J=!1,he=b.child;he;){if(he===c){J=!0,c=b,g=k;break}if(he===g){J=!0,g=b,c=k;break}he=he.sibling}if(!J){for(he=k.child;he;){if(he===c){J=!0,c=k,g=b;break}if(he===g){J=!0,g=k,c=b;break}he=he.sibling}if(!J)throw Error(r(189))}}if(c.alternate!==g)throw Error(r(190))}if(c.tag!==3)throw Error(r(188));return c.stateNode.current===c?i:s}function ni(i){return i=Ki(i),i!==null?tn(i):null}function tn(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var s=tn(i);if(s!==null)return s;i=i.sibling}return null}var Xn=t.unstable_scheduleCallback,Xi=t.unstable_cancelCallback,fe=t.unstable_shouldYield,Ze=t.unstable_requestPaint,Ge=t.unstable_now,rt=t.unstable_getCurrentPriorityLevel,ct=t.unstable_ImmediatePriority,Ht=t.unstable_UserBlockingPriority,Tt=t.unstable_NormalPriority,vr=t.unstable_LowPriority,Or=t.unstable_IdlePriority,Lr=null,$r=null;function lt(i){if($r&&typeof $r.onCommitFiberRoot=="function")try{$r.onCommitFiberRoot(Lr,i,void 0,(i.current.flags&128)===128)}catch{}}var lr=Math.clz32?Math.clz32:ii,jn=Math.log,ln=Math.LN2;function ii(i){return i>>>=0,i===0?32:31-(jn(i)/ln|0)|0}var Wn=64,wi=4194304;function Qi(i){switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function Pi(i,s){var c=i.pendingLanes;if(c===0)return 0;var g=0,b=i.suspendedLanes,k=i.pingedLanes,J=c&268435455;if(J!==0){var he=J&~b;he!==0?g=Qi(he):(k&=J,k!==0&&(g=Qi(k)))}else J=c&~b,J!==0?g=Qi(J):k!==0&&(g=Qi(k));if(g===0)return 0;if(s!==0&&s!==g&&(s&b)===0&&(b=g&-g,k=s&-s,b>=k||b===16&&(k&4194240)!==0))return s;if((g&4)!==0&&(g|=c&16),s=i.entangledLanes,s!==0)for(i=i.entanglements,s&=g;0<s;)c=31-lr(s),b=1<<c,g|=i[c],s&=~b;return g}function A(i,s){switch(i){case 1:case 2:case 4:return s+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function z(i,s){for(var c=i.suspendedLanes,g=i.pingedLanes,b=i.expirationTimes,k=i.pendingLanes;0<k;){var J=31-lr(k),he=1<<J,Ie=b[J];Ie===-1?((he&c)===0||(he&g)!==0)&&(b[J]=A(he,s)):Ie<=s&&(i.expiredLanes|=he),k&=~he}}function te(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function Ce(){var i=Wn;return Wn<<=1,(Wn&4194240)===0&&(Wn=64),i}function Ye(i){for(var s=[],c=0;31>c;c++)s.push(i);return s}function Fe(i,s,c){i.pendingLanes|=s,s!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,s=31-lr(s),i[s]=c}function st(i,s){var c=i.pendingLanes&~s;i.pendingLanes=s,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=s,i.mutableReadLanes&=s,i.entangledLanes&=s,s=i.entanglements;var g=i.eventTimes;for(i=i.expirationTimes;0<c;){var b=31-lr(c),k=1<<b;s[b]=0,g[b]=-1,i[b]=-1,c&=~k}}function yt(i,s){var c=i.entangledLanes|=s;for(i=i.entanglements;c;){var g=31-lr(c),b=1<<g;b&s|i[g]&s&&(i[g]|=s),c&=~b}}var St=0;function cr(i){return i&=-i,1<i?4<i?(i&268435455)!==0?16:536870912:4:1}var ir,Xr,xn,Ln,Qo,ia=!1,Jo=[],Ji=null,Cn=null,ki=null,Zi=new Map,Ir=new Map,oi=[],Zo="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function es(i,s){switch(i){case"focusin":case"focusout":Ji=null;break;case"dragenter":case"dragleave":Cn=null;break;case"mouseover":case"mouseout":ki=null;break;case"pointerover":case"pointerout":Zi.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ir.delete(s.pointerId)}}function si(i,s,c,g,b,k){return i===null||i.nativeEvent!==k?(i={blockedOn:s,domEventName:c,eventSystemFlags:g,nativeEvent:k,targetContainers:[b]},s!==null&&(s=Lc(s),s!==null&&Xr(s)),i):(i.eventSystemFlags|=g,s=i.targetContainers,b!==null&&s.indexOf(b)===-1&&s.push(b),i)}function oa(i,s,c,g,b){switch(s){case"focusin":return Ji=si(Ji,i,s,c,g,b),!0;case"dragenter":return Cn=si(Cn,i,s,c,g,b),!0;case"mouseover":return ki=si(ki,i,s,c,g,b),!0;case"pointerover":var k=b.pointerId;return Zi.set(k,si(Zi.get(k)||null,i,s,c,g,b)),!0;case"gotpointercapture":return k=b.pointerId,Ir.set(k,si(Ir.get(k)||null,i,s,c,g,b)),!0}return!1}function go(i){var s=Za(i.target);if(s!==null){var c=Kn(s);if(c!==null){if(s=c.tag,s===13){if(s=yi(c),s!==null){i.blockedOn=s,Qo(i.priority,function(){xn(c)});return}}else if(s===3&&c.stateNode.current.memoizedState.isDehydrated){i.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}i.blockedOn=null}function bs(i){if(i.blockedOn!==null)return!1;for(var s=i.targetContainers;0<s.length;){var c=Cs(i.domEventName,i.eventSystemFlags,s[0],i.nativeEvent);if(c===null){c=i.nativeEvent;var g=new c.constructor(c.type,c);je=g,c.target.dispatchEvent(g),je=null}else return s=Lc(c),s!==null&&Xr(s),i.blockedOn=c,!1;s.shift()}return!0}function sa(i,s,c){bs(i)&&c.delete(s)}function Ka(){ia=!1,Ji!==null&&bs(Ji)&&(Ji=null),Cn!==null&&bs(Cn)&&(Cn=null),ki!==null&&bs(ki)&&(ki=null),Zi.forEach(sa),Ir.forEach(sa)}function Do(i,s){i.blockedOn===s&&(i.blockedOn=null,ia||(ia=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ka)))}function vo(i){function s(b){return Do(b,i)}if(0<Jo.length){Do(Jo[0],i);for(var c=1;c<Jo.length;c++){var g=Jo[c];g.blockedOn===i&&(g.blockedOn=null)}}for(Ji!==null&&Do(Ji,i),Cn!==null&&Do(Cn,i),ki!==null&&Do(ki,i),Zi.forEach(s),Ir.forEach(s),c=0;c<oi.length;c++)g=oi[c],g.blockedOn===i&&(g.blockedOn=null);for(;0<oi.length&&(c=oi[0],c.blockedOn===null);)go(c),c.blockedOn===null&&oi.shift()}var mo=V.ReactCurrentBatchConfig,ts=!0;function rl(i,s,c,g){var b=St,k=mo.transition;mo.transition=null;try{St=1,rs(i,s,c,g)}finally{St=b,mo.transition=k}}function xs(i,s,c,g){var b=St,k=mo.transition;mo.transition=null;try{St=4,rs(i,s,c,g)}finally{St=b,mo.transition=k}}function rs(i,s,c,g){if(ts){var b=Cs(i,s,c,g);if(b===null)Lg(i,s,g,No,c),es(i,g);else if(oa(b,i,s,c,g))g.stopPropagation();else if(es(i,g),s&4&&-1<Zo.indexOf(i)){for(;b!==null;){var k=Lc(b);if(k!==null&&ir(k),k=Cs(i,s,c,g),k===null&&Lg(i,s,g,No,c),k===b)break;b=k}b!==null&&g.stopPropagation()}else Lg(i,s,g,null,c)}}var No=null;function Cs(i,s,c,g){if(No=null,i=mt(g),i=Za(i),i!==null)if(s=Kn(i),s===null)i=null;else if(c=s.tag,c===13){if(i=yi(s),i!==null)return i;i=null}else if(c===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;i=null}else s!==i&&(i=null);return No=i,null}function nl(i){switch(i){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(rt()){case ct:return 1;case Ht:return 4;case Tt:case vr:return 16;case Or:return 536870912;default:return 16}default:return 16}}var Dn=null,aa=null,yo=null;function Ts(){if(yo)return yo;var i,s=aa,c=s.length,g,b="value"in Dn?Dn.value:Dn.textContent,k=b.length;for(i=0;i<c&&s[i]===b[i];i++);var J=c-i;for(g=1;g<=J&&s[c-g]===b[k-g];g++);return yo=b.slice(i,1<g?1-g:void 0)}function wo(i){var s=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&s===13&&(i=13)):i=s,i===10&&(i=13),32<=i||i===13?i:0}function Mo(){return!0}function h(){return!1}function m(i){function s(c,g,b,k,J){this._reactName=c,this._targetInst=b,this.type=g,this.nativeEvent=k,this.target=J,this.currentTarget=null;for(var he in i)i.hasOwnProperty(he)&&(c=i[he],this[he]=c?c(k):k[he]);return this.isDefaultPrevented=(k.defaultPrevented!=null?k.defaultPrevented:k.returnValue===!1)?Mo:h,this.isPropagationStopped=h,this}return X(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=Mo)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=Mo)},persist:function(){},isPersistent:Mo}),s}var _={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},O=m(_),U=X({},_,{view:0,detail:0}),W=m(U),Y,xe,we,ke=X({},U,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:it,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==we&&(we&&i.type==="mousemove"?(Y=i.screenX-we.screenX,xe=i.screenY-we.screenY):xe=Y=0,we=i),Y)},movementY:function(i){return"movementY"in i?i.movementY:xe}}),Je=m(ke),tt=X({},ke,{dataTransfer:0}),Be=m(tt),pt=X({},U,{relatedTarget:0}),Wt=m(pt),Er=X({},_,{animationName:0,elapsedTime:0,pseudoElement:0}),or=m(Er),gn=X({},_,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),hn=m(gn),R=X({},_,{data:0}),B=m(R),K={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_e={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ne={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Me(i){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(i):(i=Ne[i])?!!s[i]:!1}function it(){return Me}var vt=X({},U,{key:function(i){if(i.key){var s=K[i.key]||i.key;if(s!=="Unidentified")return s}return i.type==="keypress"?(i=wo(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?_e[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:it,charCode:function(i){return i.type==="keypress"?wo(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?wo(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),Ft=m(vt),nr=X({},ke,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qt=m(nr),Gr=X({},U,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:it}),vn=m(Gr),rn=X({},_,{propertyName:0,elapsedTime:0,pseudoElement:0}),_c=m(rn),$o=X({},ke,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),Fo=m($o),Rg=[9,13,27,32],bc=f&&"CompositionEvent"in window,Xa=null;f&&"documentMode"in document&&(Xa=document.documentMode);var Vr=f&&"TextEvent"in window&&!Xa,Qa=f&&(!bc||Xa&&8<Xa&&11>=Xa),Li=" ",As=!1;function hd(i,s){switch(i){case"keyup":return Rg.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pd(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Rs=!1;function Os(i,s){switch(i){case"compositionend":return pd(s);case"keypress":return s.which!==32?null:(As=!0,Li);case"textInput":return i=s.data,i===Li&&As?null:i;default:return null}}function xc(i,s){if(Rs)return i==="compositionend"||!bc&&hd(i,s)?(i=Ts(),yo=aa=Dn=null,Rs=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Qa&&s.locale!=="ko"?null:s.data;default:return null}}var ns={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Cc(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s==="input"?!!ns[i.type]:s==="textarea"}function ua(i,s,c,g){Ur(g),s=md(s,"onChange"),0<s.length&&(c=new O("onChange","change",null,c,g),i.push({event:c,listeners:s}))}var is=null,os=null;function Tc(i){q_(i,0)}function il(i){var s=fl(i);if(P(s))return i}function ol(i,s){if(i==="change")return s}var sl=!1;if(f){var Ja;if(f){var Ac="oninput"in document;if(!Ac){var al=document.createElement("div");al.setAttribute("oninput","return;"),Ac=typeof al.oninput=="function"}Ja=Ac}else Ja=!1;sl=Ja&&(!document.documentMode||9<document.documentMode)}function Rc(){is&&(is.detachEvent("onpropertychange",le),os=is=null)}function le(i){if(i.propertyName==="value"&&il(os)){var s=[];ua(s,os,i,mt(i)),Pn(Tc,s)}}function Pe(i,s,c){i==="focusin"?(Rc(),is=s,os=c,is.attachEvent("onpropertychange",le)):i==="focusout"&&Rc()}function ze(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return il(os)}function Xe(i,s){if(i==="click")return il(s)}function nt(i,s){if(i==="input"||i==="change")return il(s)}function _t(i,s){return i===s&&(i!==0||1/i===1/s)||i!==i&&s!==s}var bt=typeof Object.is=="function"?Object.is:_t;function It(i,s){if(bt(i,s))return!0;if(typeof i!="object"||i===null||typeof s!="object"||s===null)return!1;var c=Object.keys(i),g=Object.keys(s);if(c.length!==g.length)return!1;for(g=0;g<c.length;g++){var b=c[g];if(!l.call(s,b)||!bt(i[b],s[b]))return!1}return!0}function At(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function mr(i,s){var c=At(i);i=0;for(var g;c;){if(c.nodeType===3){if(g=i+c.textContent.length,i<=s&&g>=s)return{node:c,offset:s-i};i=g}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=At(c)}}function Xt(i,s){return i&&s?i===s?!0:i&&i.nodeType===3?!1:s&&s.nodeType===3?Xt(i,s.parentNode):"contains"in i?i.contains(s):i.compareDocumentPosition?!!(i.compareDocumentPosition(s)&16):!1:!1}function tr(){for(var i=window,s=j();s instanceof i.HTMLIFrameElement;){try{var c=typeof s.contentWindow.location.href=="string"}catch{c=!1}if(c)i=s.contentWindow;else break;s=j(i.document)}return s}function hr(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s&&(s==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||s==="textarea"||i.contentEditable==="true")}function Bt(i){var s=tr(),c=i.focusedElem,g=i.selectionRange;if(s!==c&&c&&c.ownerDocument&&Xt(c.ownerDocument.documentElement,c)){if(g!==null&&hr(c)){if(s=g.start,i=g.end,i===void 0&&(i=s),"selectionStart"in c)c.selectionStart=s,c.selectionEnd=Math.min(i,c.value.length);else if(i=(s=c.ownerDocument||document)&&s.defaultView||window,i.getSelection){i=i.getSelection();var b=c.textContent.length,k=Math.min(g.start,b);g=g.end===void 0?k:Math.min(g.end,b),!i.extend&&k>g&&(b=g,g=k,k=b),b=mr(c,k);var J=mr(c,g);b&&J&&(i.rangeCount!==1||i.anchorNode!==b.node||i.anchorOffset!==b.offset||i.focusNode!==J.node||i.focusOffset!==J.offset)&&(s=s.createRange(),s.setStart(b.node,b.offset),i.removeAllRanges(),k>g?(i.addRange(s),i.extend(J.node,J.offset)):(s.setEnd(J.node,J.offset),i.addRange(s)))}}for(s=[],i=c;i=i.parentNode;)i.nodeType===1&&s.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<s.length;c++)i=s[c],i.element.scrollLeft=i.left,i.element.scrollTop=i.top}}var Qr=f&&"documentMode"in document&&11>=document.documentMode,Tn=null,Nn=null,qn=null,Di=!1;function Is(i,s,c){var g=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Di||Tn==null||Tn!==j(g)||(g=Tn,"selectionStart"in g&&hr(g)?g={start:g.selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),qn&&It(qn,g)||(qn=g,g=md(Nn,"onSelect"),0<g.length&&(s=new O("onSelect","select",null,s,c),i.push({event:s,listeners:g}),s.target=Tn)))}function Mn(i,s){var c={};return c[i.toLowerCase()]=s.toLowerCase(),c["Webkit"+i]="webkit"+s,c["Moz"+i]="moz"+s,c}var ul={animationend:Mn("Animation","AnimationEnd"),animationiteration:Mn("Animation","AnimationIteration"),animationstart:Mn("Animation","AnimationStart"),transitionend:Mn("Transition","TransitionEnd")},Og={},F_={};f&&(F_=document.createElement("div").style,"AnimationEvent"in window||(delete ul.animationend.animation,delete ul.animationiteration.animation,delete ul.animationstart.animation),"TransitionEvent"in window||delete ul.transitionend.transition);function gd(i){if(Og[i])return Og[i];if(!ul[i])return i;var s=ul[i],c;for(c in s)if(s.hasOwnProperty(c)&&c in F_)return Og[i]=s[c];return i}var j_=gd("animationend"),U_=gd("animationiteration"),V_=gd("animationstart"),H_=gd("transitionend"),B_=new Map,z_="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function la(i,s){B_.set(i,s),a(s,[i])}for(var Ig=0;Ig<z_.length;Ig++){var Pg=z_[Ig],U$=Pg.toLowerCase(),V$=Pg[0].toUpperCase()+Pg.slice(1);la(U$,"on"+V$)}la(j_,"onAnimationEnd"),la(U_,"onAnimationIteration"),la(V_,"onAnimationStart"),la("dblclick","onDoubleClick"),la("focusin","onFocus"),la("focusout","onBlur"),la(H_,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Oc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),H$=new Set("cancel close invalid load scroll toggle".split(" ").concat(Oc));function W_(i,s,c){var g=i.type||"unknown-event";i.currentTarget=c,po(g,s,void 0,i),i.currentTarget=null}function q_(i,s){s=(s&4)!==0;for(var c=0;c<i.length;c++){var g=i[c],b=g.event;g=g.listeners;e:{var k=void 0;if(s)for(var J=g.length-1;0<=J;J--){var he=g[J],Ie=he.instance,Ke=he.currentTarget;if(he=he.listener,Ie!==k&&b.isPropagationStopped())break e;W_(b,he,Ke),k=Ie}else for(J=0;J<g.length;J++){if(he=g[J],Ie=he.instance,Ke=he.currentTarget,he=he.listener,Ie!==k&&b.isPropagationStopped())break e;W_(b,he,Ke),k=Ie}}}if(Gi)throw i=mi,Gi=!1,mi=null,i}function cn(i,s){var c=s[jg];c===void 0&&(c=s[jg]=new Set);var g=i+"__bubble";c.has(g)||(G_(s,i,2,!1),c.add(g))}function kg(i,s,c){var g=0;s&&(g|=4),G_(c,i,g,s)}var vd="_reactListening"+Math.random().toString(36).slice(2);function Ic(i){if(!i[vd]){i[vd]=!0,n.forEach(function(c){c!=="selectionchange"&&(H$.has(c)||kg(c,!1,i),kg(c,!0,i))});var s=i.nodeType===9?i:i.ownerDocument;s===null||s[vd]||(s[vd]=!0,kg("selectionchange",!1,s))}}function G_(i,s,c,g){switch(nl(s)){case 1:var b=rl;break;case 4:b=xs;break;default:b=rs}c=b.bind(null,s,c,i),b=void 0,!en||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(b=!0),g?b!==void 0?i.addEventListener(s,c,{capture:!0,passive:b}):i.addEventListener(s,c,!0):b!==void 0?i.addEventListener(s,c,{passive:b}):i.addEventListener(s,c,!1)}function Lg(i,s,c,g,b){var k=g;if((s&1)===0&&(s&2)===0&&g!==null)e:for(;;){if(g===null)return;var J=g.tag;if(J===3||J===4){var he=g.stateNode.containerInfo;if(he===b||he.nodeType===8&&he.parentNode===b)break;if(J===4)for(J=g.return;J!==null;){var Ie=J.tag;if((Ie===3||Ie===4)&&(Ie=J.stateNode.containerInfo,Ie===b||Ie.nodeType===8&&Ie.parentNode===b))return;J=J.return}for(;he!==null;){if(J=Za(he),J===null)return;if(Ie=J.tag,Ie===5||Ie===6){g=k=J;continue e}he=he.parentNode}}g=g.return}Pn(function(){var Ke=k,ft=mt(c),Ct=[];e:{var ot=B_.get(i);if(ot!==void 0){var Ot=O,xt=i;switch(i){case"keypress":if(wo(c)===0)break e;case"keydown":case"keyup":Ot=Ft;break;case"focusin":xt="focus",Ot=Wt;break;case"focusout":xt="blur",Ot=Wt;break;case"beforeblur":case"afterblur":Ot=Wt;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ot=Je;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ot=Be;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ot=vn;break;case j_:case U_:case V_:Ot=or;break;case H_:Ot=_c;break;case"scroll":Ot=W;break;case"wheel":Ot=Fo;break;case"copy":case"cut":case"paste":Ot=hn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ot=qt}var ar=(s&4)!==0,An=!ar&&i==="scroll",Ve=ar?ot!==null?ot+"Capture":null:ot;ar=[];for(var De=Ke,We;De!==null;){We=De;var wt=We.stateNode;if(We.tag===5&&wt!==null&&(We=wt,Ve!==null&&(wt=an(De,Ve),wt!=null&&ar.push(Pc(De,wt,We)))),An)break;De=De.return}0<ar.length&&(ot=new Ot(ot,xt,null,c,ft),Ct.push({event:ot,listeners:ar}))}}if((s&7)===0){e:{if(ot=i==="mouseover"||i==="pointerover",Ot=i==="mouseout"||i==="pointerout",ot&&c!==je&&(xt=c.relatedTarget||c.fromElement)&&(Za(xt)||xt[ks]))break e;if((Ot||ot)&&(ot=ft.window===ft?ft:(ot=ft.ownerDocument)?ot.defaultView||ot.parentWindow:window,Ot?(xt=c.relatedTarget||c.toElement,Ot=Ke,xt=xt?Za(xt):null,xt!==null&&(An=Kn(xt),xt!==An||xt.tag!==5&&xt.tag!==6)&&(xt=null)):(Ot=null,xt=Ke),Ot!==xt)){if(ar=Je,wt="onMouseLeave",Ve="onMouseEnter",De="mouse",(i==="pointerout"||i==="pointerover")&&(ar=qt,wt="onPointerLeave",Ve="onPointerEnter",De="pointer"),An=Ot==null?ot:fl(Ot),We=xt==null?ot:fl(xt),ot=new ar(wt,De+"leave",Ot,c,ft),ot.target=An,ot.relatedTarget=We,wt=null,Za(ft)===Ke&&(ar=new ar(Ve,De+"enter",xt,c,ft),ar.target=We,ar.relatedTarget=An,wt=ar),An=wt,Ot&&xt)t:{for(ar=Ot,Ve=xt,De=0,We=ar;We;We=ll(We))De++;for(We=0,wt=Ve;wt;wt=ll(wt))We++;for(;0<De-We;)ar=ll(ar),De--;for(;0<We-De;)Ve=ll(Ve),We--;for(;De--;){if(ar===Ve||Ve!==null&&ar===Ve.alternate)break t;ar=ll(ar),Ve=ll(Ve)}ar=null}else ar=null;Ot!==null&&Y_(Ct,ot,Ot,ar,!1),xt!==null&&An!==null&&Y_(Ct,An,xt,ar,!0)}}e:{if(ot=Ke?fl(Ke):window,Ot=ot.nodeName&&ot.nodeName.toLowerCase(),Ot==="select"||Ot==="input"&&ot.type==="file")var Dt=ol;else if(Cc(ot))if(sl)Dt=nt;else{Dt=ze;var Yt=Pe}else(Ot=ot.nodeName)&&Ot.toLowerCase()==="input"&&(ot.type==="checkbox"||ot.type==="radio")&&(Dt=Xe);if(Dt&&(Dt=Dt(i,Ke))){ua(Ct,Dt,c,ft);break e}Yt&&Yt(i,ot,Ke),i==="focusout"&&(Yt=ot._wrapperState)&&Yt.controlled&&ot.type==="number"&&Le(ot,"number",ot.value)}switch(Yt=Ke?fl(Ke):window,i){case"focusin":(Cc(Yt)||Yt.contentEditable==="true")&&(Tn=Yt,Nn=Ke,qn=null);break;case"focusout":qn=Nn=Tn=null;break;case"mousedown":Di=!0;break;case"contextmenu":case"mouseup":case"dragend":Di=!1,Is(Ct,c,ft);break;case"selectionchange":if(Qr)break;case"keydown":case"keyup":Is(Ct,c,ft)}var Kt;if(bc)e:{switch(i){case"compositionstart":var rr="onCompositionStart";break e;case"compositionend":rr="onCompositionEnd";break e;case"compositionupdate":rr="onCompositionUpdate";break e}rr=void 0}else Rs?hd(i,c)&&(rr="onCompositionEnd"):i==="keydown"&&c.keyCode===229&&(rr="onCompositionStart");rr&&(Qa&&c.locale!=="ko"&&(Rs||rr!=="onCompositionStart"?rr==="onCompositionEnd"&&Rs&&(Kt=Ts()):(Dn=ft,aa="value"in Dn?Dn.value:Dn.textContent,Rs=!0)),Yt=md(Ke,rr),0<Yt.length&&(rr=new B(rr,i,null,c,ft),Ct.push({event:rr,listeners:Yt}),Kt?rr.data=Kt:(Kt=pd(c),Kt!==null&&(rr.data=Kt)))),(Kt=Vr?Os(i,c):xc(i,c))&&(Ke=md(Ke,"onBeforeInput"),0<Ke.length&&(ft=new B("onBeforeInput","beforeinput",null,c,ft),Ct.push({event:ft,listeners:Ke}),ft.data=Kt))}q_(Ct,s)})}function Pc(i,s,c){return{instance:i,listener:s,currentTarget:c}}function md(i,s){for(var c=s+"Capture",g=[];i!==null;){var b=i,k=b.stateNode;b.tag===5&&k!==null&&(b=k,k=an(i,c),k!=null&&g.unshift(Pc(i,k,b)),k=an(i,s),k!=null&&g.push(Pc(i,k,b))),i=i.return}return g}function ll(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function Y_(i,s,c,g,b){for(var k=s._reactName,J=[];c!==null&&c!==g;){var he=c,Ie=he.alternate,Ke=he.stateNode;if(Ie!==null&&Ie===g)break;he.tag===5&&Ke!==null&&(he=Ke,b?(Ie=an(c,k),Ie!=null&&J.unshift(Pc(c,Ie,he))):b||(Ie=an(c,k),Ie!=null&&J.push(Pc(c,Ie,he)))),c=c.return}J.length!==0&&i.push({event:s,listeners:J})}var B$=/\r\n?/g,z$=/\u0000|\uFFFD/g;function K_(i){return(typeof i=="string"?i:""+i).replace(B$,`
|
|
85
|
+
`).replace(z$,"")}function yd(i,s,c){if(s=K_(s),K_(i)!==s&&c)throw Error(r(425))}function wd(){}var Dg=null,Ng=null;function Mg(i,s){return i==="textarea"||i==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var $g=typeof setTimeout=="function"?setTimeout:void 0,W$=typeof clearTimeout=="function"?clearTimeout:void 0,X_=typeof Promise=="function"?Promise:void 0,q$=typeof queueMicrotask=="function"?queueMicrotask:typeof X_<"u"?function(i){return X_.resolve(null).then(i).catch(G$)}:$g;function G$(i){setTimeout(function(){throw i})}function Fg(i,s){var c=s,g=0;do{var b=c.nextSibling;if(i.removeChild(c),b&&b.nodeType===8)if(c=b.data,c==="/$"){if(g===0){i.removeChild(b),vo(s);return}g--}else c!=="$"&&c!=="$?"&&c!=="$!"||g++;c=b}while(c);vo(s)}function Ps(i){for(;i!=null;i=i.nextSibling){var s=i.nodeType;if(s===1||s===3)break;if(s===8){if(s=i.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return i}function Q_(i){i=i.previousSibling;for(var s=0;i;){if(i.nodeType===8){var c=i.data;if(c==="$"||c==="$!"||c==="$?"){if(s===0)return i;s--}else c==="/$"&&s++}i=i.previousSibling}return null}var cl=Math.random().toString(36).slice(2),ss="__reactFiber$"+cl,kc="__reactProps$"+cl,ks="__reactContainer$"+cl,jg="__reactEvents$"+cl,Y$="__reactListeners$"+cl,K$="__reactHandles$"+cl;function Za(i){var s=i[ss];if(s)return s;for(var c=i.parentNode;c;){if(s=c[ks]||c[ss]){if(c=s.alternate,s.child!==null||c!==null&&c.child!==null)for(i=Q_(i);i!==null;){if(c=i[ss])return c;i=Q_(i)}return s}i=c,c=i.parentNode}return null}function Lc(i){return i=i[ss]||i[ks],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function fl(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(r(33))}function Ed(i){return i[kc]||null}var Ug=[],dl=-1;function ca(i){return{current:i}}function fn(i){0>dl||(i.current=Ug[dl],Ug[dl]=null,dl--)}function on(i,s){dl++,Ug[dl]=i.current,i.current=s}var fa={},ai=ca(fa),Ni=ca(!1),eu=fa;function hl(i,s){var c=i.type.contextTypes;if(!c)return fa;var g=i.stateNode;if(g&&g.__reactInternalMemoizedUnmaskedChildContext===s)return g.__reactInternalMemoizedMaskedChildContext;var b={},k;for(k in c)b[k]=s[k];return g&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=s,i.__reactInternalMemoizedMaskedChildContext=b),b}function Mi(i){return i=i.childContextTypes,i!=null}function Sd(){fn(Ni),fn(ai)}function J_(i,s,c){if(ai.current!==fa)throw Error(r(168));on(ai,s),on(Ni,c)}function Z_(i,s,c){var g=i.stateNode;if(s=s.childContextTypes,typeof g.getChildContext!="function")return c;g=g.getChildContext();for(var b in g)if(!(b in s))throw Error(r(108,F(i)||"Unknown",b));return X({},c,g)}function _d(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||fa,eu=ai.current,on(ai,i),on(Ni,Ni.current),!0}function eb(i,s,c){var g=i.stateNode;if(!g)throw Error(r(169));c?(i=Z_(i,s,eu),g.__reactInternalMemoizedMergedChildContext=i,fn(Ni),fn(ai),on(ai,i)):fn(Ni),on(Ni,c)}var Ls=null,bd=!1,Vg=!1;function tb(i){Ls===null?Ls=[i]:Ls.push(i)}function X$(i){bd=!0,tb(i)}function da(){if(!Vg&&Ls!==null){Vg=!0;var i=0,s=St;try{var c=Ls;for(St=1;i<c.length;i++){var g=c[i];do g=g(!0);while(g!==null)}Ls=null,bd=!1}catch(b){throw Ls!==null&&(Ls=Ls.slice(i+1)),Xn(ct,da),b}finally{St=s,Vg=!1}}return null}var Q$=V.ReactCurrentBatchConfig;function jo(i,s){if(i&&i.defaultProps){s=X({},s),i=i.defaultProps;for(var c in i)s[c]===void 0&&(s[c]=i[c]);return s}return s}var xd=ca(null),Cd=null,pl=null,Hg=null;function Bg(){Hg=pl=Cd=null}function zg(i){var s=xd.current;fn(xd),i._currentValue=s}function Wg(i,s,c){for(;i!==null;){var g=i.alternate;if((i.childLanes&s)!==s?(i.childLanes|=s,g!==null&&(g.childLanes|=s)):g!==null&&(g.childLanes&s)!==s&&(g.childLanes|=s),i===c)break;i=i.return}}function gl(i,s){Cd=i,Hg=pl=null,i=i.dependencies,i!==null&&i.firstContext!==null&&((i.lanes&s)!==0&&(Fi=!0),i.firstContext=null)}function Eo(i){var s=i._currentValue;if(Hg!==i)if(i={context:i,memoizedValue:s,next:null},pl===null){if(Cd===null)throw Error(r(308));pl=i,Cd.dependencies={lanes:0,firstContext:i}}else pl=pl.next=i;return s}var Uo=null,ha=!1;function qg(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function rb(i,s){i=i.updateQueue,s.updateQueue===i&&(s.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function Ds(i,s){return{eventTime:i,lane:s,tag:0,payload:null,callback:null,next:null}}function pa(i,s){var c=i.updateQueue;c!==null&&(c=c.shared,mx(i)?(i=c.interleaved,i===null?(s.next=s,Uo===null?Uo=[c]:Uo.push(c)):(s.next=i.next,i.next=s),c.interleaved=s):(i=c.pending,i===null?s.next=s:(s.next=i.next,i.next=s),c.pending=s))}function Td(i,s,c){if(s=s.updateQueue,s!==null&&(s=s.shared,(c&4194240)!==0)){var g=s.lanes;g&=i.pendingLanes,c|=g,s.lanes=c,yt(i,c)}}function nb(i,s){var c=i.updateQueue,g=i.alternate;if(g!==null&&(g=g.updateQueue,c===g)){var b=null,k=null;if(c=c.firstBaseUpdate,c!==null){do{var J={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};k===null?b=k=J:k=k.next=J,c=c.next}while(c!==null);k===null?b=k=s:k=k.next=s}else b=k=s;c={baseState:g.baseState,firstBaseUpdate:b,lastBaseUpdate:k,shared:g.shared,effects:g.effects},i.updateQueue=c;return}i=c.lastBaseUpdate,i===null?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=s}function Ad(i,s,c,g){var b=i.updateQueue;ha=!1;var k=b.firstBaseUpdate,J=b.lastBaseUpdate,he=b.shared.pending;if(he!==null){b.shared.pending=null;var Ie=he,Ke=Ie.next;Ie.next=null,J===null?k=Ke:J.next=Ke,J=Ie;var ft=i.alternate;ft!==null&&(ft=ft.updateQueue,he=ft.lastBaseUpdate,he!==J&&(he===null?ft.firstBaseUpdate=Ke:he.next=Ke,ft.lastBaseUpdate=Ie))}if(k!==null){var Ct=b.baseState;J=0,ft=Ke=Ie=null,he=k;do{var ot=he.lane,Ot=he.eventTime;if((g&ot)===ot){ft!==null&&(ft=ft.next={eventTime:Ot,lane:0,tag:he.tag,payload:he.payload,callback:he.callback,next:null});e:{var xt=i,ar=he;switch(ot=s,Ot=c,ar.tag){case 1:if(xt=ar.payload,typeof xt=="function"){Ct=xt.call(Ot,Ct,ot);break e}Ct=xt;break e;case 3:xt.flags=xt.flags&-65537|128;case 0:if(xt=ar.payload,ot=typeof xt=="function"?xt.call(Ot,Ct,ot):xt,ot==null)break e;Ct=X({},Ct,ot);break e;case 2:ha=!0}}he.callback!==null&&he.lane!==0&&(i.flags|=64,ot=b.effects,ot===null?b.effects=[he]:ot.push(he))}else Ot={eventTime:Ot,lane:ot,tag:he.tag,payload:he.payload,callback:he.callback,next:null},ft===null?(Ke=ft=Ot,Ie=Ct):ft=ft.next=Ot,J|=ot;if(he=he.next,he===null){if(he=b.shared.pending,he===null)break;ot=he,he=ot.next,ot.next=null,b.lastBaseUpdate=ot,b.shared.pending=null}}while(!0);if(ft===null&&(Ie=Ct),b.baseState=Ie,b.firstBaseUpdate=Ke,b.lastBaseUpdate=ft,s=b.shared.interleaved,s!==null){b=s;do J|=b.lane,b=b.next;while(b!==s)}else k===null&&(b.shared.lanes=0);ou|=J,i.lanes=J,i.memoizedState=Ct}}function ib(i,s,c){if(i=s.effects,s.effects=null,i!==null)for(s=0;s<i.length;s++){var g=i[s],b=g.callback;if(b!==null){if(g.callback=null,g=c,typeof b!="function")throw Error(r(191,b));b.call(g)}}}var ob=new e.Component().refs;function Gg(i,s,c,g){s=i.memoizedState,c=c(g,s),c=c==null?s:X({},s,c),i.memoizedState=c,i.lanes===0&&(i.updateQueue.baseState=c)}var Rd={isMounted:function(i){return(i=i._reactInternals)?Kn(i)===i:!1},enqueueSetState:function(i,s,c){i=i._reactInternals;var g=Si(),b=ya(i),k=Ds(g,b);k.payload=s,c!=null&&(k.callback=c),pa(i,k),s=Co(i,b,g),s!==null&&Td(s,i,b)},enqueueReplaceState:function(i,s,c){i=i._reactInternals;var g=Si(),b=ya(i),k=Ds(g,b);k.tag=1,k.payload=s,c!=null&&(k.callback=c),pa(i,k),s=Co(i,b,g),s!==null&&Td(s,i,b)},enqueueForceUpdate:function(i,s){i=i._reactInternals;var c=Si(),g=ya(i),b=Ds(c,g);b.tag=2,s!=null&&(b.callback=s),pa(i,b),s=Co(i,g,c),s!==null&&Td(s,i,g)}};function sb(i,s,c,g,b,k,J){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(g,k,J):s.prototype&&s.prototype.isPureReactComponent?!It(c,g)||!It(b,k):!0}function ab(i,s,c){var g=!1,b=fa,k=s.contextType;return typeof k=="object"&&k!==null?k=Eo(k):(b=Mi(s)?eu:ai.current,g=s.contextTypes,k=(g=g!=null)?hl(i,b):fa),s=new s(c,k),i.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Rd,i.stateNode=s,s._reactInternals=i,g&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=b,i.__reactInternalMemoizedMaskedChildContext=k),s}function ub(i,s,c,g){i=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(c,g),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(c,g),s.state!==i&&Rd.enqueueReplaceState(s,s.state,null)}function Yg(i,s,c,g){var b=i.stateNode;b.props=c,b.state=i.memoizedState,b.refs=ob,qg(i);var k=s.contextType;typeof k=="object"&&k!==null?b.context=Eo(k):(k=Mi(s)?eu:ai.current,b.context=hl(i,k)),b.state=i.memoizedState,k=s.getDerivedStateFromProps,typeof k=="function"&&(Gg(i,s,k,c),b.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(s=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),s!==b.state&&Rd.enqueueReplaceState(b,b.state,null),Ad(i,c,b,g),b.state=i.memoizedState),typeof b.componentDidMount=="function"&&(i.flags|=4194308)}var vl=[],ml=0,Od=null,Id=0,So=[],_o=0,tu=null,Ns=1,Ms="";function ru(i,s){vl[ml++]=Id,vl[ml++]=Od,Od=i,Id=s}function lb(i,s,c){So[_o++]=Ns,So[_o++]=Ms,So[_o++]=tu,tu=i;var g=Ns;i=Ms;var b=32-lr(g)-1;g&=~(1<<b),c+=1;var k=32-lr(s)+b;if(30<k){var J=b-b%5;k=(g&(1<<J)-1).toString(32),g>>=J,b-=J,Ns=1<<32-lr(s)+b|c<<b|g,Ms=k+i}else Ns=1<<k|c<<b|g,Ms=i}function Kg(i){i.return!==null&&(ru(i,1),lb(i,1,0))}function Xg(i){for(;i===Od;)Od=vl[--ml],vl[ml]=null,Id=vl[--ml],vl[ml]=null;for(;i===tu;)tu=So[--_o],So[_o]=null,Ms=So[--_o],So[_o]=null,Ns=So[--_o],So[_o]=null}var eo=null,$i=null,pn=!1,Vo=null;function cb(i,s){var c=To(5,null,null,0);c.elementType="DELETED",c.stateNode=s,c.return=i,s=i.deletions,s===null?(i.deletions=[c],i.flags|=16):s.push(c)}function fb(i,s){switch(i.tag){case 5:var c=i.type;return s=s.nodeType!==1||c.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(i.stateNode=s,eo=i,$i=Ps(s.firstChild),!0):!1;case 6:return s=i.pendingProps===""||s.nodeType!==3?null:s,s!==null?(i.stateNode=s,eo=i,$i=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(c=tu!==null?{id:Ns,overflow:Ms}:null,i.memoizedState={dehydrated:s,treeContext:c,retryLane:1073741824},c=To(18,null,null,0),c.stateNode=s,c.return=i,i.child=c,eo=i,$i=null,!0):!1;default:return!1}}function Qg(i){return(i.mode&1)!==0&&(i.flags&128)===0}function Jg(i){if(pn){var s=$i;if(s){var c=s;if(!fb(i,s)){if(Qg(i))throw Error(r(418));s=Ps(c.nextSibling);var g=eo;s&&fb(i,s)?cb(g,c):(i.flags=i.flags&-4097|2,pn=!1,eo=i)}}else{if(Qg(i))throw Error(r(418));i.flags=i.flags&-4097|2,pn=!1,eo=i}}}function db(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;eo=i}function Dc(i){if(i!==eo)return!1;if(!pn)return db(i),pn=!0,!1;var s;if((s=i.tag!==3)&&!(s=i.tag!==5)&&(s=i.type,s=s!=="head"&&s!=="body"&&!Mg(i.type,i.memoizedProps)),s&&(s=$i)){if(Qg(i)){for(i=$i;i;)i=Ps(i.nextSibling);throw Error(r(418))}for(;s;)cb(i,s),s=Ps(s.nextSibling)}if(db(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));e:{for(i=i.nextSibling,s=0;i;){if(i.nodeType===8){var c=i.data;if(c==="/$"){if(s===0){$i=Ps(i.nextSibling);break e}s--}else c!=="$"&&c!=="$!"&&c!=="$?"||s++}i=i.nextSibling}$i=null}}else $i=eo?Ps(i.stateNode.nextSibling):null;return!0}function yl(){$i=eo=null,pn=!1}function Zg(i){Vo===null?Vo=[i]:Vo.push(i)}function Nc(i,s,c){if(i=c.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(c._owner){if(c=c._owner,c){if(c.tag!==1)throw Error(r(309));var g=c.stateNode}if(!g)throw Error(r(147,i));var b=g,k=""+i;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===k?s.ref:(s=function(J){var he=b.refs;he===ob&&(he=b.refs={}),J===null?delete he[k]:he[k]=J},s._stringRef=k,s)}if(typeof i!="string")throw Error(r(284));if(!c._owner)throw Error(r(290,i))}return i}function Pd(i,s){throw i=Object.prototype.toString.call(s),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":i))}function hb(i){var s=i._init;return s(i._payload)}function pb(i){function s(Ve,De){if(i){var We=Ve.deletions;We===null?(Ve.deletions=[De],Ve.flags|=16):We.push(De)}}function c(Ve,De){if(!i)return null;for(;De!==null;)s(Ve,De),De=De.sibling;return null}function g(Ve,De){for(Ve=new Map;De!==null;)De.key!==null?Ve.set(De.key,De):Ve.set(De.index,De),De=De.sibling;return Ve}function b(Ve,De){return Ve=Ea(Ve,De),Ve.index=0,Ve.sibling=null,Ve}function k(Ve,De,We){return Ve.index=We,i?(We=Ve.alternate,We!==null?(We=We.index,We<De?(Ve.flags|=2,De):We):(Ve.flags|=2,De)):(Ve.flags|=1048576,De)}function J(Ve){return i&&Ve.alternate===null&&(Ve.flags|=2),Ve}function he(Ve,De,We,wt){return De===null||De.tag!==6?(De=Dv(We,Ve.mode,wt),De.return=Ve,De):(De=b(De,We),De.return=Ve,De)}function Ie(Ve,De,We,wt){var Dt=We.type;return Dt===y?ft(Ve,De,We.props.children,wt,We.key):De!==null&&(De.elementType===Dt||typeof Dt=="object"&&Dt!==null&&Dt.$$typeof===be&&hb(Dt)===De.type)?(wt=b(De,We.props),wt.ref=Nc(Ve,De,We),wt.return=Ve,wt):(wt=Jd(We.type,We.key,We.props,null,Ve.mode,wt),wt.ref=Nc(Ve,De,We),wt.return=Ve,wt)}function Ke(Ve,De,We,wt){return De===null||De.tag!==4||De.stateNode.containerInfo!==We.containerInfo||De.stateNode.implementation!==We.implementation?(De=Nv(We,Ve.mode,wt),De.return=Ve,De):(De=b(De,We.children||[]),De.return=Ve,De)}function ft(Ve,De,We,wt,Dt){return De===null||De.tag!==7?(De=lu(We,Ve.mode,wt,Dt),De.return=Ve,De):(De=b(De,We),De.return=Ve,De)}function Ct(Ve,De,We){if(typeof De=="string"&&De!==""||typeof De=="number")return De=Dv(""+De,Ve.mode,We),De.return=Ve,De;if(typeof De=="object"&&De!==null){switch(De.$$typeof){case M:return We=Jd(De.type,De.key,De.props,null,Ve.mode,We),We.ref=Nc(Ve,null,De),We.return=Ve,We;case G:return De=Nv(De,Ve.mode,We),De.return=Ve,De;case be:var wt=De._init;return Ct(Ve,wt(De._payload),We)}if(oe(De)||Ee(De))return De=lu(De,Ve.mode,We,null),De.return=Ve,De;Pd(Ve,De)}return null}function ot(Ve,De,We,wt){var Dt=De!==null?De.key:null;if(typeof We=="string"&&We!==""||typeof We=="number")return Dt!==null?null:he(Ve,De,""+We,wt);if(typeof We=="object"&&We!==null){switch(We.$$typeof){case M:return We.key===Dt?Ie(Ve,De,We,wt):null;case G:return We.key===Dt?Ke(Ve,De,We,wt):null;case be:return Dt=We._init,ot(Ve,De,Dt(We._payload),wt)}if(oe(We)||Ee(We))return Dt!==null?null:ft(Ve,De,We,wt,null);Pd(Ve,We)}return null}function Ot(Ve,De,We,wt,Dt){if(typeof wt=="string"&&wt!==""||typeof wt=="number")return Ve=Ve.get(We)||null,he(De,Ve,""+wt,Dt);if(typeof wt=="object"&&wt!==null){switch(wt.$$typeof){case M:return Ve=Ve.get(wt.key===null?We:wt.key)||null,Ie(De,Ve,wt,Dt);case G:return Ve=Ve.get(wt.key===null?We:wt.key)||null,Ke(De,Ve,wt,Dt);case be:var Yt=wt._init;return Ot(Ve,De,We,Yt(wt._payload),Dt)}if(oe(wt)||Ee(wt))return Ve=Ve.get(We)||null,ft(De,Ve,wt,Dt,null);Pd(De,wt)}return null}function xt(Ve,De,We,wt){for(var Dt=null,Yt=null,Kt=De,rr=De=0,Yn=null;Kt!==null&&rr<We.length;rr++){Kt.index>rr?(Yn=Kt,Kt=null):Yn=Kt.sibling;var Fr=ot(Ve,Kt,We[rr],wt);if(Fr===null){Kt===null&&(Kt=Yn);break}i&&Kt&&Fr.alternate===null&&s(Ve,Kt),De=k(Fr,De,rr),Yt===null?Dt=Fr:Yt.sibling=Fr,Yt=Fr,Kt=Yn}if(rr===We.length)return c(Ve,Kt),pn&&ru(Ve,rr),Dt;if(Kt===null){for(;rr<We.length;rr++)Kt=Ct(Ve,We[rr],wt),Kt!==null&&(De=k(Kt,De,rr),Yt===null?Dt=Kt:Yt.sibling=Kt,Yt=Kt);return pn&&ru(Ve,rr),Dt}for(Kt=g(Ve,Kt);rr<We.length;rr++)Yn=Ot(Kt,Ve,rr,We[rr],wt),Yn!==null&&(i&&Yn.alternate!==null&&Kt.delete(Yn.key===null?rr:Yn.key),De=k(Yn,De,rr),Yt===null?Dt=Yn:Yt.sibling=Yn,Yt=Yn);return i&&Kt.forEach(function(Sa){return s(Ve,Sa)}),pn&&ru(Ve,rr),Dt}function ar(Ve,De,We,wt){var Dt=Ee(We);if(typeof Dt!="function")throw Error(r(150));if(We=Dt.call(We),We==null)throw Error(r(151));for(var Yt=Dt=null,Kt=De,rr=De=0,Yn=null,Fr=We.next();Kt!==null&&!Fr.done;rr++,Fr=We.next()){Kt.index>rr?(Yn=Kt,Kt=null):Yn=Kt.sibling;var Sa=ot(Ve,Kt,Fr.value,wt);if(Sa===null){Kt===null&&(Kt=Yn);break}i&&Kt&&Sa.alternate===null&&s(Ve,Kt),De=k(Sa,De,rr),Yt===null?Dt=Sa:Yt.sibling=Sa,Yt=Sa,Kt=Yn}if(Fr.done)return c(Ve,Kt),pn&&ru(Ve,rr),Dt;if(Kt===null){for(;!Fr.done;rr++,Fr=We.next())Fr=Ct(Ve,Fr.value,wt),Fr!==null&&(De=k(Fr,De,rr),Yt===null?Dt=Fr:Yt.sibling=Fr,Yt=Fr);return pn&&ru(Ve,rr),Dt}for(Kt=g(Ve,Kt);!Fr.done;rr++,Fr=We.next())Fr=Ot(Kt,Ve,rr,Fr.value,wt),Fr!==null&&(i&&Fr.alternate!==null&&Kt.delete(Fr.key===null?rr:Fr.key),De=k(Fr,De,rr),Yt===null?Dt=Fr:Yt.sibling=Fr,Yt=Fr);return i&&Kt.forEach(function(OF){return s(Ve,OF)}),pn&&ru(Ve,rr),Dt}function An(Ve,De,We,wt){if(typeof We=="object"&&We!==null&&We.type===y&&We.key===null&&(We=We.props.children),typeof We=="object"&&We!==null){switch(We.$$typeof){case M:e:{for(var Dt=We.key,Yt=De;Yt!==null;){if(Yt.key===Dt){if(Dt=We.type,Dt===y){if(Yt.tag===7){c(Ve,Yt.sibling),De=b(Yt,We.props.children),De.return=Ve,Ve=De;break e}}else if(Yt.elementType===Dt||typeof Dt=="object"&&Dt!==null&&Dt.$$typeof===be&&hb(Dt)===Yt.type){c(Ve,Yt.sibling),De=b(Yt,We.props),De.ref=Nc(Ve,Yt,We),De.return=Ve,Ve=De;break e}c(Ve,Yt);break}else s(Ve,Yt);Yt=Yt.sibling}We.type===y?(De=lu(We.props.children,Ve.mode,wt,We.key),De.return=Ve,Ve=De):(wt=Jd(We.type,We.key,We.props,null,Ve.mode,wt),wt.ref=Nc(Ve,De,We),wt.return=Ve,Ve=wt)}return J(Ve);case G:e:{for(Yt=We.key;De!==null;){if(De.key===Yt)if(De.tag===4&&De.stateNode.containerInfo===We.containerInfo&&De.stateNode.implementation===We.implementation){c(Ve,De.sibling),De=b(De,We.children||[]),De.return=Ve,Ve=De;break e}else{c(Ve,De);break}else s(Ve,De);De=De.sibling}De=Nv(We,Ve.mode,wt),De.return=Ve,Ve=De}return J(Ve);case be:return Yt=We._init,An(Ve,De,Yt(We._payload),wt)}if(oe(We))return xt(Ve,De,We,wt);if(Ee(We))return ar(Ve,De,We,wt);Pd(Ve,We)}return typeof We=="string"&&We!==""||typeof We=="number"?(We=""+We,De!==null&&De.tag===6?(c(Ve,De.sibling),De=b(De,We),De.return=Ve,Ve=De):(c(Ve,De),De=Dv(We,Ve.mode,wt),De.return=Ve,Ve=De),J(Ve)):c(Ve,De)}return An}var wl=pb(!0),gb=pb(!1),Mc={},as=ca(Mc),$c=ca(Mc),Fc=ca(Mc);function nu(i){if(i===Mc)throw Error(r(174));return i}function ev(i,s){switch(on(Fc,s),on($c,i),on(as,Mc),i=s.nodeType,i){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:Nt(null,"");break;default:i=i===8?s.parentNode:s,s=i.namespaceURI||null,i=i.tagName,s=Nt(s,i)}fn(as),on(as,s)}function El(){fn(as),fn($c),fn(Fc)}function vb(i){nu(Fc.current);var s=nu(as.current),c=Nt(s,i.type);s!==c&&(on($c,i),on(as,c))}function tv(i){$c.current===i&&(fn(as),fn($c))}var mn=ca(0);function kd(i){for(var s=i;s!==null;){if(s.tag===13){var c=s.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var rv=[];function nv(){for(var i=0;i<rv.length;i++)rv[i]._workInProgressVersionPrimary=null;rv.length=0}var Ld=V.ReactCurrentDispatcher,iv=V.ReactCurrentBatchConfig,iu=0,yn=null,Un=null,Gn=null,Dd=!1,jc=!1,Uc=0,J$=0;function ui(){throw Error(r(321))}function ov(i,s){if(s===null)return!1;for(var c=0;c<s.length&&c<i.length;c++)if(!bt(i[c],s[c]))return!1;return!0}function sv(i,s,c,g,b,k){if(iu=k,yn=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,Ld.current=i===null||i.memoizedState===null?rF:nF,i=c(g,b),jc){k=0;do{if(jc=!1,Uc=0,25<=k)throw Error(r(301));k+=1,Gn=Un=null,s.updateQueue=null,Ld.current=iF,i=c(g,b)}while(jc)}if(Ld.current=$d,s=Un!==null&&Un.next!==null,iu=0,Gn=Un=yn=null,Dd=!1,s)throw Error(r(300));return i}function av(){var i=Uc!==0;return Uc=0,i}function us(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gn===null?yn.memoizedState=Gn=i:Gn=Gn.next=i,Gn}function bo(){if(Un===null){var i=yn.alternate;i=i!==null?i.memoizedState:null}else i=Un.next;var s=Gn===null?yn.memoizedState:Gn.next;if(s!==null)Gn=s,Un=i;else{if(i===null)throw Error(r(310));Un=i,i={memoizedState:Un.memoizedState,baseState:Un.baseState,baseQueue:Un.baseQueue,queue:Un.queue,next:null},Gn===null?yn.memoizedState=Gn=i:Gn=Gn.next=i}return Gn}function Vc(i,s){return typeof s=="function"?s(i):s}function uv(i){var s=bo(),c=s.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=i;var g=Un,b=g.baseQueue,k=c.pending;if(k!==null){if(b!==null){var J=b.next;b.next=k.next,k.next=J}g.baseQueue=b=k,c.pending=null}if(b!==null){k=b.next,g=g.baseState;var he=J=null,Ie=null,Ke=k;do{var ft=Ke.lane;if((iu&ft)===ft)Ie!==null&&(Ie=Ie.next={lane:0,action:Ke.action,hasEagerState:Ke.hasEagerState,eagerState:Ke.eagerState,next:null}),g=Ke.hasEagerState?Ke.eagerState:i(g,Ke.action);else{var Ct={lane:ft,action:Ke.action,hasEagerState:Ke.hasEagerState,eagerState:Ke.eagerState,next:null};Ie===null?(he=Ie=Ct,J=g):Ie=Ie.next=Ct,yn.lanes|=ft,ou|=ft}Ke=Ke.next}while(Ke!==null&&Ke!==k);Ie===null?J=g:Ie.next=he,bt(g,s.memoizedState)||(Fi=!0),s.memoizedState=g,s.baseState=J,s.baseQueue=Ie,c.lastRenderedState=g}if(i=c.interleaved,i!==null){b=i;do k=b.lane,yn.lanes|=k,ou|=k,b=b.next;while(b!==i)}else b===null&&(c.lanes=0);return[s.memoizedState,c.dispatch]}function lv(i){var s=bo(),c=s.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=i;var g=c.dispatch,b=c.pending,k=s.memoizedState;if(b!==null){c.pending=null;var J=b=b.next;do k=i(k,J.action),J=J.next;while(J!==b);bt(k,s.memoizedState)||(Fi=!0),s.memoizedState=k,s.baseQueue===null&&(s.baseState=k),c.lastRenderedState=k}return[k,g]}function mb(){}function yb(i,s){var c=yn,g=bo(),b=s(),k=!bt(g.memoizedState,b);if(k&&(g.memoizedState=b,Fi=!0),g=g.queue,cv(Sb.bind(null,c,g,i),[i]),g.getSnapshot!==s||k||Gn!==null&&Gn.memoizedState.tag&1){if(c.flags|=2048,Hc(9,Eb.bind(null,c,g,b,s),void 0,null),Vn===null)throw Error(r(349));(iu&30)!==0||wb(c,s,b)}return b}function wb(i,s,c){i.flags|=16384,i={getSnapshot:s,value:c},s=yn.updateQueue,s===null?(s={lastEffect:null,stores:null},yn.updateQueue=s,s.stores=[i]):(c=s.stores,c===null?s.stores=[i]:c.push(i))}function Eb(i,s,c,g){s.value=c,s.getSnapshot=g,_b(s)&&Co(i,1,-1)}function Sb(i,s,c){return c(function(){_b(s)&&Co(i,1,-1)})}function _b(i){var s=i.getSnapshot;i=i.value;try{var c=s();return!bt(i,c)}catch{return!0}}function bb(i){var s=us();return typeof i=="function"&&(i=i()),s.memoizedState=s.baseState=i,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vc,lastRenderedState:i},s.queue=i,i=i.dispatch=tF.bind(null,yn,i),[s.memoizedState,i]}function Hc(i,s,c,g){return i={tag:i,create:s,destroy:c,deps:g,next:null},s=yn.updateQueue,s===null?(s={lastEffect:null,stores:null},yn.updateQueue=s,s.lastEffect=i.next=i):(c=s.lastEffect,c===null?s.lastEffect=i.next=i:(g=c.next,c.next=i,i.next=g,s.lastEffect=i)),i}function xb(){return bo().memoizedState}function Nd(i,s,c,g){var b=us();yn.flags|=i,b.memoizedState=Hc(1|s,c,void 0,g===void 0?null:g)}function Md(i,s,c,g){var b=bo();g=g===void 0?null:g;var k=void 0;if(Un!==null){var J=Un.memoizedState;if(k=J.destroy,g!==null&&ov(g,J.deps)){b.memoizedState=Hc(s,c,k,g);return}}yn.flags|=i,b.memoizedState=Hc(1|s,c,k,g)}function Cb(i,s){return Nd(8390656,8,i,s)}function cv(i,s){return Md(2048,8,i,s)}function Tb(i,s){return Md(4,2,i,s)}function Ab(i,s){return Md(4,4,i,s)}function Rb(i,s){if(typeof s=="function")return i=i(),s(i),function(){s(null)};if(s!=null)return i=i(),s.current=i,function(){s.current=null}}function Ob(i,s,c){return c=c!=null?c.concat([i]):null,Md(4,4,Rb.bind(null,s,i),c)}function fv(){}function Ib(i,s){var c=bo();s=s===void 0?null:s;var g=c.memoizedState;return g!==null&&s!==null&&ov(s,g[1])?g[0]:(c.memoizedState=[i,s],i)}function Pb(i,s){var c=bo();s=s===void 0?null:s;var g=c.memoizedState;return g!==null&&s!==null&&ov(s,g[1])?g[0]:(i=i(),c.memoizedState=[i,s],i)}function kb(i,s,c){return(iu&21)===0?(i.baseState&&(i.baseState=!1,Fi=!0),i.memoizedState=c):(bt(c,s)||(c=Ce(),yn.lanes|=c,ou|=c,i.baseState=!0),s)}function Z$(i,s){var c=St;St=c!==0&&4>c?c:4,i(!0);var g=iv.transition;iv.transition={};try{i(!1),s()}finally{St=c,iv.transition=g}}function Lb(){return bo().memoizedState}function eF(i,s,c){var g=ya(i);c={lane:g,action:c,hasEagerState:!1,eagerState:null,next:null},Db(i)?Nb(s,c):(Mb(i,s,c),c=Si(),i=Co(i,g,c),i!==null&&$b(i,s,g))}function tF(i,s,c){var g=ya(i),b={lane:g,action:c,hasEagerState:!1,eagerState:null,next:null};if(Db(i))Nb(s,b);else{Mb(i,s,b);var k=i.alternate;if(i.lanes===0&&(k===null||k.lanes===0)&&(k=s.lastRenderedReducer,k!==null))try{var J=s.lastRenderedState,he=k(J,c);if(b.hasEagerState=!0,b.eagerState=he,bt(he,J))return}catch{}finally{}c=Si(),i=Co(i,g,c),i!==null&&$b(i,s,g)}}function Db(i){var s=i.alternate;return i===yn||s!==null&&s===yn}function Nb(i,s){jc=Dd=!0;var c=i.pending;c===null?s.next=s:(s.next=c.next,c.next=s),i.pending=s}function Mb(i,s,c){mx(i)?(i=s.interleaved,i===null?(c.next=c,Uo===null?Uo=[s]:Uo.push(s)):(c.next=i.next,i.next=c),s.interleaved=c):(i=s.pending,i===null?c.next=c:(c.next=i.next,i.next=c),s.pending=c)}function $b(i,s,c){if((c&4194240)!==0){var g=s.lanes;g&=i.pendingLanes,c|=g,s.lanes=c,yt(i,c)}}var $d={readContext:Eo,useCallback:ui,useContext:ui,useEffect:ui,useImperativeHandle:ui,useInsertionEffect:ui,useLayoutEffect:ui,useMemo:ui,useReducer:ui,useRef:ui,useState:ui,useDebugValue:ui,useDeferredValue:ui,useTransition:ui,useMutableSource:ui,useSyncExternalStore:ui,useId:ui,unstable_isNewReconciler:!1},rF={readContext:Eo,useCallback:function(i,s){return us().memoizedState=[i,s===void 0?null:s],i},useContext:Eo,useEffect:Cb,useImperativeHandle:function(i,s,c){return c=c!=null?c.concat([i]):null,Nd(4194308,4,Rb.bind(null,s,i),c)},useLayoutEffect:function(i,s){return Nd(4194308,4,i,s)},useInsertionEffect:function(i,s){return Nd(4,2,i,s)},useMemo:function(i,s){var c=us();return s=s===void 0?null:s,i=i(),c.memoizedState=[i,s],i},useReducer:function(i,s,c){var g=us();return s=c!==void 0?c(s):s,g.memoizedState=g.baseState=s,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:s},g.queue=i,i=i.dispatch=eF.bind(null,yn,i),[g.memoizedState,i]},useRef:function(i){var s=us();return i={current:i},s.memoizedState=i},useState:bb,useDebugValue:fv,useDeferredValue:function(i){return us().memoizedState=i},useTransition:function(){var i=bb(!1),s=i[0];return i=Z$.bind(null,i[1]),us().memoizedState=i,[s,i]},useMutableSource:function(){},useSyncExternalStore:function(i,s,c){var g=yn,b=us();if(pn){if(c===void 0)throw Error(r(407));c=c()}else{if(c=s(),Vn===null)throw Error(r(349));(iu&30)!==0||wb(g,s,c)}b.memoizedState=c;var k={value:c,getSnapshot:s};return b.queue=k,Cb(Sb.bind(null,g,k,i),[i]),g.flags|=2048,Hc(9,Eb.bind(null,g,k,c,s),void 0,null),c},useId:function(){var i=us(),s=Vn.identifierPrefix;if(pn){var c=Ms,g=Ns;c=(g&~(1<<32-lr(g)-1)).toString(32)+c,s=":"+s+"R"+c,c=Uc++,0<c&&(s+="H"+c.toString(32)),s+=":"}else c=J$++,s=":"+s+"r"+c.toString(32)+":";return i.memoizedState=s},unstable_isNewReconciler:!1},nF={readContext:Eo,useCallback:Ib,useContext:Eo,useEffect:cv,useImperativeHandle:Ob,useInsertionEffect:Tb,useLayoutEffect:Ab,useMemo:Pb,useReducer:uv,useRef:xb,useState:function(){return uv(Vc)},useDebugValue:fv,useDeferredValue:function(i){var s=bo();return kb(s,Un.memoizedState,i)},useTransition:function(){var i=uv(Vc)[0],s=bo().memoizedState;return[i,s]},useMutableSource:mb,useSyncExternalStore:yb,useId:Lb,unstable_isNewReconciler:!1},iF={readContext:Eo,useCallback:Ib,useContext:Eo,useEffect:cv,useImperativeHandle:Ob,useInsertionEffect:Tb,useLayoutEffect:Ab,useMemo:Pb,useReducer:lv,useRef:xb,useState:function(){return lv(Vc)},useDebugValue:fv,useDeferredValue:function(i){var s=bo();return Un===null?s.memoizedState=i:kb(s,Un.memoizedState,i)},useTransition:function(){var i=lv(Vc)[0],s=bo().memoizedState;return[i,s]},useMutableSource:mb,useSyncExternalStore:yb,useId:Lb,unstable_isNewReconciler:!1};function dv(i,s){try{var c="",g=s;do c+=ut(g),g=g.return;while(g);var b=c}catch(k){b=`
|
|
86
|
+
Error generating stack: `+k.message+`
|
|
87
|
+
`+k.stack}return{value:i,source:s,stack:b}}function hv(i,s){try{console.error(s.value)}catch(c){setTimeout(function(){throw c})}}var oF=typeof WeakMap=="function"?WeakMap:Map;function Fb(i,s,c){c=Ds(-1,c),c.tag=3,c.payload={element:null};var g=s.value;return c.callback=function(){Wd||(Wd=!0,Tv=g),hv(i,s)},c}function jb(i,s,c){c=Ds(-1,c),c.tag=3;var g=i.type.getDerivedStateFromError;if(typeof g=="function"){var b=s.value;c.payload=function(){return g(b)},c.callback=function(){hv(i,s)}}var k=i.stateNode;return k!==null&&typeof k.componentDidCatch=="function"&&(c.callback=function(){hv(i,s),typeof g!="function"&&(va===null?va=new Set([this]):va.add(this));var J=s.stack;this.componentDidCatch(s.value,{componentStack:J!==null?J:""})}),c}function Ub(i,s,c){var g=i.pingCache;if(g===null){g=i.pingCache=new oF;var b=new Set;g.set(s,b)}else b=g.get(s),b===void 0&&(b=new Set,g.set(s,b));b.has(c)||(b.add(c),i=yF.bind(null,i,s,c),s.then(i,i))}function Vb(i){do{var s;if((s=i.tag===13)&&(s=i.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return i;i=i.return}while(i!==null);return null}function Hb(i,s,c,g,b){return(i.mode&1)===0?(i===s?i.flags|=65536:(i.flags|=128,c.flags|=131072,c.flags&=-52805,c.tag===1&&(c.alternate===null?c.tag=17:(s=Ds(-1,1),s.tag=2,pa(c,s))),c.lanes|=1),i):(i.flags|=65536,i.lanes=b,i)}var Bb,pv,zb,Wb;Bb=function(i,s){for(var c=s.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},pv=function(){},zb=function(i,s,c,g){var b=i.memoizedProps;if(b!==g){i=s.stateNode,nu(as.current);var k=null;switch(c){case"input":b=se(i,b),g=se(i,g),k=[];break;case"select":b=X({},b,{value:void 0}),g=X({},g,{value:void 0}),k=[];break;case"textarea":b=ve(i,b),g=ve(i,g),k=[];break;default:typeof b.onClick!="function"&&typeof g.onClick=="function"&&(i.onclick=wd)}Jt(c,g);var J;c=null;for(Ke in b)if(!g.hasOwnProperty(Ke)&&b.hasOwnProperty(Ke)&&b[Ke]!=null)if(Ke==="style"){var he=b[Ke];for(J in he)he.hasOwnProperty(J)&&(c||(c={}),c[J]="")}else Ke!=="dangerouslySetInnerHTML"&&Ke!=="children"&&Ke!=="suppressContentEditableWarning"&&Ke!=="suppressHydrationWarning"&&Ke!=="autoFocus"&&(o.hasOwnProperty(Ke)?k||(k=[]):(k=k||[]).push(Ke,null));for(Ke in g){var Ie=g[Ke];if(he=b!=null?b[Ke]:void 0,g.hasOwnProperty(Ke)&&Ie!==he&&(Ie!=null||he!=null))if(Ke==="style")if(he){for(J in he)!he.hasOwnProperty(J)||Ie&&Ie.hasOwnProperty(J)||(c||(c={}),c[J]="");for(J in Ie)Ie.hasOwnProperty(J)&&he[J]!==Ie[J]&&(c||(c={}),c[J]=Ie[J])}else c||(k||(k=[]),k.push(Ke,c)),c=Ie;else Ke==="dangerouslySetInnerHTML"?(Ie=Ie?Ie.__html:void 0,he=he?he.__html:void 0,Ie!=null&&he!==Ie&&(k=k||[]).push(Ke,Ie)):Ke==="children"?typeof Ie!="string"&&typeof Ie!="number"||(k=k||[]).push(Ke,""+Ie):Ke!=="suppressContentEditableWarning"&&Ke!=="suppressHydrationWarning"&&(o.hasOwnProperty(Ke)?(Ie!=null&&Ke==="onScroll"&&cn("scroll",i),k||he===Ie||(k=[])):(k=k||[]).push(Ke,Ie))}c&&(k=k||[]).push("style",c);var Ke=k;(s.updateQueue=Ke)&&(s.flags|=4)}},Wb=function(i,s,c,g){c!==g&&(s.flags|=4)};function Bc(i,s){if(!pn)switch(i.tailMode){case"hidden":s=i.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?i.tail=null:c.sibling=null;break;case"collapsed":c=i.tail;for(var g=null;c!==null;)c.alternate!==null&&(g=c),c=c.sibling;g===null?s||i.tail===null?i.tail=null:i.tail.sibling=null:g.sibling=null}}function li(i){var s=i.alternate!==null&&i.alternate.child===i.child,c=0,g=0;if(s)for(var b=i.child;b!==null;)c|=b.lanes|b.childLanes,g|=b.subtreeFlags&14680064,g|=b.flags&14680064,b.return=i,b=b.sibling;else for(b=i.child;b!==null;)c|=b.lanes|b.childLanes,g|=b.subtreeFlags,g|=b.flags,b.return=i,b=b.sibling;return i.subtreeFlags|=g,i.childLanes=c,s}function sF(i,s,c){var g=s.pendingProps;switch(Xg(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return li(s),null;case 1:return Mi(s.type)&&Sd(),li(s),null;case 3:return g=s.stateNode,El(),fn(Ni),fn(ai),nv(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),(i===null||i.child===null)&&(Dc(s)?s.flags|=4:i===null||i.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Vo!==null&&(Ov(Vo),Vo=null))),pv(i,s),li(s),null;case 5:tv(s);var b=nu(Fc.current);if(c=s.type,i!==null&&s.stateNode!=null)zb(i,s,c,g,b),i.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!g){if(s.stateNode===null)throw Error(r(166));return li(s),null}if(i=nu(as.current),Dc(s)){g=s.stateNode,c=s.type;var k=s.memoizedProps;switch(g[ss]=s,g[kc]=k,i=(s.mode&1)!==0,c){case"dialog":cn("cancel",g),cn("close",g);break;case"iframe":case"object":case"embed":cn("load",g);break;case"video":case"audio":for(b=0;b<Oc.length;b++)cn(Oc[b],g);break;case"source":cn("error",g);break;case"img":case"image":case"link":cn("error",g),cn("load",g);break;case"details":cn("toggle",g);break;case"input":ee(g,k),cn("invalid",g);break;case"select":g._wrapperState={wasMultiple:!!k.multiple},cn("invalid",g);break;case"textarea":Te(g,k),cn("invalid",g)}Jt(c,k),b=null;for(var J in k)if(k.hasOwnProperty(J)){var he=k[J];J==="children"?typeof he=="string"?g.textContent!==he&&(k.suppressHydrationWarning!==!0&&yd(g.textContent,he,i),b=["children",he]):typeof he=="number"&&g.textContent!==""+he&&(k.suppressHydrationWarning!==!0&&yd(g.textContent,he,i),b=["children",""+he]):o.hasOwnProperty(J)&&he!=null&&J==="onScroll"&&cn("scroll",g)}switch(c){case"input":q(g),Oe(g,k,!0);break;case"textarea":q(g),Ue(g);break;case"select":case"option":break;default:typeof k.onClick=="function"&&(g.onclick=wd)}g=b,s.updateQueue=g,g!==null&&(s.flags|=4)}else{J=b.nodeType===9?b:b.ownerDocument,i==="http://www.w3.org/1999/xhtml"&&(i=at(c)),i==="http://www.w3.org/1999/xhtml"?c==="script"?(i=J.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof g.is=="string"?i=J.createElement(c,{is:g.is}):(i=J.createElement(c),c==="select"&&(J=i,g.multiple?J.multiple=!0:g.size&&(J.size=g.size))):i=J.createElementNS(i,c),i[ss]=s,i[kc]=g,Bb(i,s,!1,!1),s.stateNode=i;e:{switch(J=Et(c,g),c){case"dialog":cn("cancel",i),cn("close",i),b=g;break;case"iframe":case"object":case"embed":cn("load",i),b=g;break;case"video":case"audio":for(b=0;b<Oc.length;b++)cn(Oc[b],i);b=g;break;case"source":cn("error",i),b=g;break;case"img":case"image":case"link":cn("error",i),cn("load",i),b=g;break;case"details":cn("toggle",i),b=g;break;case"input":ee(i,g),b=se(i,g),cn("invalid",i);break;case"option":b=g;break;case"select":i._wrapperState={wasMultiple:!!g.multiple},b=X({},g,{value:void 0}),cn("invalid",i);break;case"textarea":Te(i,g),b=ve(i,g),cn("invalid",i);break;default:b=g}Jt(c,b),he=b;for(k in he)if(he.hasOwnProperty(k)){var Ie=he[k];k==="style"?Rr(i,Ie):k==="dangerouslySetInnerHTML"?(Ie=Ie?Ie.__html:void 0,Ie!=null&&Ut(i,Ie)):k==="children"?typeof Ie=="string"?(c!=="textarea"||Ie!=="")&&br(i,Ie):typeof Ie=="number"&&br(i,""+Ie):k!=="suppressContentEditableWarning"&&k!=="suppressHydrationWarning"&&k!=="autoFocus"&&(o.hasOwnProperty(k)?Ie!=null&&k==="onScroll"&&cn("scroll",i):Ie!=null&&H(i,k,Ie,J))}switch(c){case"input":q(i),Oe(i,g,!1);break;case"textarea":q(i),Ue(i);break;case"option":g.value!=null&&i.setAttribute("value",""+T(g.value));break;case"select":i.multiple=!!g.multiple,k=g.value,k!=null?Se(i,!!g.multiple,k,!1):g.defaultValue!=null&&Se(i,!!g.multiple,g.defaultValue,!0);break;default:typeof b.onClick=="function"&&(i.onclick=wd)}switch(c){case"button":case"input":case"select":case"textarea":g=!!g.autoFocus;break e;case"img":g=!0;break e;default:g=!1}}g&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return li(s),null;case 6:if(i&&s.stateNode!=null)Wb(i,s,i.memoizedProps,g);else{if(typeof g!="string"&&s.stateNode===null)throw Error(r(166));if(c=nu(Fc.current),nu(as.current),Dc(s)){if(g=s.stateNode,c=s.memoizedProps,g[ss]=s,(k=g.nodeValue!==c)&&(i=eo,i!==null))switch(i.tag){case 3:yd(g.nodeValue,c,(i.mode&1)!==0);break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&yd(g.nodeValue,c,(i.mode&1)!==0)}k&&(s.flags|=4)}else g=(c.nodeType===9?c:c.ownerDocument).createTextNode(g),g[ss]=s,s.stateNode=g}return li(s),null;case 13:if(fn(mn),g=s.memoizedState,pn&&$i!==null&&(s.mode&1)!==0&&(s.flags&128)===0){for(g=$i;g;)g=Ps(g.nextSibling);return yl(),s.flags|=98560,s}if(g!==null&&g.dehydrated!==null){if(g=Dc(s),i===null){if(!g)throw Error(r(318));if(g=s.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(r(317));g[ss]=s}else yl(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;return li(s),null}return Vo!==null&&(Ov(Vo),Vo=null),(s.flags&128)!==0?(s.lanes=c,s):(g=g!==null,c=!1,i===null?Dc(s):c=i.memoizedState!==null,g!==c&&g&&(s.child.flags|=8192,(s.mode&1)!==0&&(i===null||(mn.current&1)!==0?Hn===0&&(Hn=3):kv())),s.updateQueue!==null&&(s.flags|=4),li(s),null);case 4:return El(),pv(i,s),i===null&&Ic(s.stateNode.containerInfo),li(s),null;case 10:return zg(s.type._context),li(s),null;case 17:return Mi(s.type)&&Sd(),li(s),null;case 19:if(fn(mn),k=s.memoizedState,k===null)return li(s),null;if(g=(s.flags&128)!==0,J=k.rendering,J===null)if(g)Bc(k,!1);else{if(Hn!==0||i!==null&&(i.flags&128)!==0)for(i=s.child;i!==null;){if(J=kd(i),J!==null){for(s.flags|=128,Bc(k,!1),g=J.updateQueue,g!==null&&(s.updateQueue=g,s.flags|=4),s.subtreeFlags=0,g=c,c=s.child;c!==null;)k=c,i=g,k.flags&=14680066,J=k.alternate,J===null?(k.childLanes=0,k.lanes=i,k.child=null,k.subtreeFlags=0,k.memoizedProps=null,k.memoizedState=null,k.updateQueue=null,k.dependencies=null,k.stateNode=null):(k.childLanes=J.childLanes,k.lanes=J.lanes,k.child=J.child,k.subtreeFlags=0,k.deletions=null,k.memoizedProps=J.memoizedProps,k.memoizedState=J.memoizedState,k.updateQueue=J.updateQueue,k.type=J.type,i=J.dependencies,k.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),c=c.sibling;return on(mn,mn.current&1|2),s.child}i=i.sibling}k.tail!==null&&Ge()>bl&&(s.flags|=128,g=!0,Bc(k,!1),s.lanes=4194304)}else{if(!g)if(i=kd(J),i!==null){if(s.flags|=128,g=!0,c=i.updateQueue,c!==null&&(s.updateQueue=c,s.flags|=4),Bc(k,!0),k.tail===null&&k.tailMode==="hidden"&&!J.alternate&&!pn)return li(s),null}else 2*Ge()-k.renderingStartTime>bl&&c!==1073741824&&(s.flags|=128,g=!0,Bc(k,!1),s.lanes=4194304);k.isBackwards?(J.sibling=s.child,s.child=J):(c=k.last,c!==null?c.sibling=J:s.child=J,k.last=J)}return k.tail!==null?(s=k.tail,k.rendering=s,k.tail=s.sibling,k.renderingStartTime=Ge(),s.sibling=null,c=mn.current,on(mn,g?c&1|2:c&1),s):(li(s),null);case 22:case 23:return Pv(),g=s.memoizedState!==null,i!==null&&i.memoizedState!==null!==g&&(s.flags|=8192),g&&(s.mode&1)!==0?(to&1073741824)!==0&&(li(s),s.subtreeFlags&6&&(s.flags|=8192)):li(s),null;case 24:return null;case 25:return null}throw Error(r(156,s.tag))}var aF=V.ReactCurrentOwner,Fi=!1;function Ei(i,s,c,g){s.child=i===null?gb(s,null,c,g):wl(s,i.child,c,g)}function qb(i,s,c,g,b){c=c.render;var k=s.ref;return gl(s,b),g=sv(i,s,c,g,k,b),c=av(),i!==null&&!Fi?(s.updateQueue=i.updateQueue,s.flags&=-2053,i.lanes&=~b,$s(i,s,b)):(pn&&c&&Kg(s),s.flags|=1,Ei(i,s,g,b),s.child)}function Gb(i,s,c,g,b){if(i===null){var k=c.type;return typeof k=="function"&&!Lv(k)&&k.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(s.tag=15,s.type=k,Yb(i,s,k,g,b)):(i=Jd(c.type,null,g,s,s.mode,b),i.ref=s.ref,i.return=s,s.child=i)}if(k=i.child,(i.lanes&b)===0){var J=k.memoizedProps;if(c=c.compare,c=c!==null?c:It,c(J,g)&&i.ref===s.ref)return $s(i,s,b)}return s.flags|=1,i=Ea(k,g),i.ref=s.ref,i.return=s,s.child=i}function Yb(i,s,c,g,b){if(i!==null){var k=i.memoizedProps;if(It(k,g)&&i.ref===s.ref)if(Fi=!1,s.pendingProps=g=k,(i.lanes&b)!==0)(i.flags&131072)!==0&&(Fi=!0);else return s.lanes=i.lanes,$s(i,s,b)}return gv(i,s,c,g,b)}function Kb(i,s,c){var g=s.pendingProps,b=g.children,k=i!==null?i.memoizedState:null;if(g.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},on(_l,to),to|=c;else if((c&1073741824)!==0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},g=k!==null?k.baseLanes:c,on(_l,to),to|=g;else return i=k!==null?k.baseLanes|c:c,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:i,cachePool:null,transitions:null},s.updateQueue=null,on(_l,to),to|=i,null;else k!==null?(g=k.baseLanes|c,s.memoizedState=null):g=c,on(_l,to),to|=g;return Ei(i,s,b,c),s.child}function Xb(i,s){var c=s.ref;(i===null&&c!==null||i!==null&&i.ref!==c)&&(s.flags|=512,s.flags|=2097152)}function gv(i,s,c,g,b){var k=Mi(c)?eu:ai.current;return k=hl(s,k),gl(s,b),c=sv(i,s,c,g,k,b),g=av(),i!==null&&!Fi?(s.updateQueue=i.updateQueue,s.flags&=-2053,i.lanes&=~b,$s(i,s,b)):(pn&&g&&Kg(s),s.flags|=1,Ei(i,s,c,b),s.child)}function Qb(i,s,c,g,b){if(Mi(c)){var k=!0;_d(s)}else k=!1;if(gl(s,b),s.stateNode===null)i!==null&&(i.alternate=null,s.alternate=null,s.flags|=2),ab(s,c,g),Yg(s,c,g,b),g=!0;else if(i===null){var J=s.stateNode,he=s.memoizedProps;J.props=he;var Ie=J.context,Ke=c.contextType;typeof Ke=="object"&&Ke!==null?Ke=Eo(Ke):(Ke=Mi(c)?eu:ai.current,Ke=hl(s,Ke));var ft=c.getDerivedStateFromProps,Ct=typeof ft=="function"||typeof J.getSnapshotBeforeUpdate=="function";Ct||typeof J.UNSAFE_componentWillReceiveProps!="function"&&typeof J.componentWillReceiveProps!="function"||(he!==g||Ie!==Ke)&&ub(s,J,g,Ke),ha=!1;var ot=s.memoizedState;J.state=ot,Ad(s,g,J,b),Ie=s.memoizedState,he!==g||ot!==Ie||Ni.current||ha?(typeof ft=="function"&&(Gg(s,c,ft,g),Ie=s.memoizedState),(he=ha||sb(s,c,he,g,ot,Ie,Ke))?(Ct||typeof J.UNSAFE_componentWillMount!="function"&&typeof J.componentWillMount!="function"||(typeof J.componentWillMount=="function"&&J.componentWillMount(),typeof J.UNSAFE_componentWillMount=="function"&&J.UNSAFE_componentWillMount()),typeof J.componentDidMount=="function"&&(s.flags|=4194308)):(typeof J.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=g,s.memoizedState=Ie),J.props=g,J.state=Ie,J.context=Ke,g=he):(typeof J.componentDidMount=="function"&&(s.flags|=4194308),g=!1)}else{J=s.stateNode,rb(i,s),he=s.memoizedProps,Ke=s.type===s.elementType?he:jo(s.type,he),J.props=Ke,Ct=s.pendingProps,ot=J.context,Ie=c.contextType,typeof Ie=="object"&&Ie!==null?Ie=Eo(Ie):(Ie=Mi(c)?eu:ai.current,Ie=hl(s,Ie));var Ot=c.getDerivedStateFromProps;(ft=typeof Ot=="function"||typeof J.getSnapshotBeforeUpdate=="function")||typeof J.UNSAFE_componentWillReceiveProps!="function"&&typeof J.componentWillReceiveProps!="function"||(he!==Ct||ot!==Ie)&&ub(s,J,g,Ie),ha=!1,ot=s.memoizedState,J.state=ot,Ad(s,g,J,b);var xt=s.memoizedState;he!==Ct||ot!==xt||Ni.current||ha?(typeof Ot=="function"&&(Gg(s,c,Ot,g),xt=s.memoizedState),(Ke=ha||sb(s,c,Ke,g,ot,xt,Ie)||!1)?(ft||typeof J.UNSAFE_componentWillUpdate!="function"&&typeof J.componentWillUpdate!="function"||(typeof J.componentWillUpdate=="function"&&J.componentWillUpdate(g,xt,Ie),typeof J.UNSAFE_componentWillUpdate=="function"&&J.UNSAFE_componentWillUpdate(g,xt,Ie)),typeof J.componentDidUpdate=="function"&&(s.flags|=4),typeof J.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof J.componentDidUpdate!="function"||he===i.memoizedProps&&ot===i.memoizedState||(s.flags|=4),typeof J.getSnapshotBeforeUpdate!="function"||he===i.memoizedProps&&ot===i.memoizedState||(s.flags|=1024),s.memoizedProps=g,s.memoizedState=xt),J.props=g,J.state=xt,J.context=Ie,g=Ke):(typeof J.componentDidUpdate!="function"||he===i.memoizedProps&&ot===i.memoizedState||(s.flags|=4),typeof J.getSnapshotBeforeUpdate!="function"||he===i.memoizedProps&&ot===i.memoizedState||(s.flags|=1024),g=!1)}return vv(i,s,c,g,k,b)}function vv(i,s,c,g,b,k){Xb(i,s);var J=(s.flags&128)!==0;if(!g&&!J)return b&&eb(s,c,!1),$s(i,s,k);g=s.stateNode,aF.current=s;var he=J&&typeof c.getDerivedStateFromError!="function"?null:g.render();return s.flags|=1,i!==null&&J?(s.child=wl(s,i.child,null,k),s.child=wl(s,null,he,k)):Ei(i,s,he,k),s.memoizedState=g.state,b&&eb(s,c,!0),s.child}function Jb(i){var s=i.stateNode;s.pendingContext?J_(i,s.pendingContext,s.pendingContext!==s.context):s.context&&J_(i,s.context,!1),ev(i,s.containerInfo)}function Zb(i,s,c,g,b){return yl(),Zg(b),s.flags|=256,Ei(i,s,c,g),s.child}var Fd={dehydrated:null,treeContext:null,retryLane:0};function jd(i){return{baseLanes:i,cachePool:null,transitions:null}}function ex(i,s){return{baseLanes:i.baseLanes|s,cachePool:null,transitions:i.transitions}}function tx(i,s,c){var g=s.pendingProps,b=mn.current,k=!1,J=(s.flags&128)!==0,he;if((he=J)||(he=i!==null&&i.memoizedState===null?!1:(b&2)!==0),he?(k=!0,s.flags&=-129):(i===null||i.memoizedState!==null)&&(b|=1),on(mn,b&1),i===null)return Jg(s),i=s.memoizedState,i!==null&&(i=i.dehydrated,i!==null)?((s.mode&1)===0?s.lanes=1:i.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(b=g.children,i=g.fallback,k?(g=s.mode,k=s.child,b={mode:"hidden",children:b},(g&1)===0&&k!==null?(k.childLanes=0,k.pendingProps=b):k=Zd(b,g,0,null),i=lu(i,g,c,null),k.return=s,i.return=s,k.sibling=i,s.child=k,s.child.memoizedState=jd(c),s.memoizedState=Fd,i):mv(s,b));if(b=i.memoizedState,b!==null){if(he=b.dehydrated,he!==null){if(J)return s.flags&256?(s.flags&=-257,Ud(i,s,c,Error(r(422)))):s.memoizedState!==null?(s.child=i.child,s.flags|=128,null):(k=g.fallback,b=s.mode,g=Zd({mode:"visible",children:g.children},b,0,null),k=lu(k,b,c,null),k.flags|=2,g.return=s,k.return=s,g.sibling=k,s.child=g,(s.mode&1)!==0&&wl(s,i.child,null,c),s.child.memoizedState=jd(c),s.memoizedState=Fd,k);if((s.mode&1)===0)s=Ud(i,s,c,null);else if(he.data==="$!")s=Ud(i,s,c,Error(r(419)));else if(g=(c&i.childLanes)!==0,Fi||g){if(g=Vn,g!==null){switch(c&-c){case 4:k=2;break;case 16:k=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:k=32;break;case 536870912:k=268435456;break;default:k=0}g=(k&(g.suspendedLanes|c))!==0?0:k,g!==0&&g!==b.retryLane&&(b.retryLane=g,Co(i,g,-1))}kv(),s=Ud(i,s,c,Error(r(421)))}else he.data==="$?"?(s.flags|=128,s.child=i.child,s=wF.bind(null,i),he._reactRetry=s,s=null):(c=b.treeContext,$i=Ps(he.nextSibling),eo=s,pn=!0,Vo=null,c!==null&&(So[_o++]=Ns,So[_o++]=Ms,So[_o++]=tu,Ns=c.id,Ms=c.overflow,tu=s),s=mv(s,s.pendingProps.children),s.flags|=4096);return s}return k?(g=nx(i,s,g.children,g.fallback,c),k=s.child,b=i.child.memoizedState,k.memoizedState=b===null?jd(c):ex(b,c),k.childLanes=i.childLanes&~c,s.memoizedState=Fd,g):(c=rx(i,s,g.children,c),s.memoizedState=null,c)}return k?(g=nx(i,s,g.children,g.fallback,c),k=s.child,b=i.child.memoizedState,k.memoizedState=b===null?jd(c):ex(b,c),k.childLanes=i.childLanes&~c,s.memoizedState=Fd,g):(c=rx(i,s,g.children,c),s.memoizedState=null,c)}function mv(i,s){return s=Zd({mode:"visible",children:s},i.mode,0,null),s.return=i,i.child=s}function rx(i,s,c,g){var b=i.child;return i=b.sibling,c=Ea(b,{mode:"visible",children:c}),(s.mode&1)===0&&(c.lanes=g),c.return=s,c.sibling=null,i!==null&&(g=s.deletions,g===null?(s.deletions=[i],s.flags|=16):g.push(i)),s.child=c}function nx(i,s,c,g,b){var k=s.mode;i=i.child;var J=i.sibling,he={mode:"hidden",children:c};return(k&1)===0&&s.child!==i?(c=s.child,c.childLanes=0,c.pendingProps=he,s.deletions=null):(c=Ea(i,he),c.subtreeFlags=i.subtreeFlags&14680064),J!==null?g=Ea(J,g):(g=lu(g,k,b,null),g.flags|=2),g.return=s,c.return=s,c.sibling=g,s.child=c,g}function Ud(i,s,c,g){return g!==null&&Zg(g),wl(s,i.child,null,c),i=mv(s,s.pendingProps.children),i.flags|=2,s.memoizedState=null,i}function ix(i,s,c){i.lanes|=s;var g=i.alternate;g!==null&&(g.lanes|=s),Wg(i.return,s,c)}function yv(i,s,c,g,b){var k=i.memoizedState;k===null?i.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:g,tail:c,tailMode:b}:(k.isBackwards=s,k.rendering=null,k.renderingStartTime=0,k.last=g,k.tail=c,k.tailMode=b)}function ox(i,s,c){var g=s.pendingProps,b=g.revealOrder,k=g.tail;if(Ei(i,s,g.children,c),g=mn.current,(g&2)!==0)g=g&1|2,s.flags|=128;else{if(i!==null&&(i.flags&128)!==0)e:for(i=s.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&ix(i,c,s);else if(i.tag===19)ix(i,c,s);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===s)break e;for(;i.sibling===null;){if(i.return===null||i.return===s)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}g&=1}if(on(mn,g),(s.mode&1)===0)s.memoizedState=null;else switch(b){case"forwards":for(c=s.child,b=null;c!==null;)i=c.alternate,i!==null&&kd(i)===null&&(b=c),c=c.sibling;c=b,c===null?(b=s.child,s.child=null):(b=c.sibling,c.sibling=null),yv(s,!1,b,c,k);break;case"backwards":for(c=null,b=s.child,s.child=null;b!==null;){if(i=b.alternate,i!==null&&kd(i)===null){s.child=b;break}i=b.sibling,b.sibling=c,c=b,b=i}yv(s,!0,c,null,k);break;case"together":yv(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function $s(i,s,c){if(i!==null&&(s.dependencies=i.dependencies),ou|=s.lanes,(c&s.childLanes)===0)return null;if(i!==null&&s.child!==i.child)throw Error(r(153));if(s.child!==null){for(i=s.child,c=Ea(i,i.pendingProps),s.child=c,c.return=s;i.sibling!==null;)i=i.sibling,c=c.sibling=Ea(i,i.pendingProps),c.return=s;c.sibling=null}return s.child}function uF(i,s,c){switch(s.tag){case 3:Jb(s),yl();break;case 5:vb(s);break;case 1:Mi(s.type)&&_d(s);break;case 4:ev(s,s.stateNode.containerInfo);break;case 10:var g=s.type._context,b=s.memoizedProps.value;on(xd,g._currentValue),g._currentValue=b;break;case 13:if(g=s.memoizedState,g!==null)return g.dehydrated!==null?(on(mn,mn.current&1),s.flags|=128,null):(c&s.child.childLanes)!==0?tx(i,s,c):(on(mn,mn.current&1),i=$s(i,s,c),i!==null?i.sibling:null);on(mn,mn.current&1);break;case 19:if(g=(c&s.childLanes)!==0,(i.flags&128)!==0){if(g)return ox(i,s,c);s.flags|=128}if(b=s.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),on(mn,mn.current),g)break;return null;case 22:case 23:return s.lanes=0,Kb(i,s,c)}return $s(i,s,c)}function lF(i,s){switch(Xg(s),s.tag){case 1:return Mi(s.type)&&Sd(),i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 3:return El(),fn(Ni),fn(ai),nv(),i=s.flags,(i&65536)!==0&&(i&128)===0?(s.flags=i&-65537|128,s):null;case 5:return tv(s),null;case 13:if(fn(mn),i=s.memoizedState,i!==null&&i.dehydrated!==null){if(s.alternate===null)throw Error(r(340));yl()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 19:return fn(mn),null;case 4:return El(),null;case 10:return zg(s.type._context),null;case 22:case 23:return Pv(),null;case 24:return null;default:return null}}var Vd=!1,ci=!1,cF=typeof WeakSet=="function"?WeakSet:Set,Pt=null;function Sl(i,s){var c=i.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(g){Sn(i,s,g)}else c.current=null}function wv(i,s,c){try{c()}catch(g){Sn(i,s,g)}}var sx=!1;function fF(i,s){if(Dg=ts,i=tr(),hr(i)){if("selectionStart"in i)var c={start:i.selectionStart,end:i.selectionEnd};else e:{c=(c=i.ownerDocument)&&c.defaultView||window;var g=c.getSelection&&c.getSelection();if(g&&g.rangeCount!==0){c=g.anchorNode;var b=g.anchorOffset,k=g.focusNode;g=g.focusOffset;try{c.nodeType,k.nodeType}catch{c=null;break e}var J=0,he=-1,Ie=-1,Ke=0,ft=0,Ct=i,ot=null;t:for(;;){for(var Ot;Ct!==c||b!==0&&Ct.nodeType!==3||(he=J+b),Ct!==k||g!==0&&Ct.nodeType!==3||(Ie=J+g),Ct.nodeType===3&&(J+=Ct.nodeValue.length),(Ot=Ct.firstChild)!==null;)ot=Ct,Ct=Ot;for(;;){if(Ct===i)break t;if(ot===c&&++Ke===b&&(he=J),ot===k&&++ft===g&&(Ie=J),(Ot=Ct.nextSibling)!==null)break;Ct=ot,ot=Ct.parentNode}Ct=Ot}c=he===-1||Ie===-1?null:{start:he,end:Ie}}else c=null}c=c||{start:0,end:0}}else c=null;for(Ng={focusedElem:i,selectionRange:c},ts=!1,Pt=s;Pt!==null;)if(s=Pt,i=s.child,(s.subtreeFlags&1028)!==0&&i!==null)i.return=s,Pt=i;else for(;Pt!==null;){s=Pt;try{var xt=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(xt!==null){var ar=xt.memoizedProps,An=xt.memoizedState,Ve=s.stateNode,De=Ve.getSnapshotBeforeUpdate(s.elementType===s.type?ar:jo(s.type,ar),An);Ve.__reactInternalSnapshotBeforeUpdate=De}break;case 3:var We=s.stateNode.containerInfo;if(We.nodeType===1)We.textContent="";else if(We.nodeType===9){var wt=We.body;wt!=null&&(wt.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(Dt){Sn(s,s.return,Dt)}if(i=s.sibling,i!==null){i.return=s.return,Pt=i;break}Pt=s.return}return xt=sx,sx=!1,xt}function zc(i,s,c){var g=s.updateQueue;if(g=g!==null?g.lastEffect:null,g!==null){var b=g=g.next;do{if((b.tag&i)===i){var k=b.destroy;b.destroy=void 0,k!==void 0&&wv(s,c,k)}b=b.next}while(b!==g)}}function Hd(i,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var c=s=s.next;do{if((c.tag&i)===i){var g=c.create;c.destroy=g()}c=c.next}while(c!==s)}}function Ev(i){var s=i.ref;if(s!==null){var c=i.stateNode;switch(i.tag){case 5:i=c;break;default:i=c}typeof s=="function"?s(i):s.current=i}}function ax(i){var s=i.alternate;s!==null&&(i.alternate=null,ax(s)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(s=i.stateNode,s!==null&&(delete s[ss],delete s[kc],delete s[jg],delete s[Y$],delete s[K$])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function ux(i){return i.tag===5||i.tag===3||i.tag===4}function lx(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||ux(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Sv(i,s,c){var g=i.tag;if(g===5||g===6)i=i.stateNode,s?c.nodeType===8?c.parentNode.insertBefore(i,s):c.insertBefore(i,s):(c.nodeType===8?(s=c.parentNode,s.insertBefore(i,c)):(s=c,s.appendChild(i)),c=c._reactRootContainer,c!=null||s.onclick!==null||(s.onclick=wd));else if(g!==4&&(i=i.child,i!==null))for(Sv(i,s,c),i=i.sibling;i!==null;)Sv(i,s,c),i=i.sibling}function _v(i,s,c){var g=i.tag;if(g===5||g===6)i=i.stateNode,s?c.insertBefore(i,s):c.appendChild(i);else if(g!==4&&(i=i.child,i!==null))for(_v(i,s,c),i=i.sibling;i!==null;)_v(i,s,c),i=i.sibling}var Qn=null,Ho=!1;function ga(i,s,c){for(c=c.child;c!==null;)cx(i,s,c),c=c.sibling}function cx(i,s,c){if($r&&typeof $r.onCommitFiberUnmount=="function")try{$r.onCommitFiberUnmount(Lr,c)}catch{}switch(c.tag){case 5:ci||Sl(c,s);case 6:var g=Qn,b=Ho;Qn=null,ga(i,s,c),Qn=g,Ho=b,Qn!==null&&(Ho?(i=Qn,c=c.stateNode,i.nodeType===8?i.parentNode.removeChild(c):i.removeChild(c)):Qn.removeChild(c.stateNode));break;case 18:Qn!==null&&(Ho?(i=Qn,c=c.stateNode,i.nodeType===8?Fg(i.parentNode,c):i.nodeType===1&&Fg(i,c),vo(i)):Fg(Qn,c.stateNode));break;case 4:g=Qn,b=Ho,Qn=c.stateNode.containerInfo,Ho=!0,ga(i,s,c),Qn=g,Ho=b;break;case 0:case 11:case 14:case 15:if(!ci&&(g=c.updateQueue,g!==null&&(g=g.lastEffect,g!==null))){b=g=g.next;do{var k=b,J=k.destroy;k=k.tag,J!==void 0&&((k&2)!==0||(k&4)!==0)&&wv(c,s,J),b=b.next}while(b!==g)}ga(i,s,c);break;case 1:if(!ci&&(Sl(c,s),g=c.stateNode,typeof g.componentWillUnmount=="function"))try{g.props=c.memoizedProps,g.state=c.memoizedState,g.componentWillUnmount()}catch(he){Sn(c,s,he)}ga(i,s,c);break;case 21:ga(i,s,c);break;case 22:c.mode&1?(ci=(g=ci)||c.memoizedState!==null,ga(i,s,c),ci=g):ga(i,s,c);break;default:ga(i,s,c)}}function fx(i){var s=i.updateQueue;if(s!==null){i.updateQueue=null;var c=i.stateNode;c===null&&(c=i.stateNode=new cF),s.forEach(function(g){var b=EF.bind(null,i,g);c.has(g)||(c.add(g),g.then(b,b))})}}function Bo(i,s){var c=s.deletions;if(c!==null)for(var g=0;g<c.length;g++){var b=c[g];try{var k=i,J=s,he=J;e:for(;he!==null;){switch(he.tag){case 5:Qn=he.stateNode,Ho=!1;break e;case 3:Qn=he.stateNode.containerInfo,Ho=!0;break e;case 4:Qn=he.stateNode.containerInfo,Ho=!0;break e}he=he.return}if(Qn===null)throw Error(r(160));cx(k,J,b),Qn=null,Ho=!1;var Ie=b.alternate;Ie!==null&&(Ie.return=null),b.return=null}catch(Ke){Sn(b,s,Ke)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)dx(s,i),s=s.sibling}function dx(i,s){var c=i.alternate,g=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(Bo(s,i),ls(i),g&4){try{zc(3,i,i.return),Hd(3,i)}catch(xt){Sn(i,i.return,xt)}try{zc(5,i,i.return)}catch(xt){Sn(i,i.return,xt)}}break;case 1:Bo(s,i),ls(i),g&512&&c!==null&&Sl(c,c.return);break;case 5:if(Bo(s,i),ls(i),g&512&&c!==null&&Sl(c,c.return),i.flags&32){var b=i.stateNode;try{br(b,"")}catch(xt){Sn(i,i.return,xt)}}if(g&4&&(b=i.stateNode,b!=null)){var k=i.memoizedProps,J=c!==null?c.memoizedProps:k,he=i.type,Ie=i.updateQueue;if(i.updateQueue=null,Ie!==null)try{he==="input"&&k.type==="radio"&&k.name!=null&&pe(b,k),Et(he,J);var Ke=Et(he,k);for(J=0;J<Ie.length;J+=2){var ft=Ie[J],Ct=Ie[J+1];ft==="style"?Rr(b,Ct):ft==="dangerouslySetInnerHTML"?Ut(b,Ct):ft==="children"?br(b,Ct):H(b,ft,Ct,Ke)}switch(he){case"input":ue(b,k);break;case"textarea":He(b,k);break;case"select":var ot=b._wrapperState.wasMultiple;b._wrapperState.wasMultiple=!!k.multiple;var Ot=k.value;Ot!=null?Se(b,!!k.multiple,Ot,!1):ot!==!!k.multiple&&(k.defaultValue!=null?Se(b,!!k.multiple,k.defaultValue,!0):Se(b,!!k.multiple,k.multiple?[]:"",!1))}b[kc]=k}catch(xt){Sn(i,i.return,xt)}}break;case 6:if(Bo(s,i),ls(i),g&4){if(i.stateNode===null)throw Error(r(162));Ke=i.stateNode,ft=i.memoizedProps;try{Ke.nodeValue=ft}catch(xt){Sn(i,i.return,xt)}}break;case 3:if(Bo(s,i),ls(i),g&4&&c!==null&&c.memoizedState.isDehydrated)try{vo(s.containerInfo)}catch(xt){Sn(i,i.return,xt)}break;case 4:Bo(s,i),ls(i);break;case 13:Bo(s,i),ls(i),Ke=i.child,Ke.flags&8192&&Ke.memoizedState!==null&&(Ke.alternate===null||Ke.alternate.memoizedState===null)&&(Cv=Ge()),g&4&&fx(i);break;case 22:if(Ke=c!==null&&c.memoizedState!==null,i.mode&1?(ci=(ft=ci)||Ke,Bo(s,i),ci=ft):Bo(s,i),ls(i),g&8192){ft=i.memoizedState!==null;e:for(Ct=null,ot=i;;){if(ot.tag===5){if(Ct===null){Ct=ot;try{b=ot.stateNode,ft?(k=b.style,typeof k.setProperty=="function"?k.setProperty("display","none","important"):k.display="none"):(he=ot.stateNode,Ie=ot.memoizedProps.style,J=Ie!=null&&Ie.hasOwnProperty("display")?Ie.display:null,he.style.display=xr("display",J))}catch(xt){Sn(i,i.return,xt)}}}else if(ot.tag===6){if(Ct===null)try{ot.stateNode.nodeValue=ft?"":ot.memoizedProps}catch(xt){Sn(i,i.return,xt)}}else if((ot.tag!==22&&ot.tag!==23||ot.memoizedState===null||ot===i)&&ot.child!==null){ot.child.return=ot,ot=ot.child;continue}if(ot===i)break e;for(;ot.sibling===null;){if(ot.return===null||ot.return===i)break e;Ct===ot&&(Ct=null),ot=ot.return}Ct===ot&&(Ct=null),ot.sibling.return=ot.return,ot=ot.sibling}if(ft&&!Ke&&(i.mode&1)!==0)for(Pt=i,i=i.child;i!==null;){for(Ke=Pt=i;Pt!==null;){switch(ft=Pt,Ct=ft.child,ft.tag){case 0:case 11:case 14:case 15:zc(4,ft,ft.return);break;case 1:if(Sl(ft,ft.return),k=ft.stateNode,typeof k.componentWillUnmount=="function"){ot=ft,Ot=ft.return;try{b=ot,k.props=b.memoizedProps,k.state=b.memoizedState,k.componentWillUnmount()}catch(xt){Sn(ot,Ot,xt)}}break;case 5:Sl(ft,ft.return);break;case 22:if(ft.memoizedState!==null){gx(Ke);continue}}Ct!==null?(Ct.return=ft,Pt=Ct):gx(Ke)}i=i.sibling}}break;case 19:Bo(s,i),ls(i),g&4&&fx(i);break;case 21:break;default:Bo(s,i),ls(i)}}function ls(i){var s=i.flags;if(s&2){try{e:{for(var c=i.return;c!==null;){if(ux(c)){var g=c;break e}c=c.return}throw Error(r(160))}switch(g.tag){case 5:var b=g.stateNode;g.flags&32&&(br(b,""),g.flags&=-33);var k=lx(i);_v(i,k,b);break;case 3:case 4:var J=g.stateNode.containerInfo,he=lx(i);Sv(i,he,J);break;default:throw Error(r(161))}}catch(Ie){Sn(i,i.return,Ie)}i.flags&=-3}s&4096&&(i.flags&=-4097)}function dF(i,s,c){Pt=i,hx(i)}function hx(i,s,c){for(var g=(i.mode&1)!==0;Pt!==null;){var b=Pt,k=b.child;if(b.tag===22&&g){var J=b.memoizedState!==null||Vd;if(!J){var he=b.alternate,Ie=he!==null&&he.memoizedState!==null||ci;he=Vd;var Ke=ci;if(Vd=J,(ci=Ie)&&!Ke)for(Pt=b;Pt!==null;)J=Pt,Ie=J.child,J.tag===22&&J.memoizedState!==null?vx(b):Ie!==null?(Ie.return=J,Pt=Ie):vx(b);for(;k!==null;)Pt=k,hx(k),k=k.sibling;Pt=b,Vd=he,ci=Ke}px(i)}else(b.subtreeFlags&8772)!==0&&k!==null?(k.return=b,Pt=k):px(i)}}function px(i){for(;Pt!==null;){var s=Pt;if((s.flags&8772)!==0){var c=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:ci||Hd(5,s);break;case 1:var g=s.stateNode;if(s.flags&4&&!ci)if(c===null)g.componentDidMount();else{var b=s.elementType===s.type?c.memoizedProps:jo(s.type,c.memoizedProps);g.componentDidUpdate(b,c.memoizedState,g.__reactInternalSnapshotBeforeUpdate)}var k=s.updateQueue;k!==null&&ib(s,k,g);break;case 3:var J=s.updateQueue;if(J!==null){if(c=null,s.child!==null)switch(s.child.tag){case 5:c=s.child.stateNode;break;case 1:c=s.child.stateNode}ib(s,J,c)}break;case 5:var he=s.stateNode;if(c===null&&s.flags&4){c=he;var Ie=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":Ie.autoFocus&&c.focus();break;case"img":Ie.src&&(c.src=Ie.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var Ke=s.alternate;if(Ke!==null){var ft=Ke.memoizedState;if(ft!==null){var Ct=ft.dehydrated;Ct!==null&&vo(Ct)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(r(163))}ci||s.flags&512&&Ev(s)}catch(ot){Sn(s,s.return,ot)}}if(s===i){Pt=null;break}if(c=s.sibling,c!==null){c.return=s.return,Pt=c;break}Pt=s.return}}function gx(i){for(;Pt!==null;){var s=Pt;if(s===i){Pt=null;break}var c=s.sibling;if(c!==null){c.return=s.return,Pt=c;break}Pt=s.return}}function vx(i){for(;Pt!==null;){var s=Pt;try{switch(s.tag){case 0:case 11:case 15:var c=s.return;try{Hd(4,s)}catch(Ie){Sn(s,c,Ie)}break;case 1:var g=s.stateNode;if(typeof g.componentDidMount=="function"){var b=s.return;try{g.componentDidMount()}catch(Ie){Sn(s,b,Ie)}}var k=s.return;try{Ev(s)}catch(Ie){Sn(s,k,Ie)}break;case 5:var J=s.return;try{Ev(s)}catch(Ie){Sn(s,J,Ie)}}}catch(Ie){Sn(s,s.return,Ie)}if(s===i){Pt=null;break}var he=s.sibling;if(he!==null){he.return=s.return,Pt=he;break}Pt=s.return}}var hF=Math.ceil,Bd=V.ReactCurrentDispatcher,bv=V.ReactCurrentOwner,xo=V.ReactCurrentBatchConfig,Dr=0,Vn=null,$n=null,Jn=0,to=0,_l=ca(0),Hn=0,Wc=null,ou=0,zd=0,xv=0,qc=null,ji=null,Cv=0,bl=1/0,Fs=null,Wd=!1,Tv=null,va=null,qd=!1,ma=null,Gd=0,Gc=0,Av=null,Yd=-1,Kd=0;function Si(){return(Dr&6)!==0?Ge():Yd!==-1?Yd:Yd=Ge()}function ya(i){return(i.mode&1)===0?1:(Dr&2)!==0&&Jn!==0?Jn&-Jn:Q$.transition!==null?(Kd===0&&(Kd=Ce()),Kd):(i=St,i!==0||(i=window.event,i=i===void 0?16:nl(i.type)),i)}function Co(i,s,c){if(50<Gc)throw Gc=0,Av=null,Error(r(185));var g=Xd(i,s);return g===null?null:(Fe(g,s,c),((Dr&2)===0||g!==Vn)&&(g===Vn&&((Dr&2)===0&&(zd|=s),Hn===4&&wa(g,Jn)),Ui(g,c),s===1&&Dr===0&&(i.mode&1)===0&&(bl=Ge()+500,bd&&da())),g)}function Xd(i,s){i.lanes|=s;var c=i.alternate;for(c!==null&&(c.lanes|=s),c=i,i=i.return;i!==null;)i.childLanes|=s,c=i.alternate,c!==null&&(c.childLanes|=s),c=i,i=i.return;return c.tag===3?c.stateNode:null}function mx(i){return(Vn!==null||Uo!==null)&&(i.mode&1)!==0&&(Dr&2)===0}function Ui(i,s){var c=i.callbackNode;z(i,s);var g=Pi(i,i===Vn?Jn:0);if(g===0)c!==null&&Xi(c),i.callbackNode=null,i.callbackPriority=0;else if(s=g&-g,i.callbackPriority!==s){if(c!=null&&Xi(c),s===1)i.tag===0?X$(wx.bind(null,i)):tb(wx.bind(null,i)),q$(function(){Dr===0&&da()}),c=null;else{switch(cr(g)){case 1:c=ct;break;case 4:c=Ht;break;case 16:c=Tt;break;case 536870912:c=Or;break;default:c=Tt}c=Ax(c,yx.bind(null,i))}i.callbackPriority=s,i.callbackNode=c}}function yx(i,s){if(Yd=-1,Kd=0,(Dr&6)!==0)throw Error(r(327));var c=i.callbackNode;if(xl()&&i.callbackNode!==c)return null;var g=Pi(i,i===Vn?Jn:0);if(g===0)return null;if((g&30)!==0||(g&i.expiredLanes)!==0||s)s=Qd(i,g);else{s=g;var b=Dr;Dr|=2;var k=Sx();(Vn!==i||Jn!==s)&&(Fs=null,bl=Ge()+500,au(i,s));do try{vF();break}catch(he){Ex(i,he)}while(!0);Bg(),Bd.current=k,Dr=b,$n!==null?s=0:(Vn=null,Jn=0,s=Hn)}if(s!==0){if(s===2&&(b=te(i),b!==0&&(g=b,s=Rv(i,b))),s===1)throw c=Wc,au(i,0),wa(i,g),Ui(i,Ge()),c;if(s===6)wa(i,g);else{if(b=i.current.alternate,(g&30)===0&&!pF(b)&&(s=Qd(i,g),s===2&&(k=te(i),k!==0&&(g=k,s=Rv(i,k))),s===1))throw c=Wc,au(i,0),wa(i,g),Ui(i,Ge()),c;switch(i.finishedWork=b,i.finishedLanes=g,s){case 0:case 1:throw Error(r(345));case 2:uu(i,ji,Fs);break;case 3:if(wa(i,g),(g&130023424)===g&&(s=Cv+500-Ge(),10<s)){if(Pi(i,0)!==0)break;if(b=i.suspendedLanes,(b&g)!==g){Si(),i.pingedLanes|=i.suspendedLanes&b;break}i.timeoutHandle=$g(uu.bind(null,i,ji,Fs),s);break}uu(i,ji,Fs);break;case 4:if(wa(i,g),(g&4194240)===g)break;for(s=i.eventTimes,b=-1;0<g;){var J=31-lr(g);k=1<<J,J=s[J],J>b&&(b=J),g&=~k}if(g=b,g=Ge()-g,g=(120>g?120:480>g?480:1080>g?1080:1920>g?1920:3e3>g?3e3:4320>g?4320:1960*hF(g/1960))-g,10<g){i.timeoutHandle=$g(uu.bind(null,i,ji,Fs),g);break}uu(i,ji,Fs);break;case 5:uu(i,ji,Fs);break;default:throw Error(r(329))}}}return Ui(i,Ge()),i.callbackNode===c?yx.bind(null,i):null}function Rv(i,s){var c=qc;return i.current.memoizedState.isDehydrated&&(au(i,s).flags|=256),i=Qd(i,s),i!==2&&(s=ji,ji=c,s!==null&&Ov(s)),i}function Ov(i){ji===null?ji=i:ji.push.apply(ji,i)}function pF(i){for(var s=i;;){if(s.flags&16384){var c=s.updateQueue;if(c!==null&&(c=c.stores,c!==null))for(var g=0;g<c.length;g++){var b=c[g],k=b.getSnapshot;b=b.value;try{if(!bt(k(),b))return!1}catch{return!1}}}if(c=s.child,s.subtreeFlags&16384&&c!==null)c.return=s,s=c;else{if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function wa(i,s){for(s&=~xv,s&=~zd,i.suspendedLanes|=s,i.pingedLanes&=~s,i=i.expirationTimes;0<s;){var c=31-lr(s),g=1<<c;i[c]=-1,s&=~g}}function wx(i){if((Dr&6)!==0)throw Error(r(327));xl();var s=Pi(i,0);if((s&1)===0)return Ui(i,Ge()),null;var c=Qd(i,s);if(i.tag!==0&&c===2){var g=te(i);g!==0&&(s=g,c=Rv(i,g))}if(c===1)throw c=Wc,au(i,0),wa(i,s),Ui(i,Ge()),c;if(c===6)throw Error(r(345));return i.finishedWork=i.current.alternate,i.finishedLanes=s,uu(i,ji,Fs),Ui(i,Ge()),null}function Iv(i,s){var c=Dr;Dr|=1;try{return i(s)}finally{Dr=c,Dr===0&&(bl=Ge()+500,bd&&da())}}function su(i){ma!==null&&ma.tag===0&&(Dr&6)===0&&xl();var s=Dr;Dr|=1;var c=xo.transition,g=St;try{if(xo.transition=null,St=1,i)return i()}finally{St=g,xo.transition=c,Dr=s,(Dr&6)===0&&da()}}function Pv(){to=_l.current,fn(_l)}function au(i,s){i.finishedWork=null,i.finishedLanes=0;var c=i.timeoutHandle;if(c!==-1&&(i.timeoutHandle=-1,W$(c)),$n!==null)for(c=$n.return;c!==null;){var g=c;switch(Xg(g),g.tag){case 1:g=g.type.childContextTypes,g!=null&&Sd();break;case 3:El(),fn(Ni),fn(ai),nv();break;case 5:tv(g);break;case 4:El();break;case 13:fn(mn);break;case 19:fn(mn);break;case 10:zg(g.type._context);break;case 22:case 23:Pv()}c=c.return}if(Vn=i,$n=i=Ea(i.current,null),Jn=to=s,Hn=0,Wc=null,xv=zd=ou=0,ji=qc=null,Uo!==null){for(s=0;s<Uo.length;s++)if(c=Uo[s],g=c.interleaved,g!==null){c.interleaved=null;var b=g.next,k=c.pending;if(k!==null){var J=k.next;k.next=b,g.next=J}c.pending=g}Uo=null}return i}function Ex(i,s){do{var c=$n;try{if(Bg(),Ld.current=$d,Dd){for(var g=yn.memoizedState;g!==null;){var b=g.queue;b!==null&&(b.pending=null),g=g.next}Dd=!1}if(iu=0,Gn=Un=yn=null,jc=!1,Uc=0,bv.current=null,c===null||c.return===null){Hn=1,Wc=s,$n=null;break}e:{var k=i,J=c.return,he=c,Ie=s;if(s=Jn,he.flags|=32768,Ie!==null&&typeof Ie=="object"&&typeof Ie.then=="function"){var Ke=Ie,ft=he,Ct=ft.tag;if((ft.mode&1)===0&&(Ct===0||Ct===11||Ct===15)){var ot=ft.alternate;ot?(ft.updateQueue=ot.updateQueue,ft.memoizedState=ot.memoizedState,ft.lanes=ot.lanes):(ft.updateQueue=null,ft.memoizedState=null)}var Ot=Vb(J);if(Ot!==null){Ot.flags&=-257,Hb(Ot,J,he,k,s),Ot.mode&1&&Ub(k,Ke,s),s=Ot,Ie=Ke;var xt=s.updateQueue;if(xt===null){var ar=new Set;ar.add(Ie),s.updateQueue=ar}else xt.add(Ie);break e}else{if((s&1)===0){Ub(k,Ke,s),kv();break e}Ie=Error(r(426))}}else if(pn&&he.mode&1){var An=Vb(J);if(An!==null){(An.flags&65536)===0&&(An.flags|=256),Hb(An,J,he,k,s),Zg(Ie);break e}}k=Ie,Hn!==4&&(Hn=2),qc===null?qc=[k]:qc.push(k),Ie=dv(Ie,he),he=J;do{switch(he.tag){case 3:he.flags|=65536,s&=-s,he.lanes|=s;var Ve=Fb(he,Ie,s);nb(he,Ve);break e;case 1:k=Ie;var De=he.type,We=he.stateNode;if((he.flags&128)===0&&(typeof De.getDerivedStateFromError=="function"||We!==null&&typeof We.componentDidCatch=="function"&&(va===null||!va.has(We)))){he.flags|=65536,s&=-s,he.lanes|=s;var wt=jb(he,k,s);nb(he,wt);break e}}he=he.return}while(he!==null)}bx(c)}catch(Dt){s=Dt,$n===c&&c!==null&&($n=c=c.return);continue}break}while(!0)}function Sx(){var i=Bd.current;return Bd.current=$d,i===null?$d:i}function kv(){(Hn===0||Hn===3||Hn===2)&&(Hn=4),Vn===null||(ou&268435455)===0&&(zd&268435455)===0||wa(Vn,Jn)}function Qd(i,s){var c=Dr;Dr|=2;var g=Sx();(Vn!==i||Jn!==s)&&(Fs=null,au(i,s));do try{gF();break}catch(b){Ex(i,b)}while(!0);if(Bg(),Dr=c,Bd.current=g,$n!==null)throw Error(r(261));return Vn=null,Jn=0,Hn}function gF(){for(;$n!==null;)_x($n)}function vF(){for(;$n!==null&&!fe();)_x($n)}function _x(i){var s=Tx(i.alternate,i,to);i.memoizedProps=i.pendingProps,s===null?bx(i):$n=s,bv.current=null}function bx(i){var s=i;do{var c=s.alternate;if(i=s.return,(s.flags&32768)===0){if(c=sF(c,s,to),c!==null){$n=c;return}}else{if(c=lF(c,s),c!==null){c.flags&=32767,$n=c;return}if(i!==null)i.flags|=32768,i.subtreeFlags=0,i.deletions=null;else{Hn=6,$n=null;return}}if(s=s.sibling,s!==null){$n=s;return}$n=s=i}while(s!==null);Hn===0&&(Hn=5)}function uu(i,s,c){var g=St,b=xo.transition;try{xo.transition=null,St=1,mF(i,s,c,g)}finally{xo.transition=b,St=g}return null}function mF(i,s,c,g){do xl();while(ma!==null);if((Dr&6)!==0)throw Error(r(327));c=i.finishedWork;var b=i.finishedLanes;if(c===null)return null;if(i.finishedWork=null,i.finishedLanes=0,c===i.current)throw Error(r(177));i.callbackNode=null,i.callbackPriority=0;var k=c.lanes|c.childLanes;if(st(i,k),i===Vn&&($n=Vn=null,Jn=0),(c.subtreeFlags&2064)===0&&(c.flags&2064)===0||qd||(qd=!0,Ax(Tt,function(){return xl(),null})),k=(c.flags&15990)!==0,(c.subtreeFlags&15990)!==0||k){k=xo.transition,xo.transition=null;var J=St;St=1;var he=Dr;Dr|=4,bv.current=null,fF(i,c),dx(c,i),Bt(Ng),ts=!!Dg,Ng=Dg=null,i.current=c,dF(c),Ze(),Dr=he,St=J,xo.transition=k}else i.current=c;if(qd&&(qd=!1,ma=i,Gd=b),k=i.pendingLanes,k===0&&(va=null),lt(c.stateNode),Ui(i,Ge()),s!==null)for(g=i.onRecoverableError,c=0;c<s.length;c++)g(s[c]);if(Wd)throw Wd=!1,i=Tv,Tv=null,i;return(Gd&1)!==0&&i.tag!==0&&xl(),k=i.pendingLanes,(k&1)!==0?i===Av?Gc++:(Gc=0,Av=i):Gc=0,da(),null}function xl(){if(ma!==null){var i=cr(Gd),s=xo.transition,c=St;try{if(xo.transition=null,St=16>i?16:i,ma===null)var g=!1;else{if(i=ma,ma=null,Gd=0,(Dr&6)!==0)throw Error(r(331));var b=Dr;for(Dr|=4,Pt=i.current;Pt!==null;){var k=Pt,J=k.child;if((Pt.flags&16)!==0){var he=k.deletions;if(he!==null){for(var Ie=0;Ie<he.length;Ie++){var Ke=he[Ie];for(Pt=Ke;Pt!==null;){var ft=Pt;switch(ft.tag){case 0:case 11:case 15:zc(8,ft,k)}var Ct=ft.child;if(Ct!==null)Ct.return=ft,Pt=Ct;else for(;Pt!==null;){ft=Pt;var ot=ft.sibling,Ot=ft.return;if(ax(ft),ft===Ke){Pt=null;break}if(ot!==null){ot.return=Ot,Pt=ot;break}Pt=Ot}}}var xt=k.alternate;if(xt!==null){var ar=xt.child;if(ar!==null){xt.child=null;do{var An=ar.sibling;ar.sibling=null,ar=An}while(ar!==null)}}Pt=k}}if((k.subtreeFlags&2064)!==0&&J!==null)J.return=k,Pt=J;else e:for(;Pt!==null;){if(k=Pt,(k.flags&2048)!==0)switch(k.tag){case 0:case 11:case 15:zc(9,k,k.return)}var Ve=k.sibling;if(Ve!==null){Ve.return=k.return,Pt=Ve;break e}Pt=k.return}}var De=i.current;for(Pt=De;Pt!==null;){J=Pt;var We=J.child;if((J.subtreeFlags&2064)!==0&&We!==null)We.return=J,Pt=We;else e:for(J=De;Pt!==null;){if(he=Pt,(he.flags&2048)!==0)try{switch(he.tag){case 0:case 11:case 15:Hd(9,he)}}catch(Dt){Sn(he,he.return,Dt)}if(he===J){Pt=null;break e}var wt=he.sibling;if(wt!==null){wt.return=he.return,Pt=wt;break e}Pt=he.return}}if(Dr=b,da(),$r&&typeof $r.onPostCommitFiberRoot=="function")try{$r.onPostCommitFiberRoot(Lr,i)}catch{}g=!0}return g}finally{St=c,xo.transition=s}}return!1}function xx(i,s,c){s=dv(c,s),s=Fb(i,s,1),pa(i,s),s=Si(),i=Xd(i,1),i!==null&&(Fe(i,1,s),Ui(i,s))}function Sn(i,s,c){if(i.tag===3)xx(i,i,c);else for(;s!==null;){if(s.tag===3){xx(s,i,c);break}else if(s.tag===1){var g=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(va===null||!va.has(g))){i=dv(c,i),i=jb(s,i,1),pa(s,i),i=Si(),s=Xd(s,1),s!==null&&(Fe(s,1,i),Ui(s,i));break}}s=s.return}}function yF(i,s,c){var g=i.pingCache;g!==null&&g.delete(s),s=Si(),i.pingedLanes|=i.suspendedLanes&c,Vn===i&&(Jn&c)===c&&(Hn===4||Hn===3&&(Jn&130023424)===Jn&&500>Ge()-Cv?au(i,0):xv|=c),Ui(i,s)}function Cx(i,s){s===0&&((i.mode&1)===0?s=1:(s=wi,wi<<=1,(wi&130023424)===0&&(wi=4194304)));var c=Si();i=Xd(i,s),i!==null&&(Fe(i,s,c),Ui(i,c))}function wF(i){var s=i.memoizedState,c=0;s!==null&&(c=s.retryLane),Cx(i,c)}function EF(i,s){var c=0;switch(i.tag){case 13:var g=i.stateNode,b=i.memoizedState;b!==null&&(c=b.retryLane);break;case 19:g=i.stateNode;break;default:throw Error(r(314))}g!==null&&g.delete(s),Cx(i,c)}var Tx;Tx=function(i,s,c){if(i!==null)if(i.memoizedProps!==s.pendingProps||Ni.current)Fi=!0;else{if((i.lanes&c)===0&&(s.flags&128)===0)return Fi=!1,uF(i,s,c);Fi=(i.flags&131072)!==0}else Fi=!1,pn&&(s.flags&1048576)!==0&&lb(s,Id,s.index);switch(s.lanes=0,s.tag){case 2:var g=s.type;i!==null&&(i.alternate=null,s.alternate=null,s.flags|=2),i=s.pendingProps;var b=hl(s,ai.current);gl(s,c),b=sv(null,s,g,i,b,c);var k=av();return s.flags|=1,typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Mi(g)?(k=!0,_d(s)):k=!1,s.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,qg(s),b.updater=Rd,s.stateNode=b,b._reactInternals=s,Yg(s,g,i,c),s=vv(null,s,g,!0,k,c)):(s.tag=0,pn&&k&&Kg(s),Ei(null,s,b,c),s=s.child),s;case 16:g=s.elementType;e:{switch(i!==null&&(i.alternate=null,s.alternate=null,s.flags|=2),i=s.pendingProps,b=g._init,g=b(g._payload),s.type=g,b=s.tag=_F(g),i=jo(g,i),b){case 0:s=gv(null,s,g,i,c);break e;case 1:s=Qb(null,s,g,i,c);break e;case 11:s=qb(null,s,g,i,c);break e;case 14:s=Gb(null,s,g,jo(g.type,i),c);break e}throw Error(r(306,g,""))}return s;case 0:return g=s.type,b=s.pendingProps,b=s.elementType===g?b:jo(g,b),gv(i,s,g,b,c);case 1:return g=s.type,b=s.pendingProps,b=s.elementType===g?b:jo(g,b),Qb(i,s,g,b,c);case 3:e:{if(Jb(s),i===null)throw Error(r(387));g=s.pendingProps,k=s.memoizedState,b=k.element,rb(i,s),Ad(s,g,null,c);var J=s.memoizedState;if(g=J.element,k.isDehydrated)if(k={element:g,isDehydrated:!1,cache:J.cache,pendingSuspenseBoundaries:J.pendingSuspenseBoundaries,transitions:J.transitions},s.updateQueue.baseState=k,s.memoizedState=k,s.flags&256){b=Error(r(423)),s=Zb(i,s,g,c,b);break e}else if(g!==b){b=Error(r(424)),s=Zb(i,s,g,c,b);break e}else for($i=Ps(s.stateNode.containerInfo.firstChild),eo=s,pn=!0,Vo=null,c=gb(s,null,g,c),s.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(yl(),g===b){s=$s(i,s,c);break e}Ei(i,s,g,c)}s=s.child}return s;case 5:return vb(s),i===null&&Jg(s),g=s.type,b=s.pendingProps,k=i!==null?i.memoizedProps:null,J=b.children,Mg(g,b)?J=null:k!==null&&Mg(g,k)&&(s.flags|=32),Xb(i,s),Ei(i,s,J,c),s.child;case 6:return i===null&&Jg(s),null;case 13:return tx(i,s,c);case 4:return ev(s,s.stateNode.containerInfo),g=s.pendingProps,i===null?s.child=wl(s,null,g,c):Ei(i,s,g,c),s.child;case 11:return g=s.type,b=s.pendingProps,b=s.elementType===g?b:jo(g,b),qb(i,s,g,b,c);case 7:return Ei(i,s,s.pendingProps,c),s.child;case 8:return Ei(i,s,s.pendingProps.children,c),s.child;case 12:return Ei(i,s,s.pendingProps.children,c),s.child;case 10:e:{if(g=s.type._context,b=s.pendingProps,k=s.memoizedProps,J=b.value,on(xd,g._currentValue),g._currentValue=J,k!==null)if(bt(k.value,J)){if(k.children===b.children&&!Ni.current){s=$s(i,s,c);break e}}else for(k=s.child,k!==null&&(k.return=s);k!==null;){var he=k.dependencies;if(he!==null){J=k.child;for(var Ie=he.firstContext;Ie!==null;){if(Ie.context===g){if(k.tag===1){Ie=Ds(-1,c&-c),Ie.tag=2;var Ke=k.updateQueue;if(Ke!==null){Ke=Ke.shared;var ft=Ke.pending;ft===null?Ie.next=Ie:(Ie.next=ft.next,ft.next=Ie),Ke.pending=Ie}}k.lanes|=c,Ie=k.alternate,Ie!==null&&(Ie.lanes|=c),Wg(k.return,c,s),he.lanes|=c;break}Ie=Ie.next}}else if(k.tag===10)J=k.type===s.type?null:k.child;else if(k.tag===18){if(J=k.return,J===null)throw Error(r(341));J.lanes|=c,he=J.alternate,he!==null&&(he.lanes|=c),Wg(J,c,s),J=k.sibling}else J=k.child;if(J!==null)J.return=k;else for(J=k;J!==null;){if(J===s){J=null;break}if(k=J.sibling,k!==null){k.return=J.return,J=k;break}J=J.return}k=J}Ei(i,s,b.children,c),s=s.child}return s;case 9:return b=s.type,g=s.pendingProps.children,gl(s,c),b=Eo(b),g=g(b),s.flags|=1,Ei(i,s,g,c),s.child;case 14:return g=s.type,b=jo(g,s.pendingProps),b=jo(g.type,b),Gb(i,s,g,b,c);case 15:return Yb(i,s,s.type,s.pendingProps,c);case 17:return g=s.type,b=s.pendingProps,b=s.elementType===g?b:jo(g,b),i!==null&&(i.alternate=null,s.alternate=null,s.flags|=2),s.tag=1,Mi(g)?(i=!0,_d(s)):i=!1,gl(s,c),ab(s,g,b),Yg(s,g,b,c),vv(null,s,g,!0,i,c);case 19:return ox(i,s,c);case 22:return Kb(i,s,c)}throw Error(r(156,s.tag))};function Ax(i,s){return Xn(i,s)}function SF(i,s,c,g){this.tag=i,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function To(i,s,c,g){return new SF(i,s,c,g)}function Lv(i){return i=i.prototype,!(!i||!i.isReactComponent)}function _F(i){if(typeof i=="function")return Lv(i)?1:0;if(i!=null){if(i=i.$$typeof,i===de)return 11;if(i===ye)return 14}return 2}function Ea(i,s){var c=i.alternate;return c===null?(c=To(i.tag,s,i.key,i.mode),c.elementType=i.elementType,c.type=i.type,c.stateNode=i.stateNode,c.alternate=i,i.alternate=c):(c.pendingProps=s,c.type=i.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=i.flags&14680064,c.childLanes=i.childLanes,c.lanes=i.lanes,c.child=i.child,c.memoizedProps=i.memoizedProps,c.memoizedState=i.memoizedState,c.updateQueue=i.updateQueue,s=i.dependencies,c.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},c.sibling=i.sibling,c.index=i.index,c.ref=i.ref,c}function Jd(i,s,c,g,b,k){var J=2;if(g=i,typeof i=="function")Lv(i)&&(J=1);else if(typeof i=="string")J=5;else e:switch(i){case y:return lu(c.children,b,k,s);case Z:J=8,b|=8;break;case ae:return i=To(12,c,s,b|2),i.elementType=ae,i.lanes=k,i;case ge:return i=To(13,c,s,b),i.elementType=ge,i.lanes=k,i;case me:return i=To(19,c,s,b),i.elementType=me,i.lanes=k,i;case Ae:return Zd(c,b,k,s);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case ce:J=10;break e;case ie:J=9;break e;case de:J=11;break e;case ye:J=14;break e;case be:J=16,g=null;break e}throw Error(r(130,i==null?i:typeof i,""))}return s=To(J,c,s,b),s.elementType=i,s.type=g,s.lanes=k,s}function lu(i,s,c,g){return i=To(7,i,g,s),i.lanes=c,i}function Zd(i,s,c,g){return i=To(22,i,g,s),i.elementType=Ae,i.lanes=c,i.stateNode={},i}function Dv(i,s,c){return i=To(6,i,null,s),i.lanes=c,i}function Nv(i,s,c){return s=To(4,i.children!==null?i.children:[],i.key,s),s.lanes=c,s.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},s}function bF(i,s,c,g,b){this.tag=s,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ye(0),this.expirationTimes=Ye(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ye(0),this.identifierPrefix=g,this.onRecoverableError=b,this.mutableSourceEagerHydrationData=null}function Mv(i,s,c,g,b,k,J,he,Ie){return i=new bF(i,s,c,he,Ie),s===1?(s=1,k===!0&&(s|=8)):s=0,k=To(3,null,null,s),i.current=k,k.stateNode=i,k.memoizedState={element:g,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},qg(k),i}function xF(i,s,c){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:g==null?null:""+g,children:i,containerInfo:s,implementation:c}}function Rx(i){if(!i)return fa;i=i._reactInternals;e:{if(Kn(i)!==i||i.tag!==1)throw Error(r(170));var s=i;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(Mi(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(r(171))}if(i.tag===1){var c=i.type;if(Mi(c))return Z_(i,c,s)}return s}function Ox(i,s,c,g,b,k,J,he,Ie){return i=Mv(c,g,!0,i,b,k,J,he,Ie),i.context=Rx(null),c=i.current,g=Si(),b=ya(c),k=Ds(g,b),k.callback=s??null,pa(c,k),i.current.lanes=b,Fe(i,b,g),Ui(i,g),i}function eh(i,s,c,g){var b=s.current,k=Si(),J=ya(b);return c=Rx(c),s.context===null?s.context=c:s.pendingContext=c,s=Ds(k,J),s.payload={element:i},g=g===void 0?null:g,g!==null&&(s.callback=g),pa(b,s),i=Co(b,J,k),i!==null&&Td(i,b,J),J}function th(i){if(i=i.current,!i.child)return null;switch(i.child.tag){case 5:return i.child.stateNode;default:return i.child.stateNode}}function Ix(i,s){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var c=i.retryLane;i.retryLane=c!==0&&c<s?c:s}}function $v(i,s){Ix(i,s),(i=i.alternate)&&Ix(i,s)}function CF(){return null}var Px=typeof reportError=="function"?reportError:function(i){console.error(i)};function Fv(i){this._internalRoot=i}rh.prototype.render=Fv.prototype.render=function(i){var s=this._internalRoot;if(s===null)throw Error(r(409));eh(i,s,null,null)},rh.prototype.unmount=Fv.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var s=i.containerInfo;su(function(){eh(null,i,null,null)}),s[ks]=null}};function rh(i){this._internalRoot=i}rh.prototype.unstable_scheduleHydration=function(i){if(i){var s=Ln();i={blockedOn:null,target:i,priority:s};for(var c=0;c<oi.length&&s!==0&&s<oi[c].priority;c++);oi.splice(c,0,i),c===0&&go(i)}};function jv(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function nh(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function kx(){}function TF(i,s,c,g,b){if(b){if(typeof g=="function"){var k=g;g=function(){var Ke=th(J);k.call(Ke)}}var J=Ox(s,g,i,0,null,!1,!1,"",kx);return i._reactRootContainer=J,i[ks]=J.current,Ic(i.nodeType===8?i.parentNode:i),su(),J}for(;b=i.lastChild;)i.removeChild(b);if(typeof g=="function"){var he=g;g=function(){var Ke=th(Ie);he.call(Ke)}}var Ie=Mv(i,0,!1,null,null,!1,!1,"",kx);return i._reactRootContainer=Ie,i[ks]=Ie.current,Ic(i.nodeType===8?i.parentNode:i),su(function(){eh(s,Ie,c,g)}),Ie}function ih(i,s,c,g,b){var k=c._reactRootContainer;if(k){var J=k;if(typeof b=="function"){var he=b;b=function(){var Ie=th(J);he.call(Ie)}}eh(s,J,i,b)}else J=TF(c,s,i,b,g);return th(J)}ir=function(i){switch(i.tag){case 3:var s=i.stateNode;if(s.current.memoizedState.isDehydrated){var c=Qi(s.pendingLanes);c!==0&&(yt(s,c|1),Ui(s,Ge()),(Dr&6)===0&&(bl=Ge()+500,da()))}break;case 13:var g=Si();su(function(){return Co(i,1,g)}),$v(i,1)}},Xr=function(i){if(i.tag===13){var s=Si();Co(i,134217728,s),$v(i,134217728)}},xn=function(i){if(i.tag===13){var s=Si(),c=ya(i);Co(i,c,s),$v(i,c)}},Ln=function(){return St},Qo=function(i,s){var c=St;try{return St=i,s()}finally{St=c}},Rt=function(i,s,c){switch(s){case"input":if(ue(i,c),s=c.name,c.type==="radio"&&s!=null){for(c=i;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<c.length;s++){var g=c[s];if(g!==i&&g.form===i.form){var b=Ed(g);if(!b)throw Error(r(90));P(g),ue(g,b)}}}break;case"textarea":He(i,c);break;case"select":s=c.value,s!=null&&Se(i,!!c.multiple,s,!1)}},Cr=Iv,kr=su;var AF={usingClientEntryPoint:!1,Events:[Lc,fl,Ed,Ur,dr,Iv]},Yc={findFiberByHostInstance:Za,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},RF={bundleType:Yc.bundleType,version:Yc.version,rendererPackageName:Yc.rendererPackageName,rendererConfig:Yc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:V.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=ni(i),i===null?null:i.stateNode},findFiberByHostInstance:Yc.findFiberByHostInstance||CF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var oh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oh.isDisabled&&oh.supportsFiber)try{Lr=oh.inject(RF),$r=oh}catch{}}return Vi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=AF,Vi.createPortal=function(i,s){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!jv(s))throw Error(r(200));return xF(i,s,null,c)},Vi.createRoot=function(i,s){if(!jv(i))throw Error(r(299));var c=!1,g="",b=Px;return s!=null&&(s.unstable_strictMode===!0&&(c=!0),s.identifierPrefix!==void 0&&(g=s.identifierPrefix),s.onRecoverableError!==void 0&&(b=s.onRecoverableError)),s=Mv(i,1,!1,null,null,c,!1,g,b),i[ks]=s.current,Ic(i.nodeType===8?i.parentNode:i),new Fv(s)},Vi.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var s=i._reactInternals;if(s===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=ni(s),i=i===null?null:i.stateNode,i},Vi.flushSync=function(i){return su(i)},Vi.hydrate=function(i,s,c){if(!nh(s))throw Error(r(200));return ih(null,i,s,!0,c)},Vi.hydrateRoot=function(i,s,c){if(!jv(i))throw Error(r(405));var g=c!=null&&c.hydratedSources||null,b=!1,k="",J=Px;if(c!=null&&(c.unstable_strictMode===!0&&(b=!0),c.identifierPrefix!==void 0&&(k=c.identifierPrefix),c.onRecoverableError!==void 0&&(J=c.onRecoverableError)),s=Ox(s,null,i,1,c??null,b,!1,k,J),i[ks]=s.current,Ic(i),g)for(i=0;i<g.length;i++)c=g[i],b=c._getVersion,b=b(c._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[c,b]:s.mutableSourceEagerHydrationData.push(c,b);return new rh(s)},Vi.render=function(i,s,c){if(!nh(s))throw Error(r(200));return ih(null,i,s,!1,c)},Vi.unmountComponentAtNode=function(i){if(!nh(i))throw Error(r(40));return i._reactRootContainer?(su(function(){ih(null,null,i,!1,function(){i._reactRootContainer=null,i[ks]=null})}),!0):!1},Vi.unstable_batchedUpdates=Iv,Vi.unstable_renderSubtreeIntoContainer=function(i,s,c,g){if(!nh(c))throw Error(r(200));if(i==null||i._reactInternals===void 0)throw Error(r(38));return ih(i,s,c,!1,g)},Vi.version="18.1.0-next-22edb9f77-20220426",Vi}var JA;function WD(){if(JA)return E0.exports;JA=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),E0.exports=o5(),E0.exports}var qD=WD();const _u=Kr(qD);function s5(e){e()}let GD=s5;const a5=e=>GD=e,u5=()=>GD,ja=er.createContext(null);function YD(){return ne.useContext(ja)}const l5=()=>{throw new Error("uSES not initialized!")};let KD=l5;const c5=e=>{KD=e},f5=(e,t)=>e===t;function d5(e=ja){const t=e===ja?YD:()=>ne.useContext(e);return function(n,o=f5){const{store:a,subscription:u,getServerState:f}=t(),l=KD(u.addNestedSub,a.getState,f||a.getState,n,o);return ne.useDebugValue(l),l}}const XD=d5();function Pf(){return Pf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pf.apply(null,arguments)}function ag(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var b0={exports:{}},Br={};/** @license React v16.13.1
|
|
88
|
+
* react-is.production.min.js
|
|
89
|
+
*
|
|
90
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
91
|
+
*
|
|
92
|
+
* This source code is licensed under the MIT license found in the
|
|
93
|
+
* LICENSE file in the root directory of this source tree.
|
|
94
|
+
*/var ZA;function h5(){if(ZA)return Br;ZA=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,w=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function H(M){if(typeof M=="object"&&M!==null){var G=M.$$typeof;switch(G){case t:switch(M=M.type,M){case l:case d:case n:case a:case o:case p:return M;default:switch(M=M&&M.$$typeof,M){case f:case v:case C:case x:case u:return M;default:return G}}case r:return G}}}function V(M){return H(M)===d}return Br.AsyncMode=l,Br.ConcurrentMode=d,Br.ContextConsumer=f,Br.ContextProvider=u,Br.Element=t,Br.ForwardRef=v,Br.Fragment=n,Br.Lazy=C,Br.Memo=x,Br.Portal=r,Br.Profiler=a,Br.StrictMode=o,Br.Suspense=p,Br.isAsyncMode=function(M){return V(M)||H(M)===l},Br.isConcurrentMode=V,Br.isContextConsumer=function(M){return H(M)===f},Br.isContextProvider=function(M){return H(M)===u},Br.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===t},Br.isForwardRef=function(M){return H(M)===v},Br.isFragment=function(M){return H(M)===n},Br.isLazy=function(M){return H(M)===C},Br.isMemo=function(M){return H(M)===x},Br.isPortal=function(M){return H(M)===r},Br.isProfiler=function(M){return H(M)===a},Br.isStrictMode=function(M){return H(M)===o},Br.isSuspense=function(M){return H(M)===p},Br.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===n||M===d||M===a||M===o||M===p||M===w||typeof M=="object"&&M!==null&&(M.$$typeof===C||M.$$typeof===x||M.$$typeof===u||M.$$typeof===f||M.$$typeof===v||M.$$typeof===S||M.$$typeof===I||M.$$typeof===D||M.$$typeof===E)},Br.typeOf=H,Br}var eR;function p5(){return eR||(eR=1,b0.exports=h5()),b0.exports}var x0,tR;function g5(){if(tR)return x0;tR=1;var e=p5(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=n,a[e.Memo]=o;function u(C){return e.isMemo(C)?o:a[C.$$typeof]||t}var f=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,w=Object.prototype;function x(C,E,S){if(typeof E!="string"){if(w){var I=p(E);I&&I!==w&&x(C,I,S)}var D=l(E);d&&(D=D.concat(d(E)));for(var H=u(C),V=u(E),M=0;M<D.length;++M){var G=D[M];if(!r[G]&&!(S&&S[G])&&!(V&&V[G])&&!(H&&H[G])){var y=v(E,G);try{f(C,G,y)}catch{}}}}return C}return x0=x,x0}var v5=g5();const m5=Kr(v5);var C0={exports:{}},zr={};/**
|
|
95
|
+
* @license React
|
|
96
|
+
* react-is.production.min.js
|
|
97
|
+
*
|
|
98
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
99
|
+
*
|
|
100
|
+
* This source code is licensed under the MIT license found in the
|
|
101
|
+
* LICENSE file in the root directory of this source tree.
|
|
102
|
+
*/var rR;function y5(){if(rR)return zr;rR=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),C;C=Symbol.for("react.module.reference");function E(S){if(typeof S=="object"&&S!==null){var I=S.$$typeof;switch(I){case e:switch(S=S.type,S){case r:case o:case n:case d:case v:return S;default:switch(S=S&&S.$$typeof,S){case f:case u:case l:case w:case p:case a:return S;default:return I}}case t:return I}}}return zr.ContextConsumer=u,zr.ContextProvider=a,zr.Element=e,zr.ForwardRef=l,zr.Fragment=r,zr.Lazy=w,zr.Memo=p,zr.Portal=t,zr.Profiler=o,zr.StrictMode=n,zr.Suspense=d,zr.SuspenseList=v,zr.isAsyncMode=function(){return!1},zr.isConcurrentMode=function(){return!1},zr.isContextConsumer=function(S){return E(S)===u},zr.isContextProvider=function(S){return E(S)===a},zr.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===e},zr.isForwardRef=function(S){return E(S)===l},zr.isFragment=function(S){return E(S)===r},zr.isLazy=function(S){return E(S)===w},zr.isMemo=function(S){return E(S)===p},zr.isPortal=function(S){return E(S)===t},zr.isProfiler=function(S){return E(S)===o},zr.isStrictMode=function(S){return E(S)===n},zr.isSuspense=function(S){return E(S)===d},zr.isSuspenseList=function(S){return E(S)===v},zr.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===r||S===o||S===n||S===d||S===v||S===x||typeof S=="object"&&S!==null&&(S.$$typeof===w||S.$$typeof===p||S.$$typeof===a||S.$$typeof===u||S.$$typeof===l||S.$$typeof===C||S.getModuleId!==void 0)},zr.typeOf=E,zr}var nR;function w5(){return nR||(nR=1,C0.exports=y5()),C0.exports}w5();function E5(){const e=u5();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],o=t;for(;o;)n.push(o),o=o.next;return n},subscribe(n){let o=!0,a=r={callback:n,next:null,prev:r};return a.prev?a.prev.next=a:t=a,function(){!o||t===null||(o=!1,a.next?a.next.prev=a.prev:r=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}const iR={notify(){},get:()=>[]};function S5(e,t){let r,n=iR;function o(p){return l(),n.subscribe(p)}function a(){n.notify()}function u(){v.onStateChange&&v.onStateChange()}function f(){return!!r}function l(){r||(r=e.subscribe(u),n=E5())}function d(){r&&(r(),r=void 0,n.clear(),n=iR)}const v={addNestedSub:o,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:f,trySubscribe:l,tryUnsubscribe:d,getListeners:()=>n};return v}const _5=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",b5=_5?ne.useLayoutEffect:ne.useEffect;function QD({store:e,context:t,children:r,serverState:n}){const o=ne.useMemo(()=>{const f=S5(e);return{store:e,subscription:f,getServerState:n?()=>n:void 0}},[e,n]),a=ne.useMemo(()=>e.getState(),[e]);b5(()=>{const{subscription:f}=o;return f.onStateChange=f.notifyNestedSubs,f.trySubscribe(),a!==e.getState()&&f.notifyNestedSubs(),()=>{f.tryUnsubscribe(),f.onStateChange=void 0}},[o,a]);const u=t||ja;return er.createElement(u.Provider,{value:o},r)}function JD(e=ja){const t=e===ja?YD:()=>ne.useContext(e);return function(){const{store:n}=t();return n}}const ZD=JD();function x5(e=ja){const t=e===ja?ZD:JD(e);return function(){return t().dispatch}}const rd=x5();c5(r5.useSyncExternalStoreWithSelector);a5(qD.unstable_batchedUpdates);var pp="NOT_FOUND";function C5(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:pp},put:function(n,o){t={key:n,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function T5(e,t){var r=[];function n(f){var l=r.findIndex(function(v){return t(f,v.key)});if(l>-1){var d=r[l];return l>0&&(r.splice(l,1),r.unshift(d)),d.value}return pp}function o(f,l){n(f)===pp&&(r.unshift({key:f,value:l}),r.length>e&&r.pop())}function a(){return r}function u(){r=[]}return{get:n,put:o,getEntries:a,clear:u}}var A5=function(t,r){return t===r};function R5(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var o=r.length,a=0;a<o;a++)if(!e(r[a],n[a]))return!1;return!0}}function O5(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,o=n===void 0?A5:n,a=r.maxSize,u=a===void 0?1:a,f=r.resultEqualityCheck,l=R5(o),d=u===1?C5(l):T5(u,l);function v(){var p=d.get(arguments);if(p===pp){if(p=e.apply(null,arguments),f){var w=d.getEntries(),x=w.find(function(C){return f(C.value,p)});x&&(p=x.value)}d.put(arguments,p)}return p}return v.clearCache=function(){return d.clear()},v}function I5(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(n){return typeof n=="function"})){var r=t.map(function(n){return typeof n=="function"?"function "+(n.name||"unnamed")+"()":typeof n}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}function P5(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=function(){for(var u=arguments.length,f=new Array(u),l=0;l<u;l++)f[l]=arguments[l];var d=0,v,p={memoizeOptions:void 0},w=f.pop();if(typeof w=="object"&&(p=w,w=f.pop()),typeof w!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof w+"]");var x=p,C=x.memoizeOptions,E=C===void 0?r:C,S=Array.isArray(E)?E:[E],I=I5(f),D=e.apply(void 0,[function(){return d++,w.apply(null,arguments)}].concat(S)),H=e(function(){for(var M=[],G=I.length,y=0;y<G;y++)M.push(I[y].apply(null,arguments));return v=D.apply(null,M),v});return Object.assign(H,{resultFunc:w,memoizedResultFunc:D,dependencies:I,lastResult:function(){return v},recomputations:function(){return d},resetRecomputations:function(){return d=0}}),H};return o}const WS={getMatchingKeyMap(e,t,r){const n=Array.isArray(t)?t:[t];let o=[];return n.forEach(a=>{const u=new RegExp(a,"i"),f=Object.keys(e.resources).filter(l=>u.test(l));o.push(...f)}),r&&(o=o.filter(a=>a!==r)),o.reduce((a,u)=>(a[u]=!0,a),{})},updateState(e,t,r){const n=e.getState(),o=WS.getMatchingKeyMap(n.flightData,t.keys),a={...Object.keys(n.flightData.resources).filter(f=>o[f]).reduce((f,l)=>{const d=n.flightData.resources[l];let v=d.response;return d.request.normalize&&(v=zS(d.response,n.flightData.entities).result),f[l]=v,f},{})},u=t.updateData(a,r);Object.keys(u).forEach(f=>{const l=n.flightData.resources[f],d=u[f];let v={result:d,entities:{}};l.request.normalize&&(v=TD(d,l.request.normalizeOptions)),e.dispatch({type:bi.UPDATE,result:v.result,entities:v.entities,request:l.request})})}};function k5(e){const r=e.timeout||300;return r/2+(Math.floor(Math.random()*r/2)+1)}const oR={isSimulated(e){const t=e;return!!(t.successResponse||t.errorResponse||t.noResponse)},simulateFetchData(e,t){const{success:r,error:n,always:o}=e,a=t;window.setTimeout(async()=>{if(!a.noResponse){if(a.successResponse){const u=await a.successResponse();r(u,{status:PS.Ok,getResponseHeader:()=>""})}else a.errorResponse&&n(a.errorResponse());o()}},k5(t))}},L5=1e3,D5=12,sR=18;function T0(e){const t=+e;return isNaN(t)||!t?0:t}const kf={currentTimestamp(){return new Date().valueOf()},isExpired(e,t){if(!t)return!1;const r=t*L5;return e<kf.currentTimestamp()-r},currentTimeOfDay(e){e||(e=new Date);const t=e.getHours();return t>=D5&&t<sR?"afternoon":t>=sR?"evening":"morning"},convertDurationToSeconds(e,t,r){return T0(e)*60*60+T0(t)*60+T0(r)}};class eN{constructor(t){this.status=t.status,this.requestTime=t.requestTime,this.cacheDuration=t.cacheDuration,this.data=t.data,this.statusCode=t.statusCode,this.hasCompleted=t.hasCompleted}get shouldFetch(){return this.status===vs.None?!0:this.isExpired}get isExpired(){return this.cacheDuration instanceof Function?kf.isExpired(this.requestTime,this.cacheDuration(this.data)):kf.isExpired(this.requestTime,this.cacheDuration)}get isFetching(){return this.status===vs.Fetching}get hasError(){return this.status===vs.Error}}function N5(e,t){if(!ws.isEqual(e.resource,t.resource))return!1;if(!e.visited&&!t.visited)return!0;const n=Object.keys(e.visited),o=Object.keys(t.visited);if(n.length!==o.length)return!1;for(let a=0;a<n.length;a++){const u=n[a],f=e.visited[u],l=t.visited[u];if(f.__modifyCount!==l.__modifyCount)return!1}return!0}function M5(e){function t(n){return qS(e,n.flightData.resources[e],n.flightData.entities)}return P5(O5,N5)(t,n=>n.response)}function qS(e,t,r){if(!e||!t)return{resource:t,response:$5(),visited:null};let n=t.response,o=null;if(t.request.normalize!==!1){const u=zS(t.response,r);n=u.result,o=u.visited}const a=new eN({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.cacheDuration,hasCompleted:t.hasCompleted,data:n});return{resource:t,response:a,visited:o}}function $5(){return new eN({status:vs.None})}function tN(e,t){return qS(t,e.flightData.resources[t],e.flightData.entities).response}function rN(e){return t=>{t&&nd(e,t)}}function F5(e){return t=>{if(t)return j5(e,t)}}function nd(e,t){e({type:bi.API_REQUEST,request:t})}function j5(e,t){return new Promise((r,n)=>{const o=t.success,a=t.error;t.success=u=>{o==null||o(u),r(u)},t.error=u=>{a==null||a(u),n(u)},nd(e,t)})}function GS(e,t){var u,f,l,d;const r=e.getState(),n=t==null?void 0:t.key,o=qS(n,r.flightData.resources[n],r.flightData.entities),a=o.response;if(t&&a.shouldFetch){nd(e.dispatch,t);return}if(a.isFetching){let v=!1;const p=e.subscribe(()=>{p(),!v&&(v=!0,GS(e,t))});return}a.hasError?((u=t.error)==null||u.call(t,{status:a.statusCode,getResponseHeader:null,responseJSON:o.resource.errorResponse}),(f=t.always)==null||f.call(t)):((l=t.success)==null||l.call(t,a.data),(d=t.always)==null||d.call(t))}function gee(){const e=rd();return rN(e)}function vee(){const e=rd();return F5(e)}function U5(e){const t=ne.useMemo(()=>M5(e),[e]);return XD(r=>t(r))}function mee(){const e=ZD();return t=>tN(e.getState(),t)}function pi(e){const t=rd(),r=U5(e&&e.key),n=rN(t);return ne.useEffect(()=>{e&&r.shouldFetch&&n(e)},[e==null?void 0:e.key,r.shouldFetch]),r}async function Ti(e,t){return new Promise((r,n)=>{const o=t.success,a=t.error;t.success=u=>{o==null||o(u),r(u)},t.error=u=>{a==null||a(u),n(u)},GS(e,t)})}function V5(e){const{fetchData:t,getFetchDataOptions:r,bootstrappedData:n,defaultCacheDuration:o}=e,a=Object.freeze({key:null,url:null,type:di.GET,normalize:!0,formatData:u=>u,cacheDuration:o});return function(f){return l=>d=>{if(d.type!==bi.API_REQUEST){l(d);return}const v=f.getState(),{success:p,error:w,always:x,formatData:C,...E}=Object.assign({},a,d.request),S=v.flightData.resources[E.key];if(l(d),S&&S.status===vs.Fetching)return;if(E.bootstrapName&&n&&n[d.request.bootstrapName]){H(n[d.request.bootstrapName]),M(),delete n[d.request.bootstrapName];return}const I={resource:E.url,type:E.type,data:E.data,success:H,error:V,always:M};if(typeof r!="function"){D(I);return}r(I,E).then(D);return;function D(G){if(oR.isSimulated(E)){oR.simulateFetchData(G,E);return}t(G)}function H(G,y){const Z=C(G);let ae={result:Z,entities:{}};E.normalize&&(ae=TD(Z,E.normalizeOptions)),f.dispatch({type:bi.API_RESPONSE,result:ae.result,entities:ae.entities,request:E,timestamp:kf.currentTimestamp(),xhr:y});let ce=ae.result;if(E.normalize){const ie={...v.flightData.entities,...ae.entities};ce=zS(ae.result,ie).result}E.updateState&&(Array.isArray(E.updateState)?E.updateState:[E.updateState]).forEach(de=>{WS.updateState(f,de,ce)}),E.invalidationKeys&&f.dispatch({type:bi.INVALIDATE,keys:E.invalidationKeys,request:E}),p&&p(ce)}function V(G){f.dispatch({type:bi.API_ERROR,errorResponse:G.responseJSON,request:d.request,timestamp:kf.currentTimestamp(),xhr:G}),E.invalidationKeys&&f.dispatch({type:bi.INVALIDATE,keys:E.invalidationKeys,request:E}),w&&w(G)}function M(){x&&x()}}}}function nN(e,t){const r={...e};return Object.keys(t).forEach(n=>{if(!e[n]){r[n]={...t[n],__modifyCount:0};return}const o={...e[n],...t[n]};ws.isEqual(e[n],o)||(o.__modifyCount=e[n].__modifyCount+1),r[n]=o}),r}function H5(e,t){const r=e.resources[t.request.key];return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:vs.Fetching,response:r?r.response:null,hasCompleted:!!(r!=null&&r.hasCompleted)}}}}function B5(e,t){var r;return{entities:nN(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{request:t.request,status:vs.Success,response:t.result,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function z5(e,t){var r;return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:vs.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function W5(e,t){var n;const r=WS.getMatchingKeyMap(e,t.keys,(n=t.request)==null?void 0:n.key);return{entities:{...e.entities},resources:{...e.resources,...Object.keys(e.resources).filter(o=>r[o]).reduce((o,a)=>{const u=e.resources[a];return o[a]=Object.assign({},u,{status:vs.None}),o},{})}}}function q5(e=iN,t){return{entities:nN(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{...e.resources[t.request.key],request:t.request,response:t.result}}}}const iN={resources:{},entities:{}};function G5(e=iN,t){switch(t.type){case bi.API_REQUEST:return H5(e,t);case bi.API_RESPONSE:return B5(e,t);case bi.API_ERROR:return z5(e,t);case bi.INVALIDATE:return W5(e,t);case bi.UPDATE:return q5(e,t)}return e}const Uu={first(e){return Da(e)},firstFew(e,t){return Da(e,t)},last(e){return Of(e)},lastFew(e,t){return Of(e,t)},max(e,t){return Gp(e,t)},cloneAndReplaceAtIdx(e,t,r,n=null){let o=e&&e.length?e.slice():[];return t+1>o.length&&(o=[...o,...Array(t+1-o.length).fill(n)]),o.splice(t,1,r),o},moveItem(e,t,r){const n=e.slice();return n.splice(r,0,n.splice(t,1)[0]),n},isEmpty(e){return e&&!e.length},findIndex(e,t){return Qf(e,t)},findWhere(e,t){return fS(e,t)},where(e,t){return dS(e,t)},groupBy(e,t){return mS(e,t)},countBy(e,t){return yS(e,t)},flatten(e,t){return ES(e,t)},intersection(...e){return _S(...e)},addOrRemove(e,t){const r=e.indexOf(t);return r===-1?e.push(t):e.splice(r,1),e},addOrRemoveImmutable(e,t){const r=e.indexOf(t),n=ws.deepClone(e);return r===-1?[...n,t]:[...n.slice(0,r),...n.slice(r+1)]},sortBy(e,t){return vS(e,t)},chunk(e,t){return xS(e,t)},uniq(e,t){return ju(e,t)},toObject(e,t){return e.reduce((r,n)=>Object.assign(r,ws.isObject(n)?{[n[t]]:n}:{[t]:n}),{})},findIndexById(e,t){return e.findIndex(r=>r.id===t.id)},removeItem(e,t){const r=this.findIndex(e,t);return r===-1?e:this.removeItemFromIndex(e,r)},removeItemFromIndex(e,t){return[...e.slice(0,t),...e.slice(t+1)]},findMatchedIdIndex(e,t){return e.findIndex(r=>{var n;return((n=r.id)==null?void 0:n.toString())===t.toString()})},shuffle(e){return gS(e)}};var zt=(e=>(e.MustCompleteOnboarding="must_complete_onboarding",e.StudentWorkspaceSharing="student_ws_sharing",e.StudentToStudentMessaging="student_to_student_messaging",e.HideResourcesForStudents="hide_resources_for_students",e.LibraryReview="library_review",e.SchoolMessaging="school_messaging",e.LegacyTvNaming="legacy_tv_naming",e.LegacyAlbertCustomer="legacy_albert_customer",e.HideHostedLibraries="hide_hosted_libraries",e.MaxCustomLibraries="max_custom_libraries",e.AutoCaptioning="auto_captioning",e.Topics="subjects",e.NewDashboards="new_dashboards",e.ShareToGoogleClassroom="share_to_google_classroom",e.ShareToMicrosoftTeams="share_to_microsoft_teams",e.DefaultPlaybackQuality="playback_quality_default",e.DefaultLocalCachePlaybackQuality="playback_quality_local_cache_default",e.EnableSubtitlesDefault="playback_subtitles_enabled_default",e.LTI="lti",e.HasNewClassificationView="new_classification_view",e.HasCuratedDiscoverDashboards="has_curated_discover_dashboards",e.HasLiteSearchDropdown="has_lite_search_dropdown",e.HasSpecialEventCalendar="has_special_event_calendar",e.PreviewVideos="preview_videos",e.DomainSettings="domain_settings",e.InviteColleague="invite_colleague",e.ExchangeTvProductOption="exchange_tv_product_option",e.MyVideosFolders="my_videos_folders",e.TvRegion="tv_region",e.ShareOverrideRestrictions="share_override_restrictions",e.HasTopicDirectories="has_topic_directories",e.MessageFrequencyOption="message_frequency",e.HasTopicVideoListFeature="has_topic_video_list_feature",e.HasManageGrouPermissions="has_manage_group_permissions",e.ExperimentalInteractiveQuestions="experimental_interactive_questions",e.PublicInteractiveAttempts="public_interactive_attempts",e.HasClassrooms="has_classrooms",e.HasNewSearch="has_new_search",e.HasPlayPageTranscript="has_play_page_transcript",e.HasShareFlowV2="has_share_flow_v2",e.HasEnabledViviPlayback="has_enabled_vivi_playback",e.HasEnabledViviStudentCasting="has_enabled_vivi_student_casting",e.HasEnabledAppleTvPlayback="has_enabled_apple_tv_playback",e.HasDisplayedPresentationSwitcherProductTip="has_displayed_presentation_switcher_spotlight",e.HasDisplayedTopicsDirectoryTabProductTip="has_displayed_topics_directory_tab_spotlight",e.HasDisplayedGiveFeedbackFormProductTip="has_displayed_give_feedback_form_spotlight",e.HasDisplayedWhatsNewLinkProductTip="has_displayed_whats_new_link_spotlight",e.ShowExchangeSearchResultsUser="show_exchange_search_results_user",e.LiteUpgradeTime="lite_upgrade_time",e.LiteUpgradeTypeCustomer="lite_upgrade_type_customer",e.LiteUpgradeTypeUser="lite_upgrade_type_user",e.HasCompletedUpgradeOnboarding="has_completed_upgrade_onboarding",e.LiteUpgradeFeedback="lite_upgrade_feedback",e.LiteUpgradeComplete="lite_upgrade_complete",e.PolicyEndTime="policy_end_time",e.HasCompletedOnboardingV1="has_completed_onboarding",e.BulkOnboardingPreferencesState="bulk_onboarding_preferences_state",e.HasCompletedOnboardingV2="has_completed_onboarding_v2",e.HasNewOnboarding="has_new_onboarding",e.HasExitedOnboarding="has_exited_onboarding",e.HasCompletedOnboardingStepWelcomeVideo="has_completed_onboarding_step_welcome_video",e.HasCompletedOnboardingStepSelectRole="has_completed_onboarding_step_select_role",e.HasCompletedOnboardingStepUsageIntention="has_completed_onboarding_step_usage_intention",e.HasCompletedOnboardingStepSchoolLevel="has_completed_onboarding_step_school_level",e.HasCompletedOnboardingStepSelectCurriculum="has_completed_onboarding_step_select_curriculum",e.HasCompletedOnboardingStepSubjects="has_completed_onboarding_step_subjects",e.HasCompletedOnboardingStepSelectVideos="has_completed_onboarding_step_select_videos",e.HasCompletedOnboardingStepCreatePlaylist="has_completed_onboarding_step_create_playlist",e.HasCompletedOnboardingStepSubjectsSummary="has_completed_onboarding_step_subjects_summary",e.HasCompletedOnboardingProductTips="has_completed_onboarding_product_tips",e.StudentInteractives="student_interactives",e.ExpandSchoolLibrary="expand_school_library",e.PrimaryProduct="primary_product",e.ImmediateFeedbackInteractives="immediate_feedback_interactives",e.LiteStudentCustomLibraries="lite_student_custom_libraries",e.HasEnabledRostering="has_enabled_rostering",e))(zt||{}),A0,aR;function Y5(){if(aR)return A0;aR=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(D){D!==n&&(t=null)}else t=null;var o=/^\s*class\b/,a=function(H){try{var V=e.call(H);return o.test(V)}catch{return!1}},u=function(H){try{return a(H)?!1:(e.call(H),!0)}catch{return!1}},f=Object.prototype.toString,l="[object Object]",d="[object Function]",v="[object GeneratorFunction]",p="[object HTMLAllCollection]",w="[object HTML document.all class]",x="[object HTMLCollection]",C=typeof Symbol=="function"&&!!Symbol.toStringTag,E=!(0 in[,]),S=function(){return!1};if(typeof document=="object"){var I=document.all;f.call(I)===f.call(document.all)&&(S=function(H){if((E||!H)&&(typeof H>"u"||typeof H=="object"))try{var V=f.call(H);return(V===p||V===w||V===x||V===l)&&H("")==null}catch{}return!1})}return A0=t?function(H){if(S(H))return!0;if(!H||typeof H!="function"&&typeof H!="object")return!1;try{t(H,null,r)}catch(V){if(V!==n)return!1}return!a(H)&&u(H)}:function(H){if(S(H))return!0;if(!H||typeof H!="function"&&typeof H!="object")return!1;if(C)return u(H);if(a(H))return!1;var V=f.call(H);return V!==d&&V!==v&&!/^\[object HTML/.test(V)?!1:u(H)},A0}var R0,uR;function K5(){if(uR)return R0;uR=1;var e=Y5(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(l,d,v){for(var p=0,w=l.length;p<w;p++)r.call(l,p)&&(v==null?d(l[p],p,l):d.call(v,l[p],p,l))},o=function(l,d,v){for(var p=0,w=l.length;p<w;p++)v==null?d(l.charAt(p),p,l):d.call(v,l.charAt(p),p,l)},a=function(l,d,v){for(var p in l)r.call(l,p)&&(v==null?d(l[p],p,l):d.call(v,l[p],p,l))};function u(f){return t.call(f)==="[object Array]"}return R0=function(l,d,v){if(!e(d))throw new TypeError("iterator must be a function");var p;arguments.length>=3&&(p=v),u(l)?n(l,d,p):typeof l=="string"?o(l,d,p):a(l,d,p)},R0}var O0,lR;function oN(){if(lR)return O0;lR=1;var e=function(){};return O0=e,O0}var I0,cR;function X5(){if(cR)return I0;cR=1;var e={}.hasOwnProperty,t=Function.prototype.call;return I0=t.bind?t.bind(e):function(r,n){return t.call(e,r,n)},I0}var P0={exports:{}},k0,fR;function sN(){return fR||(fR=1,k0=Object),k0}var L0,dR;function Q5(){return dR||(dR=1,L0=Error),L0}var D0,hR;function J5(){return hR||(hR=1,D0=EvalError),D0}var N0,pR;function Z5(){return pR||(pR=1,N0=RangeError),N0}var M0,gR;function eH(){return gR||(gR=1,M0=ReferenceError),M0}var $0,vR;function aN(){return vR||(vR=1,$0=SyntaxError),$0}var F0,mR;function mc(){return mR||(mR=1,F0=TypeError),F0}var j0,yR;function tH(){return yR||(yR=1,j0=URIError),j0}var U0,wR;function rH(){return wR||(wR=1,U0=Math.abs),U0}var V0,ER;function nH(){return ER||(ER=1,V0=Math.floor),V0}var H0,SR;function iH(){return SR||(SR=1,H0=Math.max),H0}var B0,_R;function oH(){return _R||(_R=1,B0=Math.min),B0}var z0,bR;function sH(){return bR||(bR=1,z0=Math.pow),z0}var W0,xR;function aH(){return xR||(xR=1,W0=Math.round),W0}var q0,CR;function uH(){return CR||(CR=1,q0=Number.isNaN||function(t){return t!==t}),q0}var G0,TR;function lH(){if(TR)return G0;TR=1;var e=uH();return G0=function(r){return e(r)||r===0?r:r<0?-1:1},G0}var Y0,AR;function cH(){return AR||(AR=1,Y0=Object.getOwnPropertyDescriptor),Y0}var K0,RR;function ug(){if(RR)return K0;RR=1;var e=cH();if(e)try{e([],"length")}catch{e=null}return K0=e,K0}var X0,OR;function lg(){if(OR)return X0;OR=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return X0=e,X0}var Q0,IR;function fH(){return IR||(IR=1,Q0=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var u=Object.getOwnPropertySymbols(t);if(u.length!==1||u[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(t,r);if(f.value!==o||f.enumerable!==!0)return!1}return!0}),Q0}var J0,PR;function dH(){if(PR)return J0;PR=1;var e=typeof Symbol<"u"&&Symbol,t=fH();return J0=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},J0}var Z0,kR;function uN(){return kR||(kR=1,Z0=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Z0}var ew,LR;function lN(){if(LR)return ew;LR=1;var e=sN();return ew=e.getPrototypeOf||null,ew}var tw,DR;function hH(){if(DR)return tw;DR=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",o=function(l,d){for(var v=[],p=0;p<l.length;p+=1)v[p]=l[p];for(var w=0;w<d.length;w+=1)v[w+l.length]=d[w];return v},a=function(l,d){for(var v=[],p=d,w=0;p<l.length;p+=1,w+=1)v[w]=l[p];return v},u=function(f,l){for(var d="",v=0;v<f.length;v+=1)d+=f[v],v+1<f.length&&(d+=l);return d};return tw=function(l){var d=this;if(typeof d!="function"||t.apply(d)!==n)throw new TypeError(e+d);for(var v=a(arguments,1),p,w=function(){if(this instanceof p){var I=d.apply(this,o(v,arguments));return Object(I)===I?I:this}return d.apply(l,o(v,arguments))},x=r(0,d.length-v.length),C=[],E=0;E<x;E++)C[E]="$"+E;if(p=Function("binder","return function ("+u(C,",")+"){ return binder.apply(this,arguments); }")(w),d.prototype){var S=function(){};S.prototype=d.prototype,p.prototype=new S,S.prototype=null}return p},tw}var rw,NR;function id(){if(NR)return rw;NR=1;var e=hH();return rw=Function.prototype.bind||e,rw}var nw,MR;function YS(){return MR||(MR=1,nw=Function.prototype.call),nw}var iw,$R;function KS(){return $R||($R=1,iw=Function.prototype.apply),iw}var ow,FR;function pH(){return FR||(FR=1,ow=typeof Reflect<"u"&&Reflect&&Reflect.apply),ow}var sw,jR;function cN(){if(jR)return sw;jR=1;var e=id(),t=KS(),r=YS(),n=pH();return sw=n||e.call(r,t),sw}var aw,UR;function XS(){if(UR)return aw;UR=1;var e=id(),t=mc(),r=YS(),n=cN();return aw=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return n(e,r,a)},aw}var uw,VR;function gH(){if(VR)return uw;VR=1;var e=XS(),t=ug(),r;try{r=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var n=!!r&&t&&t(Object.prototype,"__proto__"),o=Object,a=o.getPrototypeOf;return uw=n&&typeof n.get=="function"?e([n.get]):typeof a=="function"?function(f){return a(f==null?f:o(f))}:!1,uw}var lw,HR;function vH(){if(HR)return lw;HR=1;var e=uN(),t=lN(),r=gH();return lw=e?function(o){return e(o)}:t?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return t(o)}:r?function(o){return r(o)}:null,lw}var cw,BR;function mH(){if(BR)return cw;BR=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=id();return cw=r.call(e,t),cw}var fw,zR;function QS(){if(zR)return fw;zR=1;var e,t=sN(),r=Q5(),n=J5(),o=Z5(),a=eH(),u=aN(),f=mc(),l=tH(),d=rH(),v=nH(),p=iH(),w=oH(),x=sH(),C=aH(),E=lH(),S=Function,I=function(N){try{return S('"use strict"; return ('+N+").constructor;")()}catch{}},D=ug(),H=lg(),V=function(){throw new f},M=D?function(){try{return arguments.callee,V}catch{try{return D(arguments,"callee").get}catch{return V}}}():V,G=dH()(),y=vH(),Z=lN(),ae=uN(),ce=KS(),ie=YS(),de={},ge=typeof Uint8Array>"u"||!y?e:y(Uint8Array),me={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":G&&y?y([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":de,"%AsyncGenerator%":de,"%AsyncGeneratorFunction%":de,"%AsyncIteratorPrototype%":de,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":de,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":G&&y?y(y([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!G||!y?e:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":D,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":o,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!G||!y?e:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":G&&y?y(""[Symbol.iterator]()):e,"%Symbol%":G?Symbol:e,"%SyntaxError%":u,"%ThrowTypeError%":M,"%TypedArray%":ge,"%TypeError%":f,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":ie,"%Function.prototype.apply%":ce,"%Object.defineProperty%":H,"%Object.getPrototypeOf%":Z,"%Math.abs%":d,"%Math.floor%":v,"%Math.max%":p,"%Math.min%":w,"%Math.pow%":x,"%Math.round%":C,"%Math.sign%":E,"%Reflect.getPrototypeOf%":ae};if(y)try{null.error}catch(N){var ye=y(y(N));me["%Error.prototype%"]=ye}var be=function N(L){var q;if(L==="%AsyncFunction%")q=I("async function () {}");else if(L==="%GeneratorFunction%")q=I("function* () {}");else if(L==="%AsyncGeneratorFunction%")q=I("async function* () {}");else if(L==="%AsyncGenerator%"){var P=N("%AsyncGeneratorFunction%");P&&(q=P.prototype)}else if(L==="%AsyncIteratorPrototype%"){var j=N("%AsyncGenerator%");j&&y&&(q=y(j.prototype))}return me[L]=q,q},Ae={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},re=id(),Ee=mH(),X=re.call(ie,Array.prototype.concat),Re=re.call(ce,Array.prototype.splice),qe=re.call(ie,String.prototype.replace),Qe=re.call(ie,String.prototype.slice),et=re.call(ie,RegExp.prototype.exec),ut=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,dt=/\\(\\)?/g,F=function(L){var q=Qe(L,0,1),P=Qe(L,-1);if(q==="%"&&P!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(P==="%"&&q!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var j=[];return qe(L,ut,function(se,ee,pe,ue){j[j.length]=pe?qe(ue,dt,"$1"):ee||se}),j},T=function(L,q){var P=L,j;if(Ee(Ae,P)&&(j=Ae[P],P="%"+j[0]+"%"),Ee(me,P)){var se=me[P];if(se===de&&(se=be(P)),typeof se>"u"&&!q)throw new f("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:j,name:P,value:se}}throw new u("intrinsic "+L+" does not exist!")};return fw=function(L,q){if(typeof L!="string"||L.length===0)throw new f("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof q!="boolean")throw new f('"allowMissing" argument must be a boolean');if(et(/^%?[^%]*%?$/,L)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var P=F(L),j=P.length>0?P[0]:"",se=T("%"+j+"%",q),ee=se.name,pe=se.value,ue=!1,Oe=se.alias;Oe&&(j=Oe[0],Re(P,X([0,1],Oe)));for(var Le=1,oe=!0;Le<P.length;Le+=1){var Se=P[Le],ve=Qe(Se,0,1),Te=Qe(Se,-1);if((ve==='"'||ve==="'"||ve==="`"||Te==='"'||Te==="'"||Te==="`")&&ve!==Te)throw new u("property names with quotes must have matching quotes");if((Se==="constructor"||!oe)&&(ue=!0),j+="."+Se,ee="%"+j+"%",Ee(me,ee))pe=me[ee];else if(pe!=null){if(!(Se in pe)){if(!q)throw new f("base intrinsic for "+L+" exists, but the property is not available.");return}if(D&&Le+1>=P.length){var He=D(pe,Se);oe=!!He,oe&&"get"in He&&!("originalValue"in He.get)?pe=He.get:pe=pe[Se]}else oe=Ee(pe,Se),pe=pe[Se];oe&&!ue&&(me[ee]=pe)}}return pe},fw}var dw,WR;function JS(){if(WR)return dw;WR=1;var e=lg(),t=aN(),r=mc(),n=ug();return dw=function(a,u,f){if(!a||typeof a!="object"&&typeof a!="function")throw new r("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,d=arguments.length>4?arguments[4]:null,v=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,w=!!n&&n(a,u);if(e)e(a,u,{configurable:v===null&&w?w.configurable:!v,enumerable:l===null&&w?w.enumerable:!l,value:f,writable:d===null&&w?w.writable:!d});else if(p||!l&&!d&&!v)a[u]=f;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},dw}var hw,qR;function ZS(){if(qR)return hw;qR=1;var e=lg(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},hw=t,hw}var pw,GR;function yH(){if(GR)return pw;GR=1;var e=QS(),t=JS(),r=ZS()(),n=ug(),o=mc(),a=e("%Math.floor%");return pw=function(f,l){if(typeof f!="function")throw new o("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||a(l)!==l)throw new o("`length` must be a positive 32-bit integer");var d=arguments.length>2&&!!arguments[2],v=!0,p=!0;if("length"in f&&n){var w=n(f,"length");w&&!w.configurable&&(v=!1),w&&!w.writable&&(p=!1)}return(v||p||!d)&&(r?t(f,"length",l,!0,!0):t(f,"length",l)),f},pw}var gw,YR;function wH(){if(YR)return gw;YR=1;var e=id(),t=KS(),r=cN();return gw=function(){return r(e,t,arguments)},gw}var KR;function EH(){return KR||(KR=1,function(e){var t=yH(),r=lg(),n=XS(),o=wH();e.exports=function(u){var f=n(arguments),l=u.length-(arguments.length-1);return t(f,1+(l>0?l:0),!0)},r?r(e.exports,"apply",{value:o}):e.exports.apply=o}(P0)),P0.exports}var vw,XR;function fN(){if(XR)return vw;XR=1;var e=Object.prototype.toString;return vw=function(r){var n=e.call(r),o=n==="[object Arguments]";return o||(o=n!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&e.call(r.callee)==="[object Function]"),o},vw}var mw,QR;function SH(){if(QR)return mw;QR=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=fN(),o=Object.prototype.propertyIsEnumerable,a=!o.call({toString:null},"toString"),u=o.call(function(){},"prototype"),f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(w){var x=w.constructor;return x&&x.prototype===w},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=function(){if(typeof window>"u")return!1;for(var w in window)try{if(!d["$"+w]&&t.call(window,w)&&window[w]!==null&&typeof window[w]=="object")try{l(window[w])}catch{return!0}}catch{return!0}return!1}(),p=function(w){if(typeof window>"u"||!v)return l(w);try{return l(w)}catch{return!1}};e=function(x){var C=x!==null&&typeof x=="object",E=r.call(x)==="[object Function]",S=n(x),I=C&&r.call(x)==="[object String]",D=[];if(!C&&!E&&!S)throw new TypeError("Object.keys called on a non-object");var H=u&&E;if(I&&x.length>0&&!t.call(x,0))for(var V=0;V<x.length;++V)D.push(String(V));if(S&&x.length>0)for(var M=0;M<x.length;++M)D.push(String(M));else for(var G in x)!(H&&G==="prototype")&&t.call(x,G)&&D.push(String(G));if(a)for(var y=p(x),Z=0;Z<f.length;++Z)!(y&&f[Z]==="constructor")&&t.call(x,f[Z])&&D.push(f[Z]);return D}}return mw=e,mw}var yw,JR;function _H(){if(JR)return yw;JR=1;var e=Array.prototype.slice,t=fN(),r=Object.keys,n=r?function(u){return r(u)}:SH(),o=Object.keys;return n.shim=function(){if(Object.keys){var u=function(){var f=Object.keys(arguments);return f&&f.length===arguments.length}(1,2);u||(Object.keys=function(l){return t(l)?o(e.call(l)):o(l)})}else Object.keys=n;return Object.keys||n},yw=n,yw}var ww,ZR;function bH(){if(ZR)return ww;ZR=1;var e=_H(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,o=JS(),a=function(d){return typeof d=="function"&&r.call(d)==="[object Function]"},u=ZS()(),f=function(d,v,p,w){if(v in d){if(w===!0){if(d[v]===p)return}else if(!a(w)||!w())return}u?o(d,v,p,!0):o(d,v,p)},l=function(d,v){var p=arguments.length>2?arguments[2]:{},w=e(v);t&&(w=n.call(w,Object.getOwnPropertySymbols(v)));for(var x=0;x<w.length;x+=1)f(d,w[x],v[w[x]],p[w[x]])};return l.supportsDescriptors=!!u,ww=l,ww}var Ew,eO;function dN(){if(eO)return Ew;eO=1;var e=mc();return Ew=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},Ew}var Sw,tO;function xH(){if(tO)return Sw;tO=1;var e=QS(),t=e("%String%"),r=mc();return Sw=function(o){if(typeof o=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(o)},Sw}var _w,rO;function CH(){if(rO)return _w;rO=1;var e=QS(),t=XS(),r=t([e("%String.prototype.indexOf%")]);return _w=function(o,a){var u=e(o,!!a);return typeof u=="function"&&r(o,".prototype.")>-1?t([u]):u},_w}var bw,nO;function hN(){if(nO)return bw;nO=1;var e=dN(),t=xH(),r=CH(),n=r("String.prototype.replace"),o=/^\s$/.test(""),a=o?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,u=o?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return bw=function(){var l=t(e(this));return n(n(l,a,""),u,"")},bw}var xw,iO;function pN(){if(iO)return xw;iO=1;var e=hN(),t="",r="";return xw=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},xw}var Cw,oO;function TH(){if(oO)return Cw;oO=1;var e=ZS()(),t=JS(),r=pN();return Cw=function(){var o=r();return String.prototype.trim!==o&&(e?t(String.prototype,"trim",o,!0):t(String.prototype,"trim",o)),o},Cw}var Tw,sO;function AH(){if(sO)return Tw;sO=1;var e=EH(),t=bH(),r=dN(),n=hN(),o=pN(),a=TH(),u=e(o()),f=function(d){return r(d),u(d)};return t(f,{getPolyfill:o,implementation:n,shim:a}),Tw=f,Tw}var Aw,aO;function RH(){if(aO)return Aw;aO=1;var e=K5(),t=oN(),r=X5(),n=AH(),o=function(G){t(!1,G)},a=String.prototype.replace,u=String.prototype.split,f="||||",l=function(M){var G=M%10;return M!==11&&G===1?0:2<=G&&G<=4&&!(M>=12&&M<=14)?1:2},d={arabic:function(M){if(M<3)return M;var G=M%100;return G>=3&&G<=10?3:G>=11?4:5},bosnian_serbian:l,chinese:function(){return 0},croatian:l,french:function(M){return M>1?1:0},german:function(M){return M!==1?1:0},russian:l,lithuanian:function(M){return M%10===1&&M%100!==11?0:M%10>=2&&M%10<=9&&(M%100<11||M%100>19)?1:2},czech:function(M){return M===1?0:M>=2&&M<=4?1:2},polish:function(M){if(M===1)return 0;var G=M%10;return 2<=G&&G<=4&&(M%100<10||M%100>=20)?1:2},icelandic:function(M){return M%10!==1||M%100===11?1:0},slovenian:function(M){var G=M%100;return G===1?0:G===2?1:G===3||G===4?2:3}},v={arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]};function p(M){var G={};return e(M,function(y,Z){e(y,function(ae){G[ae]=Z})}),G}function w(M){var G=p(v);return G[M]||G[u.call(M,/-/,1)[0]]||G.en}function x(M,G){return d[w(M)](G)}function C(M){return M.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(M){var G=M&&M.prefix||"%{",y=M&&M.suffix||"}";if(G===f||y===f)throw new RangeError('"'+f+'" token is reserved for pluralization');return new RegExp(C(G)+"(.*?)"+C(y),"g")}var S=/\$/g,I="$$",D=/%\{(.*?)\}/g;function H(M,G,y,Z){if(typeof M!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(G==null)return M;var ae=M,ce=Z||D,ie=typeof G=="number"?{smart_count:G}:G;if(ie.smart_count!=null&&ae){var de=u.call(ae,f);ae=n(de[x(y||"en",ie.smart_count)]||de[0])}return ae=a.call(ae,ce,function(ge,me){return!r(ie,me)||ie[me]==null?ge:a.call(ie[me],S,I)}),ae}function V(M){var G=M||{};this.phrases={},this.extend(G.phrases||{}),this.currentLocale=G.locale||"en";var y=G.allowMissing?H:null;this.onMissingKey=typeof G.onMissingKey=="function"?G.onMissingKey:y,this.warn=G.warn||o,this.tokenRegex=E(G.interpolation)}return V.prototype.locale=function(M){return M&&(this.currentLocale=M),this.currentLocale},V.prototype.extend=function(M,G){e(M,function(y,Z){var ae=G?G+"."+Z:Z;typeof y=="object"?this.extend(y,ae):this.phrases[ae]=y},this)},V.prototype.unset=function(M,G){typeof M=="string"?delete this.phrases[M]:e(M,function(y,Z){var ae=G?G+"."+Z:Z;typeof y=="object"?this.unset(y,ae):delete this.phrases[ae]},this)},V.prototype.clear=function(){this.phrases={}},V.prototype.replace=function(M){this.clear(),this.extend(M)},V.prototype.t=function(M,G){var y,Z,ae=G??{};if(typeof this.phrases[M]=="string")y=this.phrases[M];else if(typeof ae._=="string")y=ae._;else if(this.onMissingKey){var ce=this.onMissingKey;Z=ce(M,ae,this.currentLocale,this.tokenRegex)}else this.warn('Missing translation for key: "'+M+'"'),Z=M;return typeof y=="string"&&(Z=H(y,ae,this.currentLocale,this.tokenRegex)),Z},V.prototype.has=function(M){return r(this.phrases,M)},V.transformPhrase=function(G,y,Z){return H(G,y,Z)},Aw=V,Aw}var OH=RH();const IH=Kr(OH),cg={ALERT:"AlertService",LANGUAGE:"LanguageService"};var od=Object.freeze||function(e){return e},uO=od(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),lO=od(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),cO=od(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),fO=od(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),dO=od(["#text"]),fg=Object.freeze||function(e){return e},hO=fg(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","minlength","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"]),Rw=fg(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),pO=fg(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),hh=fg(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),PH=Object.hasOwnProperty,gO=Object.setPrototypeOf,kH=typeof Reflect<"u"&&Reflect,LE=kH.apply;LE||(LE=function(t,r,n){return t.apply(r,n)});function Jr(e,t){gO&&gO(e,null);for(var r=t.length;r--;){var n=t[r];if(typeof n=="string"){var o=n.toLowerCase();o!==n&&(Object.isFrozen(t)||(t[r]=o),n=o)}e[n]=!0}return e}function Ow(e){var t={},r=void 0;for(r in e)LE(PH,e,[r])&&(t[r]=e[r]);return t}var Xu=Object.seal||function(e){return e},LH=Xu(/\{\{[\s\S]*|[\s\S]*\}\}/gm),DH=Xu(/<%[\s\S]*|[\s\S]*%>/gm),NH=Xu(/^data-[\-\w.\u00B7-\uFFFF]/),MH=Xu(/^aria-[\-\w]+$/),$H=Xu(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),FH=Xu(/^(?:\w+script|data):/i),jH=Xu(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),uf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function cs(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var UH=typeof Reflect<"u"&&Reflect,DE=UH.apply,VH=Array.prototype.slice,vO=Object.freeze,HH=function(){return typeof window>"u"?null:window};DE||(DE=function(t,r,n){return t.apply(r,n)});var BH=function(t,r){if((typeof t>"u"?"undefined":uf(t))!=="object"||typeof t.createPolicy!="function")return null;var n=null,o="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(o)&&(n=r.currentScript.getAttribute(o));var a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML:function(f){return f}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function gN(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:HH(),t=function(je){return gN(je)};if(t.version="2.0.7",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var r=e.document,n=!1,o=!1,a=e.document,u=e.DocumentFragment,f=e.HTMLTemplateElement,l=e.Node,d=e.NodeFilter,v=e.NamedNodeMap,p=v===void 0?e.NamedNodeMap||e.MozNamedAttrMap:v,w=e.Text,x=e.Comment,C=e.DOMParser,E=e.TrustedTypes;if(typeof f=="function"){var S=a.createElement("template");S.content&&S.content.ownerDocument&&(a=S.content.ownerDocument)}var I=BH(E,r),D=I?I.createHTML(""):"",H=a,V=H.implementation,M=H.createNodeIterator,G=H.getElementsByTagName,y=H.createDocumentFragment,Z=r.importNode,ae={};t.isSupported=V&&typeof V.createHTMLDocument<"u"&&a.documentMode!==9;var ce=LH,ie=DH,de=NH,ge=MH,me=FH,ye=jH,be=$H,Ae=null,re=Jr({},[].concat(cs(uO),cs(lO),cs(cO),cs(fO),cs(dO))),Ee=null,X=Jr({},[].concat(cs(hO),cs(Rw),cs(pO),cs(hh))),Re=null,qe=null,Qe=!0,et=!0,ut=!1,dt=!1,F=!1,T=!1,N=!1,L=!1,q=!1,P=!1,j=!1,se=!1,ee=!0,pe=!0,ue=!1,Oe={},Le=Jr({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),oe=Jr({},["audio","video","img","source","image"]),Se=null,ve=Jr({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Te=null,He=a.createElement("form"),Ue=function(je){Te&&Te===je||((!je||(typeof je>"u"?"undefined":uf(je))!=="object")&&(je={}),Ae="ALLOWED_TAGS"in je?Jr({},je.ALLOWED_TAGS):re,Ee="ALLOWED_ATTR"in je?Jr({},je.ALLOWED_ATTR):X,Se="ADD_URI_SAFE_ATTR"in je?Jr(Ow(ve),je.ADD_URI_SAFE_ATTR):ve,Re="FORBID_TAGS"in je?Jr({},je.FORBID_TAGS):{},qe="FORBID_ATTR"in je?Jr({},je.FORBID_ATTR):{},Oe="USE_PROFILES"in je?je.USE_PROFILES:!1,Qe=je.ALLOW_ARIA_ATTR!==!1,et=je.ALLOW_DATA_ATTR!==!1,ut=je.ALLOW_UNKNOWN_PROTOCOLS||!1,dt=je.SAFE_FOR_JQUERY||!1,F=je.SAFE_FOR_TEMPLATES||!1,T=je.WHOLE_DOCUMENT||!1,q=je.RETURN_DOM||!1,P=je.RETURN_DOM_FRAGMENT||!1,j=je.RETURN_DOM_IMPORT||!1,se=je.RETURN_TRUSTED_TYPE||!1,L=je.FORCE_BODY||!1,ee=je.SANITIZE_DOM!==!1,pe=je.KEEP_CONTENT!==!1,ue=je.IN_PLACE||!1,be=je.ALLOWED_URI_REGEXP||be,F&&(et=!1),P&&(q=!0),Oe&&(Ae=Jr({},[].concat(cs(dO))),Ee=[],Oe.html===!0&&(Jr(Ae,uO),Jr(Ee,hO)),Oe.svg===!0&&(Jr(Ae,lO),Jr(Ee,Rw),Jr(Ee,hh)),Oe.svgFilters===!0&&(Jr(Ae,cO),Jr(Ee,Rw),Jr(Ee,hh)),Oe.mathMl===!0&&(Jr(Ae,fO),Jr(Ee,pO),Jr(Ee,hh))),je.ADD_TAGS&&(Ae===re&&(Ae=Ow(Ae)),Jr(Ae,je.ADD_TAGS)),je.ADD_ATTR&&(Ee===X&&(Ee=Ow(Ee)),Jr(Ee,je.ADD_ATTR)),je.ADD_URI_SAFE_ATTR&&Jr(Se,je.ADD_URI_SAFE_ATTR),pe&&(Ae["#text"]=!0),T&&Jr(Ae,["html","head","body"]),Ae.table&&(Jr(Ae,["tbody"]),delete Re.tbody),vO&&vO(je),Te=je)},at=function(je){t.removed.push({element:je});try{je.parentNode.removeChild(je)}catch{je.outerHTML=D}},Nt=function(je,mt){try{t.removed.push({attribute:mt.getAttributeNode(je),from:mt})}catch{t.removed.push({attribute:null,from:mt})}mt.removeAttribute(je)},$t=function(je){var mt=void 0,Rt=void 0;if(L)je="<remove></remove>"+je;else{var Vt=je.match(/^[\s]+/);Rt=Vt&&Vt[0],Rt&&(je=je.slice(Rt.length))}if(n)try{mt=new C().parseFromString(je,"text/html")}catch{}if(o&&Jr(Re,["title"]),!mt||!mt.documentElement){mt=V.createHTMLDocument("");var kt=mt,wr=kt.body;wr.parentNode.removeChild(wr.parentNode.firstElementChild),wr.outerHTML=I?I.createHTML(je):je}return je&&Rt&&mt.body.insertBefore(a.createTextNode(Rt),mt.body.childNodes[0]||null),G.call(mt,T?"html":"body")[0]};t.isSupported&&(function(){try{var Et=$t('<svg><p><textarea><img src="</textarea><img src=x abc=1//">');Et.querySelector("svg img")&&(n=!0)}catch{}}(),function(){try{var Et=$t("<x/><title></title><img>");/<\/title/.test(Et.querySelector("title").innerHTML)&&(o=!0)}catch{}}());var Ut=function(je){return M.call(je.ownerDocument||je,je,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,function(){return d.FILTER_ACCEPT},!1)},br=function(je){return je instanceof w||je instanceof x?!1:typeof je.nodeName!="string"||typeof je.textContent!="string"||typeof je.removeChild!="function"||!(je.attributes instanceof p)||typeof je.removeAttribute!="function"||typeof je.setAttribute!="function"||typeof je.namespaceURI!="string"},Pr=function(je){return(typeof l>"u"?"undefined":uf(l))==="object"?je instanceof l:je&&(typeof je>"u"?"undefined":uf(je))==="object"&&typeof je.nodeType=="number"&&typeof je.nodeName=="string"},ur=function(je,mt,Rt){ae[je]&&ae[je].forEach(function(Vt){Vt.call(t,mt,Rt,Te)})},xr=function(je){var mt=void 0;if(ur("beforeSanitizeElements",je,null),br(je))return at(je),!0;var Rt=je.nodeName.toLowerCase();if(ur("uponSanitizeElement",je,{tagName:Rt,allowedTags:Ae}),(Rt==="svg"||Rt==="math")&&je.querySelectorAll("p, br").length!==0)return at(je),!0;if(!Ae[Rt]||Re[Rt]){if(pe&&!Le[Rt]&&typeof je.insertAdjacentHTML=="function")try{var Vt=je.innerHTML;je.insertAdjacentHTML("AfterEnd",I?I.createHTML(Vt):Vt)}catch{}return at(je),!0}return Rt==="noscript"&&/<\/noscript/i.test(je.innerHTML)||Rt==="noembed"&&/<\/noembed/i.test(je.innerHTML)?(at(je),!0):(dt&&!je.firstElementChild&&(!je.content||!je.content.firstElementChild)&&/</g.test(je.textContent)&&(t.removed.push({element:je.cloneNode()}),je.innerHTML?je.innerHTML=je.innerHTML.replace(/</g,"<"):je.innerHTML=je.textContent.replace(/</g,"<")),F&&je.nodeType===3&&(mt=je.textContent,mt=mt.replace(ce," "),mt=mt.replace(ie," "),je.textContent!==mt&&(t.removed.push({element:je.cloneNode()}),je.textContent=mt)),ur("afterSanitizeElements",je,null),!1)},Rr=function(je,mt,Rt){if(ee&&(mt==="id"||mt==="name")&&(Rt in a||Rt in He))return!1;if(!(et&&de.test(mt))){if(!(Qe&&ge.test(mt))){if(!Ee[mt]||qe[mt])return!1;if(!Se[mt]){if(!be.test(Rt.replace(ye,""))){if(!((mt==="src"||mt==="xlink:href"||mt==="href")&&je!=="script"&&Rt.indexOf("data:")===0&&oe[je])){if(!(ut&&!me.test(Rt.replace(ye,"")))){if(Rt)return!1}}}}}}return!0},gr=function(je){var mt=void 0,Rt=void 0,Vt=void 0,kt=void 0,wr=void 0;ur("beforeSanitizeAttributes",je,null);var Ur=je.attributes;if(Ur){var dr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee};for(wr=Ur.length;wr--;){mt=Ur[wr];var Cr=mt,kr=Cr.name,bn=Cr.namespaceURI;if(Rt=mt.value.trim(),Vt=kr.toLowerCase(),dr.attrName=Vt,dr.attrValue=Rt,dr.keepAttr=!0,ur("uponSanitizeAttribute",je,dr),Rt=dr.attrValue,Vt==="name"&&je.nodeName==="IMG"&&Ur.id)kt=Ur.id,Ur=DE(VH,Ur,[]),Nt("id",je),Nt(kr,je),Ur.indexOf(kt)>wr&&je.setAttribute("id",kt.value);else{if(je.nodeName==="INPUT"&&Vt==="type"&&Rt==="file"&&dr.keepAttr&&(Ee[Vt]||!qe[Vt]))continue;kr==="id"&&je.setAttribute(kr,""),Nt(kr,je)}if(dr.keepAttr){if(/svg|math/i.test(je.namespaceURI)&&new RegExp("</("+Object.keys(Le).join("|")+")","i").test(Rt)){Nt(kr,je);continue}F&&(Rt=Rt.replace(ce," "),Rt=Rt.replace(ie," "));var Pn=je.nodeName.toLowerCase();if(Rr(Pn,Vt,Rt))try{bn?je.setAttributeNS(bn,kr,Rt):je.setAttribute(kr,Rt),t.removed.pop()}catch{}}}ur("afterSanitizeAttributes",je,null)}},Jt=function Et(je){var mt=void 0,Rt=Ut(je);for(ur("beforeSanitizeShadowDOM",je,null);mt=Rt.nextNode();)ur("uponSanitizeShadowNode",mt,null),!xr(mt)&&(mt.content instanceof u&&Et(mt.content),gr(mt));ur("afterSanitizeShadowDOM",je,null)};return t.sanitize=function(Et,je){var mt=void 0,Rt=void 0,Vt=void 0,kt=void 0,wr=void 0;if(Et||(Et="<!-->"),typeof Et!="string"&&!Pr(Et)){if(typeof Et.toString!="function")throw new TypeError("toString is not a function");if(Et=Et.toString(),typeof Et!="string")throw new TypeError("dirty is not a string, aborting")}if(!t.isSupported){if(uf(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof Et=="string")return e.toStaticHTML(Et);if(Pr(Et))return e.toStaticHTML(Et.outerHTML)}return Et}if(N||Ue(je),t.removed=[],!ue)if(Et instanceof l)mt=$t("<!-->"),Rt=mt.ownerDocument.importNode(Et,!0),Rt.nodeType===1&&Rt.nodeName==="BODY"||Rt.nodeName==="HTML"?mt=Rt:mt.appendChild(Rt);else{if(!q&&!F&&!T&&se&&Et.indexOf("<")===-1)return I?I.createHTML(Et):Et;if(mt=$t(Et),!mt)return q?null:D}mt&&L&&at(mt.firstChild);for(var Ur=Ut(ue?Et:mt);Vt=Ur.nextNode();)Vt.nodeType===3&&Vt===kt||xr(Vt)||(Vt.content instanceof u&&Jt(Vt.content),gr(Vt),kt=Vt);if(kt=null,ue)return Et;if(q){if(P)for(wr=y.call(mt.ownerDocument);mt.firstChild;)wr.appendChild(mt.firstChild);else wr=mt;return j&&(wr=Z.call(r,wr,!0)),wr}var dr=T?mt.outerHTML:mt.innerHTML;return F&&(dr=dr.replace(ce," "),dr=dr.replace(ie," ")),I&&se?I.createHTML(dr):dr},t.setConfig=function(Et){Ue(Et),N=!0},t.clearConfig=function(){Te=null,N=!1},t.isValidAttribute=function(Et,je,mt){Te||Ue({});var Rt=Et.toLowerCase(),Vt=je.toLowerCase();return Rr(Rt,Vt,mt)},t.addHook=function(Et,je){typeof je=="function"&&(ae[Et]=ae[Et]||[],ae[Et].push(je))},t.removeHook=function(Et){ae[Et]&&ae[Et].pop()},t.removeHooks=function(Et){ae[Et]&&(ae[Et]=[])},t.removeAllHooks=function(){ae={}},t}var zH=gN();const WH=/&/g,qH=/[\W]+/g,GH=/\s+/g,mO={escapeExpression(e){const t=/[&<>"'`=]/g,r=/[&<>"'`=]/,n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="};function o(a){return n[a]}if(typeof e!="string"){if(e===null)return"";if(!e)return e+"";e=""+e}return r.test(e)?e.replace(t,o):e},escapeRegExp(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},slugify(e){if(e)return e.toLowerCase().replace(WH,"and").replace(qH," ").trim().replace(GH,"-").substr(0,80)},isEqual(e,t){return!!e&&!!t&&e.toString()===t.toString()},toTitleCase(e){return e?e.split(" ").map(t=>{const r=t[0]?t[0].toUpperCase():"",n=t.substr(1)?t.substr(1).toLowerCase():"";return r+n}).join(" "):""},toSentenceCase(e){return e?e.split(" ").map((t,r)=>{const n=t[0]?t[0].toUpperCase():"",o=t.substr(1)?t.substr(1).toLowerCase():"";return r===0?n+o:t}).join(" "):""},sanitize(e){return e===0?"0":e?zH.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&","&"):""},removeExtraSpace(e){return e.replace(/\s+/g," ").trim()}};class YH extends Wi{constructor(){super(...arguments),this.initialized=!1}static get Instance(){return this.instance||(this.instance=new this)}get name(){return cg.LANGUAGE}setConfig(t){this.polyglot=new IH({locale:t.locale,phrases:t.phrases.rootElement||t.phrases}),this.cache={},this.initialized=!0}isInitialised(){return this.initialized}getPhrase(t,r,n){const o=`${t}.${r}`;if(this.polyglot||Mt.throw(new Hr("LanguageService config must be set.")),!this.polyglot.has(o)){if(!eg.isDevelopment){const v=window.trackJs;return v&&v.console.error(`No phrase set for ${o} in language config`),""}Mt.throw(new Hr(`No phrase set for ${o} in language config.`))}if(!n||nc(n)){const v=this.cache[o];if(v)return v;const p=this.polyglot.t(o);return this.cache[o]=p,p}const a=Jf(n,"smartCount","escapeText"),u={};for(const v in a){let p=mO.sanitize(a[v]);n.escapeText&&(p=mO.escapeExpression(p)),u[v]=p}Ru(n.smartCount)&&(u.smart_count=n.smartCount);const f=`${o}:${ra({...u}).join(":")}`,l=this.cache[f];if(l)return l;const d=this.polyglot.t(o,u);return this.cache[f]=d,d}encloseNamespace(t){return(r,n)=>this.getPhrase(t,r,n)}}const fr=YH.Instance;class dg extends Jp{get name(){return"ErrorPageError"}}const Iw="shared.unspecifiedError";class sc extends dg{constructor(){super(fr.getPhrase(Iw,"title"))}get name(){return"UnspecifiedError"}get heading(){return fr.getPhrase(Iw,"heading")}get description(){return fr.getPhrase(Iw,"description")}get cta(){return!1}}const hf={get(e,t){var r;return(r=e==null?void 0:e[t])==null?void 0:r.value},getCustomerSettingsRequest(e,t){return e!=null&&e.isAuthenticated?bu.customerSettings(t==null?void 0:t.success,t==null?void 0:t.error):bu._publicCustomerSettings(t==null?void 0:t.success,t==null?void 0:t.error)},getUserSettingsRequest(e,t){return e!=null&&e.isAuthenticated?bu.userSettings(t==null?void 0:t.success,t==null?void 0:t.error):bu._publicUserSettings(t==null?void 0:t.success,t==null?void 0:t.error)},formatSettings(e){return e.reduce((t,r)=>(t[r.name]=r,t),{})}},yO=[{name:"new_classification_view",value:!0},{name:"must_complete_onboarding",value:!1},{name:"has_completed_onboarding",value:!0},{name:"has_displayed_presentation_switcher_spotlight",value:!0},{name:"has_curated_discover_dashboards",value:!0},{name:"has_special_event_calendar",value:!0},{name:"new_movies_and_tv",value:!0}];let Pw=()=>(Mt.throw(new Hr("SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests")),null);const bu={setPublicFormatSettings(e){e&&(Pw=e)},organisationSettings(e,t,r){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:"name"},formatData:hf.formatSettings,success:t,error:r}},customerSetting(e,t,r){return{key:`settings:customer:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Uu.first(n),success:t,error:r}},customerSettings(e,t){return{key:"customer:settings",url:"{gateway}/v1/customers/me/settings?(customerSettings)",normalizeOptions:{idAttribute:"name"},formatData:hf.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:"customer:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:Pw,success:e,error:t,successResponse:()=>yO}},_publicUserSettings(e,t){return{key:"user:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:Pw,success:e,error:t,successResponse:()=>yO}},userSetting(e,t,r){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Uu.first(n),success:t,error:r}},userSettings(e,t){return{key:"user:settings",url:"{gateway}/v1/users/me/settings?(userSettings)",normalizeOptions:{idAttribute:"name"},formatData:hf.formatSettings,success:e,error:t}},updateUserSetting(e,t,r,n){return{key:`update:user:setting:${e.name}`,url:"{gateway}/v1/users/me/settings",data:e,type:di.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}},updateCustomerSetting(e,t,r,n){return{key:`update:customer:setting:${e.name}`,url:"{gateway}/v1/customers/me/settings",data:e,type:di.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}}},KH="modulepreload",XH=function(e){return"/"+e},wO={},Zr=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),f=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));o=Promise.allSettled(r.map(l=>{if(l=XH(l),l in wO)return;wO[l]=!0;const d=l.endsWith(".css"),v=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${v}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":KH,d||(p.as="script"),p.crossOrigin="",p.href=l,f&&p.setAttribute("nonce",f),document.head.appendChild(p),d)return new Promise((w,x)=>{p.addEventListener("load",w),p.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${l}`)))})}))}function a(u){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=u,window.dispatchEvent(f),!f.defaultPrevented)throw u}return o.then(u=>{for(const f of u||[])f.status==="rejected"&&a(f.reason);return t().catch(a)})};var kw={exports:{}},Jc={};/**
|
|
103
|
+
* @license React
|
|
104
|
+
* react-jsx-runtime.production.min.js
|
|
105
|
+
*
|
|
106
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
107
|
+
*
|
|
108
|
+
* This source code is licensed under the MIT license found in the
|
|
109
|
+
* LICENSE file in the root directory of this source tree.
|
|
110
|
+
*/var EO;function QH(){if(EO)return Jc;EO=1;var e=Ku(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function u(f,l,d){var v,p={},w=null,x=null;d!==void 0&&(w=""+d),l.key!==void 0&&(w=""+l.key),l.ref!==void 0&&(x=l.ref);for(v in l)n.call(l,v)&&!a.hasOwnProperty(v)&&(p[v]=l[v]);if(f&&f.defaultProps)for(v in l=f.defaultProps,l)p[v]===void 0&&(p[v]=l[v]);return{$$typeof:t,type:f,key:w,ref:x,props:p,_owner:o.current}}return Jc.Fragment=r,Jc.jsx=u,Jc.jsxs=u,Jc}var SO;function JH(){return SO||(SO=1,kw.exports=QH()),kw.exports}var Q=JH();class e_ extends oV{onShowAlert(t){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(t);const{ctor:r,collection:n}=t,o=n?n.toJSON():[],a=u=>Zt.Radio.channel(Nr.ALERT).trigger("remove:alert",u);this.layout.showChildView(this.layoutOptions.options.alertRegion,Q.jsx(r,{alerts:o,removeAlert:a}))}}var no=(e=>(e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.Primary="lite",e.Exchange="exchange_tv",e.StreamableLearning="streamable_learning",e))(no||{});const Lw="shared.notFoundError";class vN extends dg{constructor(){super(fr.getPhrase(Lw,"title"))}get name(){return"NotFoundError"}get heading(){return fr.getPhrase(Lw,"heading")}get description(){return fr.getPhrase(Lw,"description")}}const Ar={CONTENT:"content",POPUP:"popup",ALERT:"alert",HIDDEN:"hidden"},sd={DEFAULT_LAYOUT:"DefaultLayout"},On={DEFAULT:"default:application",EXCHANGE:"exchange:application",TV:"tv:application"},mN={getRandomInt(e=1e4){return Math.floor(Math.random()*Math.floor(e))}},lo={debounce(e,t,r){return oS(e,t,r)},throttle(e,t,r){return iS(e,t,r)},isFunction(e){return yr(e)},useIdentity(){return Kf},memoize(e,t){return rS(e,t)}};var ht=(e=>(e.Stream="cv_product_stream",e.WebPlayerStream="cv_product_webplayer_stream",e.StreamProgress="cv_product_stream_progress",e.Login="cv_product_login",e.LoginSsoRedirect="cv_product_login_sso_redirect",e.LoginFailed="cv_product_login_failed",e.Search="cv_product_search",e.InstantSearch="cv_product_instant_search",e.SearchEmptyResult="cv_product_search_empty_result",e.Filter="cv_product_search_filter",e.SearchLanding="cv_product_search_landing",e.Share="cv_product_share",e.Unshare="cv_product_unshare",e.WorkspaceAdd="cv_product_tv_add",e.Rename="cv_product_rename",e.Move="cv_product_move",e.Sort="cv_product_sort",e.Create="cv_product_create",e.Delete="cv_product_delete",e.Associate="cv_product_associate",e.Dissociate="cv_product_dissociate",e.Edit="cv_product_edit",e.Approve="cv_product_approve",e.Reject="cv_product_reject",e.Disable="cv_product_disable",e.Upload="cv_product_upload",e.Download="cv_product_download",e.Navigate="cv_product_navigate",e.Click="cv_product_click",e.Suggest="cv_product_suggest",e.EditAssoc="cv_product_edit_assoc",e.Play="cv_product_play",e.Favourite="cv_product_favourite",e.Follow="cv_product_follow",e.Prefer="cv_product_prefer",e.Print="cv_product_print",e.Copy="cv_product_copy",e.Activate="cv_product_activate",e.VerifyEmail="cv_product_verify_email",e.ChangePassword="cv_product_change_password",e.ManageGroup="cv_product_manage_group",e.Export="cv_product_export",e.SendEmail="cv_product_send_email",e.Publish="cv_product_publish",e.Submit="cv_product_submit",e.Complete="cv_product_complete",e.Archive="cv_product_archive",e.Promote="cv_product_promote",e.Demote="cv_product_demote",e.BulkAction="cv_product_bulk_action",e.Remove="cv_product_remove",e.Dismiss="cv_product_dismiss",e.Open="cv_product_open",e.Hide="cv_product_hide",e.PageView="cv_product_page_view",e.Select="cv_product_select",e.SwitchCustomer="cv_product_switch_customer",e.Focus="cv_product_focus",e.Blur="cv_product_blur",e.Hover="cv_product_hover",e.Unhover="cv_product_unhover",e.SetAccess="cv_product_set_access",e.AddToLocalCache="cv_product_add_to_lc",e.ResolveWarning="cv_product_resolve_warning",e.DismissWarning="cv_product_dismiss_warning",e))(ht||{}),Wr=(e=>(e.Folder="folder",e.Video="video",e.Rating="rating",e.Series="series",e.Library="library",e.Resource="resource",e.Tag="tag",e.Subtitle="subtitle",e.Chapter="chapter",e.Resolution="resolution",e.PlaybackSpeed="playback_speed",e.Device="device",e.Restriction="restriction",e.Interactive="interactive",e.Interaction="interaction",e.PDF="pdf",e.CustomerSetting="customer_setting",e.UserSetting="user_setting",e.LibraryRequest="staff_request",e.Logo="logo",e.Pagination="pagination",e.Thumbnail="thumbnail",e.Banner="banner",e.Link="link",e.Playlist="playlist",e.Playlists="playlists",e.Person="person",e.Company="company",e.Classroom="classroom",e.ClassroomGroup="classroom_group",e.Classification="classification",e.ShareLink="share_link",e.DirectShare="direct_share",e.Upload="upload",e.SearchResults="search_results",e.SearchSuggestion="search_suggestion",e.Audience="audience",e.User="user",e.Clip="clip",e.UserChannel="user_channel",e.Widget="widget",e.Url="url",e.SocialShare="social_share",e.Presentation="presentation",e.BatchJob="batch_job",e.DeepLink="deep_link",e.Feedback="feedback",e.AppLink="app_link",e.SignUp="sign_up",e.FileGeneratorJob="file_generator_job",e.ExportLibraries="export_libraries",e.Product="product",e.Customer="customer",e.SpecialEvent="special_event",e.Region="region",e.ProductTip="product_tip",e.Livestream="livestream",e.DevicesCta="devices_cta",e.Integration="integration",e.Faq="faq",e.MixedMedia="mixed_media",e.TableOfContents="table_of_contents",e.Author="author",e.Glance="glance",e.Filter="filter",e.NotificationSetting="notification_setting",e.Transcript="transcript",e.CurriculumCode="curriculum_code",e.Assign="assign",e))(Wr||{}),gi=(e=>(e.TopNav="top_nav",e.LeftNav="left_nav",e.Footer="footer",e.Popup="popup",e.Banner="banner",e.VideoList="video_list",e.VideoListItem="video_list_item",e.VideoListHeader="video_header",e.VideoThumbnail="video_thumbnail",e.ExpandableVideoThumbnail="expandable_video_thumbnail",e.VideoItemPreview="video_item_preview",e.InteractiveItemPreview="interactive_item_preview",e.ClipItemPreview="clip_item_preview",e.VideoDetails="video_details",e.InteractiveDetails="interactive_details",e.ClipDetails="clip_details",e.VideoDetailsHeader="video_details_header",e.EditVideoDetails="edit_video_details",e.EditInteractiveVideoDetails="edit_interactive_video_details",e.EditClipDetails="edit_clip_details",e.EditVideoChapters="edit_video_chapters",e.EditVideoResources="edit_video_resources",e.PreviewVideoResources="preview_video_resources",e.VideoUpload="video_upload",e.VideoRequest="video_request",e.Pagination="pagination",e.LibraryHeader="library_header",e.LibraryTiles="library_tiles",e.LibraryRequestDetails="staff_request_details",e.Libraries="libraries",e.SubFolderList="sub_folder_list",e.AwaitingReviewVideoListHeader="awaiting_review_video_list_header",e.AwaitingReviewVideoItem="awaiting_review_video_item",e.PastReleasesHeader="past_releases_header",e.MigrationWarnings="migration_warnings",e.PlaylistListHeader="playlist_list_header",e.PlaylistListItem="playlist_list_item",e.SeriesListItem="series_list_item",e.SeriesWithVideos="series_with_videos",e.PlaylistWithVideos="playlist_with_videos",e.Dropdown="dropdown",e.ViewCurriculumLinks="view_curriculum_links",e.SearchBar="search_bar",e.InstantSearch="instant_search",e.SearchFilters="search_filters",e.FeaturedSeriesSearchResult="featured_series_search_result",e.ExchangeSearchGroupItem="exchange_search_group_item",e.StaffManager="staff_manager",e.StaffManagerListItem="staff_manager_list_item",e.StudentManager="student_manager",e.ViewStudentVideos="view_student_videos",e.StudentManagerListItem="student_manager_list_item",e.EditUser="edit_user",e.UserAuditLog="user_audit_log",e.BulkUserActionsWizard="bulk_user_actions_wizard",e.BulkUserUploadWizard="bulk_user_upload_wizard",e.Classroom="classroom",e.ClassroomsList="classrooms_list",e.ClassroomsListItem="classrooms_list_item",e.ManageClassroomStudents="manage_classroom_students",e.ManageClassroomStudentListItem="manage_classroom_student_list_item",e.ManageClassroomGroups="manage_classroom_groups",e.ManageClassroomGroupListItem="manage_classroom_group_list_item",e.ManageClassroomTeachers="manage_classroom_teachers",e.ManageClassroomTeacherListItem="manage_classroom_teachers_list_item",e.ArchivedClassrooms="archived_classrooms",e.PreviewInteractive="preview_interactive",e.PreviewSharedInteractive="preview_shared_interactive",e.PreviewInteractiveQuestions="preview_interactive_questions",e.EditInteractive="edit_interactive",e.EditInteractiveDetails="edit_interactive_details",e.PlaySharedInteractive="play_shared_interactive",e.PlayInteractive="play_interactive",e.InteractiveListItem="interactive_list_item",e.DeleteInteractive="delete_interactive",e.NewInteractive="new_interactive",e.CopyInteractive="copy_interactive",e.UnpublishInteractive="unpublish_interactive",e.ShareInteractive="share_interactive",e.PlayPage="play_page",e.Player="player",e.FloatingPlayer="floating_player",e.InteractivePlayer="interactive_player",e.EmbeddedPlayer="embedded_player",e.CreateClipPlayer="create_clip_player",e.PlayClip="play_clip",e.PlaySharedClip="play_shared_clip",e.ClipListItem="clip_list_item",e.ContentUpdatesBanner="content_updates_banner",e.ContentUpdatesClassificationBanner="content_updates_classification_banner",e.PreferencesSettings="preferences_settings",e.NotificationSettings="notification_settings",e.TopicsOnboarding="topics_onboarding",e.MyUploads="my_uploads",e.MyVideos="my_videos",e.SlidingList="sliding_list",e.HeroBannerItem="hero_banner_item",e.SlidingListItem="sliding_list_item",e.ClassificationListItem="classification_list_item",e.ClassificationComingSoon="classification_coming_soon",e.ClassificationHero="classification_hero",e.ClassificationFooter="classification_footer",e.Classification="classification",e.PresentationClassifications="presentation_classifications",e.Dashboard="dashboard",e.DiscoverFooter="discover_footer",e.ProductBanner="product_banner",e.UserOptions="user_options",e.MagicTabs="magic_tabs",e.Settings="settings",e.StudentFeed="student_feed",e.MyShares="my_shares",e.SharedByMe="shared_by_me",e.SharedWithMe="shared_with_me",e.Insights="insights",e.Error="error_view",e.UpgradeForm="upgrade_form",e.ClassroomGuide="classroom_guide",e.TeachingResources="teaching_resources",e.ResourcesGuidancePopup="resources_guidance_popup",e.InteractivesGuidancePopup="interactives_guidance_popup",e.CurriculumGuidancePopup="curriculum_guidance_popup",e.TopVideos="top_videos",e.VideoViewsList="video_views_list",e.VideoOverview="video_overview",e.LiteUpgradeFeedbackPopup="lite_upgrade_feedback_popup",e.LiteUpgradeBanner="lite_upgrade_banner",e.LiteUpgradeOnboarding="lite_upgrade_onboarding",e.GiveFeedbackPopup="give_feedback_popup",e.LibraryRequestSettings="library_request_settings",e.OpenInAppPrompt="open_in_app_prompt",e.UseAppButton="use_app_button",e.Launchpad="launchpad",e.EditableSubjectPreferencesWidget="editable_subject_preferences_widget",e.ThumbnailHeroMediaWidget="thumbnail_hero_media_widget",e.ThumbnailFixedListMediaLargeWidget="thumbnail_fixed_list_media_large",e.FilterSlidingPillListSmallWidget="filter_sliding_pill_list_small",e.CircleLogoSlidingListWidget="circle_logo_sliding_list_widget",e.HeroBannerSmallWidget="hero_banner_small",e.EventIconSlidingListWidget="event_icon_sliding_list_widget",e.OnboardingStepsWidget="onboarding_steps_widget",e.FaqQuestionWidget="faq_question_widget",e.FaqQuestionAccordionWidget="faq_question_accordion_widget",e.SubjectStatsWidgetItem="subject_stats_widget_item",e.AuthorReviewerWidget="author_reviewer_widget",e.ThumbnailFixedListMediaSmallWidget="thumbnail_fixed_list_media_small_widget",e.ThumbnailFixedListFolderSmallWidget="thumbnail_fixed_list_folder_small_widget",e.ThumbnailVerticalListWidget="thumbnail_vertical_list_widget",e.ThumbnailFixedListSmallWidget="thumbnail_fixed_list_small_widget",e.PosterFixedListLargeWidget="poster_fixed_list_large_widget",e.CurriculumResourcesAccordionWidget="curriculum_resources_accordion_widget",e.SearchCurriculumCodeWidget="search_curriculum_code_widget",e.ExchangeLinksWidget="exchange_links_widget",e.TableOfContents="table_of_contents",e.SignUpPopup="sign_up_popup",e.SignUpPage="sign_up_page",e.TrialBanner="trial_banner",e.InviteColleaguePopup="invite_colleague_popup",e.AuthProspectSelect="auth_prospect_select",e.WelcomePopup="welcome_popup",e.WatchHistoryLanding="watch_history_landing",e.MyFavouritesLanding="my_favourites_landing",e.MyVideoLanding="my_videos_landing",e.PlaylistsLanding="playlists_landing",e.MySharesLanding="myshares_landing",e.NotificationsDropdown="notifications_dropdown",e.CalendarNav="calendar_nav",e.CalendarDay="calendar_day",e.CalendarPopup="calendar_popup",e.RegionMap="region_map",e.OnboardingWelcomeVideoScreen="onboarding_welcome_video_screen",e.OnboardingSelectRoleScreen="onboarding_select_role_screen",e.OnboardingUsageIntentionScreen="onboarding_usage_intention_screen",e.OnboardingSchoolLevelScreen="onboarding_school_level_screen",e.OnboardingSelectCurriculumScreen="onboarding_select_curriculum_screen",e.OnboardingSubjectsScreen="onboarding_subjects_screen",e.OnboardingSelectVideosScreen="onboarding_select_videos_screen",e.OnboardingCreatePlaylistScreen="onboarding_create_playlist_screen",e.OnboardingSubjectsSummaryScreen="onboarding_subjects_summary_screen",e.ProductTips="product_tips",e.LivestreamBookingForm="booking_form",e.DateRangeFilter="date_range_selector",e.AudienceFilter="audience_filter",e.AssignFlowView="assign_flow_view",e.Global="global",e))(gi||{}),Na=(e=>(e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back",e))(Na||{}),NE=(e=>(e.Single="single",e.Bulk="bulk",e.All="all",e))(NE||{}),ZH=(e=>(e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset",e.DateRange="date_range",e.Audience="audience",e))(ZH||{}),eB=(e=>(e.Start="start",e.Finish="finish",e.Terminate="terminate",e.Play="play",e.Pause="pause",e.Playback="playback",e.NextChapter="next_chapter",e.PreviousChapter="previous_chapter",e.FullScreenEnter="full_screen_enter",e.FullScreenExit="full_screen_exit",e.ChangeResolution="change_resolution",e.ChangeSpeed="change_speed",e.ChangeDevice="change_device",e.EnableTheatreMode="enable_theatre_mode",e.DisableTheatreMode="disable_theatre_mode",e.ShowTranscript="show_transcript",e.HideTranscript="hide_transcript",e))(eB||{}),tB=(e=>(e.Embedded="embedded",e))(tB||{}),Pu=(e=>(e.TogglePreview="toggle_preview",e.NavigateHome="navigate_home",e.OpenInStaffView="open_in_staff_view",e.Title="title",e.ToggleHideValidListings="toggle_hide_valid_listings",e.LaunchImmersiveReader="launch_immersive_reader",e.CopyEmbedHtml="copy_embed_html",e.Close="close",e.Open="open",e.Button="button",e.Link="link",e.Tile="tile",e.Thumbnail="thumbnail",e.Cover="cover",e.TallPoster="tall_poster",e.Banner="banner",e.Slide="slide",e.ExternalLink="external_link",e.ViewStudentWorkspace="view_student_workspace",e.Card="card",e.SelectAllUsers="select_all_users",e.ClickViewLogo="clickview_logo",e.Clear="clear",e.SeeMore="see_more",e.Settings="settings",e.Expand="expand",e.Collapse="collapse",e.Search="search",e))(Pu||{}),rB=(e=>(e.FeatureUserChannelVideo="feature_user_channel_video",e.RemoveFromUserChannelPlaylist="remove_from_user_channel_playlist",e.ShareClip="share_clip",e.ViewOriginalVideo="view_original_video",e.ShareInteractive="share_interactive",e.DeleteInteractiveVideo="delete_interactive_video",e.CopyInteractiveVideo="copy_interactive_video",e.EditInteractiveVideo="edit_interactive_video",e.PrintAsWorksheet="print_as_worksheet",e.PreviewInteractiveVideo="preview_interactive_video",e.ViewResults="view_results",e.ViewInsights="view_insights",e.ViewUsage="view_usage",e.MoveToAnotherFolder="move_to_another_folder",e.CreateInteractiveVideo="create_interactive_video",e.ShareVideo="share_video",e.EditVideo="edit_video",e.DownloadVideo="download_video",e.AddToExchange="add_to_exchange",e.AddToUserChannel="add_to_user_channel",e.CreateClip="create_clip",e.FlagVideo="flag_video",e.AddToLibrary="add_to_library",e.AddToWorkspace="add_to_workspace",e.AddToPlaylist="add_to_playlist",e.RemoveFromPlaylist="remove_from_playlist",e.AddCurriculumLink="add_curriculum_link",e.ViewCurriculumLinks="view_curriculum_links",e.OpenInCurator="open_in_curator",e.ManageVideoAccess="manage_video_access",e.Approve="approve",e.AddToLocalCache="add_to_local_cache",e.OpenInLibraryEditor="open_in_library_editor",e.OpenInClickView="open_in_clickview",e.PlayClip="play_clip",e.EditClip="edit_clip",e.DeleteClip="delete_clip",e.EditVideoDetails="edit_video_details",e.DeleteVideo="delete_video",e.ManageAccess="manage_access",e.SuggestEdit="suggest_edit",e.RemoveFromWatchHistory="remove_from_watch_history",e.ShowTranscript="show_transcript",e.HideTranscript="hide_transcript",e.TranscriptTimepoint="transcript_timepoint",e))(rB||{}),ME=(e=>(e.FileSelect="file_select",e.DragDrop="drag_drop",e))(ME||{}),nB=(e=>(e.On="on",e.Off="off",e))(nB||{}),Lf=(e=>(e.SignIn="sign_in",e.SignUp="sign_up",e.SignOut="sign_out",e.TopNavButton="top_nav_button",e.Educator="educator",e.Student="student",e.TermsAndConditions="terms_and_conditions",e.PrivacyPolicy="privacy_policy",e.EnterEmail="enter_email",e.ClosePopup="close_popup",e.Back="back",e.UseMyLocation="use_my_location",e.TrialCreated="trial_created",e.TrialRequested="trial_requested",e.DeadEnd="dead_end",e.CantFindSchool="cant_find_school",e.ResendEmail="resend_email",e.ContactUs="contact_us",e.InviteColleague="invite_colleague",e.Upgrade="upgrade",e.FindSchool="find_school",e.AddToBraze="add_to_braze",e.RequestAccess="request_access",e.AutoJoin="auto_join",e.WrongEmail="wrong_email",e.RequestBdmTrial="request_bdm_trial",e.SkipIdpSelect="skip_idp_select",e))(Lf||{}),iB=(e=>(e.RequestProgram="tv_request_program",e.AdFreeRequest="tv_ad_free_request",e.AddAdFreeVideo="tv_add_ad_free_video",e.AddFullVideo="tv_add_full_video",e.RegionSelect="tv_region_select",e))(iB||{}),oB=(e=>(e.MyVideos="search_source_my_videos",e.School="search_source_school",e.ExchangeArchive="search_source_exchange_archive",e.ClickView="search_source_clickview",e))(oB||{}),sB=(e=>(e.SearchTranscript="search_transcript",e.NextResult="next_result",e.PreviousResult="previous_result",e.ResetResults="reset_results",e))(sB||{}),$E=(e=>(e.FileSelect="file-select",e.DragDrop="drag-drop",e))($E||{}),Aa=(e=>(e.Video="videos",e.Clip="clips",e.Interactive="interactives",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects",e))(Aa||{}),yN=(e=>(e[e.V1=1]="V1",e[e.V2=2]="V2",e[e.V3=3]="V3",e[e.V4=4]="V4",e[e.V5=5]="V5",e))(yN||{}),wN=(e=>(e.Staff="staff",e.Learner="learner",e.Unknown="unknown",e))(wN||{}),t_=(e=>(e.Analytics="AnalyticsService",e.Context="ContextService",e.PageView="PageViewService",e.ProfileApiClient="ProfileApiClient",e))(t_||{});const aB=5;let uB=class extends Wi{constructor(){super(...arguments),this.contextHistory=[]}get name(){return t_.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(Nr.SHELL,jr.ROUTE,this.setContext)}setContext(t){this.contextHistory.length>=aB&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t})}getCurrentContext(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}fromPageLoad(){return this.contextHistory.length===1}};const EN=new uB;var Gl=(e=>(e.Inlet="event:inlet",e.Outlet="event:outlet",e))(Gl||{});const SN={ANALYTICS:"global:analytics"},lB=yN.V2;class cB{constructor(t,r,n,o){this.type=t,this.data=r,this.actionContext=n,this.eventVersion=o||lB}isType(t){return t===this.type}enrich(t,r){this.validateKey(t),this[t]=r}get(t){if(t&&this[t])return this[t]}validateKey(t){(t==="type"||t==="data")&&Mt.throw(new Hr(`${t} is not a valid key`)),this[t]&&Mt.throw(new Hr(`Event already contains an enrichment named ${t}`))}}const fB={log(e,t,r,n){Zt.Radio.channel(SN.ANALYTICS).trigger(Gl.Inlet,new cB(e,t,r,n))}};function dB(){const{appLink:e}=EN.getCurrentContext();return uo(e)||Mt.throw(new Hr("Applink does not exist. Check current context.")),gB(e.application)}function ph(e={}){const{location:t,entity:r,workflowPhase:n=null,descriptor:o=null}=e;return t||Mt.throw(new Hr("location must be set.")),r||Mt.throw(new Hr("entity must be set.")),{productArea:dB(),location:t,entity:r,descriptor:o,workflowPhase:n}}function hB(e){return!!(ta(e)&&Af(e,t=>uo(t))||uo(e))}function pB(){return Yr.GetCurrentPath()+Yr.GetCurrentQueryString()}function gB(e){return e.replace(":","-")}const Ai={logUserAction(e,t){if(!hB(e)||!uo(t))return;const{userAction:r,action:n,eventVersion:o}=Ai.buildUserActionEvent(t);fB.log(r,e,n,o)},mergeOptions(e,t){return Array.isArray(t)||(t=[t]),_i({},e,...t)},buildActionContext(e={}){return ph(e)},buildUserActionEvent(e={}){const{actionType:t,eventVersion:r}=e,n=t,o=ph(e);return{userAction:n,action:o,eventVersion:r}},buildCurrentLocation(){return pB()},buildSearchEvent(e,t){return{data:{query:e},action:ph({entity:Wr.Video,location:gi.SearchBar,descriptor:t})}},buildInstantSearchEvent(e,t,r){let n;r===Aa.Series&&(n=Wr.Series),r===Aa.Folder&&(n=Wr.Folder),r===Aa.Tags&&(n=Wr.Tag),r===Aa.Video&&(n=Wr.Video),r===Aa.Clip&&(n=Wr.Clip),r===Aa.Interactive&&(n=Wr.Interactive),r===Aa.Subjects&&(n=Wr.Classification);const o={instant:{},query:e};return t.id&&(o.instant.selectedId=t.id),t.name&&(o.instant.selectedName=t.name),{data:o,action:ph({entity:n,location:gi.SearchBar})}},mapInteractionType(e){switch(e){case $E.DragDrop:return ME.DragDrop;case $E.FileSelect:return ME.FileSelect;default:return}}},FE=er.forwardRef((e,t)=>{function r(o){if(e.onKeyDown)return e.onKeyDown(o);if(o.key===" "&&o.preventDefault(),o.key==="Enter"||o.key===" "){if(e.disabled||!e.onClick)return;n(o)}}function n(...o){if(!(e.disabled||!e.onClick))return e.onClick(...o)}return Q.jsx("div",{...e,ref:t,role:"button",tabIndex:e.tabIndex||0,className:`${e.className?e.className:""} ${e.disabled?"":"cursor-pointer"}`,onKeyDown:r,onClick:n,style:e.style?e.style:{},children:e.children})}),vB="_appLink_1d1n3_1",mB={appLink:vB},co=ne.forwardRef((e,t)=>{const{appLink:r,appLinkOptions:n={},className:o,style:a,children:u,disabled:f,tag:l="a",preventFocus:d}=e;if(!r)return Q.jsx("div",{ref:t,className:`${mB.appLink} ${o||""}`,style:a,children:u});const v=_n.getHref(r,n)||void 0,w={onClick:x=>{var E;const C=x.metaKey||x.ctrlKey;C||x.preventDefault(),!f&&((E=e.onClick)==null||E.call(e,x),e.analyticsData&&e.analyticsOptions&&Ai.logUserAction({href:v,...e.analyticsData},e.analyticsOptions),!C&&(e.openInNewTab?Yr.PageLoad(v,!0):e.forcePageLoad?Yr.PageLoad(v):_n.trigger(r,n)))},...l==="a"&&{href:v},...e.title?{title:e.title}:{},className:o,style:a,disabled:f,tabIndex:d?-1:0,id:e.id,"aria-label":e.ariaLabel,"aria-labelledby":e.labelledBy,ref:t,role:e.role};return l==="button"||!v?Q.jsx(FE,{...w,children:u}):Q.jsx(l,{...w,children:u})});var Dw={exports:{}};/*!
|
|
111
|
+
Copyright (c) 2018 Jed Watson.
|
|
112
|
+
Licensed under the MIT License (MIT), see
|
|
113
|
+
http://jedwatson.github.io/classnames
|
|
114
|
+
*/var _O;function yB(){return _O||(_O=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",u=0;u<arguments.length;u++){var f=arguments[u];f&&(a=o(a,n(f)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var u="";for(var f in a)t.call(a,f)&&a[f]&&(u=o(u,f));return u}function o(a,u){return u?a?a+" "+u:a+u:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Dw)),Dw.exports}var wB=yB();const _r=Kr(wB);var Nw,bO;function EB(){if(bO)return Nw;bO=1;var e=function(t,r,n,o,a,u,f,l){if(!t){var d;if(r===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var v=[n,o,a,u,f,l],p=0;d=new Error(r.replace(/%s/g,function(){return v[p++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}};return Nw=e,Nw}var SB=EB();const xO=Kr(SB);function CO(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function _B(e){var t=bB(e,"string");return typeof t=="symbol"?t:String(t)}function bB(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function _N(e,t,r){var n=ne.useRef(e!==void 0),o=ne.useState(t),a=o[0],u=o[1],f=e!==void 0,l=n.current;return n.current=f,!f&&l&&a!==t&&u(t),[f?e:a,ne.useCallback(function(d){for(var v=arguments.length,p=new Array(v>1?v-1:0),w=1;w<v;w++)p[w-1]=arguments[w];r&&r.apply(void 0,[d].concat(p)),u(d)},[r])]}function xB(e,t){return Object.keys(t).reduce(function(r,n){var o,a=r,u=a[CO(n)],f=a[n],l=ag(a,[CO(n),n].map(_B)),d=t[n],v=_N(f,u,e[d]),p=v[0],w=v[1];return Pf({},l,(o={},o[n]=p,o[d]=w,o))},e)}function jE(e,t){return jE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},jE(e,t)}function r_(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,jE(e,t)}const CB=["xxl","xl","lg","md","sm","xs"],TB="xs",ad=ne.createContext({prefixes:{},breakpoints:CB,minBreakpoint:TB}),{Consumer:wee,Provider:Eee}=ad;function Mr(e,t){const{prefixes:r}=ne.useContext(ad);return e||r[t]||t}function AB(){const{breakpoints:e}=ne.useContext(ad);return e}function RB(){const{minBreakpoint:e}=ne.useContext(ad);return e}function hg(){const{dir:e}=ne.useContext(ad);return e==="rtl"}function yc(e){return e&&e.ownerDocument||document}function OB(e){var t=yc(e);return t&&t.defaultView||window}function IB(e,t){return OB(e).getComputedStyle(e,t)}var PB=/([A-Z])/g;function kB(e){return e.replace(PB,"-$1").toLowerCase()}var LB=/^ms-/;function gh(e){return kB(e).replace(LB,"-ms-")}var DB=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function NB(e){return!!(e&&DB.test(e))}function ku(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(gh(t))||IB(e).getPropertyValue(gh(t));Object.keys(t).forEach(function(o){var a=t[o];!a&&a!==0?e.style.removeProperty(gh(o)):NB(o)?n+=o+"("+a+") ":r+=gh(o)+": "+a+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}var Mw={exports:{}},$w,TO;function MB(){if(TO)return $w;TO=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $w=e,$w}var Fw,AO;function $B(){if(AO)return Fw;AO=1;var e=MB();function t(){}function r(){}return r.resetWarningCache=t,Fw=function(){function n(u,f,l,d,v,p){if(p!==e){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}n.isRequired=n;function o(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},Fw}var RO;function FB(){return RO||(RO=1,Mw.exports=$B()()),Mw.exports}var jB=FB();const sr=Kr(jB),OO={disabled:!1},gp=er.createContext(null);var bN=function(t){return t.scrollTop},lf="unmounted",gu="exited",Ra="entering",mu="entered",UE="exiting",Ss=function(e){r_(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var u=o,f=u&&!u.isMounting?n.enter:n.appear,l;return a.appearStatus=null,n.in?f?(l=gu,a.appearStatus=Ra):l=mu:n.unmountOnExit||n.mountOnEnter?l=lf:l=gu,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var u=o.in;return u&&a.status===lf?{status:gu}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var a=null;if(o!==this.props){var u=this.state.status;this.props.in?u!==Ra&&u!==mu&&(a=Ra):(u===Ra||u===mu)&&(a=UE)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,a,u,f;return a=u=f=o,o!=null&&typeof o!="number"&&(a=o.exit,u=o.enter,f=o.appear!==void 0?o.appear:u),{exit:a,enter:u,appear:f}},r.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===Ra){if(this.props.unmountOnExit||this.props.mountOnEnter){var u=this.props.nodeRef?this.props.nodeRef.current:_u.findDOMNode(this);u&&bN(u)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===gu&&this.setState({status:lf})},r.performEnter=function(o){var a=this,u=this.props.enter,f=this.context?this.context.isMounting:o,l=this.props.nodeRef?[f]:[_u.findDOMNode(this),f],d=l[0],v=l[1],p=this.getTimeouts(),w=f?p.appear:p.enter;if(!o&&!u||OO.disabled){this.safeSetState({status:mu},function(){a.props.onEntered(d)});return}this.props.onEnter(d,v),this.safeSetState({status:Ra},function(){a.props.onEntering(d,v),a.onTransitionEnd(w,function(){a.safeSetState({status:mu},function(){a.props.onEntered(d,v)})})})},r.performExit=function(){var o=this,a=this.props.exit,u=this.getTimeouts(),f=this.props.nodeRef?void 0:_u.findDOMNode(this);if(!a||OO.disabled){this.safeSetState({status:gu},function(){o.props.onExited(f)});return}this.props.onExit(f),this.safeSetState({status:UE},function(){o.props.onExiting(f),o.onTransitionEnd(u.exit,function(){o.safeSetState({status:gu},function(){o.props.onExited(f)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},r.setNextCallback=function(o){var a=this,u=!0;return this.nextCallback=function(f){u&&(u=!1,a.nextCallback=null,o(f))},this.nextCallback.cancel=function(){u=!1},this.nextCallback},r.onTransitionEnd=function(o,a){this.setNextCallback(a);var u=this.props.nodeRef?this.props.nodeRef.current:_u.findDOMNode(this),f=o==null&&!this.props.addEndListener;if(!u||f){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[u,this.nextCallback],d=l[0],v=l[1];this.props.addEndListener(d,v)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===lf)return null;var a=this.props,u=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var f=ag(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return er.createElement(gp.Provider,{value:null},typeof u=="function"?u(o,f):er.cloneElement(er.Children.only(u),f))},t}(er.Component);Ss.contextType=gp;Ss.propTypes={};function Rl(){}Ss.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Rl,onEntering:Rl,onEntered:Rl,onExit:Rl,onExiting:Rl,onExited:Rl};Ss.UNMOUNTED=lf;Ss.EXITED=gu;Ss.ENTERING=Ra;Ss.ENTERED=mu;Ss.EXITING=UE;function xN(e){return e.code==="Escape"||e.keyCode===27}function UB(){const e=ne.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function ud(e){if(!e||typeof e=="function")return null;const{major:t}=UB();return t>=19?e.props.ref:e.ref}const wc=!!(typeof window<"u"&&window.document&&window.document.createElement);var VE=!1,HE=!1;try{var jw={get passive(){return VE=!0},get once(){return HE=VE=!0}};wc&&(window.addEventListener("test",jw,jw),window.removeEventListener("test",jw,!0))}catch{}function n_(e,t,r,n){if(n&&typeof n!="boolean"&&!HE){var o=n.once,a=n.capture,u=r;!HE&&o&&(u=r.__once||function f(l){this.removeEventListener(t,f,a),r.call(this,l)},r.__once=u),e.addEventListener(t,u,VE?n:a)}e.addEventListener(t,r,n)}function BE(e,t,r,n){var o=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,o),r.__once&&e.removeEventListener(t,r.__once,o)}function Bs(e,t,r,n){return n_(e,t,r,n),function(){BE(e,t,r,n)}}function VB(e,t,r,n){if(n===void 0&&(n=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,r,n),e.dispatchEvent(o)}}function HB(e){var t=ku(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function BB(e,t,r){r===void 0&&(r=5);var n=!1,o=setTimeout(function(){n||VB(e,"transitionend",!0)},t+r),a=Bs(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(o),a()}}function CN(e,t,r,n){r==null&&(r=HB(e)||0);var o=BB(e,r,n),a=Bs(e,"transitionend",t);return function(){o(),a()}}function IO(e,t){const r=ku(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function zB(e,t){const r=IO(e,"transitionDuration"),n=IO(e,"transitionDelay"),o=CN(e,a=>{a.target===e&&(o(),t(a))},r+n)}function WB(e){e.offsetHeight}const PO=e=>!e||typeof e=="function"?e:t=>{e.current=t};function qB(e,t){const r=PO(e),n=PO(t);return o=>{r&&r(o),n&&n(o)}}function Ec(e,t){return ne.useMemo(()=>qB(e,t),[e,t])}function vp(e){return e&&"setState"in e?_u.findDOMNode(e):e??null}const GB=er.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:o,onExited:a,addEndListener:u,children:f,childRef:l,...d},v)=>{const p=ne.useRef(null),w=Ec(p,l),x=G=>{w(vp(G))},C=G=>y=>{G&&p.current&&G(p.current,y)},E=ne.useCallback(C(e),[e]),S=ne.useCallback(C(t),[t]),I=ne.useCallback(C(r),[r]),D=ne.useCallback(C(n),[n]),H=ne.useCallback(C(o),[o]),V=ne.useCallback(C(a),[a]),M=ne.useCallback(C(u),[u]);return Q.jsx(Ss,{ref:v,...d,onEnter:E,onEntered:I,onEntering:S,onExit:D,onExited:V,onExiting:H,addEndListener:M,nodeRef:p,children:typeof f=="function"?(G,y)=>f(G,{...y,ref:x}):er.cloneElement(f,{ref:x})})});function YB(e){const t=ne.useRef(e);return ne.useEffect(()=>{t.current=e},[e]),t}function Df(e){const t=YB(e);return ne.useCallback(function(...r){return t.current&&t.current(...r)},[t])}const KB=e=>ne.forwardRef((t,r)=>Q.jsx("div",{...t,ref:r,className:_r(t.className,e)}));function zE(){return ne.useState(null)}function XB(e){const t=ne.useRef(e);return ne.useEffect(()=>{t.current=e},[e]),t}function hi(e){const t=XB(e);return ne.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function QB(e,t,r,n=!1){const o=hi(r);ne.useEffect(()=>{const a=typeof e=="function"?e():e;return a.addEventListener(t,o,n),()=>a.removeEventListener(t,o,n)},[e])}function TN(){const e=ne.useRef(!0),t=ne.useRef(()=>e.current);return ne.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function AN(e){const t=ne.useRef(null);return ne.useEffect(()=>{t.current=e}),t.current}const JB=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",ZB=typeof document<"u",kO=ZB||JB?ne.useLayoutEffect:ne.useEffect,e7=["as","disabled"];function t7(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function r7(e){return!e||e.trim()==="#"}function i_({tagName:e,disabled:t,href:r,target:n,rel:o,role:a,onClick:u,tabIndex:f=0,type:l}){e||(r!=null||n!=null||o!=null?e="a":e="button");const d={tagName:e};if(e==="button")return[{type:l||"button",disabled:t},d];const v=w=>{if((t||e==="a"&&r7(r))&&w.preventDefault(),t){w.stopPropagation();return}u==null||u(w)},p=w=>{w.key===" "&&(w.preventDefault(),v(w))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:a??"button",disabled:void 0,tabIndex:t?void 0:f,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?o:void 0,onClick:v,onKeyDown:p},d]}const RN=ne.forwardRef((e,t)=>{let{as:r,disabled:n}=e,o=t7(e,e7);const[a,{tagName:u}]=i_(Object.assign({tagName:r,disabled:n},o));return Q.jsx(u,Object.assign({},o,a,{ref:t}))});RN.displayName="Button";const n7=["onKeyDown"];function i7(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function o7(e){return!e||e.trim()==="#"}const ON=ne.forwardRef((e,t)=>{let{onKeyDown:r}=e,n=i7(e,n7);const[o]=i_(Object.assign({tagName:"a"},n)),a=hi(u=>{o.onKeyDown(u),r==null||r(u)});return o7(n.href)||n.role==="button"?Q.jsx("a",Object.assign({ref:t},n,o,{onKeyDown:a})):Q.jsx("a",Object.assign({ref:t},n,{onKeyDown:r}))});ON.displayName="Anchor";const s7={[Ra]:"show",[mu]:"show"},Nf=ne.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...o},a)=>{const u={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},f=ne.useCallback((l,d)=>{WB(l),n==null||n(l,d)},[n]);return Q.jsx(GB,{ref:a,addEndListener:zB,...u,onEnter:f,childRef:ud(t),children:(l,d)=>ne.cloneElement(t,{...d,className:_r("fade",e,t.props.className,s7[l],r[l])})})});Nf.displayName="Fade";const a7={"aria-label":sr.string,onClick:sr.func,variant:sr.oneOf(["white"])},o_=ne.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},o)=>Q.jsx("button",{ref:o,type:"button",className:_r("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));o_.displayName="CloseButton";o_.propTypes=a7;const pg=ne.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:o=!1,disabled:a=!1,className:u,...f},l)=>{const d=Mr(t,"btn"),[v,{tagName:p}]=i_({tagName:e,disabled:a,...f}),w=p;return Q.jsx(w,{...v,...f,ref:l,disabled:a,className:_r(u,d,o&&"active",r&&`${d}-${r}`,n&&`${d}-${n}`,f.href&&a&&"disabled")})});pg.displayName="Button";function u7(){const e=ne.useRef(!0),t=ne.useRef(()=>e.current);return ne.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function l7(e){const t=ne.useRef(e);return t.current=e,t}function IN(e){const t=l7(e);ne.useEffect(()=>()=>t.current(),[])}const WE=2**31-1;function PN(e,t,r){const n=r-Date.now();e.current=n<=WE?setTimeout(t,n):setTimeout(()=>PN(e,t,r),WE)}function c7(){const e=u7(),t=ne.useRef();return IN(()=>clearTimeout(t.current)),ne.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(o,a=0){e()&&(r(),a<=WE?t.current=setTimeout(o,a):PN(t,o,Date.now()+a))}return{set:n,clear:r,handleRef:t}},[])}function f7(e,t){return ne.Children.toArray(e).some(r=>ne.isValidElement(r)&&r.type===t)}function d7({as:e,bsPrefix:t,className:r,...n}){t=Mr(t,"col");const o=AB(),a=RB(),u=[],f=[];return o.forEach(l=>{const d=n[l];delete n[l];let v,p,w;typeof d=="object"&&d!=null?{span:v,offset:p,order:w}=d:v=d;const x=l!==a?`-${l}`:"";v&&u.push(v===!0?`${t}${x}`:`${t}${x}-${v}`),w!=null&&f.push(`order${x}-${w}`),p!=null&&f.push(`offset${x}-${p}`)}),[{...n,className:_r(r,...u,...f)},{as:e,bsPrefix:t,spans:u}]}const kN=ne.forwardRef((e,t)=>{const[{className:r,...n},{as:o="div",bsPrefix:a,spans:u}]=d7(e);return Q.jsx(o,{...n,ref:t,className:_r(r,!u.length&&a)})});kN.displayName="Col";var h7=Function.prototype.bind.call(Function.prototype.call,[].slice);function Oa(e,t){return h7(e.querySelectorAll(t))}function p7(e,t,r){const n=ne.useRef(e!==void 0),[o,a]=ne.useState(t),u=e!==void 0,f=n.current;return n.current=u,!u&&f&&o!==t&&a(t),[u?e:o,ne.useCallback((...l)=>{const[d,...v]=l;let p=r==null?void 0:r(d,...v);return a(d),p},[r])]}function g7(){const[,e]=ne.useReducer(t=>t+1,0);return e}const gg=ne.createContext(null);var LO=Object.prototype.hasOwnProperty;function DO(e,t,r){for(r of e.keys())if(pf(r,t))return r}function pf(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&pf(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=DO(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=DO(t,o),!o)||!pf(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(LO.call(e,r)&&++n&&!LO.call(t,r)||!(r in t)||!pf(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function v7(e){const t=TN();return[e[0],ne.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}const m7=Hf({defaultModifiers:[C1,Np,Lp,Dp,T1,x1,A1,E1]}),y7=["enabled","placement","strategy","modifiers"];function w7(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const E7={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},S7={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,o=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&o==="tooltip"&&"setAttribute"in n){const a=n.getAttribute("aria-describedby");if(a&&a.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",a?`${a},${r.id}`:r.id)}}},_7=[];function LN(e,t,r={}){let{enabled:n=!0,placement:o="bottom",strategy:a="absolute",modifiers:u=_7}=r,f=w7(r,y7);const l=ne.useRef(u),d=ne.useRef(),v=ne.useCallback(()=>{var S;(S=d.current)==null||S.update()},[]),p=ne.useCallback(()=>{var S;(S=d.current)==null||S.forceUpdate()},[]),[w,x]=v7(ne.useState({placement:o,update:v,forceUpdate:p,attributes:{},styles:{popper:{},arrow:{}}})),C=ne.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:S})=>{const I={},D={};Object.keys(S.elements).forEach(H=>{I[H]=S.styles[H],D[H]=S.attributes[H]}),x({state:S,styles:I,attributes:D,update:v,forceUpdate:p,placement:S.placement})}}),[v,p,x]),E=ne.useMemo(()=>(pf(l.current,u)||(l.current=u),l.current),[u]);return ne.useEffect(()=>{!d.current||!n||d.current.setOptions({placement:o,strategy:a,modifiers:[...E,C,E7]})},[a,o,C,n,E]),ne.useEffect(()=>{if(!(!n||e==null||t==null))return d.current=m7(e,t,Object.assign({},f,{placement:o,strategy:a,modifiers:[...E,S7,C]})),()=>{d.current!=null&&(d.current.destroy(),d.current=void 0,x(S=>Object.assign({},S,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),w}function Mf(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var b7=oN();const x7=Kr(b7),NO=()=>{};function C7(e){return e.button===0}function T7(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Uh=e=>e&&("current"in e?e.current:e),MO={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function DN(e,t=NO,{disabled:r,clickTrigger:n="click"}={}){const o=ne.useRef(!1),a=ne.useRef(!1),u=ne.useCallback(d=>{const v=Uh(e);x7(!!v,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),o.current=!v||T7(d)||!C7(d)||!!Mf(v,d.target)||a.current,a.current=!1},[e]),f=hi(d=>{const v=Uh(e);v&&Mf(v,d.target)?a.current=!0:a.current=!1}),l=hi(d=>{o.current||t(d)});ne.useEffect(()=>{var d,v;if(r||e==null)return;const p=yc(Uh(e)),w=p.defaultView||window;let x=(d=w.event)!=null?d:(v=w.parent)==null?void 0:v.event,C=null;MO[n]&&(C=Bs(p,MO[n],f,!0));const E=Bs(p,n,u,!0),S=Bs(p,n,D=>{if(D===x){x=void 0;return}l(D)});let I=[];return"ontouchstart"in p.documentElement&&(I=[].slice.call(p.body.children).map(D=>Bs(D,"mousemove",NO))),()=>{C==null||C(),E(),S(),I.forEach(D=>D())}},[e,r,n,u,f,l])}function A7(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function R7(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function NN({enabled:e,enableEvents:t,placement:r,flip:n,offset:o,fixed:a,containerPadding:u,arrowElement:f,popperConfig:l={}}){var d,v,p,w,x;const C=A7(l.modifiers);return Object.assign({},l,{placement:r,enabled:e,strategy:a?"fixed":l.strategy,modifiers:R7(Object.assign({},C,{eventListeners:{enabled:t,options:(d=C.eventListeners)==null?void 0:d.options},preventOverflow:Object.assign({},C.preventOverflow,{options:u?Object.assign({padding:u},(v=C.preventOverflow)==null?void 0:v.options):(p=C.preventOverflow)==null?void 0:p.options}),offset:{options:Object.assign({offset:o},(w=C.offset)==null?void 0:w.options)},arrow:Object.assign({},C.arrow,{enabled:!!f,options:Object.assign({},(x=C.arrow)==null?void 0:x.options,{element:f})}),flip:Object.assign({enabled:!!n},C.flip)}))})}const O7=["children","usePopper"];function I7(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const P7=()=>{};function MN(e={}){const t=ne.useContext(gg),[r,n]=zE(),o=ne.useRef(!1),{flip:a,offset:u,rootCloseEvent:f,fixed:l=!1,placement:d,popperConfig:v={},enableEventListeners:p=!0,usePopper:w=!!t}=e,x=(t==null?void 0:t.show)==null?!!e.show:t.show;x&&!o.current&&(o.current=!0);const C=G=>{t==null||t.toggle(!1,G)},{placement:E,setMenu:S,menuElement:I,toggleElement:D}=t||{},H=LN(D,I,NN({placement:d||E||"bottom-start",enabled:w,enableEvents:p??x,offset:u,flip:a,fixed:l,arrowElement:r,popperConfig:v})),V=Object.assign({ref:S||P7,"aria-labelledby":D==null?void 0:D.id},H.attributes.popper,{style:H.styles.popper}),M={show:x,placement:E,hasShown:o.current,toggle:t==null?void 0:t.toggle,popper:w?H:null,arrowProps:w?Object.assign({ref:n},H.attributes.arrow,{style:H.styles.arrow}):{}};return DN(I,C,{clickTrigger:f,disabled:!x}),[V,M]}function $N(e){let{children:t,usePopper:r=!0}=e,n=I7(e,O7);const[o,a]=MN(Object.assign({},n,{usePopper:r}));return Q.jsx(Q.Fragment,{children:t(o,a)})}$N.displayName="DropdownMenu";const FN={prefix:String(Math.round(Math.random()*1e10)),current:0},jN=er.createContext(FN),k7=er.createContext(!1);let Uw=new WeakMap;function L7(e=!1){let t=ne.useContext(jN),r=ne.useRef(null);if(r.current===null&&!e){var n,o;let a=(o=er.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(n=o.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let u=Uw.get(a);u==null?Uw.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==u.state&&(t.current=u.id,Uw.delete(a))}r.current=++t.current}return r.current}function D7(e){let t=ne.useContext(jN),r=L7(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function N7(e){let t=er.useId(),[r]=ne.useState(U7()),n=r?"react-aria":`react-aria${FN.prefix}`;return e||`${n}-${t}`}const M7=typeof er.useId=="function"?N7:D7;function $7(){return!1}function F7(){return!0}function j7(e){return()=>{}}function U7(){return typeof er.useSyncExternalStore=="function"?er.useSyncExternalStore(j7,$7,F7):ne.useContext(k7)}const UN=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},$O=()=>{};function VN(){const e=M7(),{show:t=!1,toggle:r=$O,setToggle:n,menuElement:o}=ne.useContext(gg)||{},a=ne.useCallback(f=>{r(!t,f)},[t,r]),u={id:e,ref:n||$O,onClick:a,"aria-expanded":!!t};return o&&UN(o)&&(u["aria-haspopup"]=!0),[u,{show:t,toggle:r}]}function HN({children:e}){const[t,r]=VN();return Q.jsx(Q.Fragment,{children:e(t,r)})}HN.displayName="DropdownToggle";const qE=ne.createContext(null),FO=(e,t=null)=>e!=null?String(e):t||null,BN=ne.createContext(null);BN.displayName="NavContext";const V7="data-rr-ui-";function s_(e){return`${V7}${e}`}const H7=["eventKey","disabled","onClick","active","as"];function B7(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function zN({key:e,href:t,active:r,disabled:n,onClick:o}){const a=ne.useContext(qE),u=ne.useContext(BN),{activeKey:f}=u||{},l=FO(e,t),d=r==null&&e!=null?FO(f)===l:r;return[{onClick:hi(p=>{n||(o==null||o(p),a&&!p.isPropagationStopped()&&a(l,p))}),"aria-disabled":n||void 0,"aria-selected":d,[s_("dropdown-item")]:""},{isActive:d}]}const WN=ne.forwardRef((e,t)=>{let{eventKey:r,disabled:n,onClick:o,active:a,as:u=RN}=e,f=B7(e,H7);const[l]=zN({key:r,href:f.href,disabled:n,onClick:o,active:a});return Q.jsx(u,Object.assign({},f,{ref:t},l))});WN.displayName="DropdownItem";const qN=ne.createContext(wc?window:void 0);qN.Provider;function vg(){return ne.useContext(qN)}function jO(){const e=g7(),t=ne.useRef(null),r=ne.useCallback(n=>{t.current=n,e()},[e]);return[t,r]}function ld({defaultShow:e,show:t,onSelect:r,onToggle:n,itemSelector:o=`* [${s_("dropdown-item")}]`,focusFirstItemOnShow:a,placement:u="bottom-start",children:f}){const l=vg(),[d,v]=p7(t,e,n),[p,w]=jO(),x=p.current,[C,E]=jO(),S=C.current,I=AN(d),D=ne.useRef(null),H=ne.useRef(!1),V=ne.useContext(qE),M=ne.useCallback((ie,de,ge=de==null?void 0:de.type)=>{v(ie,{originalEvent:de,source:ge})},[v]),G=hi((ie,de)=>{r==null||r(ie,de),M(!1,de,"select"),de.isPropagationStopped()||V==null||V(ie,de)}),y=ne.useMemo(()=>({toggle:M,placement:u,show:d,menuElement:x,toggleElement:S,setMenu:w,setToggle:E}),[M,u,d,x,S,w,E]);x&&I&&!d&&(H.current=x.contains(x.ownerDocument.activeElement));const Z=hi(()=>{S&&S.focus&&S.focus()}),ae=hi(()=>{const ie=D.current;let de=a;if(de==null&&(de=p.current&&UN(p.current)?"keyboard":!1),de===!1||de==="keyboard"&&!/^key.+$/.test(ie))return;const ge=Oa(p.current,o)[0];ge&&ge.focus&&ge.focus()});ne.useEffect(()=>{d?ae():H.current&&(H.current=!1,Z())},[d,H,Z,ae]),ne.useEffect(()=>{D.current=null});const ce=(ie,de)=>{if(!p.current)return null;const ge=Oa(p.current,o);let me=ge.indexOf(ie)+de;return me=Math.max(0,Math.min(me,ge.length)),ge[me]};return QB(ne.useCallback(()=>l.document,[l]),"keydown",ie=>{var de,ge;const{key:me}=ie,ye=ie.target,be=(de=p.current)==null?void 0:de.contains(ye),Ae=(ge=C.current)==null?void 0:ge.contains(ye);if(/input|textarea/i.test(ye.tagName)&&(me===" "||me!=="Escape"&&be||me==="Escape"&&ye.type==="search")||!be&&!Ae||me==="Tab"&&(!p.current||!d))return;D.current=ie.type;const Ee={originalEvent:ie,source:ie.type};switch(me){case"ArrowUp":{const X=ce(ye,-1);X&&X.focus&&X.focus(),ie.preventDefault();return}case"ArrowDown":if(ie.preventDefault(),!d)v(!0,Ee);else{const X=ce(ye,1);X&&X.focus&&X.focus()}return;case"Tab":n_(ye.ownerDocument,"keyup",X=>{var Re;(X.key==="Tab"&&!X.target||!((Re=p.current)!=null&&Re.contains(X.target)))&&v(!1,Ee)},{once:!0});break;case"Escape":me==="Escape"&&(ie.preventDefault(),ie.stopPropagation()),v(!1,Ee);break}}),Q.jsx(qE.Provider,{value:G,children:Q.jsx(gg.Provider,{value:y,children:f})})}ld.displayName="Dropdown";ld.Menu=$N;ld.Toggle=HN;ld.Item=WN;const a_=ne.createContext({});a_.displayName="DropdownContext";const GN=ne.forwardRef(({className:e,bsPrefix:t,as:r="hr",role:n="separator",...o},a)=>(t=Mr(t,"dropdown-divider"),Q.jsx(r,{ref:a,className:_r(e,t),role:n,...o})));GN.displayName="DropdownDivider";const YN=ne.forwardRef(({className:e,bsPrefix:t,as:r="div",role:n="heading",...o},a)=>(t=Mr(t,"dropdown-header"),Q.jsx(r,{ref:a,className:_r(e,t),role:n,...o})));YN.displayName="DropdownHeader";const KN=ne.forwardRef(({bsPrefix:e,className:t,eventKey:r,disabled:n=!1,onClick:o,active:a,as:u=ON,...f},l)=>{const d=Mr(e,"dropdown-item"),[v,p]=zN({key:r,href:f.href,disabled:n,onClick:o,active:a});return Q.jsx(u,{...f,...v,ref:l,className:_r(t,d,p.isActive&&"active",n&&"disabled")})});KN.displayName="DropdownItem";const XN=ne.forwardRef(({className:e,bsPrefix:t,as:r="span",...n},o)=>(t=Mr(t,"dropdown-item-text"),Q.jsx(r,{ref:o,className:_r(e,t),...n})));XN.displayName="DropdownItemText";const z7=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",W7=typeof document<"u",QN=W7||z7?ne.useLayoutEffect:ne.useEffect,u_=ne.createContext(null);u_.displayName="InputGroupContext";const JN=ne.createContext(null);JN.displayName="NavbarContext";function ZN(e,t){return e}function eM(e,t,r){const n=r?"top-end":"top-start",o=r?"top-start":"top-end",a=r?"bottom-end":"bottom-start",u=r?"bottom-start":"bottom-end",f=r?"right-start":"left-start",l=r?"right-end":"left-end",d=r?"left-start":"right-start",v=r?"left-end":"right-end";let p=e?u:a;return t==="up"?p=e?o:n:t==="end"?p=e?v:d:t==="start"?p=e?l:f:t==="down-centered"?p="bottom":t==="up-centered"&&(p="top"),p}const tM=ne.forwardRef(({bsPrefix:e,className:t,align:r,rootCloseEvent:n,flip:o=!0,show:a,renderOnMount:u,as:f="div",popperConfig:l,variant:d,...v},p)=>{let w=!1;const x=ne.useContext(JN),C=Mr(e,"dropdown-menu"),{align:E,drop:S,isRTL:I}=ne.useContext(a_);r=r||E;const D=ne.useContext(u_),H=[];if(r)if(typeof r=="object"){const ie=Object.keys(r);if(ie.length){const de=ie[0],ge=r[de];w=ge==="start",H.push(`${C}-${de}-${ge}`)}}else r==="end"&&(w=!0);const V=eM(w,S,I),[M,{hasShown:G,popper:y,show:Z,toggle:ae}]=MN({flip:o,rootCloseEvent:n,show:a,usePopper:!x&&H.length===0,offset:[0,2],popperConfig:l,placement:V});if(M.ref=Ec(ZN(p),M.ref),QN(()=>{Z&&(y==null||y.update())},[Z]),!G&&!u&&!D)return null;typeof f!="string"&&(M.show=Z,M.close=()=>ae==null?void 0:ae(!1),M.align=r);let ce=v.style;return y!=null&&y.placement&&(ce={...v.style,...M.style},v["x-placement"]=y.placement),Q.jsx(f,{...v,...M,style:ce,...(H.length||x)&&{"data-bs-popper":"static"},className:_r(t,C,Z&&"show",w&&`${C}-end`,d&&`${C}-${d}`,...H)})});tM.displayName="DropdownMenu";const rM=ne.forwardRef(({bsPrefix:e,split:t,className:r,childBsPrefix:n,as:o=pg,...a},u)=>{const f=Mr(e,"dropdown-toggle"),l=ne.useContext(gg);n!==void 0&&(a.bsPrefix=n);const[d]=VN();return d.ref=Ec(d.ref,ZN(u)),Q.jsx(o,{className:_r(r,f,t&&`${f}-split`,(l==null?void 0:l.show)&&"show"),...d,...a})});rM.displayName="DropdownToggle";const nM=ne.forwardRef((e,t)=>{const{bsPrefix:r,drop:n="down",show:o,className:a,align:u="start",onSelect:f,onToggle:l,focusFirstItemOnShow:d,as:v="div",navbar:p,autoClose:w=!0,...x}=xB(e,{show:"onToggle"}),C=ne.useContext(u_),E=Mr(r,"dropdown"),S=hg(),I=y=>w===!1?y==="click":w==="inside"?y!=="rootClose":w==="outside"?y!=="select":!0,D=Df((y,Z)=>{var ae;!((ae=Z.originalEvent)==null||(ae=ae.target)==null)&&ae.classList.contains("dropdown-toggle")&&Z.source==="mousedown"||(Z.originalEvent.currentTarget===document&&(Z.source!=="keydown"||Z.originalEvent.key==="Escape")&&(Z.source="rootClose"),I(Z.source)&&(l==null||l(y,Z)))}),V=eM(u==="end",n,S),M=ne.useMemo(()=>({align:u,drop:n,isRTL:S}),[u,n,S]),G={down:E,"down-centered":`${E}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return Q.jsx(a_.Provider,{value:M,children:Q.jsx(ld,{placement:V,show:o,onSelect:f,onToggle:D,focusFirstItemOnShow:d,itemSelector:`.${E}-item:not(.disabled):not(:disabled)`,children:C?x.children:Q.jsx(v,{...x,ref:t,className:_r(a,o&&"show",G[n])})})})});nM.displayName="Dropdown";const ro=Object.assign(nM,{Toggle:rM,Menu:tM,Item:KN,ItemText:XN,Divider:GN,Header:YN}),q7={type:sr.string,tooltip:sr.bool,as:sr.elementType},mg=ne.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...o},a)=>Q.jsx(e,{...o,ref:a,className:_r(t,`${r}-${n?"tooltip":"feedback"}`)}));mg.displayName="Feedback";mg.propTypes=q7;const Zs=ne.createContext({}),l_=ne.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:o=!1,isInvalid:a=!1,as:u="input",...f},l)=>{const{controlId:d}=ne.useContext(Zs);return t=Mr(t,"form-check-input"),Q.jsx(u,{...f,ref:l,type:n,id:e||d,className:_r(r,t,o&&"is-valid",a&&"is-invalid")})});l_.displayName="FormCheckInput";const mp=ne.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},o)=>{const{controlId:a}=ne.useContext(Zs);return e=Mr(e,"form-check-label"),Q.jsx("label",{...n,ref:o,htmlFor:r||a,className:_r(t,e)})});mp.displayName="FormCheckLabel";const iM=ne.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:o=!1,disabled:a=!1,isValid:u=!1,isInvalid:f=!1,feedbackTooltip:l=!1,feedback:d,feedbackType:v,className:p,style:w,title:x="",type:C="checkbox",label:E,children:S,as:I="input",...D},H)=>{t=Mr(t,"form-check"),r=Mr(r,"form-switch");const{controlId:V}=ne.useContext(Zs),M=ne.useMemo(()=>({controlId:e||V}),[V,e]),G=!S&&E!=null&&E!==!1||f7(S,mp),y=Q.jsx(l_,{...D,type:C==="switch"?"checkbox":C,ref:H,isValid:u,isInvalid:f,disabled:a,as:I});return Q.jsx(Zs.Provider,{value:M,children:Q.jsx("div",{style:w,className:_r(p,G&&t,n&&`${t}-inline`,o&&`${t}-reverse`,C==="switch"&&r),children:S||Q.jsxs(Q.Fragment,{children:[y,G&&Q.jsx(mp,{title:x,children:E}),d&&Q.jsx(mg,{type:v,tooltip:l,children:d})]})})})});iM.displayName="FormCheck";const yp=Object.assign(iM,{Input:l_,Label:mp}),oM=ne.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:o,className:a,isValid:u=!1,isInvalid:f=!1,plaintext:l,readOnly:d,as:v="input",...p},w)=>{const{controlId:x}=ne.useContext(Zs);return e=Mr(e,"form-control"),Q.jsx(v,{...p,type:t,size:n,ref:w,readOnly:d,id:o||x,className:_r(a,l?`${e}-plaintext`:e,r&&`${e}-${r}`,t==="color"&&`${e}-color`,u&&"is-valid",f&&"is-invalid")})});oM.displayName="FormControl";const G7=Object.assign(oM,{Feedback:mg}),sM=ne.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=Mr(t,"form-floating"),Q.jsx(r,{ref:o,className:_r(e,t),...n})));sM.displayName="FormFloating";const c_=ne.forwardRef(({controlId:e,as:t="div",...r},n)=>{const o=ne.useMemo(()=>({controlId:e}),[e]);return Q.jsx(Zs.Provider,{value:o,children:Q.jsx(t,{...r,ref:n})})});c_.displayName="FormGroup";const aM=ne.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:o,htmlFor:a,...u},f)=>{const{controlId:l}=ne.useContext(Zs);t=Mr(t,"form-label");let d="col-form-label";typeof r=="string"&&(d=`${d} ${d}-${r}`);const v=_r(o,t,n&&"visually-hidden",r&&d);return a=a||l,r?Q.jsx(kN,{ref:f,as:"label",className:v,htmlFor:a,...u}):Q.jsx(e,{ref:f,className:v,htmlFor:a,...u})});aM.displayName="FormLabel";const uM=ne.forwardRef(({bsPrefix:e,className:t,id:r,...n},o)=>{const{controlId:a}=ne.useContext(Zs);return e=Mr(e,"form-range"),Q.jsx("input",{...n,type:"range",ref:o,className:_r(t,e),id:r||a})});uM.displayName="FormRange";const lM=ne.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:o=!1,isInvalid:a=!1,id:u,...f},l)=>{const{controlId:d}=ne.useContext(Zs);return e=Mr(e,"form-select"),Q.jsx("select",{...f,size:r,ref:l,className:_r(n,e,t&&`${e}-${t}`,o&&"is-valid",a&&"is-invalid"),id:u||d})});lM.displayName="FormSelect";const cM=ne.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...o},a)=>(e=Mr(e,"form-text"),Q.jsx(r,{...o,ref:a,className:_r(t,e,n&&"text-muted")})));cM.displayName="FormText";const fM=ne.forwardRef((e,t)=>Q.jsx(yp,{...e,ref:t,type:"switch"}));fM.displayName="Switch";const Y7=Object.assign(fM,{Input:yp.Input,Label:yp.Label}),dM=ne.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:o,...a},u)=>(e=Mr(e,"form-floating"),Q.jsxs(c_,{ref:u,className:_r(t,e),controlId:n,...a,children:[r,Q.jsx("label",{htmlFor:n,children:o})]})));dM.displayName="FloatingLabel";const K7={_ref:sr.any,validated:sr.bool,as:sr.elementType},f_=ne.forwardRef(({className:e,validated:t,as:r="form",...n},o)=>Q.jsx(r,{...n,ref:o,className:_r(e,t&&"was-validated")}));f_.displayName="Form";f_.propTypes=K7;const X7=Object.assign(f_,{Group:c_,Control:G7,Floating:sM,Check:yp,Switch:Y7,Label:aM,Text:cM,Range:uM,Select:lM,FloatingLabel:dM}),UO=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Q7(e,t){const r=UO(e),n=UO(t);return o=>{r&&r(o),n&&n(o)}}function yg(e,t){return ne.useMemo(()=>Q7(e,t),[e,t])}var vh;function VO(e){if((!vh&&vh!==0||e)&&wc){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),vh=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return vh}function J7(){return ne.useState(null)}function Vw(e){e===void 0&&(e=yc());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function Z7(e){const t=ne.useRef(e);return t.current=e,t}function e9(e){const t=Z7(e);ne.useEffect(()=>()=>t.current(),[])}function t9(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const HO=s_("modal-open");class d_{constructor({ownerDocument:t,handleContainerOverflow:r=!0,isRTL:n=!1}={}){this.handleContainerOverflow=r,this.isRTL=n,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return t9(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const r={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",o=this.getElement();t.style={overflow:o.style.overflow,[n]:o.style[n]},t.scrollBarWidth&&(r[n]=`${parseInt(ku(o,n)||"0",10)+t.scrollBarWidth}px`),o.setAttribute(HO,""),ku(o,r)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const r=this.getElement();r.removeAttribute(HO),Object.assign(r.style,t.style)}add(t){let r=this.modals.indexOf(t);return r!==-1||(r=this.modals.length,this.modals.push(t),this.setModalAttributes(t),r!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),r}remove(t){const r=this.modals.indexOf(t);r!==-1&&(this.modals.splice(r,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const Hw=(e,t)=>wc?e==null?(t||yc()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function GE(e,t){const r=vg(),[n,o]=ne.useState(()=>Hw(e,r==null?void 0:r.document));if(!n){const a=Hw(e);a&&o(a)}return ne.useEffect(()=>{},[t,n]),ne.useEffect(()=>{const a=Hw(e);a!==n&&o(a)},[e,n]),n}function r9({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:o}){const a=ne.useRef(null),u=ne.useRef(t),f=hi(r);ne.useEffect(()=>{t?u.current=!0:f(a.current)},[t,f]);const l=yg(a,ud(e)),d=ne.cloneElement(e,{ref:l});return t?d:o||!u.current&&n?null:d}const n9=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function i9(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function o9(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:o,onExiting:a,onExited:u,addEndListener:f,children:l}=e,d=i9(e,n9);const v=ne.useRef(null),p=yg(v,ud(l)),w=V=>M=>{V&&v.current&&V(v.current,M)},x=ne.useCallback(w(t),[t]),C=ne.useCallback(w(r),[r]),E=ne.useCallback(w(n),[n]),S=ne.useCallback(w(o),[o]),I=ne.useCallback(w(a),[a]),D=ne.useCallback(w(u),[u]),H=ne.useCallback(w(f),[f]);return Object.assign({},d,{nodeRef:v},t&&{onEnter:x},r&&{onEntering:C},n&&{onEntered:E},o&&{onExit:S},a&&{onExiting:I},u&&{onExited:D},f&&{addEndListener:H},{children:typeof l=="function"?(V,M)=>l(V,Object.assign({},M,{ref:p})):ne.cloneElement(l,{ref:p})})}const s9=["component"];function a9(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const u9=ne.forwardRef((e,t)=>{let{component:r}=e,n=a9(e,s9);const o=o9(n);return Q.jsx(r,Object.assign({ref:t},o))});function l9({in:e,onTransition:t}){const r=ne.useRef(null),n=ne.useRef(!0),o=hi(t);return kO(()=>{if(!r.current)return;let a=!1;return o({in:e,element:r.current,initial:n.current,isStale:()=>a}),()=>{a=!0}},[e,o]),kO(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function c9({children:e,in:t,onExited:r,onEntered:n,transition:o}){const[a,u]=ne.useState(!t);t&&a&&u(!1);const f=l9({in:!!t,onTransition:d=>{const v=()=>{d.isStale()||(d.in?n==null||n(d.element,d.initial):(u(!0),r==null||r(d.element)))};Promise.resolve(o(d)).then(v,p=>{throw d.in||u(!0),p})}}),l=yg(f,ud(e));return a&&!t?null:ne.cloneElement(e,{ref:l})}function YE(e,t,r){return e?Q.jsx(u9,Object.assign({},r,{component:e})):t?Q.jsx(c9,Object.assign({},r,{transition:t})):Q.jsx(r9,Object.assign({},r))}const f9=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function d9(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}let Bw;function h9(e){return Bw||(Bw=new d_({ownerDocument:e==null?void 0:e.document})),Bw}function p9(e){const t=vg(),r=e||h9(t),n=ne.useRef({dialog:null,backdrop:null});return Object.assign(n.current,{add:()=>r.add(n.current),remove:()=>r.remove(n.current),isTopModal:()=>r.isTopModal(n.current),setDialogRef:ne.useCallback(o=>{n.current.dialog=o},[]),setBackdropRef:ne.useCallback(o=>{n.current.backdrop=o},[])})}const hM=ne.forwardRef((e,t)=>{let{show:r=!1,role:n="dialog",className:o,style:a,children:u,backdrop:f=!0,keyboard:l=!0,onBackdropClick:d,onEscapeKeyDown:v,transition:p,runTransition:w,backdropTransition:x,runBackdropTransition:C,autoFocus:E=!0,enforceFocus:S=!0,restoreFocus:I=!0,restoreFocusOptions:D,renderDialog:H,renderBackdrop:V=ee=>Q.jsx("div",Object.assign({},ee)),manager:M,container:G,onShow:y,onHide:Z=()=>{},onExit:ae,onExited:ce,onExiting:ie,onEnter:de,onEntering:ge,onEntered:me}=e,ye=d9(e,f9);const be=vg(),Ae=GE(G),re=p9(M),Ee=TN(),X=AN(r),[Re,qe]=ne.useState(!r),Qe=ne.useRef(null);ne.useImperativeHandle(t,()=>re,[re]),wc&&!X&&r&&(Qe.current=Vw(be==null?void 0:be.document)),r&&Re&&qe(!1);const et=hi(()=>{if(re.add(),L.current=Bs(document,"keydown",T),N.current=Bs(document,"focus",()=>setTimeout(dt),!0),y&&y(),E){var ee,pe;const ue=Vw((ee=(pe=re.dialog)==null?void 0:pe.ownerDocument)!=null?ee:be==null?void 0:be.document);re.dialog&&ue&&!Mf(re.dialog,ue)&&(Qe.current=ue,re.dialog.focus())}}),ut=hi(()=>{if(re.remove(),L.current==null||L.current(),N.current==null||N.current(),I){var ee;(ee=Qe.current)==null||ee.focus==null||ee.focus(D),Qe.current=null}});ne.useEffect(()=>{!r||!Ae||et()},[r,Ae,et]),ne.useEffect(()=>{Re&&ut()},[Re,ut]),e9(()=>{ut()});const dt=hi(()=>{if(!S||!Ee()||!re.isTopModal())return;const ee=Vw(be==null?void 0:be.document);re.dialog&&ee&&!Mf(re.dialog,ee)&&re.dialog.focus()}),F=hi(ee=>{ee.target===ee.currentTarget&&(d==null||d(ee),f===!0&&Z())}),T=hi(ee=>{l&&xN(ee)&&re.isTopModal()&&(v==null||v(ee),ee.defaultPrevented||Z())}),N=ne.useRef(),L=ne.useRef(),q=(...ee)=>{qe(!0),ce==null||ce(...ee)};if(!Ae)return null;const P=Object.assign({role:n,ref:re.setDialogRef,"aria-modal":n==="dialog"?!0:void 0},ye,{style:a,className:o,tabIndex:-1});let j=H?H(P):Q.jsx("div",Object.assign({},P,{children:ne.cloneElement(u,{role:"document"})}));j=YE(p,w,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:ae,onExiting:ie,onExited:q,onEnter:de,onEntering:ge,onEntered:me,children:j});let se=null;return f&&(se=V({ref:re.setBackdropRef,onClick:F}),se=YE(x,C,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:se})),Q.jsx(Q.Fragment,{children:_u.createPortal(Q.jsxs(Q.Fragment,{children:[se,j]}),Ae)})});hM.displayName="Modal";const g9=Object.assign(hM,{Manager:d_});function KE(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function pM(e,t){e.classList?e.classList.add(t):KE(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function BO(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function gM(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=BO(e.className,t):e.setAttribute("class",BO(e.className&&e.className.baseVal||"",t))}const Ol={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class v9 extends d_{adjustAndStore(t,r,n){const o=r.style[t];r.dataset[t]=o,ku(r,{[t]:`${parseFloat(ku(r,t))+n}px`})}restore(t,r){const n=r.dataset[t];n!==void 0&&(delete r.dataset[t],ku(r,{[t]:n}))}setContainerStyle(t){super.setContainerStyle(t);const r=this.getElement();if(pM(r,"modal-open"),!t.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";Oa(r,Ol.FIXED_CONTENT).forEach(a=>this.adjustAndStore(n,a,t.scrollBarWidth)),Oa(r,Ol.STICKY_CONTENT).forEach(a=>this.adjustAndStore(o,a,-t.scrollBarWidth)),Oa(r,Ol.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(o,a,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const r=this.getElement();gM(r,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";Oa(r,Ol.FIXED_CONTENT).forEach(a=>this.restore(n,a)),Oa(r,Ol.STICKY_CONTENT).forEach(a=>this.restore(o,a)),Oa(r,Ol.NAVBAR_TOGGLER).forEach(a=>this.restore(o,a))}}let zw;function m9(e){return zw||(zw=new v9(e)),zw}const vM=ne.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=Mr(t,"modal-body"),Q.jsx(r,{ref:o,className:_r(e,t),...n})));vM.displayName="ModalBody";const mM=ne.createContext({onHide(){}}),h_=ne.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:o,fullscreen:a,children:u,scrollable:f,...l},d)=>{e=Mr(e,"modal");const v=`${e}-dialog`,p=typeof a=="string"?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return Q.jsx("div",{...l,ref:d,className:_r(v,t,o&&`${e}-${o}`,n&&`${v}-centered`,f&&`${v}-scrollable`,a&&p),children:Q.jsx("div",{className:_r(`${e}-content`,r),children:u})})});h_.displayName="ModalDialog";const yM=ne.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=Mr(t,"modal-footer"),Q.jsx(r,{ref:o,className:_r(e,t),...n})));yM.displayName="ModalFooter";const y9=ne.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:r=!1,onHide:n,children:o,...a},u)=>{const f=ne.useContext(mM),l=Df(()=>{f==null||f.onHide(),n==null||n()});return Q.jsxs("div",{ref:u,...a,children:[o,r&&Q.jsx(o_,{"aria-label":e,variant:t,onClick:l})]})}),wM=ne.forwardRef(({bsPrefix:e,className:t,closeLabel:r="Close",closeButton:n=!1,...o},a)=>(e=Mr(e,"modal-header"),Q.jsx(y9,{ref:a,...o,className:_r(t,e),closeLabel:r,closeButton:n})));wM.displayName="ModalHeader";const w9=KB("h4"),EM=ne.forwardRef(({className:e,bsPrefix:t,as:r=w9,...n},o)=>(t=Mr(t,"modal-title"),Q.jsx(r,{ref:o,className:_r(e,t),...n})));EM.displayName="ModalTitle";function E9(e){return Q.jsx(Nf,{...e,timeout:null})}function S9(e){return Q.jsx(Nf,{...e,timeout:null})}const SM=ne.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:o,children:a,dialogAs:u=h_,"data-bs-theme":f,"aria-labelledby":l,"aria-describedby":d,"aria-label":v,show:p=!1,animation:w=!0,backdrop:x=!0,keyboard:C=!0,onEscapeKeyDown:E,onShow:S,onHide:I,container:D,autoFocus:H=!0,enforceFocus:V=!0,restoreFocus:M=!0,restoreFocusOptions:G,onEntered:y,onExit:Z,onExiting:ae,onEnter:ce,onEntering:ie,onExited:de,backdropClassName:ge,manager:me,...ye},be)=>{const[Ae,re]=ne.useState({}),[Ee,X]=ne.useState(!1),Re=ne.useRef(!1),qe=ne.useRef(!1),Qe=ne.useRef(null),[et,ut]=J7(),dt=Ec(be,ut),F=Df(I),T=hg();e=Mr(e,"modal");const N=ne.useMemo(()=>({onHide:F}),[F]);function L(){return me||m9({isRTL:T})}function q(at){if(!wc)return;const Nt=L().getScrollbarWidth()>0,$t=at.scrollHeight>yc(at).documentElement.clientHeight;re({paddingRight:Nt&&!$t?VO():void 0,paddingLeft:!Nt&&$t?VO():void 0})}const P=Df(()=>{et&&q(et.dialog)});IN(()=>{BE(window,"resize",P),Qe.current==null||Qe.current()});const j=()=>{Re.current=!0},se=at=>{Re.current&&et&&at.target===et.dialog&&(qe.current=!0),Re.current=!1},ee=()=>{X(!0),Qe.current=CN(et.dialog,()=>{X(!1)})},pe=at=>{at.target===at.currentTarget&&ee()},ue=at=>{if(x==="static"){pe(at);return}if(qe.current||at.target!==at.currentTarget){qe.current=!1;return}I==null||I()},Oe=at=>{C?E==null||E(at):(at.preventDefault(),x==="static"&&ee())},Le=(at,Nt)=>{at&&q(at),ce==null||ce(at,Nt)},oe=at=>{Qe.current==null||Qe.current(),Z==null||Z(at)},Se=(at,Nt)=>{ie==null||ie(at,Nt),n_(window,"resize",P)},ve=at=>{at&&(at.style.display=""),de==null||de(at),BE(window,"resize",P)},Te=ne.useCallback(at=>Q.jsx("div",{...at,className:_r(`${e}-backdrop`,ge,!w&&"show")}),[w,ge,e]),He={...r,...Ae};He.display="block";const Ue=at=>Q.jsx("div",{role:"dialog",...at,style:He,className:_r(t,e,Ee&&`${e}-static`,!w&&"show"),onClick:x?ue:void 0,onMouseUp:se,"data-bs-theme":f,"aria-label":v,"aria-labelledby":l,"aria-describedby":d,children:Q.jsx(u,{...ye,onMouseDown:j,className:n,contentClassName:o,children:a})});return Q.jsx(mM.Provider,{value:N,children:Q.jsx(g9,{show:p,ref:dt,backdrop:x,container:D,keyboard:!0,autoFocus:H,enforceFocus:V,restoreFocus:M,restoreFocusOptions:G,onEscapeKeyDown:Oe,onShow:S,onHide:I,onEnter:Le,onEntering:Se,onEntered:y,onExit:oe,onExiting:ae,onExited:ve,manager:L(),transition:w?E9:void 0,backdropTransition:w?S9:void 0,renderBackdrop:Te,renderDialog:Ue})})});SM.displayName="Modal";const mh=Object.assign(SM,{Body:vM,Header:wM,Title:EM,Footer:yM,Dialog:h_,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),_9=()=>{};function b9(e,t,{disabled:r,clickTrigger:n}={}){const o=t||_9;DN(e,o,{disabled:r,clickTrigger:n});const a=hi(u=>{xN(u)&&o(u)});ne.useEffect(()=>{if(r||e==null)return;const u=yc(Uh(e));let f=(u.defaultView||window).event;const l=Bs(u,"keyup",d=>{if(d===f){f=void 0;return}a(d)});return()=>{l()}},[e,r,a])}const _M=ne.forwardRef((e,t)=>{const{flip:r,offset:n,placement:o,containerPadding:a,popperConfig:u={},transition:f,runTransition:l}=e,[d,v]=zE(),[p,w]=zE(),x=yg(v,t),C=GE(e.container),E=GE(e.target),[S,I]=ne.useState(!e.show),D=LN(E,d,NN({placement:o,enableEvents:!!e.show,containerPadding:a||5,flip:r,offset:n,arrowElement:p,popperConfig:u}));e.show&&S&&I(!1);const H=(...ie)=>{I(!0),e.onExited&&e.onExited(...ie)},V=e.show||!S;if(b9(d,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!V)return null;const{onExit:M,onExiting:G,onEnter:y,onEntering:Z,onEntered:ae}=e;let ce=e.children(Object.assign({},D.attributes.popper,{style:D.styles.popper,ref:x}),{popper:D,placement:o,show:!!e.show,arrowProps:Object.assign({},D.attributes.arrow,{style:D.styles.arrow,ref:w})});return ce=YE(f,l,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:ce,onExit:M,onExiting:G,onExited:H,onEnter:y,onEntering:Z,onEntered:ae}),C?_u.createPortal(ce,C):null});_M.displayName="Overlay";const bM=ne.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=Mr(t,"popover-header"),Q.jsx(r,{ref:o,className:_r(e,t),...n})));bM.displayName="PopoverHeader";const p_=ne.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=Mr(t,"popover-body"),Q.jsx(r,{ref:o,className:_r(e,t),...n})));p_.displayName="PopoverBody";function xM(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function CM(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const x9=ne.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,body:a,arrowProps:u,hasDoneInitialMeasure:f,popper:l,show:d,...v},p)=>{const w=Mr(e,"popover"),x=hg(),[C]=(t==null?void 0:t.split("-"))||[],E=xM(C,x);let S=n;return d&&!f&&(S={...n,...CM(l==null?void 0:l.strategy)}),Q.jsxs("div",{ref:p,role:"tooltip",style:S,"x-placement":C,className:_r(r,w,C&&`bs-popover-${E}`),...v,children:[Q.jsx("div",{className:"popover-arrow",...u}),a?Q.jsx(p_,{children:o}):o]})}),C9=Object.assign(x9,{Header:bM,Body:p_,POPPER_OFFSET:[0,8]}),TM=ne.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,arrowProps:a,hasDoneInitialMeasure:u,popper:f,show:l,...d},v)=>{e=Mr(e,"tooltip");const p=hg(),[w]=(t==null?void 0:t.split("-"))||[],x=xM(w,p);let C=n;return l&&!u&&(C={...n,...CM(f==null?void 0:f.strategy)}),Q.jsxs("div",{ref:v,style:C,role:"tooltip","x-placement":w,className:_r(r,e,`bs-tooltip-${x}`),...d,children:[Q.jsx("div",{className:"tooltip-arrow",...a}),Q.jsx("div",{className:`${e}-inner`,children:o})]})});TM.displayName="Tooltip";const wp=Object.assign(TM,{TOOLTIP_OFFSET:[0,6]});function T9(e){const t=ne.useRef(null),r=Mr(void 0,"popover"),n=Mr(void 0,"tooltip"),o=ne.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(KE(t.current,r))return C9.POPPER_OFFSET;if(KE(t.current,n))return wp.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[o]]}function A9(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=o=>r(vp(o))),t.ref=n.__wrapped||(n.__wrapped=o=>n(vp(o)))}const AM=ne.forwardRef(({children:e,transition:t=Nf,popperConfig:r={},rootClose:n=!1,placement:o="top",show:a=!1,...u},f)=>{const l=ne.useRef({}),[d,v]=ne.useState(null),[p,w]=T9(u.offset),x=Ec(f,p),C=t===!0?Nf:t||void 0,E=Df(S=>{v(S),r==null||r.onFirstUpdate==null||r.onFirstUpdate(S)});return QN(()=>{d&&u.target&&(l.current.scheduleUpdate==null||l.current.scheduleUpdate())},[d,u.target]),ne.useEffect(()=>{a||v(null)},[a]),Q.jsx(_M,{...u,ref:x,popperConfig:{...r,modifiers:w.concat(r.modifiers||[]),onFirstUpdate:E},transition:C,rootClose:n,placement:o,show:a,children:(S,{arrowProps:I,popper:D,show:H})=>{var V;A9(S,I);const M=D==null?void 0:D.placement,G=Object.assign(l.current,{state:D==null?void 0:D.state,scheduleUpdate:D==null?void 0:D.update,placement:M,outOfBoundaries:(D==null||(V=D.state)==null||(V=V.modifiersData.hide)==null?void 0:V.isReferenceHidden)||!1,strategy:r.strategy}),y=!!d;return typeof e=="function"?e({...S,placement:M,show:H,...!t&&H&&{className:"show"},popper:G,arrowProps:I,hasDoneInitialMeasure:y}):ne.cloneElement(e,{...S,placement:M,arrowProps:I,popper:G,hasDoneInitialMeasure:y,className:_r(e.props.className,!t&&H&&"show"),style:{...e.props.style,...S.style}})}})});AM.displayName="Overlay";function R9(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function zO(e,t,r){const[n]=t,o=n.currentTarget,a=n.relatedTarget||n.nativeEvent[r];(!a||a!==o)&&!Mf(o,a)&&e(...t)}sr.oneOf(["click","hover","focus"]);const XE=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:o,defaultShow:a=!1,onToggle:u,delay:f,placement:l,flip:d=l&&l.indexOf("auto")!==-1,...v})=>{const p=ne.useRef(null),w=Ec(p,ud(r)),x=c7(),C=ne.useRef(""),[E,S]=_N(o,a,u),I=R9(f),{onFocus:D,onBlur:H,onClick:V}=typeof r!="function"?ne.Children.only(r).props:{},M=ye=>{w(vp(ye))},G=ne.useCallback(()=>{if(x.clear(),C.current="show",!I.show){S(!0);return}x.set(()=>{C.current==="show"&&S(!0)},I.show)},[I.show,S,x]),y=ne.useCallback(()=>{if(x.clear(),C.current="hide",!I.hide){S(!1);return}x.set(()=>{C.current==="hide"&&S(!1)},I.hide)},[I.hide,S,x]),Z=ne.useCallback((...ye)=>{G(),D==null||D(...ye)},[G,D]),ae=ne.useCallback((...ye)=>{y(),H==null||H(...ye)},[y,H]),ce=ne.useCallback((...ye)=>{S(!E),V==null||V(...ye)},[V,S,E]),ie=ne.useCallback((...ye)=>{zO(G,ye,"fromElement")},[G]),de=ne.useCallback((...ye)=>{zO(y,ye,"toElement")},[y]),ge=e==null?[]:[].concat(e),me={ref:M};return ge.indexOf("click")!==-1&&(me.onClick=ce),ge.indexOf("focus")!==-1&&(me.onFocus=Z,me.onBlur=ae),ge.indexOf("hover")!==-1&&(me.onMouseOver=ie,me.onMouseOut=de),Q.jsxs(Q.Fragment,{children:[typeof r=="function"?r(me):ne.cloneElement(r,me),Q.jsx(AM,{...v,show:E,onHide:y,flip:d,placement:l,popperConfig:n,target:p.current,children:t})]})},wg=ne.forwardRef(({bsPrefix:e,variant:t,animation:r="border",size:n,as:o="div",className:a,...u},f)=>{e=Mr(e,"spinner");const l=`${e}-${r}`;return Q.jsx(o,{ref:f,...u,className:_r(a,l,n&&`${l}-${n}`,t&&`text-${t}`)})});wg.displayName="Spinner";var yh={},WO;function O9(){if(WO)return yh;WO=1;var e=WD();return yh.createRoot=e.createRoot,yh.hydrateRoot=e.hydrateRoot,yh}var g_=O9();function I9(e){const t=ne.useMemo(()=>`${e.type}-${mN.getRandomInt()}`,[]);return e.title?e.spanHack?Q.jsx(XE,{placement:e.placement,overlay:Q.jsx(wp,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:Q.jsx("div",{className:`${e.spanHackClassName??"d-flex justify-content-center align-items-center"}`,children:e.children},t)}):Q.jsx(XE,{placement:e.placement,overlay:Q.jsx(wp,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:Q.jsx(ne.Fragment,{children:e.children},t)}):Q.jsx(Q.Fragment,{children:e.children})}function P9(e){const[t,r]=ne.useState();return ne.useEffect(()=>{const n=document.createElement("div");g_.createRoot(n).render(e.markupComponent),window.setTimeout(()=>{r(n.innerHTML)},100)}),Q.jsx(XE,{placement:"top",overlay:Q.jsx(wp,{id:e.id,children:Q.jsx("div",{dangerouslySetInnerHTML:{__html:t}})}),trigger:["hover","click","focus"],children:Q.jsx("div",{children:e.children})})}Yl.defaultProps={trigger:["hover","click","focus"],placement:"top",type:"text"};function Yl(e){return e.type==="text"?Q.jsx(I9,{...e,type:"text"}):e.type==="markup"?Q.jsx(P9,{...e,type:"markup"}):Q.jsx(Q.Fragment,{})}var xa={},fu={};/**
|
|
115
|
+
* @license React
|
|
116
|
+
* react-dom-server-legacy.browser.production.min.js
|
|
117
|
+
*
|
|
118
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
119
|
+
*
|
|
120
|
+
* This source code is licensed under the MIT license found in the
|
|
121
|
+
* LICENSE file in the root directory of this source tree.
|
|
122
|
+
*/var qO;function k9(){if(qO)return fu;qO=1;var e=Ku();function t(A){for(var z="https://reactjs.org/docs/error-decoder.html?invariant="+A,te=1;te<arguments.length;te++)z+="&args[]="+encodeURIComponent(arguments[te]);return"Minified React error #"+A+"; visit "+z+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=!1;function n(A,z){return r&&(r=!1,z[0]!=="<"&&A.push("<!-- -->")),z==="<!-- -->"?r=!0:A.push(z)}var o=Object.prototype.hasOwnProperty,a=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,u={},f={};function l(A){return o.call(f,A)?!0:o.call(u,A)?!1:a.test(A)?f[A]=!0:(u[A]=!0,!1)}function d(A,z,te,Ce,Ye,Fe,st){this.acceptsBooleans=z===2||z===3||z===4,this.attributeName=Ce,this.attributeNamespace=Ye,this.mustUseProperty=te,this.propertyName=A,this.type=z,this.sanitizeURL=Fe,this.removeEmptyString=st}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(A){v[A]=new d(A,0,!1,A,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(A){var z=A[0];v[z]=new d(z,1,!1,A[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(A){v[A]=new d(A,2,!1,A.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(A){v[A]=new d(A,2,!1,A,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(A){v[A]=new d(A,3,!1,A.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(A){v[A]=new d(A,3,!0,A,null,!1,!1)}),["capture","download"].forEach(function(A){v[A]=new d(A,4,!1,A,null,!1,!1)}),["cols","rows","size","span"].forEach(function(A){v[A]=new d(A,6,!1,A,null,!1,!1)}),["rowSpan","start"].forEach(function(A){v[A]=new d(A,5,!1,A.toLowerCase(),null,!1,!1)});var p=/[\-:]([a-z])/g;function w(A){return A[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(A){var z=A.replace(p,w);v[z]=new d(z,1,!1,A,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(A){var z=A.replace(p,w);v[z]=new d(z,1,!1,A,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(A){var z=A.replace(p,w);v[z]=new d(z,1,!1,A,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(A){v[A]=new d(A,1,!1,A.toLowerCase(),null,!1,!1)}),v.xlinkHref=new d("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(A){v[A]=new d(A,1,!1,A.toLowerCase(),null,!0,!0)});var x={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},C=["Webkit","ms","Moz","O"];Object.keys(x).forEach(function(A){C.forEach(function(z){z=z+A.charAt(0).toUpperCase()+A.substring(1),x[z]=x[A]})});var E=/["'&<>]/;function S(A){if(typeof A=="boolean"||typeof A=="number")return""+A;A=""+A;var z=E.exec(A);if(z){var te="",Ce,Ye=0;for(Ce=z.index;Ce<A.length;Ce++){switch(A.charCodeAt(Ce)){case 34:z=""";break;case 38:z="&";break;case 39:z="'";break;case 60:z="<";break;case 62:z=">";break;default:continue}Ye!==Ce&&(te+=A.substring(Ye,Ce)),Ye=Ce+1,te+=z}A=Ye!==Ce?te+A.substring(Ye,Ce):te}return A}var I=/([A-Z])/g,D=/^ms-/,H=Array.isArray;function V(A,z){return{insertionMode:A,selectedValue:z}}function M(A,z,te){switch(z){case"select":return V(1,te.value!=null?te.value:te.defaultValue);case"svg":return V(2,null);case"math":return V(3,null);case"foreignObject":return V(1,null);case"table":return V(4,null);case"thead":case"tbody":case"tfoot":return V(5,null);case"colgroup":return V(7,null);case"tr":return V(6,null)}return 4<=A.insertionMode||A.insertionMode===0?V(1,null):A}function G(A,z){z!==""&&A.push(S(z),"<!-- -->")}var y=new Map;function Z(A,z,te){if(typeof te!="object")throw Error(t(62));z=!0;for(var Ce in te)if(o.call(te,Ce)){var Ye=te[Ce];if(Ye!=null&&typeof Ye!="boolean"&&Ye!==""){if(Ce.indexOf("--")===0){var Fe=S(Ce);Ye=S((""+Ye).trim())}else{Fe=Ce;var st=y.get(Fe);st!==void 0||(st=S(Fe.replace(I,"-$1").toLowerCase().replace(D,"-ms-")),y.set(Fe,st)),Fe=st,Ye=typeof Ye=="number"?Ye===0||o.call(x,Ce)?""+Ye:Ye+"px":S((""+Ye).trim())}z?(z=!1,A.push(' style="',Fe,":",Ye)):A.push(";",Fe,":",Ye)}}z||A.push('"')}function ae(A,z,te,Ce){switch(te){case"style":Z(A,z,Ce);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<te.length)||te[0]!=="o"&&te[0]!=="O"||te[1]!=="n"&&te[1]!=="N"){if(z=v.hasOwnProperty(te)?v[te]:null,z!==null){switch(typeof Ce){case"function":case"symbol":return;case"boolean":if(!z.acceptsBooleans)return}switch(te=z.attributeName,z.type){case 3:Ce&&A.push(" ",te,'=""');break;case 4:Ce===!0?A.push(" ",te,'=""'):Ce!==!1&&A.push(" ",te,'="',S(Ce),'"');break;case 5:isNaN(Ce)||A.push(" ",te,'="',S(Ce),'"');break;case 6:!isNaN(Ce)&&1<=Ce&&A.push(" ",te,'="',S(Ce),'"');break;default:z.sanitizeURL&&(Ce=""+Ce),A.push(" ",te,'="',S(Ce),'"')}}else if(l(te)){switch(typeof Ce){case"function":case"symbol":return;case"boolean":if(z=te.toLowerCase().slice(0,5),z!=="data-"&&z!=="aria-")return}A.push(" ",te,'="',S(Ce),'"')}}}function ce(A,z,te){if(z!=null){if(te!=null)throw Error(t(60));if(typeof z!="object"||!("__html"in z))throw Error(t(61));z=z.__html,z!=null&&A.push(""+z)}}function ie(A){var z="";return e.Children.forEach(A,function(te){te!=null&&(z+=te)}),z}function de(A,z,te,Ce){A.push(ye(te));var Ye=te=null,Fe;for(Fe in z)if(o.call(z,Fe)){var st=z[Fe];if(st!=null)switch(Fe){case"children":te=st;break;case"dangerouslySetInnerHTML":Ye=st;break;default:ae(A,Ce,Fe,st)}}return A.push(">"),ce(A,Ye,te),typeof te=="string"?(A.push(S(te)),null):te}var ge=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,me=new Map;function ye(A){var z=me.get(A);if(z===void 0){if(!ge.test(A))throw Error(t(65,A));z="<"+A,me.set(A,z)}return z}function be(A,z,te,Ce,Ye){switch(z){case"select":A.push(ye("select"));var Fe=null,st=null;for(ir in te)if(o.call(te,ir)){var yt=te[ir];if(yt!=null)switch(ir){case"children":Fe=yt;break;case"dangerouslySetInnerHTML":st=yt;break;case"defaultValue":case"value":break;default:ae(A,Ce,ir,yt)}}return A.push(">"),ce(A,st,Fe),Fe;case"option":st=Ye.selectedValue,A.push(ye("option"));var St=yt=null,cr=null,ir=null;for(Fe in te)if(o.call(te,Fe)&&(z=te[Fe],z!=null))switch(Fe){case"children":yt=z;break;case"selected":cr=z;break;case"dangerouslySetInnerHTML":ir=z;break;case"value":St=z;default:ae(A,Ce,Fe,z)}if(st!=null)if(te=St!==null?""+St:ie(yt),H(st)){for(Ce=0;Ce<st.length;Ce++)if(""+st[Ce]===te){A.push(' selected=""');break}}else""+st===te&&A.push(' selected=""');else cr&&A.push(' selected=""');return A.push(">"),ce(A,ir,yt),yt;case"textarea":A.push(ye("textarea")),ir=st=Fe=null;for(yt in te)if(o.call(te,yt)&&(St=te[yt],St!=null))switch(yt){case"children":ir=St;break;case"value":Fe=St;break;case"defaultValue":st=St;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:ae(A,Ce,yt,St)}if(Fe===null&&st!==null&&(Fe=st),A.push(">"),ir!=null){if(Fe!=null)throw Error(t(92));if(H(ir)&&1<ir.length)throw Error(t(93));Fe=""+ir}return typeof Fe=="string"&&Fe[0]===`
|
|
123
|
+
`&&A.push(`
|
|
124
|
+
`),Fe!==null&&A.push(S(""+Fe)),null;case"input":A.push(ye("input")),St=ir=yt=Fe=null;for(st in te)if(o.call(te,st)&&(cr=te[st],cr!=null))switch(st){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":St=cr;break;case"defaultValue":yt=cr;break;case"checked":ir=cr;break;case"value":Fe=cr;break;default:ae(A,Ce,st,cr)}return ir!==null?ae(A,Ce,"checked",ir):St!==null&&ae(A,Ce,"checked",St),Fe!==null?ae(A,Ce,"value",Fe):yt!==null&&ae(A,Ce,"value",yt),A.push("/>"),null;case"menuitem":A.push(ye("menuitem"));for(var Xr in te)if(o.call(te,Xr)&&(Fe=te[Xr],Fe!=null))switch(Xr){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:ae(A,Ce,Xr,Fe)}return A.push(">"),null;case"listing":case"pre":A.push(ye(z)),st=Fe=null;for(St in te)if(o.call(te,St)&&(yt=te[St],yt!=null))switch(St){case"children":Fe=yt;break;case"dangerouslySetInnerHTML":st=yt;break;default:ae(A,Ce,St,yt)}if(A.push(">"),st!=null){if(Fe!=null)throw Error(t(60));if(typeof st!="object"||!("__html"in st))throw Error(t(61));te=st.__html,te!=null&&(typeof te=="string"&&0<te.length&&te[0]===`
|
|
125
|
+
`?A.push(`
|
|
126
|
+
`,te):A.push(""+te))}return typeof Fe=="string"&&Fe[0]===`
|
|
127
|
+
`&&A.push(`
|
|
128
|
+
`),Fe;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":A.push(ye(z));for(var xn in te)if(o.call(te,xn)&&(Fe=te[xn],Fe!=null))switch(xn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,z));default:ae(A,Ce,xn,Fe)}return A.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return de(A,te,z,Ce);case"html":return Ye.insertionMode===0&&A.push("<!DOCTYPE html>"),de(A,te,z,Ce);default:if(z.indexOf("-")===-1&&typeof te.is!="string")return de(A,te,z,Ce);A.push(ye(z)),st=Fe=null;for(cr in te)if(o.call(te,cr)&&(yt=te[cr],yt!=null))switch(cr){case"children":Fe=yt;break;case"dangerouslySetInnerHTML":st=yt;break;case"style":Z(A,Ce,yt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(cr)&&typeof yt!="function"&&typeof yt!="symbol"&&A.push(" ",cr,'="',S(yt),'"')}return A.push(">"),ce(A,st,Fe),Fe}}function Ae(A,z,te){if(n(A,'<!--$?--><template id="'),te===null)throw Error(t(395));return n(A,te),n(A,'"></template>')}function re(A,z,te,Ce){switch(te.insertionMode){case 0:case 1:return n(A,'<div hidden id="'),n(A,z.segmentPrefix),z=Ce.toString(16),n(A,z),n(A,'">');case 2:return n(A,'<svg aria-hidden="true" style="display:none" id="'),n(A,z.segmentPrefix),z=Ce.toString(16),n(A,z),n(A,'">');case 3:return n(A,'<math aria-hidden="true" style="display:none" id="'),n(A,z.segmentPrefix),z=Ce.toString(16),n(A,z),n(A,'">');case 4:return n(A,'<table hidden id="'),n(A,z.segmentPrefix),z=Ce.toString(16),n(A,z),n(A,'">');case 5:return n(A,'<table hidden><tbody id="'),n(A,z.segmentPrefix),z=Ce.toString(16),n(A,z),n(A,'">');case 6:return n(A,'<table hidden><tr id="'),n(A,z.segmentPrefix),z=Ce.toString(16),n(A,z),n(A,'">');case 7:return n(A,'<table hidden><colgroup id="'),n(A,z.segmentPrefix),z=Ce.toString(16),n(A,z),n(A,'">');default:throw Error(t(397))}}function Ee(A,z){switch(z.insertionMode){case 0:case 1:return n(A,"</div>");case 2:return n(A,"</svg>");case 3:return n(A,"</math>");case 4:return n(A,"</table>");case 5:return n(A,"</tbody></table>");case 6:return n(A,"</tr></table>");case 7:return n(A,"</colgroup></table>");default:throw Error(t(397))}}function X(A,z){return z=z===void 0?"":z,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:z+"P:",segmentPrefix:z+"S:",boundaryPrefix:z+"B:",idPrefix:z,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:A}}var Re=Object.assign,qe=Symbol.for("react.element"),Qe=Symbol.for("react.portal"),et=Symbol.for("react.fragment"),ut=Symbol.for("react.strict_mode"),dt=Symbol.for("react.profiler"),F=Symbol.for("react.provider"),T=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),se=Symbol.for("react.scope"),ee=Symbol.for("react.debug_trace_mode"),pe=Symbol.for("react.legacy_hidden"),ue=Symbol.for("react.default_value"),Oe=Symbol.iterator;function Le(A){if(A==null)return null;if(typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case et:return"Fragment";case Qe:return"Portal";case dt:return"Profiler";case ut:return"StrictMode";case L:return"Suspense";case q:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case T:return(A.displayName||"Context")+".Consumer";case F:return(A._context.displayName||"Context")+".Provider";case N:var z=A.render;return A=A.displayName,A||(A=z.displayName||z.name||"",A=A!==""?"ForwardRef("+A+")":"ForwardRef"),A;case P:return z=A.displayName||null,z!==null?z:Le(A.type)||"Memo";case j:z=A._payload,A=A._init;try{return Le(A(z))}catch{}}return null}var oe={};function Se(A,z){if(A=A.contextTypes,!A)return oe;var te={},Ce;for(Ce in A)te[Ce]=z[Ce];return te}var ve=null;function Te(A,z){if(A!==z){A.context._currentValue2=A.parentValue,A=A.parent;var te=z.parent;if(A===null){if(te!==null)throw Error(t(401))}else{if(te===null)throw Error(t(401));Te(A,te)}z.context._currentValue2=z.value}}function He(A){A.context._currentValue2=A.parentValue,A=A.parent,A!==null&&He(A)}function Ue(A){var z=A.parent;z!==null&&Ue(z),A.context._currentValue2=A.value}function at(A,z){if(A.context._currentValue2=A.parentValue,A=A.parent,A===null)throw Error(t(402));A.depth===z.depth?Te(A,z):at(A,z)}function Nt(A,z){var te=z.parent;if(te===null)throw Error(t(402));A.depth===te.depth?Te(A,te):Nt(A,te),z.context._currentValue2=z.value}function $t(A){var z=ve;z!==A&&(z===null?Ue(A):A===null?He(z):z.depth===A.depth?Te(z,A):z.depth>A.depth?at(z,A):Nt(z,A),ve=A)}var Ut={isMounted:function(){return!1},enqueueSetState:function(A,z){A=A._reactInternals,A.queue!==null&&A.queue.push(z)},enqueueReplaceState:function(A,z){A=A._reactInternals,A.replace=!0,A.queue=[z]},enqueueForceUpdate:function(){}};function br(A,z,te,Ce){var Ye=A.state!==void 0?A.state:null;A.updater=Ut,A.props=te,A.state=Ye;var Fe={queue:[],replace:!1};A._reactInternals=Fe;var st=z.contextType;if(A.context=typeof st=="object"&&st!==null?st._currentValue2:Ce,st=z.getDerivedStateFromProps,typeof st=="function"&&(st=st(te,Ye),Ye=st==null?Ye:Re({},Ye,st),A.state=Ye),typeof z.getDerivedStateFromProps!="function"&&typeof A.getSnapshotBeforeUpdate!="function"&&(typeof A.UNSAFE_componentWillMount=="function"||typeof A.componentWillMount=="function"))if(z=A.state,typeof A.componentWillMount=="function"&&A.componentWillMount(),typeof A.UNSAFE_componentWillMount=="function"&&A.UNSAFE_componentWillMount(),z!==A.state&&Ut.enqueueReplaceState(A,A.state,null),Fe.queue!==null&&0<Fe.queue.length)if(z=Fe.queue,st=Fe.replace,Fe.queue=null,Fe.replace=!1,st&&z.length===1)A.state=z[0];else{for(Fe=st?z[0]:A.state,Ye=!0,st=st?1:0;st<z.length;st++){var yt=z[st];yt=typeof yt=="function"?yt.call(A,Fe,te,Ce):yt,yt!=null&&(Ye?(Ye=!1,Fe=Re({},Fe,yt)):Re(Fe,yt))}A.state=Fe}else Fe.queue=null}var Pr={id:1,overflow:""};function ur(A,z,te){var Ce=A.id;A=A.overflow;var Ye=32-xr(Ce)-1;Ce&=~(1<<Ye),te+=1;var Fe=32-xr(z)+Ye;if(30<Fe){var st=Ye-Ye%5;return Fe=(Ce&(1<<st)-1).toString(32),Ce>>=st,Ye-=st,{id:1<<32-xr(z)+Ye|te<<Ye|Ce,overflow:Fe+A}}return{id:1<<Fe|te<<Ye|Ce,overflow:A}}var xr=Math.clz32?Math.clz32:Jt,Rr=Math.log,gr=Math.LN2;function Jt(A){return A>>>=0,A===0?32:31-(Rr(A)/gr|0)|0}function Et(A,z){return A===z&&(A!==0||1/A===1/z)||A!==A&&z!==z}var je=typeof Object.is=="function"?Object.is:Et,mt=null,Rt=null,Vt=null,kt=null,wr=!1,Ur=!1,dr=0,Cr=null,kr=0;function bn(){if(mt===null)throw Error(t(321));return mt}function Pn(){if(0<kr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function an(){return kt===null?Vt===null?(wr=!1,Vt=kt=Pn()):(wr=!0,kt=Vt):kt.next===null?(wr=!1,kt=kt.next=Pn()):(wr=!0,kt=kt.next),kt}function en(){Rt=mt=null,Ur=!1,Vt=null,kr=0,kt=Cr=null}function un(A,z){return typeof z=="function"?z(A):z}function Ii(A,z,te){if(mt=bn(),kt=an(),wr){var Ce=kt.queue;if(z=Ce.dispatch,Cr!==null&&(te=Cr.get(Ce),te!==void 0)){Cr.delete(Ce),Ce=kt.memoizedState;do Ce=A(Ce,te.action),te=te.next;while(te!==null);return kt.memoizedState=Ce,[Ce,z]}return[kt.memoizedState,z]}return A=A===un?typeof z=="function"?z():z:te!==void 0?te(z):z,kt.memoizedState=A,A=kt.queue={last:null,dispatch:null},A=A.dispatch=qi.bind(null,mt,A),[kt.memoizedState,A]}function kn(A,z){if(mt=bn(),kt=an(),z=z===void 0?null:z,kt!==null){var te=kt.memoizedState;if(te!==null&&z!==null){var Ce=te[1];e:if(Ce===null)Ce=!1;else{for(var Ye=0;Ye<Ce.length&&Ye<z.length;Ye++)if(!je(z[Ye],Ce[Ye])){Ce=!1;break e}Ce=!0}if(Ce)return te[0]}}return A=A(),kt.memoizedState=[A,z],A}function qi(A,z,te){if(25<=kr)throw Error(t(301));if(A===mt)if(Ur=!0,A={action:te,next:null},Cr===null&&(Cr=new Map),te=Cr.get(z),te===void 0)Cr.set(z,A);else{for(z=te;z.next!==null;)z=z.next;z.next=A}}function Gi(){throw Error(t(394))}function mi(){}var ho={readContext:function(A){return A._currentValue2},useContext:function(A){return bn(),A._currentValue2},useMemo:kn,useReducer:Ii,useRef:function(A){mt=bn(),kt=an();var z=kt.memoizedState;return z===null?(A={current:A},kt.memoizedState=A):z},useState:function(A){return Ii(un,A)},useInsertionEffect:mi,useLayoutEffect:function(){},useCallback:function(A,z){return kn(function(){return A},z)},useImperativeHandle:mi,useEffect:mi,useDebugValue:mi,useDeferredValue:function(A){return bn(),A},useTransition:function(){return bn(),[!1,Gi]},useId:function(){var A=Rt.treeContext,z=A.overflow;A=A.id,A=(A&~(1<<32-xr(A)-1)).toString(32)+z;var te=Yi;if(te===null)throw Error(t(404));return z=dr++,A=":"+te.idPrefix+"R"+A,0<z&&(A+="H"+z.toString(32)),A+":"},useMutableSource:function(A,z){return bn(),z(A._source)},useSyncExternalStore:function(A,z,te){if(te===void 0)throw Error(t(407));return te()}},Yi=null,po=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Kn(A){console.error(A)}function yi(){}function ri(A,z,te,Ce,Ye,Fe,st,yt,St){var cr=[],ir=new Set;return z={destination:null,responseState:z,progressiveChunkSize:Ce===void 0?12800:Ce,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ir,pingedTasks:cr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ye===void 0?Kn:Ye,onAllReady:yi,onShellReady:st===void 0?yi:st,onShellError:yi,onFatalError:yi},te=ni(z,0,null,te),te.parentFlushed=!0,A=Ki(z,A,null,te,ir,oe,null,Pr),cr.push(A),z}function Ki(A,z,te,Ce,Ye,Fe,st,yt){A.allPendingTasks++,te===null?A.pendingRootTasks++:te.pendingTasks++;var St={node:z,ping:function(){var cr=A.pingedTasks;cr.push(St),cr.length===1&&$r(A)},blockedBoundary:te,blockedSegment:Ce,abortSet:Ye,legacyContext:Fe,context:st,treeContext:yt};return Ye.add(St),St}function ni(A,z,te,Ce){return{status:0,id:-1,index:z,parentFlushed:!1,chunks:[],children:[],formatContext:Ce,boundary:te}}function tn(A,z){A=A.onError,A(z)}function Xn(A,z){var te=A.onShellError;te(z),te=A.onFatalError,te(z),A.destination!==null?(A.status=2,A.destination.destroy(z)):(A.status=1,A.fatalError=z)}function Xi(A,z,te,Ce,Ye){for(mt={},Rt=z,dr=0,A=te(Ce,Ye);Ur;)Ur=!1,dr=0,kr+=1,kt=null,A=te(Ce,Ye);return en(),A}function fe(A,z,te,Ce){var Ye=te.render(),Fe=Ce.childContextTypes;if(Fe!=null){var st=z.legacyContext;if(typeof te.getChildContext!="function")Ce=st;else{te=te.getChildContext();for(var yt in te)if(!(yt in Fe))throw Error(t(108,Le(Ce)||"Unknown",yt));Ce=Re({},st,te)}z.legacyContext=Ce,rt(A,z,Ye),z.legacyContext=st}else rt(A,z,Ye)}function Ze(A,z){if(A&&A.defaultProps){z=Re({},z),A=A.defaultProps;for(var te in A)z[te]===void 0&&(z[te]=A[te]);return z}return z}function Ge(A,z,te,Ce,Ye){if(typeof te=="function")if(te.prototype&&te.prototype.isReactComponent){Ye=Se(te,z.legacyContext);var Fe=te.contextType;Fe=new te(Ce,typeof Fe=="object"&&Fe!==null?Fe._currentValue2:Ye),br(Fe,te,Ce,Ye),fe(A,z,Fe,te)}else{Fe=Se(te,z.legacyContext),Ye=Xi(A,z,te,Ce,Fe);var st=dr!==0;if(typeof Ye=="object"&&Ye!==null&&typeof Ye.render=="function"&&Ye.$$typeof===void 0)br(Ye,te,Ce,Fe),fe(A,z,Ye,te);else if(st){Ce=z.treeContext,z.treeContext=ur(Ce,1,0);try{rt(A,z,Ye)}finally{z.treeContext=Ce}}else rt(A,z,Ye)}else if(typeof te=="string")switch(Ye=z.blockedSegment,Fe=be(Ye.chunks,te,Ce,A.responseState,Ye.formatContext),st=Ye.formatContext,Ye.formatContext=M(st,te,Ce),Ht(A,z,Fe),Ye.formatContext=st,te){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Ye.chunks.push("</",te,">")}else{switch(te){case pe:case ee:case ut:case dt:case et:rt(A,z,Ce.children);return;case q:rt(A,z,Ce.children);return;case se:throw Error(t(343));case L:e:{te=z.blockedBoundary,Ye=z.blockedSegment,Fe=Ce.fallback,Ce=Ce.children,st=new Set;var yt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:st},St=ni(A,Ye.chunks.length,yt,Ye.formatContext);Ye.children.push(St);var cr=ni(A,0,null,Ye.formatContext);cr.parentFlushed=!0,z.blockedBoundary=yt,z.blockedSegment=cr;try{if(Ht(A,z,Ce),cr.status=1,Or(yt,cr),yt.pendingTasks===0)break e}catch(ir){cr.status=4,tn(A,ir),yt.forceClientRender=!0}finally{z.blockedBoundary=te,z.blockedSegment=Ye}z=Ki(A,Fe,te,St,st,z.legacyContext,z.context,z.treeContext),A.pingedTasks.push(z)}return}if(typeof te=="object"&&te!==null)switch(te.$$typeof){case N:if(Ce=Xi(A,z,te.render,Ce,Ye),dr!==0){te=z.treeContext,z.treeContext=ur(te,1,0);try{rt(A,z,Ce)}finally{z.treeContext=te}}else rt(A,z,Ce);return;case P:te=te.type,Ce=Ze(te,Ce),Ge(A,z,te,Ce,Ye);return;case F:if(Ye=Ce.children,te=te._context,Ce=Ce.value,Fe=te._currentValue2,te._currentValue2=Ce,st=ve,ve=Ce={parent:st,depth:st===null?0:st.depth+1,context:te,parentValue:Fe,value:Ce},z.context=Ce,rt(A,z,Ye),A=ve,A===null)throw Error(t(403));Ce=A.parentValue,A.context._currentValue2=Ce===ue?A.context._defaultValue:Ce,A=ve=A.parent,z.context=A;return;case T:Ce=Ce.children,Ce=Ce(te._currentValue2),rt(A,z,Ce);return;case j:Ye=te._init,te=Ye(te._payload),Ce=Ze(te,Ce),Ge(A,z,te,Ce,void 0);return}throw Error(t(130,te==null?te:typeof te,""))}}function rt(A,z,te){if(z.node=te,typeof te=="object"&&te!==null){switch(te.$$typeof){case qe:Ge(A,z,te.type,te.props,te.ref);return;case Qe:throw Error(t(257));case j:var Ce=te._init;te=Ce(te._payload),rt(A,z,te);return}if(H(te)){ct(A,z,te);return}if(te===null||typeof te!="object"?Ce=null:(Ce=Oe&&te[Oe]||te["@@iterator"],Ce=typeof Ce=="function"?Ce:null),Ce&&(Ce=Ce.call(te))){if(te=Ce.next(),!te.done){var Ye=[];do Ye.push(te.value),te=Ce.next();while(!te.done);ct(A,z,Ye)}return}throw A=Object.prototype.toString.call(te),Error(t(31,A==="[object Object]"?"object with keys {"+Object.keys(te).join(", ")+"}":A))}typeof te=="string"?(z=z.blockedSegment.chunks,A.responseState.generateStaticMarkup?z.push(S(te)):G(z,te)):typeof te=="number"&&(z=z.blockedSegment.chunks,te=""+te,A.responseState.generateStaticMarkup?z.push(S(te)):G(z,te))}function ct(A,z,te){for(var Ce=te.length,Ye=0;Ye<Ce;Ye++){var Fe=z.treeContext;z.treeContext=ur(Fe,Ce,Ye);try{Ht(A,z,te[Ye])}finally{z.treeContext=Fe}}}function Ht(A,z,te){var Ce=z.blockedSegment.formatContext,Ye=z.legacyContext,Fe=z.context;try{return rt(A,z,te)}catch(St){if(en(),typeof St=="object"&&St!==null&&typeof St.then=="function"){te=St;var st=z.blockedSegment,yt=ni(A,st.chunks.length,null,st.formatContext);st.children.push(yt),A=Ki(A,z.node,z.blockedBoundary,yt,z.abortSet,z.legacyContext,z.context,z.treeContext).ping,te.then(A,A),z.blockedSegment.formatContext=Ce,z.legacyContext=Ye,z.context=Fe,$t(Fe)}else throw z.blockedSegment.formatContext=Ce,z.legacyContext=Ye,z.context=Fe,$t(Fe),St}}function Tt(A){var z=A.blockedBoundary;A=A.blockedSegment,A.status=3,Lr(this,z,A)}function vr(A){var z=A.blockedBoundary;A.blockedSegment.status=3,z===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.push(null))):(z.pendingTasks--,z.forceClientRender||(z.forceClientRender=!0,z.parentFlushed&&this.clientRenderedBoundaries.push(z)),z.fallbackAbortableTasks.forEach(vr,this),z.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(A=this.onAllReady,A()))}function Or(A,z){if(z.chunks.length===0&&z.children.length===1&&z.children[0].boundary===null){var te=z.children[0];te.id=z.id,te.parentFlushed=!0,te.status===1&&Or(A,te)}else A.completedSegments.push(z)}function Lr(A,z,te){if(z===null){if(te.parentFlushed){if(A.completedRootSegment!==null)throw Error(t(389));A.completedRootSegment=te}A.pendingRootTasks--,A.pendingRootTasks===0&&(A.onShellError=yi,z=A.onShellReady,z())}else z.pendingTasks--,z.forceClientRender||(z.pendingTasks===0?(te.parentFlushed&&te.status===1&&Or(z,te),z.parentFlushed&&A.completedBoundaries.push(z),z.fallbackAbortableTasks.forEach(Tt,A),z.fallbackAbortableTasks.clear()):te.parentFlushed&&te.status===1&&(Or(z,te),z.completedSegments.length===1&&z.parentFlushed&&A.partialBoundaries.push(z)));A.allPendingTasks--,A.allPendingTasks===0&&(A=A.onAllReady,A())}function $r(A){if(A.status!==2){var z=ve,te=po.current;po.current=ho;var Ce=Yi;Yi=A.responseState;try{var Ye=A.pingedTasks,Fe;for(Fe=0;Fe<Ye.length;Fe++){var st=Ye[Fe],yt=A,St=st.blockedSegment;if(St.status===0){$t(st.context);try{rt(yt,st,st.node),st.abortSet.delete(st),St.status=1,Lr(yt,st.blockedBoundary,St)}catch(Ln){if(en(),typeof Ln=="object"&&Ln!==null&&typeof Ln.then=="function"){var cr=st.ping;Ln.then(cr,cr)}else{st.abortSet.delete(st),St.status=4;var ir=st.blockedBoundary,Xr=Ln;if(tn(yt,Xr),ir===null?Xn(yt,Xr):(ir.pendingTasks--,ir.forceClientRender||(ir.forceClientRender=!0,ir.parentFlushed&&yt.clientRenderedBoundaries.push(ir))),yt.allPendingTasks--,yt.allPendingTasks===0){var xn=yt.onAllReady;xn()}}}finally{}}}Ye.splice(0,Fe),A.destination!==null&&Wn(A,A.destination)}catch(Ln){tn(A,Ln),Xn(A,Ln)}finally{Yi=Ce,po.current=te,te===ho&&$t(z)}}}function lt(A,z,te){switch(te.parentFlushed=!0,te.status){case 0:var Ce=te.id=A.nextSegmentId++;return A=A.responseState,n(z,'<template id="'),n(z,A.placeholderPrefix),A=Ce.toString(16),n(z,A),n(z,'"></template>');case 1:te.status=2;var Ye=!0;Ce=te.chunks;var Fe=0;te=te.children;for(var st=0;st<te.length;st++){for(Ye=te[st];Fe<Ye.index;Fe++)n(z,Ce[Fe]);Ye=lr(A,z,Ye)}for(;Fe<Ce.length-1;Fe++)n(z,Ce[Fe]);return Fe<Ce.length&&(Ye=n(z,Ce[Fe])),Ye;default:throw Error(t(390))}}function lr(A,z,te){var Ce=te.boundary;if(Ce===null)return lt(A,z,te);if(Ce.parentFlushed=!0,Ce.forceClientRender)return A.responseState.generateStaticMarkup||n(z,"<!--$!-->"),lt(A,z,te),A=A.responseState.generateStaticMarkup?!0:n(z,"<!--/$-->"),A;if(0<Ce.pendingTasks){Ce.rootSegmentID=A.nextSegmentId++,0<Ce.completedSegments.length&&A.partialBoundaries.push(Ce);var Ye=A.responseState,Fe=Ye.nextSuspenseID++;return Ye=Ye.boundaryPrefix+Fe.toString(16),Ce=Ce.id=Ye,Ae(z,A.responseState,Ce),lt(A,z,te),n(z,"<!--/$-->")}if(Ce.byteSize>A.progressiveChunkSize)return Ce.rootSegmentID=A.nextSegmentId++,A.completedBoundaries.push(Ce),Ae(z,A.responseState,Ce.id),lt(A,z,te),n(z,"<!--/$-->");if(A.responseState.generateStaticMarkup||n(z,"<!--$-->"),te=Ce.completedSegments,te.length!==1)throw Error(t(391));return lr(A,z,te[0]),A=A.responseState.generateStaticMarkup?!0:n(z,"<!--/$-->"),A}function jn(A,z,te){return re(z,A.responseState,te.formatContext,te.id),lr(A,z,te),Ee(z,te.formatContext)}function ln(A,z,te){for(var Ce=te.completedSegments,Ye=0;Ye<Ce.length;Ye++)ii(A,z,te,Ce[Ye]);if(Ce.length=0,A=A.responseState,Ce=te.id,te=te.rootSegmentID,n(z,A.startInlineScript),A.sentCompleteBoundaryFunction?n(z,'$RC("'):(A.sentCompleteBoundaryFunction=!0,n(z,'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),Ce===null)throw Error(t(395));return te=te.toString(16),n(z,Ce),n(z,'","'),n(z,A.segmentPrefix),n(z,te),n(z,'")<\/script>')}function ii(A,z,te,Ce){if(Ce.status===2)return!0;var Ye=Ce.id;if(Ye===-1){if((Ce.id=te.rootSegmentID)===-1)throw Error(t(392));return jn(A,z,Ce)}return jn(A,z,Ce),A=A.responseState,n(z,A.startInlineScript),A.sentCompleteSegmentFunction?n(z,'$RS("'):(A.sentCompleteSegmentFunction=!0,n(z,'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),n(z,A.segmentPrefix),Ye=Ye.toString(16),n(z,Ye),n(z,'","'),n(z,A.placeholderPrefix),n(z,Ye),n(z,'")<\/script>')}function Wn(A,z){try{var te=A.completedRootSegment;if(te!==null&&A.pendingRootTasks===0){lr(A,z,te),A.completedRootSegment=null;var Ce=A.responseState.bootstrapChunks;for(te=0;te<Ce.length-1;te++)n(z,Ce[te]);te<Ce.length&&n(z,Ce[te])}var Ye=A.clientRenderedBoundaries,Fe;for(Fe=0;Fe<Ye.length;Fe++){Ce=z;var st=A.responseState,yt=Ye[Fe].id;if(n(Ce,st.startInlineScript),st.sentClientRenderFunction?n(Ce,'$RX("'):(st.sentClientRenderFunction=!0,n(Ce,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),yt===null)throw Error(t(395));if(n(Ce,yt),!n(Ce,'")<\/script>')){A.destination=null,Fe++,Ye.splice(0,Fe);return}}Ye.splice(0,Fe);var St=A.completedBoundaries;for(Fe=0;Fe<St.length;Fe++)if(!ln(A,z,St[Fe])){A.destination=null,Fe++,St.splice(0,Fe);return}St.splice(0,Fe);var cr=A.partialBoundaries;for(Fe=0;Fe<cr.length;Fe++){var ir=cr[Fe];e:{Ye=A,st=z;var Xr=ir.completedSegments;for(yt=0;yt<Xr.length;yt++)if(!ii(Ye,st,ir,Xr[yt])){yt++,Xr.splice(0,yt);var xn=!1;break e}Xr.splice(0,yt),xn=!0}if(!xn){A.destination=null,Fe++,cr.splice(0,Fe);return}}cr.splice(0,Fe);var Ln=A.completedBoundaries;for(Fe=0;Fe<Ln.length;Fe++)if(!ln(A,z,Ln[Fe])){A.destination=null,Fe++,Ln.splice(0,Fe);return}Ln.splice(0,Fe)}finally{A.allPendingTasks===0&&A.pingedTasks.length===0&&A.clientRenderedBoundaries.length===0&&A.completedBoundaries.length===0&&z.push(null)}}function wi(A){try{var z=A.abortableTasks;z.forEach(vr,A),z.clear(),A.destination!==null&&Wn(A,A.destination)}catch(te){tn(A,te),Xn(A,te)}}function Qi(){}function Pi(A,z,te){var Ce=!1,Ye=null,Fe="",st={push:function(St){return St!==null&&(Fe+=St),!0},destroy:function(St){Ce=!0,Ye=St}},yt=!1;if(A=ri(A,X(te,z?z.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Qi,void 0,function(){yt=!0}),$r(A),wi(A),A.status===1)A.status=2,st.destroy(A.fatalError);else if(A.status!==2&&A.destination===null){A.destination=st;try{Wn(A,st)}catch(St){tn(A,St),Xn(A,St)}}if(Ce)throw Ye;if(!yt)throw Error(t(426));return Fe}return fu.renderToNodeStream=function(){throw Error(t(207))},fu.renderToStaticMarkup=function(A,z){return Pi(A,z,!0)},fu.renderToStaticNodeStream=function(){throw Error(t(208))},fu.renderToString=function(A,z){return Pi(A,z,!1)},fu.version="18.1.0",fu}var wh={};/**
|
|
129
|
+
* @license React
|
|
130
|
+
* react-dom-server.browser.production.min.js
|
|
131
|
+
*
|
|
132
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
133
|
+
*
|
|
134
|
+
* This source code is licensed under the MIT license found in the
|
|
135
|
+
* LICENSE file in the root directory of this source tree.
|
|
136
|
+
*/var GO;function L9(){if(GO)return wh;GO=1;var e=Ku();function t(R){for(var B="https://reactjs.org/docs/error-decoder.html?invariant="+R,K=1;K<arguments.length;K++)B+="&args[]="+encodeURIComponent(arguments[K]);return"Minified React error #"+R+"; visit "+B+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,n=0;function o(R,B){if(B.length!==0)if(512<B.length)0<n&&(R.enqueue(new Uint8Array(r.buffer,0,n)),r=new Uint8Array(512),n=0),R.enqueue(B);else{var K=r.length-n;K<B.length&&(K===0?R.enqueue(r):(r.set(B.subarray(0,K),n),R.enqueue(r),B=B.subarray(K)),r=new Uint8Array(512),n=0),r.set(B,n),n+=B.length}}function a(R,B){return o(R,B),!0}function u(R){r&&0<n&&(R.enqueue(new Uint8Array(r.buffer,0,n)),r=null,n=0)}var f=new TextEncoder;function l(R){return f.encode(R)}function d(R){return f.encode(R)}function v(R,B){typeof R.error=="function"?R.error(B):R.close()}var p=Object.prototype.hasOwnProperty,w=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,x={},C={};function E(R){return p.call(C,R)?!0:p.call(x,R)?!1:w.test(R)?C[R]=!0:(x[R]=!0,!1)}function S(R,B,K,_e,Ne,Me,it){this.acceptsBooleans=B===2||B===3||B===4,this.attributeName=_e,this.attributeNamespace=Ne,this.mustUseProperty=K,this.propertyName=R,this.type=B,this.sanitizeURL=Me,this.removeEmptyString=it}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(R){I[R]=new S(R,0,!1,R,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(R){var B=R[0];I[B]=new S(B,1,!1,R[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(R){I[R]=new S(R,2,!1,R.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(R){I[R]=new S(R,2,!1,R,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(R){I[R]=new S(R,3,!1,R.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(R){I[R]=new S(R,3,!0,R,null,!1,!1)}),["capture","download"].forEach(function(R){I[R]=new S(R,4,!1,R,null,!1,!1)}),["cols","rows","size","span"].forEach(function(R){I[R]=new S(R,6,!1,R,null,!1,!1)}),["rowSpan","start"].forEach(function(R){I[R]=new S(R,5,!1,R.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function H(R){return R[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(R){var B=R.replace(D,H);I[B]=new S(B,1,!1,R,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(R){var B=R.replace(D,H);I[B]=new S(B,1,!1,R,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(R){var B=R.replace(D,H);I[B]=new S(B,1,!1,R,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(R){I[R]=new S(R,1,!1,R.toLowerCase(),null,!1,!1)}),I.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(R){I[R]=new S(R,1,!1,R.toLowerCase(),null,!0,!0)});var V={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},M=["Webkit","ms","Moz","O"];Object.keys(V).forEach(function(R){M.forEach(function(B){B=B+R.charAt(0).toUpperCase()+R.substring(1),V[B]=V[R]})});var G=/["'&<>]/;function y(R){if(typeof R=="boolean"||typeof R=="number")return""+R;R=""+R;var B=G.exec(R);if(B){var K="",_e,Ne=0;for(_e=B.index;_e<R.length;_e++){switch(R.charCodeAt(_e)){case 34:B=""";break;case 38:B="&";break;case 39:B="'";break;case 60:B="<";break;case 62:B=">";break;default:continue}Ne!==_e&&(K+=R.substring(Ne,_e)),Ne=_e+1,K+=B}R=Ne!==_e?K+R.substring(Ne,_e):K}return R}var Z=/([A-Z])/g,ae=/^ms-/,ce=Array.isArray,ie=d("<script>"),de=d("<\/script>"),ge=d('<script src="'),me=d('<script type="module" src="'),ye=d('" async=""><\/script>'),be=/(<\/|<)(s)(cript)/gi;function Ae(R,B,K,_e){return""+B+(K==="s"?"\\u0073":"\\u0053")+_e}function re(R,B,K,_e,Ne){R=R===void 0?"":R,B=B===void 0?ie:d('<script nonce="'+y(B)+'">');var Me=[];if(K!==void 0&&Me.push(B,l((""+K).replace(be,Ae)),de),_e!==void 0)for(K=0;K<_e.length;K++)Me.push(ge,l(y(_e[K])),ye);if(Ne!==void 0)for(_e=0;_e<Ne.length;_e++)Me.push(me,l(y(Ne[_e])),ye);return{bootstrapChunks:Me,startInlineScript:B,placeholderPrefix:d(R+"P:"),segmentPrefix:d(R+"S:"),boundaryPrefix:R+"B:",idPrefix:R,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Ee(R,B){return{insertionMode:R,selectedValue:B}}function X(R){return Ee(R==="http://www.w3.org/2000/svg"?2:R==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Re(R,B,K){switch(B){case"select":return Ee(1,K.value!=null?K.value:K.defaultValue);case"svg":return Ee(2,null);case"math":return Ee(3,null);case"foreignObject":return Ee(1,null);case"table":return Ee(4,null);case"thead":case"tbody":case"tfoot":return Ee(5,null);case"colgroup":return Ee(7,null);case"tr":return Ee(6,null)}return 4<=R.insertionMode||R.insertionMode===0?Ee(1,null):R}var qe=d("<!-- -->"),Qe=new Map,et=d(' style="'),ut=d(":"),dt=d(";");function F(R,B,K){if(typeof K!="object")throw Error(t(62));B=!0;for(var _e in K)if(p.call(K,_e)){var Ne=K[_e];if(Ne!=null&&typeof Ne!="boolean"&&Ne!==""){if(_e.indexOf("--")===0){var Me=l(y(_e));Ne=l(y((""+Ne).trim()))}else{Me=_e;var it=Qe.get(Me);it!==void 0||(it=d(y(Me.replace(Z,"-$1").toLowerCase().replace(ae,"-ms-"))),Qe.set(Me,it)),Me=it,Ne=typeof Ne=="number"?Ne===0||p.call(V,_e)?l(""+Ne):l(Ne+"px"):l(y((""+Ne).trim()))}B?(B=!1,R.push(et,Me,ut,Ne)):R.push(dt,Me,ut,Ne)}}B||R.push(L)}var T=d(" "),N=d('="'),L=d('"'),q=d('=""');function P(R,B,K,_e){switch(K){case"style":F(R,B,_e);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<K.length)||K[0]!=="o"&&K[0]!=="O"||K[1]!=="n"&&K[1]!=="N"){if(B=I.hasOwnProperty(K)?I[K]:null,B!==null){switch(typeof _e){case"function":case"symbol":return;case"boolean":if(!B.acceptsBooleans)return}switch(K=l(B.attributeName),B.type){case 3:_e&&R.push(T,K,q);break;case 4:_e===!0?R.push(T,K,q):_e!==!1&&R.push(T,K,N,l(y(_e)),L);break;case 5:isNaN(_e)||R.push(T,K,N,l(y(_e)),L);break;case 6:!isNaN(_e)&&1<=_e&&R.push(T,K,N,l(y(_e)),L);break;default:B.sanitizeURL&&(_e=""+_e),R.push(T,K,N,l(y(_e)),L)}}else if(E(K)){switch(typeof _e){case"function":case"symbol":return;case"boolean":if(B=K.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")return}R.push(T,l(K),N,l(y(_e)),L)}}}var j=d(">"),se=d("/>");function ee(R,B,K){if(B!=null){if(K!=null)throw Error(t(60));if(typeof B!="object"||!("__html"in B))throw Error(t(61));B=B.__html,B!=null&&R.push(l(""+B))}}function pe(R){var B="";return e.Children.forEach(R,function(K){K!=null&&(B+=K)}),B}var ue=d(' selected=""');function Oe(R,B,K,_e){R.push(ve(K));var Ne=K=null,Me;for(Me in B)if(p.call(B,Me)){var it=B[Me];if(it!=null)switch(Me){case"children":K=it;break;case"dangerouslySetInnerHTML":Ne=it;break;default:P(R,_e,Me,it)}}return R.push(j),ee(R,Ne,K),typeof K=="string"?(R.push(l(y(K))),null):K}var Le=d(`
|
|
137
|
+
`),oe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Se=new Map;function ve(R){var B=Se.get(R);if(B===void 0){if(!oe.test(R))throw Error(t(65,R));B=d("<"+R),Se.set(R,B)}return B}var Te=d("<!DOCTYPE html>");function He(R,B,K,_e,Ne){switch(B){case"select":R.push(ve("select"));var Me=null,it=null;for(qt in K)if(p.call(K,qt)){var vt=K[qt];if(vt!=null)switch(qt){case"children":Me=vt;break;case"dangerouslySetInnerHTML":it=vt;break;case"defaultValue":case"value":break;default:P(R,_e,qt,vt)}}return R.push(j),ee(R,it,Me),Me;case"option":it=Ne.selectedValue,R.push(ve("option"));var Ft=vt=null,nr=null,qt=null;for(Me in K)if(p.call(K,Me)&&(B=K[Me],B!=null))switch(Me){case"children":vt=B;break;case"selected":nr=B;break;case"dangerouslySetInnerHTML":qt=B;break;case"value":Ft=B;default:P(R,_e,Me,B)}if(it!=null)if(K=Ft!==null?""+Ft:pe(vt),ce(it)){for(_e=0;_e<it.length;_e++)if(""+it[_e]===K){R.push(ue);break}}else""+it===K&&R.push(ue);else nr&&R.push(ue);return R.push(j),ee(R,qt,vt),vt;case"textarea":R.push(ve("textarea")),qt=it=Me=null;for(vt in K)if(p.call(K,vt)&&(Ft=K[vt],Ft!=null))switch(vt){case"children":qt=Ft;break;case"value":Me=Ft;break;case"defaultValue":it=Ft;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:P(R,_e,vt,Ft)}if(Me===null&&it!==null&&(Me=it),R.push(j),qt!=null){if(Me!=null)throw Error(t(92));if(ce(qt)&&1<qt.length)throw Error(t(93));Me=""+qt}return typeof Me=="string"&&Me[0]===`
|
|
138
|
+
`&&R.push(Le),Me!==null&&R.push(l(y(""+Me))),null;case"input":R.push(ve("input")),Ft=qt=vt=Me=null;for(it in K)if(p.call(K,it)&&(nr=K[it],nr!=null))switch(it){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Ft=nr;break;case"defaultValue":vt=nr;break;case"checked":qt=nr;break;case"value":Me=nr;break;default:P(R,_e,it,nr)}return qt!==null?P(R,_e,"checked",qt):Ft!==null&&P(R,_e,"checked",Ft),Me!==null?P(R,_e,"value",Me):vt!==null&&P(R,_e,"value",vt),R.push(se),null;case"menuitem":R.push(ve("menuitem"));for(var Gr in K)if(p.call(K,Gr)&&(Me=K[Gr],Me!=null))switch(Gr){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:P(R,_e,Gr,Me)}return R.push(j),null;case"listing":case"pre":R.push(ve(B)),it=Me=null;for(Ft in K)if(p.call(K,Ft)&&(vt=K[Ft],vt!=null))switch(Ft){case"children":Me=vt;break;case"dangerouslySetInnerHTML":it=vt;break;default:P(R,_e,Ft,vt)}if(R.push(j),it!=null){if(Me!=null)throw Error(t(60));if(typeof it!="object"||!("__html"in it))throw Error(t(61));K=it.__html,K!=null&&(typeof K=="string"&&0<K.length&&K[0]===`
|
|
139
|
+
`?R.push(Le,l(K)):R.push(l(""+K)))}return typeof Me=="string"&&Me[0]===`
|
|
140
|
+
`&&R.push(Le),Me;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":R.push(ve(B));for(var vn in K)if(p.call(K,vn)&&(Me=K[vn],Me!=null))switch(vn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,B));default:P(R,_e,vn,Me)}return R.push(se),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Oe(R,K,B,_e);case"html":return Ne.insertionMode===0&&R.push(Te),Oe(R,K,B,_e);default:if(B.indexOf("-")===-1&&typeof K.is!="string")return Oe(R,K,B,_e);R.push(ve(B)),it=Me=null;for(nr in K)if(p.call(K,nr)&&(vt=K[nr],vt!=null))switch(nr){case"children":Me=vt;break;case"dangerouslySetInnerHTML":it=vt;break;case"style":F(R,_e,vt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(nr)&&typeof vt!="function"&&typeof vt!="symbol"&&R.push(T,l(nr),N,l(y(vt)),L)}return R.push(j),ee(R,it,Me),Me}}var Ue=d("</"),at=d(">"),Nt=d('<template id="'),$t=d('"></template>'),Ut=d("<!--$-->"),br=d('<!--$?--><template id="'),Pr=d('"></template>'),ur=d("<!--$!-->"),xr=d("<!--/$-->");function Rr(R,B,K){if(o(R,br),K===null)throw Error(t(395));return o(R,K),a(R,Pr)}var gr=d('<div hidden id="'),Jt=d('">'),Et=d("</div>"),je=d('<svg aria-hidden="true" style="display:none" id="'),mt=d('">'),Rt=d("</svg>"),Vt=d('<math aria-hidden="true" style="display:none" id="'),kt=d('">'),wr=d("</math>"),Ur=d('<table hidden id="'),dr=d('">'),Cr=d("</table>"),kr=d('<table hidden><tbody id="'),bn=d('">'),Pn=d("</tbody></table>"),an=d('<table hidden><tr id="'),en=d('">'),un=d("</tr></table>"),Ii=d('<table hidden><colgroup id="'),kn=d('">'),qi=d("</colgroup></table>");function Gi(R,B,K,_e){switch(K.insertionMode){case 0:case 1:return o(R,gr),o(R,B.segmentPrefix),o(R,l(_e.toString(16))),a(R,Jt);case 2:return o(R,je),o(R,B.segmentPrefix),o(R,l(_e.toString(16))),a(R,mt);case 3:return o(R,Vt),o(R,B.segmentPrefix),o(R,l(_e.toString(16))),a(R,kt);case 4:return o(R,Ur),o(R,B.segmentPrefix),o(R,l(_e.toString(16))),a(R,dr);case 5:return o(R,kr),o(R,B.segmentPrefix),o(R,l(_e.toString(16))),a(R,bn);case 6:return o(R,an),o(R,B.segmentPrefix),o(R,l(_e.toString(16))),a(R,en);case 7:return o(R,Ii),o(R,B.segmentPrefix),o(R,l(_e.toString(16))),a(R,kn);default:throw Error(t(397))}}function mi(R,B){switch(B.insertionMode){case 0:case 1:return a(R,Et);case 2:return a(R,Rt);case 3:return a(R,wr);case 4:return a(R,Cr);case 5:return a(R,Pn);case 6:return a(R,un);case 7:return a(R,qi);default:throw Error(t(397))}}var ho=d('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Yi=d('$RS("'),po=d('","'),Kn=d('")<\/script>'),yi=d('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),ri=d('$RC("'),Ki=d('","'),ni=d('")<\/script>'),tn=d('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),Xn=d('$RX("'),Xi=d('")<\/script>'),fe=Object.assign,Ze=Symbol.for("react.element"),Ge=Symbol.for("react.portal"),rt=Symbol.for("react.fragment"),ct=Symbol.for("react.strict_mode"),Ht=Symbol.for("react.profiler"),Tt=Symbol.for("react.provider"),vr=Symbol.for("react.context"),Or=Symbol.for("react.forward_ref"),Lr=Symbol.for("react.suspense"),$r=Symbol.for("react.suspense_list"),lt=Symbol.for("react.memo"),lr=Symbol.for("react.lazy"),jn=Symbol.for("react.scope"),ln=Symbol.for("react.debug_trace_mode"),ii=Symbol.for("react.legacy_hidden"),Wn=Symbol.for("react.default_value"),wi=Symbol.iterator;function Qi(R){if(R==null)return null;if(typeof R=="function")return R.displayName||R.name||null;if(typeof R=="string")return R;switch(R){case rt:return"Fragment";case Ge:return"Portal";case Ht:return"Profiler";case ct:return"StrictMode";case Lr:return"Suspense";case $r:return"SuspenseList"}if(typeof R=="object")switch(R.$$typeof){case vr:return(R.displayName||"Context")+".Consumer";case Tt:return(R._context.displayName||"Context")+".Provider";case Or:var B=R.render;return R=R.displayName,R||(R=B.displayName||B.name||"",R=R!==""?"ForwardRef("+R+")":"ForwardRef"),R;case lt:return B=R.displayName||null,B!==null?B:Qi(R.type)||"Memo";case lr:B=R._payload,R=R._init;try{return Qi(R(B))}catch{}}return null}var Pi={};function A(R,B){if(R=R.contextTypes,!R)return Pi;var K={},_e;for(_e in R)K[_e]=B[_e];return K}var z=null;function te(R,B){if(R!==B){R.context._currentValue=R.parentValue,R=R.parent;var K=B.parent;if(R===null){if(K!==null)throw Error(t(401))}else{if(K===null)throw Error(t(401));te(R,K)}B.context._currentValue=B.value}}function Ce(R){R.context._currentValue=R.parentValue,R=R.parent,R!==null&&Ce(R)}function Ye(R){var B=R.parent;B!==null&&Ye(B),R.context._currentValue=R.value}function Fe(R,B){if(R.context._currentValue=R.parentValue,R=R.parent,R===null)throw Error(t(402));R.depth===B.depth?te(R,B):Fe(R,B)}function st(R,B){var K=B.parent;if(K===null)throw Error(t(402));R.depth===K.depth?te(R,K):st(R,K),B.context._currentValue=B.value}function yt(R){var B=z;B!==R&&(B===null?Ye(R):R===null?Ce(B):B.depth===R.depth?te(B,R):B.depth>R.depth?Fe(B,R):st(B,R),z=R)}var St={isMounted:function(){return!1},enqueueSetState:function(R,B){R=R._reactInternals,R.queue!==null&&R.queue.push(B)},enqueueReplaceState:function(R,B){R=R._reactInternals,R.replace=!0,R.queue=[B]},enqueueForceUpdate:function(){}};function cr(R,B,K,_e){var Ne=R.state!==void 0?R.state:null;R.updater=St,R.props=K,R.state=Ne;var Me={queue:[],replace:!1};R._reactInternals=Me;var it=B.contextType;if(R.context=typeof it=="object"&&it!==null?it._currentValue:_e,it=B.getDerivedStateFromProps,typeof it=="function"&&(it=it(K,Ne),Ne=it==null?Ne:fe({},Ne,it),R.state=Ne),typeof B.getDerivedStateFromProps!="function"&&typeof R.getSnapshotBeforeUpdate!="function"&&(typeof R.UNSAFE_componentWillMount=="function"||typeof R.componentWillMount=="function"))if(B=R.state,typeof R.componentWillMount=="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount=="function"&&R.UNSAFE_componentWillMount(),B!==R.state&&St.enqueueReplaceState(R,R.state,null),Me.queue!==null&&0<Me.queue.length)if(B=Me.queue,it=Me.replace,Me.queue=null,Me.replace=!1,it&&B.length===1)R.state=B[0];else{for(Me=it?B[0]:R.state,Ne=!0,it=it?1:0;it<B.length;it++){var vt=B[it];vt=typeof vt=="function"?vt.call(R,Me,K,_e):vt,vt!=null&&(Ne?(Ne=!1,Me=fe({},Me,vt)):fe(Me,vt))}R.state=Me}else Me.queue=null}var ir={id:1,overflow:""};function Xr(R,B,K){var _e=R.id;R=R.overflow;var Ne=32-xn(_e)-1;_e&=~(1<<Ne),K+=1;var Me=32-xn(B)+Ne;if(30<Me){var it=Ne-Ne%5;return Me=(_e&(1<<it)-1).toString(32),_e>>=it,Ne-=it,{id:1<<32-xn(B)+Ne|K<<Ne|_e,overflow:Me+R}}return{id:1<<Me|K<<Ne|_e,overflow:R}}var xn=Math.clz32?Math.clz32:ia,Ln=Math.log,Qo=Math.LN2;function ia(R){return R>>>=0,R===0?32:31-(Ln(R)/Qo|0)|0}function Jo(R,B){return R===B&&(R!==0||1/R===1/B)||R!==R&&B!==B}var Ji=typeof Object.is=="function"?Object.is:Jo,Cn=null,ki=null,Zi=null,Ir=null,oi=!1,Zo=!1,es=0,si=null,oa=0;function go(){if(Cn===null)throw Error(t(321));return Cn}function bs(){if(0<oa)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function sa(){return Ir===null?Zi===null?(oi=!1,Zi=Ir=bs()):(oi=!0,Ir=Zi):Ir.next===null?(oi=!1,Ir=Ir.next=bs()):(oi=!0,Ir=Ir.next),Ir}function Ka(){ki=Cn=null,Zo=!1,Zi=null,oa=0,Ir=si=null}function Do(R,B){return typeof B=="function"?B(R):B}function vo(R,B,K){if(Cn=go(),Ir=sa(),oi){var _e=Ir.queue;if(B=_e.dispatch,si!==null&&(K=si.get(_e),K!==void 0)){si.delete(_e),_e=Ir.memoizedState;do _e=R(_e,K.action),K=K.next;while(K!==null);return Ir.memoizedState=_e,[_e,B]}return[Ir.memoizedState,B]}return R=R===Do?typeof B=="function"?B():B:K!==void 0?K(B):B,Ir.memoizedState=R,R=Ir.queue={last:null,dispatch:null},R=R.dispatch=ts.bind(null,Cn,R),[Ir.memoizedState,R]}function mo(R,B){if(Cn=go(),Ir=sa(),B=B===void 0?null:B,Ir!==null){var K=Ir.memoizedState;if(K!==null&&B!==null){var _e=K[1];e:if(_e===null)_e=!1;else{for(var Ne=0;Ne<_e.length&&Ne<B.length;Ne++)if(!Ji(B[Ne],_e[Ne])){_e=!1;break e}_e=!0}if(_e)return K[0]}}return R=R(),Ir.memoizedState=[R,B],R}function ts(R,B,K){if(25<=oa)throw Error(t(301));if(R===Cn)if(Zo=!0,R={action:K,next:null},si===null&&(si=new Map),K=si.get(B),K===void 0)si.set(B,R);else{for(B=K;B.next!==null;)B=B.next;B.next=R}}function rl(){throw Error(t(394))}function xs(){}var rs={readContext:function(R){return R._currentValue},useContext:function(R){return go(),R._currentValue},useMemo:mo,useReducer:vo,useRef:function(R){Cn=go(),Ir=sa();var B=Ir.memoizedState;return B===null?(R={current:R},Ir.memoizedState=R):B},useState:function(R){return vo(Do,R)},useInsertionEffect:xs,useLayoutEffect:function(){},useCallback:function(R,B){return mo(function(){return R},B)},useImperativeHandle:xs,useEffect:xs,useDebugValue:xs,useDeferredValue:function(R){return go(),R},useTransition:function(){return go(),[!1,rl]},useId:function(){var R=ki.treeContext,B=R.overflow;R=R.id,R=(R&~(1<<32-xn(R)-1)).toString(32)+B;var K=No;if(K===null)throw Error(t(404));return B=es++,R=":"+K.idPrefix+"R"+R,0<B&&(R+="H"+B.toString(32)),R+":"},useMutableSource:function(R,B){return go(),B(R._source)},useSyncExternalStore:function(R,B,K){if(K===void 0)throw Error(t(407));return K()}},No=null,Cs=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function nl(R){console.error(R)}function Dn(){}function aa(R,B,K,_e,Ne,Me,it,vt,Ft){var nr=[],qt=new Set;return B={destination:null,responseState:B,progressiveChunkSize:_e===void 0?12800:_e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:qt,pingedTasks:nr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ne===void 0?nl:Ne,onAllReady:Me===void 0?Dn:Me,onShellReady:it===void 0?Dn:it,onShellError:vt===void 0?Dn:vt,onFatalError:Ft===void 0?Dn:Ft},K=Ts(B,0,null,K),K.parentFlushed=!0,R=yo(B,R,null,K,qt,Pi,null,ir),nr.push(R),B}function yo(R,B,K,_e,Ne,Me,it,vt){R.allPendingTasks++,K===null?R.pendingRootTasks++:K.pendingTasks++;var Ft={node:B,ping:function(){var nr=R.pingedTasks;nr.push(Ft),nr.length===1&&tt(R)},blockedBoundary:K,blockedSegment:_e,abortSet:Ne,legacyContext:Me,context:it,treeContext:vt};return Ne.add(Ft),Ft}function Ts(R,B,K,_e){return{status:0,id:-1,index:B,parentFlushed:!1,chunks:[],children:[],formatContext:_e,boundary:K}}function wo(R,B){R=R.onError,R(B)}function Mo(R,B){var K=R.onShellError;K(B),K=R.onFatalError,K(B),R.destination!==null?(R.status=2,v(R.destination,B)):(R.status=1,R.fatalError=B)}function h(R,B,K,_e,Ne){for(Cn={},ki=B,es=0,R=K(_e,Ne);Zo;)Zo=!1,es=0,oa+=1,Ir=null,R=K(_e,Ne);return Ka(),R}function m(R,B,K,_e){var Ne=K.render(),Me=_e.childContextTypes;if(Me!=null){var it=B.legacyContext;if(typeof K.getChildContext!="function")_e=it;else{K=K.getChildContext();for(var vt in K)if(!(vt in Me))throw Error(t(108,Qi(_e)||"Unknown",vt));_e=fe({},it,K)}B.legacyContext=_e,U(R,B,Ne),B.legacyContext=it}else U(R,B,Ne)}function _(R,B){if(R&&R.defaultProps){B=fe({},B),R=R.defaultProps;for(var K in R)B[K]===void 0&&(B[K]=R[K]);return B}return B}function O(R,B,K,_e,Ne){if(typeof K=="function")if(K.prototype&&K.prototype.isReactComponent){Ne=A(K,B.legacyContext);var Me=K.contextType;Me=new K(_e,typeof Me=="object"&&Me!==null?Me._currentValue:Ne),cr(Me,K,_e,Ne),m(R,B,Me,K)}else{Me=A(K,B.legacyContext),Ne=h(R,B,K,_e,Me);var it=es!==0;if(typeof Ne=="object"&&Ne!==null&&typeof Ne.render=="function"&&Ne.$$typeof===void 0)cr(Ne,K,_e,Me),m(R,B,Ne,K);else if(it){_e=B.treeContext,B.treeContext=Xr(_e,1,0);try{U(R,B,Ne)}finally{B.treeContext=_e}}else U(R,B,Ne)}else if(typeof K=="string")switch(Ne=B.blockedSegment,Me=He(Ne.chunks,K,_e,R.responseState,Ne.formatContext),it=Ne.formatContext,Ne.formatContext=Re(it,K,_e),Y(R,B,Me),Ne.formatContext=it,K){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Ne.chunks.push(Ue,l(K),at)}else{switch(K){case ii:case ln:case ct:case Ht:case rt:U(R,B,_e.children);return;case $r:U(R,B,_e.children);return;case jn:throw Error(t(343));case Lr:e:{K=B.blockedBoundary,Ne=B.blockedSegment,Me=_e.fallback,_e=_e.children,it=new Set;var vt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:it},Ft=Ts(R,Ne.chunks.length,vt,Ne.formatContext);Ne.children.push(Ft);var nr=Ts(R,0,null,Ne.formatContext);nr.parentFlushed=!0,B.blockedBoundary=vt,B.blockedSegment=nr;try{if(Y(R,B,_e),nr.status=1,ke(vt,nr),vt.pendingTasks===0)break e}catch(qt){nr.status=4,wo(R,qt),vt.forceClientRender=!0}finally{B.blockedBoundary=K,B.blockedSegment=Ne}B=yo(R,Me,K,Ft,it,B.legacyContext,B.context,B.treeContext),R.pingedTasks.push(B)}return}if(typeof K=="object"&&K!==null)switch(K.$$typeof){case Or:if(_e=h(R,B,K.render,_e,Ne),es!==0){K=B.treeContext,B.treeContext=Xr(K,1,0);try{U(R,B,_e)}finally{B.treeContext=K}}else U(R,B,_e);return;case lt:K=K.type,_e=_(K,_e),O(R,B,K,_e,Ne);return;case Tt:if(Ne=_e.children,K=K._context,_e=_e.value,Me=K._currentValue,K._currentValue=_e,it=z,z=_e={parent:it,depth:it===null?0:it.depth+1,context:K,parentValue:Me,value:_e},B.context=_e,U(R,B,Ne),R=z,R===null)throw Error(t(403));_e=R.parentValue,R.context._currentValue=_e===Wn?R.context._defaultValue:_e,R=z=R.parent,B.context=R;return;case vr:_e=_e.children,_e=_e(K._currentValue),U(R,B,_e);return;case lr:Ne=K._init,K=Ne(K._payload),_e=_(K,_e),O(R,B,K,_e,void 0);return}throw Error(t(130,K==null?K:typeof K,""))}}function U(R,B,K){if(B.node=K,typeof K=="object"&&K!==null){switch(K.$$typeof){case Ze:O(R,B,K.type,K.props,K.ref);return;case Ge:throw Error(t(257));case lr:var _e=K._init;K=_e(K._payload),U(R,B,K);return}if(ce(K)){W(R,B,K);return}if(K===null||typeof K!="object"?_e=null:(_e=wi&&K[wi]||K["@@iterator"],_e=typeof _e=="function"?_e:null),_e&&(_e=_e.call(K))){if(K=_e.next(),!K.done){var Ne=[];do Ne.push(K.value),K=_e.next();while(!K.done);W(R,B,Ne)}return}throw B=Object.prototype.toString.call(K),Error(t(31,B==="[object Object]"?"object with keys {"+Object.keys(K).join(", ")+"}":B))}typeof K=="string"?K!==""&&B.blockedSegment.chunks.push(l(y(K)),qe):typeof K=="number"&&(R=""+K,R!==""&&B.blockedSegment.chunks.push(l(y(R)),qe))}function W(R,B,K){for(var _e=K.length,Ne=0;Ne<_e;Ne++){var Me=B.treeContext;B.treeContext=Xr(Me,_e,Ne);try{Y(R,B,K[Ne])}finally{B.treeContext=Me}}}function Y(R,B,K){var _e=B.blockedSegment.formatContext,Ne=B.legacyContext,Me=B.context;try{return U(R,B,K)}catch(Ft){if(Ka(),typeof Ft=="object"&&Ft!==null&&typeof Ft.then=="function"){K=Ft;var it=B.blockedSegment,vt=Ts(R,it.chunks.length,null,it.formatContext);it.children.push(vt),R=yo(R,B.node,B.blockedBoundary,vt,B.abortSet,B.legacyContext,B.context,B.treeContext).ping,K.then(R,R),B.blockedSegment.formatContext=_e,B.legacyContext=Ne,B.context=Me,yt(Me)}else throw B.blockedSegment.formatContext=_e,B.legacyContext=Ne,B.context=Me,yt(Me),Ft}}function xe(R){var B=R.blockedBoundary;R=R.blockedSegment,R.status=3,Je(this,B,R)}function we(R){var B=R.blockedBoundary;R.blockedSegment.status=3,B===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.close())):(B.pendingTasks--,B.forceClientRender||(B.forceClientRender=!0,B.parentFlushed&&this.clientRenderedBoundaries.push(B)),B.fallbackAbortableTasks.forEach(we,this),B.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(R=this.onAllReady,R()))}function ke(R,B){if(B.chunks.length===0&&B.children.length===1&&B.children[0].boundary===null){var K=B.children[0];K.id=B.id,K.parentFlushed=!0,K.status===1&&ke(R,K)}else R.completedSegments.push(B)}function Je(R,B,K){if(B===null){if(K.parentFlushed){if(R.completedRootSegment!==null)throw Error(t(389));R.completedRootSegment=K}R.pendingRootTasks--,R.pendingRootTasks===0&&(R.onShellError=Dn,B=R.onShellReady,B())}else B.pendingTasks--,B.forceClientRender||(B.pendingTasks===0?(K.parentFlushed&&K.status===1&&ke(B,K),B.parentFlushed&&R.completedBoundaries.push(B),B.fallbackAbortableTasks.forEach(xe,R),B.fallbackAbortableTasks.clear()):K.parentFlushed&&K.status===1&&(ke(B,K),B.completedSegments.length===1&&B.parentFlushed&&R.partialBoundaries.push(B)));R.allPendingTasks--,R.allPendingTasks===0&&(R=R.onAllReady,R())}function tt(R){if(R.status!==2){var B=z,K=Cs.current;Cs.current=rs;var _e=No;No=R.responseState;try{var Ne=R.pingedTasks,Me;for(Me=0;Me<Ne.length;Me++){var it=Ne[Me],vt=R,Ft=it.blockedSegment;if(Ft.status===0){yt(it.context);try{U(vt,it,it.node),it.abortSet.delete(it),Ft.status=1,Je(vt,it.blockedBoundary,Ft)}catch(rn){if(Ka(),typeof rn=="object"&&rn!==null&&typeof rn.then=="function"){var nr=it.ping;rn.then(nr,nr)}else{it.abortSet.delete(it),Ft.status=4;var qt=it.blockedBoundary,Gr=rn;if(wo(vt,Gr),qt===null?Mo(vt,Gr):(qt.pendingTasks--,qt.forceClientRender||(qt.forceClientRender=!0,qt.parentFlushed&&vt.clientRenderedBoundaries.push(qt))),vt.allPendingTasks--,vt.allPendingTasks===0){var vn=vt.onAllReady;vn()}}}finally{}}}Ne.splice(0,Me),R.destination!==null&&gn(R,R.destination)}catch(rn){wo(R,rn),Mo(R,rn)}finally{No=_e,Cs.current=K,K===rs&&yt(B)}}}function Be(R,B,K){switch(K.parentFlushed=!0,K.status){case 0:var _e=K.id=R.nextSegmentId++;return R=R.responseState,o(B,Nt),o(B,R.placeholderPrefix),R=l(_e.toString(16)),o(B,R),a(B,$t);case 1:K.status=2;var Ne=!0;_e=K.chunks;var Me=0;K=K.children;for(var it=0;it<K.length;it++){for(Ne=K[it];Me<Ne.index;Me++)o(B,_e[Me]);Ne=pt(R,B,Ne)}for(;Me<_e.length-1;Me++)o(B,_e[Me]);return Me<_e.length&&(Ne=a(B,_e[Me])),Ne;default:throw Error(t(390))}}function pt(R,B,K){var _e=K.boundary;if(_e===null)return Be(R,B,K);if(_e.parentFlushed=!0,_e.forceClientRender)a(B,ur),Be(R,B,K);else if(0<_e.pendingTasks){_e.rootSegmentID=R.nextSegmentId++,0<_e.completedSegments.length&&R.partialBoundaries.push(_e);var Ne=R.responseState,Me=Ne.nextSuspenseID++;Ne=d(Ne.boundaryPrefix+Me.toString(16)),_e=_e.id=Ne,Rr(B,R.responseState,_e),Be(R,B,K)}else if(_e.byteSize>R.progressiveChunkSize)_e.rootSegmentID=R.nextSegmentId++,R.completedBoundaries.push(_e),Rr(B,R.responseState,_e.id),Be(R,B,K);else{if(a(B,Ut),K=_e.completedSegments,K.length!==1)throw Error(t(391));pt(R,B,K[0])}return a(B,xr)}function Wt(R,B,K){return Gi(B,R.responseState,K.formatContext,K.id),pt(R,B,K),mi(B,K.formatContext)}function Er(R,B,K){for(var _e=K.completedSegments,Ne=0;Ne<_e.length;Ne++)or(R,B,K,_e[Ne]);if(_e.length=0,R=R.responseState,_e=K.id,K=K.rootSegmentID,o(B,R.startInlineScript),R.sentCompleteBoundaryFunction?o(B,ri):(R.sentCompleteBoundaryFunction=!0,o(B,yi)),_e===null)throw Error(t(395));return K=l(K.toString(16)),o(B,_e),o(B,Ki),o(B,R.segmentPrefix),o(B,K),a(B,ni)}function or(R,B,K,_e){if(_e.status===2)return!0;var Ne=_e.id;if(Ne===-1){if((_e.id=K.rootSegmentID)===-1)throw Error(t(392));return Wt(R,B,_e)}return Wt(R,B,_e),R=R.responseState,o(B,R.startInlineScript),R.sentCompleteSegmentFunction?o(B,Yi):(R.sentCompleteSegmentFunction=!0,o(B,ho)),o(B,R.segmentPrefix),Ne=l(Ne.toString(16)),o(B,Ne),o(B,po),o(B,R.placeholderPrefix),o(B,Ne),a(B,Kn)}function gn(R,B){r=new Uint8Array(512),n=0;try{var K=R.completedRootSegment;if(K!==null&&R.pendingRootTasks===0){pt(R,B,K),R.completedRootSegment=null;var _e=R.responseState.bootstrapChunks;for(K=0;K<_e.length-1;K++)o(B,_e[K]);K<_e.length&&a(B,_e[K])}var Ne=R.clientRenderedBoundaries,Me;for(Me=0;Me<Ne.length;Me++){_e=B;var it=R.responseState,vt=Ne[Me].id;if(o(_e,it.startInlineScript),it.sentClientRenderFunction?o(_e,Xn):(it.sentClientRenderFunction=!0,o(_e,tn)),vt===null)throw Error(t(395));o(_e,vt),a(_e,Xi)}Ne.splice(0,Me);var Ft=R.completedBoundaries;for(Me=0;Me<Ft.length;Me++)Er(R,B,Ft[Me]);Ft.splice(0,Me),u(B),r=new Uint8Array(512),n=0;var nr=R.partialBoundaries;for(Me=0;Me<nr.length;Me++){var qt=nr[Me];e:{Ne=R,it=B;var Gr=qt.completedSegments;for(vt=0;vt<Gr.length;vt++)if(!or(Ne,it,qt,Gr[vt])){vt++,Gr.splice(0,vt);var vn=!1;break e}Gr.splice(0,vt),vn=!0}if(!vn){R.destination=null,Me++,nr.splice(0,Me);return}}nr.splice(0,Me);var rn=R.completedBoundaries;for(Me=0;Me<rn.length;Me++)Er(R,B,rn[Me]);rn.splice(0,Me)}finally{u(B),R.allPendingTasks===0&&R.pingedTasks.length===0&&R.clientRenderedBoundaries.length===0&&R.completedBoundaries.length===0&&B.close()}}function hn(R){try{var B=R.abortableTasks;B.forEach(we,R),B.clear(),R.destination!==null&&gn(R,R.destination)}catch(K){wo(R,K),Mo(R,K)}}return wh.renderToReadableStream=function(R,B){return new Promise(function(K,_e){var Ne,Me,it=new Promise(function(qt,Gr){Me=qt,Ne=Gr}),vt=aa(R,re(B?B.identifierPrefix:void 0,B?B.nonce:void 0,B?B.bootstrapScriptContent:void 0,B?B.bootstrapScripts:void 0,B?B.bootstrapModules:void 0),X(B?B.namespaceURI:void 0),B?B.progressiveChunkSize:void 0,B?B.onError:void 0,Me,function(){var qt=new ReadableStream({type:"bytes",pull:function(Gr){if(vt.status===1)vt.status=2,v(Gr,vt.fatalError);else if(vt.status!==2&&vt.destination===null){vt.destination=Gr;try{gn(vt,Gr)}catch(vn){wo(vt,vn),Mo(vt,vn)}}},cancel:function(){hn(vt)}});qt.allReady=it,K(qt)},function(qt){it.catch(function(){}),_e(qt)},Ne);if(B&&B.signal){var Ft=B.signal,nr=function(){hn(vt),Ft.removeEventListener("abort",nr)};Ft.addEventListener("abort",nr)}tt(vt)})},wh.version="18.1.0",wh}var YO;function D9(){if(YO)return xa;YO=1;var e,t;return e=k9(),t=L9(),xa.version=e.version,xa.renderToString=e.renderToString,xa.renderToStaticMarkup=e.renderToStaticMarkup,xa.renderToNodeStream=e.renderToNodeStream,xa.renderToStaticNodeStream=e.renderToStaticNodeStream,xa.renderToReadableStream=t.renderToReadableStream,xa}var N9=D9();const M9={getSvg(e){const t=e;return N9.renderToStaticMarkup(Q.jsx(t,{...this.getCommonSvgProps()}))},getCommonSvgProps(){return{viewBox:"0 0 24 24",role:"img","aria-hidden":"true"}}},$9="d-inline-block svg-container",F9="span";var RM=(e=>(e.Standard="std",e.XXS="xxs",e.ExtraSmall="xs",e.Small="sm",e.Medium="md",e.Large="lg",e.ExtraLarge="xlg",e.XXL="xxlg",e))(RM||{});function Ua(e){const{svg:t,className:r=$9,tagName:n=F9,size:o="std",onClick:a,title:u,tooltipSpanHackClassName:f,tooltipPlacement:l="right",tooltipSpanHack:d=!1,tooltipShow:v}=e,p=n,w={className:`${r} ${o}`,onClick:lo.isFunction(a)?a:null},x=t;return Q.jsx(Yl,{title:u,placement:l,spanHack:d,spanHackClassName:f,show:v,children:Q.jsx(p,{...w,children:Q.jsx(x,{...M9.getCommonSvgProps()})})})}const j9="_iconButton_1no8y_1",U9="_iconWithText_1no8y_5",V9="_svg_1no8y_9",H9="_iconOnly_1no8y_21",B9="_iconBorder_1no8y_30",Zc={iconButton:j9,iconWithText:U9,svg:V9,iconOnly:H9,iconBorder:B9};function QE(e){let t=`${e.className} ${Zc.iconButton}`;ne.Children.toArray(e.children).length?t+=` ${Zc.iconWithText}`:!e.showBorder&&!e.customSize&&(t+=` ${Zc.iconOnly}`),e.showBorder&&(t+=` ${Zc.iconBorder} btn btn-outline-dark me-2`),e.disabled&&(t+=" disabled");const r=Q.jsx(Ua,{svg:e.svg,className:`svg-container ${Zc.svg}`,size:e.svgSize});function n(a){e.analyticsData&&e.analyticsOptions&&Ai.logUserAction(e.analyticsData,e.analyticsOptions),lo.isFunction(e.onClick)&&e.onClick(a)}function o(a){a.preventDefault(),e.analyticsData&&e.analyticsOptions&&Ai.logUserAction(e.analyticsData,e.analyticsOptions),lo.isFunction(e.onClick)&&e.onClick(a),Yr.PageLoad(e.href,e.openInNewTab)}return!e.appLink&&!e.href?Q.jsxs("button",{type:"button",className:t,"aria-label":e.ariaLabel,onClick:n,disabled:e.disabled,role:e.role,children:[r,e.children]}):e.href?Q.jsxs("a",{className:t,href:e.href,onClick:o,"aria-label":e.ariaLabel,role:e.role,children:[r,e.children]}):Q.jsxs(co,{appLink:e.appLink,className:t,onClick:e.onClick,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,role:e.role,children:[r,e.children]})}function z9(e){let t=e.className||"btn btn-dark";if(e.disabled&&(t+=" disabled"),!e.icon){if(e.appLink&&!lo.isFunction(e.onClick)&&!e.disabled)return Q.jsx(co,{appLink:e.appLink,className:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:e.text});const r=()=>{e.disabled||(lo.isFunction(e.onClick)&&e.onClick(),e.appLink&&_n.trigger(e.appLink),Ai.logUserAction(e.analyticsData,e.analyticsOptions))};return e.href&&!e.disabled?Q.jsx("a",{className:t,href:e.href,target:e.openInNewTab?"_blank":null,children:e.text}):Q.jsx("button",{disabled:e.disabled,onClick:r,className:t,children:e.text})}return Q.jsx(QE,{className:t,onClick:e.onClick,appLink:e.appLink,svg:e.icon,href:e.href,openInNewTab:e.openInNewTab,disabled:e.disabled,children:e.text})}const W9="_image_12gb5_1",q9="_small_12gb5_6",KO={image:W9,small:q9};OM.defaultProps={size:"medium"};function OM(e){return Q.jsx("img",{alt:e.altText||"",role:"presentation",src:e.src,className:`${KO.image} ${e.size==="small"?KO.small:""} ${e.className??""}`})}hs.defaultProps={className:"pt-5"};function hs(e){return Q.jsx("div",{className:`text-center d-flex flex-column align-items-center ${e.className??""}`,children:e.children})}hs.Image=e=>Q.jsx(OM,{...e});hs.Cta=e=>Q.jsx(z9,{...e});hs.Heading=e=>Q.jsx("h2",{role:"status",className:e.className||"h3",children:e.children});hs.Info=e=>e.injectHtml?Q.jsx("p",{role:"status",className:e.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:e.children}}):Q.jsx("p",{role:"status",className:e.className||"mb-3 w-50",children:e.children});var Ww,XO;function G9(){if(XO)return Ww;XO=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function o(a,u){if(a===u)return!0;if(a&&u&&typeof a=="object"&&typeof u=="object"){if(a.constructor!==u.constructor)return!1;var f,l,d;if(Array.isArray(a)){if(f=a.length,f!=u.length)return!1;for(l=f;l--!==0;)if(!o(a[l],u[l]))return!1;return!0}var v;if(t&&a instanceof Map&&u instanceof Map){if(a.size!==u.size)return!1;for(v=a.entries();!(l=v.next()).done;)if(!u.has(l.value[0]))return!1;for(v=a.entries();!(l=v.next()).done;)if(!o(l.value[1],u.get(l.value[0])))return!1;return!0}if(r&&a instanceof Set&&u instanceof Set){if(a.size!==u.size)return!1;for(v=a.entries();!(l=v.next()).done;)if(!u.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(u)){if(f=a.length,f!=u.length)return!1;for(l=f;l--!==0;)if(a[l]!==u[l])return!1;return!0}if(a.constructor===RegExp)return a.source===u.source&&a.flags===u.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof u.valueOf=="function")return a.valueOf()===u.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof u.toString=="function")return a.toString()===u.toString();if(d=Object.keys(a),f=d.length,f!==Object.keys(u).length)return!1;for(l=f;l--!==0;)if(!Object.prototype.hasOwnProperty.call(u,d[l]))return!1;if(e&&a instanceof Element)return!1;for(l=f;l--!==0;)if(!((d[l]==="_owner"||d[l]==="__v"||d[l]==="__o")&&a.$$typeof)&&!o(a[d[l]],u[d[l]]))return!1;return!0}return a!==a&&u!==u}return Ww=function(u,f){try{return o(u,f)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},Ww}var Y9=G9();const K9=Kr(Y9);var qw,QO;function X9(){return QO||(QO=1,qw=function(t,r,n,o){var a=n?n.call(o,t,r):void 0;if(a!==void 0)return!!a;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var u=Object.keys(t),f=Object.keys(r);if(u.length!==f.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(r),d=0;d<u.length;d++){var v=u[d];if(!l(v))return!1;var p=t[v],w=r[v];if(a=n?n.call(o,p,w,v):void 0,a===!1||a===void 0&&p!==w)return!1}return!0}),qw}var Q9=X9();const J9=Kr(Q9);function Rn(){return Rn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rn.apply(this,arguments)}function v_(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,JE(e,t)}function JE(e,t){return JE=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},JE(e,t)}function JO(e,t){if(e==null)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}var Qt={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},Z9={rel:["amphtml","canonical","alternate"]},ez={type:["application/ld+json"]},tz={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ZO=Object.keys(Qt).map(function(e){return Qt[e]}),Ep={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},rz=Object.keys(Ep).reduce(function(e,t){return e[Ep[t]]=t,e},{}),Kl=function(e,t){for(var r=e.length-1;r>=0;r-=1){var n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},nz=function(e){var t=Kl(e,Qt.TITLE),r=Kl(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,function(){return t});var n=Kl(e,"defaultTitle");return t||n||void 0},iz=function(e){return Kl(e,"onChangeClientState")||function(){}},Gw=function(e,t){return t.filter(function(r){return r[e]!==void 0}).map(function(r){return r[e]}).reduce(function(r,n){return Rn({},r,n)},{})},oz=function(e,t){return t.filter(function(r){return r[Qt.BASE]!==void 0}).map(function(r){return r[Qt.BASE]}).reverse().reduce(function(r,n){if(!r.length)for(var o=Object.keys(n),a=0;a<o.length;a+=1){var u=o[a].toLowerCase();if(e.indexOf(u)!==-1&&n[u])return r.concat(n)}return r},[])},ef=function(e,t,r){var n={};return r.filter(function(o){return!!Array.isArray(o[e])||(o[e]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof o[e]+'"'),!1)}).map(function(o){return o[e]}).reverse().reduce(function(o,a){var u={};a.filter(function(p){for(var w,x=Object.keys(p),C=0;C<x.length;C+=1){var E=x[C],S=E.toLowerCase();t.indexOf(S)===-1||w==="rel"&&p[w].toLowerCase()==="canonical"||S==="rel"&&p[S].toLowerCase()==="stylesheet"||(w=S),t.indexOf(E)===-1||E!=="innerHTML"&&E!=="cssText"&&E!=="itemprop"||(w=E)}if(!w||!p[w])return!1;var I=p[w].toLowerCase();return n[w]||(n[w]={}),u[w]||(u[w]={}),!n[w][I]&&(u[w][I]=!0,!0)}).reverse().forEach(function(p){return o.push(p)});for(var f=Object.keys(u),l=0;l<f.length;l+=1){var d=f[l],v=Rn({},n[d],u[d]);n[d]=v}return o},[]).reverse()},sz=function(e,t){if(Array.isArray(e)&&e.length){for(var r=0;r<e.length;r+=1)if(e[r][t])return!0}return!1},IM=function(e){return Array.isArray(e)?e.join(""):e},Yw=function(e,t){return Array.isArray(e)?e.reduce(function(r,n){return function(o,a){for(var u=Object.keys(o),f=0;f<u.length;f+=1)if(a[u[f]]&&a[u[f]].includes(o[u[f]]))return!0;return!1}(n,t)?r.priority.push(n):r.default.push(n),r},{priority:[],default:[]}):{default:e}},eI=function(e,t){var r;return Rn({},e,((r={})[t]=void 0,r))},az=[Qt.NOSCRIPT,Qt.SCRIPT,Qt.STYLE],Kw=function(e,t){return t===void 0&&(t=!0),t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},tI=function(e){return Object.keys(e).reduce(function(t,r){var n=e[r]!==void 0?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n},"")},rI=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(r,n){return r[Ep[n]||n]=e[n],r},t)},Vh=function(e,t){return t.map(function(r,n){var o,a=((o={key:n})["data-rh"]=!0,o);return Object.keys(r).forEach(function(u){var f=Ep[u]||u;f==="innerHTML"||f==="cssText"?a.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:a[f]=r[u]}),er.createElement(e,a)})},Ao=function(e,t,r){switch(e){case Qt.TITLE:return{toComponent:function(){return o=t.titleAttributes,(a={key:n=t.title})["data-rh"]=!0,u=rI(o,a),[er.createElement(Qt.TITLE,u,n)];var n,o,a,u},toString:function(){return function(n,o,a,u){var f=tI(a),l=IM(o);return f?"<"+n+' data-rh="true" '+f+">"+Kw(l,u)+"</"+n+">":"<"+n+' data-rh="true">'+Kw(l,u)+"</"+n+">"}(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return rI(t)},toString:function(){return tI(t)}};default:return{toComponent:function(){return Vh(e,t)},toString:function(){return function(n,o,a){return o.reduce(function(u,f){var l=Object.keys(f).filter(function(p){return!(p==="innerHTML"||p==="cssText")}).reduce(function(p,w){var x=f[w]===void 0?w:w+'="'+Kw(f[w],a)+'"';return p?p+" "+x:x},""),d=f.innerHTML||f.cssText||"",v=az.indexOf(n)===-1;return u+"<"+n+' data-rh="true" '+l+(v?"/>":">"+d+"</"+n+">")},"")}(e,t,r)}}}},ZE=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,o=e.htmlAttributes,a=e.noscriptTags,u=e.styleTags,f=e.title,l=f===void 0?"":f,d=e.titleAttributes,v=e.linkTags,p=e.metaTags,w=e.scriptTags,x={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var C=function(E){var S=E.linkTags,I=E.scriptTags,D=E.encode,H=Yw(E.metaTags,tz),V=Yw(S,Z9),M=Yw(I,ez);return{priorityMethods:{toComponent:function(){return[].concat(Vh(Qt.META,H.priority),Vh(Qt.LINK,V.priority),Vh(Qt.SCRIPT,M.priority))},toString:function(){return Ao(Qt.META,H.priority,D)+" "+Ao(Qt.LINK,V.priority,D)+" "+Ao(Qt.SCRIPT,M.priority,D)}},metaTags:H.default,linkTags:V.default,scriptTags:M.default}}(e);x=C.priorityMethods,v=C.linkTags,p=C.metaTags,w=C.scriptTags}return{priority:x,base:Ao(Qt.BASE,t,n),bodyAttributes:Ao("bodyAttributes",r,n),htmlAttributes:Ao("htmlAttributes",o,n),link:Ao(Qt.LINK,v,n),meta:Ao(Qt.META,p,n),noscript:Ao(Qt.NOSCRIPT,a,n),script:Ao(Qt.SCRIPT,w,n),style:Ao(Qt.STYLE,u,n),title:Ao(Qt.TITLE,{title:l,titleAttributes:d},n)}},Eh=[],e1=function(e,t){var r=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(n){r.context.helmet=n},helmetInstances:{get:function(){return r.canUseDOM?Eh:r.instances},add:function(n){(r.canUseDOM?Eh:r.instances).push(n)},remove:function(n){var o=(r.canUseDOM?Eh:r.instances).indexOf(n);(r.canUseDOM?Eh:r.instances).splice(o,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=ZE({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},PM=er.createContext({}),uz=sr.shape({setHelmet:sr.func,helmetInstances:sr.shape({get:sr.func,add:sr.func,remove:sr.func})}),lz=typeof document<"u",Bl=function(e){function t(r){var n;return(n=e.call(this,r)||this).helmetData=new e1(n.props.context,t.canUseDOM),n}return v_(t,e),t.prototype.render=function(){return er.createElement(PM.Provider,{value:this.helmetData.value},this.props.children)},t}(ne.Component);Bl.canUseDOM=lz,Bl.propTypes={context:sr.shape({helmet:sr.shape()}),children:sr.node.isRequired},Bl.defaultProps={context:{}},Bl.displayName="HelmetProvider";var Il=function(e,t){var r,n=document.head||document.querySelector(Qt.HEAD),o=n.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),u=[];return t&&t.length&&t.forEach(function(f){var l=document.createElement(e);for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&(d==="innerHTML"?l.innerHTML=f.innerHTML:d==="cssText"?l.styleSheet?l.styleSheet.cssText=f.cssText:l.appendChild(document.createTextNode(f.cssText)):l.setAttribute(d,f[d]===void 0?"":f[d]));l.setAttribute("data-rh","true"),a.some(function(v,p){return r=p,l.isEqualNode(v)})?a.splice(r,1):u.push(l)}),a.forEach(function(f){return f.parentNode.removeChild(f)}),u.forEach(function(f){return n.appendChild(f)}),{oldTags:a,newTags:u}},Xw=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),o=n?n.split(","):[],a=[].concat(o),u=Object.keys(t),f=0;f<u.length;f+=1){var l=u[f],d=t[l]||"";r.getAttribute(l)!==d&&r.setAttribute(l,d),o.indexOf(l)===-1&&o.push(l);var v=a.indexOf(l);v!==-1&&a.splice(v,1)}for(var p=a.length-1;p>=0;p-=1)r.removeAttribute(a[p]);o.length===a.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==u.join(",")&&r.setAttribute("data-rh",u.join(","))}},nI=function(e,t){var r=e.baseTag,n=e.htmlAttributes,o=e.linkTags,a=e.metaTags,u=e.noscriptTags,f=e.onChangeClientState,l=e.scriptTags,d=e.styleTags,v=e.title,p=e.titleAttributes;Xw(Qt.BODY,e.bodyAttributes),Xw(Qt.HTML,n),function(E,S){E!==void 0&&document.title!==E&&(document.title=IM(E)),Xw(Qt.TITLE,S)}(v,p);var w={baseTag:Il(Qt.BASE,r),linkTags:Il(Qt.LINK,o),metaTags:Il(Qt.META,a),noscriptTags:Il(Qt.NOSCRIPT,u),scriptTags:Il(Qt.SCRIPT,l),styleTags:Il(Qt.STYLE,d)},x={},C={};Object.keys(w).forEach(function(E){var S=w[E],I=S.newTags,D=S.oldTags;I.length&&(x[E]=I),D.length&&(C[E]=w[E].oldTags)}),t&&t(),f(e,x,C)},tf=null,Sp=function(e){function t(){for(var n,o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return(n=e.call.apply(e,[this].concat(a))||this).rendered=!1,n}v_(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!J9(n,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var n,o,a=this.props.context,u=a.setHelmet,f=null,l=(n=a.helmetInstances.get().map(function(d){var v=Rn({},d.props);return delete v.context,v}),{baseTag:oz(["href"],n),bodyAttributes:Gw("bodyAttributes",n),defer:Kl(n,"defer"),encode:Kl(n,"encodeSpecialCharacters"),htmlAttributes:Gw("htmlAttributes",n),linkTags:ef(Qt.LINK,["rel","href"],n),metaTags:ef(Qt.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:ef(Qt.NOSCRIPT,["innerHTML"],n),onChangeClientState:iz(n),scriptTags:ef(Qt.SCRIPT,["src","innerHTML"],n),styleTags:ef(Qt.STYLE,["cssText"],n),title:nz(n),titleAttributes:Gw("titleAttributes",n),prioritizeSeoTags:sz(n,"prioritizeSeoTags")});Bl.canUseDOM?(o=l,tf&&cancelAnimationFrame(tf),o.defer?tf=requestAnimationFrame(function(){nI(o,function(){tf=null})}):(nI(o),tf=null)):ZE&&(f=ZE(l)),u(f)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t}(ne.Component);Sp.propTypes={context:uz.isRequired},Sp.displayName="HelmetDispatcher";var cz=["children"],fz=["children"],Hh=function(e){function t(){return e.apply(this,arguments)||this}v_(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!K9(eI(this.props,"helmetData"),eI(n,"helmetData"))},r.mapNestedChildrenToProps=function(n,o){if(!o)return null;switch(n.type){case Qt.SCRIPT:case Qt.NOSCRIPT:return{innerHTML:o};case Qt.STYLE:return{cssText:o};default:throw new Error("<"+n.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(n){var o,a=n.child,u=n.arrayTypeChildren;return Rn({},u,((o={})[a.type]=[].concat(u[a.type]||[],[Rn({},n.newChildProps,this.mapNestedChildrenToProps(a,n.nestedChildren))]),o))},r.mapObjectTypeChildren=function(n){var o,a,u=n.child,f=n.newProps,l=n.newChildProps,d=n.nestedChildren;switch(u.type){case Qt.TITLE:return Rn({},f,((o={})[u.type]=d,o.titleAttributes=Rn({},l),o));case Qt.BODY:return Rn({},f,{bodyAttributes:Rn({},l)});case Qt.HTML:return Rn({},f,{htmlAttributes:Rn({},l)});default:return Rn({},f,((a={})[u.type]=Rn({},l),a))}},r.mapArrayTypeChildrenToProps=function(n,o){var a=Rn({},o);return Object.keys(n).forEach(function(u){var f;a=Rn({},a,((f={})[u]=n[u],f))}),a},r.warnOnInvalidChildren=function(n,o){return xO(ZO.some(function(a){return n.type===a}),typeof n.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ZO.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),xO(!o||typeof o=="string"||Array.isArray(o)&&!o.some(function(a){return typeof a!="string"}),"Helmet expects a string as a child of <"+n.type+">. Did you forget to wrap your children in braces? ( <"+n.type+">{``}</"+n.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(n,o){var a=this,u={};return er.Children.forEach(n,function(f){if(f&&f.props){var l=f.props,d=l.children,v=JO(l,cz),p=Object.keys(v).reduce(function(x,C){return x[rz[C]||C]=v[C],x},{}),w=f.type;switch(typeof w=="symbol"?w=w.toString():a.warnOnInvalidChildren(f,d),w){case Qt.FRAGMENT:o=a.mapChildrenToProps(d,o);break;case Qt.LINK:case Qt.META:case Qt.NOSCRIPT:case Qt.SCRIPT:case Qt.STYLE:u=a.flattenArrayTypeChildren({child:f,arrayTypeChildren:u,newChildProps:p,nestedChildren:d});break;default:o=a.mapObjectTypeChildren({child:f,newProps:o,newChildProps:p,nestedChildren:d})}}}),this.mapArrayTypeChildrenToProps(u,o)},r.render=function(){var n=this.props,o=n.children,a=JO(n,fz),u=Rn({},a),f=a.helmetData;return o&&(u=this.mapChildrenToProps(o,u)),!f||f instanceof e1||(f=new e1(f.context,f.instances)),f?er.createElement(Sp,Rn({},u,{context:f.value,helmetData:void 0})):er.createElement(PM.Consumer,null,function(l){return er.createElement(Sp,Rn({},u,{context:l}))})},t}(ne.Component);Hh.propTypes={base:sr.object,bodyAttributes:sr.object,children:sr.oneOfType([sr.arrayOf(sr.node),sr.node]),defaultTitle:sr.string,defer:sr.bool,encodeSpecialCharacters:sr.bool,htmlAttributes:sr.object,link:sr.arrayOf(sr.object),meta:sr.arrayOf(sr.object),noscript:sr.arrayOf(sr.object),onChangeClientState:sr.func,script:sr.arrayOf(sr.object),style:sr.arrayOf(sr.object),title:sr.string,titleAttributes:sr.object,titleTemplate:sr.string,prioritizeSeoTags:sr.bool,helmetData:sr.object},Hh.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Hh.displayName="Helmet";const kM=er.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>{},hasPageMetadataChanged:()=>!1,hasProvider:!1});function iI(e,t){return!ws.isEqual(e,t)}function dz(){return er.useContext(kM)}const hz=e=>{const[t,r]=er.useState({}),[n,o]=er.useState({}),{title:a,description:u,canonicalLink:f,jsonLd:l,allowIndexing:d,hrefLang:v,preload:p}=t;function w(E){iI(t,n)&&o(t),r(E)}function x(){r(n)}function C(E){return iI(E,t)}return Q.jsx(kM.Provider,{value:{setPageMetadata:w,revertPageMetadata:x,hasPageMetadataChanged:C,hasProvider:!0},children:Q.jsxs(Bl,{children:[Q.jsxs(Hh,{children:[a&&Q.jsx("title",{children:a}),u&&Q.jsx("meta",{name:"description",content:u}),f&&Q.jsx("link",{rel:"canonical",href:f}),l&&Q.jsx("script",{type:"application/ld+json",children:JSON.stringify(l)}),!d&&Q.jsx("meta",{name:"robots",content:"noindex"}),v&&(v==null?void 0:v.map((E,S)=>Q.jsx("link",{rel:"alternate",hrefLang:E.hrefLang,href:E.canonicalLink},S))),p&&(p==null?void 0:p.map((E,S)=>{const I={};return E.crossorigin&&(I.crossOrigin="true"),E.media&&(I.media=E.media),E.type&&(I.type=E.type),Q.jsx("link",{rel:"preload",href:E.href,as:E.as,...I},`preload-${S}`)}))]}),e.children]})})};function LM(e){er.useEffect(()=>{e&&t(_n.getCurrentAppLink(),e)},[e]);function t(n,o){const a=_n.getHref(n);Ai.logUserAction({title:o,url:a,isAddressable:!!a,isError:n.action==="error",appLink:r(n)},{actionType:ht.PageView,entity:Wr.Url,location:gi.Global})}function r(n){var o;return{...n,args:(o=n.args)==null?void 0:o.reduce((a,u,f)=>(a[`arg${f}`]=u,a),{})}}}var Bh={exports:{}},pz=Bh.exports,oI;function gz(){return oI||(oI=1,function(e,t){(function(r,n){e.exports=n()})(pz,function(){var r=1e3,n=6e4,o=36e5,a="millisecond",u="second",f="minute",l="hour",d="day",v="week",p="month",w="quarter",x="year",C="date",E="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(me){var ye=["th","st","nd","rd"],be=me%100;return"["+me+(ye[(be-20)%10]||ye[be]||ye[0])+"]"}},H=function(me,ye,be){var Ae=String(me);return!Ae||Ae.length>=ye?me:""+Array(ye+1-Ae.length).join(be)+me},V={s:H,z:function(me){var ye=-me.utcOffset(),be=Math.abs(ye),Ae=Math.floor(be/60),re=be%60;return(ye<=0?"+":"-")+H(Ae,2,"0")+":"+H(re,2,"0")},m:function me(ye,be){if(ye.date()<be.date())return-me(be,ye);var Ae=12*(be.year()-ye.year())+(be.month()-ye.month()),re=ye.clone().add(Ae,p),Ee=be-re<0,X=ye.clone().add(Ae+(Ee?-1:1),p);return+(-(Ae+(be-re)/(Ee?re-X:X-re))||0)},a:function(me){return me<0?Math.ceil(me)||0:Math.floor(me)},p:function(me){return{M:p,y:x,w:v,d,D:C,h:l,m:f,s:u,ms:a,Q:w}[me]||String(me||"").toLowerCase().replace(/s$/,"")},u:function(me){return me===void 0}},M="en",G={};G[M]=D;var y="$isDayjsObject",Z=function(me){return me instanceof de||!(!me||!me[y])},ae=function me(ye,be,Ae){var re;if(!ye)return M;if(typeof ye=="string"){var Ee=ye.toLowerCase();G[Ee]&&(re=Ee),be&&(G[Ee]=be,re=Ee);var X=ye.split("-");if(!re&&X.length>1)return me(X[0])}else{var Re=ye.name;G[Re]=ye,re=Re}return!Ae&&re&&(M=re),re||!Ae&&M},ce=function(me,ye){if(Z(me))return me.clone();var be=typeof ye=="object"?ye:{};return be.date=me,be.args=arguments,new de(be)},ie=V;ie.l=ae,ie.i=Z,ie.w=function(me,ye){return ce(me,{locale:ye.$L,utc:ye.$u,x:ye.$x,$offset:ye.$offset})};var de=function(){function me(be){this.$L=ae(be.locale,null,!0),this.parse(be),this.$x=this.$x||be.x||{},this[y]=!0}var ye=me.prototype;return ye.parse=function(be){this.$d=function(Ae){var re=Ae.date,Ee=Ae.utc;if(re===null)return new Date(NaN);if(ie.u(re))return new Date;if(re instanceof Date)return new Date(re);if(typeof re=="string"&&!/Z$/i.test(re)){var X=re.match(S);if(X){var Re=X[2]-1||0,qe=(X[7]||"0").substring(0,3);return Ee?new Date(Date.UTC(X[1],Re,X[3]||1,X[4]||0,X[5]||0,X[6]||0,qe)):new Date(X[1],Re,X[3]||1,X[4]||0,X[5]||0,X[6]||0,qe)}}return new Date(re)}(be),this.init()},ye.init=function(){var be=this.$d;this.$y=be.getFullYear(),this.$M=be.getMonth(),this.$D=be.getDate(),this.$W=be.getDay(),this.$H=be.getHours(),this.$m=be.getMinutes(),this.$s=be.getSeconds(),this.$ms=be.getMilliseconds()},ye.$utils=function(){return ie},ye.isValid=function(){return this.$d.toString()!==E},ye.isSame=function(be,Ae){var re=ce(be);return this.startOf(Ae)<=re&&re<=this.endOf(Ae)},ye.isAfter=function(be,Ae){return ce(be)<this.startOf(Ae)},ye.isBefore=function(be,Ae){return this.endOf(Ae)<ce(be)},ye.$g=function(be,Ae,re){return ie.u(be)?this[Ae]:this.set(re,be)},ye.unix=function(){return Math.floor(this.valueOf()/1e3)},ye.valueOf=function(){return this.$d.getTime()},ye.startOf=function(be,Ae){var re=this,Ee=!!ie.u(Ae)||Ae,X=ie.p(be),Re=function(N,L){var q=ie.w(re.$u?Date.UTC(re.$y,L,N):new Date(re.$y,L,N),re);return Ee?q:q.endOf(d)},qe=function(N,L){return ie.w(re.toDate()[N].apply(re.toDate("s"),(Ee?[0,0,0,0]:[23,59,59,999]).slice(L)),re)},Qe=this.$W,et=this.$M,ut=this.$D,dt="set"+(this.$u?"UTC":"");switch(X){case x:return Ee?Re(1,0):Re(31,11);case p:return Ee?Re(1,et):Re(0,et+1);case v:var F=this.$locale().weekStart||0,T=(Qe<F?Qe+7:Qe)-F;return Re(Ee?ut-T:ut+(6-T),et);case d:case C:return qe(dt+"Hours",0);case l:return qe(dt+"Minutes",1);case f:return qe(dt+"Seconds",2);case u:return qe(dt+"Milliseconds",3);default:return this.clone()}},ye.endOf=function(be){return this.startOf(be,!1)},ye.$set=function(be,Ae){var re,Ee=ie.p(be),X="set"+(this.$u?"UTC":""),Re=(re={},re[d]=X+"Date",re[C]=X+"Date",re[p]=X+"Month",re[x]=X+"FullYear",re[l]=X+"Hours",re[f]=X+"Minutes",re[u]=X+"Seconds",re[a]=X+"Milliseconds",re)[Ee],qe=Ee===d?this.$D+(Ae-this.$W):Ae;if(Ee===p||Ee===x){var Qe=this.clone().set(C,1);Qe.$d[Re](qe),Qe.init(),this.$d=Qe.set(C,Math.min(this.$D,Qe.daysInMonth())).$d}else Re&&this.$d[Re](qe);return this.init(),this},ye.set=function(be,Ae){return this.clone().$set(be,Ae)},ye.get=function(be){return this[ie.p(be)]()},ye.add=function(be,Ae){var re,Ee=this;be=Number(be);var X=ie.p(Ae),Re=function(et){var ut=ce(Ee);return ie.w(ut.date(ut.date()+Math.round(et*be)),Ee)};if(X===p)return this.set(p,this.$M+be);if(X===x)return this.set(x,this.$y+be);if(X===d)return Re(1);if(X===v)return Re(7);var qe=(re={},re[f]=n,re[l]=o,re[u]=r,re)[X]||1,Qe=this.$d.getTime()+be*qe;return ie.w(Qe,this)},ye.subtract=function(be,Ae){return this.add(-1*be,Ae)},ye.format=function(be){var Ae=this,re=this.$locale();if(!this.isValid())return re.invalidDate||E;var Ee=be||"YYYY-MM-DDTHH:mm:ssZ",X=ie.z(this),Re=this.$H,qe=this.$m,Qe=this.$M,et=re.weekdays,ut=re.months,dt=re.meridiem,F=function(L,q,P,j){return L&&(L[q]||L(Ae,Ee))||P[q].slice(0,j)},T=function(L){return ie.s(Re%12||12,L,"0")},N=dt||function(L,q,P){var j=L<12?"AM":"PM";return P?j.toLowerCase():j};return Ee.replace(I,function(L,q){return q||function(P){switch(P){case"YY":return String(Ae.$y).slice(-2);case"YYYY":return ie.s(Ae.$y,4,"0");case"M":return Qe+1;case"MM":return ie.s(Qe+1,2,"0");case"MMM":return F(re.monthsShort,Qe,ut,3);case"MMMM":return F(ut,Qe);case"D":return Ae.$D;case"DD":return ie.s(Ae.$D,2,"0");case"d":return String(Ae.$W);case"dd":return F(re.weekdaysMin,Ae.$W,et,2);case"ddd":return F(re.weekdaysShort,Ae.$W,et,3);case"dddd":return et[Ae.$W];case"H":return String(Re);case"HH":return ie.s(Re,2,"0");case"h":return T(1);case"hh":return T(2);case"a":return N(Re,qe,!0);case"A":return N(Re,qe,!1);case"m":return String(qe);case"mm":return ie.s(qe,2,"0");case"s":return String(Ae.$s);case"ss":return ie.s(Ae.$s,2,"0");case"SSS":return ie.s(Ae.$ms,3,"0");case"Z":return X}return null}(L)||X.replace(":","")})},ye.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ye.diff=function(be,Ae,re){var Ee,X=this,Re=ie.p(Ae),qe=ce(be),Qe=(qe.utcOffset()-this.utcOffset())*n,et=this-qe,ut=function(){return ie.m(X,qe)};switch(Re){case x:Ee=ut()/12;break;case p:Ee=ut();break;case w:Ee=ut()/3;break;case v:Ee=(et-Qe)/6048e5;break;case d:Ee=(et-Qe)/864e5;break;case l:Ee=et/o;break;case f:Ee=et/n;break;case u:Ee=et/r;break;default:Ee=et}return re?Ee:ie.a(Ee)},ye.daysInMonth=function(){return this.endOf(p).$D},ye.$locale=function(){return G[this.$L]},ye.locale=function(be,Ae){if(!be)return this.$L;var re=this.clone(),Ee=ae(be,Ae,!0);return Ee&&(re.$L=Ee),re},ye.clone=function(){return ie.w(this.$d,this)},ye.toDate=function(){return new Date(this.valueOf())},ye.toJSON=function(){return this.isValid()?this.toISOString():null},ye.toISOString=function(){return this.$d.toISOString()},ye.toString=function(){return this.$d.toUTCString()},me}(),ge=de.prototype;return ce.prototype=ge,[["$ms",a],["$s",u],["$m",f],["$H",l],["$W",d],["$M",p],["$y",x],["$D",C]].forEach(function(me){ge[me[1]]=function(ye){return this.$g(ye,me[0],me[1])}}),ce.extend=function(me,ye){return me.$i||(me(ye,de,ce),me.$i=!0),ce},ce.locale=ae,ce.isDayjs=Z,ce.unix=function(me){return ce(1e3*me)},ce.en=G[M],ce.Ls=G,ce.p={},ce})}(Bh)),Bh.exports}var vz=gz();const Lt=Kr(vz);var zh={exports:{}},mz=zh.exports,sI;function yz(){return sI||(sI=1,function(e,t){(function(r,n){e.exports=n()})(mz,function(){return function(r,n){var o=n.prototype,a=o.format;o.format=function(u){var f=this,l=this.$locale();if(!this.isValid())return a.bind(this)(u);var d=this.$utils(),v=(u||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((f.$M+1)/3);case"Do":return l.ordinal(f.$D);case"gggg":return f.weekYear();case"GGGG":return f.isoWeekYear();case"wo":return l.ordinal(f.week(),"W");case"w":case"ww":return d.s(f.week(),p==="w"?1:2,"0");case"W":case"WW":return d.s(f.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return d.s(String(f.$H===0?24:f.$H),p==="k"?1:2,"0");case"X":return Math.floor(f.$d.getTime()/1e3);case"x":return f.$d.getTime();case"z":return"["+f.offsetName()+"]";case"zzz":return"["+f.offsetName("long")+"]";default:return p}});return a.bind(this)(v)}}})}(zh)),zh.exports}var wz=yz();const Ez=Kr(wz);var Wh={exports:{}},Sz=Wh.exports,aI;function _z(){return aI||(aI=1,function(e,t){(function(r,n){e.exports=n()})(Sz,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d\d/,a=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,f={},l=function(E){return(E=+E)+(E>68?1900:2e3)},d=function(E){return function(S){this[E]=+S}},v=[/[+-]\d\d:?(\d\d)?|Z/,function(E){(this.zone||(this.zone={})).offset=function(S){if(!S||S==="Z")return 0;var I=S.match(/([+-]|\d\d)/g),D=60*I[1]+(+I[2]||0);return D===0?0:I[0]==="+"?-D:D}(E)}],p=function(E){var S=f[E];return S&&(S.indexOf?S:S.s.concat(S.f))},w=function(E,S){var I,D=f.meridiem;if(D){for(var H=1;H<=24;H+=1)if(E.indexOf(D(H,0,S))>-1){I=H>12;break}}else I=E===(S?"pm":"PM");return I},x={A:[u,function(E){this.afternoon=w(E,!1)}],a:[u,function(E){this.afternoon=w(E,!0)}],S:[/\d/,function(E){this.milliseconds=100*+E}],SS:[o,function(E){this.milliseconds=10*+E}],SSS:[/\d{3}/,function(E){this.milliseconds=+E}],s:[a,d("seconds")],ss:[a,d("seconds")],m:[a,d("minutes")],mm:[a,d("minutes")],H:[a,d("hours")],h:[a,d("hours")],HH:[a,d("hours")],hh:[a,d("hours")],D:[a,d("day")],DD:[o,d("day")],Do:[u,function(E){var S=f.ordinal,I=E.match(/\d+/);if(this.day=I[0],S)for(var D=1;D<=31;D+=1)S(D).replace(/\[|\]/g,"")===E&&(this.day=D)}],M:[a,d("month")],MM:[o,d("month")],MMM:[u,function(E){var S=p("months"),I=(p("monthsShort")||S.map(function(D){return D.slice(0,3)})).indexOf(E)+1;if(I<1)throw new Error;this.month=I%12||I}],MMMM:[u,function(E){var S=p("months").indexOf(E)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,d("year")],YY:[o,function(E){this.year=l(E)}],YYYY:[/\d{4}/,d("year")],Z:v,ZZ:v};function C(E){var S,I;S=E,I=f&&f.formats;for(var D=(E=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(ae,ce,ie){var de=ie&&ie.toUpperCase();return ce||I[ie]||r[ie]||I[de].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ge,me,ye){return me||ye.slice(1)})})).match(n),H=D.length,V=0;V<H;V+=1){var M=D[V],G=x[M],y=G&&G[0],Z=G&&G[1];D[V]=Z?{regex:y,parser:Z}:M.replace(/^\[|\]$/g,"")}return function(ae){for(var ce={},ie=0,de=0;ie<H;ie+=1){var ge=D[ie];if(typeof ge=="string")de+=ge.length;else{var me=ge.regex,ye=ge.parser,be=ae.slice(de),Ae=me.exec(be)[0];ye.call(ce,Ae),ae=ae.replace(Ae,"")}}return function(re){var Ee=re.afternoon;if(Ee!==void 0){var X=re.hours;Ee?X<12&&(re.hours+=12):X===12&&(re.hours=0),delete re.afternoon}}(ce),ce}}return function(E,S,I){I.p.customParseFormat=!0,E&&E.parseTwoDigitYear&&(l=E.parseTwoDigitYear);var D=S.prototype,H=D.parse;D.parse=function(V){var M=V.date,G=V.utc,y=V.args;this.$u=G;var Z=y[1];if(typeof Z=="string"){var ae=y[2]===!0,ce=y[3]===!0,ie=ae||ce,de=y[2];ce&&(de=y[2]),f=this.$locale(),!ae&&de&&(f=I.Ls[de]),this.$d=function(be,Ae,re){try{if(["x","X"].indexOf(Ae)>-1)return new Date((Ae==="X"?1e3:1)*be);var Ee=C(Ae)(be),X=Ee.year,Re=Ee.month,qe=Ee.day,Qe=Ee.hours,et=Ee.minutes,ut=Ee.seconds,dt=Ee.milliseconds,F=Ee.zone,T=new Date,N=qe||(X||Re?1:T.getDate()),L=X||T.getFullYear(),q=0;X&&!Re||(q=Re>0?Re-1:T.getMonth());var P=Qe||0,j=et||0,se=ut||0,ee=dt||0;return F?new Date(Date.UTC(L,q,N,P,j,se,ee+60*F.offset*1e3)):re?new Date(Date.UTC(L,q,N,P,j,se,ee)):new Date(L,q,N,P,j,se,ee)}catch{return new Date("")}}(M,Z,G),this.init(),de&&de!==!0&&(this.$L=this.locale(de).$L),ie&&M!=this.format(Z)&&(this.$d=new Date("")),f={}}else if(Z instanceof Array)for(var ge=Z.length,me=1;me<=ge;me+=1){y[1]=Z[me-1];var ye=I.apply(this,y);if(ye.isValid()){this.$d=ye.$d,this.$L=ye.$L,this.init();break}me===ge&&(this.$d=new Date(""))}else H.call(this,V)}}})}(Wh)),Wh.exports}var bz=_z();const DM=Kr(bz);var qh={exports:{}},xz=qh.exports,uI;function Cz(){return uI||(uI=1,function(e,t){(function(r,n){e.exports=n()})(xz,function(){var r,n,o=1e3,a=6e4,u=36e5,f=864e5,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=31536e6,v=2628e6,p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,w={years:d,months:v,days:f,hours:u,minutes:a,seconds:o,milliseconds:1,weeks:6048e5},x=function(G){return G instanceof V},C=function(G,y,Z){return new V(G,Z,y.$l)},E=function(G){return n.p(G)+"s"},S=function(G){return G<0},I=function(G){return S(G)?Math.ceil(G):Math.floor(G)},D=function(G){return Math.abs(G)},H=function(G,y){return G?S(G)?{negative:!0,format:""+D(G)+y}:{negative:!1,format:""+G+y}:{negative:!1,format:""}},V=function(){function G(Z,ae,ce){var ie=this;if(this.$d={},this.$l=ce,Z===void 0&&(this.$ms=0,this.parseFromMilliseconds()),ae)return C(Z*w[E(ae)],this);if(typeof Z=="number")return this.$ms=Z,this.parseFromMilliseconds(),this;if(typeof Z=="object")return Object.keys(Z).forEach(function(me){ie.$d[E(me)]=Z[me]}),this.calMilliseconds(),this;if(typeof Z=="string"){var de=Z.match(p);if(de){var ge=de.slice(2).map(function(me){return me!=null?Number(me):0});return this.$d.years=ge[0],this.$d.months=ge[1],this.$d.weeks=ge[2],this.$d.days=ge[3],this.$d.hours=ge[4],this.$d.minutes=ge[5],this.$d.seconds=ge[6],this.calMilliseconds(),this}}return this}var y=G.prototype;return y.calMilliseconds=function(){var Z=this;this.$ms=Object.keys(this.$d).reduce(function(ae,ce){return ae+(Z.$d[ce]||0)*w[ce]},0)},y.parseFromMilliseconds=function(){var Z=this.$ms;this.$d.years=I(Z/d),Z%=d,this.$d.months=I(Z/v),Z%=v,this.$d.days=I(Z/f),Z%=f,this.$d.hours=I(Z/u),Z%=u,this.$d.minutes=I(Z/a),Z%=a,this.$d.seconds=I(Z/o),Z%=o,this.$d.milliseconds=Z},y.toISOString=function(){var Z=H(this.$d.years,"Y"),ae=H(this.$d.months,"M"),ce=+this.$d.days||0;this.$d.weeks&&(ce+=7*this.$d.weeks);var ie=H(ce,"D"),de=H(this.$d.hours,"H"),ge=H(this.$d.minutes,"M"),me=this.$d.seconds||0;this.$d.milliseconds&&(me+=this.$d.milliseconds/1e3,me=Math.round(1e3*me)/1e3);var ye=H(me,"S"),be=Z.negative||ae.negative||ie.negative||de.negative||ge.negative||ye.negative,Ae=de.format||ge.format||ye.format?"T":"",re=(be?"-":"")+"P"+Z.format+ae.format+ie.format+Ae+de.format+ge.format+ye.format;return re==="P"||re==="-P"?"P0D":re},y.toJSON=function(){return this.toISOString()},y.format=function(Z){var ae=Z||"YYYY-MM-DDTHH:mm:ss",ce={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return ae.replace(l,function(ie,de){return de||String(ce[ie])})},y.as=function(Z){return this.$ms/w[E(Z)]},y.get=function(Z){var ae=this.$ms,ce=E(Z);return ce==="milliseconds"?ae%=1e3:ae=ce==="weeks"?I(ae/w[ce]):this.$d[ce],ae||0},y.add=function(Z,ae,ce){var ie;return ie=ae?Z*w[E(ae)]:x(Z)?Z.$ms:C(Z,this).$ms,C(this.$ms+ie*(ce?-1:1),this)},y.subtract=function(Z,ae){return this.add(Z,ae,!0)},y.locale=function(Z){var ae=this.clone();return ae.$l=Z,ae},y.clone=function(){return C(this.$ms,this)},y.humanize=function(Z){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!Z)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},G}(),M=function(G,y,Z){return G.add(y.years()*Z,"y").add(y.months()*Z,"M").add(y.days()*Z,"d").add(y.hours()*Z,"h").add(y.minutes()*Z,"m").add(y.seconds()*Z,"s").add(y.milliseconds()*Z,"ms")};return function(G,y,Z){r=Z,n=Z().$utils(),Z.duration=function(ie,de){var ge=Z.locale();return C(ie,{$l:ge},de)},Z.isDuration=x;var ae=y.prototype.add,ce=y.prototype.subtract;y.prototype.add=function(ie,de){return x(ie)?M(this,ie,1):ae.bind(this)(ie,de)},y.prototype.subtract=function(ie,de){return x(ie)?M(this,ie,-1):ce.bind(this)(ie,de)}}})}(qh)),qh.exports}var Tz=Cz();const Az=Kr(Tz);var Gh={exports:{}},Rz=Gh.exports,lI;function Oz(){return lI||(lI=1,function(e,t){(function(r,n){e.exports=n()})(Rz,function(){return function(r,n,o){n.prototype.isBetween=function(a,u,f,l){var d=o(a),v=o(u),p=(l=l||"()")[0]==="(",w=l[1]===")";return(p?this.isAfter(d,f):!this.isBefore(d,f))&&(w?this.isBefore(v,f):!this.isAfter(v,f))||(p?this.isBefore(d,f):!this.isAfter(d,f))&&(w?this.isAfter(v,f):!this.isBefore(v,f))}}})}(Gh)),Gh.exports}var Iz=Oz();const Pz=Kr(Iz);var Yh={exports:{}},kz=Yh.exports,cI;function Lz(){return cI||(cI=1,function(e,t){(function(r,n){e.exports=n()})(kz,function(){return function(r,n){n.prototype.isSameOrAfter=function(o,a){return this.isSame(o,a)||this.isAfter(o,a)}}})}(Yh)),Yh.exports}var Dz=Lz();const Nz=Kr(Dz);var Kh={exports:{}},Mz=Kh.exports,fI;function $z(){return fI||(fI=1,function(e,t){(function(r,n){e.exports=n()})(Mz,function(){return function(r,n){n.prototype.isSameOrBefore=function(o,a){return this.isSame(o,a)||this.isBefore(o,a)}}})}(Kh)),Kh.exports}var Fz=$z();const jz=Kr(Fz);var Xh={exports:{}},Uz=Xh.exports,dI;function Vz(){return dI||(dI=1,function(e,t){(function(r,n){e.exports=n()})(Uz,function(){return function(r,n,o){var a=n.prototype,u=function(p){return p&&(p.indexOf?p:p.s)},f=function(p,w,x,C,E){var S=p.name?p:p.$locale(),I=u(S[w]),D=u(S[x]),H=I||D.map(function(M){return M.slice(0,C)});if(!E)return H;var V=S.weekStart;return H.map(function(M,G){return H[(G+(V||0))%7]})},l=function(){return o.Ls[o.locale()]},d=function(p,w){return p.formats[w]||function(x){return x.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(C,E,S){return E||S.slice(1)})}(p.formats[w.toUpperCase()])},v=function(){var p=this;return{months:function(w){return w?w.format("MMMM"):f(p,"months")},monthsShort:function(w){return w?w.format("MMM"):f(p,"monthsShort","months",3)},firstDayOfWeek:function(){return p.$locale().weekStart||0},weekdays:function(w){return w?w.format("dddd"):f(p,"weekdays")},weekdaysMin:function(w){return w?w.format("dd"):f(p,"weekdaysMin","weekdays",2)},weekdaysShort:function(w){return w?w.format("ddd"):f(p,"weekdaysShort","weekdays",3)},longDateFormat:function(w){return d(p.$locale(),w)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return v.bind(this)()},o.localeData=function(){var p=l();return{firstDayOfWeek:function(){return p.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(w){return d(p,w)},meridiem:p.meridiem,ordinal:p.ordinal}},o.months=function(){return f(l(),"months")},o.monthsShort=function(){return f(l(),"monthsShort","months",3)},o.weekdays=function(p){return f(l(),"weekdays",null,null,p)},o.weekdaysShort=function(p){return f(l(),"weekdaysShort","weekdays",3,p)},o.weekdaysMin=function(p){return f(l(),"weekdaysMin","weekdays",2,p)}}})}(Xh)),Xh.exports}var Hz=Vz();const Bz=Kr(Hz);var Qh={exports:{}},zz=Qh.exports,hI;function Wz(){return hI||(hI=1,function(e,t){(function(r,n){e.exports=n()})(zz,function(){return function(r,n,o){r=r||{};var a=n.prototype,u={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function f(d,v,p,w){return a.fromToBase(d,v,p,w)}o.en.relativeTime=u,a.fromToBase=function(d,v,p,w,x){for(var C,E,S,I=p.$locale().relativeTime||u,D=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],H=D.length,V=0;V<H;V+=1){var M=D[V];M.d&&(C=w?o(d).diff(p,M.d,!0):p.diff(d,M.d,!0));var G=(r.rounding||Math.round)(Math.abs(C));if(S=C>0,G<=M.r||!M.r){G<=1&&V>0&&(M=D[V-1]);var y=I[M.l];x&&(G=x(""+G)),E=typeof y=="string"?y.replace("%d",G):y(G,v,M.l,S);break}}if(v)return E;var Z=S?I.future:I.past;return typeof Z=="function"?Z(E):Z.replace("%s",E)},a.to=function(d,v){return f(d,v,this,!0)},a.from=function(d,v){return f(d,v,this)};var l=function(d){return d.$u?o.utc():o()};a.toNow=function(d){return this.to(l(this),d)},a.fromNow=function(d){return this.from(l(this),d)}}})}(Qh)),Qh.exports}var qz=Wz();const Gz=Kr(qz);var Jh={exports:{}},Yz=Jh.exports,pI;function Kz(){return pI||(pI=1,function(e,t){(function(r,n){e.exports=n()})(Yz,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(o,a,u){var f,l=function(w,x,C){C===void 0&&(C={});var E=new Date(w),S=function(I,D){D===void 0&&(D={});var H=D.timeZoneName||"short",V=I+"|"+H,M=n[V];return M||(M=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:I,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:H}),n[V]=M),M}(x,C);return S.formatToParts(E)},d=function(w,x){for(var C=l(w,x),E=[],S=0;S<C.length;S+=1){var I=C[S],D=I.type,H=I.value,V=r[D];V>=0&&(E[V]=parseInt(H,10))}var M=E[3],G=M===24?0:M,y=E[0]+"-"+E[1]+"-"+E[2]+" "+G+":"+E[4]+":"+E[5]+":000",Z=+w;return(u.utc(y).valueOf()-(Z-=Z%1e3))/6e4},v=a.prototype;v.tz=function(w,x){w===void 0&&(w=f);var C=this.utcOffset(),E=this.toDate(),S=E.toLocaleString("en-US",{timeZone:w}),I=Math.round((E-new Date(S))/1e3/60),D=u(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(E.getTimezoneOffset()/15)-I,!0);if(x){var H=D.utcOffset();D=D.add(C-H,"minute")}return D.$x.$timezone=w,D},v.offsetName=function(w){var x=this.$x.$timezone||u.tz.guess(),C=l(this.valueOf(),x,{timeZoneName:w}).find(function(E){return E.type.toLowerCase()==="timezonename"});return C&&C.value};var p=v.startOf;v.startOf=function(w,x){if(!this.$x||!this.$x.$timezone)return p.call(this,w,x);var C=u(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return p.call(C,w,x).tz(this.$x.$timezone,!0)},u.tz=function(w,x,C){var E=C&&x,S=C||x||f,I=d(+u(),S);if(typeof w!="string")return u(w).tz(S);var D=function(G,y,Z){var ae=G-60*y*1e3,ce=d(ae,Z);if(y===ce)return[ae,y];var ie=d(ae-=60*(ce-y)*1e3,Z);return ce===ie?[ae,ce]:[G-60*Math.min(ce,ie)*1e3,Math.max(ce,ie)]}(u.utc(w,E).valueOf(),I,S),H=D[0],V=D[1],M=u(H).utcOffset(V);return M.$x.$timezone=S,M},u.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},u.tz.setDefault=function(w){f=w}}})}(Jh)),Jh.exports}var Xz=Kz();const Qz=Kr(Xz);var Zh={exports:{}},Jz=Zh.exports,gI;function Zz(){return gI||(gI=1,function(e,t){(function(r,n){e.exports=n()})(Jz,function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(a,u,f){var l=u.prototype;f.utc=function(E){var S={date:E,utc:!0,args:arguments};return new u(S)},l.utc=function(E){var S=f(this.toDate(),{locale:this.$L,utc:!0});return E?S.add(this.utcOffset(),r):S},l.local=function(){return f(this.toDate(),{locale:this.$L,utc:!1})};var d=l.parse;l.parse=function(E){E.utc&&(this.$u=!0),this.$utils().u(E.$offset)||(this.$offset=E.$offset),d.call(this,E)};var v=l.init;l.init=function(){if(this.$u){var E=this.$d;this.$y=E.getUTCFullYear(),this.$M=E.getUTCMonth(),this.$D=E.getUTCDate(),this.$W=E.getUTCDay(),this.$H=E.getUTCHours(),this.$m=E.getUTCMinutes(),this.$s=E.getUTCSeconds(),this.$ms=E.getUTCMilliseconds()}else v.call(this)};var p=l.utcOffset;l.utcOffset=function(E,S){var I=this.$utils().u;if(I(E))return this.$u?0:I(this.$offset)?p.call(this):this.$offset;if(typeof E=="string"&&(E=function(M){M===void 0&&(M="");var G=M.match(n);if(!G)return null;var y=(""+G[0]).match(o)||["-",0,0],Z=y[0],ae=60*+y[1]+ +y[2];return ae===0?0:Z==="+"?ae:-ae}(E),E===null))return this;var D=Math.abs(E)<=16?60*E:E,H=this;if(S)return H.$offset=D,H.$u=E===0,H;if(E!==0){var V=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(H=this.local().add(D+V,r)).$offset=D,H.$x.$localOffset=V}else H=this.utc();return H};var w=l.format;l.format=function(E){var S=E||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return w.call(this,S)},l.valueOf=function(){var E=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*E},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var x=l.toDate;l.toDate=function(E){return E==="s"&&this.$offset?f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():x.call(this)};var C=l.diff;l.diff=function(E,S,I){if(E&&this.$u===E.$u)return C.call(this,E,S,I);var D=this.local(),H=f(E).local();return C.call(D,H,S,I)}}})}(Zh)),Zh.exports}var eW=Zz();const tW=Kr(eW);var ep={exports:{}},rW=ep.exports,vI;function nW(){return vI||(vI=1,function(e,t){(function(r,n){e.exports=n()})(rW,function(){return function(r,n){n.prototype.weekday=function(o){var a=this.$locale().weekStart||0,u=this.$W,f=(u<a?u+7:u)-a;return this.$utils().u(o)?f:this.subtract(f,"day").add(o,"day")}}})}(ep)),ep.exports}var iW=nW();const oW=Kr(iW);let Sh;const sW={"DD/MM/YYYY":{"en-us":"MM/DD/YYYY"},"DD/MM/YYYY, hh:mmA":{"en-us":"MM/DD/YYYY, hh:mmA"},"Do MMMM":{"en-us":"MMMM Do"},"Do MMMM YYYY":{"en-us":"MMMM Do YYYY"},"D MMMM YYYY":{"en-us":"MMMM D YYYY"},"ddd, D MMM YYYY":{"en-us":"ddd, MMM D YYYY"},"ddd, D MMM":{"en-us":"ddd, MMM D"}},aW={getCurrentRegion(){return Sh},setCurrentRegion(e){Sh=e},updateFormatByRegion(e){var r;return Sh&&((r=sW[e])==null?void 0:r[Sh])||e}};Lt.extend(Ez);Lt.extend(DM);Lt.extend(Gz);Lt.extend(Nz);Lt.extend(Pz);Lt.extend(oW);Lt.extend(Bz);Lt.extend(jz);Lt.extend(DM);Lt.extend(Az);Lt.extend(tW);Lt.extend(Qz);const uW=/[\[\]]/g;function lW(e){const t=e.split(":"),r=parseInt(t[0],10)||0,n=parseInt(t[1],10)||0,o=parseInt(t[2],10)||0;return{hours:r,minutes:n,seconds:o}}const Lu={add(e,t,r){return Lt(e).add(t,r).toDate()},subtract(e,t,r){return Lt(e).subtract(t,r).toDate()},format(e,t){return Lt(e).format(aW.updateFormatByRegion(t))},formatToISODate(e){return Lt(e).format("YYYY-MM-DD")},isValid(e){return Lt(e).isValid()},formatIsValid(e,t,r){return Lt(e,t,r).isValid()},fromNow(e,t){return Lt(e).fromNow(!!t)},convertUTCToLocal(e){let t=e;typeof t=="string"&&(t=new Date(t));const r=t.getHours(),n=t.getMinutes(),o=t.getTimezoneOffset()>0,u=Math.abs(t.getTimezoneOffset())/60,f=Math.floor(u),l=Math.floor((u-f)*60);let d=r+f,v=n+l;return o&&(d=r-f,v=n-l),t.setHours(d),t.setMinutes(v),t},convertDateToUTC(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},isBefore(e,t,r){const n=Lt(e);return r?n.isBefore(t,r):n.isBefore(t)},isAfter(e,t,r){const n=Lt(e);return r?n.isAfter(t,r):n.isAfter(t)},isSame(e,t,r){return Lt(e).isSame(Lt(t),r)},isSameOrBefore(e,t,r){return Lt(e).isSameOrBefore(Lt(t),r)},isToday(e){return Lt().isSame(Lt(e),"day")},isBetween(e,t,r){return Lt(e).isSameOrAfter(Lt(t))&&Lt(e).isSameOrBefore(Lt(r))},timeSince(e,t,r){const n=Lt(e);return Lt().diff(n,t,r)},startOf(e,t){return Lt(e).startOf(t).toDate()},endOf(e,t){return Lt(e).endOf(t).toDate()},getTimezoneOffset(){const e=new Date().getTimezoneOffset();if(e===0)return"00:00:00";const t=Math.floor(Math.abs(e/60)),r=Math.abs(e%60),n=t<10?"0"+t:t.toString(),o=r<10?"0"+r:r.toString(),a=`${n}:${o}:00`;return e<0?a:`-${a}`},weekday(e,t){return Lt(e).weekday(t).toDate()},getWeekday(e){return Lt(e).weekday()},daysInMonth(e){return Lt(e).daysInMonth()},get(e,t){return Lt(e).get(t)},set(e,t,r){return Lt(e).set(t,r).toDate()},diffBetween(e,t,r){return Lt(e).diff(Lt(t),r)},getLocalDateOrdinal(e){return Lt.localeData().ordinal(e).replace(uW,"")},parseDateString(e,t){return e?Lt(e,t).toDate():Lt().toDate()},getDurationISOString(e,t){return Lt.duration(e,t).toISOString()},convertISODuration(e,t){switch(t){case"milliseconds":return Lt.duration(e).asMilliseconds();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertISODuration`);break}},convertDurationByUnit(e,t,r){switch(r){case"hours":return Lt.duration(e,t).asHours()}},convertTimestampDuration(e,t){const r=lW(e);switch(t){case"milliseconds":return Lt.duration(r).asMilliseconds();case"seconds":return Lt.duration(r).asSeconds();case"hours":return Lt.duration(r).asHours();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertDurationByUnit`);break}},buildUTCDate(e,t,r){const n=Lt().day(e).hour(t).minute(r).utc().toDate();return Lu.convertDateToUTC(n)},buildLocalDateFromUTC(e,t,r){return Lt().utc().day(e).hour(t).minute(r).local().toDate()},getUtcISOString(e){return Lt(e).utc().toISOString()},formatUtc(e,t){return Lt(e).utc().format(t)},formatUtcString(e,t){return Lt.utc(e).local().format(t)},getDurationComponentByUnit(e,t,r){switch(r){case"hours":return Lt.duration(e,t).hours();case"minutes":return Lt.duration(e,t).minutes();case"seconds":return Lt.duration(e,t).seconds();default:console.error(`Unsupported unit: ${r}, please added in the DateHelper`);break}},getFirstDayInMonthNumMonthsAgo(e){return Lt().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo(e){return Lt().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getUtcTimeByTimezone(e,t,r){return r?Lt.utc(e).tz(r).format(t):Lt.utc(e).format(t)},getUtcStringByTimezone(e,t){return Lt.tz(e,t).utc().toISOString()}},Qw={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"};var vu=(e=>(e.AU="content-ap-southeast-1",e.NZ="content-ap-southeast-2",e.UK="content-eu-west-1",e.SCOT="content-eu-west-2",e.US="content-na-central-1",e.GLOBAL="content-global",e))(vu||{});const cW=/\/$/,Ko={urlBuilder(e,t){const n=Object.entries(t).map(([o,a])=>o&&Array.isArray(a)?a.map(f=>`${o}=${encodeURIComponent(f)}`).join("&"):o&&a!==void 0&&a!==null?`${o}=${encodeURIComponent(a)}`:"").reduce((o,a)=>a?o?`${o}&${a}`:a:o,"");return n?`${e}?${n}`:e},buildFilter(e){const t=[];if(e.limit&&t.push(`limit:${e.limit}`),e.cursor&&t.push(`page:${e.cursor}`),e.before&&t.push(`dateCreated:...${e.before}`),!!t.length)return t.join(",")},makeHttps(e){return typeof e!="string"||e.indexOf("http://")===-1||(e=e.replace("http://","https://")),e},safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r},removeTrailingSlash(e){if(typeof e=="string")return e.replace(cW,"")}};function fW(e,t){if(!(t!=null&&t.length)||typeof e=="string"||!e)return{};const r=t.reduce((n,o)=>({...n,[o]:!0}),{});return Object.keys(e).reduce((n,o)=>(o in r&&(n[o]=e[o]),n),{})}const dW={isBot(){if(!window.URLSearchParams)return!1;const e=new URLSearchParams(window.location.search);return(e==null?void 0:e.get("isBot"))==="true"},getCanonicalLink(e={}){const t=Yr.GetCurrentOrigin(),r=(e==null?void 0:e.customAppLink)||_n.getCurrentAppLink(),n=fW(r.params,e.allowedParams);let o=_n.getHref({...r,params:n},{middlewareOptions:{ignorePresentationSlug:e.stripPresentationSlug??!1}});return typeof e.hrefTransformer=="function"&&(o=e.hrefTransformer(o)),Ko.safeUrlConcat(t,o)}},hW="shared.shared-utils",_p=fr.encloseNamespace(hW),pW=70,Jw=160,gW=/^(.*)\s/,mI="pageTitle",yI="pageDescription",Zw="YYYY-MM-DD",Pl={AU:"au",ENGLAND:"gb",US:"us"},vW={[Pl.AU]:vu.AU,[Pl.ENGLAND]:vu.UK,[Pl.US]:vu.US,[vu.AU]:Pl.AU,[vu.UK]:Pl.ENGLAND,[vu.US]:Pl.US};function wI(e){return e?e.substring(0,e.length-3)+"...":""}function mW(e,t){return e?e.substring(0,t):""}function yW(e,t,r){if(!e)return"";const n=t-r;if(e.length<=n)return e;const o=e.slice(0,n),a=o.match(gW);return a?a[1]:o}function Ca({title:e,phraseContext:t,product:r}){var a;if(!e)return"";if(!t)return _p(mI,{title:e,product:r});const n=((a=t.phraseHandler(t.titlePhrase,{value:""}))==null?void 0:a.length)??0,o=pW-n;return e.length>=o?_p(mI,{title:e,product:r}):t.phraseHandler(t.titlePhrase,{title:e})}function Ta({title:e,description:t,phraseContext:r}){var l,d;const n=wI(mW(t||e,Jw));if(!r)return _p(yI,{description:n});const o=((l=r.phraseHandler(r.descriptionPhrase,{title:"",description:""}))==null?void 0:l.length)??0,a=Jw-o;if((e==null?void 0:e.length)>=a)return _p(yI,{description:n});const u=((d=r.phraseHandler(r.descriptionPhrase,{title:e,description:""}))==null?void 0:d.length)??0,f=wI(yW(t,Jw,u));return r.phraseHandler(r.descriptionPhrase,{title:e,description:f})}function wW(e,t){return(e==null?void 0:e.reduce((r,n)=>{var a,u;const o=(a=vW[n.contentRegion])==null?void 0:a.toUpperCase();return((u=n.id)==null?void 0:u.toString())!==(t==null?void 0:t.toString())||!o?r:[...r,{"@type":"Place",name:o}]},[]))??[]}function EW(e,t){const r=e!=null&&e.datePublished?Lu.format(e==null?void 0:e.datePublished,Zw):Lu.format(e==null?void 0:e.dateCreated,Zw),n=t!=null&&t.dateModified?Lu.format(t==null?void 0:t.dateModified,Zw):"";return{"@context":"https://schema.org","@type":"WebPage",name:e==null?void 0:e.name,description:e==null?void 0:e.description,url:dW.getCanonicalLink(),publisher:{"@type":"Organization",name:"ClickView"},datePublished:r,dateModified:n}}function SW(e,t,r){var n;return{"@context":"https://schema.org","@type":"VideoObject",mainEntityOfPage:{"@type":"WebPage","@id":t},name:e==null?void 0:e.name,description:e==null?void 0:e.description,thumbnailUrl:(n=e==null?void 0:e.thumbnail)==null?void 0:n.url,uploadDate:e==null?void 0:e.dateCreated,duration:Lu.getDurationISOString(e==null?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${Qw.GLOBAL_PLAYER_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${Qw.RESOURCE_ITEM_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${Qw.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:wW(r,e==null?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}let fs="ClickView";const _W={setProduct(e){fs=e},getDefaultMetadata(e){const{title:t,description:r,canonicalLink:n,phraseContext:o,allowIndexing:a,hrefLang:u,product:f,preload:l}=e;return{title:Ca({title:t,phraseContext:o,product:f||fs}),description:Ta({title:t,description:r,phraseContext:o}),canonicalLink:n,allowIndexing:a,hrefLang:u,preload:l,_helperUsed:!0}},getVideoMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:o,hrefLang:a,regionAlternatives:u,product:f}=e;return{title:Ca({title:t==null?void 0:t.name,phraseContext:n,product:f||fs}),description:Ta({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),jsonLd:SW(t,r,u),canonicalLink:r,allowIndexing:o,hrefLang:a,_helperUsed:!0}},getClipMetadata(e){var u;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:o,product:a}=e;return{title:Ca({title:t==null?void 0:t.name,phraseContext:n,product:a||fs}),description:Ta({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((u=t==null?void 0:t._parentVideo)==null?void 0:u.description),phraseContext:n}),canonicalLink:r,allowIndexing:o}},getInteractiveMetadata(e){var u;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:o,product:a}=e;return{title:Ca({title:t==null?void 0:t.name,phraseContext:n,product:a||fs}),description:Ta({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((u=t==null?void 0:t._parentVideo)==null?void 0:u.description),phraseContext:n}),canonicalLink:r,allowIndexing:o,_helperUsed:!0}},getPlaylistMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:o,product:a}=e;return{title:Ca({title:t==null?void 0:t.name,phraseContext:n,product:a||fs}),description:Ta({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:o,_helperUsed:!0}},getSeriesMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:o,product:a}=e;return{title:Ca({title:t==null?void 0:t.name,phraseContext:n,product:a||fs}),description:Ta({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),canonicalLink:r,allowIndexing:o,_helperUsed:!0}},getClassificationMetadata(e){const{content:{classification:t,dashboard:r},canonicalLink:n,phraseContext:o,allowIndexing:a,hrefLang:u,product:f}=e;function l(){var v,p,w,x;return(p=(v=t==null?void 0:t.externalMetadata)==null?void 0:v.seo)!=null&&p.title?`${(x=(w=t.externalMetadata)==null?void 0:w.seo)==null?void 0:x.title} | ${f||fs}`:Ca({title:t==null?void 0:t.name,phraseContext:o,product:f||fs})}function d(){var v,p,w,x;return(p=(v=t==null?void 0:t.externalMetadata)==null?void 0:v.seo)!=null&&p.description?(x=(w=t.externalMetadata)==null?void 0:w.seo)==null?void 0:x.description:Ta({title:t==null?void 0:t.name,phraseContext:o})}return{title:l(),description:d(),canonicalLink:n,allowIndexing:a,jsonLd:r&&EW(t,r),hrefLang:u,_helperUsed:!0}},getDiscoverMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:o,hrefLang:a,product:u}=e;return{title:Ca({title:t==null?void 0:t.name,phraseContext:n,product:u||fs}),description:Ta({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:o,hrefLang:a,_helperUsed:!0}}};function bW(e){let t=e;t._helperUsed||(t=_W.getDefaultMetadata(t)),LM(t.title);const r=dz();if(!r.hasProvider)throw Mt.throw(new Hr("PageMetadataContext must exist in your application to use this hook"));ne.useEffect(()=>{!t||e._isPopupUp||r.hasPageMetadataChanged(t)&&r.setPageMetadata(t)})}const io={Default:{LOG_OUT:"log:out",LOG_IN:"log:in",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",INDEX:"index",GIVE_FEEDBACK:"give:feedback"},Exchange:{INDEX:"index",FOLDER:"folder",MOST_RECENT:"most:recent",SERIES:"series",SEARCH:"search",PREVIEW:"preview",ADD:"add",SUGGEST_EDIT:"suggest:edit",DOWNLOAD_VIDEO:"download:video",ADD_TO_LIBRARY:"add:to:library"},Tv:{INDEX:"index",CHANNELS:"channels",CHANNEL:"channel",PROGRAMS:"programs",SEARCH:"search",PREVIEW:"preview",ADD:"add",AD_FREE_REQUEST:"ad:free:request",BROADCAST_CONTENT:"broadcast:content",ALREADY_ADDED:"already:added",REQUEST_PROGRAM:"request:program",RADIO_DOWNLOAD:"radio:download",TV_GUIDE:"tv:guide"}},xW={ErrorViews:{SMALL:"/images/error-avatars/small/error-{number}.png"},EmptyStates:{SEARCH:"/images/empty-states/results-v2.png",FOLDER:"/images/empty-states/empty-folder-v2.png"},General:{ANNOUNCEMENT_FRAMED:"/images/general/announcement-framed-v2.png",MOUNTAINS_FRAMED:"/images/general/mountains-framed-v2.png",CONFETTI:"/images/general/confetti-v2.png",PAPER_PLANE:"/images/general/paper-plane-v2.png"},ProgramLogos:{FOXTEL:"/images/logos/foxtel.png",BBC:"/images/logos/bbc.png"}},EI="default.error",CW=33;function NM({error:e}){var n,o;bW({title:(e==null?void 0:e.heading)||fr.getPhrase(EI,"defaultPageTitle")});const[t]=ne.useState(mN.getRandomInt(CW)+1),r=xW.ErrorViews.SMALL.replace("{number}",t.toString());return e?Q.jsxs(hs,{children:[Q.jsx(hs.Image,{src:r}),Q.jsx(hs.Heading,{children:e.heading}),!!e.description&&Q.jsx(hs.Info,{injectHtml:e.injectDescriptionHtml,children:e.description}),e.cta!==!1&&Q.jsx(hs.Cta,{text:((n=e.cta)==null?void 0:n.text)??fr.getPhrase(EI,"discoverVideos"),className:`info-link ${e.description?"mt-n2":""}`,appLink:((o=e.cta)==null?void 0:o.appLink)??{application:On.EXCHANGE,action:io.Exchange.INDEX}})]}):Q.jsx(Q.Fragment,{})}class TW extends kS{get channelName(){return On.DEFAULT}get appRoutes(){return{"(/)":"index","*path":"catchAllRoutes"}}get externalRoutes(){return{"logout(/)":"logOut","login(/)":"logIn"}}get appLinks(){return["devError","dialogError","error","notFound","giveFeedback"]}}class AW extends e_{constructor(){super(...arguments);_a(this,"layout")}get name(){return"Default Application"}get layoutOptions(){return{name:sd.DEFAULT_LAYOUT}}get channelName(){return On.DEFAULT}static get router(){return TW}async index(){const{RedirectView:r}=await Zr(async()=>{const{RedirectView:n}=await import("./RedirectView-Bd2ocWHW.js");return{RedirectView:n}},[]);this.layout.showChildView(Ar.CONTENT,Q.jsx(r,{}))}catchAllRoutes(){Mt.throw(new vN)}notFound(){const r=Zt.Radio.channel("error:view").request("current:error");Zr(async()=>{const{NotFoundView:n}=await import("./ExchangeNotFoundView-BxjMr4v3.js");return{NotFoundView:n}},[]).then(({NotFoundView:n})=>{this.layout.showChildView(Ar.CONTENT,Q.jsx(n,{error:r}))})}error(){const r=Zt.Radio.channel("error:view").request("current:error");this.layout.showChildView(Ar.CONTENT,Q.jsx(NM,{error:r}))}dialogError(){const r=Zt.Radio.channel("error:view").request("current:error");if(!r)return;const{dialogOptions:n}=r;Zr(async()=>{const{DialogView:o}=await import("./DialogView-im7-qx9i.js");return{DialogView:o}},[]).then(({DialogView:o})=>{this.layout.showChildView(Ar.POPUP,Q.jsx(o,{title:n.title,text:n.text,buttons:n.buttons,onDone:r.onDone,onFail:r.onFail,closePopup:()=>this.layout.closePopup()}))})}devError(){const r=Zt.Radio.channel("error:view").request("current:error");Zr(async()=>{const{DevErrorView:n}=await import("./DevErrorView-CK5-Rxy-.js");return{DevErrorView:n}},[]).then(({DevErrorView:n})=>{this.layout.showChildView(Ar.CONTENT,Q.jsx(n,{error:r}))})}giveFeedback(){Zr(async()=>{const{GiveFeedbackView:r}=await import("./GiveFeedbackView-C05VDJBO.js");return{GiveFeedbackView:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19])).then(({GiveFeedbackView:r})=>{this.layout.showChildView(Ar.POPUP,Q.jsx(r,{product:no.Exchange,closePopup:()=>this.layout.closePopup()}))})}}var MM=(e=>(e[e.Audience=1]="Audience",e[e.Category=2]="Category",e[e.Channel=3]="Channel",e[e.Chapter=4]="Chapter",e[e.Comment=5]="Comment",e[e.OwnerComment=6]="OwnerComment",e[e.Image=7]="Image",e[e.Thumbnail=8]="Thumbnail",e[e.Avatar=9]="Avatar",e[e.Banner=10]="Banner",e[e.Video=11]="Video",e[e.Trailer=12]="Trailer",e[e.Rating=13]="Rating",e[e.Topic=14]="Topic",e[e.Series=15]="Series",e[e.Season=16]="Season",e[e.HostedMediaObjectCollection=17]="HostedMediaObjectCollection",e[e.ExchangeCollection=18]="ExchangeCollection",e[e.CustomMediaObjectCollection=19]="CustomMediaObjectCollection",e[e.Playlist=20]="Playlist",e[e.ClickViewTvCollection=21]="ClickViewTvCollection",e[e.ClickViewProductionsCollection=22]="ClickViewProductionsCollection",e[e.User=23]="User",e[e.SystemUser=24]="SystemUser",e[e.Customer=25]="Customer",e[e.Country=26]="Country",e[e.Organisation=28]="Organisation",e[e.SystemOrganisation=29]="SystemOrganisation",e[e.Group=30]="Group",e[e.SystemGroup=31]="SystemGroup",e[e.FlagReason=32]="FlagReason",e[e.Library=33]="Library",e[e.Interactive=34]="Interactive",e[e.WorkspaceCollection=35]="WorkspaceCollection",e[e.Conversation=36]="Conversation",e[e.Message=37]="Message",e[e.Notification=38]="Notification",e[e.Clip=39]="Clip",e[e.Link=40]="Link",e[e.UserChannel=41]="UserChannel",e[e.Resource=42]="Resource",e[e.VideoStream=43]="VideoStream",e[e.AudioStream=44]="AudioStream",e[e.Tag=45]="Tag",e[e.Subtitle=46]="Subtitle",e[e.LicencedContentCollection=47]="LicencedContentCollection",e[e.PublicCollection=48]="PublicCollection",e[e.CategoryTree=49]="CategoryTree",e[e.Logo=50]="Logo",e[e.Permission=51]="Permission",e[e.Subject=52]="Subject",e[e.Field=53]="Field",e[e.Company=54]="Company",e[e.Person=55]="Person",e[e.Cover=56]="Cover",e[e.Poster=57]="Poster",e[e.SubjectAudience=58]="SubjectAudience",e[e.TallPoster=60]="TallPoster",e[e.Classroom=67]="Classroom",e[e.ClassroomGroup=68]="ClassroomGroup",e[e.UserProfile=74]="UserProfile",e))(MM||{});const $M={MixedMediaUpload:"MixedMediaUploadService",Context:"ContextService"},RW=5,OW=3;class IW extends Wi{constructor(){super(...arguments),this.routeHistory=[],this.contextHistory=[]}get name(){return $M.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(Nr.SHELL,jr.ROUTE,this.setContext),this.listenTo(Nr.SHELL,jr.ROUTE,this.updateRouteHistory)}setContext(t){var r;_n.isEqual(t,(r=this.getCurrentContext())==null?void 0:r.appLink)||(this.contextHistory.length>=RW&&this.contextHistory.shift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t}))}getCurrentContext(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}getPreviousContext(){if(!(!this.contextHistory.length||this.contextHistory.length-2<0))return this.contextHistory[this.contextHistory.length-2]}updateRouteHistory(t){var n;_n.getHref(t)&&(_n.isEqual(t,(n=this.getCurrentRoute())==null?void 0:n.appLink)||(this.routeHistory.length>=OW&&this.routeHistory.shift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:t})))}getCurrentRoute(){if(this.routeHistory.length)return this.routeHistory[this.routeHistory.length-1]}getPreviousRoute(){if(!(!this.routeHistory.length||this.routeHistory.length-2<0))return this.routeHistory[this.routeHistory.length-2]}fromPageLoad(){return this.contextHistory.length===1}_forcePushContext(t){this.setContext(t),this.updateRouteHistory(t)}}const m_=new IW,FM={getStorage(){return window.localStorage?window.localStorage:window.sessionStorage?window.sessionStorage:FM.getMemoryStorage()},getMemoryStorage(){const e=new Map;return{setItem(t,r){e.set(t,r)},getItem(t){return e.get(t)},removeItem(t){e.delete(t)},clear(){e.clear()},get length(){return e.size},key(t){return Array.from(e.values())[t]}}}};var Yo=(e=>(e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage",e))(Yo||{});class y_{constructor(t){if(this.cachePrefix="_cv:",this.expireTime=3600,this.type=t.type,this.hasSupport=this.hasBrowserSupport(),!!this.hasSupport)try{this.type==="memoryStorage"?this.storage=FM.getMemoryStorage():this.storage=window[this.type]}catch{}}isAvailable(){return this.hasSupport}get(t){if(!this.hasSupport)return;const r=this.storage.getItem(t);try{return JSON.parse(r)}catch{return r}}set(t,r){if(this.hasSupport)try{return this.storage.removeItem(t),typeof r!="string"?(this.storage.setItem(t,JSON.stringify(r)),!0):(this.storage.setItem(t,r),!0)}catch{return!1}}remove(t){if(this.hasSupport)return this.storage.removeItem(t)}length(){if(this.hasSupport)return this.storage.length}clear(){if(this.hasSupport)return this.storage.clear()}cacheSet(t,r,n=this.expireTime){this.cacheClean();const o={time:this.getCurrentTime()+n*1e3,data:typeof r<"u"&&r!==null&&r};return this.set(`${this.cachePrefix}${t}`,o)}cacheGet(t){const r=`${this.cachePrefix}${t}`,n=this.get(r);return n?this.isExpired(n)?(this.remove(r),null):n.data:null}cacheExists(t){const r=`${this.cachePrefix}${t}`,n=this.get(r);return n?this.isExpired(n)?(this.remove(r),!1):!0:!1}cacheRemove(t){return this.remove(`${this.cachePrefix}${t}`)}cacheFlush(){this.cacheClean()}cacheClean(){if(this.hasSupport)for(let t=0;t<this.storage.length;t++){const r=this.storage.key(t);if(r.indexOf(this.cachePrefix)===0){const n=this.get(r);n&&n.time&&this.isExpired(n)&&this.remove(r)}}}isExpired(t){return t.time<this.getCurrentTime()}getCurrentTime(){return new Date().getTime()}hasBrowserSupport(){if(this.type==="memoryStorage")return!0;try{return this.type in window&&window[this.type]!==null}catch{return!1}}}class PW extends y_{static get Instance(){return this.instance||(this.instance=new this({type:"localStorage"}))}}class kW extends y_{static get Instance(){return this.instance||(this.instance=new this({type:"sessionStorage"}))}}class LW extends y_{static get Instance(){return this.instance||(this.instance=new this({type:"memoryStorage"}))}}const Bn=PW.Instance,bp=kW.Instance,SI=LW.Instance;var Wo=(e=>(e.Newest="newest",e.Oldest="oldest",e.RecentlyAdded="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa",e.Series="series",e.ProductionYear="production_year",e))(Wo||{});const DW=(e,t)=>`${t?`${t}:`:""}video:sort:${e}`,NW=Wo.RecentlyAdded,_I={getValidSortTypeFromParam(e){return Object.values(Wo).includes(e)?e:Wo.Newest},getOrSetSortType(e,t,r,n){const o=DW(e,n);return(t||!Bn.cacheExists(o))&&Bn.cacheSet(o,t||r||NW),t||(t=Bn.cacheGet(o)),t},getVideoSortParam(e){switch(e){case Wo.AtoZ:return"orderby:name";case Wo.ZtoA:return"orderbydesc:name";case Wo.Newest:return"orderbydesc:datecreated";case Wo.Oldest:return"orderby:datecreated";case Wo.RecentlyAdded:return"orderbydesc:timestamp";case Wo.Series:return"orderby:seriessort";case Wo.ProductionYear:return"orderbydesc:productionyear";default:return}}},Va={config(e,t){return{url:"/api/config",key:"config",bootstrapName:"config",success:e,error:t}},version(e,t){return{url:"/api/version",key:"version",bootstrapName:"version",normalize:!1,success:e,error:t}},geoLocation(){return{url:"/api/geolocation",key:"geolocation",normalize:!1,bootstrapName:"geolocation"}}},Du={LOCALE:"locale",PHRASES:"phrases",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser",PRODUCTS:"products"},w_={userProducts(e,t){return{url:"{gateway}/v1/users/me/products",key:"user:products",normalizeOptions:{namespace:"product"},success:e,error:t,bootstrapName:Du.PRODUCTS}}};let eE=!1,tE=!1,rE=!1,nE=!0;class MW extends Wi{get name(){return"LayoutHelper"}shouldHideNav(){return eE}disableNav(){eE=!0}enableNav(){eE=!1}shouldHideHeader(){return tE}disableHeader(){tE=!0}enableHeader(){tE=!1}lockContentWidth(){rE=!0,this.trigger("change:lockContentWidth")}unlockContentWidth(){rE=!1,this.trigger("change:lockContentWidth")}shouldLockContentWidth(){return!!rE}shouldShowSearch(){return nE}enableSearch(){nE=!0}disableSearch(){nE=!1}}const jM=new MW,bI="exchangeShared.noAccess";class $W extends dg{constructor(r){super("Current user's school does not have access to Exchange");_a(this,"config");this.config=r}get name(){return"NoAccessError"}get heading(){return fr.getPhrase(bI,"heading")}get description(){return fr.getPhrase(bI,"body")}get cta(){return!1}get injectDescriptionHtml(){return!0}}const FW=[{application:On.DEFAULT,action:io.Default.ERROR},{application:On.DEFAULT,action:io.Default.DEV_ERROR},{application:On.DEFAULT,action:io.Default.LOG_IN},{application:On.DEFAULT,action:io.Default.LOG_OUT}],jW=FW.reduce((e,t)=>(e[UM(t)]=!0,e),{});function UM(e){return e.application+e.action}function xI(e,t){m_._forcePushContext(e),jM.disableNav(),qo.routingEnded(),Mt.throw(t??new sc)}async function VM(e,t){const{appLink:r,shell:n}=e;try{if((await Ti(n.store,w_.userProducts())).find(u=>u.id===no.Exchange)){t(e);return}if(jW[UM(e.appLink)]){jM.disableNav(),t(e);return}const a=await Ti(n.store,Va.config());xI(r,new $W(a))}catch{xI(r)}}class UW extends kS{get channelName(){return On.EXCHANGE}get appRoutes(){return{"exchange(/)":"index","exchange/folders/:id(/:slug)":"folder","exchange/series/:id(/:slug)":"series","exchange/search(/)":"search","exchange/most-recent(/)":"mostRecent","exchange/videos/:id(/)":"preview"}}get appLinks(){return["add","suggestEdit","downloadVideo","addToLibrary"]}get filters(){return[VM]}}class CI extends e_{constructor(){super(...arguments);_a(this,"layout")}get name(){return"Exchange Application"}get layoutOptions(){return{name:sd.DEFAULT_LAYOUT,options:{alertRegion:Ar.ALERT}}}get channelName(){return On.EXCHANGE}static get router(){return UW}async index(){const{ExchangeView:r}=await Zr(async()=>{const{ExchangeView:n}=await import("./ExchangeView-DCrYAO5x.js");return{ExchangeView:n}},__vite__mapDeps([20,21,22,23,24,25,26,27,28,29,30,31,11,32,33,34,35,36,37,16,38,39,40,41,42,43,44,45,46,47,2,48]));this.layout.showChildView(Ar.CONTENT,Q.jsx(r,{}))}async folder(r,n,o){const a=typeof n=="string"?o==null?void 0:o.sort:n==null?void 0:n.sort,u=a&&_I.getValidSortTypeFromParam(a),{ExchangeFolderView:f}=await Zr(async()=>{const{ExchangeFolderView:l}=await import("./ExchangeFolderView-BpMNAmMQ.js");return{ExchangeFolderView:l}},__vite__mapDeps([49,24,25,21,22,23,26,27,28,29,30,31,11,32,33,50,48,34,51,52,17,53,54,55,42,43,44,2,56,41,57,1,58,59,4,10,60,61,36,62,35,37,16,38,39,40,45,46,47,63,64]));this.layout.showChildView(Ar.CONTENT,Q.jsx(f,{folderId:r,sort:u}))}async series(r,n,o){const a=typeof n=="string"?o==null?void 0:o.sort:n==null?void 0:n.sort,u=a&&_I.getValidSortTypeFromParam(a),{ExchangeSeriesView:f}=await Zr(async()=>{const{ExchangeSeriesView:l}=await import("./ExchangeSeriesView-b1ayep0S.js");return{ExchangeSeriesView:l}},__vite__mapDeps([65,63,17,64,51,31,11,32,28,29,52,27,30,53,50,48,34,26,54,55,42,43,44,2,56,41,57,1,58,59,4,10,24,25,60,61,36,35,46,47,62]));this.layout.showChildView(Ar.CONTENT,Q.jsx(f,{seriesId:r,sort:u}))}async search(r){const{ExchangeSearchResultsView:n}=await Zr(async()=>{const{ExchangeSearchResultsView:o}=await import("./ExchangeSearchResultsView-GbfK9RDh.js");return{ExchangeSearchResultsView:o}},__vite__mapDeps([66,27,28,29,30,55,42,43,44,2,56,11,12,13,31,32,14,67,60,3,68,50,48,34,26,51,52,17,53,54,41,57,1,58,59,4,10,24,25,61,69,70,8,47,64,71,37,16,38,62,72,46,36,73]));this.layout.showChildView(Ar.CONTENT,Q.jsx(n,{queryParams:r||{}}))}async mostRecent(){const{ExchangeMostRecentView:r}=await Zr(async()=>{const{ExchangeMostRecentView:n}=await import("./ExchangeMostRecentView-DQH8FDqI.js");return{ExchangeMostRecentView:n}},__vite__mapDeps([74,51,31,11,32,28,29,52,27,30,17,53,50,48,34,26,54,55,42,43,44,2,56,41,57,1,58,59,4,10,24,25,60,61,36,37,16,38,39,40,45,46,47,62]));this.layout.showChildView(Ar.CONTENT,Q.jsx(r,{}))}async preview(r,n){const{pageLoad:o}=m_.getCurrentRoute();o&&this.index();const{ExchangePreviewView:a}=await Zr(async()=>{const{ExchangePreviewView:u}=await import("./ExchangePreviewView-Od2pV8fa.js");return{ExchangePreviewView:u}},__vite__mapDeps([75,54,56,42,2,76,77,6,15,58,55,43,44,59,11,10,16,52,67,60,3,14,68,4,41,1,78,27,28,29,30,24,25,57,18,48,34,79,80,81,82,83,84,85,86,62,87]));this.layout.showChildView(Ar.POPUP,Q.jsx(a,{videoId:r,currentTime:n,closePopup:()=>this.layout.closePopup()}))}async add(r){const{ExchangeAddView:n}=await Zr(async()=>{const{ExchangeAddView:o}=await import("./ExchangeAddView-CwHPqfoQ.js");return{ExchangeAddView:o}},__vite__mapDeps([88,54,56,42,2,1,46,47,87]));this.layout.showChildView(Ar.POPUP,Q.jsx(n,{id:r,closePopup:()=>this.layout.closePopup()}))}async suggestEdit(r){const{ExchangeSuggestEditView:n}=await Zr(async()=>{const{ExchangeSuggestEditView:o}=await import("./ExchangeSuggestEditView-3CoGs1xA.js");return{ExchangeSuggestEditView:o}},__vite__mapDeps([89,54,90,5,6,7,9,70,72,56,42,2,1,91,46,47,87]));this.layout.showChildView(Ar.POPUP,Q.jsx(n,{videoId:r,closePopup:()=>this.layout.closePopup()}))}downloadVideo(r){Zr(async()=>{const{DownloadVideoView:n}=await import("./DownloadVideoView-Dcsxo22U.js");return{DownloadVideoView:n}},__vite__mapDeps([92,78])).then(({DownloadVideoView:n})=>{this.layout.showChildView(Ar.HIDDEN,Q.jsx(n,{id:r}))})}addToLibrary(r){Zr(async()=>{const{AddToLibraryView:n}=await import("./AddToLibraryView-BbpiFnD1.js");return{AddToLibraryView:n}},__vite__mapDeps([93,15,5,6,7,24,25,22,23,60,34,56,42,2,1,91,55,43,44,94])).then(({AddToLibraryView:n})=>{this.layout.showChildView(Ar.POPUP,Q.jsx(n,{id:r,typeId:MM.Video,closePopup:()=>this.layout.closePopup()}))})}}class VW extends kS{get channelName(){return On.TV}get appRoutes(){return{"tv(/)":"index","tv/:region/channels(/)":"channels","tv/:region/channels/:channelId(/)":"channel","tv/:region/programs(/)":"programs","tv/:region/search(/)":"search","tv/:region/guide":"tvGuide"}}get appLinks(){return["preview","add","adFreeRequest","broadcastContent","alreadyAdded","requestProgram","radioDownload"]}get filters(){return[VM]}}class TI extends e_{constructor(){super(...arguments);_a(this,"layout")}get name(){return"Tv Application"}get layoutOptions(){return{name:sd.DEFAULT_LAYOUT,options:{alertRegion:Ar.ALERT}}}get channelName(){return On.TV}static get router(){return VW}async index(){const{TvHomeView:r}=await Zr(async()=>{const{TvHomeView:n}=await import("./TvHomeView-B_wgL0pd.js");return{TvHomeView:n}},__vite__mapDeps([95,96,35,36,97]));this.layout.showChildView(Ar.CONTENT,Q.jsx(r,{}))}async channels(r){const{TvChannelsView:n}=await Zr(async()=>{const{TvChannelsView:o}=await import("./TvChannelsView-eH68B1en.js");return{TvChannelsView:o}},__vite__mapDeps([98,35,36,99,84,97,40,41,11,42,43,44,45,100,52,16,101,102,96,103,3,104]));this.layout.showChildView(Ar.CONTENT,Q.jsx(n,{region:r}))}async channel(r,n,o){const{TvChannelView:a}=await Zr(async()=>{const{TvChannelView:u}=await import("./TvChannelView-fMD7YYjb.js");return{TvChannelView:u}},__vite__mapDeps([105,36,35,106,22,23,107,28,29,79,80,83,84,85,99,97,40,41,11,42,43,44,45,100,52,16,101,102,96,108]));this.layout.showChildView(Ar.CONTENT,Q.jsx(a,{region:r,channelId:n,selectedRegion:o.region}))}async programs(r,n){const{TvProgramsView:o}=await Zr(async()=>{const{TvProgramsView:a}=await import("./TvProgramsView-CIGHzdBW.js");return{TvProgramsView:a}},__vite__mapDeps([109,36,35,106,22,23,107,99,84,97,40,41,11,42,43,44,45,100,52,16,101,102,96,28,29,83,85,110]));this.layout.showChildView(Ar.CONTENT,Q.jsx(o,{region:r,startsWith:n.startsWith}))}async search(r,n){const{TvSearchResultsView:o}=await Zr(async()=>{const{TvSearchResultsView:a}=await import("./TvSearchResultsView-C2maqf2-.js");return{TvSearchResultsView:a}},__vite__mapDeps([111,69,11,51,31,32,28,29,52,27,30,17,53,4,70,67,60,3,14,68,41,42,43,44,1,8,47,64,71,36,35,100,16,101,97,112,57,102,96,24,25,79,80,81,82,83,84,85,113]));this.layout.showChildView(Ar.CONTENT,Q.jsx(o,{region:r,queryParams:n}))}async preview(r,n,o){const{TvPreviewView:a}=await Zr(async()=>{const{TvPreviewView:u}=await import("./TvPreviewView-DG7HOmV0.js");return{TvPreviewView:u}},__vite__mapDeps([114,76,77,6,15,58,55,42,43,44,2,56,59,11,10,16,52,67,60,3,14,68,4,41,1,78,27,28,29,30,24,25,57,18,48,34,79,80,81,82,83,84,85,86,97,112,102,36]));this.layout.showChildView(Ar.POPUP,Q.jsx(a,{region:r,id:n,currentTime:o.currentTime,closePopup:()=>this.layout.closePopup()}))}async add(r,n,o){const{TvAddView:a}=await Zr(async()=>{const{TvAddView:u}=await import("./TvAddView-B1D9QlK5.js");return{TvAddView:u}},__vite__mapDeps([115,76,97,1,116]));this.layout.showChildView(Ar.POPUP,Q.jsx(a,{region:r,id:n,currentTime:o.currentTime,closePopup:()=>this.layout.closePopup()}))}async adFreeRequest(r,n){const{TvAdFreeRequestView:o}=await Zr(async()=>{const{TvAdFreeRequestView:a}=await import("./TvAdFreeRequestView-DI72pb_f.js");return{TvAdFreeRequestView:a}},__vite__mapDeps([117,76,97,102,36]));this.layout.showChildView(Ar.POPUP,Q.jsx(o,{region:r,id:n,closePopup:()=>this.layout.closePopup()}))}async broadcastContent(r){const{TvBroadcastContentView:n}=await Zr(async()=>{const{TvBroadcastContentView:o}=await import("./TvBroadcastContentView-BdIK-pK2.js");return{TvBroadcastContentView:o}},__vite__mapDeps([118,97,84,119]));this.layout.showChildView(Ar.POPUP,Q.jsx(n,{region:r,closePopup:()=>this.layout.closePopup()}))}async alreadyAdded(r){const{TvAlreadyAddedView:n}=await Zr(async()=>{const{TvAlreadyAddedView:o}=await import("./TvAlreadyAddedView-DFqGZwQO.js");return{TvAlreadyAddedView:o}},__vite__mapDeps([120,121]));this.layout.showChildView(Ar.POPUP,Q.jsx(n,{params:r,closePopup:()=>this.layout.closePopup()}))}async requestProgram(r,n){const{TvRequestProgramView:o}=await Zr(async()=>{const{TvRequestProgramView:a}=await import("./TvRequestProgramView-D4tAgJGb.js");return{TvRequestProgramView:a}},__vite__mapDeps([122,5,6,7,3,1,91,97,103,90]));this.layout.showChildView(Ar.POPUP,Q.jsx(o,{region:r,instanceRegion:n,closePopup:()=>this.layout.closePopup()}))}async radioDownload(r,n){const{TvRadioDownloadView:o}=await Zr(async()=>{const{TvRadioDownloadView:a}=await import("./TvRadioDownloadView-BBjF31yx.js");return{TvRadioDownloadView:a}},__vite__mapDeps([123,83,84,85,97]));this.layout.showChildView(Ar.POPUP,Q.jsx(o,{region:r,id:n,closePopup:()=>this.layout.closePopup()}))}async tvGuide(r){const{TvGuideView:n}=await Zr(async()=>{const{TvGuideView:o}=await import("./TvGuideView-CTuQRLzy.js");return{TvGuideView:o}},__vite__mapDeps([124,99,84,97,40,41,11,42,43,44,45,100,52,16,101,96,35,36]));this.layout.showChildView(Ar.CONTENT,Q.jsx(n,{region:r}))}}async function HW(e,t){var r;try{const o=(r=(await Ti(e.store,bu.customerSettings()))[zt.ExchangeTvProductOption])==null?void 0:r.value;switch(e.registerApplication(AW),o){case"exchange":{e.registerApplication(CI),t(e);return}case"tv":{e.registerApplication(TI),t(e);return}case"exchange_and_tv":{e.registerApplication(CI).registerApplication(TI),t(e);return}}}catch{Mt.throw(new sc)}}var Go=(e=>(e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending",e))(Go||{}),BW=(e=>(e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI",e))(BW||{});class zW extends Wi{constructor(t){super(t)}initialize(){this.alertCollection=new Zp,this.listenTo(Nr.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}get name(){return cg.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){const t=Zt.Radio.channel(Nr.ALERT);let r={collection:this.alertCollection};this.options.alertViewCtor&&(r=_i({},r,{ctor:this.options.alertViewCtor})),t.trigger("show:alert",r)}removeAlert(t){this.alertCollection.remove(t),this.showAlerts()}createAlert(t){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),t.id||(t=_i({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new Ks(t)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(t){return typeof t=="string"?ds(()=>this.createAlert(_i({},this.options.defaultSuccessAlert,{message:t})),this):t.useXHR?ds((r,n)=>this.createAlert(_i({},this.options.defaultSuccessAlert,{message:n})),this):ds(()=>this.createAlert(_i({},this.options.defaultSuccessAlert,t)),this)}error(t){return typeof t=="string"?ds(()=>this.createAlert(_i({},this.options.defaultErrorAlert,{message:t})),this):t.useXHR?ds(r=>this.createAlert(_i({},this.options.defaultErrorAlert,{message:r.message})),this):ds(()=>this.createAlert(_i({},this.options.defaultErrorAlertIL_DEFAULT,t)),this)}generateUniqueAlertId(){return tS("alert_")}}class WW extends Wi{constructor(){super(),this.constructors={},this.destructors={},this.instances={},this.singletonInstances={},this.referenceCounts={}}get name(){return"InstanceManager"}static get Instance(){return this.instance||(this.instance=new this)}registerDataService(t,r){this.validateConstructor(t);const n=t.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new t({dataProvider:this.getInstance(r.dataProvider),cache:this.getInstance(r.cache),bootstrapData:r.bootstrapData,defaultErrorHandler:r.defaultErrorHandler,alertService:r.alertService}),this.destructors[n]=()=>{this.instances[n]?this.instances[n].destroy():Mt.throw(new Hr(`Trying to destroy a ${n} instance that has already been destroyed`)),this.releaseInstance(r.dataProvider),this.releaseInstance(r.cache)},this}registerInstance(t,r){this.validateConstructor(t);const n=t.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new t(r),this.destructors[n]=()=>yr(this.instances[n].destroy)&&this.instances[n].destroy(),this}registerSingleton(t){const r=t.name;return this.singletonInstances[r]=t,this}getInstance(t,r){return this.singletonInstances[t]?this.singletonInstances[t]:(this.constructors[t]||Mt.throw(new Hr(`${t} was not registered with ${this.name}`)),this.referenceCounts[t]++,r&&this.listenTo(r,"destroy",()=>this.releaseInstance(t)),this.instances[t]||(this.instances[t]=this.constructors[t]()),this.instances[t])}releaseInstance(t){if(this.instances[t])return window.setTimeout(()=>{this.referenceCounts[t]--,this.referenceCounts[t]<1&&(this.destructors[t](),delete this.instances[t])},0),this}validateConstructor(t){const r=t.prototype.name;r||Mt.throw(new Hr(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[r]&&Mt.throw(new Hr(`A class with the name: ${r} has already been registered with ${this.name}`))}}const zs=WW.Instance;class Qu extends Jp{constructor(t){super(t),this.dialogOptions||Mt.throw(new Hr("Please provide DialogOptions for your implementation of DialogError"))}get name(){return"DialogError"}onDone(){}onFail(){}}const _h="shared.chunkLoadError",qW=/\/([^\s/]+\.css)/,GW=/\/([^\s/]+\.js)/;class AI extends Qu{constructor(t,r,n){super(fr.getPhrase(_h,"title",{chunkName:r})),this.product="ClickView",this.btnVariant=t,n&&(this.product=n)}get name(){return"ChunkLoadError"}get dialogOptions(){return{title:fr.getPhrase(_h,"heading",{product:this.product}),text:fr.getPhrase(_h,"body"),buttons:[{text:fr.getPhrase(_h,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Yr.Reload()}}function YW(e,t){window.addEventListener("error",r=>{var f,l;const n=((f=r==null?void 0:r.target)==null?void 0:f.src)||((l=r==null?void 0:r.target)==null?void 0:l.href);if(!n)return;const o=d=>(d==null?void 0:d[1])??"Unknown Chunk",a=n.match(GW);if(a&&n.includes("/scripts/")&&n.includes(".chunk.js")){Mt.throw(new AI(e,o(a),t));return}const u=n.match(qW);if(u&&n.includes("/css/")&&n.includes(".chunk.css")){Mt.throw(new AI(e,o(u),t));return}},!0)}class HM extends Jp{get name(){return"AlertError"}}const t1={Success:"Success! 🙌",Warning:"Whoops...",Fail:"Oops...",Info:"FYI"};function KW(e){zs.getInstance(cg.ALERT).createAlert({heading:t1.Fail,type:Go.Fail,message:e.message})}function XW(e){Zt.Radio.channel("error:view").replyOnce("current:error",()=>e),_n.trigger({application:On.DEFAULT,action:io.Default.NOT_FOUND})}function RI(e){Zt.Radio.channel("error:view").replyOnce("current:error",()=>e),_n.trigger({application:On.DEFAULT,action:io.Default.ERROR})}function QW(e){Zt.Radio.channel("error:view").replyOnce("current:error",()=>e),_n.trigger({application:On.DEFAULT,action:io.Default.DIALOG_ERROR})}function JW(e,t){e.registerErrorHandler(dg,RI).registerErrorHandler(Qu,QW).registerErrorHandler(HM,KW).registerErrorHandler(vN,XW).registerErrorHandler(sc,RI),YW("dark"),t(e)}class ZW extends pV{constructor(){super(...arguments),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(t){return er&&er.isValidElement(t)}showChildView(t,r,n){if(this.isReactComponent(r)){this.showChildReactComponent(t,r),this.isReactComponentRendered[t]=!0;return}this.isReactComponentRendered[t]&&this.unmountRoot(t),super.showChildView(t,r,n),this.isReactComponentRendered[t]=!1}showChildReactComponent(t,r){if(this.isAttached()){this.renderChildReactComponent(t,r);return}this.listenToOnce(this,"attach",()=>this.renderChildReactComponent(t,r))}renderChildReactComponent(t,r){const n=this.getRegion(t),o=this.$el.find(n.el);!o||!o.length||(n.trigger("before:show"),this.regionRoots[t]||(this.regionRoots[t]=g_.createRoot(o[0])),this.regionRoots[t].render(r),window.setTimeout(()=>n.trigger("show"),0),this.listenToOnce(this,`unmount:${t}`,()=>this.unmountRoot(t)),this.listenToOnce(this,"before:destroy",()=>this.unmountRoot(t)))}unmountRoot(t){this.regionRoots[t]&&(this.regionRoots[t].unmount(),delete this.regionRoots[t])}wrapWithStore(t){return Q.jsx(QD,{store:this.options.store,children:t})}}class iE extends er.Component{constructor(t){super(t),this.currentErrorHandled=!1,this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){this.currentErrorHandled||(this.currentErrorHandled=!0,window.trackJs&&window.trackJs.console.error(t.message,{errorInfo:r}),this.props.throwError&&(Mt.throw(new this.props.throwError(t.message)),window.setTimeout(()=>{this.currentErrorHandled=!1,this.setState({error:null})},500)))}render(){const{error:t}=this.state;if(t&&this.props.renderError){const r=this.props.renderError;return Q.jsx(r,{})}return t||!this.props.children?Q.jsx(Q.Fragment,{}):this.props.children}}function eq(e){return document.querySelector(`.${e}`)}const tq=er.createContext(null);function rq(e){const[t,r]=er.useState();return er.useEffect(()=>{r(eq(e.containerClassName))},[]),Q.jsx(tq.Provider,{value:{container:t},children:e.children})}function kl(e){const[t,r]=ne.useState(window.matchMedia(e).matches);return ne.useEffect(()=>{const n=window.matchMedia(e);n.matches!==t&&r(n.matches);const o=()=>r(n.matches);return n.addListener(o),()=>n.removeListener(o)},[e]),t}const nq=er.createContext({}),iq=e=>{const t=kl("(max-width: 575.98px)"),r=kl("(min-width: 576px) and (max-width: 767.98px)"),n=kl("(min-width: 768px) and (max-width: 991.98px)"),o=kl("(min-width: 992px) and (max-width: 1199.98px)"),a=kl("(min-width: 1200px) and (max-width: 1439.98px)"),u=kl("(min-width: 1440px)"),f=er.useMemo(()=>({xs:t,sm:r,md:n,lg:o,xl:a,xxl:u}),[t,r,n,o,a,u]);return Q.jsx(nq.Provider,{value:f,children:e.children})},oE="shared.unspecifiedDialogError";class oq extends Qu{constructor(){super("Unspecified dialog error"),this.btnVariant="dark"}get name(){return"UnspecifiedDialogError"}get dialogOptions(){return{title:fr.getPhrase(oE,"title"),text:fr.getPhrase(oE,"body"),buttons:[{text:fr.getPhrase(oE,"close"),className:`btn btn-${this.btnVariant}`,success:!0}]}}}const Ws={UPLOAD_COMPLETE:"upload:complete",UPLOAD_SUCCESS:"upload:success",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",UNLOCK_NAV:"upload:unlock:nav"},cf={VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",MIXED_MEDIA_UPLOAD:"media:upload:service"};function sq(e){const t=e.showSpinner?Q.jsx(wg,{as:"span",animation:"border",role:"status",size:"sm"}):e.children;if(e.tooltip&&e.svg){let n=e.className??"";return e.disabled&&!e.appLink&&(n+=" pointer-events-none"),Q.jsx(Yl,{title:e.tooltip,spanHack:!0,children:Q.jsx(QE,{appLink:e.appLink,href:e.href,svg:e.svg,svgSize:e.svgSize,onClick:e.onClick,className:n,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.tooltip,children:t})})}if(e.svg)return Q.jsx(QE,{onClick:e.onClick,appLink:e.appLink,href:e.href,svg:e.svg,svgSize:e.svgSize,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,children:t});if(e.tooltip&&e.appLink)return Q.jsx(Yl,{title:e.tooltip,spanHack:!0,children:Q.jsx(co,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.tooltip,children:t})});if(e.appLink)return Q.jsx(co,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,children:t});function r(n){e.analyticsData&&e.analyticsOptions&&Ai.logUserAction(e.analyticsData,e.analyticsOptions),lo.isFunction(e.onClick)&&e.onClick(n)}return e.tooltip?Q.jsx(Yl,{title:e.tooltip,spanHack:!0,children:Q.jsx("button",{onClick:r,className:`${e.className??""}${e.disabled?" pointer-events-none":""}`,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}):Q.jsx("button",{onClick:r,className:e.className,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}const aq=(e,t,r,n=[])=>{const o=typeof e=="string"?Zt.Radio.channel(e):e;ne.useEffect(()=>{if(e)return o.on(t,r),()=>{e&&o.off(t,r)}},n)};function uq(){return Q.jsx("div",{className:"text-center p-5",children:Q.jsx(wg,{as:"div",animation:"border",role:"status"})})}BM.defaultProps={closeButton:!0,bodyClassName:"",dialogClassName:"",size:"md",closeOnNavigate:!0};function BM(e){var n;LM(e.title);const t=(o,a)=>{!e.closeOnNavigate||!a.isAppRoute||e.closePopup()};aq(Nr.SHELL,jr.ROUTE,t,[e.closePopup]);const r=(n=e.headerButtons)!=null&&n.length?e.headerButtons.map((o,a)=>Q.jsx(sq,{...o},a)):Q.jsx(Q.Fragment,{});return Q.jsxs(mh,{show:!0,onHide:e.closePopup,onEntered:e.onEntered,size:e.size==="md"?null:e.size,contentClassName:e.contentClassName,dialogClassName:e.dialogClassName,centered:e.centered,backdrop:e.backdrop,container:document.getElementById("dialog-region"),restoreFocus:!0,animation:e.animation,children:[!!e.title&&!e.hideTitle&&Q.jsxs(mh.Header,{className:"d-flex align-items-center bg-white",closeButton:e.closeButton,children:[Q.jsx(mh.Title,{as:"h2",className:"h4 flex-grow-1 text-truncate",children:e.title}),r]}),e.showLoadingSpinner?Q.jsx(uq,{}):Q.jsx(mh.Body,{className:e.bodyClassName,children:e.children})]})}var sE,OI;function lq(){if(OI)return sE;OI=1;var e=Array.isArray,t=Object.keys,r=Object.prototype.hasOwnProperty,n=typeof Element<"u";function o(a,u){if(a===u)return!0;if(a&&u&&typeof a=="object"&&typeof u=="object"){var f=e(a),l=e(u),d,v,p;if(f&&l){if(v=a.length,v!=u.length)return!1;for(d=v;d--!==0;)if(!o(a[d],u[d]))return!1;return!0}if(f!=l)return!1;var w=a instanceof Date,x=u instanceof Date;if(w!=x)return!1;if(w&&x)return a.getTime()==u.getTime();var C=a instanceof RegExp,E=u instanceof RegExp;if(C!=E)return!1;if(C&&E)return a.toString()==u.toString();var S=t(a);if(v=S.length,v!==t(u).length)return!1;for(d=v;d--!==0;)if(!r.call(u,S[d]))return!1;if(n&&a instanceof Element&&u instanceof Element)return a===u;for(d=v;d--!==0;)if(p=S[d],!(p==="_owner"&&a.$$typeof)&&!o(a[p],u[p]))return!1;return!0}return a!==a&&u!==u}return sE=function(u,f){try{return o(u,f)}catch(l){if(l.message&&l.message.match(/stack|recursion/i)||l.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",l.name,l.message),!1;throw l}},sE}var cq=lq();const Ia=Kr(cq);var fq=function(t){return dq(t)&&!hq(t)};function dq(e){return!!e&&typeof e=="object"}function hq(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||vq(e)}var pq=typeof Symbol=="function"&&Symbol.for,gq=pq?Symbol.for("react.element"):60103;function vq(e){return e.$$typeof===gq}function mq(e){return Array.isArray(e)?[]:{}}function xp(e,t){return t.clone!==!1&&t.isMergeableObject(e)?$f(mq(e),e,t):e}function yq(e,t,r){return e.concat(t).map(function(n){return xp(n,r)})}function wq(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=xp(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=xp(t[o],r):n[o]=$f(e[o],t[o],r)}),n}function $f(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||yq,r.isMergeableObject=r.isMergeableObject||fq;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):wq(e,t,r):xp(t,r)}$f.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return $f(n,o,r)},{})};var r1=$f,zM=typeof global=="object"&&global&&global.Object===Object&&global,Eq=typeof self=="object"&&self&&self.Object===Object&&self,_s=zM||Eq||Function("return this")(),Ha=_s.Symbol,WM=Object.prototype,Sq=WM.hasOwnProperty,_q=WM.toString,rf=Ha?Ha.toStringTag:void 0;function bq(e){var t=Sq.call(e,rf),r=e[rf];try{e[rf]=void 0;var n=!0}catch{}var o=_q.call(e);return n&&(t?e[rf]=r:delete e[rf]),o}var xq=Object.prototype,Cq=xq.toString;function Tq(e){return Cq.call(e)}var Aq="[object Null]",Rq="[object Undefined]",II=Ha?Ha.toStringTag:void 0;function Ju(e){return e==null?e===void 0?Rq:Aq:II&&II in Object(e)?bq(e):Tq(e)}function qM(e,t){return function(r){return e(t(r))}}var E_=qM(Object.getPrototypeOf,Object);function Zu(e){return e!=null&&typeof e=="object"}var Oq="[object Object]",Iq=Function.prototype,Pq=Object.prototype,GM=Iq.toString,kq=Pq.hasOwnProperty,Lq=GM.call(Object);function PI(e){if(!Zu(e)||Ju(e)!=Oq)return!1;var t=E_(e);if(t===null)return!0;var r=kq.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&GM.call(r)==Lq}function Dq(){this.__data__=[],this.size=0}function YM(e,t){return e===t||e!==e&&t!==t}function Eg(e,t){for(var r=e.length;r--;)if(YM(e[r][0],t))return r;return-1}var Nq=Array.prototype,Mq=Nq.splice;function $q(e){var t=this.__data__,r=Eg(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Mq.call(t,r,1),--this.size,!0}function Fq(e){var t=this.__data__,r=Eg(t,e);return r<0?void 0:t[r][1]}function jq(e){return Eg(this.__data__,e)>-1}function Uq(e,t){var r=this.__data__,n=Eg(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function na(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}na.prototype.clear=Dq;na.prototype.delete=$q;na.prototype.get=Fq;na.prototype.has=jq;na.prototype.set=Uq;function Vq(){this.__data__=new na,this.size=0}function Hq(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Bq(e){return this.__data__.get(e)}function zq(e){return this.__data__.has(e)}function cd(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Wq="[object AsyncFunction]",qq="[object Function]",Gq="[object GeneratorFunction]",Yq="[object Proxy]";function KM(e){if(!cd(e))return!1;var t=Ju(e);return t==qq||t==Gq||t==Wq||t==Yq}var aE=_s["__core-js_shared__"],kI=function(){var e=/[^.]+$/.exec(aE&&aE.keys&&aE.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Kq(e){return!!kI&&kI in e}var Xq=Function.prototype,Qq=Xq.toString;function el(e){if(e!=null){try{return Qq.call(e)}catch{}try{return e+""}catch{}}return""}var Jq=/[\\^$.*+?()[\]{}|]/g,Zq=/^\[object .+?Constructor\]$/,eG=Function.prototype,tG=Object.prototype,rG=eG.toString,nG=tG.hasOwnProperty,iG=RegExp("^"+rG.call(nG).replace(Jq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function oG(e){if(!cd(e)||Kq(e))return!1;var t=KM(e)?iG:Zq;return t.test(el(e))}function sG(e,t){return e==null?void 0:e[t]}function tl(e,t){var r=sG(e,t);return oG(r)?r:void 0}var Ff=tl(_s,"Map"),jf=tl(Object,"create");function aG(){this.__data__=jf?jf(null):{},this.size=0}function uG(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var lG="__lodash_hash_undefined__",cG=Object.prototype,fG=cG.hasOwnProperty;function dG(e){var t=this.__data__;if(jf){var r=t[e];return r===lG?void 0:r}return fG.call(t,e)?t[e]:void 0}var hG=Object.prototype,pG=hG.hasOwnProperty;function gG(e){var t=this.__data__;return jf?t[e]!==void 0:pG.call(t,e)}var vG="__lodash_hash_undefined__";function mG(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=jf&&t===void 0?vG:t,this}function Vu(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Vu.prototype.clear=aG;Vu.prototype.delete=uG;Vu.prototype.get=dG;Vu.prototype.has=gG;Vu.prototype.set=mG;function yG(){this.size=0,this.__data__={hash:new Vu,map:new(Ff||na),string:new Vu}}function wG(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Sg(e,t){var r=e.__data__;return wG(t)?r[typeof t=="string"?"string":"hash"]:r.map}function EG(e){var t=Sg(this,e).delete(e);return this.size-=t?1:0,t}function SG(e){return Sg(this,e).get(e)}function _G(e){return Sg(this,e).has(e)}function bG(e,t){var r=Sg(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Ya(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ya.prototype.clear=yG;Ya.prototype.delete=EG;Ya.prototype.get=SG;Ya.prototype.has=_G;Ya.prototype.set=bG;var xG=200;function CG(e,t){var r=this.__data__;if(r instanceof na){var n=r.__data__;if(!Ff||n.length<xG-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Ya(n)}return r.set(e,t),this.size=r.size,this}function Sc(e){var t=this.__data__=new na(e);this.size=t.size}Sc.prototype.clear=Vq;Sc.prototype.delete=Hq;Sc.prototype.get=Bq;Sc.prototype.has=zq;Sc.prototype.set=CG;function TG(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var LI=function(){try{var e=tl(Object,"defineProperty");return e({},"",{}),e}catch{}}();function XM(e,t,r){t=="__proto__"&&LI?LI(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var AG=Object.prototype,RG=AG.hasOwnProperty;function QM(e,t,r){var n=e[t];(!(RG.call(e,t)&&YM(n,r))||r===void 0&&!(t in e))&&XM(e,t,r)}function _g(e,t,r,n){var o=!r;r||(r={});for(var a=-1,u=t.length;++a<u;){var f=t[a],l=void 0;l===void 0&&(l=e[f]),o?XM(r,f,l):QM(r,f,l)}return r}function OG(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var IG="[object Arguments]";function DI(e){return Zu(e)&&Ju(e)==IG}var JM=Object.prototype,PG=JM.hasOwnProperty,kG=JM.propertyIsEnumerable,LG=DI(function(){return arguments}())?DI:function(e){return Zu(e)&&PG.call(e,"callee")&&!kG.call(e,"callee")},fd=Array.isArray;function DG(){return!1}var ZM=typeof exports=="object"&&exports&&!exports.nodeType&&exports,NI=ZM&&typeof module=="object"&&module&&!module.nodeType&&module,NG=NI&&NI.exports===ZM,MI=NG?_s.Buffer:void 0,MG=MI?MI.isBuffer:void 0,e$=MG||DG,$G=9007199254740991,FG=/^(?:0|[1-9]\d*)$/;function jG(e,t){var r=typeof e;return t=t??$G,!!t&&(r=="number"||r!="symbol"&&FG.test(e))&&e>-1&&e%1==0&&e<t}var UG=9007199254740991;function t$(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=UG}var VG="[object Arguments]",HG="[object Array]",BG="[object Boolean]",zG="[object Date]",WG="[object Error]",qG="[object Function]",GG="[object Map]",YG="[object Number]",KG="[object Object]",XG="[object RegExp]",QG="[object Set]",JG="[object String]",ZG="[object WeakMap]",eY="[object ArrayBuffer]",tY="[object DataView]",rY="[object Float32Array]",nY="[object Float64Array]",iY="[object Int8Array]",oY="[object Int16Array]",sY="[object Int32Array]",aY="[object Uint8Array]",uY="[object Uint8ClampedArray]",lY="[object Uint16Array]",cY="[object Uint32Array]",dn={};dn[rY]=dn[nY]=dn[iY]=dn[oY]=dn[sY]=dn[aY]=dn[uY]=dn[lY]=dn[cY]=!0;dn[VG]=dn[HG]=dn[eY]=dn[BG]=dn[tY]=dn[zG]=dn[WG]=dn[qG]=dn[GG]=dn[YG]=dn[KG]=dn[XG]=dn[QG]=dn[JG]=dn[ZG]=!1;function fY(e){return Zu(e)&&t$(e.length)&&!!dn[Ju(e)]}function S_(e){return function(t){return e(t)}}var r$=typeof exports=="object"&&exports&&!exports.nodeType&&exports,gf=r$&&typeof module=="object"&&module&&!module.nodeType&&module,dY=gf&&gf.exports===r$,uE=dY&&zM.process,ac=function(){try{var e=gf&&gf.require&&gf.require("util").types;return e||uE&&uE.binding&&uE.binding("util")}catch{}}(),$I=ac&&ac.isTypedArray,hY=$I?S_($I):fY,pY=Object.prototype,gY=pY.hasOwnProperty;function n$(e,t){var r=fd(e),n=!r&&LG(e),o=!r&&!n&&e$(e),a=!r&&!n&&!o&&hY(e),u=r||n||o||a,f=u?OG(e.length,String):[],l=f.length;for(var d in e)(t||gY.call(e,d))&&!(u&&(d=="length"||o&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||jG(d,l)))&&f.push(d);return f}var vY=Object.prototype;function __(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||vY;return e===r}var mY=qM(Object.keys,Object),yY=Object.prototype,wY=yY.hasOwnProperty;function EY(e){if(!__(e))return mY(e);var t=[];for(var r in Object(e))wY.call(e,r)&&r!="constructor"&&t.push(r);return t}function i$(e){return e!=null&&t$(e.length)&&!KM(e)}function b_(e){return i$(e)?n$(e):EY(e)}function SY(e,t){return e&&_g(t,b_(t),e)}function _Y(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var bY=Object.prototype,xY=bY.hasOwnProperty;function CY(e){if(!cd(e))return _Y(e);var t=__(e),r=[];for(var n in e)n=="constructor"&&(t||!xY.call(e,n))||r.push(n);return r}function x_(e){return i$(e)?n$(e,!0):CY(e)}function TY(e,t){return e&&_g(t,x_(t),e)}var o$=typeof exports=="object"&&exports&&!exports.nodeType&&exports,FI=o$&&typeof module=="object"&&module&&!module.nodeType&&module,AY=FI&&FI.exports===o$,jI=AY?_s.Buffer:void 0,UI=jI?jI.allocUnsafe:void 0;function RY(e,t){if(t)return e.slice();var r=e.length,n=UI?UI(r):new e.constructor(r);return e.copy(n),n}function s$(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function OY(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var u=e[r];t(u,r,e)&&(a[o++]=u)}return a}function a$(){return[]}var IY=Object.prototype,PY=IY.propertyIsEnumerable,VI=Object.getOwnPropertySymbols,C_=VI?function(e){return e==null?[]:(e=Object(e),OY(VI(e),function(t){return PY.call(e,t)}))}:a$;function kY(e,t){return _g(e,C_(e),t)}function u$(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var LY=Object.getOwnPropertySymbols,l$=LY?function(e){for(var t=[];e;)u$(t,C_(e)),e=E_(e);return t}:a$;function DY(e,t){return _g(e,l$(e),t)}function c$(e,t,r){var n=t(e);return fd(e)?n:u$(n,r(e))}function NY(e){return c$(e,b_,C_)}function MY(e){return c$(e,x_,l$)}var n1=tl(_s,"DataView"),i1=tl(_s,"Promise"),o1=tl(_s,"Set"),s1=tl(_s,"WeakMap"),HI="[object Map]",$Y="[object Object]",BI="[object Promise]",zI="[object Set]",WI="[object WeakMap]",qI="[object DataView]",FY=el(n1),jY=el(Ff),UY=el(i1),VY=el(o1),HY=el(s1),Us=Ju;(n1&&Us(new n1(new ArrayBuffer(1)))!=qI||Ff&&Us(new Ff)!=HI||i1&&Us(i1.resolve())!=BI||o1&&Us(new o1)!=zI||s1&&Us(new s1)!=WI)&&(Us=function(e){var t=Ju(e),r=t==$Y?e.constructor:void 0,n=r?el(r):"";if(n)switch(n){case FY:return qI;case jY:return HI;case UY:return BI;case VY:return zI;case HY:return WI}return t});var BY=Object.prototype,zY=BY.hasOwnProperty;function WY(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&zY.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var GI=_s.Uint8Array;function T_(e){var t=new e.constructor(e.byteLength);return new GI(t).set(new GI(e)),t}function qY(e,t){var r=t?T_(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var GY=/\w*$/;function YY(e){var t=new e.constructor(e.source,GY.exec(e));return t.lastIndex=e.lastIndex,t}var YI=Ha?Ha.prototype:void 0,KI=YI?YI.valueOf:void 0;function KY(e){return KI?Object(KI.call(e)):{}}function XY(e,t){var r=t?T_(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var QY="[object Boolean]",JY="[object Date]",ZY="[object Map]",eK="[object Number]",tK="[object RegExp]",rK="[object Set]",nK="[object String]",iK="[object Symbol]",oK="[object ArrayBuffer]",sK="[object DataView]",aK="[object Float32Array]",uK="[object Float64Array]",lK="[object Int8Array]",cK="[object Int16Array]",fK="[object Int32Array]",dK="[object Uint8Array]",hK="[object Uint8ClampedArray]",pK="[object Uint16Array]",gK="[object Uint32Array]";function vK(e,t,r){var n=e.constructor;switch(t){case oK:return T_(e);case QY:case JY:return new n(+e);case sK:return qY(e,r);case aK:case uK:case lK:case cK:case fK:case dK:case hK:case pK:case gK:return XY(e,r);case ZY:return new n;case eK:case nK:return new n(e);case tK:return YY(e);case rK:return new n;case iK:return KY(e)}}var XI=Object.create,mK=function(){function e(){}return function(t){if(!cd(t))return{};if(XI)return XI(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function yK(e){return typeof e.constructor=="function"&&!__(e)?mK(E_(e)):{}}var wK="[object Map]";function EK(e){return Zu(e)&&Us(e)==wK}var QI=ac&&ac.isMap,SK=QI?S_(QI):EK,_K="[object Set]";function bK(e){return Zu(e)&&Us(e)==_K}var JI=ac&&ac.isSet,xK=JI?S_(JI):bK,CK=1,TK=2,AK=4,f$="[object Arguments]",RK="[object Array]",OK="[object Boolean]",IK="[object Date]",PK="[object Error]",d$="[object Function]",kK="[object GeneratorFunction]",LK="[object Map]",DK="[object Number]",h$="[object Object]",NK="[object RegExp]",MK="[object Set]",$K="[object String]",FK="[object Symbol]",jK="[object WeakMap]",UK="[object ArrayBuffer]",VK="[object DataView]",HK="[object Float32Array]",BK="[object Float64Array]",zK="[object Int8Array]",WK="[object Int16Array]",qK="[object Int32Array]",GK="[object Uint8Array]",YK="[object Uint8ClampedArray]",KK="[object Uint16Array]",XK="[object Uint32Array]",sn={};sn[f$]=sn[RK]=sn[UK]=sn[VK]=sn[OK]=sn[IK]=sn[HK]=sn[BK]=sn[zK]=sn[WK]=sn[qK]=sn[LK]=sn[DK]=sn[h$]=sn[NK]=sn[MK]=sn[$K]=sn[FK]=sn[GK]=sn[YK]=sn[KK]=sn[XK]=!0;sn[PK]=sn[d$]=sn[jK]=!1;function vf(e,t,r,n,o,a){var u,f=t&CK,l=t&TK,d=t&AK;if(u!==void 0)return u;if(!cd(e))return e;var v=fd(e);if(v){if(u=WY(e),!f)return s$(e,u)}else{var p=Us(e),w=p==d$||p==kK;if(e$(e))return RY(e,f);if(p==h$||p==f$||w&&!o){if(u=l||w?{}:yK(e),!f)return l?DY(e,TY(u,e)):kY(e,SY(u,e))}else{if(!sn[p])return o?e:{};u=vK(e,p,f)}}a||(a=new Sc);var x=a.get(e);if(x)return x;a.set(e,u),xK(e)?e.forEach(function(S){u.add(vf(S,t,r,S,e,a))}):SK(e)&&e.forEach(function(S,I){u.set(I,vf(S,t,r,I,e,a))});var C=d?l?MY:NY:l?x_:b_,E=v?void 0:C(e);return TG(E||e,function(S,I){E&&(I=S,S=e[I]),QM(u,I,vf(S,t,r,I,e,a))}),u}var QK=4;function ZI(e){return vf(e,QK)}function p$(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var JK="[object Symbol]";function A_(e){return typeof e=="symbol"||Zu(e)&&Ju(e)==JK}var ZK="Expected a function";function R_(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ZK);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var u=e.apply(this,n);return r.cache=a.set(o,u)||a,u};return r.cache=new(R_.Cache||Ya),r}R_.Cache=Ya;var eX=500;function tX(e){var t=R_(e,function(n){return r.size===eX&&r.clear(),n}),r=t.cache;return t}var rX=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nX=/\\(\\)?/g,iX=tX(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(rX,function(r,n,o,a){t.push(o?a.replace(nX,"$1"):n||r)}),t});function oX(e){if(typeof e=="string"||A_(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var eP=Ha?Ha.prototype:void 0,tP=eP?eP.toString:void 0;function g$(e){if(typeof e=="string")return e;if(fd(e))return p$(e,g$)+"";if(A_(e))return tP?tP.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function sX(e){return e==null?"":g$(e)}function v$(e){return fd(e)?p$(e,oX):A_(e)?[e]:s$(iX(sX(e)))}var aX=1,uX=4;function lX(e){return vf(e,aX|uX)}function nn(){return nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nn.apply(this,arguments)}function m$(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function La(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function rP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var nP=function(t){return Array.isArray(t)&&t.length===0},fi=function(t){return typeof t=="function"},bg=function(t){return t!==null&&typeof t=="object"},cX=function(t){return String(Math.floor(Number(t)))===t},lE=function(t){return Object.prototype.toString.call(t)==="[object String]"},y$=function(t){return ne.Children.count(t)===0},cE=function(t){return bg(t)&&fi(t.then)};function En(e,t,r,n){n===void 0&&(n=0);for(var o=v$(t);e&&n<o.length;)e=e[o[n++]];return e===void 0?r:e}function ms(e,t,r){for(var n=ZI(e),o=n,a=0,u=v$(t);a<u.length-1;a++){var f=u[a],l=En(e,u.slice(0,a+1));if(l&&(bg(l)||Array.isArray(l)))o=o[f]=ZI(l);else{var d=u[a+1];o=o[f]=cX(d)&&Number(d)>=0?[]:{}}}return(a===0?e:o)[u[a]]===r?e:(r===void 0?delete o[u[a]]:o[u[a]]=r,a===0&&r===void 0&&delete n[u[a]],n)}function w$(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,a=Object.keys(e);o<a.length;o++){var u=a[o],f=e[u];bg(f)?r.get(f)||(r.set(f,!0),n[u]=Array.isArray(f)?[]:{},w$(f,t,r,n[u])):n[u]=t}return n}var dd=ne.createContext(void 0);dd.displayName="FormikContext";var fX=dd.Provider,dX=dd.Consumer;function O_(){var e=ne.useContext(dd);return e}function hX(e,t){switch(t.type){case"SET_VALUES":return nn({},e,{values:t.payload});case"SET_TOUCHED":return nn({},e,{touched:t.payload});case"SET_ERRORS":return Ia(e.errors,t.payload)?e:nn({},e,{errors:t.payload});case"SET_STATUS":return nn({},e,{status:t.payload});case"SET_ISSUBMITTING":return nn({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return nn({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return nn({},e,{values:ms(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return nn({},e,{touched:ms(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return nn({},e,{errors:ms(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return nn({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return nn({},e,{touched:w$(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return nn({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return nn({},e,{isSubmitting:!1});default:return e}}var du={},bh={};function pX(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,a=e.validateOnMount,u=a===void 0?!1:a,f=e.isInitialValid,l=e.enableReinitialize,d=l===void 0?!1:l,v=e.onSubmit,p=La(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),w=nn({validateOnChange:r,validateOnBlur:o,validateOnMount:u,onSubmit:v},p),x=ne.useRef(w.initialValues),C=ne.useRef(w.initialErrors||du),E=ne.useRef(w.initialTouched||bh),S=ne.useRef(w.initialStatus),I=ne.useRef(!1),D=ne.useRef({});ne.useEffect(function(){return I.current=!0,function(){I.current=!1}},[]);var H=ne.useReducer(hX,{values:w.initialValues,errors:w.initialErrors||du,touched:w.initialTouched||bh,status:w.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),V=H[0],M=H[1],G=ne.useCallback(function(oe,Se){return new Promise(function(ve,Te){var He=w.validate(oe,Se);He==null?ve(du):cE(He)?He.then(function(Ue){ve(Ue||du)},function(Ue){Te(Ue)}):ve(He)})},[w.validate]),y=ne.useCallback(function(oe,Se){var ve=w.validationSchema,Te=fi(ve)?ve(Se):ve,He=Se&&Te.validateAt?Te.validateAt(Se,oe):vX(oe,Te);return new Promise(function(Ue,at){He.then(function(){Ue(du)},function(Nt){Nt.name==="ValidationError"?Ue(gX(Nt)):at(Nt)})})},[w.validationSchema]),Z=ne.useCallback(function(oe,Se){return new Promise(function(ve){return ve(D.current[oe].validate(Se))})},[]),ae=ne.useCallback(function(oe){var Se=Object.keys(D.current).filter(function(Te){return fi(D.current[Te].validate)}),ve=Se.length>0?Se.map(function(Te){return Z(Te,En(oe,Te))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ve).then(function(Te){return Te.reduce(function(He,Ue,at){return Ue==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Ue&&(He=ms(He,Se[at],Ue)),He},{})})},[Z]),ce=ne.useCallback(function(oe){return Promise.all([ae(oe),w.validationSchema?y(oe):{},w.validate?G(oe):{}]).then(function(Se){var ve=Se[0],Te=Se[1],He=Se[2],Ue=r1.all([ve,Te,He],{arrayMerge:mX});return Ue})},[w.validate,w.validationSchema,ae,G,y]),ie=Ro(function(oe){return oe===void 0&&(oe=V.values),M({type:"SET_ISVALIDATING",payload:!0}),ce(oe).then(function(Se){return I.current&&(M({type:"SET_ISVALIDATING",payload:!1}),M({type:"SET_ERRORS",payload:Se})),Se})});ne.useEffect(function(){u&&I.current===!0&&Ia(x.current,w.initialValues)&&ie(x.current)},[u,ie]);var de=ne.useCallback(function(oe){var Se=oe&&oe.values?oe.values:x.current,ve=oe&&oe.errors?oe.errors:C.current?C.current:w.initialErrors||{},Te=oe&&oe.touched?oe.touched:E.current?E.current:w.initialTouched||{},He=oe&&oe.status?oe.status:S.current?S.current:w.initialStatus;x.current=Se,C.current=ve,E.current=Te,S.current=He;var Ue=function(){M({type:"RESET_FORM",payload:{isSubmitting:!!oe&&!!oe.isSubmitting,errors:ve,touched:Te,status:He,values:Se,isValidating:!!oe&&!!oe.isValidating,submitCount:oe&&oe.submitCount&&typeof oe.submitCount=="number"?oe.submitCount:0}})};if(w.onReset){var at=w.onReset(V.values,q);cE(at)?at.then(Ue):Ue()}else Ue()},[w.initialErrors,w.initialStatus,w.initialTouched]);ne.useEffect(function(){I.current===!0&&!Ia(x.current,w.initialValues)&&(d&&(x.current=w.initialValues,de()),u&&ie(x.current))},[d,w.initialValues,de,u,ie]),ne.useEffect(function(){d&&I.current===!0&&!Ia(C.current,w.initialErrors)&&(C.current=w.initialErrors||du,M({type:"SET_ERRORS",payload:w.initialErrors||du}))},[d,w.initialErrors]),ne.useEffect(function(){d&&I.current===!0&&!Ia(E.current,w.initialTouched)&&(E.current=w.initialTouched||bh,M({type:"SET_TOUCHED",payload:w.initialTouched||bh}))},[d,w.initialTouched]),ne.useEffect(function(){d&&I.current===!0&&!Ia(S.current,w.initialStatus)&&(S.current=w.initialStatus,M({type:"SET_STATUS",payload:w.initialStatus}))},[d,w.initialStatus,w.initialTouched]);var ge=Ro(function(oe){if(D.current[oe]&&fi(D.current[oe].validate)){var Se=En(V.values,oe),ve=D.current[oe].validate(Se);return cE(ve)?(M({type:"SET_ISVALIDATING",payload:!0}),ve.then(function(Te){return Te}).then(function(Te){M({type:"SET_FIELD_ERROR",payload:{field:oe,value:Te}}),M({type:"SET_ISVALIDATING",payload:!1})})):(M({type:"SET_FIELD_ERROR",payload:{field:oe,value:ve}}),Promise.resolve(ve))}else if(w.validationSchema)return M({type:"SET_ISVALIDATING",payload:!0}),y(V.values,oe).then(function(Te){return Te}).then(function(Te){M({type:"SET_FIELD_ERROR",payload:{field:oe,value:Te[oe]}}),M({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),me=ne.useCallback(function(oe,Se){var ve=Se.validate;D.current[oe]={validate:ve}},[]),ye=ne.useCallback(function(oe){delete D.current[oe]},[]),be=Ro(function(oe,Se){M({type:"SET_TOUCHED",payload:oe});var ve=Se===void 0?o:Se;return ve?ie(V.values):Promise.resolve()}),Ae=ne.useCallback(function(oe){M({type:"SET_ERRORS",payload:oe})},[]),re=Ro(function(oe,Se){var ve=fi(oe)?oe(V.values):oe;M({type:"SET_VALUES",payload:ve});var Te=Se===void 0?r:Se;return Te?ie(ve):Promise.resolve()}),Ee=ne.useCallback(function(oe,Se){M({type:"SET_FIELD_ERROR",payload:{field:oe,value:Se}})},[]),X=Ro(function(oe,Se,ve){M({type:"SET_FIELD_VALUE",payload:{field:oe,value:Se}});var Te=ve===void 0?r:ve;return Te?ie(ms(V.values,oe,Se)):Promise.resolve()}),Re=ne.useCallback(function(oe,Se){var ve=Se,Te=oe,He;if(!lE(oe)){oe.persist&&oe.persist();var Ue=oe.target?oe.target:oe.currentTarget,at=Ue.type,Nt=Ue.name,$t=Ue.id,Ut=Ue.value,br=Ue.checked;Ue.outerHTML;var Pr=Ue.options,ur=Ue.multiple;ve=Se||Nt||$t,Te=/number|range/.test(at)?(He=parseFloat(Ut),isNaN(He)?"":He):/checkbox/.test(at)?wX(En(V.values,ve),br,Ut):Pr&&ur?yX(Pr):Ut}ve&&X(ve,Te)},[X,V.values]),qe=Ro(function(oe){if(lE(oe))return function(Se){return Re(Se,oe)};Re(oe)}),Qe=Ro(function(oe,Se,ve){Se===void 0&&(Se=!0),M({type:"SET_FIELD_TOUCHED",payload:{field:oe,value:Se}});var Te=ve===void 0?o:ve;return Te?ie(V.values):Promise.resolve()}),et=ne.useCallback(function(oe,Se){oe.persist&&oe.persist();var ve=oe.target,Te=ve.name,He=ve.id;ve.outerHTML;var Ue=Se||Te||He;Qe(Ue,!0)},[Qe]),ut=Ro(function(oe){if(lE(oe))return function(Se){return et(Se,oe)};et(oe)}),dt=ne.useCallback(function(oe){fi(oe)?M({type:"SET_FORMIK_STATE",payload:oe}):M({type:"SET_FORMIK_STATE",payload:function(){return oe}})},[]),F=ne.useCallback(function(oe){M({type:"SET_STATUS",payload:oe})},[]),T=ne.useCallback(function(oe){M({type:"SET_ISSUBMITTING",payload:oe})},[]),N=Ro(function(){return M({type:"SUBMIT_ATTEMPT"}),ie().then(function(oe){var Se=oe instanceof Error,ve=!Se&&Object.keys(oe).length===0;if(ve){var Te;try{if(Te=P(),Te===void 0)return}catch(He){throw He}return Promise.resolve(Te).then(function(He){return I.current&&M({type:"SUBMIT_SUCCESS"}),He}).catch(function(He){if(I.current)throw M({type:"SUBMIT_FAILURE"}),He})}else if(I.current&&(M({type:"SUBMIT_FAILURE"}),Se))throw oe})}),L=Ro(function(oe){oe&&oe.preventDefault&&fi(oe.preventDefault)&&oe.preventDefault(),oe&&oe.stopPropagation&&fi(oe.stopPropagation)&&oe.stopPropagation(),N().catch(function(Se){console.warn("Warning: An unhandled error was caught from submitForm()",Se)})}),q={resetForm:de,validateForm:ie,validateField:ge,setErrors:Ae,setFieldError:Ee,setFieldTouched:Qe,setFieldValue:X,setStatus:F,setSubmitting:T,setTouched:be,setValues:re,setFormikState:dt,submitForm:N},P=Ro(function(){return v(V.values,q)}),j=Ro(function(oe){oe&&oe.preventDefault&&fi(oe.preventDefault)&&oe.preventDefault(),oe&&oe.stopPropagation&&fi(oe.stopPropagation)&&oe.stopPropagation(),de()}),se=ne.useCallback(function(oe){return{value:En(V.values,oe),error:En(V.errors,oe),touched:!!En(V.touched,oe),initialValue:En(x.current,oe),initialTouched:!!En(E.current,oe),initialError:En(C.current,oe)}},[V.errors,V.touched,V.values]),ee=ne.useCallback(function(oe){return{setValue:function(ve,Te){return X(oe,ve,Te)},setTouched:function(ve,Te){return Qe(oe,ve,Te)},setError:function(ve){return Ee(oe,ve)}}},[X,Qe,Ee]),pe=ne.useCallback(function(oe){var Se=bg(oe),ve=Se?oe.name:oe,Te=En(V.values,ve),He={name:ve,value:Te,onChange:qe,onBlur:ut};if(Se){var Ue=oe.type,at=oe.value,Nt=oe.as,$t=oe.multiple;Ue==="checkbox"?at===void 0?He.checked=!!Te:(He.checked=!!(Array.isArray(Te)&&~Te.indexOf(at)),He.value=at):Ue==="radio"?(He.checked=Te===at,He.value=at):Nt==="select"&&$t&&(He.value=He.value||[],He.multiple=!0)}return He},[ut,qe,V.values]),ue=ne.useMemo(function(){return!Ia(x.current,V.values)},[x.current,V.values]),Oe=ne.useMemo(function(){return typeof f<"u"?ue?V.errors&&Object.keys(V.errors).length===0:f!==!1&&fi(f)?f(w):f:V.errors&&Object.keys(V.errors).length===0},[f,ue,V.errors,w]),Le=nn({},V,{initialValues:x.current,initialErrors:C.current,initialTouched:E.current,initialStatus:S.current,handleBlur:ut,handleChange:qe,handleReset:j,handleSubmit:L,resetForm:de,setErrors:Ae,setFormikState:dt,setFieldTouched:Qe,setFieldValue:X,setFieldError:Ee,setStatus:F,setSubmitting:T,setTouched:be,setValues:re,submitForm:N,validateForm:ie,validateField:ge,isValid:Oe,dirty:ue,unregisterField:ye,registerField:me,getFieldProps:pe,getFieldMeta:se,getFieldHelpers:ee,validateOnBlur:o,validateOnChange:r,validateOnMount:u});return Le}function See(e){var t=pX(e),r=e.component,n=e.children,o=e.render,a=e.innerRef;return ne.useImperativeHandle(a,function(){return t}),ne.createElement(fX,{value:t},r?ne.createElement(r,t):o?o(t):n?fi(n)?n(t):y$(n)?null:ne.Children.only(n):null)}function gX(e){var t={};if(e.inner){if(e.inner.length===0)return ms(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var a;if(r){if(n>=o.length)break;a=o[n++]}else{if(n=o.next(),n.done)break;a=n.value}var u=a;En(t,u.path)||(t=ms(t,u.path,u.message))}}return t}function vX(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var o=a1(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n})}function a1(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(o){return Array.isArray(o)===!0||PI(o)?a1(o):o!==""?o:void 0}):PI(e[n])?t[n]=a1(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function mX(e,t,r){var n=e.slice();return t.forEach(function(a,u){if(typeof n[u]>"u"){var f=r.clone!==!1,l=f&&r.isMergeableObject(a);n[u]=l?r1(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[u]=r1(e[u],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function yX(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function wX(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),o=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,a).concat(n.slice(a+1)):n}var EX=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?ne.useLayoutEffect:ne.useEffect;function Ro(e){var t=ne.useRef(e);return EX(function(){t.current=e}),ne.useCallback(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.current.apply(void 0,n)},[])}function _ee(e){var t=e.validate,r=e.name,n=e.render,o=e.children,a=e.as,u=e.component,f=La(e,["validate","name","render","children","as","component"]),l=O_(),d=La(l,["validate","validationSchema"]),v=d.registerField,p=d.unregisterField;ne.useEffect(function(){return v(r,{validate:t}),function(){p(r)}},[v,p,r,t]);var w=d.getFieldProps(nn({name:r},f)),x=d.getFieldMeta(r),C={field:w,form:d};if(n)return n(nn({},C,{meta:x}));if(fi(o))return o(nn({},C,{meta:x}));if(u){if(typeof u=="string"){var E=f.innerRef,S=La(f,["innerRef"]);return ne.createElement(u,nn({ref:E},w,S),o)}return ne.createElement(u,nn({field:w,form:d},f),o)}var I=a||"input";if(typeof I=="string"){var D=f.innerRef,H=La(f,["innerRef"]);return ne.createElement(I,nn({ref:D},w,H),o)}return ne.createElement(I,nn({},w,f),o)}var SX=ne.forwardRef(function(e,t){var r=e.action,n=La(e,["action"]),o=r??"#",a=O_(),u=a.handleReset,f=a.handleSubmit;return ne.createElement("form",Object.assign({onSubmit:f,ref:t,onReset:u,action:o},n))});SX.displayName="Form";function _X(e){var t=function(o){return ne.createElement(dX,null,function(a){return ne.createElement(e,Object.assign({},o,{formik:a}))})},r=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+r+")",m5(t,e)}var bX=function(t,r,n){var o=uc(t),a=o[r];return o.splice(r,1),o.splice(n,0,a),o},xX=function(t,r,n){var o=uc(t),a=o[r];return o[r]=o[n],o[n]=a,o},fE=function(t,r,n){var o=uc(t);return o.splice(r,0,n),o},CX=function(t,r,n){var o=uc(t);return o[r]=n,o},uc=function(t){if(t){if(Array.isArray(t))return[].concat(t);var r=Object.keys(t).map(function(n){return parseInt(n)}).reduce(function(n,o){return o>n?o:n},0);return Array.from(nn({},t,{length:r+1}))}else return[]},TX=function(e){m$(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(a,u,f){var l=o.props,d=l.name,v=l.formik.setFormikState;v(function(p){var w=typeof f=="function"?f:a,x=typeof u=="function"?u:a,C=ms(p.values,d,a(En(p.values,d))),E=f?w(En(p.errors,d)):void 0,S=u?x(En(p.touched,d)):void 0;return nP(E)&&(E=void 0),nP(S)&&(S=void 0),nn({},p,{values:C,errors:f?ms(p.errors,d,E):p.errors,touched:u?ms(p.touched,d,S):p.touched})})},o.push=function(a){return o.updateArrayField(function(u){return[].concat(uc(u),[lX(a)])},!1,!1)},o.handlePush=function(a){return function(){return o.push(a)}},o.swap=function(a,u){return o.updateArrayField(function(f){return xX(f,a,u)},!0,!0)},o.handleSwap=function(a,u){return function(){return o.swap(a,u)}},o.move=function(a,u){return o.updateArrayField(function(f){return bX(f,a,u)},!0,!0)},o.handleMove=function(a,u){return function(){return o.move(a,u)}},o.insert=function(a,u){return o.updateArrayField(function(f){return fE(f,a,u)},function(f){return fE(f,a,null)},function(f){return fE(f,a,null)})},o.handleInsert=function(a,u){return function(){return o.insert(a,u)}},o.replace=function(a,u){return o.updateArrayField(function(f){return CX(f,a,u)},!1,!1)},o.handleReplace=function(a,u){return function(){return o.replace(a,u)}},o.unshift=function(a){var u=-1;return o.updateArrayField(function(f){var l=f?[a].concat(f):[a];return u<0&&(u=l.length),l},function(f){var l=f?[null].concat(f):[null];return u<0&&(u=l.length),l},function(f){var l=f?[null].concat(f):[null];return u<0&&(u=l.length),l}),u},o.handleUnshift=function(a){return function(){return o.unshift(a)}},o.handleRemove=function(a){return function(){return o.remove(a)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(rP(o)),o.pop=o.pop.bind(rP(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Ia(En(o.formik.values,o.name),En(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var a;return this.updateArrayField(function(u){var f=u?uc(u):[];return a||(a=f[o]),fi(f.splice)&&f.splice(o,1),f},!0,!0),a},r.pop=function(){var o;return this.updateArrayField(function(a){var u=a;return o||(o=u&&u.pop&&u.pop()),u},!0,!0),o},r.render=function(){var o={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,u=a.component,f=a.render,l=a.children,d=a.name,v=a.formik,p=La(v,["validate","validationSchema"]),w=nn({},o,{form:p,name:d});return u?ne.createElement(u,w):f?f(w):l?typeof l=="function"?l(w):y$(l)?null:ne.Children.only(l):null},t}(ne.Component);TX.defaultProps={validateOnChange:!0};var AX=function(e){m$(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(o){return En(this.props.formik.errors,this.props.name)!==En(o.formik.errors,this.props.name)||En(this.props.formik.touched,this.props.name)!==En(o.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(o).length},r.render=function(){var o=this.props,a=o.component,u=o.formik,f=o.render,l=o.children,d=o.name,v=La(o,["component","formik","render","children","name"]),p=En(u.touched,d),w=En(u.errors,d);return p&&w?f?fi(f)?f(w):null:l?fi(l)?l(w):null:a?ne.createElement(a,v,w):w:null},t}(ne.Component),bee=_X(AX);const RX=ne.createContext(""),Uf=ne.memo(function(e){const{phrase:t,namespace:r,options:n}=e,o=ne.useContext(RX),a=r||o,u=Object.assign({escapeText:!0},n),f=fr.getPhrase(a,t,u);return Q.jsx("span",{dangerouslySetInnerHTML:{__html:f}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&ws.isEqual(e.options,t.options));function OX(e){var n;const[t,r]=ne.useState(!1);return ne.useEffect(()=>{var o;if(!e.isValid){r(!1);return}e.dirty||(o=e.initialStatus)!=null&&o.allowInitialSubmit?r(!0):r(!1)},[e.isValid,(n=e.initialStatus)==null?void 0:n.allowInitialSubmit,e.dirty,e.values]),ne.useEffect(()=>{e.isSubmitting&&r(!1)},[e.isSubmitting]),t}function IX(e){const{showSpinner:t,children:r,style:n,spinnerText:o,...a}=e,u=ne.useRef(null),[{width:f,height:l},d]=ne.useState({}),[v,p]=ne.useState(t);ne.useEffect(()=>{if(!t){d({});return}const x=u.current,C=x.offsetHeight,E=x.offsetWidth;!C||!E||d({width:E,height:C})},[t]),ne.useLayoutEffect(()=>{p(t)},[t]);const w={...n};return f&&(w.width=`${f+1}px`),l&&(w.height=`${l+1}px`),Q.jsx(pg,{ref:u,disabled:t,style:w,...a,children:v?Q.jsxs(Q.Fragment,{children:[Q.jsx(wg,{as:"span",animation:"border",role:"status",size:"sm"}),!!o&&Q.jsx("span",{className:"ps-1",children:o})]}):r})}const PX={info:"custom-toggle-info"};E$.defaults={floatEnd:!0};function E$(e){const{on:t,showStateWhenDisabled:r,tooltipText:n,variant:o,floatEnd:a,hideOutline:u,...f}=e;function l(...S){e.disabled||e.onClick(...S)}const d="d-inline-block align-top custom-toggle toggle-option",v=e.disabled?"disabled":"",p=u?"outline-none":"",w=PX[o]??"",x=a?"float-end":"";let C=t?"on":"";e.disabled&&!r&&(C="");const E=`${d} ${w} ${C} ${v} ${p} ${x}`;return e.tooltipText?Q.jsx(Yl,{title:n,spanHack:!0,children:Q.jsx(FE,{...f,role:"switch","aria-checked":`${t}`,onClick:l,className:E,children:Q.jsx("span",{className:"handle"})})}):Q.jsx(FE,{...f,role:"switch","aria-checked":t,onClick:l,className:E,children:Q.jsx("span",{className:"handle"})})}const S$="shared.popup",Nu=e=>Q.jsx("div",{className:`d-flex justify-content-end align-items-center border-top pt-3 px-3 mx-n3 undo-changes-btn ${e.className??""}`,children:e.children});function _$(e){return Q.jsx(IX,{variant:e.variant||"primary",type:e.type||"submit",disabled:e.disabled||e.showSpinner,size:e.size,className:e.className?e.className:"",onClick:()=>{var t;return(t=e.onClick)==null?void 0:t.call(e)},showSpinner:e.showSpinner,spinnerText:e.spinnerText,children:e.text?Q.jsx(Q.Fragment,{children:e.text}):Q.jsx(Uf,{namespace:S$,phrase:e.isNew?"create":"save"})})}function kX(e){const t=O_(),r=OX(t??{}),n=(t==null?void 0:t.isSubmitting)||e.showSpinner;function o(){return typeof e.disabled=="boolean"?e.disabled:!!t&&!r||n}return Q.jsx(_$,{...e,disabled:o(),showSpinner:n})}const LX=e=>er.useContext(dd)?Q.jsx(kX,{...e}):Q.jsx(_$,{...e}),DX=e=>Q.jsx(pg,{onClick:e.onClick,variant:e.variant||"link",size:e.size,className:e.className?e.className:"me-2",children:e.text?e.text:Q.jsx(Uf,{namespace:S$,phrase:"cancel"})}),NX=e=>Q.jsx(X7.Check,{type:"checkbox",className:e.className??"me-auto",label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),MX=e=>Q.jsxs("div",{className:"d-flex align-items-center me-auto",children:[Q.jsx(E$,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&Q.jsx("span",{className:"fw-semibold ms-2",children:e.label})]});Nu.Submit=LX;Nu.Cancel=DX;Nu.Checkbox=NX;Nu.Toggle=MX;const iP="shared.shared-utils",$X={render:(e,t={})=>{let r=document.getElementById("dialog-region");r||(r=document.createElement("div"),r.id="dialog-region",document.appendChild(r));const n=g_.createRoot(r);function o(){var l;if(lo.isFunction((l=t.submitButtonProps)==null?void 0:l.onClick)){const d=t.submitButtonProps.onClick();if(d instanceof Promise){d.then(()=>{n.unmount()});return}}n.unmount()}function a(){var l;lo.isFunction((l=t.cancelButtonProps)==null?void 0:l.onClick)&&t.cancelButtonProps.onClick(),n.unmount()}const u={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{o()}},f={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{a()}};n.render(Q.jsxs(BM,{title:t.title,closePopup:a,size:t.size,centered:t.centered,bodyClassName:"overflow-hidden",dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&Q.jsxs(Nu,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&Q.jsx(Nu.Cancel,{...f}),t.submitButtonProps&&Q.jsx(Nu.Submit,{...u})]})]}))},getDefaultSubmitButton(){return{variant:"dark",text:fr.getPhrase(iP,"confirm")}},getDefaultCancelButton(){return{variant:"light",text:fr.getPhrase(iP,"cancel")}}},xh=fr.encloseNamespace("shared.hooks"),FX=()=>{const[e,t]=er.useState([]),r=Zt.Radio.channel(Nr.SHELL);er.useEffect(()=>(e.find(l=>!l.allowAppLinks)&&r.on(jr.NAV_IS_LOCKED,a),e.length&&window.addEventListener("beforeunload",u),()=>{r.off(jr.NAV_IS_LOCKED,a),window.removeEventListener("beforeunload",u)}),[e]),er.useEffect(()=>{function l(){n({id:"upload",title:xh("navLockTitle"),text:xh("navLockBody"),allowAppLinks:!0})}const d=Zt.Radio.channel(cf.VIDEO_UPLOAD);return d.on(Ws.FILES_ADDED,l),d.on(Ws.UNLOCK_NAV,o),()=>{d.off(Ws.FILES_ADDED,l),d.off(Ws.UNLOCK_NAV,o)}},[]);function n(l={}){e.find(d=>d.id===l.id)||(l.allowAppLinks||r.trigger(jr.LOCK_NAV),t([...e,l]))}function o(l){const d=e.filter(v=>v.id!==l);(d.length===0||!d.find(v=>!v.allowAppLinks))&&r.trigger(jr.UNLOCK_NAV),t(d)}function a(l){var v;if(!e.length)return;const d=e.find(p=>!p.allowAppLinks);if((v=d.appLinkWhitelist)!=null&&v.find(p=>p.action===l.action&&p.application===l.application)){r.trigger(jr.UNLOCK_NAV),window.setTimeout(()=>{_n.trigger(l),r.trigger(jr.LOCK_NAV)},0);return}if(lo.isFunction(d.renderCustomDialog)){d.renderCustomDialog();return}$X.render(Q.jsx("p",{children:d.text}),{title:d.title,submitButtonProps:{onClick:()=>{d.onConfirmUnlock&&d.onConfirmUnlock(),f(l)},variant:"danger",text:xh("discard")},cancelButtonProps:{text:xh("cancel"),variant:"link"}})}function u(l){let d=e.find(v=>v.allowAppLinks);return d||(d=Uu.first(e)),l.returnValue=d.text,d.text}function f(l){r.trigger(jr.NAV_UNLOCKED_BY_USER),e.forEach(d=>{d.allowAppLinks||o(d.id)}),window.removeEventListener("beforeunload",u),_n.trigger(l)}return{lock:n,unlock:o}};function jX(){function e(r){r.key==="Tab"&&(document.body.classList.add("user-is-tabbing"),window.removeEventListener("keydown",e),window.addEventListener("mousedown",t))}function t(){document.body.classList.remove("user-is-tabbing"),window.removeEventListener("mousedown",t),window.addEventListener("keydown",e)}ne.useEffect(()=>(window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)),[])}function UX(){const e=pi(Va.version());return e.data?Q.jsx("footer",{className:"text-center text-secondary my-2",children:Q.jsxs("small",{children:["2003 - ",new Date().getFullYear()," © ClickView | Version: ",e.data]})}):Q.jsx(Q.Fragment,{})}function VX(){return Q.jsx("svg",{viewBox:"0 0 434 71",children:Q.jsxs("g",{children:[Q.jsx("path",{fill:"#000000",d:"M114.44 56.57l3.5 3.5a32.87 32.87 0 0 1-25.16 11.26c-19.63 0-33.62-15.54-33.62-35.16C59.16 16.55 73.16 1 92.78 1a32.31 32.31 0 0 1 24.19 10.4l-3.6 3.3a27.32 27.32 0 0 0-20.59-8.74c-16.91 0-28.39 13.5-28.39 30.21s11.48 30.21 28.39 30.21a28.08 28.08 0 0 0 21.66-9.81zM126.64 1h4.55v70.22h-4.73L126.64 1zm17.3 10.6a3.7 3.7 0 1 1 0 7.4 3.7 3.7 0 0 1 0-7.4zm-2.41 15.07h4.81v44.56h-4.81V26.67zm48 33.15l3.33 3.15a21.8 21.8 0 0 1-17.31 8.61c-12.59 0-21.76-10-21.76-22.22 0-12.22 9.17-22.22 21.76-22.22a21.84 21.84 0 0 1 16.85 8l-3.43 3.06a17.15 17.15 0 0 0-13.42-6.3c-10.09 0-16.76 8.15-16.76 17.5s6.67 17.5 16.76 17.5a17.38 17.38 0 0 0 13.98-7.08zm14.99-9.33v20.74h-4.73V1.01h4.73v47.75l20.74-19.02h6.64l-21.56 19.84L234 71.23h-7.01l-22.47-20.74z"}),Q.jsx("path",{fill:"#F8981D",d:"M304.09 19.4a5.56 5.56 0 1 1 0-11.12 5.56 5.56 0 0 1 0 11.12zm-5.56 7.27h11.11v44.56h-11.11V26.67zm61.42 22.15c0 .81 0 2.42-.09 4h-31.75c.8 3.77 5.2 8.61 11.93 8.61a17.11 17.11 0 0 0 11.66-4.31l5.38 8.16a27.23 27.23 0 0 1-17 6.1c-12.92 0-22.88-9.87-22.88-22.34s9.06-22.33 21.35-22.33c11.62-.04 21.4 9.02 21.4 22.11zm-10.77-3.76c-.18-3.68-3.58-8.62-10.67-8.62-6.91 0-10.05 4.85-10.4 8.62h21.07zM385.92 71h-6.42l-19.64-44.37h13.97l9.16 23.98 9.72-23.98h8.31l9.63 23.98 9.16-23.98h13.97L414.24 71h-6.52l-10.85-23.7L385.92 71zm-120.22.35h-6L226.11 1.01h17.01l19.42 44.18 18.08-44.18h16.91L265.7 71.35zM0 1l41 35L0 71V1z"})]})})}function xee(){return Q.jsx("svg",{viewBox:"0 0 41 70",children:Q.jsx("g",{children:Q.jsx("path",{fill:"#F8981D",d:"M 0 0 41 35 0 70z"})})})}const Ri={currentUser(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:Du.USER,success:e,error:t}},user(e,t,r){return{url:`{gateway}/v1/users/${e}`,key:`users:${e}`,success:t,error:r}},groups(e){return{url:`{gateway}/v1/objects/${e}/members?query=groups`,key:`users:${e}:groups`}},usersById(e,t,r){return{url:Ko.urlBuilder("{gateway}/v1/users",{id:e}),key:`users:list:${e.join(",")}`,success:t,error:r,formatData:n=>{const o=n.reduce((a,u)=>(a[u.id.toString()]=u,a),{});return e.map(a=>o[a.toString()])}}},getUserIdByQuery(e,t){return{url:`{gateway}/v1/users/ids?${e}`,key:`users:ids:${e}`,success:t}},workspace(e,t){return{url:"/api/domain/v2/me/workspace?query=categorytree",key:"workspace",success:e,error:t}},sendVerificationEmail(e,t,r,n){return{url:"api/account/email",key:"verify:email",type:di.POST,data:{emailAddress:e},success:t,error:r,always:n,invalidationKeys:["verify:email:status"]}},token(e,t){return{url:"/api/token",key:"token",bootstrapName:Du.TOKEN,formatData:r=>typeof r.expiry!="number"||r.expiry<=0||isNaN(r.expiry)?r:{value:r.value,localTTL:new Date().getTime()+r.expiry*1e3},success:e,error:t}},permissions(e,t){return{url:"{gateway}/v1/users/me/permissions",publicUrl:"/api/permissions",key:"permissions",success:e,error:t,normalize:!1,formatData:r=>r.reduce((n,o)=>(n[o]=!0,n),{}),bootstrapName:Du.PERMISSIONS}},customers(e){return{url:`{gateway}/v1/objects/${e}/customers`,key:"customers"}},accessPolicy(){return{url:"{gateway}/v1/users/me/access-policy",key:"access:policy"}},updateJobTitle(e,t,r){return{url:`{gateway}/v1/customers/${t}/users/job-titles`,key:`update:${e}:job:title:${r}`,type:di.PUT,data:{customerId:t,users:[{userId:e,jobTitle:r}]},updateState:{keys:`users:${e}`,updateData:n=>{const o=n[`users:${e}`];return{...n,[`users:${e}`]:{...o,userProfile:{...o.userProfile,metadata:{...o.userProfile.metadata||{},jobTitle:r}}}}}}}},getById(e,t){const r=Uu.uniq(e);return r.sort(),{url:`{gateway}/v1/objects?query=${`avatar&${r.map(o=>`id=${o}`).join("&")}`}`,key:`users:by:id:${r.join(",")}`,error:t}}},b$=e=>{const t=pi(Ri.currentUser()),r=pi(t.hasCompleted&&hf.getCustomerSettingsRequest(t.data)),n=pi(t.hasCompleted&&hf.getUserSettingsRequest(t.data)),o=rd(),a=!!r.hasCompleted&&!!n.hasCompleted,u=E=>{var D,H;if(!a||r.hasError||n.hasError)return null;const S=(D=r.data)==null?void 0:D[E];if(S)return S==null?void 0:S.value;const I=(H=n.data)==null?void 0:H[E];return I?I==null?void 0:I.value:null};function f(E,S,I,D,H){return E==="user"?bu.updateUserSetting(S,I,D,H):bu.updateCustomerSetting(S,I,D,H)}const l=(E,S,I,D,H)=>{function V(){Ai.logUserAction({name:S.name,value:S.value},{location:e,entity:Wr.UserSetting,actionType:ht.Edit}),I==null||I()}nd(o,f(E,S,V,D,H))},d=(E,S)=>new Promise((I,D)=>{l(E,S,I,D)}),v=(E,S,I,D)=>l("user",E,S,I,D),p=(E,S,I,D)=>l("customer",E,S,I,D),w=E=>d("user",E),x=E=>d("customer",E);function C(){var E;return(E=t.data)!=null&&E.isAuthenticated?u(zt.HasTopicDirectories):!0}return{isLoadingSettings:!a,updateUserSetting:v,updateUserSettingAsync:w,updateCustomerSetting:p,updateCustomerSettingAsync:x,userSettings:n,shareToGoogleClassroom:u(zt.ShareToGoogleClassroom),shareToMicrosoftTeams:u(zt.ShareToMicrosoftTeams),hasLti:u(zt.LTI),defaultPlaybackQuality:u(zt.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:u(zt.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:u(zt.EnableSubtitlesDefault),hasCompletedOnboardingV1:u(zt.HasCompletedOnboardingV1),hasCompletedOnboardingV2:u(zt.HasCompletedOnboardingV2),hasOnboardingV2:u(zt.HasNewOnboarding),hasCompletedOnboardingStepCreatePlaylist:u(zt.HasCompletedOnboardingStepCreatePlaylist),hasCompletedOnboardingProductTips:u(zt.HasCompletedOnboardingProductTips),liteUpgradeTime:u(zt.LiteUpgradeTime),liteUpgradeTypeCustomer:u(zt.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:u(zt.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:u(zt.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:u(zt.LiteUpgradeFeedback),liteUpgradeComplete:u(zt.LiteUpgradeComplete),hasNewClassificationView:u(zt.HasNewClassificationView),hasCuratedDiscoverDashboards:u(zt.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:u(zt.HasSpecialEventCalendar),hasLiteSearchDropdown:u(zt.HasLiteSearchDropdown),policyEndTime:u(zt.PolicyEndTime),bulkOnboardingPreferencesState:u(zt.BulkOnboardingPreferencesState),hasOnlineTopics:u(zt.Topics),hasPreviewVideos:u(zt.PreviewVideos),domainSettings:u(zt.DomainSettings),inviteColleague:u(zt.InviteColleague),myVideosFolders:u(zt.MyVideosFolders),exchangeTvProductOption:u(zt.ExchangeTvProductOption),messageFrequencyOption:u(zt.MessageFrequencyOption),tvRegion:u(zt.TvRegion),hasEnabledViviStudentCasting:u(zt.HasEnabledViviStudentCasting),hasEnabledViviPlayback:u(zt.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:u(zt.HasEnabledAppleTvPlayback),hasDisplayedPresentationSwitcherProductTip:u(zt.HasDisplayedPresentationSwitcherProductTip),hasDisplayedTopicsDirectoryTabProductTip:u(zt.HasDisplayedTopicsDirectoryTabProductTip),hasDisplayedGiveFeedbackFormProductTip:u(zt.HasDisplayedGiveFeedbackFormProductTip),hasDisplayedWhatsNewLinkProductTip:u(zt.HasDisplayedWhatsNewLinkProductTip),showExchangeSearchResults:u(zt.ShowExchangeSearchResultsUser),shareOverrideRestrictions:u(zt.ShareOverrideRestrictions),hasTopicDirectories:C(),hasTopicVideoListFeature:u(zt.HasTopicVideoListFeature),hasManageGroupPermissions:u(zt.HasManageGrouPermissions),experimentalInteractiveQuestions:u(zt.ExperimentalInteractiveQuestions),hasClassrooms:u(zt.HasClassrooms),hasNewSearch:u(zt.HasNewSearch),hasPlayPageTranscript:u(zt.HasPlayPageTranscript),hasShareFlowV2:u(zt.HasShareFlowV2)}};var xg=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(xg||{}),Pa=(e=>(e[e.Thumbnails=0]="Thumbnails",e[e.Banners=1]="Banners",e[e.Avatars=2]="Avatars",e[e.Logos=3]="Logos",e[e.Covers=4]="Covers",e[e.Posters=5]="Posters",e[e.TallPosters=6]="TallPosters",e[e.HeroBanners=7]="HeroBanners",e[e.Pdf=8]="Pdf",e[e.Link=9]="Link",e[e.None=99999]="None",e))(Pa||{}),HX=(e=>(e[e.Crop=0]="Crop",e[e.Stretched=1]="Stretched",e[e.Cover=2]="Cover",e))(HX||{});function BX(e){return Q.jsx("svg",{...e,children:Q.jsx("path",{d:"m16.837 9.842-1.138-3.678a1.65 1.65 0 0 0-.887-1.01 1.67 1.67 0 0 0-1.348-.02l-1.14.486a.8.8 0 0 1-.647 0l-1.14-.488a1.67 1.67 0 0 0-1.348.021 1.65 1.65 0 0 0-.887 1.01L7.164 9.842a7.17 7.17 0 0 0-3.062 1.85.41.41 0 0 0 .314.683h15.17c.162 0 .31-.094.376-.241a.41.41 0 0 0-.064-.44 7.17 7.17 0 0 0-3.061-1.852M9.094 6.404a.836.836 0 0 1 1.117-.516l1.135.484c.416.181.89.181 1.306 0l1.137-.485a.836.836 0 0 1 1.117.516l.976 3.153a16.17 16.17 0 0 0-7.764 0zm-3.59 5.148c1.455-1.019 3.866-1.645 6.497-1.645a14.5 14.5 0 0 1 4.41.651c.74.229 1.444.563 2.087.994zm9.807 1.645a2.9 2.9 0 0 0-2.508 1.447 1.61 1.61 0 0 0-1.604 0c-.763-1.323-2.425-1.835-3.807-1.173s-2.016 2.272-1.452 3.69a2.93 2.93 0 0 0 3.6 1.704 2.906 2.906 0 0 0 1.968-3.445.88.88 0 0 1 .986 0 2.87 2.87 0 0 0 1.269 3.088 2.91 2.91 0 0 0 3.351-.176c.966-.762 1.341-2.048.935-3.204s-1.505-1.932-2.738-1.93m-6.62 4.936c-1.143 0-2.07-.92-2.07-2.056s.927-2.057 2.07-2.057 2.069.92 2.069 2.057a2.065 2.065 0 0 1-2.07 2.056m6.62 0c-1.142 0-2.069-.92-2.069-2.056s.927-2.057 2.07-2.057 2.068.92 2.068 2.057a2.065 2.065 0 0 1-2.069 2.056",fill:"currentColor"})})}const zX={[Pa.Banners]:"banner",[Pa.Thumbnails]:"thumbnail"},oP={[Pa.Banners]:"banners",[Pa.Thumbnails]:"thumbnails",[Pa.TallPosters]:"tallPosters",[Pa.Covers]:"covers",[Pa.Avatars]:"avatars"},WX={categoryMapper:e=>`/v1/category-map/${e}`},js={createUrl(e,t){return js._createUrl(e,t)},createBannerUrl(e,t,r){return e&&e.url?js._createUrl(e.url,r):js._createCategoryMappedUrl(t,r)},createResourceImage(e,t,r){return js._createUrl(e,{url:t,...r})},Rfc3986EncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl(e,t){const{fallbackBaseUrl:r,fallbackCategoryName:n,type:o}=e,a=Ko.safeUrlConcat(r,`${WX.categoryMapper(zX[o])}`),u={name:js.Rfc3986EncodeURIComponent(n),...t};return js._createUrl(a,u)},_createUrl(e,t){if(!e)return;if(ws.isEmpty(t))return e;const r=$.param(t),n=e.indexOf("?")===-1?"?":"&";let o=e;return o.endsWith("/")&&(o=o.slice(0,-1)),o+`${n}${r}`},legacyCreateThumbnailUrl(e,t){if(!e)return"";let r;if(!e||(e instanceof Ks?r=e.get("url"):typeof e=="string"?r=e:r=e.url,!r))return;const n={size:xg.Small,bgColor:"000",...t};return js._createUrl(r,n)},getDisplayImageFromObject(e){var t,r,n,o,a;return"tallPoster"in e&&((t=e.tallPoster)!=null&&t.url)?e.tallPoster:"cover"in e&&((r=e.cover)!=null&&r.url)?e.cover:"thumbnail"in e&&((n=e.thumbnail)!=null&&n.url)?e.thumbnail:"_parentVideo"in e&&((a=(o=e._parentVideo)==null?void 0:o.thumbnail)!=null&&a.url)?e._parentVideo.thumbnail:null},getUrlById(e,t,r,n){oP[t]||Mt.throw(new Hr(`ImageType:${t} not supported, please add it to 'ImageApiImageTypes'`));const o=Ko.safeUrlConcat(e,`v2/${oP[t]}/${r}`);return Ko.urlBuilder(o,{size:n})}},qX="_avatar_xiggt_1",GX="_dot_xiggt_11",dE={avatar:qX,dot:GX};function YX(e,t){return t?js.createUrl(Ko.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:xg.Small}):""}function KX(e){const t=!e.anonymiseUsers&&e.imageUrl||YX(e.imageCdnUrl,e.initials);return Q.jsxs("div",{className:"position-relative h-100 w-100",children:[e.showAnonymousUser?Q.jsx("div",{className:`${dE.avatar} ${(e==null?void 0:e.extraClasses)||""} bg-gray-700 text-light`,children:Q.jsx(Ua,{svg:BX,size:e.anonymousSvgSize||RM.Large,className:"svg-container w-100 h-100"})}):Q.jsx("div",{className:`${dE.avatar} ${(e==null?void 0:e.extraClasses)||""}`,style:{backgroundImage:`url('${t}')`},children:" "}),e.showDot&&Q.jsx("div",{className:`${dE.dot} rounded-circle bg-danger`})]})}function sP(e){return Q.jsx("svg",{...e,children:Q.jsx("path",{fill:"currentColor",d:"M13.5 4.5A.5.5 0 0 1 14 4h5.5a.5.5 0 0 1 .5.5V10a.5.5 0 0 1-1 0V5.707l-6.146 6.147a.5.5 0 0 1-.708-.708L18.293 5H14a.5.5 0 0 1-.5-.5M5 7.5A1.5 1.5 0 0 1 6.5 6H9a.5.5 0 0 1 0 1H6.5a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V15a.5.5 0 0 1 1 0v3.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 5 18.5z"})})}const hE={"Academic Coach":"teacher","Assistant Head Teacher":"kdm","Consortium Leadership":"kdm","Curriculum Coordinator":"teacher","Curriculum Leader":"teacher","Deputy Head Teacher":"kdm","Deputy Principal":"kdm","Digital Technology Coordinator":"teacher","District Leadership":"kdm","e-Learning/ICT Coordinator":"teacher","Head of Department":"teacher","Head of Faculty":"teacher","Head of Key Stage":"teacher","Head of Subject":"teacher","Head Teacher":"kdm",IT:"kdm","IT/LRC":"kdm","e-Learning Coordinator":"kdm","Instructional Technology Specialist":"teacher","Librarian / Teacher Librarian":"teacher",Principal:"kdm","School Leadership":"kdm","Subject Lead":"teacher",Teacher:"teacher","SSO / SLSO":"teacher","Assistant Principal":"kdm","IT / IT Specialist":"kdm","Learning Support":"teacher","Learning Assistant":"teacher",Professor:"kdm",Lecturer:"teacher","Course Coordinator / Administrator":"teacher","Digital Learning Manager":"teacher",Tutor:"teacher","Teaching Fellow":"teacher",Librarian:"teacher",Researcher:"teacher","Learning Technologist":"teacher","Teaching Assistant":"teacher"};var mf=(e=>(e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner",e))(mf||{}),jl=(e=>(e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e))(jl||{});const yu={getInitials(e,t){let r="";return e!=null&&e.length&&(r=e[0]),t!=null&&t.length&&(r+=t[0]),r.toUpperCase()},getInitialsFromFullName(e){const t=(e==null?void 0:e.split(" "))??[];if(!t.length)return"";const r=t[0],n=t.length>1?t[1]:"";return yu.getInitials(r,n)},getFullName(e){return e!=null&&e.name?`${(e==null?void 0:e.name)??""} ${(e==null?void 0:e.surname)??""}`.trim():""},getCommunityName(e){var t;return e!=null&&e.name?`${e.name} ${(t=e.surname)==null?void 0:t.slice(0,1)}`:""},getUserType(e){let t=e.userType;if(typeof t=="number")switch(t){case 0:t=mf.Unknown;break;case 1:t=mf.Staff;break;case 2:t=mf.Learner;break}return t},getUserRole(e){var r,n;let t;if("userProfiles"in e&&(t=(n=(r=e.userProfiles.data)==null?void 0:r[0])==null?void 0:n.role),"userProfile"in e&&(t=e.userProfile.role),!t)return jl.User;if(typeof t=="number")switch(t){case 16:t=jl.Guest;break;case 32:t=jl.User;break;case 48:t=jl.Admin;break;case 64:t=jl.SuperAdmin;break}return t},getDisplayName(e){var t,r;return(t=e.metadata)!=null&&t.displayName?(r=e.metadata)==null?void 0:r.displayName:yu.getFullName(e)},getYearGroup(e){var t,r,n;return(t=e.masterYearGroup)!=null&&t.id?e.masterYearGroup:(n=(r=e.yearGroups)==null?void 0:r.data)!=null&&n.length?Uu.first(e.yearGroups.data):null},hasLegacySso(e){var t;return(t=e==null?void 0:e.authenticationMethods)!=null&&t.length?e.authenticationMethods.some(r=>!r.local&&r.isLegacy):!1},hasNonLegacySso(e){var t;return(t=e==null?void 0:e.authenticationMethods)!=null&&t.length?e.authenticationMethods.some(r=>!r.local&&!r.isLegacy):!1},hasSso(e){return yu.hasLegacySso(e)||yu.hasNonLegacySso(e)},getPersonaFromJobTitle(e){if(!e)return"teacher";const t={};for(const n in hE)hE.hasOwnProperty(n)&&(t[n.toLowerCase()]=hE[n]);const r=t[e.toLowerCase()];return r||"teacher"},isKDM(e){return e?yu.getPersonaFromJobTitle(e)==="kdm":!1},getValidYearGroups(e){return e?e.filter(t=>t.value!==0):[]}};function aP(e){return Q.jsx("svg",{...e,children:Q.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.378 5.167a.62.62 0 0 1 .873 0l7.535 7.507a.494.494 0 1 0 .697-.7l-7.536-7.506a1.605 1.605 0 0 0-2.266 0l-7.536 7.506a.494.494 0 1 0 .697.7zM6.206 13.43a.494.494 0 0 0-.987 0v6.077c0 .273.22.494.494.494h4.437a.494.494 0 0 0 .494-.494v-4.42c0-.335.274-.611.616-.611h1.109c.342 0 .616.276.616.611v4.42c0 .273.22.494.493.494h4.438a.494.494 0 0 0 .494-.494V13.43a.494.494 0 0 0-.988 0v5.583h-3.45v-3.926c0-.885-.72-1.599-1.603-1.599h-1.11c-.883 0-1.603.714-1.603 1.6v3.925h-3.45z",clipRule:"evenodd"})})}const XX="_toggle_1f3ot_1",QX={toggle:XX},JX=4,uP="shared.customerSelectorItem";function ZX(e){var n;function t(o,a=null){a!==e.currentCustomerId&&(Ai.logUserAction({id:e.currentCustomerId,newCustomerId:a},{actionType:ht.SwitchCustomer,entity:Wr.Customer,location:gi.UserOptions}),Yr.PageLoad(r(a)))}function r(o){return o?`/change-customer?customerId=${o}`:"/change-customer"}return!((n=e.customers)!=null&&n.length)||!e.currentCustomerId?Q.jsx(Q.Fragment,{}):e.customers.length<=1?Q.jsx(Q.Fragment,{}):e.customers.length>JX?Q.jsx(ro.Item,{as:"li",onClick:o=>t(),className:"cursor-pointer",children:Q.jsxs("div",{className:"d-flex justify-content-between",children:[Q.jsx(Uf,{namespace:uP,phrase:"title"}),Q.jsx(Ua,{svg:aP,className:"svg-container text-secondary"})]})}):Q.jsxs("li",{className:"dropdown-item dropstart cursor-pointer",children:[Q.jsxs("div",{className:`dropdown-toggle d-flex justify-content-between ${QX.toggle}`,"data-bs-toggle":"dropdown","aria-expanded":"false",children:[Q.jsx(Uf,{namespace:uP,phrase:"title"}),Q.jsx(Ua,{svg:aP,className:"svg-container text-secondary"})]}),Q.jsx("ul",{className:"dropdown-menu",children:e.customers.map((o,a)=>{const u=o.id===e.currentCustomerId;return Q.jsx(ro.Item,{as:"li",onClick:f=>t(f,o.id),disabled:u,children:o.name},a)})})]})}var Cg=(e=>(e.ManageSubjectPreferences="subjects.preferences.manage",e.FollowSubjects="subjects.follow",e.ViewClassrooms="classrooms.view",e.ManageAllClassrooms="classrooms.manage.all",e.ShareToUsers="share.direct.users",e.ShareToClassrooms="share.direct.classrooms",e.ShareToClassroomGroups="share.direct.classroomgroups",e.CreateClassrooms="classrooms.create",e.DeleteClassrooms="classrooms.delete",e.StudentExperience="studentexperience",e.ManageUsers="users.manage",e.ManageIntegrations="integrations.manage",e.EditProfileDetails="profile.edit",e.ManageCustomerSettings="customersettings.manage",e.ManageLocalCache="localcache.manage",e.ManageVideoAccess="video.access.manage",e.ViewCustomerAnalytics="analytics.customeranalytics.view",e.ViewAnalyticsProduct="analytics.view",e.ManageShareLinkSettings="sharelink.settings.edit",e.ViewProductBoard="productboard.view",e.CanSubmitFeedback="feedback.submit",e.ViewTrialDuration="trial.duration.view",e.ViewTrialBanner="trial.banner.view",e.ViewTrialUpgrade="trial.upgrade.view",e.ViewInviteColleague="invitecolleague.view",e.UploadVideo="video.upload",e.FavouriteVideo="video.favourite",e.ViewVideoPointsOfInterest="video.pointsofinterest.view",e.ViewVideoGlance="video.glance.view",e.ViewVideoInteractives="video.interactives.view",e.ViewVideoClips="video.clips.view",e.ViewCurriculums="curriculums.view",e.ViewLibraries="libraries.view",e.ViewOnboarding="onboarding.view",e.Exchange="exchangetv.manage",e.Rostering="rostering.manage",e.ViewMoviesTv="moviestv.view",e.ViewDiscover="discover.view",e.ViewSearch="search.view",e.ViewMyShares="myshares.view",e.ViewInsights="insights.view",e.ViewRestrictedMode="restrictedmode.view",e))(Cg||{}),I_=(e=>(e.UPDATE="UPDATE_VIEW_MODEL",e))(I_||{});function eQ(e){return e?e===Yo.SessionStorage?bp:Bn:null}const x$=(e,t,r)=>{const n=eQ(r==null?void 0:r.storage);let o=n==null?void 0:n.get(e);const a=rd(),u=XD(p=>p.viewModelData[e]);(o==="undefined"||o==="null")&&(o=null);function f(){return o!=null}const l=(t!==void 0||f())&&u===void 0;er.useEffect(()=>{if(l){if(f()){d(o);return}d(t);return}},[]);function d(p,w){n&&v(p,w),a({type:I_.UPDATE,payload:{viewModelKey:e,dataOrKey:p,keyData:w}})}function v(p,w){if(!n)return;const x=n.get(e);if(typeof p=="string"&&w!==void 0){n.set(e,{...x,[p]:w});return}n.set(e,p)}return l?f()?[o,d]:[t,d]:[u??void 0,d]},tQ={LOCAL_PERMISSIONS:"local:permissions",BULK_USER_ACTIONS:"bulk:user:actions"},P_=()=>{const e=pi(Ri.currentUser()),t=pi(e.hasCompleted&&Ri.permissions()),[r]=x$(tQ.LOCAL_PERMISSIONS),n=a=>!t.hasCompleted||t.hasError?!1:!a||!(a!=null&&a.length)?!0:Array.isArray(a)?!a.find(u=>!t.data[u]):!!t.data[a],o=a=>(r||Mt.throw(new Hr("Local Permissions should be registered during start up.")),!a||!(a!=null&&a.length)?!0:Array.isArray(a)?!a.find(u=>!r[u]):!!r[a]);return{permissions:t.data,hasPermissions:n,hasLocalPermissions:o,isLoaded:t.hasCompleted}},C$=()=>{const{liteUpgradeTypeUser:e,liteUpgradeTypeCustomer:t,liteUpgradeTime:r,liteUpgradeFeedback:n,liteUpgradeComplete:o,hasCompletedUpgradeOnboarding:a,isLoadingSettings:u}=b$(null),{hasPermissions:f}=P_(),l=e||t,d=ne.useMemo(()=>{if(u||!r)return 0;const C=new Date(r),E=new Date;return Math.max(Lu.diffBetween(C,E,"day"),0)+1},[u,r]),[v,p]=x$("lite:upgrade:feedback:banner",{show:!0},{storage:Yo.LocalStorage}),w=!!l;return{isUpgrading:w&&!o,isLoading:u,daysLeft:d,upgradeType:l,hasCompletedOnboarding:a,feedbackStatus:n,showFeedbackBanner:w&&v.show&&!f(Cg.StudentExperience),showTvGuide:w,dismissFeedbackBanner:()=>p({show:!1})}};class rQ{static get Instance(){return this.instance||(this.instance=new this)}initialize(t){this.initializeUrl(t)}initializeUrl(t){if(!t.product){Mt.throw(new Hr("ArticleHelper requires a product name"));return}if(this.product=t.product,this.marketingSiteUrl=t.marketingSiteUrl,t.product===no.Online){if(!t.onlineSupportSiteUrl){Mt.throw(new Hr("ArticleHelper requires a online support site url"));return}this.supportSiteUrl=t.onlineSupportSiteUrl;return}if(!t.liteSupportSiteUrl){Mt.throw(new Hr("ArticleHelper requires a lite support site url"));return}this.supportSiteUrl=t.liteSupportSiteUrl}validate(){return this.supportSiteUrl?!0:(Mt.throw(new Hr("ArticleHelper was not initialized")),!1)}getArticle(t,r){if(!this.validate())return"";const n=t?`hc/${r}/${t}`:"hc";return Ko.safeUrlConcat(this.supportSiteUrl,n)}getOnlineArticle(t,r="articles"){return this.product===no.Primary&&Mt.throw(new Hr("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(t,r)}getLiteArticle(t,r="articles"){return this.product===no.Online&&Mt.throw(new Hr("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(t,r)}getHybridArticle(t,r,n="articles"){return this.product===no.Online?this.getOnlineArticle(t,n):this.getLiteArticle(r,n)}getSupportRequestUrl(){return this.validate()?Ko.safeUrlConcat(this.supportSiteUrl,"hc/requests/new"):""}getAuthorBlogUrl(t){return!this.marketingSiteUrl||!t?"":Ko.safeUrlConcat(this.marketingSiteUrl,`blog/author/${t}`)}}const u1=rQ.Instance,nQ="shared.userOptions",lP=fr.encloseNamespace(nQ);function iQ(e,t,r){const{hasPermissions:n}=P_(),o=C$(),a=Uu.sortBy(t,"order");if(e&&(a.push({label:lP("helpCentre"),order:0,url:u1.getHybridArticle(null,null),analyticsData:{url:u1.getHybridArticle(null,null)},analyticsOptions:{actionType:ht.Click,entity:Wr.Url,descriptor:Pu.ExternalLink,location:gi.UserOptions}}),n(Cg.ViewProductBoard)&&!o.isUpgrading&&!r)){const f=Ko.safeUrlConcat(e.productBoardUrl,"tabs/23-what-s-new");a.push({label:lP("whatsNew"),order:0,url:f,analyticsData:{url:f},analyticsOptions:{actionType:ht.Click,entity:Wr.Url,descriptor:Pu.ExternalLink,location:gi.UserOptions}})}const u={main:[],logOut:[]};return a.forEach(f=>{f.section==="logOut"?u.logOut.push(f):u.main.push(f)}),u}function oQ(e,t,r){var d;const n=pi(Ri.currentUser()),o=pi(((d=n.data)==null?void 0:d.isAuthenticated)&&w_.userProducts()),a=C$();if(t||!o.data||a.isLoading)return;const u=[...o.data],f=Array.isArray(e)?e:[e];a.isUpgrading&&!f.includes(no.Online)&&f.push(no.Online);let l=u.filter(v=>!f.includes(v.id),"order");return typeof r=="function"&&(l=r(l)),Uu.sortBy(l)}const sQ="_avatarContainer_1z0er_1",aQ="_productLogo_1z0er_5",uQ="_counter_1z0er_9",Cp={avatarContainer:sQ,productLogo:aQ,counter:uQ},lQ="shared.userOptions",Tp=fr.encloseNamespace(lQ);function cP({item:e}){if(e.appLink)return Q.jsxs(ro.Item,{as:co,appLink:e.appLink,openInNewTab:e.openInNewTab,onClick:e.onClick,className:"d-flex align-items-center",analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:[e.counter>0&&Q.jsx("div",{className:`${Cp.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),Q.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,!!e.openInNewTab&&Q.jsx(Ua,{svg:sP,className:"svg-container text-secondary"})]})]});if(e.url){let t=function(r){var n;r.preventDefault(),(n=e.onClick)==null||n.call(e),e.analyticsData&&e.analyticsOptions&&Ai.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),Yr.PageLoad(e.url,!0)};return Q.jsxs(ro.Item,{as:"a",href:e.url,target:e.openInNewTab===!1?null:"_blank",className:"d-flex align-items-center",onClick:r=>t(r),children:[e.counter>0&&Q.jsx("div",{className:`${Cp.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),Q.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,e.openInNewTab!==!1&&Q.jsx(Ua,{svg:sP,className:"svg-container text-secondary"})]})]})}return Q.jsx(Q.Fragment,{})}const cQ=({appLinks:e})=>Q.jsxs(Q.Fragment,{children:[Q.jsx(co,{appLink:e.signIn,className:"btn btn-link",analyticsOptions:{actionType:ht.Click,location:gi.TopNav,entity:Wr.Url,descriptor:Lf.SignIn},analyticsData:{},children:Tp("signIn")}),Q.jsx(co,{appLink:e.signUp,className:"btn btn-dark d-none d-lg-inline-block",analyticsOptions:{actionType:ht.Click,location:gi.TopNav,entity:Wr.AppLink,workflowPhase:Na.Start,descriptor:Lf.SignUp},analyticsData:{},tag:"button",children:Tp("signUp")})]}),fQ=({appLinks:e})=>Q.jsx(co,{appLink:e.signIn,className:"btn btn-dark d-inline-block",analyticsOptions:{actionType:ht.Click,location:gi.TopNav,entity:Wr.AppLink,workflowPhase:Na.Start,descriptor:Lf.SignIn},analyticsData:{},children:Tp("signIn")});function dQ(e){var p,w,x,C,E,S;const[t,r]=ne.useState(!1),n=pi(Ri.currentUser()),o=pi(((p=n.data)==null?void 0:p.id)&&Ri.user(n.data.id)),a=pi(Va.config()),u=pi(((w=n.data)==null?void 0:w.isAuthenticated)&&Ri.customers(n.data.id)),f=iQ(a.data,e.additionalItems,e.hideWhatsNew),l=oQ(e.productId,e.hideProductList,e.transform);function d(I){r(I),Ai.logUserAction({},{actionType:ht.Click,entity:Wr.AppLink,location:gi.UserOptions,descriptor:I?Pu.Open:Pu.Close})}function v(I){Ai.logUserAction({id:I.id,name:I.name},{actionType:ht.Click,entity:Wr.Product,location:gi.UserOptions,descriptor:Pu.ExternalLink})}return!n.hasCompleted||n.data.isAuthenticated&&!o.hasCompleted||!a.data?Q.jsx(Q.Fragment,{}):n.data.isAuthenticated?Q.jsxs(ro,{className:"position-relative",onToggle:d,children:[Q.jsx(ro.Toggle,{id:"userOptions",variant:"","aria-label":"Options menu",className:`${Cp.avatarContainer} no-caret border-0 p-0`,children:Q.jsx(KX,{imageUrl:js.createUrl(n.data.avatar,{size:xg.Small}),imageCdnUrl:a.data.imageCdnUrl,initials:yu.getInitials(n.data.givenName,n.data.familyName),showDot:f.main.some(I=>I.counter>0)})}),Q.jsxs(ro.Menu,{as:"ul",align:"end",children:[Q.jsxs(ro.Item,{as:"div",children:[Q.jsxs("div",{className:"m-0 d-flex flex-wrap",children:[Q.jsx("strong",{children:n.data.displayName})," ",Q.jsxs("span",{className:"text-secondary",children:["(",n.data.username,")"]})]}),Q.jsx("div",{className:"m-0 text-secondary",children:n.data.customerName}),((x=o.data)==null?void 0:x.masterYearGroup)&&Q.jsx("p",{className:"m-0 text-secondary",children:o.data.masterYearGroup.name})]}),Q.jsx(ZX,{isParentOpen:t,currentCustomerId:(C=n.data)==null?void 0:C.customerId,customers:(E=u.data)==null?void 0:E.data}),Q.jsx(ro.Divider,{}),f.main.map((I,D)=>Q.jsx(cP,{item:I},D)),Q.jsx(ro.Divider,{}),l==null?void 0:l.map((I,D)=>Q.jsxs(ro.Item,{as:"a",href:I.url,target:"_blank",className:"d-flex align-items-center py-1",onClick:()=>v(I),children:[Q.jsx("img",{src:I.imageUrl,className:`${Cp.productLogo} me-2`}),I.name]},D)),!!(l!=null&&l.length)&&Q.jsx(ro.Divider,{}),f.logOut.map((I,D)=>Q.jsx(cP,{item:I},D)),Q.jsx(ro.Item,{as:co,appLink:e.appLinks.signOut,analyticsData:{id:(S=n.data)==null?void 0:S.id},analyticsOptions:{actionType:ht.Click,location:gi.UserOptions,entity:Wr.AppLink,descriptor:Lf.SignOut},children:Tp("signOut")})]})]}):e.displaySignUp?Q.jsx(cQ,{...e}):Q.jsx(fQ,{...e})}function hQ(e){return Q.jsx("svg",{...e,children:Q.jsx("path",{fill:"currentColor",d:"M4.794 4c-.67 0-1.207.541-1.207 1.21v13.58c0 .669.538 1.21 1.207 1.21h14.499c.67 0 1.207-.541 1.207-1.21V5.21c0-.669-.538-1.21-1.207-1.21zm-.207 1.21c0-.12.093-.21.207-.21h14.499c.114 0 .207.09.207.21v13.58c0 .12-.093.21-.207.21h-.82c.09-.212.126-.451.09-.696l-.977-6.73a1.3 1.3 0 0 0-1.474-1.099l-.791.115a1.3 1.3 0 0 0-.628.273A1.3 1.3 0 0 0 13.4 9.7h-1.6c-.302 0-.58.103-.8.275a1.3 1.3 0 0 0-.8-.275H8.6A1.3 1.3 0 0 0 7.3 11v7.6q0 .21.063.4H4.794a.207.207 0 0 1-.207-.21zM14.7 15.36l.499 3.433q.015.107.047.207h-.609a1.3 1.3 0 0 0 .063-.4zM8.3 11a.3.3 0 0 1 .3-.3h1.6a.3.3 0 0 1 .3.3v7.6a.3.3 0 0 1-.3.3H8.6a.3.3 0 0 1-.3-.3zm3.5-.3h1.6a.3.3 0 0 1 .3.3v7.6a.3.3 0 0 1-.3.3h-1.6a.3.3 0 0 1-.3-.3V11a.3.3 0 0 1 .3-.3m3.41 1.22a.3.3 0 0 1 .254-.34l.792-.115a.3.3 0 0 1 .34.254l.978 6.729a.3.3 0 0 1-.254.34l-.792.115a.3.3 0 0 1-.34-.254z"})})}function pQ(e){return Q.jsx("svg",{...e,children:Q.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.893 7.5H5.6A1.6 1.6 0 0 0 4 9.1v9.3A1.6 1.6 0 0 0 5.6 20h12.8a1.6 1.6 0 0 0 1.6-1.6V9.1a1.6 1.6 0 0 0-1.6-1.6h-5.096l2.733-2.535a.55.55 0 0 0 0-.816.657.657 0 0 0-.88 0l-3.059 2.837L9.04 4.15a.657.657 0 0 0-.88 0 .55.55 0 0 0 0 .816zM5.6 8.7h12.8c.22 0 .4.18.4.4v9.3a.4.4 0 0 1-.4.4H5.6a.4.4 0 0 1-.4-.4V9.1c0-.22.18-.4.4-.4m11.407 3.413a.6.6 0 0 1-.24.814l-4.4 2.4a.6.6 0 0 1-.887-.527v-1.39l-3.513 1.917a.6.6 0 1 1-.574-1.054l4.4-2.4a.6.6 0 0 1 .887.527v1.39l3.513-1.917a.6.6 0 0 1 .814.24",clipRule:"evenodd"})})}const gQ="_navItem_7o62g_5",vQ="_active_7o62g_18",mQ="_svg_7o62g_21",yQ="_background_7o62g_24",wQ="_backgroundExchange_7o62g_33",EQ="_backgroundTv_7o62g_37",SQ="_iconContainer_7o62g_42",_Q="_text_7o62g_57",bQ="_exchange_7o62g_66",xQ="_clickviewTv_7o62g_72",ps={navItem:gQ,active:vQ,svg:mQ,background:yQ,backgroundExchange:wQ,backgroundTv:EQ,iconContainer:SQ,text:_Q,exchange:bQ,clickviewTv:xQ};function CQ(e){return e==="exchange"?ps.backgroundExchange:e==="tv"?ps.backgroundTv:""}function fP(e){const{appLink:t,typeClass:r,active:n,text:o,svg:a}=e;return Q.jsxs(co,{appLink:t,className:`${ps.navItem} ${r} ${n?ps.active:""}`,children:[Q.jsx("div",{className:ps.iconContainer,children:Q.jsx(Ua,{svg:a,className:ps.svg})}),Q.jsx("div",{className:ps.text,children:o})]})}function TQ(e){return Q.jsxs("div",{className:"position-relative",children:[Q.jsx("div",{className:`${ps.background} ${CQ(e.activeApp)}`}),Q.jsx(fP,{appLink:{application:On.EXCHANGE,action:io.Exchange.INDEX},typeClass:ps.exchange,active:e.activeApp==="exchange",text:"Exchange Archive",svg:hQ}),Q.jsx(fP,{appLink:{application:On.TV,action:io.Tv.INDEX},typeClass:ps.clickviewTv,active:e.activeApp==="tv",text:"ClickView TV",svg:pQ})]})}var T$=(e=>(e[e.Unclassified=0]="Unclassified",e[e.Primary=1]="Primary",e[e.Secondary=2]="Secondary",e[e.K12=3]="K12",e[e.Tertiary=4]="Tertiary",e[e.NonEducational=5]="NonEducational",e[e.Partners=6]="Partners",e[e.Internal=7]="Internal",e[e.Other=8]="Other",e[e.ClickView=254]="ClickView",e[e.System=255]="System",e))(T$||{}),AQ=(e=>(e.Unclassified="Unclassified",e.Primary="Primary",e.Secondary="Secondary",e.K12="K12",e.Tertiary="Tertiary",e.NonEducational="NonEducational",e.Partners="Partners",e.Internal="Internal",e.Other="Other",e.ClickView="ClickView",e.System="System",e))(AQ||{});const A$={customer(e,t,r,n){return{url:Ko.urlBuilder(`{gateway}/v1/objects/${e}`,{query:n?"organisation":""}),key:`customers:${e}:${n?"with-organization":""}`,success:t,error:r}},yearGroups(e){return{url:`{gateway}/v1/customers/${e}/year-groups?query={orderby:value}rating`,key:"year:groups"}},updateYearGroupRatings(e,t,r,n){return{url:`{gateway}/v1/customers/${e}/year-groups`,key:"update:year:group:ratings",type:di.PUT,data:t,success:r,error:n,invalidationKeys:["year:groups"]}}},RQ="_nav_1fy76_1",OQ="_logo_1fy76_11",IQ="_navIconContainer_1fy76_23",Ch={nav:RQ,logo:OQ,navIconContainer:IQ},PQ="exchange.header",dP={application:On.DEFAULT,action:io.Default.INDEX};function kQ(e){var v,p,w;const t=pi(Va.config()),r=pi(w_.userProducts()),n=pi(Ri.currentUser()),a=((p=pi(!!((v=n.data)!=null&&v.isAuthenticated)&&A$.customer(n.data.customerId)).data)==null?void 0:p.customerType)===T$.Tertiary,{exchangeTvProductOption:u}=b$(null),{hasPermissions:f}=P_(),l=(w=r.data)==null?void 0:w.find(x=>x.id===no.Exchange);function d(x){return a&&!f(Cg.ViewCustomerAnalytics)?x.filter(C=>C.id!==no.Analytics):x}return Q.jsx("nav",{className:`navbar navbar-expanded ps-3 w-100 ${Ch.nav}`,children:Q.jsxs("div",{className:"container-fluid",children:[Q.jsx("div",{className:`d-flex align-items-center justify-content-start ${Ch.headerLeft}`,children:Q.jsx(co,{appLink:dP,className:`navbar-brand text-hide align-top ${Ch.logo} d-inline-block'`,analyticsData:{url:_n.getHref(dP)},analyticsOptions:{actionType:ht.Click,entity:Wr.Url,location:gi.TopNav,descriptor:Pu.ClickViewLogo},children:Q.jsx(VX,{})})}),l&&u==="exchange_and_tv"&&Q.jsx("div",{className:`${Ch.navIconContainer} position-absolute w-100 d-flex align-items-center justify-content-center`,children:Q.jsx(TQ,{activeApp:e.activeApp})}),Q.jsxs("div",{className:"d-flex align-items-center justify-content-end",children:[Q.jsx(co,{appLink:{application:On.DEFAULT,action:io.Default.GIVE_FEEDBACK},className:"btn btn-outline-dark me-3",children:Q.jsx(Uf,{namespace:PQ,phrase:"giveFeedback"})}),!!t.data&&Q.jsx("div",{className:"me-3",children:Q.jsx(dQ,{productId:no.Exchange,appLinks:{signOut:{application:On.DEFAULT,action:io.Default.LOG_OUT}},transform:d})})]})]})})}const LQ="_content_x26h4_1",DQ="_container_x26h4_6",NQ="_fixedBottomRightContainer_x26h4_13",MQ="_lockedWidth_x26h4_19",Th={content:LQ,container:DQ,fixedBottomRightContainer:NQ,lockedWidth:MQ},R$="banner-portal-container",$Q=e=>(FX(),jX(),ne.useEffect(()=>{document.body.style.overflowY="scroll"},[]),Q.jsx(iE,{renderError:()=>NM({error:new sc}),children:Q.jsxs("div",{className:Th.lockedWidth,children:[Q.jsx(kQ,{activeApp:e.activeApp}),Q.jsxs("div",{className:Th.content,children:[Q.jsx("div",{className:`container-fluid ${R$}`}),Q.jsxs("div",{className:`container px-3 ${Th.container}`,children:[Q.jsx(iE,{throwError:sc,children:e.contentChild}),Q.jsx(UX,{})]})]}),Q.jsx(iE,{throwError:oq,children:e.popupChild}),Q.jsx("div",{className:"d-flex flex-column align-items-end",children:!!e.alertChild&&Q.jsx("div",{className:Th.fixedBottomRightContainer,children:e.alertChild})}),Q.jsx("div",{style:{display:"none"},children:e.hiddenChild})]})}));function FQ(e){return Q.jsx(QD,{store:e.store,children:Q.jsx(hz,{children:Q.jsx(iq,{children:Q.jsx(rq,{containerClassName:R$,children:Q.jsx($Q,{...e})})})})})}class jQ extends ZW{constructor(r){super(r);_a(this,"childComponents",{});_a(this,"preventScrollTop",!1);_a(this,"activeApp")}initialize(){var n,o;this.listenTo(Nr.SHELL,jr.ROUTE,this.onRouteChange),this.listenTo(Nr.SHELL,"prevent:scroll:top",()=>this.preventScrollTop=!0);const r=(o=(n=EN.getCurrentContext())==null?void 0:n.appLink)==null?void 0:o.application;this.setActiveApp(r)}get title(){return!1}get name(){return"DefaultLayoutView"}get template(){return()=>'<div id="dialog-region"></div><div class="layout-region position-relative"></div>'}static getCacheKey(){return`${sd.DEFAULT_LAYOUT}`}regions(){return{layout:{el:".layout-region",replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[Ar.CONTENT],popupChild:this.childComponents[Ar.POPUP],alertChild:this.childComponents[Ar.ALERT],hiddenChild:this.childComponents[Ar.HIDDEN],store:this.options.store,activeApp:this.activeApp}}unsetRegion(r){delete this.childComponents[r],this.renderLayout()}closePopup(){this.unsetRegion(Ar.POPUP)}showChildView(r,n,o={}){this.childComponents[r]=n,r===Ar.CONTENT&&(!this.preventScrollTop&&!o.preventScrollTop&&$(window).scrollTop(0),this.preventScrollTop=!1),this.renderLayout()}renderLayout(){const r={...this.getChildComponents()};super.showChildView("layout",Q.jsx(FQ,{...r}))}setActiveApp(r){if(r===On.EXCHANGE){this.activeApp="exchange";return}if(r===On.TV){this.activeApp="tv";return}this.activeApp=null}onRouteChange(r,n){n.isAppRoute&&this.setActiveApp(r.application)}}function UQ(e,t){e.registerLayout(sd.DEFAULT_LAYOUT,jQ),t(e)}function VQ(e,t,r){eg.setUpVariables({isDevelopment:!1}),r(e,t)}var Ap=(e=>(e.Fifo="FifoMemoryCache",e))(Ap||{}),Rp=(e=>(e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider",e))(Rp||{});class HQ extends Wi{get defaultProps(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}constructor(t){super(t),Wl(this,"name")||Mt.throw(new Hr("Must provide a name when extending BaseDataService")),Wl(this,"channelName")||Mt.throw(new Hr(`Must provide a channelName for ${Wl(this,"name")}`));const r=[...this.defaultProps,...this.props||[]];this.dataRequestSignatures={},this.mergeOptions(t,r)}getCursors(t){const r=this.cache.get(t);return r?r.cursors:{}}clearCacheAndGet(t){const{callback:r,errorCallback:n,eventPrefix:o}=t,{syncEvent:a,errorEvent:u}=this.getEventNames(o),f=this.cache.get(o);if(f&&f.openRequest){const l=v=>{yr(n)&&this.stopListening(this.getChannel(),u,n),yr(r)&&r(v)},d=()=>{yr(r)&&this.stopListening(this.getChannel(),a,r),yr(n)&&n()};this.listenToOnce(this.getChannel(),a,l),this.listenToOnce(this.getChannel(),u,d);return}this.cache.remove(t.eventPrefix),this.get(t)}get(t){const{callback:r,errorCallback:n,eventPrefix:o,resource:a,formatData:u,expiryTime:f,successHandler:l,errorHandler:d,bootstrapName:v,invalidateFlight:p}=t,{syncEvent:w,requestEvent:x,successEvent:C,errorEvent:E}=this.getEventNames(o),S=this.getChannel(),I=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[v]&&(this.cacheData(o,this.bootstrapData[v],u,{openRequest:!1,timestamp:I}),delete this.bootstrapData[v]);const D=this.cache.get(o);let H;D&&(H=D.data);const V=D&&D.openRequest,M=this.isExpired(o,f);if(V){const G=Z=>{yr(n)&&this.stopListening(this.getChannel(),E,n),yr(r)&&r(Z)},y=()=>{yr(r)&&this.stopListening(this.getChannel(),w,r),yr(n)&&n()};this.listenToOnce(S,w,G),this.listenToOnce(S,E,y)}if((!this.cache.has(o)||M)&&(S.trigger(x),this.listenToResponse({eventPrefix:o,formatData:u,cacheOptions:{timestamp:I},callback:r,errorCallback:n,successHandler:l,errorHandler:d,invalidateFlight:p}),this.cacheData(o,null,null,{openRequest:!0,timestamp:I}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:C,errorEvent:E})),H&&yr(r)&&!M&&r(H),H)return H}create(t){const{eventPrefix:r,resource:n,data:o,formatData:a,callback:u,errorCallback:f,invalidationKeys:l,successHandler:d,errorHandler:v,invalidateFlight:p}=t,{requestEvent:w,successEvent:x,errorEvent:C}=this.getEventNames(t.eventPrefix),E=this.getChannel(),S=this.getTransportChannel();E.trigger(w),this.listenToResponse({eventPrefix:r,formatData:a,invalidationKeys:l,callback:u,errorCallback:f,successHandler:d,errorHandler:v,invalidateFlight:p}),this.dataProvider.create(n,o,{channel:S,successEvent:x,errorEvent:C})}update(t){const{data:r,callback:n,errorCallback:o,resource:a,formatData:u,eventPrefix:f,invalidationKeys:l,errorHandler:d,successHandler:v,invalidateFlight:p}=t,{requestEvent:w,successEvent:x,errorEvent:C}=this.getEventNames(t.eventPrefix),E=this.getChannel(),S=this.getTransportChannel();E.trigger(w),this.listenToResponse({eventPrefix:f,formatData:u,invalidationKeys:l,callback:n,errorCallback:o,successHandler:v,errorHandler:d,invalidateFlight:p}),this.dataProvider.update(a,r,{channel:S,successEvent:x,errorEvent:C})}delete(t){const{eventPrefix:r,resource:n,callback:o,errorCallback:a,invalidationKeys:u,successHandler:f,errorHandler:l,invalidateFlight:d}=t,{successEvent:v,errorEvent:p}=this.getEventNames(r),w=this.getTransportChannel(),x={noCache:!0,clearCacheKey:!0};this.listenToResponse({eventPrefix:r,invalidationKeys:u,callback:o,errorCallback:a,cacheOptions:x,successHandler:f,errorHandler:l,invalidateFlight:d}),this.dataProvider.delete(n,{channel:w,successEvent:v,errorEvent:p})}listenToResponse(t){const{eventPrefix:r,formatData:n,callback:o,errorCallback:a,successHandler:u,errorHandler:f,invalidationKeys:l,cacheOptions:d={},invalidateFlight:v}=t,{syncEvent:p,successEvent:w,errorEvent:x,successAlertEvent:C,errorAlertEvent:E}=this.getEventNames(r),S=this.getChannel(),I=this.getTransportChannel(),D=this.getAlertChannel();if(yr(o)&&this.listenToOnce(S,p,o),yr(a)&&this.listenToOnce(S,x,a),this.stopListening(D,C),this.stopListening(D,E),yr(u)&&this.listenToOnce(D,C,u),yr(f)&&this.listenToOnce(D,E,f),!yr(f)&&f!==!1&&yr(this.defaultErrorHandler)&&this.listenToOnce(D,E,this.defaultErrorHandler),this.hasRequestSignature(r))return;this.setRequestSignature(r);const H=(M,...G)=>{this.stopListening(S,x,a),D.trigger(C,M,...G);const y=d.noCache?this.formatData(M,n):this.cacheData(r,M,n);d.clearCacheKey&&this.cache.remove(r),S.trigger(p,y),l&&l.length&&this.cache.invalidate(l,Z=>S.trigger(`${Z}:invalidate`),v)},V=(...M)=>{this.stopListening(S,p,o);const G=this.dataProvider.parseError(...M);D.trigger(E,G),S.trigger(x,G),!d.noCache&&this.cacheData(r,null,null)};this.listenTo(I,w,H),this.listenTo(I,x,V)}cacheData(t,r,n,o={}){const{openRequest:a=!1}=o;let{timestamp:u}=o;u||(u=this.currentTimestamp());const f=this.processPagination(r),l=this.formatData(r,n);return this.cache.set(t,{data:l,timestamp:u,cursors:f,openRequest:a}),l}processPagination(t){if(!t)return;const{pagination:r}=t;if(r){if(r.cursors)return r.cursors;if(!_f(r.offset)&&!_f(r.pageSize))return this.convertOffsetPaginationToCursors(r);if(r.page)return this.convertLegacyPaginationToCursors(r)}}formatData(t,r){return yr(r)?r(t):t}chain(){const t=[],r=(a,u)=>{yr(a)&&a(u)},n=(a,u)=>{const f=()=>{const l=a.callback;a.callback=d=>{r(l,d),r(t.shift())},this[u](a)};return t.push(f),o},o={func(a){return t.push(()=>{a(t.shift()||(()=>{}))}),o},get(a){return n(a,"get")},create(a){return n(a,"create")},update(a){return n(a,"update")},delete(a){return n(a,"delete")},run(){r(t.shift())}};return o}invalidateCache(t,r=!1){!t||!t.length||this.cache.invalidate(t,n=>this.getChannel().trigger(`${n}:invalidate`),r)}currentTimestamp(){return new Date().valueOf()}isExpired(t,r){if(!r)return!1;const n=this.cache.get(t);if(!n||!n.timestamp)return!0;const o=1e3,a=n.timestamp,u=r*o;return a<this.currentTimestamp()-u}getEventNames(t){return{syncEvent:`${t}:sync`,requestEvent:`${t}:request`,successEvent:`${t}:success`,errorEvent:`${t}:error`,successAlertEvent:`${t}:success:alert`,errorAlertEvent:`${t}:error:alert`}}getTransportChannel(){return Zt.Radio.channel(`${this.channelName}:transport`)}getAlertChannel(){return Zt.Radio.channel(`${this.channelName}:alert`)}setRequestSignature(t){this.dataRequestSignatures[t]=t}hasRequestSignature(t){return!!this.dataRequestSignatures[t]}convertOffsetPaginationToCursors(t){const{offset:r,pageSize:n,totalItems:o}=t,a=o>0&&r<o&&r+n,u=o>0&&r>0&&Math.max(r-n,0),f={};if(a&&a<o&&(f.next=a.toString()),Ru(u)&&(f.previous=u.toString()),!nc(f))return f}convertLegacyPaginationToCursors(t){const{page:r,totalPages:n}=t,o=Ru(r)&&r>0&&r<n&&r+1,a=Ru(r)&&r>1&&r-1,u={};if(o&&o<=n&&(u.next=o.toString()),a&&(u.previous=a.toString()),!nc(u))return u}}class BQ extends Wi{constructor(){super(),this.viewObjects={}}static get Instance(){return this.instance||(this.instance=new this)}get name(){return"ViewModelService"}updateViewModel(t,r){const n=this.mergeData(r,t.toJSON());return t instanceof OC&&t.set(n,{silent:!0}),t instanceof Ks&&!(t instanceof OC)&&t.set(n,{silent:!0}),t}get(t,r={},n={}){const{update:o=!1}=n,a=this.viewObjects[t];if(a&&o)return this.updateViewModel(a,r);if(a)return a;const u=this.getLocalData(t,n);return this.set(t,r,u,n)}set(t,r={},n,o){const{ctor:a,storage:u}=o,f=this.mergeData(r,n),l=a?new a(f):new Ks(f);return this.viewObjects[t]=l,u&&!n?(this.setLocalData(t,l,null,o),this.setupChangeListeners(t,l,o)):u&&n&&this.setupChangeListeners(t,l,o),l}clear(t){const r=this.viewObjects[t];return r?(this.stopListening(r),r.trigger("destroy"),delete this.viewObjects[t],!0):!1}getLocalData(t,r){const{storage:n}=r;return n?this.getStorageHelper(n.type).get(t):void 0}setLocalData(t,r,n,o){const{storage:a}=o;if(!a||a&&!a.persistProps)return;typeof a.persistProps=="string"&&(a.persistProps=[a.persistProps]);let u;r instanceof Ks&&(u=r.pick(a.persistProps)),this.getStorageHelper(a.type).set(t,u)}setupChangeListeners(t,r,n){const{storage:o}=n;!o||o&&!o.persistProps||(typeof o.persistProps=="string"&&(o.persistProps=[o.persistProps]),$e.each(o.persistProps,a=>{this.listenTo(r,`change:${a}`,$e.partial(this.setLocalData,t,$e,$e,n))}))}mergeData(t,r){if(!r)return t;if($e.isObject(t)&&$e.isObject(r))return $e.extend(t,r);Mt.throw(new Hr("defaultValues and existingData are not of the same datatype and cannot be merged"))}getStorageHelper(t){switch(t){case Yo.LocalStorage:return Bn;case Yo.SessionStorage:return bp}}}const O$=BQ.Instance;var I$=(e=>(e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary",e))(I$||{});class zQ extends Qu{constructor(t){super(t)}get name(){return"FileTypeError"}get lang(){return"upload.fileType"}get dialogOptions(){return{title:fr.getPhrase(this.lang,"heading"),text:fr.getPhrase(this.lang,"body"),buttons:[{text:fr.getPhrase(this.lang,"okay"),className:"btn btn-dark",success:!0},{text:fr.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}const WQ=["pdf"],qQ=["doc","docx","dotx","dot","rtf","docm","odt"],GQ=["csv","txt"],YQ=["xls","xlt","xlsx"],hP=["jpg","tif","png","bmp","gif","jpeg"],pP="video/*",KQ=["zip","rar"],XQ=["ppt","pot","pps","pptx"],QQ=["srt"],Ah={VIDEO:pP,MIXED_MEDIA:`.${hP.join(",.")},${pP}`,RESOURCES:`.${[...qQ,...YQ,...XQ,...WQ,...GQ,...hP,...KQ].join(",.")}`,SUBTITLES:`.${QQ.join(",.")}`};var pE={exports:{}},gP;function JQ(){return gP||(gP=1,function(e,t){(function(n,o){e.exports=o()})(self,function(){return function(){var r={3099:function(u){u.exports=function(f){if(typeof f!="function")throw TypeError(String(f)+" is not a function");return f}},6077:function(u,f,l){var d=l(111);u.exports=function(v){if(!d(v)&&v!==null)throw TypeError("Can't set "+String(v)+" as a prototype");return v}},1223:function(u,f,l){var d=l(5112),v=l(30),p=l(3070),w=d("unscopables"),x=Array.prototype;x[w]==null&&p.f(x,w,{configurable:!0,value:v(null)}),u.exports=function(C){x[w][C]=!0}},1530:function(u,f,l){var d=l(8710).charAt;u.exports=function(v,p,w){return p+(w?d(v,p).length:1)}},5787:function(u){u.exports=function(f,l,d){if(!(f instanceof l))throw TypeError("Incorrect "+(d?d+" ":"")+"invocation");return f}},9670:function(u,f,l){var d=l(111);u.exports=function(v){if(!d(v))throw TypeError(String(v)+" is not an object");return v}},4019:function(u){u.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},260:function(u,f,l){var d=l(4019),v=l(9781),p=l(7854),w=l(111),x=l(6656),C=l(648),E=l(8880),S=l(1320),I=l(3070).f,D=l(9518),H=l(7674),V=l(5112),M=l(9711),G=p.Int8Array,y=G&&G.prototype,Z=p.Uint8ClampedArray,ae=Z&&Z.prototype,ce=G&&D(G),ie=y&&D(y),de=Object.prototype,ge=de.isPrototypeOf,me=V("toStringTag"),ye=M("TYPED_ARRAY_TAG"),be=d&&!!H&&C(p.opera)!=="Opera",Ae=!1,re,Ee={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},X={BigInt64Array:8,BigUint64Array:8},Re=function(T){if(!w(T))return!1;var N=C(T);return N==="DataView"||x(Ee,N)||x(X,N)},qe=function(F){if(!w(F))return!1;var T=C(F);return x(Ee,T)||x(X,T)},Qe=function(F){if(qe(F))return F;throw TypeError("Target is not a typed array")},et=function(F){if(H){if(ge.call(ce,F))return F}else for(var T in Ee)if(x(Ee,re)){var N=p[T];if(N&&(F===N||ge.call(N,F)))return F}throw TypeError("Target is not a typed array constructor")},ut=function(F,T,N){if(v){if(N)for(var L in Ee){var q=p[L];q&&x(q.prototype,F)&&delete q.prototype[F]}(!ie[F]||N)&&S(ie,F,N?T:be&&y[F]||T)}},dt=function(F,T,N){var L,q;if(v){if(H){if(N)for(L in Ee)q=p[L],q&&x(q,F)&&delete q[F];if(!ce[F]||N)try{return S(ce,F,N?T:be&&G[F]||T)}catch{}else return}for(L in Ee)q=p[L],q&&(!q[F]||N)&&S(q,F,T)}};for(re in Ee)p[re]||(be=!1);if((!be||typeof ce!="function"||ce===Function.prototype)&&(ce=function(){throw TypeError("Incorrect invocation")},be))for(re in Ee)p[re]&&H(p[re],ce);if((!be||!ie||ie===de)&&(ie=ce.prototype,be))for(re in Ee)p[re]&&H(p[re].prototype,ie);if(be&&D(ae)!==ie&&H(ae,ie),v&&!x(ie,me)){Ae=!0,I(ie,me,{get:function(){return w(this)?this[ye]:void 0}});for(re in Ee)p[re]&&E(p[re],ye,re)}u.exports={NATIVE_ARRAY_BUFFER_VIEWS:be,TYPED_ARRAY_TAG:Ae&&ye,aTypedArray:Qe,aTypedArrayConstructor:et,exportTypedArrayMethod:ut,exportTypedArrayStaticMethod:dt,isView:Re,isTypedArray:qe,TypedArray:ce,TypedArrayPrototype:ie}},3331:function(u,f,l){var d=l(7854),v=l(9781),p=l(4019),w=l(8880),x=l(2248),C=l(7293),E=l(5787),S=l(9958),I=l(7466),D=l(7067),H=l(1179),V=l(9518),M=l(7674),G=l(8006).f,y=l(3070).f,Z=l(1285),ae=l(8003),ce=l(9909),ie=ce.get,de=ce.set,ge="ArrayBuffer",me="DataView",ye="prototype",be="Wrong length",Ae="Wrong index",re=d[ge],Ee=re,X=d[me],Re=X&&X[ye],qe=Object.prototype,Qe=d.RangeError,et=H.pack,ut=H.unpack,dt=function(Se){return[Se&255]},F=function(Se){return[Se&255,Se>>8&255]},T=function(Se){return[Se&255,Se>>8&255,Se>>16&255,Se>>24&255]},N=function(Se){return Se[3]<<24|Se[2]<<16|Se[1]<<8|Se[0]},L=function(Se){return et(Se,23,4)},q=function(Se){return et(Se,52,8)},P=function(Se,ve){y(Se[ye],ve,{get:function(){return ie(this)[ve]}})},j=function(Se,ve,Te,He){var Ue=D(Te),at=ie(Se);if(Ue+ve>at.byteLength)throw Qe(Ae);var Nt=ie(at.buffer).bytes,$t=Ue+at.byteOffset,Ut=Nt.slice($t,$t+ve);return He?Ut:Ut.reverse()},se=function(Se,ve,Te,He,Ue,at){var Nt=D(Te),$t=ie(Se);if(Nt+ve>$t.byteLength)throw Qe(Ae);for(var Ut=ie($t.buffer).bytes,br=Nt+$t.byteOffset,Pr=He(+Ue),ur=0;ur<ve;ur++)Ut[br+ur]=Pr[at?ur:ve-ur-1]};if(!p)Ee=function(ve){E(this,Ee,ge);var Te=D(ve);de(this,{bytes:Z.call(new Array(Te),0),byteLength:Te}),v||(this.byteLength=Te)},X=function(ve,Te,He){E(this,X,me),E(ve,Ee,me);var Ue=ie(ve).byteLength,at=S(Te);if(at<0||at>Ue)throw Qe("Wrong offset");if(He=He===void 0?Ue-at:I(He),at+He>Ue)throw Qe(be);de(this,{buffer:ve,byteLength:He,byteOffset:at}),v||(this.buffer=ve,this.byteLength=He,this.byteOffset=at)},v&&(P(Ee,"byteLength"),P(X,"buffer"),P(X,"byteLength"),P(X,"byteOffset")),x(X[ye],{getInt8:function(ve){return j(this,1,ve)[0]<<24>>24},getUint8:function(ve){return j(this,1,ve)[0]},getInt16:function(ve){var Te=j(this,2,ve,arguments.length>1?arguments[1]:void 0);return(Te[1]<<8|Te[0])<<16>>16},getUint16:function(ve){var Te=j(this,2,ve,arguments.length>1?arguments[1]:void 0);return Te[1]<<8|Te[0]},getInt32:function(ve){return N(j(this,4,ve,arguments.length>1?arguments[1]:void 0))},getUint32:function(ve){return N(j(this,4,ve,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(ve){return ut(j(this,4,ve,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(ve){return ut(j(this,8,ve,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(ve,Te){se(this,1,ve,dt,Te)},setUint8:function(ve,Te){se(this,1,ve,dt,Te)},setInt16:function(ve,Te){se(this,2,ve,F,Te,arguments.length>2?arguments[2]:void 0)},setUint16:function(ve,Te){se(this,2,ve,F,Te,arguments.length>2?arguments[2]:void 0)},setInt32:function(ve,Te){se(this,4,ve,T,Te,arguments.length>2?arguments[2]:void 0)},setUint32:function(ve,Te){se(this,4,ve,T,Te,arguments.length>2?arguments[2]:void 0)},setFloat32:function(ve,Te){se(this,4,ve,L,Te,arguments.length>2?arguments[2]:void 0)},setFloat64:function(ve,Te){se(this,8,ve,q,Te,arguments.length>2?arguments[2]:void 0)}});else{if(!C(function(){re(1)})||!C(function(){new re(-1)})||C(function(){return new re,new re(1.5),new re(NaN),re.name!=ge})){Ee=function(ve){return E(this,Ee),new re(D(ve))};for(var ee=Ee[ye]=re[ye],pe=G(re),ue=0,Oe;pe.length>ue;)(Oe=pe[ue++])in Ee||w(Ee,Oe,re[Oe]);ee.constructor=Ee}M&&V(Re)!==qe&&M(Re,qe);var Le=new X(new Ee(2)),oe=Re.setInt8;Le.setInt8(0,2147483648),Le.setInt8(1,2147483649),(Le.getInt8(0)||!Le.getInt8(1))&&x(Re,{setInt8:function(ve,Te){oe.call(this,ve,Te<<24>>24)},setUint8:function(ve,Te){oe.call(this,ve,Te<<24>>24)}},{unsafe:!0})}ae(Ee,ge),ae(X,me),u.exports={ArrayBuffer:Ee,DataView:X}},1048:function(u,f,l){var d=l(7908),v=l(1400),p=l(7466),w=Math.min;u.exports=[].copyWithin||function(C,E){var S=d(this),I=p(S.length),D=v(C,I),H=v(E,I),V=arguments.length>2?arguments[2]:void 0,M=w((V===void 0?I:v(V,I))-H,I-D),G=1;for(H<D&&D<H+M&&(G=-1,H+=M-1,D+=M-1);M-- >0;)H in S?S[D]=S[H]:delete S[D],D+=G,H+=G;return S}},1285:function(u,f,l){var d=l(7908),v=l(1400),p=l(7466);u.exports=function(x){for(var C=d(this),E=p(C.length),S=arguments.length,I=v(S>1?arguments[1]:void 0,E),D=S>2?arguments[2]:void 0,H=D===void 0?E:v(D,E);H>I;)C[I++]=x;return C}},8533:function(u,f,l){var d=l(2092).forEach,v=l(9341),p=v("forEach");u.exports=p?[].forEach:function(x){return d(this,x,arguments.length>1?arguments[1]:void 0)}},8457:function(u,f,l){var d=l(9974),v=l(7908),p=l(3411),w=l(7659),x=l(7466),C=l(6135),E=l(1246);u.exports=function(I){var D=v(I),H=typeof this=="function"?this:Array,V=arguments.length,M=V>1?arguments[1]:void 0,G=M!==void 0,y=E(D),Z=0,ae,ce,ie,de,ge,me;if(G&&(M=d(M,V>2?arguments[2]:void 0,2)),y!=null&&!(H==Array&&w(y)))for(de=y.call(D),ge=de.next,ce=new H;!(ie=ge.call(de)).done;Z++)me=G?p(de,M,[ie.value,Z],!0):ie.value,C(ce,Z,me);else for(ae=x(D.length),ce=new H(ae);ae>Z;Z++)me=G?M(D[Z],Z):D[Z],C(ce,Z,me);return ce.length=Z,ce}},1318:function(u,f,l){var d=l(5656),v=l(7466),p=l(1400),w=function(x){return function(C,E,S){var I=d(C),D=v(I.length),H=p(S,D),V;if(x&&E!=E){for(;D>H;)if(V=I[H++],V!=V)return!0}else for(;D>H;H++)if((x||H in I)&&I[H]===E)return x||H||0;return!x&&-1}};u.exports={includes:w(!0),indexOf:w(!1)}},2092:function(u,f,l){var d=l(9974),v=l(8361),p=l(7908),w=l(7466),x=l(5417),C=[].push,E=function(S){var I=S==1,D=S==2,H=S==3,V=S==4,M=S==6,G=S==7,y=S==5||M;return function(Z,ae,ce,ie){for(var de=p(Z),ge=v(de),me=d(ae,ce,3),ye=w(ge.length),be=0,Ae=ie||x,re=I?Ae(Z,ye):D||G?Ae(Z,0):void 0,Ee,X;ye>be;be++)if((y||be in ge)&&(Ee=ge[be],X=me(Ee,be,de),S))if(I)re[be]=X;else if(X)switch(S){case 3:return!0;case 5:return Ee;case 6:return be;case 2:C.call(re,Ee)}else switch(S){case 4:return!1;case 7:C.call(re,Ee)}return M?-1:H||V?V:re}};u.exports={forEach:E(0),map:E(1),filter:E(2),some:E(3),every:E(4),find:E(5),findIndex:E(6),filterOut:E(7)}},6583:function(u,f,l){var d=l(5656),v=l(9958),p=l(7466),w=l(9341),x=Math.min,C=[].lastIndexOf,E=!!C&&1/[1].lastIndexOf(1,-0)<0,S=w("lastIndexOf"),I=E||!S;u.exports=I?function(H){if(E)return C.apply(this,arguments)||0;var V=d(this),M=p(V.length),G=M-1;for(arguments.length>1&&(G=x(G,v(arguments[1]))),G<0&&(G=M+G);G>=0;G--)if(G in V&&V[G]===H)return G||0;return-1}:C},1194:function(u,f,l){var d=l(7293),v=l(5112),p=l(7392),w=v("species");u.exports=function(x){return p>=51||!d(function(){var C=[],E=C.constructor={};return E[w]=function(){return{foo:1}},C[x](Boolean).foo!==1})}},9341:function(u,f,l){var d=l(7293);u.exports=function(v,p){var w=[][v];return!!w&&d(function(){w.call(null,p||function(){throw 1},1)})}},3671:function(u,f,l){var d=l(3099),v=l(7908),p=l(8361),w=l(7466),x=function(C){return function(E,S,I,D){d(S);var H=v(E),V=p(H),M=w(H.length),G=C?M-1:0,y=C?-1:1;if(I<2)for(;;){if(G in V){D=V[G],G+=y;break}if(G+=y,C?G<0:M<=G)throw TypeError("Reduce of empty array with no initial value")}for(;C?G>=0:M>G;G+=y)G in V&&(D=S(D,V[G],G,H));return D}};u.exports={left:x(!1),right:x(!0)}},5417:function(u,f,l){var d=l(111),v=l(3157),p=l(5112),w=p("species");u.exports=function(x,C){var E;return v(x)&&(E=x.constructor,typeof E=="function"&&(E===Array||v(E.prototype))?E=void 0:d(E)&&(E=E[w],E===null&&(E=void 0))),new(E===void 0?Array:E)(C===0?0:C)}},3411:function(u,f,l){var d=l(9670),v=l(9212);u.exports=function(p,w,x,C){try{return C?w(d(x)[0],x[1]):w(x)}catch(E){throw v(p),E}}},7072:function(u,f,l){var d=l(5112),v=d("iterator"),p=!1;try{var w=0,x={next:function(){return{done:!!w++}},return:function(){p=!0}};x[v]=function(){return this},Array.from(x,function(){throw 2})}catch{}u.exports=function(C,E){if(!E&&!p)return!1;var S=!1;try{var I={};I[v]=function(){return{next:function(){return{done:S=!0}}}},C(I)}catch{}return S}},4326:function(u){var f={}.toString;u.exports=function(l){return f.call(l).slice(8,-1)}},648:function(u,f,l){var d=l(1694),v=l(4326),p=l(5112),w=p("toStringTag"),x=v(function(){return arguments}())=="Arguments",C=function(E,S){try{return E[S]}catch{}};u.exports=d?v:function(E){var S,I,D;return E===void 0?"Undefined":E===null?"Null":typeof(I=C(S=Object(E),w))=="string"?I:x?v(S):(D=v(S))=="Object"&&typeof S.callee=="function"?"Arguments":D}},9920:function(u,f,l){var d=l(6656),v=l(3887),p=l(1236),w=l(3070);u.exports=function(x,C){for(var E=v(C),S=w.f,I=p.f,D=0;D<E.length;D++){var H=E[D];d(x,H)||S(x,H,I(C,H))}}},8544:function(u,f,l){var d=l(7293);u.exports=!d(function(){function v(){}return v.prototype.constructor=null,Object.getPrototypeOf(new v)!==v.prototype})},4994:function(u,f,l){var d=l(3383).IteratorPrototype,v=l(30),p=l(9114),w=l(8003),x=l(7497),C=function(){return this};u.exports=function(E,S,I){var D=S+" Iterator";return E.prototype=v(d,{next:p(1,I)}),w(E,D,!1,!0),x[D]=C,E}},8880:function(u,f,l){var d=l(9781),v=l(3070),p=l(9114);u.exports=d?function(w,x,C){return v.f(w,x,p(1,C))}:function(w,x,C){return w[x]=C,w}},9114:function(u){u.exports=function(f,l){return{enumerable:!(f&1),configurable:!(f&2),writable:!(f&4),value:l}}},6135:function(u,f,l){var d=l(7593),v=l(3070),p=l(9114);u.exports=function(w,x,C){var E=d(x);E in w?v.f(w,E,p(0,C)):w[E]=C}},654:function(u,f,l){var d=l(2109),v=l(4994),p=l(9518),w=l(7674),x=l(8003),C=l(8880),E=l(1320),S=l(5112),I=l(1913),D=l(7497),H=l(3383),V=H.IteratorPrototype,M=H.BUGGY_SAFARI_ITERATORS,G=S("iterator"),y="keys",Z="values",ae="entries",ce=function(){return this};u.exports=function(ie,de,ge,me,ye,be,Ae){v(ge,de,me);var re=function(T){if(T===ye&&Qe)return Qe;if(!M&&T in Re)return Re[T];switch(T){case y:return function(){return new ge(this,T)};case Z:return function(){return new ge(this,T)};case ae:return function(){return new ge(this,T)}}return function(){return new ge(this)}},Ee=de+" Iterator",X=!1,Re=ie.prototype,qe=Re[G]||Re["@@iterator"]||ye&&Re[ye],Qe=!M&&qe||re(ye),et=de=="Array"&&Re.entries||qe,ut,dt,F;if(et&&(ut=p(et.call(new ie)),V!==Object.prototype&&ut.next&&(!I&&p(ut)!==V&&(w?w(ut,V):typeof ut[G]!="function"&&C(ut,G,ce)),x(ut,Ee,!0,!0),I&&(D[Ee]=ce))),ye==Z&&qe&&qe.name!==Z&&(X=!0,Qe=function(){return qe.call(this)}),(!I||Ae)&&Re[G]!==Qe&&C(Re,G,Qe),D[de]=Qe,ye)if(dt={values:re(Z),keys:be?Qe:re(y),entries:re(ae)},Ae)for(F in dt)(M||X||!(F in Re))&&E(Re,F,dt[F]);else d({target:de,proto:!0,forced:M||X},dt);return dt}},9781:function(u,f,l){var d=l(7293);u.exports=!d(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},317:function(u,f,l){var d=l(7854),v=l(111),p=d.document,w=v(p)&&v(p.createElement);u.exports=function(x){return w?p.createElement(x):{}}},8324:function(u){u.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:function(u,f,l){var d=l(5005);u.exports=d("navigator","userAgent")||""},7392:function(u,f,l){var d=l(7854),v=l(8113),p=d.process,w=p&&p.versions,x=w&&w.v8,C,E;x?(C=x.split("."),E=C[0]+C[1]):v&&(C=v.match(/Edge\/(\d+)/),(!C||C[1]>=74)&&(C=v.match(/Chrome\/(\d+)/),C&&(E=C[1]))),u.exports=E&&+E},748:function(u){u.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(u,f,l){var d=l(7854),v=l(1236).f,p=l(8880),w=l(1320),x=l(3505),C=l(9920),E=l(4705);u.exports=function(S,I){var D=S.target,H=S.global,V=S.stat,M,G,y,Z,ae,ce;if(H?G=d:V?G=d[D]||x(D,{}):G=(d[D]||{}).prototype,G)for(y in I){if(ae=I[y],S.noTargetGet?(ce=v(G,y),Z=ce&&ce.value):Z=G[y],M=E(H?y:D+(V?".":"#")+y,S.forced),!M&&Z!==void 0){if(typeof ae==typeof Z)continue;C(ae,Z)}(S.sham||Z&&Z.sham)&&p(ae,"sham",!0),w(G,y,ae,S)}}},7293:function(u){u.exports=function(f){try{return!!f()}catch{return!0}}},7007:function(u,f,l){l(4916);var d=l(1320),v=l(7293),p=l(5112),w=l(2261),x=l(8880),C=p("species"),E=!v(function(){var V=/./;return V.exec=function(){var M=[];return M.groups={a:"7"},M},"".replace(V,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),I=p("replace"),D=function(){return/./[I]?/./[I]("a","$0")==="":!1}(),H=!v(function(){var V=/(?:)/,M=V.exec;V.exec=function(){return M.apply(this,arguments)};var G="ab".split(V);return G.length!==2||G[0]!=="a"||G[1]!=="b"});u.exports=function(V,M,G,y){var Z=p(V),ae=!v(function(){var ye={};return ye[Z]=function(){return 7},""[V](ye)!=7}),ce=ae&&!v(function(){var ye=!1,be=/a/;return V==="split"&&(be={},be.constructor={},be.constructor[C]=function(){return be},be.flags="",be[Z]=/./[Z]),be.exec=function(){return ye=!0,null},be[Z](""),!ye});if(!ae||!ce||V==="replace"&&!(E&&S&&!D)||V==="split"&&!H){var ie=/./[Z],de=G(Z,""[V],function(ye,be,Ae,re,Ee){return be.exec===w?ae&&!Ee?{done:!0,value:ie.call(be,Ae,re)}:{done:!0,value:ye.call(Ae,be,re)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:D}),ge=de[0],me=de[1];d(String.prototype,V,ge),d(RegExp.prototype,Z,M==2?function(ye,be){return me.call(ye,this,be)}:function(ye){return me.call(ye,this)})}y&&x(RegExp.prototype[Z],"sham",!0)}},9974:function(u,f,l){var d=l(3099);u.exports=function(v,p,w){if(d(v),p===void 0)return v;switch(w){case 0:return function(){return v.call(p)};case 1:return function(x){return v.call(p,x)};case 2:return function(x,C){return v.call(p,x,C)};case 3:return function(x,C,E){return v.call(p,x,C,E)}}return function(){return v.apply(p,arguments)}}},5005:function(u,f,l){var d=l(857),v=l(7854),p=function(w){return typeof w=="function"?w:void 0};u.exports=function(w,x){return arguments.length<2?p(d[w])||p(v[w]):d[w]&&d[w][x]||v[w]&&v[w][x]}},1246:function(u,f,l){var d=l(648),v=l(7497),p=l(5112),w=p("iterator");u.exports=function(x){if(x!=null)return x[w]||x["@@iterator"]||v[d(x)]}},8554:function(u,f,l){var d=l(9670),v=l(1246);u.exports=function(p){var w=v(p);if(typeof w!="function")throw TypeError(String(p)+" is not iterable");return d(w.call(p))}},647:function(u,f,l){var d=l(7908),v=Math.floor,p="".replace,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,x=/\$([$&'`]|\d\d?)/g;u.exports=function(C,E,S,I,D,H){var V=S+C.length,M=I.length,G=x;return D!==void 0&&(D=d(D),G=w),p.call(H,G,function(y,Z){var ae;switch(Z.charAt(0)){case"$":return"$";case"&":return C;case"`":return E.slice(0,S);case"'":return E.slice(V);case"<":ae=D[Z.slice(1,-1)];break;default:var ce=+Z;if(ce===0)return y;if(ce>M){var ie=v(ce/10);return ie===0?y:ie<=M?I[ie-1]===void 0?Z.charAt(1):I[ie-1]+Z.charAt(1):y}ae=I[ce-1]}return ae===void 0?"":ae})}},7854:function(u,f,l){var d=function(v){return v&&v.Math==Math&&v};u.exports=d(typeof globalThis=="object"&&globalThis)||d(typeof window=="object"&&window)||d(typeof self=="object"&&self)||d(typeof l.g=="object"&&l.g)||function(){return this}()||Function("return this")()},6656:function(u){var f={}.hasOwnProperty;u.exports=function(l,d){return f.call(l,d)}},3501:function(u){u.exports={}},490:function(u,f,l){var d=l(5005);u.exports=d("document","documentElement")},4664:function(u,f,l){var d=l(9781),v=l(7293),p=l(317);u.exports=!d&&!v(function(){return Object.defineProperty(p("div"),"a",{get:function(){return 7}}).a!=7})},1179:function(u){var f=Math.abs,l=Math.pow,d=Math.floor,v=Math.log,p=Math.LN2,w=function(C,E,S){var I=new Array(S),D=S*8-E-1,H=(1<<D)-1,V=H>>1,M=E===23?l(2,-24)-l(2,-77):0,G=C<0||C===0&&1/C<0?1:0,y=0,Z,ae,ce;for(C=f(C),C!=C||C===1/0?(ae=C!=C?1:0,Z=H):(Z=d(v(C)/p),C*(ce=l(2,-Z))<1&&(Z--,ce*=2),Z+V>=1?C+=M/ce:C+=M*l(2,1-V),C*ce>=2&&(Z++,ce/=2),Z+V>=H?(ae=0,Z=H):Z+V>=1?(ae=(C*ce-1)*l(2,E),Z=Z+V):(ae=C*l(2,V-1)*l(2,E),Z=0));E>=8;I[y++]=ae&255,ae/=256,E-=8);for(Z=Z<<E|ae,D+=E;D>0;I[y++]=Z&255,Z/=256,D-=8);return I[--y]|=G*128,I},x=function(C,E){var S=C.length,I=S*8-E-1,D=(1<<I)-1,H=D>>1,V=I-7,M=S-1,G=C[M--],y=G&127,Z;for(G>>=7;V>0;y=y*256+C[M],M--,V-=8);for(Z=y&(1<<-V)-1,y>>=-V,V+=E;V>0;Z=Z*256+C[M],M--,V-=8);if(y===0)y=1-H;else{if(y===D)return Z?NaN:G?-1/0:1/0;Z=Z+l(2,E),y=y-H}return(G?-1:1)*Z*l(2,y-E)};u.exports={pack:w,unpack:x}},8361:function(u,f,l){var d=l(7293),v=l(4326),p="".split;u.exports=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(w){return v(w)=="String"?p.call(w,""):Object(w)}:Object},9587:function(u,f,l){var d=l(111),v=l(7674);u.exports=function(p,w,x){var C,E;return v&&typeof(C=w.constructor)=="function"&&C!==x&&d(E=C.prototype)&&E!==x.prototype&&v(p,E),p}},2788:function(u,f,l){var d=l(5465),v=Function.toString;typeof d.inspectSource!="function"&&(d.inspectSource=function(p){return v.call(p)}),u.exports=d.inspectSource},9909:function(u,f,l){var d=l(8536),v=l(7854),p=l(111),w=l(8880),x=l(6656),C=l(5465),E=l(6200),S=l(3501),I=v.WeakMap,D,H,V,M=function(de){return V(de)?H(de):D(de,{})},G=function(de){return function(ge){var me;if(!p(ge)||(me=H(ge)).type!==de)throw TypeError("Incompatible receiver, "+de+" required");return me}};if(d){var y=C.state||(C.state=new I),Z=y.get,ae=y.has,ce=y.set;D=function(de,ge){return ge.facade=de,ce.call(y,de,ge),ge},H=function(de){return Z.call(y,de)||{}},V=function(de){return ae.call(y,de)}}else{var ie=E("state");S[ie]=!0,D=function(de,ge){return ge.facade=de,w(de,ie,ge),ge},H=function(de){return x(de,ie)?de[ie]:{}},V=function(de){return x(de,ie)}}u.exports={set:D,get:H,has:V,enforce:M,getterFor:G}},7659:function(u,f,l){var d=l(5112),v=l(7497),p=d("iterator"),w=Array.prototype;u.exports=function(x){return x!==void 0&&(v.Array===x||w[p]===x)}},3157:function(u,f,l){var d=l(4326);u.exports=Array.isArray||function(p){return d(p)=="Array"}},4705:function(u,f,l){var d=l(7293),v=/#|\.prototype\./,p=function(S,I){var D=x[w(S)];return D==E?!0:D==C?!1:typeof I=="function"?d(I):!!I},w=p.normalize=function(S){return String(S).replace(v,".").toLowerCase()},x=p.data={},C=p.NATIVE="N",E=p.POLYFILL="P";u.exports=p},111:function(u){u.exports=function(f){return typeof f=="object"?f!==null:typeof f=="function"}},1913:function(u){u.exports=!1},7850:function(u,f,l){var d=l(111),v=l(4326),p=l(5112),w=p("match");u.exports=function(x){var C;return d(x)&&((C=x[w])!==void 0?!!C:v(x)=="RegExp")}},9212:function(u,f,l){var d=l(9670);u.exports=function(v){var p=v.return;if(p!==void 0)return d(p.call(v)).value}},3383:function(u,f,l){var d=l(7293),v=l(9518),p=l(8880),w=l(6656),x=l(5112),C=l(1913),E=x("iterator"),S=!1,I=function(){return this},D,H,V;[].keys&&(V=[].keys(),"next"in V?(H=v(v(V)),H!==Object.prototype&&(D=H)):S=!0);var M=D==null||d(function(){var G={};return D[E].call(G)!==G});M&&(D={}),(!C||M)&&!w(D,E)&&p(D,E,I),u.exports={IteratorPrototype:D,BUGGY_SAFARI_ITERATORS:S}},7497:function(u){u.exports={}},133:function(u,f,l){var d=l(7293);u.exports=!!Object.getOwnPropertySymbols&&!d(function(){return!String(Symbol())})},590:function(u,f,l){var d=l(7293),v=l(5112),p=l(1913),w=v("iterator");u.exports=!d(function(){var x=new URL("b?a=1&b=2&c=3","http://a"),C=x.searchParams,E="";return x.pathname="c%20d",C.forEach(function(S,I){C.delete("b"),E+=I+S}),p&&!x.toJSON||!C.sort||x.href!=="http://a/c%20d?a=1&c=3"||C.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!C[w]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||E!=="a1c3"||new URL("http://x",void 0).host!=="x"})},8536:function(u,f,l){var d=l(7854),v=l(2788),p=d.WeakMap;u.exports=typeof p=="function"&&/native code/.test(v(p))},1574:function(u,f,l){var d=l(9781),v=l(7293),p=l(1956),w=l(5181),x=l(5296),C=l(7908),E=l(8361),S=Object.assign,I=Object.defineProperty;u.exports=!S||v(function(){if(d&&S({b:1},S(I({},"a",{enumerable:!0,get:function(){I(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var D={},H={},V=Symbol(),M="abcdefghijklmnopqrst";return D[V]=7,M.split("").forEach(function(G){H[G]=G}),S({},D)[V]!=7||p(S({},H)).join("")!=M})?function(H,V){for(var M=C(H),G=arguments.length,y=1,Z=w.f,ae=x.f;G>y;)for(var ce=E(arguments[y++]),ie=Z?p(ce).concat(Z(ce)):p(ce),de=ie.length,ge=0,me;de>ge;)me=ie[ge++],(!d||ae.call(ce,me))&&(M[me]=ce[me]);return M}:S},30:function(u,f,l){var d=l(9670),v=l(6048),p=l(748),w=l(3501),x=l(490),C=l(317),E=l(6200),S=">",I="<",D="prototype",H="script",V=E("IE_PROTO"),M=function(){},G=function(ie){return I+H+S+ie+I+"/"+H+S},y=function(ie){ie.write(G("")),ie.close();var de=ie.parentWindow.Object;return ie=null,de},Z=function(){var ie=C("iframe"),de="java"+H+":",ge;return ie.style.display="none",x.appendChild(ie),ie.src=String(de),ge=ie.contentWindow.document,ge.open(),ge.write(G("document.F=Object")),ge.close(),ge.F},ae,ce=function(){try{ae=document.domain&&new ActiveXObject("htmlfile")}catch{}ce=ae?y(ae):Z();for(var ie=p.length;ie--;)delete ce[D][p[ie]];return ce()};w[V]=!0,u.exports=Object.create||function(de,ge){var me;return de!==null?(M[D]=d(de),me=new M,M[D]=null,me[V]=de):me=ce(),ge===void 0?me:v(me,ge)}},6048:function(u,f,l){var d=l(9781),v=l(3070),p=l(9670),w=l(1956);u.exports=d?Object.defineProperties:function(C,E){p(C);for(var S=w(E),I=S.length,D=0,H;I>D;)v.f(C,H=S[D++],E[H]);return C}},3070:function(u,f,l){var d=l(9781),v=l(4664),p=l(9670),w=l(7593),x=Object.defineProperty;f.f=d?x:function(E,S,I){if(p(E),S=w(S,!0),p(I),v)try{return x(E,S,I)}catch{}if("get"in I||"set"in I)throw TypeError("Accessors not supported");return"value"in I&&(E[S]=I.value),E}},1236:function(u,f,l){var d=l(9781),v=l(5296),p=l(9114),w=l(5656),x=l(7593),C=l(6656),E=l(4664),S=Object.getOwnPropertyDescriptor;f.f=d?S:function(D,H){if(D=w(D),H=x(H,!0),E)try{return S(D,H)}catch{}if(C(D,H))return p(!v.f.call(D,H),D[H])}},8006:function(u,f,l){var d=l(6324),v=l(748),p=v.concat("length","prototype");f.f=Object.getOwnPropertyNames||function(x){return d(x,p)}},5181:function(u,f){f.f=Object.getOwnPropertySymbols},9518:function(u,f,l){var d=l(6656),v=l(7908),p=l(6200),w=l(8544),x=p("IE_PROTO"),C=Object.prototype;u.exports=w?Object.getPrototypeOf:function(E){return E=v(E),d(E,x)?E[x]:typeof E.constructor=="function"&&E instanceof E.constructor?E.constructor.prototype:E instanceof Object?C:null}},6324:function(u,f,l){var d=l(6656),v=l(5656),p=l(1318).indexOf,w=l(3501);u.exports=function(x,C){var E=v(x),S=0,I=[],D;for(D in E)!d(w,D)&&d(E,D)&&I.push(D);for(;C.length>S;)d(E,D=C[S++])&&(~p(I,D)||I.push(D));return I}},1956:function(u,f,l){var d=l(6324),v=l(748);u.exports=Object.keys||function(w){return d(w,v)}},5296:function(u,f){var l={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,v=d&&!l.call({1:2},1);f.f=v?function(w){var x=d(this,w);return!!x&&x.enumerable}:l},7674:function(u,f,l){var d=l(9670),v=l(6077);u.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var p=!1,w={},x;try{x=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,x.call(w,[]),p=w instanceof Array}catch{}return function(E,S){return d(E),v(S),p?x.call(E,S):E.__proto__=S,E}}():void 0)},288:function(u,f,l){var d=l(1694),v=l(648);u.exports=d?{}.toString:function(){return"[object "+v(this)+"]"}},3887:function(u,f,l){var d=l(5005),v=l(8006),p=l(5181),w=l(9670);u.exports=d("Reflect","ownKeys")||function(C){var E=v.f(w(C)),S=p.f;return S?E.concat(S(C)):E}},857:function(u,f,l){var d=l(7854);u.exports=d},2248:function(u,f,l){var d=l(1320);u.exports=function(v,p,w){for(var x in p)d(v,x,p[x],w);return v}},1320:function(u,f,l){var d=l(7854),v=l(8880),p=l(6656),w=l(3505),x=l(2788),C=l(9909),E=C.get,S=C.enforce,I=String(String).split("String");(u.exports=function(D,H,V,M){var G=M?!!M.unsafe:!1,y=M?!!M.enumerable:!1,Z=M?!!M.noTargetGet:!1,ae;if(typeof V=="function"&&(typeof H=="string"&&!p(V,"name")&&v(V,"name",H),ae=S(V),ae.source||(ae.source=I.join(typeof H=="string"?H:""))),D===d){y?D[H]=V:w(H,V);return}else G?!Z&&D[H]&&(y=!0):delete D[H];y?D[H]=V:v(D,H,V)})(Function.prototype,"toString",function(){return typeof this=="function"&&E(this).source||x(this)})},7651:function(u,f,l){var d=l(4326),v=l(2261);u.exports=function(p,w){var x=p.exec;if(typeof x=="function"){var C=x.call(p,w);if(typeof C!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return C}if(d(p)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return v.call(p,w)}},2261:function(u,f,l){var d=l(7066),v=l(2999),p=RegExp.prototype.exec,w=String.prototype.replace,x=p,C=function(){var D=/a/,H=/b*/g;return p.call(D,"a"),p.call(H,"a"),D.lastIndex!==0||H.lastIndex!==0}(),E=v.UNSUPPORTED_Y||v.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,I=C||S||E;I&&(x=function(H){var V=this,M,G,y,Z,ae=E&&V.sticky,ce=d.call(V),ie=V.source,de=0,ge=H;return ae&&(ce=ce.replace("y",""),ce.indexOf("g")===-1&&(ce+="g"),ge=String(H).slice(V.lastIndex),V.lastIndex>0&&(!V.multiline||V.multiline&&H[V.lastIndex-1]!==`
|
|
141
|
+
`)&&(ie="(?: "+ie+")",ge=" "+ge,de++),G=new RegExp("^(?:"+ie+")",ce)),S&&(G=new RegExp("^"+ie+"$(?!\\s)",ce)),C&&(M=V.lastIndex),y=p.call(ae?G:V,ge),ae?y?(y.input=y.input.slice(de),y[0]=y[0].slice(de),y.index=V.lastIndex,V.lastIndex+=y[0].length):V.lastIndex=0:C&&y&&(V.lastIndex=V.global?y.index+y[0].length:M),S&&y&&y.length>1&&w.call(y[0],G,function(){for(Z=1;Z<arguments.length-2;Z++)arguments[Z]===void 0&&(y[Z]=void 0)}),y}),u.exports=x},7066:function(u,f,l){var d=l(9670);u.exports=function(){var v=d(this),p="";return v.global&&(p+="g"),v.ignoreCase&&(p+="i"),v.multiline&&(p+="m"),v.dotAll&&(p+="s"),v.unicode&&(p+="u"),v.sticky&&(p+="y"),p}},2999:function(u,f,l){var d=l(7293);function v(p,w){return RegExp(p,w)}f.UNSUPPORTED_Y=d(function(){var p=v("a","y");return p.lastIndex=2,p.exec("abcd")!=null}),f.BROKEN_CARET=d(function(){var p=v("^r","gy");return p.lastIndex=2,p.exec("str")!=null})},4488:function(u){u.exports=function(f){if(f==null)throw TypeError("Can't call method on "+f);return f}},3505:function(u,f,l){var d=l(7854),v=l(8880);u.exports=function(p,w){try{v(d,p,w)}catch{d[p]=w}return w}},6340:function(u,f,l){var d=l(5005),v=l(3070),p=l(5112),w=l(9781),x=p("species");u.exports=function(C){var E=d(C),S=v.f;w&&E&&!E[x]&&S(E,x,{configurable:!0,get:function(){return this}})}},8003:function(u,f,l){var d=l(3070).f,v=l(6656),p=l(5112),w=p("toStringTag");u.exports=function(x,C,E){x&&!v(x=E?x:x.prototype,w)&&d(x,w,{configurable:!0,value:C})}},6200:function(u,f,l){var d=l(2309),v=l(9711),p=d("keys");u.exports=function(w){return p[w]||(p[w]=v(w))}},5465:function(u,f,l){var d=l(7854),v=l(3505),p="__core-js_shared__",w=d[p]||v(p,{});u.exports=w},2309:function(u,f,l){var d=l(1913),v=l(5465);(u.exports=function(p,w){return v[p]||(v[p]=w!==void 0?w:{})})("versions",[]).push({version:"3.9.0",mode:d?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(u,f,l){var d=l(9670),v=l(3099),p=l(5112),w=p("species");u.exports=function(x,C){var E=d(x).constructor,S;return E===void 0||(S=d(E)[w])==null?C:v(S)}},8710:function(u,f,l){var d=l(9958),v=l(4488),p=function(w){return function(x,C){var E=String(v(x)),S=d(C),I=E.length,D,H;return S<0||S>=I?w?"":void 0:(D=E.charCodeAt(S),D<55296||D>56319||S+1===I||(H=E.charCodeAt(S+1))<56320||H>57343?w?E.charAt(S):D:w?E.slice(S,S+2):(D-55296<<10)+(H-56320)+65536)}};u.exports={codeAt:p(!1),charAt:p(!0)}},3197:function(u){var f=2147483647,l=36,d=1,v=26,p=38,w=700,x=72,C=128,E="-",S=/[^\0-\u007E]/,I=/[.\u3002\uFF0E\uFF61]/g,D="Overflow: input needs wider integers to process",H=l-d,V=Math.floor,M=String.fromCharCode,G=function(ce){for(var ie=[],de=0,ge=ce.length;de<ge;){var me=ce.charCodeAt(de++);if(me>=55296&&me<=56319&&de<ge){var ye=ce.charCodeAt(de++);(ye&64512)==56320?ie.push(((me&1023)<<10)+(ye&1023)+65536):(ie.push(me),de--)}else ie.push(me)}return ie},y=function(ce){return ce+22+75*(ce<26)},Z=function(ce,ie,de){var ge=0;for(ce=de?V(ce/w):ce>>1,ce+=V(ce/ie);ce>H*v>>1;ge+=l)ce=V(ce/H);return V(ge+(H+1)*ce/(ce+p))},ae=function(ce){var ie=[];ce=G(ce);var de=ce.length,ge=C,me=0,ye=x,be,Ae;for(be=0;be<ce.length;be++)Ae=ce[be],Ae<128&&ie.push(M(Ae));var re=ie.length,Ee=re;for(re&&ie.push(E);Ee<de;){var X=f;for(be=0;be<ce.length;be++)Ae=ce[be],Ae>=ge&&Ae<X&&(X=Ae);var Re=Ee+1;if(X-ge>V((f-me)/Re))throw RangeError(D);for(me+=(X-ge)*Re,ge=X,be=0;be<ce.length;be++){if(Ae=ce[be],Ae<ge&&++me>f)throw RangeError(D);if(Ae==ge){for(var qe=me,Qe=l;;Qe+=l){var et=Qe<=ye?d:Qe>=ye+v?v:Qe-ye;if(qe<et)break;var ut=qe-et,dt=l-et;ie.push(M(y(et+ut%dt))),qe=V(ut/dt)}ie.push(M(y(qe))),ye=Z(me,Re,Ee==re),me=0,++Ee}}++me,++ge}return ie.join("")};u.exports=function(ce){var ie=[],de=ce.toLowerCase().replace(I,".").split("."),ge,me;for(ge=0;ge<de.length;ge++)me=de[ge],ie.push(S.test(me)?"xn--"+ae(me):me);return ie.join(".")}},6091:function(u,f,l){var d=l(7293),v=l(1361),p="
";u.exports=function(w){return d(function(){return!!v[w]()||p[w]()!=p||v[w].name!==w})}},3111:function(u,f,l){var d=l(4488),v=l(1361),p="["+v+"]",w=RegExp("^"+p+p+"*"),x=RegExp(p+p+"*$"),C=function(E){return function(S){var I=String(d(S));return E&1&&(I=I.replace(w,"")),E&2&&(I=I.replace(x,"")),I}};u.exports={start:C(1),end:C(2),trim:C(3)}},1400:function(u,f,l){var d=l(9958),v=Math.max,p=Math.min;u.exports=function(w,x){var C=d(w);return C<0?v(C+x,0):p(C,x)}},7067:function(u,f,l){var d=l(9958),v=l(7466);u.exports=function(p){if(p===void 0)return 0;var w=d(p),x=v(w);if(w!==x)throw RangeError("Wrong length or index");return x}},5656:function(u,f,l){var d=l(8361),v=l(4488);u.exports=function(p){return d(v(p))}},9958:function(u){var f=Math.ceil,l=Math.floor;u.exports=function(d){return isNaN(d=+d)?0:(d>0?l:f)(d)}},7466:function(u,f,l){var d=l(9958),v=Math.min;u.exports=function(p){return p>0?v(d(p),9007199254740991):0}},7908:function(u,f,l){var d=l(4488);u.exports=function(v){return Object(d(v))}},4590:function(u,f,l){var d=l(3002);u.exports=function(v,p){var w=d(v);if(w%p)throw RangeError("Wrong offset");return w}},3002:function(u,f,l){var d=l(9958);u.exports=function(v){var p=d(v);if(p<0)throw RangeError("The argument can't be less than 0");return p}},7593:function(u,f,l){var d=l(111);u.exports=function(v,p){if(!d(v))return v;var w,x;if(p&&typeof(w=v.toString)=="function"&&!d(x=w.call(v))||typeof(w=v.valueOf)=="function"&&!d(x=w.call(v))||!p&&typeof(w=v.toString)=="function"&&!d(x=w.call(v)))return x;throw TypeError("Can't convert object to primitive value")}},1694:function(u,f,l){var d=l(5112),v=d("toStringTag"),p={};p[v]="z",u.exports=String(p)==="[object z]"},9843:function(u,f,l){var d=l(2109),v=l(7854),p=l(9781),w=l(3832),x=l(260),C=l(3331),E=l(5787),S=l(9114),I=l(8880),D=l(7466),H=l(7067),V=l(4590),M=l(7593),G=l(6656),y=l(648),Z=l(111),ae=l(30),ce=l(7674),ie=l(8006).f,de=l(7321),ge=l(2092).forEach,me=l(6340),ye=l(3070),be=l(1236),Ae=l(9909),re=l(9587),Ee=Ae.get,X=Ae.set,Re=ye.f,qe=be.f,Qe=Math.round,et=v.RangeError,ut=C.ArrayBuffer,dt=C.DataView,F=x.NATIVE_ARRAY_BUFFER_VIEWS,T=x.TYPED_ARRAY_TAG,N=x.TypedArray,L=x.TypedArrayPrototype,q=x.aTypedArrayConstructor,P=x.isTypedArray,j="BYTES_PER_ELEMENT",se="Wrong length",ee=function(Se,ve){for(var Te=0,He=ve.length,Ue=new(q(Se))(He);He>Te;)Ue[Te]=ve[Te++];return Ue},pe=function(Se,ve){Re(Se,ve,{get:function(){return Ee(this)[ve]}})},ue=function(Se){var ve;return Se instanceof ut||(ve=y(Se))=="ArrayBuffer"||ve=="SharedArrayBuffer"},Oe=function(Se,ve){return P(Se)&&typeof ve!="symbol"&&ve in Se&&String(+ve)==String(ve)},Le=function(ve,Te){return Oe(ve,Te=M(Te,!0))?S(2,ve[Te]):qe(ve,Te)},oe=function(ve,Te,He){return Oe(ve,Te=M(Te,!0))&&Z(He)&&G(He,"value")&&!G(He,"get")&&!G(He,"set")&&!He.configurable&&(!G(He,"writable")||He.writable)&&(!G(He,"enumerable")||He.enumerable)?(ve[Te]=He.value,ve):Re(ve,Te,He)};p?(F||(be.f=Le,ye.f=oe,pe(L,"buffer"),pe(L,"byteOffset"),pe(L,"byteLength"),pe(L,"length")),d({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:Le,defineProperty:oe}),u.exports=function(Se,ve,Te){var He=Se.match(/\d+$/)[0]/8,Ue=Se+(Te?"Clamped":"")+"Array",at="get"+Se,Nt="set"+Se,$t=v[Ue],Ut=$t,br=Ut&&Ut.prototype,Pr={},ur=function(gr,Jt){var Et=Ee(gr);return Et.view[at](Jt*He+Et.byteOffset,!0)},xr=function(gr,Jt,Et){var je=Ee(gr);Te&&(Et=(Et=Qe(Et))<0?0:Et>255?255:Et&255),je.view[Nt](Jt*He+je.byteOffset,Et,!0)},Rr=function(gr,Jt){Re(gr,Jt,{get:function(){return ur(this,Jt)},set:function(Et){return xr(this,Jt,Et)},enumerable:!0})};F?w&&(Ut=ve(function(gr,Jt,Et,je){return E(gr,Ut,Ue),re(function(){return Z(Jt)?ue(Jt)?je!==void 0?new $t(Jt,V(Et,He),je):Et!==void 0?new $t(Jt,V(Et,He)):new $t(Jt):P(Jt)?ee(Ut,Jt):de.call(Ut,Jt):new $t(H(Jt))}(),gr,Ut)}),ce&&ce(Ut,N),ge(ie($t),function(gr){gr in Ut||I(Ut,gr,$t[gr])}),Ut.prototype=br):(Ut=ve(function(gr,Jt,Et,je){E(gr,Ut,Ue);var mt=0,Rt=0,Vt,kt,wr;if(!Z(Jt))wr=H(Jt),kt=wr*He,Vt=new ut(kt);else if(ue(Jt)){Vt=Jt,Rt=V(Et,He);var Ur=Jt.byteLength;if(je===void 0){if(Ur%He||(kt=Ur-Rt,kt<0))throw et(se)}else if(kt=D(je)*He,kt+Rt>Ur)throw et(se);wr=kt/He}else return P(Jt)?ee(Ut,Jt):de.call(Ut,Jt);for(X(gr,{buffer:Vt,byteOffset:Rt,byteLength:kt,length:wr,view:new dt(Vt)});mt<wr;)Rr(gr,mt++)}),ce&&ce(Ut,N),br=Ut.prototype=ae(L)),br.constructor!==Ut&&I(br,"constructor",Ut),T&&I(br,T,Ue),Pr[Ue]=Ut,d({global:!0,forced:Ut!=$t,sham:!F},Pr),j in Ut||I(Ut,j,He),j in br||I(br,j,He),me(Ue)}):u.exports=function(){}},3832:function(u,f,l){var d=l(7854),v=l(7293),p=l(7072),w=l(260).NATIVE_ARRAY_BUFFER_VIEWS,x=d.ArrayBuffer,C=d.Int8Array;u.exports=!w||!v(function(){C(1)})||!v(function(){new C(-1)})||!p(function(E){new C,new C(null),new C(1.5),new C(E)},!0)||v(function(){return new C(new x(2),1,void 0).length!==1})},3074:function(u,f,l){var d=l(260).aTypedArrayConstructor,v=l(6707);u.exports=function(p,w){for(var x=v(p,p.constructor),C=0,E=w.length,S=new(d(x))(E);E>C;)S[C]=w[C++];return S}},7321:function(u,f,l){var d=l(7908),v=l(7466),p=l(1246),w=l(7659),x=l(9974),C=l(260).aTypedArrayConstructor;u.exports=function(S){var I=d(S),D=arguments.length,H=D>1?arguments[1]:void 0,V=H!==void 0,M=p(I),G,y,Z,ae,ce,ie;if(M!=null&&!w(M))for(ce=M.call(I),ie=ce.next,I=[];!(ae=ie.call(ce)).done;)I.push(ae.value);for(V&&D>2&&(H=x(H,arguments[2],2)),y=v(I.length),Z=new(C(this))(y),G=0;y>G;G++)Z[G]=V?H(I[G],G):I[G];return Z}},9711:function(u){var f=0,l=Math.random();u.exports=function(d){return"Symbol("+String(d===void 0?"":d)+")_"+(++f+l).toString(36)}},3307:function(u,f,l){var d=l(133);u.exports=d&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},5112:function(u,f,l){var d=l(7854),v=l(2309),p=l(6656),w=l(9711),x=l(133),C=l(3307),E=v("wks"),S=d.Symbol,I=C?S:S&&S.withoutSetter||w;u.exports=function(D){return p(E,D)||(x&&p(S,D)?E[D]=S[D]:E[D]=I("Symbol."+D)),E[D]}},1361:function(u){u.exports=`
|
|
142
|
+
\v\f\r \u2028\u2029\uFEFF`},8264:function(u,f,l){var d=l(2109),v=l(7854),p=l(3331),w=l(6340),x="ArrayBuffer",C=p[x],E=v[x];d({global:!0,forced:E!==C},{ArrayBuffer:C}),w(x)},2222:function(u,f,l){var d=l(2109),v=l(7293),p=l(3157),w=l(111),x=l(7908),C=l(7466),E=l(6135),S=l(5417),I=l(1194),D=l(5112),H=l(7392),V=D("isConcatSpreadable"),M=9007199254740991,G="Maximum allowed index exceeded",y=H>=51||!v(function(){var ie=[];return ie[V]=!1,ie.concat()[0]!==ie}),Z=I("concat"),ae=function(ie){if(!w(ie))return!1;var de=ie[V];return de!==void 0?!!de:p(ie)},ce=!y||!Z;d({target:"Array",proto:!0,forced:ce},{concat:function(de){var ge=x(this),me=S(ge,0),ye=0,be,Ae,re,Ee,X;for(be=-1,re=arguments.length;be<re;be++)if(X=be===-1?ge:arguments[be],ae(X)){if(Ee=C(X.length),ye+Ee>M)throw TypeError(G);for(Ae=0;Ae<Ee;Ae++,ye++)Ae in X&&E(me,ye,X[Ae])}else{if(ye>=M)throw TypeError(G);E(me,ye++,X)}return me.length=ye,me}})},7327:function(u,f,l){var d=l(2109),v=l(2092).filter,p=l(1194),w=p("filter");d({target:"Array",proto:!0,forced:!w},{filter:function(C){return v(this,C,arguments.length>1?arguments[1]:void 0)}})},2772:function(u,f,l){var d=l(2109),v=l(1318).indexOf,p=l(9341),w=[].indexOf,x=!!w&&1/[1].indexOf(1,-0)<0,C=p("indexOf");d({target:"Array",proto:!0,forced:x||!C},{indexOf:function(S){return x?w.apply(this,arguments)||0:v(this,S,arguments.length>1?arguments[1]:void 0)}})},6992:function(u,f,l){var d=l(5656),v=l(1223),p=l(7497),w=l(9909),x=l(654),C="Array Iterator",E=w.set,S=w.getterFor(C);u.exports=x(Array,"Array",function(I,D){E(this,{type:C,target:d(I),index:0,kind:D})},function(){var I=S(this),D=I.target,H=I.kind,V=I.index++;return!D||V>=D.length?(I.target=void 0,{value:void 0,done:!0}):H=="keys"?{value:V,done:!1}:H=="values"?{value:D[V],done:!1}:{value:[V,D[V]],done:!1}},"values"),p.Arguments=p.Array,v("keys"),v("values"),v("entries")},1249:function(u,f,l){var d=l(2109),v=l(2092).map,p=l(1194),w=p("map");d({target:"Array",proto:!0,forced:!w},{map:function(C){return v(this,C,arguments.length>1?arguments[1]:void 0)}})},7042:function(u,f,l){var d=l(2109),v=l(111),p=l(3157),w=l(1400),x=l(7466),C=l(5656),E=l(6135),S=l(5112),I=l(1194),D=I("slice"),H=S("species"),V=[].slice,M=Math.max;d({target:"Array",proto:!0,forced:!D},{slice:function(y,Z){var ae=C(this),ce=x(ae.length),ie=w(y,ce),de=w(Z===void 0?ce:Z,ce),ge,me,ye;if(p(ae)&&(ge=ae.constructor,typeof ge=="function"&&(ge===Array||p(ge.prototype))?ge=void 0:v(ge)&&(ge=ge[H],ge===null&&(ge=void 0)),ge===Array||ge===void 0))return V.call(ae,ie,de);for(me=new(ge===void 0?Array:ge)(M(de-ie,0)),ye=0;ie<de;ie++,ye++)ie in ae&&E(me,ye,ae[ie]);return me.length=ye,me}})},561:function(u,f,l){var d=l(2109),v=l(1400),p=l(9958),w=l(7466),x=l(7908),C=l(5417),E=l(6135),S=l(1194),I=S("splice"),D=Math.max,H=Math.min,V=9007199254740991,M="Maximum allowed length exceeded";d({target:"Array",proto:!0,forced:!I},{splice:function(y,Z){var ae=x(this),ce=w(ae.length),ie=v(y,ce),de=arguments.length,ge,me,ye,be,Ae,re;if(de===0?ge=me=0:de===1?(ge=0,me=ce-ie):(ge=de-2,me=H(D(p(Z),0),ce-ie)),ce+ge-me>V)throw TypeError(M);for(ye=C(ae,me),be=0;be<me;be++)Ae=ie+be,Ae in ae&&E(ye,be,ae[Ae]);if(ye.length=me,ge<me){for(be=ie;be<ce-me;be++)Ae=be+me,re=be+ge,Ae in ae?ae[re]=ae[Ae]:delete ae[re];for(be=ce;be>ce-me+ge;be--)delete ae[be-1]}else if(ge>me)for(be=ce-me;be>ie;be--)Ae=be+me-1,re=be+ge-1,Ae in ae?ae[re]=ae[Ae]:delete ae[re];for(be=0;be<ge;be++)ae[be+ie]=arguments[be+2];return ae.length=ce-me+ge,ye}})},8309:function(u,f,l){var d=l(9781),v=l(3070).f,p=Function.prototype,w=p.toString,x=/^\s*function ([^ (]*)/,C="name";d&&!(C in p)&&v(p,C,{configurable:!0,get:function(){try{return w.call(this).match(x)[1]}catch{return""}}})},489:function(u,f,l){var d=l(2109),v=l(7293),p=l(7908),w=l(9518),x=l(8544),C=v(function(){w(1)});d({target:"Object",stat:!0,forced:C,sham:!x},{getPrototypeOf:function(S){return w(p(S))}})},1539:function(u,f,l){var d=l(1694),v=l(1320),p=l(288);d||v(Object.prototype,"toString",p,{unsafe:!0})},4916:function(u,f,l){var d=l(2109),v=l(2261);d({target:"RegExp",proto:!0,forced:/./.exec!==v},{exec:v})},9714:function(u,f,l){var d=l(1320),v=l(9670),p=l(7293),w=l(7066),x="toString",C=RegExp.prototype,E=C[x],S=p(function(){return E.call({source:"a",flags:"b"})!="/a/b"}),I=E.name!=x;(S||I)&&d(RegExp.prototype,x,function(){var H=v(this),V=String(H.source),M=H.flags,G=String(M===void 0&&H instanceof RegExp&&!("flags"in C)?w.call(H):M);return"/"+V+"/"+G},{unsafe:!0})},8783:function(u,f,l){var d=l(8710).charAt,v=l(9909),p=l(654),w="String Iterator",x=v.set,C=v.getterFor(w);p(String,"String",function(E){x(this,{type:w,string:String(E),index:0})},function(){var S=C(this),I=S.string,D=S.index,H;return D>=I.length?{value:void 0,done:!0}:(H=d(I,D),S.index+=H.length,{value:H,done:!1})})},4723:function(u,f,l){var d=l(7007),v=l(9670),p=l(7466),w=l(4488),x=l(1530),C=l(7651);d("match",1,function(E,S,I){return[function(H){var V=w(this),M=H==null?void 0:H[E];return M!==void 0?M.call(H,V):new RegExp(H)[E](String(V))},function(D){var H=I(S,D,this);if(H.done)return H.value;var V=v(D),M=String(this);if(!V.global)return C(V,M);var G=V.unicode;V.lastIndex=0;for(var y=[],Z=0,ae;(ae=C(V,M))!==null;){var ce=String(ae[0]);y[Z]=ce,ce===""&&(V.lastIndex=x(M,p(V.lastIndex),G)),Z++}return Z===0?null:y}]})},5306:function(u,f,l){var d=l(7007),v=l(9670),p=l(7466),w=l(9958),x=l(4488),C=l(1530),E=l(647),S=l(7651),I=Math.max,D=Math.min,H=function(V){return V===void 0?V:String(V)};d("replace",2,function(V,M,G,y){var Z=y.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,ae=y.REPLACE_KEEPS_$0,ce=Z?"$":"$0";return[function(de,ge){var me=x(this),ye=de==null?void 0:de[V];return ye!==void 0?ye.call(de,me,ge):M.call(String(me),de,ge)},function(ie,de){if(!Z&&ae||typeof de=="string"&&de.indexOf(ce)===-1){var ge=G(M,ie,this,de);if(ge.done)return ge.value}var me=v(ie),ye=String(this),be=typeof de=="function";be||(de=String(de));var Ae=me.global;if(Ae){var re=me.unicode;me.lastIndex=0}for(var Ee=[];;){var X=S(me,ye);if(X===null||(Ee.push(X),!Ae))break;var Re=String(X[0]);Re===""&&(me.lastIndex=C(ye,p(me.lastIndex),re))}for(var qe="",Qe=0,et=0;et<Ee.length;et++){X=Ee[et];for(var ut=String(X[0]),dt=I(D(w(X.index),ye.length),0),F=[],T=1;T<X.length;T++)F.push(H(X[T]));var N=X.groups;if(be){var L=[ut].concat(F,dt,ye);N!==void 0&&L.push(N);var q=String(de.apply(void 0,L))}else q=E(ut,ye,dt,F,N,de);dt>=Qe&&(qe+=ye.slice(Qe,dt)+q,Qe=dt+ut.length)}return qe+ye.slice(Qe)}]})},3123:function(u,f,l){var d=l(7007),v=l(7850),p=l(9670),w=l(4488),x=l(6707),C=l(1530),E=l(7466),S=l(7651),I=l(2261),D=l(7293),H=[].push,V=Math.min,M=4294967295,G=!D(function(){return!RegExp(M,"y")});d("split",2,function(y,Z,ae){var ce;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?ce=function(ie,de){var ge=String(w(this)),me=de===void 0?M:de>>>0;if(me===0)return[];if(ie===void 0)return[ge];if(!v(ie))return Z.call(ge,ie,me);for(var ye=[],be=(ie.ignoreCase?"i":"")+(ie.multiline?"m":"")+(ie.unicode?"u":"")+(ie.sticky?"y":""),Ae=0,re=new RegExp(ie.source,be+"g"),Ee,X,Re;(Ee=I.call(re,ge))&&(X=re.lastIndex,!(X>Ae&&(ye.push(ge.slice(Ae,Ee.index)),Ee.length>1&&Ee.index<ge.length&&H.apply(ye,Ee.slice(1)),Re=Ee[0].length,Ae=X,ye.length>=me)));)re.lastIndex===Ee.index&&re.lastIndex++;return Ae===ge.length?(Re||!re.test(""))&&ye.push(""):ye.push(ge.slice(Ae)),ye.length>me?ye.slice(0,me):ye}:"0".split(void 0,0).length?ce=function(ie,de){return ie===void 0&&de===0?[]:Z.call(this,ie,de)}:ce=Z,[function(de,ge){var me=w(this),ye=de==null?void 0:de[y];return ye!==void 0?ye.call(de,me,ge):ce.call(String(me),de,ge)},function(ie,de){var ge=ae(ce,ie,this,de,ce!==Z);if(ge.done)return ge.value;var me=p(ie),ye=String(this),be=x(me,RegExp),Ae=me.unicode,re=(me.ignoreCase?"i":"")+(me.multiline?"m":"")+(me.unicode?"u":"")+(G?"y":"g"),Ee=new be(G?me:"^(?:"+me.source+")",re),X=de===void 0?M:de>>>0;if(X===0)return[];if(ye.length===0)return S(Ee,ye)===null?[ye]:[];for(var Re=0,qe=0,Qe=[];qe<ye.length;){Ee.lastIndex=G?qe:0;var et=S(Ee,G?ye:ye.slice(qe)),ut;if(et===null||(ut=V(E(Ee.lastIndex+(G?0:qe)),ye.length))===Re)qe=C(ye,qe,Ae);else{if(Qe.push(ye.slice(Re,qe)),Qe.length===X)return Qe;for(var dt=1;dt<=et.length-1;dt++)if(Qe.push(et[dt]),Qe.length===X)return Qe;qe=Re=ut}}return Qe.push(ye.slice(Re)),Qe}]},!G)},3210:function(u,f,l){var d=l(2109),v=l(3111).trim,p=l(6091);d({target:"String",proto:!0,forced:p("trim")},{trim:function(){return v(this)}})},2990:function(u,f,l){var d=l(260),v=l(1048),p=d.aTypedArray,w=d.exportTypedArrayMethod;w("copyWithin",function(C,E){return v.call(p(this),C,E,arguments.length>2?arguments[2]:void 0)})},8927:function(u,f,l){var d=l(260),v=l(2092).every,p=d.aTypedArray,w=d.exportTypedArrayMethod;w("every",function(C){return v(p(this),C,arguments.length>1?arguments[1]:void 0)})},3105:function(u,f,l){var d=l(260),v=l(1285),p=d.aTypedArray,w=d.exportTypedArrayMethod;w("fill",function(C){return v.apply(p(this),arguments)})},5035:function(u,f,l){var d=l(260),v=l(2092).filter,p=l(3074),w=d.aTypedArray,x=d.exportTypedArrayMethod;x("filter",function(E){var S=v(w(this),E,arguments.length>1?arguments[1]:void 0);return p(this,S)})},7174:function(u,f,l){var d=l(260),v=l(2092).findIndex,p=d.aTypedArray,w=d.exportTypedArrayMethod;w("findIndex",function(C){return v(p(this),C,arguments.length>1?arguments[1]:void 0)})},4345:function(u,f,l){var d=l(260),v=l(2092).find,p=d.aTypedArray,w=d.exportTypedArrayMethod;w("find",function(C){return v(p(this),C,arguments.length>1?arguments[1]:void 0)})},2846:function(u,f,l){var d=l(260),v=l(2092).forEach,p=d.aTypedArray,w=d.exportTypedArrayMethod;w("forEach",function(C){v(p(this),C,arguments.length>1?arguments[1]:void 0)})},4731:function(u,f,l){var d=l(260),v=l(1318).includes,p=d.aTypedArray,w=d.exportTypedArrayMethod;w("includes",function(C){return v(p(this),C,arguments.length>1?arguments[1]:void 0)})},7209:function(u,f,l){var d=l(260),v=l(1318).indexOf,p=d.aTypedArray,w=d.exportTypedArrayMethod;w("indexOf",function(C){return v(p(this),C,arguments.length>1?arguments[1]:void 0)})},6319:function(u,f,l){var d=l(7854),v=l(260),p=l(6992),w=l(5112),x=w("iterator"),C=d.Uint8Array,E=p.values,S=p.keys,I=p.entries,D=v.aTypedArray,H=v.exportTypedArrayMethod,V=C&&C.prototype[x],M=!!V&&(V.name=="values"||V.name==null),G=function(){return E.call(D(this))};H("entries",function(){return I.call(D(this))}),H("keys",function(){return S.call(D(this))}),H("values",G,!M),H(x,G,!M)},8867:function(u,f,l){var d=l(260),v=d.aTypedArray,p=d.exportTypedArrayMethod,w=[].join;p("join",function(C){return w.apply(v(this),arguments)})},7789:function(u,f,l){var d=l(260),v=l(6583),p=d.aTypedArray,w=d.exportTypedArrayMethod;w("lastIndexOf",function(C){return v.apply(p(this),arguments)})},3739:function(u,f,l){var d=l(260),v=l(2092).map,p=l(6707),w=d.aTypedArray,x=d.aTypedArrayConstructor,C=d.exportTypedArrayMethod;C("map",function(S){return v(w(this),S,arguments.length>1?arguments[1]:void 0,function(I,D){return new(x(p(I,I.constructor)))(D)})})},4483:function(u,f,l){var d=l(260),v=l(3671).right,p=d.aTypedArray,w=d.exportTypedArrayMethod;w("reduceRight",function(C){return v(p(this),C,arguments.length,arguments.length>1?arguments[1]:void 0)})},9368:function(u,f,l){var d=l(260),v=l(3671).left,p=d.aTypedArray,w=d.exportTypedArrayMethod;w("reduce",function(C){return v(p(this),C,arguments.length,arguments.length>1?arguments[1]:void 0)})},2056:function(u,f,l){var d=l(260),v=d.aTypedArray,p=d.exportTypedArrayMethod,w=Math.floor;p("reverse",function(){for(var C=this,E=v(C).length,S=w(E/2),I=0,D;I<S;)D=C[I],C[I++]=C[--E],C[E]=D;return C})},3462:function(u,f,l){var d=l(260),v=l(7466),p=l(4590),w=l(7908),x=l(7293),C=d.aTypedArray,E=d.exportTypedArrayMethod,S=x(function(){new Int8Array(1).set({})});E("set",function(D){C(this);var H=p(arguments.length>1?arguments[1]:void 0,1),V=this.length,M=w(D),G=v(M.length),y=0;if(G+H>V)throw RangeError("Wrong length");for(;y<G;)this[H+y]=M[y++]},S)},678:function(u,f,l){var d=l(260),v=l(6707),p=l(7293),w=d.aTypedArray,x=d.aTypedArrayConstructor,C=d.exportTypedArrayMethod,E=[].slice,S=p(function(){new Int8Array(1).slice()});C("slice",function(D,H){for(var V=E.call(w(this),D,H),M=v(this,this.constructor),G=0,y=V.length,Z=new(x(M))(y);y>G;)Z[G]=V[G++];return Z},S)},7462:function(u,f,l){var d=l(260),v=l(2092).some,p=d.aTypedArray,w=d.exportTypedArrayMethod;w("some",function(C){return v(p(this),C,arguments.length>1?arguments[1]:void 0)})},3824:function(u,f,l){var d=l(260),v=d.aTypedArray,p=d.exportTypedArrayMethod,w=[].sort;p("sort",function(C){return w.call(v(this),C)})},5021:function(u,f,l){var d=l(260),v=l(7466),p=l(1400),w=l(6707),x=d.aTypedArray,C=d.exportTypedArrayMethod;C("subarray",function(S,I){var D=x(this),H=D.length,V=p(S,H);return new(w(D,D.constructor))(D.buffer,D.byteOffset+V*D.BYTES_PER_ELEMENT,v((I===void 0?H:p(I,H))-V))})},2974:function(u,f,l){var d=l(7854),v=l(260),p=l(7293),w=d.Int8Array,x=v.aTypedArray,C=v.exportTypedArrayMethod,E=[].toLocaleString,S=[].slice,I=!!w&&p(function(){E.call(new w(1))}),D=p(function(){return[1,2].toLocaleString()!=new w([1,2]).toLocaleString()})||!p(function(){w.prototype.toLocaleString.call([1,2])});C("toLocaleString",function(){return E.apply(I?S.call(x(this)):x(this),arguments)},D)},5016:function(u,f,l){var d=l(260).exportTypedArrayMethod,v=l(7293),p=l(7854),w=p.Uint8Array,x=w&&w.prototype||{},C=[].toString,E=[].join;v(function(){C.call({})})&&(C=function(){return E.call(this)});var S=x.toString!=C;d("toString",C,S)},2472:function(u,f,l){var d=l(9843);d("Uint8",function(v){return function(w,x,C){return v(this,w,x,C)}})},4747:function(u,f,l){var d=l(7854),v=l(8324),p=l(8533),w=l(8880);for(var x in v){var C=d[x],E=C&&C.prototype;if(E&&E.forEach!==p)try{w(E,"forEach",p)}catch{E.forEach=p}}},3948:function(u,f,l){var d=l(7854),v=l(8324),p=l(6992),w=l(8880),x=l(5112),C=x("iterator"),E=x("toStringTag"),S=p.values;for(var I in v){var D=d[I],H=D&&D.prototype;if(H){if(H[C]!==S)try{w(H,C,S)}catch{H[C]=S}if(H[E]||w(H,E,I),v[I]){for(var V in p)if(H[V]!==p[V])try{w(H,V,p[V])}catch{H[V]=p[V]}}}}},1637:function(u,f,l){l(6992);var d=l(2109),v=l(5005),p=l(590),w=l(1320),x=l(2248),C=l(8003),E=l(4994),S=l(9909),I=l(5787),D=l(6656),H=l(9974),V=l(648),M=l(9670),G=l(111),y=l(30),Z=l(9114),ae=l(8554),ce=l(1246),ie=l(5112),de=v("fetch"),ge=v("Headers"),me=ie("iterator"),ye="URLSearchParams",be=ye+"Iterator",Ae=S.set,re=S.getterFor(ye),Ee=S.getterFor(be),X=/\+/g,Re=Array(4),qe=function(ee){return Re[ee-1]||(Re[ee-1]=RegExp("((?:%[\\da-f]{2}){"+ee+"})","gi"))},Qe=function(ee){try{return decodeURIComponent(ee)}catch{return ee}},et=function(ee){var pe=ee.replace(X," "),ue=4;try{return decodeURIComponent(pe)}catch{for(;ue;)pe=pe.replace(qe(ue--),Qe);return pe}},ut=/[!'()~]|%20/g,dt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(ee){return dt[ee]},T=function(ee){return encodeURIComponent(ee).replace(ut,F)},N=function(ee,pe){if(pe)for(var ue=pe.split("&"),Oe=0,Le,oe;Oe<ue.length;)Le=ue[Oe++],Le.length&&(oe=Le.split("="),ee.push({key:et(oe.shift()),value:et(oe.join("="))}))},L=function(ee){this.entries.length=0,N(this.entries,ee)},q=function(ee,pe){if(ee<pe)throw TypeError("Not enough arguments")},P=E(function(pe,ue){Ae(this,{type:be,iterator:ae(re(pe).entries),kind:ue})},"Iterator",function(){var pe=Ee(this),ue=pe.kind,Oe=pe.iterator.next(),Le=Oe.value;return Oe.done||(Oe.value=ue==="keys"?Le.key:ue==="values"?Le.value:[Le.key,Le.value]),Oe}),j=function(){I(this,j,ye);var pe=arguments.length>0?arguments[0]:void 0,ue=this,Oe=[],Le,oe,Se,ve,Te,He,Ue,at,Nt;if(Ae(ue,{type:ye,entries:Oe,updateURL:function(){},updateSearchParams:L}),pe!==void 0)if(G(pe))if(Le=ce(pe),typeof Le=="function")for(oe=Le.call(pe),Se=oe.next;!(ve=Se.call(oe)).done;){if(Te=ae(M(ve.value)),He=Te.next,(Ue=He.call(Te)).done||(at=He.call(Te)).done||!He.call(Te).done)throw TypeError("Expected sequence with length 2");Oe.push({key:Ue.value+"",value:at.value+""})}else for(Nt in pe)D(pe,Nt)&&Oe.push({key:Nt,value:pe[Nt]+""});else N(Oe,typeof pe=="string"?pe.charAt(0)==="?"?pe.slice(1):pe:pe+"")},se=j.prototype;x(se,{append:function(pe,ue){q(arguments.length,2);var Oe=re(this);Oe.entries.push({key:pe+"",value:ue+""}),Oe.updateURL()},delete:function(ee){q(arguments.length,1);for(var pe=re(this),ue=pe.entries,Oe=ee+"",Le=0;Le<ue.length;)ue[Le].key===Oe?ue.splice(Le,1):Le++;pe.updateURL()},get:function(pe){q(arguments.length,1);for(var ue=re(this).entries,Oe=pe+"",Le=0;Le<ue.length;Le++)if(ue[Le].key===Oe)return ue[Le].value;return null},getAll:function(pe){q(arguments.length,1);for(var ue=re(this).entries,Oe=pe+"",Le=[],oe=0;oe<ue.length;oe++)ue[oe].key===Oe&&Le.push(ue[oe].value);return Le},has:function(pe){q(arguments.length,1);for(var ue=re(this).entries,Oe=pe+"",Le=0;Le<ue.length;)if(ue[Le++].key===Oe)return!0;return!1},set:function(pe,ue){q(arguments.length,1);for(var Oe=re(this),Le=Oe.entries,oe=!1,Se=pe+"",ve=ue+"",Te=0,He;Te<Le.length;Te++)He=Le[Te],He.key===Se&&(oe?Le.splice(Te--,1):(oe=!0,He.value=ve));oe||Le.push({key:Se,value:ve}),Oe.updateURL()},sort:function(){var pe=re(this),ue=pe.entries,Oe=ue.slice(),Le,oe,Se;for(ue.length=0,Se=0;Se<Oe.length;Se++){for(Le=Oe[Se],oe=0;oe<Se;oe++)if(ue[oe].key>Le.key){ue.splice(oe,0,Le);break}oe===Se&&ue.push(Le)}pe.updateURL()},forEach:function(pe){for(var ue=re(this).entries,Oe=H(pe,arguments.length>1?arguments[1]:void 0,3),Le=0,oe;Le<ue.length;)oe=ue[Le++],Oe(oe.value,oe.key,this)},keys:function(){return new P(this,"keys")},values:function(){return new P(this,"values")},entries:function(){return new P(this,"entries")}},{enumerable:!0}),w(se,me,se.entries),w(se,"toString",function(){for(var pe=re(this).entries,ue=[],Oe=0,Le;Oe<pe.length;)Le=pe[Oe++],ue.push(T(Le.key)+"="+T(Le.value));return ue.join("&")},{enumerable:!0}),C(j,ye),d({global:!0,forced:!p},{URLSearchParams:j}),!p&&typeof de=="function"&&typeof ge=="function"&&d({global:!0,enumerable:!0,forced:!0},{fetch:function(pe){var ue=[pe],Oe,Le,oe;return arguments.length>1&&(Oe=arguments[1],G(Oe)&&(Le=Oe.body,V(Le)===ye&&(oe=Oe.headers?new ge(Oe.headers):new ge,oe.has("content-type")||oe.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Oe=y(Oe,{body:Z(0,String(Le)),headers:Z(0,oe)}))),ue.push(Oe)),de.apply(this,ue)}}),u.exports={URLSearchParams:j,getState:re}},285:function(u,f,l){l(8783);var d=l(2109),v=l(9781),p=l(590),w=l(7854),x=l(6048),C=l(1320),E=l(5787),S=l(6656),I=l(1574),D=l(8457),H=l(8710).codeAt,V=l(3197),M=l(8003),G=l(1637),y=l(9909),Z=w.URL,ae=G.URLSearchParams,ce=G.getState,ie=y.set,de=y.getterFor("URL"),ge=Math.floor,me=Math.pow,ye="Invalid authority",be="Invalid scheme",Ae="Invalid host",re="Invalid port",Ee=/[A-Za-z]/,X=/[\d+-.A-Za-z]/,Re=/\d/,qe=/^(0x|0X)/,Qe=/^[0-7]+$/,et=/^\d+$/,ut=/^[\dA-Fa-f]+$/,dt=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,F=/[\u0000\t\u000A\u000D #/:?@[\\]]/,T=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\t\u000A\u000D]/g,L,q=function(fe,Ze){var Ge,rt,ct;if(Ze.charAt(0)=="["){if(Ze.charAt(Ze.length-1)!="]"||(Ge=j(Ze.slice(1,-1)),!Ge))return Ae;fe.host=Ge}else if(ve(fe)){if(Ze=V(Ze),dt.test(Ze)||(Ge=P(Ze),Ge===null))return Ae;fe.host=Ge}else{if(F.test(Ze))return Ae;for(Ge="",rt=D(Ze),ct=0;ct<rt.length;ct++)Ge+=oe(rt[ct],pe);fe.host=Ge}},P=function(fe){var Ze=fe.split("."),Ge,rt,ct,Ht,Tt,vr,Or;if(Ze.length&&Ze[Ze.length-1]==""&&Ze.pop(),Ge=Ze.length,Ge>4)return fe;for(rt=[],ct=0;ct<Ge;ct++){if(Ht=Ze[ct],Ht=="")return fe;if(Tt=10,Ht.length>1&&Ht.charAt(0)=="0"&&(Tt=qe.test(Ht)?16:8,Ht=Ht.slice(Tt==8?1:2)),Ht==="")vr=0;else{if(!(Tt==10?et:Tt==8?Qe:ut).test(Ht))return fe;vr=parseInt(Ht,Tt)}rt.push(vr)}for(ct=0;ct<Ge;ct++)if(vr=rt[ct],ct==Ge-1){if(vr>=me(256,5-Ge))return null}else if(vr>255)return null;for(Or=rt.pop(),ct=0;ct<rt.length;ct++)Or+=rt[ct]*me(256,3-ct);return Or},j=function(fe){var Ze=[0,0,0,0,0,0,0,0],Ge=0,rt=null,ct=0,Ht,Tt,vr,Or,Lr,$r,lt,lr=function(){return fe.charAt(ct)};if(lr()==":"){if(fe.charAt(1)!=":")return;ct+=2,Ge++,rt=Ge}for(;lr();){if(Ge==8)return;if(lr()==":"){if(rt!==null)return;ct++,Ge++,rt=Ge;continue}for(Ht=Tt=0;Tt<4&&ut.test(lr());)Ht=Ht*16+parseInt(lr(),16),ct++,Tt++;if(lr()=="."){if(Tt==0||(ct-=Tt,Ge>6))return;for(vr=0;lr();){if(Or=null,vr>0)if(lr()=="."&&vr<4)ct++;else return;if(!Re.test(lr()))return;for(;Re.test(lr());){if(Lr=parseInt(lr(),10),Or===null)Or=Lr;else{if(Or==0)return;Or=Or*10+Lr}if(Or>255)return;ct++}Ze[Ge]=Ze[Ge]*256+Or,vr++,(vr==2||vr==4)&&Ge++}if(vr!=4)return;break}else if(lr()==":"){if(ct++,!lr())return}else if(lr())return;Ze[Ge++]=Ht}if(rt!==null)for($r=Ge-rt,Ge=7;Ge!=0&&$r>0;)lt=Ze[Ge],Ze[Ge--]=Ze[rt+$r-1],Ze[rt+--$r]=lt;else if(Ge!=8)return;return Ze},se=function(fe){for(var Ze=null,Ge=1,rt=null,ct=0,Ht=0;Ht<8;Ht++)fe[Ht]!==0?(ct>Ge&&(Ze=rt,Ge=ct),rt=null,ct=0):(rt===null&&(rt=Ht),++ct);return ct>Ge&&(Ze=rt,Ge=ct),Ze},ee=function(fe){var Ze,Ge,rt,ct;if(typeof fe=="number"){for(Ze=[],Ge=0;Ge<4;Ge++)Ze.unshift(fe%256),fe=ge(fe/256);return Ze.join(".")}else if(typeof fe=="object"){for(Ze="",rt=se(fe),Ge=0;Ge<8;Ge++)ct&&fe[Ge]===0||(ct&&(ct=!1),rt===Ge?(Ze+=Ge?":":"::",ct=!0):(Ze+=fe[Ge].toString(16),Ge<7&&(Ze+=":")));return"["+Ze+"]"}return fe},pe={},ue=I({},pe,{" ":1,'"':1,"<":1,">":1,"`":1}),Oe=I({},ue,{"#":1,"?":1,"{":1,"}":1}),Le=I({},Oe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),oe=function(fe,Ze){var Ge=H(fe,0);return Ge>32&&Ge<127&&!S(Ze,fe)?fe:encodeURIComponent(fe)},Se={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ve=function(fe){return S(Se,fe.scheme)},Te=function(fe){return fe.username!=""||fe.password!=""},He=function(fe){return!fe.host||fe.cannotBeABaseURL||fe.scheme=="file"},Ue=function(fe,Ze){var Ge;return fe.length==2&&Ee.test(fe.charAt(0))&&((Ge=fe.charAt(1))==":"||!Ze&&Ge=="|")},at=function(fe){var Ze;return fe.length>1&&Ue(fe.slice(0,2))&&(fe.length==2||(Ze=fe.charAt(2))==="/"||Ze==="\\"||Ze==="?"||Ze==="#")},Nt=function(fe){var Ze=fe.path,Ge=Ze.length;Ge&&(fe.scheme!="file"||Ge!=1||!Ue(Ze[0],!0))&&Ze.pop()},$t=function(fe){return fe==="."||fe.toLowerCase()==="%2e"},Ut=function(fe){return fe=fe.toLowerCase(),fe===".."||fe==="%2e."||fe===".%2e"||fe==="%2e%2e"},br={},Pr={},ur={},xr={},Rr={},gr={},Jt={},Et={},je={},mt={},Rt={},Vt={},kt={},wr={},Ur={},dr={},Cr={},kr={},bn={},Pn={},an={},en=function(fe,Ze,Ge,rt){var ct=Ge||br,Ht=0,Tt="",vr=!1,Or=!1,Lr=!1,$r,lt,lr,jn;for(Ge||(fe.scheme="",fe.username="",fe.password="",fe.host=null,fe.port=null,fe.path=[],fe.query=null,fe.fragment=null,fe.cannotBeABaseURL=!1,Ze=Ze.replace(T,"")),Ze=Ze.replace(N,""),$r=D(Ze);Ht<=$r.length;){switch(lt=$r[Ht],ct){case br:if(lt&&Ee.test(lt))Tt+=lt.toLowerCase(),ct=Pr;else{if(Ge)return be;ct=ur;continue}break;case Pr:if(lt&&(X.test(lt)||lt=="+"||lt=="-"||lt=="."))Tt+=lt.toLowerCase();else if(lt==":"){if(Ge&&(ve(fe)!=S(Se,Tt)||Tt=="file"&&(Te(fe)||fe.port!==null)||fe.scheme=="file"&&!fe.host))return;if(fe.scheme=Tt,Ge){ve(fe)&&Se[fe.scheme]==fe.port&&(fe.port=null);return}Tt="",fe.scheme=="file"?ct=wr:ve(fe)&&rt&&rt.scheme==fe.scheme?ct=xr:ve(fe)?ct=Et:$r[Ht+1]=="/"?(ct=Rr,Ht++):(fe.cannotBeABaseURL=!0,fe.path.push(""),ct=bn)}else{if(Ge)return be;Tt="",ct=ur,Ht=0;continue}break;case ur:if(!rt||rt.cannotBeABaseURL&<!="#")return be;if(rt.cannotBeABaseURL&<=="#"){fe.scheme=rt.scheme,fe.path=rt.path.slice(),fe.query=rt.query,fe.fragment="",fe.cannotBeABaseURL=!0,ct=an;break}ct=rt.scheme=="file"?wr:gr;continue;case xr:if(lt=="/"&&$r[Ht+1]=="/")ct=je,Ht++;else{ct=gr;continue}break;case Rr:if(lt=="/"){ct=mt;break}else{ct=kr;continue}case gr:if(fe.scheme=rt.scheme,lt==L)fe.username=rt.username,fe.password=rt.password,fe.host=rt.host,fe.port=rt.port,fe.path=rt.path.slice(),fe.query=rt.query;else if(lt=="/"||lt=="\\"&&ve(fe))ct=Jt;else if(lt=="?")fe.username=rt.username,fe.password=rt.password,fe.host=rt.host,fe.port=rt.port,fe.path=rt.path.slice(),fe.query="",ct=Pn;else if(lt=="#")fe.username=rt.username,fe.password=rt.password,fe.host=rt.host,fe.port=rt.port,fe.path=rt.path.slice(),fe.query=rt.query,fe.fragment="",ct=an;else{fe.username=rt.username,fe.password=rt.password,fe.host=rt.host,fe.port=rt.port,fe.path=rt.path.slice(),fe.path.pop(),ct=kr;continue}break;case Jt:if(ve(fe)&&(lt=="/"||lt=="\\"))ct=je;else if(lt=="/")ct=mt;else{fe.username=rt.username,fe.password=rt.password,fe.host=rt.host,fe.port=rt.port,ct=kr;continue}break;case Et:if(ct=je,lt!="/"||Tt.charAt(Ht+1)!="/")continue;Ht++;break;case je:if(lt!="/"&<!="\\"){ct=mt;continue}break;case mt:if(lt=="@"){vr&&(Tt="%40"+Tt),vr=!0,lr=D(Tt);for(var ln=0;ln<lr.length;ln++){var ii=lr[ln];if(ii==":"&&!Lr){Lr=!0;continue}var Wn=oe(ii,Le);Lr?fe.password+=Wn:fe.username+=Wn}Tt=""}else if(lt==L||lt=="/"||lt=="?"||lt=="#"||lt=="\\"&&ve(fe)){if(vr&&Tt=="")return ye;Ht-=D(Tt).length+1,Tt="",ct=Rt}else Tt+=lt;break;case Rt:case Vt:if(Ge&&fe.scheme=="file"){ct=dr;continue}else if(lt==":"&&!Or){if(Tt=="")return Ae;if(jn=q(fe,Tt),jn)return jn;if(Tt="",ct=kt,Ge==Vt)return}else if(lt==L||lt=="/"||lt=="?"||lt=="#"||lt=="\\"&&ve(fe)){if(ve(fe)&&Tt=="")return Ae;if(Ge&&Tt==""&&(Te(fe)||fe.port!==null))return;if(jn=q(fe,Tt),jn)return jn;if(Tt="",ct=Cr,Ge)return;continue}else lt=="["?Or=!0:lt=="]"&&(Or=!1),Tt+=lt;break;case kt:if(Re.test(lt))Tt+=lt;else if(lt==L||lt=="/"||lt=="?"||lt=="#"||lt=="\\"&&ve(fe)||Ge){if(Tt!=""){var wi=parseInt(Tt,10);if(wi>65535)return re;fe.port=ve(fe)&&wi===Se[fe.scheme]?null:wi,Tt=""}if(Ge)return;ct=Cr;continue}else return re;break;case wr:if(fe.scheme="file",lt=="/"||lt=="\\")ct=Ur;else if(rt&&rt.scheme=="file")if(lt==L)fe.host=rt.host,fe.path=rt.path.slice(),fe.query=rt.query;else if(lt=="?")fe.host=rt.host,fe.path=rt.path.slice(),fe.query="",ct=Pn;else if(lt=="#")fe.host=rt.host,fe.path=rt.path.slice(),fe.query=rt.query,fe.fragment="",ct=an;else{at($r.slice(Ht).join(""))||(fe.host=rt.host,fe.path=rt.path.slice(),Nt(fe)),ct=kr;continue}else{ct=kr;continue}break;case Ur:if(lt=="/"||lt=="\\"){ct=dr;break}rt&&rt.scheme=="file"&&!at($r.slice(Ht).join(""))&&(Ue(rt.path[0],!0)?fe.path.push(rt.path[0]):fe.host=rt.host),ct=kr;continue;case dr:if(lt==L||lt=="/"||lt=="\\"||lt=="?"||lt=="#"){if(!Ge&&Ue(Tt))ct=kr;else if(Tt==""){if(fe.host="",Ge)return;ct=Cr}else{if(jn=q(fe,Tt),jn)return jn;if(fe.host=="localhost"&&(fe.host=""),Ge)return;Tt="",ct=Cr}continue}else Tt+=lt;break;case Cr:if(ve(fe)){if(ct=kr,lt!="/"&<!="\\")continue}else if(!Ge&<=="?")fe.query="",ct=Pn;else if(!Ge&<=="#")fe.fragment="",ct=an;else if(lt!=L&&(ct=kr,lt!="/"))continue;break;case kr:if(lt==L||lt=="/"||lt=="\\"&&ve(fe)||!Ge&&(lt=="?"||lt=="#")){if(Ut(Tt)?(Nt(fe),lt!="/"&&!(lt=="\\"&&ve(fe))&&fe.path.push("")):$t(Tt)?lt!="/"&&!(lt=="\\"&&ve(fe))&&fe.path.push(""):(fe.scheme=="file"&&!fe.path.length&&Ue(Tt)&&(fe.host&&(fe.host=""),Tt=Tt.charAt(0)+":"),fe.path.push(Tt)),Tt="",fe.scheme=="file"&&(lt==L||lt=="?"||lt=="#"))for(;fe.path.length>1&&fe.path[0]==="";)fe.path.shift();lt=="?"?(fe.query="",ct=Pn):lt=="#"&&(fe.fragment="",ct=an)}else Tt+=oe(lt,Oe);break;case bn:lt=="?"?(fe.query="",ct=Pn):lt=="#"?(fe.fragment="",ct=an):lt!=L&&(fe.path[0]+=oe(lt,pe));break;case Pn:!Ge&<=="#"?(fe.fragment="",ct=an):lt!=L&&(lt=="'"&&ve(fe)?fe.query+="%27":lt=="#"?fe.query+="%23":fe.query+=oe(lt,pe));break;case an:lt!=L&&(fe.fragment+=oe(lt,ue));break}Ht++}},un=function(Ze){var Ge=E(this,un,"URL"),rt=arguments.length>1?arguments[1]:void 0,ct=String(Ze),Ht=ie(Ge,{type:"URL"}),Tt,vr;if(rt!==void 0){if(rt instanceof un)Tt=de(rt);else if(vr=en(Tt={},String(rt)),vr)throw TypeError(vr)}if(vr=en(Ht,ct,null,Tt),vr)throw TypeError(vr);var Or=Ht.searchParams=new ae,Lr=ce(Or);Lr.updateSearchParams(Ht.query),Lr.updateURL=function(){Ht.query=String(Or)||null},v||(Ge.href=kn.call(Ge),Ge.origin=qi.call(Ge),Ge.protocol=Gi.call(Ge),Ge.username=mi.call(Ge),Ge.password=ho.call(Ge),Ge.host=Yi.call(Ge),Ge.hostname=po.call(Ge),Ge.port=Kn.call(Ge),Ge.pathname=yi.call(Ge),Ge.search=ri.call(Ge),Ge.searchParams=Ki.call(Ge),Ge.hash=ni.call(Ge))},Ii=un.prototype,kn=function(){var fe=de(this),Ze=fe.scheme,Ge=fe.username,rt=fe.password,ct=fe.host,Ht=fe.port,Tt=fe.path,vr=fe.query,Or=fe.fragment,Lr=Ze+":";return ct!==null?(Lr+="//",Te(fe)&&(Lr+=Ge+(rt?":"+rt:"")+"@"),Lr+=ee(ct),Ht!==null&&(Lr+=":"+Ht)):Ze=="file"&&(Lr+="//"),Lr+=fe.cannotBeABaseURL?Tt[0]:Tt.length?"/"+Tt.join("/"):"",vr!==null&&(Lr+="?"+vr),Or!==null&&(Lr+="#"+Or),Lr},qi=function(){var fe=de(this),Ze=fe.scheme,Ge=fe.port;if(Ze=="blob")try{return new URL(Ze.path[0]).origin}catch{return"null"}return Ze=="file"||!ve(fe)?"null":Ze+"://"+ee(fe.host)+(Ge!==null?":"+Ge:"")},Gi=function(){return de(this).scheme+":"},mi=function(){return de(this).username},ho=function(){return de(this).password},Yi=function(){var fe=de(this),Ze=fe.host,Ge=fe.port;return Ze===null?"":Ge===null?ee(Ze):ee(Ze)+":"+Ge},po=function(){var fe=de(this).host;return fe===null?"":ee(fe)},Kn=function(){var fe=de(this).port;return fe===null?"":String(fe)},yi=function(){var fe=de(this),Ze=fe.path;return fe.cannotBeABaseURL?Ze[0]:Ze.length?"/"+Ze.join("/"):""},ri=function(){var fe=de(this).query;return fe?"?"+fe:""},Ki=function(){return de(this).searchParams},ni=function(){var fe=de(this).fragment;return fe?"#"+fe:""},tn=function(fe,Ze){return{get:fe,set:Ze,configurable:!0,enumerable:!0}};if(v&&x(Ii,{href:tn(kn,function(fe){var Ze=de(this),Ge=String(fe),rt=en(Ze,Ge);if(rt)throw TypeError(rt);ce(Ze.searchParams).updateSearchParams(Ze.query)}),origin:tn(qi),protocol:tn(Gi,function(fe){var Ze=de(this);en(Ze,String(fe)+":",br)}),username:tn(mi,function(fe){var Ze=de(this),Ge=D(String(fe));if(!He(Ze)){Ze.username="";for(var rt=0;rt<Ge.length;rt++)Ze.username+=oe(Ge[rt],Le)}}),password:tn(ho,function(fe){var Ze=de(this),Ge=D(String(fe));if(!He(Ze)){Ze.password="";for(var rt=0;rt<Ge.length;rt++)Ze.password+=oe(Ge[rt],Le)}}),host:tn(Yi,function(fe){var Ze=de(this);Ze.cannotBeABaseURL||en(Ze,String(fe),Rt)}),hostname:tn(po,function(fe){var Ze=de(this);Ze.cannotBeABaseURL||en(Ze,String(fe),Vt)}),port:tn(Kn,function(fe){var Ze=de(this);He(Ze)||(fe=String(fe),fe==""?Ze.port=null:en(Ze,fe,kt))}),pathname:tn(yi,function(fe){var Ze=de(this);Ze.cannotBeABaseURL||(Ze.path=[],en(Ze,fe+"",Cr))}),search:tn(ri,function(fe){var Ze=de(this);fe=String(fe),fe==""?Ze.query=null:(fe.charAt(0)=="?"&&(fe=fe.slice(1)),Ze.query="",en(Ze,fe,Pn)),ce(Ze.searchParams).updateSearchParams(Ze.query)}),searchParams:tn(Ki),hash:tn(ni,function(fe){var Ze=de(this);if(fe=String(fe),fe==""){Ze.fragment=null;return}fe.charAt(0)=="#"&&(fe=fe.slice(1)),Ze.fragment="",en(Ze,fe,an)})}),C(Ii,"toJSON",function(){return kn.call(this)},{enumerable:!0}),C(Ii,"toString",function(){return kn.call(this)},{enumerable:!0}),Z){var Xn=Z.createObjectURL,Xi=Z.revokeObjectURL;Xn&&C(un,"createObjectURL",function(Ze){return Xn.apply(Z,arguments)}),Xi&&C(un,"revokeObjectURL",function(Ze){return Xi.apply(Z,arguments)})}M(un,"URL"),d({global:!0,forced:!p,sham:!v},{URL:un})}},n={};function o(u){if(n[u])return n[u].exports;var f=n[u]={exports:{}};return r[u](f,f.exports,o),f.exports}(function(){o.d=function(u,f){for(var l in f)o.o(f,l)&&!o.o(u,l)&&Object.defineProperty(u,l,{enumerable:!0,get:f[l]})}})(),function(){o.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){o.o=function(u,f){return Object.prototype.hasOwnProperty.call(u,f)}}(),function(){o.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})}}();var a={};return function(){o.r(a),o.d(a,{Dropzone:function(){return re},default:function(){return F}}),o(2222),o(7327),o(2772),o(6992),o(1249),o(7042),o(561),o(8264),o(8309),o(489),o(1539),o(4916),o(9714),o(8783),o(4723),o(5306),o(3123),o(3210),o(2472),o(2990),o(8927),o(3105),o(5035),o(4345),o(7174),o(2846),o(4731),o(7209),o(6319),o(8867),o(7789),o(3739),o(9368),o(4483),o(2056),o(3462),o(678),o(7462),o(3824),o(5021),o(2974),o(5016),o(4747),o(3948),o(285);function u(T,N){var L;if(typeof Symbol>"u"||T[Symbol.iterator]==null){if(Array.isArray(T)||(L=f(T))||T&&typeof T.length=="number"){L&&(T=L);var q=0,P=function(){};return{s:P,n:function(){return q>=T.length?{done:!0}:{done:!1,value:T[q++]}},e:function(ue){throw ue},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
143
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,se=!1,ee;return{s:function(){L=T[Symbol.iterator]()},n:function(){var ue=L.next();return j=ue.done,ue},e:function(ue){se=!0,ee=ue},f:function(){try{!j&&L.return!=null&&L.return()}finally{if(se)throw ee}}}}function f(T,N){if(T){if(typeof T=="string")return l(T,N);var L=Object.prototype.toString.call(T).slice(8,-1);if(L==="Object"&&T.constructor&&(L=T.constructor.name),L==="Map"||L==="Set")return Array.from(T);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return l(T,N)}}function l(T,N){(N==null||N>T.length)&&(N=T.length);for(var L=0,q=new Array(N);L<N;L++)q[L]=T[L];return q}function d(T,N){if(!(T instanceof N))throw new TypeError("Cannot call a class as a function")}function v(T,N){for(var L=0;L<N.length;L++){var q=N[L];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(T,q.key,q)}}function p(T,N,L){return N&&v(T.prototype,N),T}var w=function(){function T(){d(this,T)}return p(T,[{key:"on",value:function(L,q){return this._callbacks=this._callbacks||{},this._callbacks[L]||(this._callbacks[L]=[]),this._callbacks[L].push(q),this}},{key:"emit",value:function(L){this._callbacks=this._callbacks||{};for(var q=this._callbacks[L],P=arguments.length,j=new Array(P>1?P-1:0),se=1;se<P;se++)j[se-1]=arguments[se];if(q){var ee=u(q),pe;try{for(ee.s();!(pe=ee.n()).done;){var ue=pe.value;ue.apply(this,j)}}catch(Oe){ee.e(Oe)}finally{ee.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+L,{args:j})),this}},{key:"makeEvent",value:function(L,q){var P={bubbles:!0,cancelable:!0,detail:q};if(typeof window.CustomEvent=="function")return new CustomEvent(L,P);var j=document.createEvent("CustomEvent");return j.initCustomEvent(L,P.bubbles,P.cancelable,P.detail),j}},{key:"off",value:function(L,q){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var P=this._callbacks[L];if(!P)return this;if(arguments.length===1)return delete this._callbacks[L],this;for(var j=0;j<P.length;j++){var se=P[j];if(se===q){P.splice(j,1);break}}return this}}]),T}(),x='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',C=x;function E(T,N){var L;if(typeof Symbol>"u"||T[Symbol.iterator]==null){if(Array.isArray(T)||(L=S(T))||T&&typeof T.length=="number"){L&&(T=L);var q=0,P=function(){};return{s:P,n:function(){return q>=T.length?{done:!0}:{done:!1,value:T[q++]}},e:function(ue){throw ue},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
144
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,se=!1,ee;return{s:function(){L=T[Symbol.iterator]()},n:function(){var ue=L.next();return j=ue.done,ue},e:function(ue){se=!0,ee=ue},f:function(){try{!j&&L.return!=null&&L.return()}finally{if(se)throw ee}}}}function S(T,N){if(T){if(typeof T=="string")return I(T,N);var L=Object.prototype.toString.call(T).slice(8,-1);if(L==="Object"&&T.constructor&&(L=T.constructor.name),L==="Map"||L==="Set")return Array.from(T);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return I(T,N)}}function I(T,N){(N==null||N>T.length)&&(N=T.length);for(var L=0,q=new Array(N);L<N;L++)q[L]=T[L];return q}var D={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(N,L,q){if(q)return{dzuuid:q.file.upload.uuid,dzchunkindex:q.index,dztotalfilesize:q.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:q.file.upload.totalChunkCount,dzchunkbyteoffset:q.index*this.options.chunkSize}},accept:function(N,L){return L()},chunksUploaded:function(N,L){L()},fallback:function(){var N;this.element.className="".concat(this.element.className," dz-browser-not-supported");var L=E(this.element.getElementsByTagName("div")),q;try{for(L.s();!(q=L.n()).done;){var P=q.value;if(/(^| )dz-message($| )/.test(P.className)){N=P,P.className="dz-message";break}}}catch(se){L.e(se)}finally{L.f()}N||(N=re.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(N));var j=N.getElementsByTagName("span")[0];return j&&(j.textContent!=null?j.textContent=this.options.dictFallbackMessage:j.innerText!=null&&(j.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(N,L,q,P){var j={srcX:0,srcY:0,srcWidth:N.width,srcHeight:N.height},se=N.width/N.height;L==null&&q==null?(L=j.srcWidth,q=j.srcHeight):L==null?L=q*se:q==null&&(q=L/se),L=Math.min(L,j.srcWidth),q=Math.min(q,j.srcHeight);var ee=L/q;if(j.srcWidth>L||j.srcHeight>q)if(P==="crop")se>ee?(j.srcHeight=N.height,j.srcWidth=j.srcHeight*ee):(j.srcWidth=N.width,j.srcHeight=j.srcWidth/ee);else if(P==="contain")se>ee?q=L/se:L=q*se;else throw new Error("Unknown resizeMethod '".concat(P,"'"));return j.srcX=(N.width-j.srcWidth)/2,j.srcY=(N.height-j.srcHeight)/2,j.trgWidth=L,j.trgHeight=q,j},transformFile:function(N,L){return(this.options.resizeWidth||this.options.resizeHeight)&&N.type.match(/image.*/)?this.resizeImage(N,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,L):L(N)},previewTemplate:C,drop:function(N){return this.element.classList.remove("dz-drag-hover")},dragstart:function(N){},dragend:function(N){return this.element.classList.remove("dz-drag-hover")},dragenter:function(N){return this.element.classList.add("dz-drag-hover")},dragover:function(N){return this.element.classList.add("dz-drag-hover")},dragleave:function(N){return this.element.classList.remove("dz-drag-hover")},paste:function(N){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(N){var L=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){N.previewElement=re.createElement(this.options.previewTemplate.trim()),N.previewTemplate=N.previewElement,this.previewsContainer.appendChild(N.previewElement);var q=E(N.previewElement.querySelectorAll("[data-dz-name]")),P;try{for(q.s();!(P=q.n()).done;){var j=P.value;j.textContent=N.name}}catch(oe){q.e(oe)}finally{q.f()}var se=E(N.previewElement.querySelectorAll("[data-dz-size]")),ee;try{for(se.s();!(ee=se.n()).done;)j=ee.value,j.innerHTML=this.filesize(N.size)}catch(oe){se.e(oe)}finally{se.f()}this.options.addRemoveLinks&&(N._removeLink=re.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),N.previewElement.appendChild(N._removeLink));var pe=function(Se){return Se.preventDefault(),Se.stopPropagation(),N.status===re.UPLOADING?re.confirm(L.options.dictCancelUploadConfirmation,function(){return L.removeFile(N)}):L.options.dictRemoveFileConfirmation?re.confirm(L.options.dictRemoveFileConfirmation,function(){return L.removeFile(N)}):L.removeFile(N)},ue=E(N.previewElement.querySelectorAll("[data-dz-remove]")),Oe;try{for(ue.s();!(Oe=ue.n()).done;){var Le=Oe.value;Le.addEventListener("click",pe)}}catch(oe){ue.e(oe)}finally{ue.f()}}},removedfile:function(N){return N.previewElement!=null&&N.previewElement.parentNode!=null&&N.previewElement.parentNode.removeChild(N.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(N,L){if(N.previewElement){N.previewElement.classList.remove("dz-file-preview");var q=E(N.previewElement.querySelectorAll("[data-dz-thumbnail]")),P;try{for(q.s();!(P=q.n()).done;){var j=P.value;j.alt=N.name,j.src=L}}catch(se){q.e(se)}finally{q.f()}return setTimeout(function(){return N.previewElement.classList.add("dz-image-preview")},1)}},error:function(N,L){if(N.previewElement){N.previewElement.classList.add("dz-error"),typeof L!="string"&&L.error&&(L=L.error);var q=E(N.previewElement.querySelectorAll("[data-dz-errormessage]")),P;try{for(q.s();!(P=q.n()).done;){var j=P.value;j.textContent=L}}catch(se){q.e(se)}finally{q.f()}}},errormultiple:function(){},processing:function(N){if(N.previewElement&&(N.previewElement.classList.add("dz-processing"),N._removeLink))return N._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(N,L,q){if(N.previewElement){var P=E(N.previewElement.querySelectorAll("[data-dz-uploadprogress]")),j;try{for(P.s();!(j=P.n()).done;){var se=j.value;se.nodeName==="PROGRESS"?se.value=L:se.style.width="".concat(L,"%")}}catch(ee){P.e(ee)}finally{P.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(N){if(N.previewElement)return N.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(N){return this.emit("error",N,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(N){if(N._removeLink&&(N._removeLink.innerHTML=this.options.dictRemoveFile),N.previewElement)return N.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},H=D;function V(T){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?V=function(L){return typeof L}:V=function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},V(T)}function M(T,N){var L;if(typeof Symbol>"u"||T[Symbol.iterator]==null){if(Array.isArray(T)||(L=G(T))||T&&typeof T.length=="number"){L&&(T=L);var q=0,P=function(){};return{s:P,n:function(){return q>=T.length?{done:!0}:{done:!1,value:T[q++]}},e:function(ue){throw ue},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
145
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,se=!1,ee;return{s:function(){L=T[Symbol.iterator]()},n:function(){var ue=L.next();return j=ue.done,ue},e:function(ue){se=!0,ee=ue},f:function(){try{!j&&L.return!=null&&L.return()}finally{if(se)throw ee}}}}function G(T,N){if(T){if(typeof T=="string")return y(T,N);var L=Object.prototype.toString.call(T).slice(8,-1);if(L==="Object"&&T.constructor&&(L=T.constructor.name),L==="Map"||L==="Set")return Array.from(T);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return y(T,N)}}function y(T,N){(N==null||N>T.length)&&(N=T.length);for(var L=0,q=new Array(N);L<N;L++)q[L]=T[L];return q}function Z(T,N){if(!(T instanceof N))throw new TypeError("Cannot call a class as a function")}function ae(T,N){for(var L=0;L<N.length;L++){var q=N[L];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(T,q.key,q)}}function ce(T,N,L){return N&&ae(T.prototype,N),L&&ae(T,L),T}function ie(T,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(N&&N.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),N&&de(T,N)}function de(T,N){return de=Object.setPrototypeOf||function(q,P){return q.__proto__=P,q},de(T,N)}function ge(T){var N=be();return function(){var q=Ae(T),P;if(N){var j=Ae(this).constructor;P=Reflect.construct(q,arguments,j)}else P=q.apply(this,arguments);return me(this,P)}}function me(T,N){return N&&(V(N)==="object"||typeof N=="function")?N:ye(T)}function ye(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function be(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Ae(T){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(L){return L.__proto__||Object.getPrototypeOf(L)},Ae(T)}var re=function(T){ie(L,T);var N=ge(L);function L(q,P){var j;Z(this,L),j=N.call(this);var se,ee;if(j.element=q,j.version=L.version,j.clickableElements=[],j.listeners=[],j.files=[],typeof j.element=="string"&&(j.element=document.querySelector(j.element)),!j.element||j.element.nodeType==null)throw new Error("Invalid dropzone element.");if(j.element.dropzone)throw new Error("Dropzone already attached.");L.instances.push(ye(j)),j.element.dropzone=ye(j);var pe=(ee=L.optionsForElement(j.element))!=null?ee:{};if(j.options=L.extend({},H,pe,P??{}),j.options.previewTemplate=j.options.previewTemplate.replace(/\n*/g,""),j.options.forceFallback||!L.isBrowserSupported())return me(j,j.options.fallback.call(ye(j)));if(j.options.url==null&&(j.options.url=j.element.getAttribute("action")),!j.options.url)throw new Error("No URL provided.");if(j.options.acceptedFiles&&j.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(j.options.uploadMultiple&&j.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return j.options.acceptedMimeTypes&&(j.options.acceptedFiles=j.options.acceptedMimeTypes,delete j.options.acceptedMimeTypes),j.options.renameFilename!=null&&(j.options.renameFile=function(ue){return j.options.renameFilename.call(ye(j),ue.name,ue)}),typeof j.options.method=="string"&&(j.options.method=j.options.method.toUpperCase()),(se=j.getExistingFallback())&&se.parentNode&&se.parentNode.removeChild(se),j.options.previewsContainer!==!1&&(j.options.previewsContainer?j.previewsContainer=L.getElement(j.options.previewsContainer,"previewsContainer"):j.previewsContainer=j.element),j.options.clickable&&(j.options.clickable===!0?j.clickableElements=[j.element]:j.clickableElements=L.getElements(j.options.clickable,"clickable")),j.init(),j}return ce(L,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(P){return P.accepted}).map(function(P){return P})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(P){return!P.accepted}).map(function(P){return P})}},{key:"getFilesWithStatus",value:function(P){return this.files.filter(function(j){return j.status===P}).map(function(j){return j})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(L.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(L.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(L.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(P){return P.status===L.UPLOADING||P.status===L.QUEUED}).map(function(P){return P})}},{key:"init",value:function(){var P=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(L.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var j=function Le(){P.hiddenFileInput&&P.hiddenFileInput.parentNode.removeChild(P.hiddenFileInput),P.hiddenFileInput=document.createElement("input"),P.hiddenFileInput.setAttribute("type","file"),(P.options.maxFiles===null||P.options.maxFiles>1)&&P.hiddenFileInput.setAttribute("multiple","multiple"),P.hiddenFileInput.className="dz-hidden-input",P.options.acceptedFiles!==null&&P.hiddenFileInput.setAttribute("accept",P.options.acceptedFiles),P.options.capture!==null&&P.hiddenFileInput.setAttribute("capture",P.options.capture),P.hiddenFileInput.setAttribute("tabindex","-1"),P.hiddenFileInput.style.visibility="hidden",P.hiddenFileInput.style.position="absolute",P.hiddenFileInput.style.top="0",P.hiddenFileInput.style.left="0",P.hiddenFileInput.style.height="0",P.hiddenFileInput.style.width="0",L.getElement(P.options.hiddenInputContainer,"hiddenInputContainer").appendChild(P.hiddenFileInput),P.hiddenFileInput.addEventListener("change",function(){var oe=P.hiddenFileInput.files;if(oe.length){var Se=M(oe),ve;try{for(Se.s();!(ve=Se.n()).done;){var Te=ve.value;P.addFile(Te)}}catch(He){Se.e(He)}finally{Se.f()}}P.emit("addedfiles",oe),Le()})};j()}this.URL=window.URL!==null?window.URL:window.webkitURL;var se=M(this.events),ee;try{for(se.s();!(ee=se.n()).done;){var pe=ee.value;this.on(pe,this.options[pe])}}catch(Le){se.e(Le)}finally{se.f()}this.on("uploadprogress",function(){return P.updateTotalUploadProgress()}),this.on("removedfile",function(){return P.updateTotalUploadProgress()}),this.on("canceled",function(Le){return P.emit("complete",Le)}),this.on("complete",function(Le){if(P.getAddedFiles().length===0&&P.getUploadingFiles().length===0&&P.getQueuedFiles().length===0)return setTimeout(function(){return P.emit("queuecomplete")},0)});var ue=function(oe){if(oe.dataTransfer.types){for(var Se=0;Se<oe.dataTransfer.types.length;Se++)if(oe.dataTransfer.types[Se]==="Files")return!0}return!1},Oe=function(oe){if(ue(oe))return oe.stopPropagation(),oe.preventDefault?oe.preventDefault():oe.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(oe){return P.emit("dragstart",oe)},dragenter:function(oe){return Oe(oe),P.emit("dragenter",oe)},dragover:function(oe){var Se;try{Se=oe.dataTransfer.effectAllowed}catch{}return oe.dataTransfer.dropEffect=Se==="move"||Se==="linkMove"?"move":"copy",Oe(oe),P.emit("dragover",oe)},dragleave:function(oe){return P.emit("dragleave",oe)},drop:function(oe){return Oe(oe),P.drop(oe)},dragend:function(oe){return P.emit("dragend",oe)}}}],this.clickableElements.forEach(function(Le){return P.listeners.push({element:Le,events:{click:function(Se){return(Le!==P.element||Se.target===P.element||L.elementInside(Se.target,P.element.querySelector(".dz-message")))&&P.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,L.instances.splice(L.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var P,j=0,se=0,ee=this.getActiveFiles();if(ee.length){var pe=M(this.getActiveFiles()),ue;try{for(pe.s();!(ue=pe.n()).done;){var Oe=ue.value;j+=Oe.upload.bytesSent,se+=Oe.upload.total}}catch(Le){pe.e(Le)}finally{pe.f()}P=100*j/se}else P=100;return this.emit("totaluploadprogress",P,se,j)}},{key:"_getParamName",value:function(P){return typeof this.options.paramName=="function"?this.options.paramName(P):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(P,"]"):"")}},{key:"_renameFile",value:function(P){return typeof this.options.renameFile!="function"?P.name:this.options.renameFile(P)}},{key:"getFallbackForm",value:function(){var P,j;if(P=this.getExistingFallback())return P;var se='<div class="dz-fallback">';this.options.dictFallbackText&&(se+="<p>".concat(this.options.dictFallbackText,"</p>")),se+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var ee=L.createElement(se);return this.element.tagName!=="FORM"?(j=L.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),j.appendChild(ee)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),j??ee}},{key:"getExistingFallback",value:function(){for(var P=function(Oe){var Le=M(Oe),oe;try{for(Le.s();!(oe=Le.n()).done;){var Se=oe.value;if(/(^| )fallback($| )/.test(Se.className))return Se}}catch(ve){Le.e(ve)}finally{Le.f()}},j=0,se=["div","form"];j<se.length;j++){var ee=se[j],pe;if(pe=P(this.element.getElementsByTagName(ee)))return pe}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(P){return function(){var j=[];for(var se in P.events){var ee=P.events[se];j.push(P.element.addEventListener(se,ee,!1))}return j}()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(P){return function(){var j=[];for(var se in P.events){var ee=P.events[se];j.push(P.element.removeEventListener(se,ee,!1))}return j}()})}},{key:"disable",value:function(){var P=this;return this.clickableElements.forEach(function(j){return j.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(j){return P.cancelUpload(j)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(P){return P.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(P){var j=0,se="b";if(P>0){for(var ee=["tb","gb","mb","kb","b"],pe=0;pe<ee.length;pe++){var ue=ee[pe],Oe=Math.pow(this.options.filesizeBase,4-pe)/10;if(P>=Oe){j=P/Math.pow(this.options.filesizeBase,4-pe),se=ue;break}}j=Math.round(10*j)/10}return"<strong>".concat(j,"</strong> ").concat(this.options.dictFileSizeUnits[se])}},{key:"_updateMaxFilesReachedClass",value:function(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(P){if(P.dataTransfer){this.emit("drop",P);for(var j=[],se=0;se<P.dataTransfer.files.length;se++)j[se]=P.dataTransfer.files[se];if(j.length){var ee=P.dataTransfer.items;ee&&ee.length&&ee[0].webkitGetAsEntry!=null?this._addFilesFromItems(ee):this.handleFiles(j)}this.emit("addedfiles",j)}}},{key:"paste",value:function(P){if(ut(P!=null?P.clipboardData:void 0,function(se){return se.items})!=null){this.emit("paste",P);var j=P.clipboardData.items;if(j.length)return this._addFilesFromItems(j)}}},{key:"handleFiles",value:function(P){var j=M(P),se;try{for(j.s();!(se=j.n()).done;){var ee=se.value;this.addFile(ee)}}catch(pe){j.e(pe)}finally{j.f()}}},{key:"_addFilesFromItems",value:function(P){var j=this;return function(){var se=[],ee=M(P),pe;try{for(ee.s();!(pe=ee.n()).done;){var ue=pe.value,Oe;ue.webkitGetAsEntry!=null&&(Oe=ue.webkitGetAsEntry())?Oe.isFile?se.push(j.addFile(ue.getAsFile())):Oe.isDirectory?se.push(j._addFilesFromDirectory(Oe,Oe.name)):se.push(void 0):ue.getAsFile!=null&&(ue.kind==null||ue.kind==="file")?se.push(j.addFile(ue.getAsFile())):se.push(void 0)}}catch(Le){ee.e(Le)}finally{ee.f()}return se}()}},{key:"_addFilesFromDirectory",value:function(P,j){var se=this,ee=P.createReader(),pe=function(Le){return dt(console,"log",function(oe){return oe.log(Le)})},ue=function Oe(){return ee.readEntries(function(Le){if(Le.length>0){var oe=M(Le),Se;try{for(oe.s();!(Se=oe.n()).done;){var ve=Se.value;ve.isFile?ve.file(function(Te){if(!(se.options.ignoreHiddenFiles&&Te.name.substring(0,1)==="."))return Te.fullPath="".concat(j,"/").concat(Te.name),se.addFile(Te)}):ve.isDirectory&&se._addFilesFromDirectory(ve,"".concat(j,"/").concat(ve.name))}}catch(Te){oe.e(Te)}finally{oe.f()}Oe()}return null},pe)};return ue()}},{key:"accept",value:function(P,j){this.options.maxFilesize&&P.size>this.options.maxFilesize*1024*1024?j(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(P.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):L.isValidFile(P,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(j(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",P)):this.options.accept.call(this,P,j):j(this.options.dictInvalidFileType)}},{key:"addFile",value:function(P){var j=this;P.upload={uuid:L.uuidv4(),progress:0,total:P.size,bytesSent:0,filename:this._renameFile(P)},this.files.push(P),P.status=L.ADDED,this.emit("addedfile",P),this._enqueueThumbnail(P),this.accept(P,function(se){se?(P.accepted=!1,j._errorProcessing([P],se)):(P.accepted=!0,j.options.autoQueue&&j.enqueueFile(P)),j._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(P){var j=M(P),se;try{for(j.s();!(se=j.n()).done;){var ee=se.value;this.enqueueFile(ee)}}catch(pe){j.e(pe)}finally{j.f()}return null}},{key:"enqueueFile",value:function(P){var j=this;if(P.status===L.ADDED&&P.accepted===!0){if(P.status=L.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return j.processQueue()},0)}else throw new Error("This file can't be queued because it has already been processed or was rejected.")}},{key:"_enqueueThumbnail",value:function(P){var j=this;if(this.options.createImageThumbnails&&P.type.match(/image.*/)&&P.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(P),setTimeout(function(){return j._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var P=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var j=this._thumbnailQueue.shift();return this.createThumbnail(j,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(se){return P.emit("thumbnail",j,se),P._processingThumbnail=!1,P._processThumbnailQueue()})}}},{key:"removeFile",value:function(P){if(P.status===L.UPLOADING&&this.cancelUpload(P),this.files=Ee(this.files,P),this.emit("removedfile",P),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(P){P==null&&(P=!1);var j=M(this.files.slice()),se;try{for(j.s();!(se=j.n()).done;){var ee=se.value;(ee.status!==L.UPLOADING||P)&&this.removeFile(ee)}}catch(pe){j.e(pe)}finally{j.f()}return null}},{key:"resizeImage",value:function(P,j,se,ee,pe){var ue=this;return this.createThumbnail(P,j,se,ee,!0,function(Oe,Le){if(Le==null)return pe(P);var oe=ue.options.resizeMimeType;oe==null&&(oe=P.type);var Se=Le.toDataURL(oe,ue.options.resizeQuality);return(oe==="image/jpeg"||oe==="image/jpg")&&(Se=Qe.restore(P.dataURL,Se)),pe(L.dataURItoBlob(Se))})}},{key:"createThumbnail",value:function(P,j,se,ee,pe,ue){var Oe=this,Le=new FileReader;Le.onload=function(){if(P.dataURL=Le.result,P.type==="image/svg+xml"){ue!=null&&ue(Le.result);return}Oe.createThumbnailFromUrl(P,j,se,ee,pe,ue)},Le.readAsDataURL(P)}},{key:"displayExistingFile",value:function(P,j,se,ee){var pe=this,ue=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",P),this.emit("complete",P),!ue)this.emit("thumbnail",P,j),se&&se();else{var Oe=function(oe){pe.emit("thumbnail",P,oe),se&&se()};P.dataURL=j,this.createThumbnailFromUrl(P,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Oe,ee)}}},{key:"createThumbnailFromUrl",value:function(P,j,se,ee,pe,ue,Oe){var Le=this,oe=document.createElement("img");return Oe&&(oe.crossOrigin=Oe),pe=getComputedStyle(document.body).imageOrientation=="from-image"?!1:pe,oe.onload=function(){var Se=function(Te){return Te(1)};return typeof EXIF<"u"&&EXIF!==null&&pe&&(Se=function(Te){return EXIF.getData(oe,function(){return Te(EXIF.getTag(this,"Orientation"))})}),Se(function(ve){P.width=oe.width,P.height=oe.height;var Te=Le.options.resize.call(Le,P,j,se,ee),He=document.createElement("canvas"),Ue=He.getContext("2d");switch(He.width=Te.trgWidth,He.height=Te.trgHeight,ve>4&&(He.width=Te.trgHeight,He.height=Te.trgWidth),ve){case 2:Ue.translate(He.width,0),Ue.scale(-1,1);break;case 3:Ue.translate(He.width,He.height),Ue.rotate(Math.PI);break;case 4:Ue.translate(0,He.height),Ue.scale(1,-1);break;case 5:Ue.rotate(.5*Math.PI),Ue.scale(1,-1);break;case 6:Ue.rotate(.5*Math.PI),Ue.translate(0,-He.width);break;case 7:Ue.rotate(.5*Math.PI),Ue.translate(He.height,-He.width),Ue.scale(-1,1);break;case 8:Ue.rotate(-.5*Math.PI),Ue.translate(-He.height,0);break}qe(Ue,oe,Te.srcX!=null?Te.srcX:0,Te.srcY!=null?Te.srcY:0,Te.srcWidth,Te.srcHeight,Te.trgX!=null?Te.trgX:0,Te.trgY!=null?Te.trgY:0,Te.trgWidth,Te.trgHeight);var at=He.toDataURL("image/png");if(ue!=null)return ue(at,He)})},ue!=null&&(oe.onerror=ue),oe.src=P.dataURL}},{key:"processQueue",value:function(){var P=this.options.parallelUploads,j=this.getUploadingFiles().length,se=j;if(!(j>=P)){var ee=this.getQueuedFiles();if(ee.length>0){if(this.options.uploadMultiple)return this.processFiles(ee.slice(0,P-j));for(;se<P;){if(!ee.length)return;this.processFile(ee.shift()),se++}}}}},{key:"processFile",value:function(P){return this.processFiles([P])}},{key:"processFiles",value:function(P){var j=M(P),se;try{for(j.s();!(se=j.n()).done;){var ee=se.value;ee.processing=!0,ee.status=L.UPLOADING,this.emit("processing",ee)}}catch(pe){j.e(pe)}finally{j.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",P),this.uploadFiles(P)}},{key:"_getFilesWithXhr",value:function(P){return this.files.filter(function(j){return j.xhr===P}).map(function(j){return j})}},{key:"cancelUpload",value:function(P){if(P.status===L.UPLOADING){var j=this._getFilesWithXhr(P.xhr),se=M(j),ee;try{for(se.s();!(ee=se.n()).done;){var pe=ee.value;pe.status=L.CANCELED}}catch(oe){se.e(oe)}finally{se.f()}typeof P.xhr<"u"&&P.xhr.abort();var ue=M(j),Oe;try{for(ue.s();!(Oe=ue.n()).done;){var Le=Oe.value;this.emit("canceled",Le)}}catch(oe){ue.e(oe)}finally{ue.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",j)}else(P.status===L.ADDED||P.status===L.QUEUED)&&(P.status=L.CANCELED,this.emit("canceled",P),this.options.uploadMultiple&&this.emit("canceledmultiple",[P]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(P){if(typeof P=="function"){for(var j=arguments.length,se=new Array(j>1?j-1:0),ee=1;ee<j;ee++)se[ee-1]=arguments[ee];return P.apply(this,se)}return P}},{key:"uploadFile",value:function(P){return this.uploadFiles([P])}},{key:"uploadFiles",value:function(P){var j=this;this._transformFiles(P,function(se){if(j.options.chunking){var ee=se[0];P[0].upload.chunked=j.options.chunking&&(j.options.forceChunking||ee.size>j.options.chunkSize),P[0].upload.totalChunkCount=Math.ceil(ee.size/j.options.chunkSize)}if(P[0].upload.chunked){var pe=P[0],ue=se[0];pe.upload.chunks=[];var Oe=function(){for(var Te=0;pe.upload.chunks[Te]!==void 0;)Te++;if(!(Te>=pe.upload.totalChunkCount)){var He=Te*j.options.chunkSize,Ue=Math.min(He+j.options.chunkSize,ue.size),at={name:j._getParamName(0),data:ue.webkitSlice?ue.webkitSlice(He,Ue):ue.slice(He,Ue),filename:pe.upload.filename,chunkIndex:Te};pe.upload.chunks[Te]={file:pe,index:Te,dataBlock:at,status:L.UPLOADING,progress:0,retries:0},j._uploadData(P,[at])}};if(pe.upload.finishedChunkUpload=function(ve,Te){var He=!0;ve.status=L.SUCCESS,ve.dataBlock=null,ve.xhr=null;for(var Ue=0;Ue<pe.upload.totalChunkCount;Ue++){if(pe.upload.chunks[Ue]===void 0)return Oe();pe.upload.chunks[Ue].status!==L.SUCCESS&&(He=!1)}He&&j.options.chunksUploaded(pe,function(){j._finished(P,Te,null)})},j.options.parallelChunkUploads)for(var Le=0;Le<pe.upload.totalChunkCount;Le++)Oe();else Oe()}else{for(var oe=[],Se=0;Se<P.length;Se++)oe[Se]={name:j._getParamName(Se),data:se[Se],filename:P[Se].upload.filename};j._uploadData(P,oe)}})}},{key:"_getChunk",value:function(P,j){for(var se=0;se<P.upload.totalChunkCount;se++)if(P.upload.chunks[se]!==void 0&&P.upload.chunks[se].xhr===j)return P.upload.chunks[se]}},{key:"_uploadData",value:function(P,j){var se=this,ee=new XMLHttpRequest,pe=M(P),ue;try{for(pe.s();!(ue=pe.n()).done;){var Oe=ue.value;Oe.xhr=ee}}catch(Jt){pe.e(Jt)}finally{pe.f()}P[0].upload.chunked&&(P[0].upload.chunks[j[0].chunkIndex].xhr=ee);var Le=this.resolveOption(this.options.method,P),oe=this.resolveOption(this.options.url,P);ee.open(Le,oe,!0);var Se=this.resolveOption(this.options.timeout,P);Se&&(ee.timeout=this.resolveOption(this.options.timeout,P)),ee.withCredentials=!!this.options.withCredentials,ee.onload=function(Jt){se._finishedUploading(P,ee,Jt)},ee.ontimeout=function(){se._handleUploadError(P,ee,"Request timedout after ".concat(se.options.timeout/1e3," seconds"))},ee.onerror=function(){se._handleUploadError(P,ee)};var ve=ee.upload!=null?ee.upload:ee;ve.onprogress=function(Jt){return se._updateFilesUploadProgress(P,ee,Jt)};var Te={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&L.extend(Te,this.options.headers);for(var He in Te){var Ue=Te[He];Ue&&ee.setRequestHeader(He,Ue)}var at=new FormData;if(this.options.params){var Nt=this.options.params;typeof Nt=="function"&&(Nt=Nt.call(this,P,ee,P[0].upload.chunked?this._getChunk(P[0],ee):null));for(var $t in Nt){var Ut=Nt[$t];if(Array.isArray(Ut))for(var br=0;br<Ut.length;br++)at.append($t,Ut[br]);else at.append($t,Ut)}}var Pr=M(P),ur;try{for(Pr.s();!(ur=Pr.n()).done;){var xr=ur.value;this.emit("sending",xr,ee,at)}}catch(Jt){Pr.e(Jt)}finally{Pr.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",P,ee,at),this._addFormElementData(at);for(var Rr=0;Rr<j.length;Rr++){var gr=j[Rr];at.append(gr.name,gr.data,gr.filename)}this.submitRequest(ee,at,P)}},{key:"_transformFiles",value:function(P,j){for(var se=this,ee=[],pe=0,ue=function(oe){se.options.transformFile.call(se,P[oe],function(Se){ee[oe]=Se,++pe===P.length&&j(ee)})},Oe=0;Oe<P.length;Oe++)ue(Oe)}},{key:"_addFormElementData",value:function(P){if(this.element.tagName==="FORM"){var j=M(this.element.querySelectorAll("input, textarea, select, button")),se;try{for(j.s();!(se=j.n()).done;){var ee=se.value,pe=ee.getAttribute("name"),ue=ee.getAttribute("type");if(ue&&(ue=ue.toLowerCase()),!(typeof pe>"u"||pe===null))if(ee.tagName==="SELECT"&&ee.hasAttribute("multiple")){var Oe=M(ee.options,!0),Le;try{for(Oe.s();!(Le=Oe.n()).done;){var oe=Le.value;oe.selected&&P.append(pe,oe.value)}}catch(Se){Oe.e(Se)}finally{Oe.f()}}else(!ue||ue!=="checkbox"&&ue!=="radio"||ee.checked)&&P.append(pe,ee.value)}}catch(Se){j.e(Se)}finally{j.f()}}}},{key:"_updateFilesUploadProgress",value:function(P,j,se){if(P[0].upload.chunked){var Oe=P[0],Le=this._getChunk(Oe,j);se?(Le.progress=100*se.loaded/se.total,Le.total=se.total,Le.bytesSent=se.loaded):(Le.progress=100,Le.bytesSent=Le.total),Oe.upload.progress=0,Oe.upload.total=0,Oe.upload.bytesSent=0;for(var oe=0;oe<Oe.upload.totalChunkCount;oe++)Oe.upload.chunks[oe]&&typeof Oe.upload.chunks[oe].progress<"u"&&(Oe.upload.progress+=Oe.upload.chunks[oe].progress,Oe.upload.total+=Oe.upload.chunks[oe].total,Oe.upload.bytesSent+=Oe.upload.chunks[oe].bytesSent);Oe.upload.progress=Oe.upload.progress/Oe.upload.totalChunkCount,this.emit("uploadprogress",Oe,Oe.upload.progress,Oe.upload.bytesSent)}else{var ee=M(P),pe;try{for(ee.s();!(pe=ee.n()).done;){var ue=pe.value;ue.upload.total&&ue.upload.bytesSent&&ue.upload.bytesSent==ue.upload.total||(se?(ue.upload.progress=100*se.loaded/se.total,ue.upload.total=se.total,ue.upload.bytesSent=se.loaded):(ue.upload.progress=100,ue.upload.bytesSent=ue.upload.total),this.emit("uploadprogress",ue,ue.upload.progress,ue.upload.bytesSent))}}catch(Se){ee.e(Se)}finally{ee.f()}}}},{key:"_finishedUploading",value:function(P,j,se){var ee;if(P[0].status!==L.CANCELED&&j.readyState===4){if(j.responseType!=="arraybuffer"&&j.responseType!=="blob"&&(ee=j.responseText,j.getResponseHeader("content-type")&&~j.getResponseHeader("content-type").indexOf("application/json")))try{ee=JSON.parse(ee)}catch(pe){se=pe,ee="Invalid JSON response from server."}this._updateFilesUploadProgress(P,j),200<=j.status&&j.status<300?P[0].upload.chunked?P[0].upload.finishedChunkUpload(this._getChunk(P[0],j),ee):this._finished(P,ee,se):this._handleUploadError(P,j,ee)}}},{key:"_handleUploadError",value:function(P,j,se){if(P[0].status!==L.CANCELED){if(P[0].upload.chunked&&this.options.retryChunks){var ee=this._getChunk(P[0],j);if(ee.retries++<this.options.retryChunksLimit){this._uploadData(P,[ee.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(P,se||this.options.dictResponseError.replace("{{statusCode}}",j.status),j)}}},{key:"submitRequest",value:function(P,j,se){if(P.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}P.send(j)}},{key:"_finished",value:function(P,j,se){var ee=M(P),pe;try{for(ee.s();!(pe=ee.n()).done;){var ue=pe.value;ue.status=L.SUCCESS,this.emit("success",ue,j,se),this.emit("complete",ue)}}catch(Oe){ee.e(Oe)}finally{ee.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",P,j,se),this.emit("completemultiple",P)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(P,j,se){var ee=M(P),pe;try{for(ee.s();!(pe=ee.n()).done;){var ue=pe.value;ue.status=L.ERROR,this.emit("error",ue,j,se),this.emit("complete",ue)}}catch(Oe){ee.e(Oe)}finally{ee.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",P,j,se),this.emit("completemultiple",P)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=w,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(P){for(var j=arguments.length,se=new Array(j>1?j-1:0),ee=1;ee<j;ee++)se[ee-1]=arguments[ee];for(var pe=0,ue=se;pe<ue.length;pe++){var Oe=ue[pe];for(var Le in Oe){var oe=Oe[Le];P[Le]=oe}}return P}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(P){var j=Math.random()*16|0,se=P==="x"?j:j&3|8;return se.toString(16)})}}]),L}(w);re.initClass(),re.version="5.9.3",re.options={},re.optionsForElement=function(T){if(T.getAttribute("id"))return re.options[X(T.getAttribute("id"))]},re.instances=[],re.forElement=function(T){if(typeof T=="string"&&(T=document.querySelector(T)),(T!=null?T.dropzone:void 0)==null)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return T.dropzone},re.autoDiscover=!0,re.discover=function(){var T;if(document.querySelectorAll)T=document.querySelectorAll(".dropzone");else{T=[];var N=function(q){return function(){var P=[],j=M(q),se;try{for(j.s();!(se=j.n()).done;){var ee=se.value;/(^| )dropzone($| )/.test(ee.className)?P.push(T.push(ee)):P.push(void 0)}}catch(pe){j.e(pe)}finally{j.f()}return P}()};N(document.getElementsByTagName("div")),N(document.getElementsByTagName("form"))}return function(){var L=[],q=M(T),P;try{for(q.s();!(P=q.n()).done;){var j=P.value;re.optionsForElement(j)!==!1?L.push(new re(j)):L.push(void 0)}}catch(se){q.e(se)}finally{q.f()}return L}()},re.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],re.isBrowserSupported=function(){var T=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))T=!1;else{re.blacklistedBrowsers!==void 0&&(re.blockedBrowsers=re.blacklistedBrowsers);var N=M(re.blockedBrowsers),L;try{for(N.s();!(L=N.n()).done;){var q=L.value;if(q.test(navigator.userAgent)){T=!1;continue}}}catch(P){N.e(P)}finally{N.f()}}else T=!1;return T},re.dataURItoBlob=function(T){for(var N=atob(T.split(",")[1]),L=T.split(",")[0].split(":")[1].split(";")[0],q=new ArrayBuffer(N.length),P=new Uint8Array(q),j=0,se=N.length,ee=0<=se;ee?j<=se:j>=se;ee?j++:j--)P[j]=N.charCodeAt(j);return new Blob([q],{type:L})};var Ee=function(N,L){return N.filter(function(q){return q!==L}).map(function(q){return q})},X=function(N){return N.replace(/[\-_](\w)/g,function(L){return L.charAt(1).toUpperCase()})};re.createElement=function(T){var N=document.createElement("div");return N.innerHTML=T,N.childNodes[0]},re.elementInside=function(T,N){if(T===N)return!0;for(;T=T.parentNode;)if(T===N)return!0;return!1},re.getElement=function(T,N){var L;if(typeof T=="string"?L=document.querySelector(T):T.nodeType!=null&&(L=T),L==null)throw new Error("Invalid `".concat(N,"` option provided. Please provide a CSS selector or a plain HTML element."));return L},re.getElements=function(T,N){var L,q;if(T instanceof Array){q=[];try{var P=M(T,!0),j;try{for(P.s();!(j=P.n()).done;)L=j.value,q.push(this.getElement(L,N))}catch(pe){P.e(pe)}finally{P.f()}}catch{q=null}}else if(typeof T=="string"){q=[];var se=M(document.querySelectorAll(T)),ee;try{for(se.s();!(ee=se.n()).done;)L=ee.value,q.push(L)}catch(pe){se.e(pe)}finally{se.f()}}else T.nodeType!=null&&(q=[T]);if(q==null||!q.length)throw new Error("Invalid `".concat(N,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return q},re.confirm=function(T,N,L){if(window.confirm(T))return N();if(L!=null)return L()},re.isValidFile=function(T,N){if(!N)return!0;N=N.split(",");var L=T.type,q=L.replace(/\/.*$/,""),P=M(N),j;try{for(P.s();!(j=P.n()).done;){var se=j.value;if(se=se.trim(),se.charAt(0)==="."){if(T.name.toLowerCase().indexOf(se.toLowerCase(),T.name.length-se.length)!==-1)return!0}else if(/\/\*$/.test(se)){if(q===se.replace(/\/.*$/,""))return!0}else if(L===se)return!0}}catch(ee){P.e(ee)}finally{P.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(T){return this.each(function(){return new re(this,T)})}),re.ADDED="added",re.QUEUED="queued",re.ACCEPTED=re.QUEUED,re.UPLOADING="uploading",re.PROCESSING=re.UPLOADING,re.CANCELED="canceled",re.ERROR="error",re.SUCCESS="success";var Re=function(N){N.naturalWidth;var L=N.naturalHeight,q=document.createElement("canvas");q.width=1,q.height=L;var P=q.getContext("2d");P.drawImage(N,0,0);for(var j=P.getImageData(1,0,1,L),se=j.data,ee=0,pe=L,ue=L;ue>ee;){var Oe=se[(ue-1)*4+3];Oe===0?pe=ue:ee=ue,ue=pe+ee>>1}var Le=ue/L;return Le===0?1:Le},qe=function(N,L,q,P,j,se,ee,pe,ue,Oe){var Le=Re(L);return N.drawImage(L,q,P,j,se,ee,pe,ue,Oe/Le)},Qe=function(){function T(){Z(this,T)}return ce(T,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(L){for(var q="",P=void 0,j=void 0,se="",ee=void 0,pe=void 0,ue=void 0,Oe="",Le=0;P=L[Le++],j=L[Le++],se=L[Le++],ee=P>>2,pe=(P&3)<<4|j>>4,ue=(j&15)<<2|se>>6,Oe=se&63,isNaN(j)?ue=Oe=64:isNaN(se)&&(Oe=64),q=q+this.KEY_STR.charAt(ee)+this.KEY_STR.charAt(pe)+this.KEY_STR.charAt(ue)+this.KEY_STR.charAt(Oe),P=j=se="",ee=pe=ue=Oe="",Le<L.length;);return q}},{key:"restore",value:function(L,q){if(!L.match("data:image/jpeg;base64,"))return q;var P=this.decode64(L.replace("data:image/jpeg;base64,","")),j=this.slice2Segments(P),se=this.exifManipulation(q,j);return"data:image/jpeg;base64,".concat(this.encode64(se))}},{key:"exifManipulation",value:function(L,q){var P=this.getExifArray(q),j=this.insertExif(L,P),se=new Uint8Array(j);return se}},{key:"getExifArray",value:function(L){for(var q=void 0,P=0;P<L.length;){if(q=L[P],q[0]===255&q[1]===225)return q;P++}return[]}},{key:"insertExif",value:function(L,q){var P=L.replace("data:image/jpeg;base64,",""),j=this.decode64(P),se=j.indexOf(255,3),ee=j.slice(0,se),pe=j.slice(se),ue=ee;return ue=ue.concat(q),ue=ue.concat(pe),ue}},{key:"slice2Segments",value:function(L){for(var q=0,P=[];;){var j;if(L[q]===255&L[q+1]===218)break;if(L[q]===255&L[q+1]===216)q+=2;else{j=L[q+2]*256+L[q+3];var se=q+j+2,ee=L.slice(q,se);P.push(ee),q=se}if(q>L.length)break}return P}},{key:"decode64",value:function(L){var q=void 0,P=void 0,j="",se=void 0,ee=void 0,pe=void 0,ue="",Oe=0,Le=[],oe=/[^A-Za-z0-9\+\/\=]/g;for(oe.exec(L)&&console.warn(`There were invalid base64 characters in the input text.
|
|
146
|
+
Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
|
|
147
|
+
Expect errors in decoding.`),L=L.replace(/[^A-Za-z0-9\+\/\=]/g,"");se=this.KEY_STR.indexOf(L.charAt(Oe++)),ee=this.KEY_STR.indexOf(L.charAt(Oe++)),pe=this.KEY_STR.indexOf(L.charAt(Oe++)),ue=this.KEY_STR.indexOf(L.charAt(Oe++)),q=se<<2|ee>>4,P=(ee&15)<<4|pe>>2,j=(pe&3)<<6|ue,Le.push(q),pe!==64&&Le.push(P),ue!==64&&Le.push(j),q=P=j="",se=ee=pe=ue="",Oe<L.length;);return Le}}]),T}();Qe.initClass();var et=function(N,L){var q=!1,P=!0,j=N.document,se=j.documentElement,ee=j.addEventListener?"addEventListener":"attachEvent",pe=j.addEventListener?"removeEventListener":"detachEvent",ue=j.addEventListener?"":"on",Oe=function oe(Se){if(!(Se.type==="readystatechange"&&j.readyState!=="complete")&&((Se.type==="load"?N:j)[pe](ue+Se.type,oe,!1),!q&&(q=!0)))return L.call(N,Se.type||Se)},Le=function oe(){try{se.doScroll("left")}catch{setTimeout(oe,50);return}return Oe("poll")};if(j.readyState!=="complete"){if(j.createEventObject&&se.doScroll){try{P=!N.frameElement}catch{}P&&Le()}return j[ee](ue+"DOMContentLoaded",Oe,!1),j[ee](ue+"readystatechange",Oe,!1),N[ee](ue+"load",Oe,!1)}};re._autoDiscoverFunction=function(){if(re.autoDiscover)return re.discover()},et(window,re._autoDiscoverFunction);function ut(T,N){return typeof T<"u"&&T!==null?N(T):void 0}function dt(T,N,L){if(typeof T<"u"&&T!==null&&typeof T[N]=="function")return L(T,N)}window.Dropzone=re;var F=re}(),a}()})}(pE)),pE.exports}var ZQ=JQ();const vP=Kr(ZQ),Rh="upload.internetConnectivityError";class eJ extends Qu{constructor(){super(fr.getPhrase(Rh,"title"))}get name(){return"InternetConnectivityError"}get dialogOptions(){return{title:fr.getPhrase(Rh,"heading"),text:fr.getPhrase(Rh,"body"),buttons:[{text:fr.getPhrase(Rh,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const Oh="upload.slowInternetError";class tJ extends Qu{constructor(){super(fr.getPhrase(Oh,"title"))}get name(){return"SlowInternetError"}get dialogOptions(){return{title:fr.getPhrase(Oh,"heading"),text:fr.getPhrase(Oh,"body"),buttons:[{text:fr.getPhrase(Oh,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const rJ=[];class mP extends Wi{constructor(t){super(t),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}get name(){return"DropzoneWrapper"}initialize(t){const{loggingEnabled:r}=this.options,n=Zt.Radio.channel(t.channelName),o=this;this.dropzone=new vP(document.createElement("div"),{url:a=>{const u=a[0],{ingestUrl:f}=u.cvUpload;return f},chunking:this.options.chunkingEnabled,chunkSize:this.options.chunkSize,forceChunking:!0,autoProcessQueue:!0,maxFilesize:this.options.maxFileSize,acceptedFiles:this.options.acceptedFiles,paramName:"content",timeout:18e4,init:function(){r&&(zn(rJ,a=>{this.on(a,(...u)=>{const f=u[0]instanceof File?u[0].name:u[0];console.info(a,f,u)})}),this.on("uploadprogress",(a,u,f)=>{const l=f/a.size*100;n.trigger("progress",o.getId(a),l,f)}),this.on("success",a=>{const u=a.upload.chunks,f=Of(u);let l=f.xhr;l||(l=f.file.xhr);const d=JSON.parse(l.response);a.cvUpload.fileId=d.id,n.trigger(Ws.UPLOAD_SUCCESS,a,d)}),this.on("error",(a,u,f)=>{if(f&&f.status===0){Mt.throw(new eJ);return}a.status!=="canceled"&&Mt.throw(new HM(fr.getPhrase("upload.services","uploadError",{fileName:a.name,message:u.message})))}),this.on("sending",a=>{window.clearTimeout(o.slowInternetTimeout[a.path]),o.showSlowInternetTimeout&&(o.slowInternetTimeout[a.path]=window.setTimeout(()=>{o.showSlowInternetTimeout&&Mt.throw(new tJ),o.showSlowInternetTimeout=!1},3e4))}),this.on("complete",a=>window.clearTimeout(o.slowInternetTimeout[a.path])))},params:(a,u,f)=>{if(f)return{chunk_index:f.index,upload_length:f.file.size}},addedfile:()=>{},thumbnail:()=>{},uploadprogress:()=>{}})}getId(t){return t.upload.uuid}addFile(t){this.dropzone.addFile(t)}removeFile(t){this.dropzone.removeFile(t)}start(){this.dropzone.processQueue()}destroy(){this.dropzone.destroy()}static isValidFile(t,r){return vP.isValidFile(t,r)}}class nJ extends HQ{constructor(){super({dataProvider:zs.getInstance(Rp.Ajax),cache:zs.getInstance(Ap.Fifo),alertService:zs.getInstance(cg.ALERT)}),this.incrementingUploadId=0}get name(){return"UploadDataService"}get channelName(){return"private:upload:data:service"}requestUploads(t,r,n,o,a){const u=this.chain();zn(r,f=>{this.incrementingUploadId++,u.create({resource:t,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(f,n),callback:l=>{o(f,l)},errorHandler:this.alertService.error("Something went wrong while we were uploading your video. Please try again.")})}),u.func(()=>{a()}).run()}cancelUpload(t,r,n){this.create({resource:"/api/upload/cancel",eventPrefix:"cancel:upload",data:{uploadId:t,ingestUrl:r},callback:n})}getFileUploadRequest(t,r){const n=t.name.split(".");return{name:n.join("."),extension:n.length>1?n.pop():"",fileSize:t.size,fileLifestyle:r}}onDestroy(){zs.releaseInstance(Rp.Ajax).releaseInstance(Ap.Fifo)}}const iJ={0:Ah.VIDEO,1:Ah.RESOURCES,2:Ah.SUBTITLES,3:Ah.MIXED_MEDIA},oJ={0:cf.VIDEO_UPLOAD,1:cf.RESOURCE_UPLOAD,2:cf.SUBTITLE_UPLOAD,3:cf.MIXED_MEDIA_UPLOAD},sJ=1024*1024*4,aJ=1024*1024*1024*50;class uJ extends Wi{constructor(t={}){super({uploadUrl:"/api/upload",...t})}initialize(){this.uploadDataService=new nJ,this.progressViewModel=O$.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return oJ[this.uploadType]}get lang(){return"uploadShared.services"}initUploader(t,r){if(this.uploader)return;let n=sJ;t&&n<t&&(n=t),r&&n>r&&(n=r),this.uploader=new mP({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:aJ,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,Ws.UPLOAD_SUCCESS,this.onSuccess)}onProgress(t,r,n){const o=this.collection.get(t);o&&(o.set({progress:r>100?100:r,totalUploaded:n}),this.setOverallProgress())}isUploading(){return!!this.getCollection().length}getCollection(){return this.collection?this.collection:(this.collection=new Zp,this.collection)}setOverallProgress(){let t=0,r=0;const n=this.getCollection();if(!n.length){this.progressViewModel.set({progress:0});return}n.each(f=>{t+=f.get("totalUploaded")||0,r+=f.get("file").size||0});const o=t/r*100,a=o>=100,u=()=>{this.progressViewModel.set({progress:a?100:o,done:a})};if(!a){u();return}window.setTimeout(u,2e3)}isValidFile(t){return mP.isValidFile(t,this.getAcceptedFiles())}addFiles(t,r){if(Rf(t,n=>!this.isValidFile(n))){Mt.throw(new zQ(fr.getPhrase(this.lang,"invalidFileType")));return}this.requestUploads(t,r)}requestUploads(t,r){const n=this.isUploading(),o=this.getCollection(),a=(f,l)=>{"minChunkSize"in l||"maxChunkSize"in l?this.initUploader(l.minChunkSize*1024,l.maxChunkSize*1024):this.initUploader(l.minChunkLength,l.maxChunkLength),f.cvUpload={uploadId:l.uploadId,ingestUrl:l.ingestUrl},this.uploader.addFile(f);let d=f.name;this.uploadType===0&&(d=d.replace(/\.[^/.]+$/,"")),o.add({id:this.uploader.getId(f),file:f,name:d,...this.getAdditionalFileInfo(f,l)},{at:o.length-1})},u=()=>{r&&Ai.logUserAction({uploadCount:t.length},r),Zt.Radio.channel(this.channelName).trigger(Ws.FILES_ADDED,t,n)};this.uploadDataService.requestUploads(this.options.uploadUrl,t,this.fileLifestyle,a,u)}addFile(t,r){this.addFiles([t],r)}cancelUpload(t){const r=this.getCollection(),n=r.get(t);if(!n)return;const o=n.get("file");this.uploader.removeFile(o),r.remove(n),this.uploadDataService.cancelUpload(o.cvUpload.uploadId,o.cvUpload.ingestUrl,()=>{Ai.logUserAction(n.toJSON(),{entity:Wr.Video,actionType:ht.Upload,workflowPhase:Na.Discard,descriptor:NE.Single,location:gi.MyUploads}),Zt.Radio.channel(this.channelName).trigger(Ws.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(t,r){const n=this.uploader.getId(t),o=this.getCollection().get(n);o.set("fileInfo",r),Ai.logUserAction({id:t.cvUpload.uploadId},{entity:Wr.Video,actionType:ht.Upload,workflowPhase:Na.Complete,descriptor:NE.Single,location:gi.VideoUpload}),Zt.Radio.channel(this.channelName).trigger(Ws.UPLOAD_COMPLETE,o)}cancelAllUploads(){const t=this.getCollection().map(r=>r.get("id"));zn(t,r=>this.cancelUpload(r))}getUpload(t){const r=this.uploader.getId(t);return this.getCollection().get(r)}getAcceptedFiles(){return iJ[this.uploadType]}getAdditionalFileInfo(t,r){return{}}}class lJ extends uJ{get uploadType(){return 3}get name(){return $M.MixedMediaUpload}get fileLifestyle(){return I$.Temporary}}var cJ=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return pM(t,n)})},gE=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return gM(t,n)})},k_=function(e){r_(t,e);function t(){for(var n,o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(f,l){var d=n.resolveArguments(f,l),v=d[0],p=d[1];n.removeClasses(v,"exit"),n.addClass(v,p?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(f,l)},n.onEntering=function(f,l){var d=n.resolveArguments(f,l),v=d[0],p=d[1],w=p?"appear":"enter";n.addClass(v,w,"active"),n.props.onEntering&&n.props.onEntering(f,l)},n.onEntered=function(f,l){var d=n.resolveArguments(f,l),v=d[0],p=d[1],w=p?"appear":"enter";n.removeClasses(v,w),n.addClass(v,w,"done"),n.props.onEntered&&n.props.onEntered(f,l)},n.onExit=function(f){var l=n.resolveArguments(f),d=l[0];n.removeClasses(d,"appear"),n.removeClasses(d,"enter"),n.addClass(d,"exit","base"),n.props.onExit&&n.props.onExit(f)},n.onExiting=function(f){var l=n.resolveArguments(f),d=l[0];n.addClass(d,"exit","active"),n.props.onExiting&&n.props.onExiting(f)},n.onExited=function(f){var l=n.resolveArguments(f),d=l[0];n.removeClasses(d,"exit"),n.addClass(d,"exit","done"),n.props.onExited&&n.props.onExited(f)},n.resolveArguments=function(f,l){return n.props.nodeRef?[n.props.nodeRef.current,f]:[f,l]},n.getClassNames=function(f){var l=n.props.classNames,d=typeof l=="string",v=d&&l?l+"-":"",p=d?""+v+f:l[f],w=d?p+"-active":l[f+"Active"],x=d?p+"-done":l[f+"Done"];return{baseClassName:p,activeClassName:w,doneClassName:x}},n}var r=t.prototype;return r.addClass=function(o,a,u){var f=this.getClassNames(a)[u+"ClassName"],l=this.getClassNames("enter"),d=l.doneClassName;a==="appear"&&u==="done"&&d&&(f+=" "+d),u==="active"&&o&&bN(o),f&&(this.appliedClasses[a][u]=f,cJ(o,f))},r.removeClasses=function(o,a){var u=this.appliedClasses[a],f=u.base,l=u.active,d=u.done;this.appliedClasses[a]={},f&&gE(o,f),l&&gE(o,l),d&&gE(o,d)},r.render=function(){var o=this.props;o.classNames;var a=ag(o,["classNames"]);return er.createElement(Ss,Pf({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(er.Component);k_.defaultProps={classNames:""};k_.propTypes={};function fJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L_(e,t){var r=function(a){return t&&ne.isValidElement(a)?t(a):a},n=Object.create(null);return e&&ne.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function dJ(e,t){e=e||{},t=t||{};function r(v){return v in t?t[v]:e[v]}var n=Object.create(null),o=[];for(var a in e)a in t?o.length&&(n[a]=o,o=[]):o.push(a);var u,f={};for(var l in t){if(n[l])for(u=0;u<n[l].length;u++){var d=n[l][u];f[n[l][u]]=r(d)}f[l]=r(l)}for(u=0;u<o.length;u++)f[o[u]]=r(o[u]);return f}function xu(e,t,r){return r[t]!=null?r[t]:e.props[t]}function hJ(e,t){return L_(e.children,function(r){return ne.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:xu(r,"appear",e),enter:xu(r,"enter",e),exit:xu(r,"exit",e)})})}function pJ(e,t,r){var n=L_(e.children),o=dJ(t,n);return Object.keys(o).forEach(function(a){var u=o[a];if(ne.isValidElement(u)){var f=a in t,l=a in n,d=t[a],v=ne.isValidElement(d)&&!d.props.in;l&&(!f||v)?o[a]=ne.cloneElement(u,{onExited:r.bind(null,u),in:!0,exit:xu(u,"exit",e),enter:xu(u,"enter",e)}):!l&&f&&!v?o[a]=ne.cloneElement(u,{in:!1}):l&&f&&ne.isValidElement(d)&&(o[a]=ne.cloneElement(u,{onExited:r.bind(null,u),in:d.props.in,exit:xu(u,"exit",e),enter:xu(u,"enter",e)}))}}),o}var gJ=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},vJ={component:"div",childFactory:function(t){return t}},D_=function(e){r_(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var u=a.handleExited.bind(fJ(a));return a.state={contextValue:{isMounting:!0},handleExited:u,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,a){var u=a.children,f=a.handleExited,l=a.firstRender;return{children:l?hJ(o,f):pJ(o,u,f),firstRender:!1}},r.handleExited=function(o,a){var u=L_(this.props.children);o.key in u||(o.props.onExited&&o.props.onExited(a),this.mounted&&this.setState(function(f){var l=Pf({},f.children);return delete l[o.key],{children:l}}))},r.render=function(){var o=this.props,a=o.component,u=o.childFactory,f=ag(o,["component","childFactory"]),l=this.state.contextValue,d=gJ(this.state.children).map(u);return delete f.appear,delete f.enter,delete f.exit,a===null?er.createElement(gp.Provider,{value:l},d):er.createElement(gp.Provider,{value:l},er.createElement(a,f,d))},t}(er.Component);D_.propTypes={};D_.defaultProps=vJ;function mJ(e){return Q.jsx("svg",{...e,children:Q.jsx("path",{fill:"currentColor",d:"M12 3c4.972 0 9 4.028 9 9s-4.028 9-9 9-9-4.028-9-9 4.028-9 9-9m0 1.212c-2.081 0-4.037.809-5.508 2.28A7.74 7.74 0 0 0 4.212 12c0 2.081.809 4.037 2.28 5.508A7.74 7.74 0 0 0 12 19.788c2.081 0 4.037-.809 5.508-2.28A7.74 7.74 0 0 0 19.788 12c0-2.081-.809-4.037-2.28-5.508A7.74 7.74 0 0 0 12 4.212m4.244 4.366a.7.7 0 0 1 .07 1.016l-5.25 5.76a.77.77 0 0 1-1.094.035l-2.25-2.16a.7.7 0 0 1 0-1.018.77.77 0 0 1 1.06 0l1.684 1.616 4.722-5.181a.77.77 0 0 1 1.058-.068"})})}function yJ(e){return Q.jsx("svg",{...e,children:Q.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0m-1 0a7 7 0 1 0-14 0 7 7 0 0 0 14 0m-6.25-.75a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0zm0-3a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0",clipRule:"evenodd"})})}function wJ(e){return Q.jsx("svg",{...e,children:Q.jsx("path",{fill:"currentColor",d:"m13.882 20.807.619 2.935q-.803.17-3.028.258l.176-.008-.175-.004.133-2.997.28.008.154.001a9 9 0 0 0 1.841-.194m-5.888-.75a9 9 0 0 0 2.12.744l-.63 2.933a12 12 0 0 1-2.832-.992zm9.274-.746 1.754 2.436a12 12 0 0 1-2.638 1.433l-1.093-2.793a9 9 0 0 0 1.977-1.076M5.06 17.724A9 9 0 0 0 6.7 19.271l-1.773 2.42a12 12 0 0 1-2.184-2.057zm14.736-1.187 2.592 1.515a12 12 0 0 1-1.828 2.38l-2.137-2.108a9 9 0 0 0 1.373-1.787M3.31 14.344a9 9 0 0 0 .852 2.078L1.55 17.899a12 12 0 0 1-1.138-2.776zm17.661-1.39 2.987.313a12 12 0 0 1-.686 2.92l-2.814-1.046c.261-.7.434-1.434.513-2.187M.135 10.197l2.97.447a9.2 9.2 0 0 0-.056 2.27l-2.988.3Q.02 12.813 0 12l.009-.457q.026-.684.126-1.346m23.299-1.925c.306.937.5 1.924.566 2.947l-2.997.192a9 9 0 0 0-.424-2.208zM1.892 5.532l2.529 1.62a9 9 0 0 0-.967 2.027L.6 8.24c.318-.962.754-1.87 1.291-2.708m19.06-1.548c.668.744 1.245 1.57 1.713 2.464l-2.661 1.39a9 9 0 0 0-1.286-1.849zM5.407 1.976 7.06 4.48a9 9 0 0 0-1.714 1.465l-2.221-2.02a12 12 0 0 1 2.28-1.95m11.503-.937c.923.412 1.784.937 2.566 1.558L17.61 4.946a9 9 0 0 0-1.926-1.168zM10.03.163l.492 2.96a9 9 0 0 0-2.153.643L7.153 1.023C8.058.622 9.023.33 10.03.163M12.013 0l.439.008a12 12 0 0 1 2.541.364L14.25 3.28A9 9 0 0 0 12.012 3z"})})}function EJ(e){return Q.jsx("svg",{...e,children:Q.jsx("path",{d:"m13.026 4.377 8.5 14A1.2 1.2 0 0 1 20.5 20.2h-17a1.2 1.2 0 0 1-1.026-1.823l8.5-14a1.2 1.2 0 0 1 2.052 0M12 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2m.75-3.677V8.677a.69.69 0 0 0-.7-.677c-.387 0-.7.303-.7.677v5.646c0 .374.313.677.7.677s.7-.303.7-.677",fill:"currentColor"})})}const SJ="_alertItem_i5y1z_1",_J="_alertBox_i5y1z_11",bJ="_alertList_i5y1z_11",xJ="_icon_i5y1z_28",CJ="_alertContent_i5y1z_32",TJ="_heading_i5y1z_40",Cu={alertItem:SJ,alertBox:_J,alertList:bJ,icon:xJ,alertContent:CJ,heading:TJ};function AJ(e){const{alert:t,svg:r,svgClassName:n,closeAlert:o}=e,{message:a,heading:u,appLink:f,appLinkText:l,appLinkClassName:d="",extLink:v,extLinkText:p,extLinkClassName:w}=t;return Q.jsxs(Q.Fragment,{children:[Q.jsx("div",{className:`d-inline-block ${Cu.icon}`,children:Q.jsx(Ua,{svg:r,className:`svg-container ${n}`})}),Q.jsxs("div",{role:t.type===Go.Fail?"alert":"status",className:`ps-2 d-inline-block ${Cu.alertContent}`,children:[Q.jsx("p",{className:`p-0 m-0 pb-1 ${Cu.heading}`,children:u}),Q.jsx("p",{className:`p-0 text-break clamp-4 ${Cu.message}`,dangerouslySetInnerHTML:{__html:a}}),!!f&&Q.jsx(co,{className:d,appLink:f,children:Q.jsx("span",{dangerouslySetInnerHTML:{__html:l}})}),!!v&&p&&Q.jsx("a",{href:v,className:w,target:"_blank",children:p})]}),Q.jsx("div",{className:"btn-close d-inline-block cursor-pointer",role:"button","aria-label":"Close",onClick:o})]})}const RJ=e=>{switch(e.type){case Go.Success:return mJ;case Go.Fail:case Go.Warning:return EJ;case Go.Pending:return wJ;case Go.Info:default:return yJ}},OJ=e=>e.type===Go.Pending?"text-info":`text-${e.type}`;P$.defaultProps={timeout:3e3};function P$({alert:e,closeAlert:t,timeout:r}){const[n,o]=ne.useState(!0),a=ne.useRef(null);return ne.useEffect(()=>{if(!n){clearTimeout(a.current);return}a.current=window.setTimeout(t,r)},[n]),Q.jsx("li",{className:`bg-white mt-2 p-2 show clearfix ${Cu.alertItem}`,onMouseEnter:()=>o(!1),onMouseLeave:()=>o(!0),children:Q.jsx(AJ,{alert:e,svg:RJ(e),svgClassName:OJ(e),closeAlert:t})})}function IJ({alerts:e,removeAlert:t}){return Q.jsx("div",{className:Cu.alertBox,children:Q.jsx(D_,{component:"ul",className:`${Cu.alertList} list-unstyled`,children:e&&e.map((r,n)=>Q.jsx(k_,{timeout:200,classNames:"alert",children:Q.jsx(P$,{alert:r,closeAlert:()=>t(r.id),timeout:r.timeout})},n))})})}async function PJ(e,t){try{const r={maxAlerts:3,defaultSuccessAlert:{heading:t1.Success,type:Go.Success},defaultErrorAlert:{heading:t1.Fail,type:Go.Fail},alertViewCtor:IJ};zs.registerSingleton(new zW(r)).registerInstance(lJ),t(e)}catch{Mt.throw(new sc)}}function kJ(e){var t,r=e.Symbol;return typeof r=="function"?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}var Ul;typeof self<"u"?Ul=self:typeof window<"u"?Ul=window:typeof global<"u"?Ul=global:typeof module<"u"?Ul=module:Ul=Function("return this")();var yP=kJ(Ul),vE=function(){return Math.random().toString(36).substring(7).split("").join(".")},yf={INIT:"@@redux/INIT"+vE(),REPLACE:"@@redux/REPLACE"+vE(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+vE()}};function LJ(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function k$(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error("Expected the enhancer to be a function.");return r(k$)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var o=e,a=t,u=[],f=u,l=!1;function d(){f===u&&(f=u.slice())}function v(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function p(E){if(typeof E!="function")throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var S=!0;return d(),f.push(E),function(){if(S){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");S=!1,d();var D=f.indexOf(E);f.splice(D,1)}}}function w(E){if(!LJ(E))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof E.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,a=o(a,E)}finally{l=!1}for(var S=u=f,I=0;I<S.length;I++){var D=S[I];D()}return E}function x(E){if(typeof E!="function")throw new Error("Expected the nextReducer to be a function.");o=E,w({type:yf.REPLACE})}function C(){var E,S=p;return E={subscribe:function(D){if(typeof D!="object"||D===null)throw new TypeError("Expected the observer to be an object.");function H(){D.next&&D.next(v())}H();var V=S(H);return{unsubscribe:V}}},E[yP]=function(){return this},E}return w({type:yf.INIT}),n={dispatch:w,subscribe:p,getState:v,replaceReducer:x},n[yP]=C,n}function DJ(e,t){var r=t&&t.type,n=r&&'action "'+String(r)+'"'||"an action";return"Given "+n+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function NJ(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:yf.INIT});if(typeof n>"u")throw new Error('Reducer "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:yf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+yf.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function MJ(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];typeof e[o]=="function"&&(r[o]=e[o])}var a=Object.keys(r),u;try{NJ(r)}catch(f){u=f}return function(l,d){if(l===void 0&&(l={}),u)throw u;for(var v=!1,p={},w=0;w<a.length;w++){var x=a[w],C=r[x],E=l[x],S=C(E,d);if(typeof S>"u"){var I=DJ(x,d);throw new Error(I)}p[x]=S,v=v||S!==E}return v?p:l}}function $J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wP(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r}function FJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wP(r,!0).forEach(function(n){$J(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wP(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jJ(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,o){return function(){return n(o.apply(void 0,arguments))}})}function UJ(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var o=n.apply(void 0,arguments),a=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},u={getState:o.getState,dispatch:function(){return a.apply(void 0,arguments)}},f=t.map(function(l){return l(u)});return a=jJ.apply(void 0,f)(o.dispatch),FJ({},o,{dispatch:a})}}}function VJ(e){const{authenticationError:t}=e;return function(){return n=>o=>{var u;const a=o;if(o.type===bi.API_ERROR&&t&&((u=a==null?void 0:a.xhr)==null?void 0:u.status)===PS.Unauthorized)return Mt.throw(new t("dark"));if(o.type!==bi.API_RESPONSE){n(o);return}n(o)}}}function HJ(e,t){return typeof t.payload.dataOrKey=="string"&&t.payload.keyData!==void 0?{...e,[t.payload.viewModelKey]:{...e[t.payload.viewModelKey],[t.payload.dataOrKey]:t.payload.keyData}}:typeof t.payload.dataOrKey=="object"&&Array.isArray(t.payload.dataOrKey)?{...e,[t.payload.viewModelKey]:t.payload.dataOrKey}:{...e,[t.payload.viewModelKey]:t.payload.dataOrKey}}function BJ(e={},t){switch(t.type){case I_.UPDATE:return HJ(e,t)}return e}const zJ={STANDARD:600},Ih="shared.authentication";class WJ extends Qu{constructor(t){super(fr.getPhrase(Ih,"title")),this.btnVariant=t}get name(){return"AuthenticationError"}get dialogOptions(){return{title:fr.getPhrase(Ih,"heading"),text:fr.getPhrase(Ih,"body"),buttons:[{text:fr.getPhrase(Ih,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Yr.Reload()}}class qJ extends WJ{onDone(){Yr.PageLoad(`/login?returnUrl=${encodeURIComponent(Yr.GetCurrentUrl())}`)}}const Xl={hasTokenExpired(e){return typeof(e==null?void 0:e.localTTL)!="number"?!1:new Date().getTime()>e.localTTL},getToken(e,t){var a,u,f,l;const r=tN(e.getState(),Du.TOKEN),n=Xl.hasTokenExpired(r.data);if((r.shouldFetch||n)&&!r.isFetching){nd(e.dispatch,t);return}if(r.isFetching){let d=!1;const v=e.subscribe(()=>{v(),!d&&(d=!0,Xl.getToken(e,t))});return}r.hasError?((a=t.error)==null||a.call(t,{status:r.statusCode,getResponseHeader:null}),(u=t.always)==null||u.call(t)):((f=t.success)==null||f.call(t,r.data),(l=t.always)==null||l.call(t))},async getTokenAsync(e){const t=L$.getToken();return t||new Promise((r,n)=>{const o=u=>r(u),a=u=>n(u);Xl.getToken(e,Ri.token(o,a))})}},GJ=Fn.Router.prototype._routeToRegExp("share/embed/:id(/)"),YJ=Fn.Router.prototype._routeToRegExp("videos/embed/:id(/)"),L$={applyToken(e){const t=m_.getCurrentRoute().appLink,r=_n.getHref({...t,params:{...typeof t.params=="object"?t.params:{},embedToken:e==null?void 0:e.value,localTTL:e==null?void 0:e.localTTL,a:!0}});Yr.PageLoad(r)},getToken(){const e=Fn.history.getFragment(Yr.GetCurrentPath()),t=GJ.test(e),r=YJ.test(e);if(!t&&!r||!window.URLSearchParams)return null;const n=new URLSearchParams(window.location.search),o=n.get("embedToken"),a=parseInt(n.get("localTTL"));if(!o||!a)return null;const u={value:o,localTTL:isNaN(a)?null:a};return Xl.hasTokenExpired(u)?null:u}};function KJ(){const e=L$.getToken();return e?function(r,n){if(!r.resource.startsWith("/"))return n(r);Xl.hasTokenExpired(e)||(r.headers={...r.headers??{},authorization:`Bearer ${e.value}`}),n(r)}:(t,r)=>r(t)}const l1={safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r}},EP={"{gateway}":"gatewayApiUrl","{image}":"imageCdnUrl","{integrations}":"integrationsApiUrl","{player}":"playerApiUrl"};function XJ(e){return async function(r,n){const o=Object.keys(EP).find(u=>r.resource.startsWith(u));if(!o)return n(r);function a(u,f){const l=u[EP[o]],d={...r,resource:l1.safeUrlConcat(l,r.resource.split(`${o}/`)[1])};f!=null&&f.value&&(d.headers={...d.headers??{},authorization:`Bearer ${f.value}`}),n(d)}try{const u=await Ti(e,Va.config());if(!(await Ti(e,Ri.currentUser())).isAuthenticated){a(u);return}const l=await Xl.getTokenAsync(e);a(u,l)}catch{n(r)}}}const SP=/\(([^()]*)\)/g;function QJ(e,t){return function(n,o){o({...n,resource:n.resource.replace(e,t)})}}function JJ(e,t){function r(n){return function(a){const u=t[a];if(typeof u=="string"){n.useAsync(QJ(a,u));return}u&&n.useAsync(u)}}return function(o,a){var w;const u=new ql,f=new ql,l={resource:o.resource,store:e},d={resource:null,store:e},v=(w=o.data)==null?void 0:w.ogql;if(decodeURIComponent(o.resource).replace(SP,r(u)),v){const x=JSON.stringify(o.data.ogql);d.resource=x,x.replace(SP,r(f))}u.goAsync(l,x=>{f.goAsync(d,C=>{a({...o,resource:x.resource,data:v?{...o.data,ogql:JSON.parse(C.resource)}:o.data})})})}}function ZJ(e,t){return function(n){const o=new ql;o.useAsync(XJ(e.store)),o.useAsync(JJ(e.store,t)),o.useAsync(KJ()),o.goAsync(n,a=>{wV(a)})}}const _P={VIDEO_COLLECTION:"(videoCollection)",SERIES:"tallposter,rating,banner",CLASSIFICATION_COLLECTION:"banner,cover,tallPoster",CLASSIFICATION:e=>`banner,cover,tallPoster,thumbnail,followers{id:${e}},pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}`,VIDEO:"channel,series,season,rating,producers,glance,distributors,owner,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies,directors,links,thumbnail,_canUpdate,_videoProgress,_canBeConsumed,categories[libraries],libraries,_canAddToLibrary,_restrictions,_canDownload,_isClickViewCurated,contentLicences,_canCreateChild",PLAYLIST:"cover,banner,owner,followers[count()]{limit:0}",PLAYLIST_COLLECTION:"videos[count()]{limit:0},interactives[count()]{limit:0},clips[count()]{limit:0},cover",CLIP:"(clip)",CLIP_COLLECTION:"(clipCollection)",INTERACTIVE:"(interactive)",INTERACTIVE_COLLECTION:"(interactiveCollection)",LIBRARY_COLLECTION:"owner[logo]",LIBRARY:"owner[logo],categorytree"},Cee={CLASSIFICATION:"banner,cover,tallPoster,pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}",CLASSIFICATION_COLLECTION:"banner,cover,tallPoster",VIDEO:"series,season,rating,producers,glance,distributors,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies,directors,links,thumbnail,interactives[thumbnail,_canBeConsumed,_isClickViewCurated],clips[_canBeConsumed,_isClickViewCurated,_thumbnail],_canBeConsumed,_isClickViewCurated,categories,libraries",VIDEO_COLLECTION:"thumbnail,rating,series,season,subjectPresentationAudiences,subtitles{limit:1},_canBeConsumed"},eZ=[zt.ExchangeTvProductOption,zt.TvRegion,zt.LiteUpgradeTypeCustomer];function tZ(e){return function(r,n){const o=eZ.map(u=>`type=${u}`).join("&"),a=r.resource.replace(e,o);n({...r,resource:a})}}const rZ=[zt.HasCompletedOnboardingV1];function nZ(e){return function(r,n){const o=rZ.map(u=>`type=${u}`).join("&"),a=r.resource.replace(e,o);n({...r,resource:a})}}const iZ="thumbnail,rating,series,season,subtitles{limit:1}";function oZ(e){return function(r,n){GS(r.store,Ri.currentUser(o=>{let a=`${iZ}`;o.isAuthenticated&&(a+=`,favouritedby{id:${o.id}}`);const u=r.resource.replace(e,a);n({...r,resource:u})},()=>n(r)))}}const sZ={[_P.VIDEO_COLLECTION]:oZ(_P.VIDEO_COLLECTION),"(customerSettings)":tZ("(customerSettings)"),"(userSettings)":nZ("(userSettings)")};async function aZ(e,t){const r=MJ({flightData:G5,viewModelData:BJ}),n=V5({fetchData:ZJ(e,sZ),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:zJ.STANDARD}),o=VJ({authenticationError:qJ});async function a(f){e.registerStore(f),t(e),delete window.bootstrapData}const u=k$(r,UJ(n,o));await a(u)}const uZ="application:options";class lZ extends Wi{constructor(t){super(),this.clients={},this.enrichers={},O$.get(uZ).set(t??{})}get name(){return t_.Analytics}registerTransport(t,r){return this.transport=new t(r),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(SN.ANALYTICS,Gl.Inlet,this.onEvent)}registerClient(t,r){return this.validateConstructor(t),this.clients[t.prototype.name]=t.prototype.name,this.transport.subscribe(new t(r)),this}registerEnricher(t,r){this.validateConstructor(t);const n=new t(r);return this.enrichers[n.name]=n,this.registerMiddleware(ds(n.enrich,n)),this}hasEnricher(t){return!!this.enrichers[t.prototype.name]}onEvent(t){this.executeMiddleware(t,r=>{this.transport.publish(r)})}validateConstructor(t){const r=t.prototype.name;r||Mt.throw(new Hr(`Classes registered with ${this.name} must have a unique name property.`));const n=o=>lo.isFunction(t.prototype.isType)&&t.prototype.isType(o);(n("BaseAnalyticsClient")||r==="CollectionApiClient")&&this.clients[r]&&Mt.throw(new Hr(`A client class with the name: ${r} has already been registered with ${this.name}`)),n("BaseAnalyticsEnricher")&&this.enrichers[r]&&Mt.throw(new Hr(`An enricher class named: ${r} has already been registered with ${this.name}`))}registerMiddleware(t){this.executeMiddleware=(r=>(n,o)=>r(n,()=>t(n,o)))(this.executeMiddleware)}executeMiddleware(t,r){r(t)}}const D$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function bP(e,t,r,n){let o,a,u;const f=t||[0],l=(r=r||0)>>>3,d=n===-1?3:0;for(o=0;o<e.length;o+=1)u=o+l,a=u>>>2,f.length<=a&&f.push(0),f[a]|=e[o]<<8*(d+n*(u%4));return{value:f,binLen:8*e.length+r}}function mE(e,t,r){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(n,o,a){return function(u,f,l,d){let v,p,w,x;if(u.length%2!=0)throw new Error("String of HEX type must be in byte increments");const C=f||[0],E=(l=l||0)>>>3,S=d===-1?3:0;for(v=0;v<u.length;v+=2){if(p=parseInt(u.substr(v,2),16),isNaN(p))throw new Error("String of HEX type contains invalid characters");for(x=(v>>>1)+E,w=x>>>2;C.length<=w;)C.push(0);C[w]|=p<<8*(S+d*(x%4))}return{value:C,binLen:4*u.length+l}}(n,o,a,r)};case"TEXT":return function(n,o,a){return function(u,f,l,d,v){let p,w,x,C,E,S,I,D,H=0;const V=l||[0],M=(d=d||0)>>>3;if(f==="UTF8")for(I=v===-1?3:0,x=0;x<u.length;x+=1)for(p=u.charCodeAt(x),w=[],128>p?w.push(p):2048>p?(w.push(192|p>>>6),w.push(128|63&p)):55296>p||57344<=p?w.push(224|p>>>12,128|p>>>6&63,128|63&p):(x+=1,p=65536+((1023&p)<<10|1023&u.charCodeAt(x)),w.push(240|p>>>18,128|p>>>12&63,128|p>>>6&63,128|63&p)),C=0;C<w.length;C+=1){for(S=H+M,E=S>>>2;V.length<=E;)V.push(0);V[E]|=w[C]<<8*(I+v*(S%4)),H+=1}else for(I=v===-1?2:0,D=f==="UTF16LE"&&v!==1||f!=="UTF16LE"&&v===1,x=0;x<u.length;x+=1){for(p=u.charCodeAt(x),D===!0&&(C=255&p,p=C<<8|p>>>8),S=H+M,E=S>>>2;V.length<=E;)V.push(0);V[E]|=p<<8*(I+v*(S%4)),H+=2}return{value:V,binLen:8*H+d}}(n,t,o,a,r)};case"B64":return function(n,o,a){return function(u,f,l,d){let v,p,w,x,C,E,S,I=0;const D=f||[0],H=(l=l||0)>>>3,V=d===-1?3:0,M=u.indexOf("=");if(u.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(u=u.replace(/=/g,""),M!==-1&&M<u.length)throw new Error("Invalid '=' found in base-64 string");for(p=0;p<u.length;p+=4){for(C=u.substr(p,4),x=0,w=0;w<C.length;w+=1)v=D$.indexOf(C.charAt(w)),x|=v<<18-6*w;for(w=0;w<C.length-1;w+=1){for(S=I+H,E=S>>>2;D.length<=E;)D.push(0);D[E]|=(x>>>16-8*w&255)<<8*(V+d*(S%4)),I+=1}}return{value:D,binLen:8*I+l}}(n,o,a,r)};case"BYTES":return function(n,o,a){return function(u,f,l,d){let v,p,w,x;const C=f||[0],E=(l=l||0)>>>3,S=d===-1?3:0;for(p=0;p<u.length;p+=1)v=u.charCodeAt(p),x=p+E,w=x>>>2,C.length<=w&&C.push(0),C[w]|=v<<8*(S+d*(x%4));return{value:C,binLen:8*u.length+l}}(n,o,a,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(n,o,a){return function(u,f,l,d){return bP(new Uint8Array(u),f,l,d)}(n,o,a,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(n,o,a){return bP(n,o,a,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function xP(e,t,r,n){switch(e){case"HEX":return function(o){return function(a,u,f,l){let d,v,p="";const w=u/8,x=f===-1?3:0;for(d=0;d<w;d+=1)v=a[d>>>2]>>>8*(x+f*(d%4)),p+="0123456789abcdef".charAt(v>>>4&15)+"0123456789abcdef".charAt(15&v);return l.outputUpper?p.toUpperCase():p}(o,t,r,n)};case"B64":return function(o){return function(a,u,f,l){let d,v,p,w,x,C="";const E=u/8,S=f===-1?3:0;for(d=0;d<E;d+=3)for(w=d+1<E?a[d+1>>>2]:0,x=d+2<E?a[d+2>>>2]:0,p=(a[d>>>2]>>>8*(S+f*(d%4))&255)<<16|(w>>>8*(S+f*((d+1)%4))&255)<<8|x>>>8*(S+f*((d+2)%4))&255,v=0;v<4;v+=1)C+=8*d+6*v<=u?D$.charAt(p>>>6*(3-v)&63):l.b64Pad;return C}(o,t,r,n)};case"BYTES":return function(o){return function(a,u,f){let l,d,v="";const p=u/8,w=f===-1?3:0;for(l=0;l<p;l+=1)d=a[l>>>2]>>>8*(w+f*(l%4))&255,v+=String.fromCharCode(d);return v}(o,t,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(o){return function(a,u,f){let l;const d=u/8,v=new ArrayBuffer(d),p=new Uint8Array(v),w=f===-1?3:0;for(l=0;l<d;l+=1)p[l]=a[l>>>2]>>>8*(w+f*(l%4))&255;return v}(o,t,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(o){return function(a,u,f){let l;const d=u/8,v=f===-1?3:0,p=new Uint8Array(d);for(l=0;l<d;l+=1)p[l]=a[l>>>2]>>>8*(v+f*(l%4))&255;return p}(o,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function CP(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},r=e||{},n="Output length must be a multiple of 8";if(t.outputUpper=r.outputUpper||!1,r.b64Pad&&(t.b64Pad=r.b64Pad),r.outputLen){if(r.outputLen%8!=0)throw new Error(n);t.outputLen=r.outputLen}else if(r.shakeLen){if(r.shakeLen%8!=0)throw new Error(n);t.outputLen=r.shakeLen}if(typeof t.outputUpper!="boolean")throw new Error("Invalid outputUpper formatting option");if(typeof t.b64Pad!="string")throw new Error("Invalid b64Pad formatting option");return t}function Ll(e,t){return e<<t|e>>>32-t}function TP(e,t,r){return e^t^r}function cZ(e,t,r){return e&t^e&r^t&r}function nf(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function Ph(e,t,r,n,o){const a=(65535&e)+(65535&t)+(65535&r)+(65535&n)+(65535&o);return(65535&(e>>>16)+(t>>>16)+(r>>>16)+(n>>>16)+(o>>>16)+(a>>>16))<<16|65535&a}function fZ(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function N$(e,t){let r,n,o,a,u,f,l;const d=[];for(r=t[0],n=t[1],o=t[2],a=t[3],u=t[4],l=0;l<80;l+=1)d[l]=l<16?e[l]:Ll(d[l-3]^d[l-8]^d[l-14]^d[l-16],1),f=l<20?Ph(Ll(r,5),(v=n)&o^~v&a,u,1518500249,d[l]):l<40?Ph(Ll(r,5),TP(n,o,a),u,1859775393,d[l]):l<60?Ph(Ll(r,5),cZ(n,o,a),u,2400959708,d[l]):Ph(Ll(r,5),TP(n,o,a),u,3395469782,d[l]),u=a,a=o,o=Ll(n,30),n=r,r=f;var v;return t[0]=nf(r,t[0]),t[1]=nf(n,t[1]),t[2]=nf(o,t[2]),t[3]=nf(a,t[3]),t[4]=nf(u,t[4]),t}function dZ(e,t,r,n){let o;const a=15+(t+65>>>9<<4),u=t+r;for(;e.length<=a;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[a]=4294967295&u,e[a-1]=u/4294967296|0,o=0;o<e.length;o+=16)n=N$(e.slice(o,o+16),n);return n}class hZ extends class{constructor(t,r,n){const o=n||{};if(this.t=r,this.i=o.encoding||"UTF8",this.numRounds=o.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.s=t,this.o=[],this.h=0,this.u=!1,this.l=0,this.A=!1,this.p=[],this.R=[]}update(t){let r,n=0;const o=this.U>>>5,a=this.T(t,this.o,this.h),u=a.binLen,f=a.value,l=u>>>5;for(r=0;r<l;r+=o)n+this.U<=u&&(this.F=this.m(f.slice(r,r+o),this.F),n+=this.U);this.l+=n,this.o=f.slice(n>>>5),this.h=u%this.U,this.u=!0}getHash(t,r){let n,o,a=this.g;const u=CP(r);if(this.B){if(u.outputLen===-1)throw new Error("Output length must be specified in options");a=u.outputLen}const f=xP(t,a,this.v,u);if(this.A&&this.Y)return f(this.Y(u));for(o=this.H(this.o.slice(),this.h,this.l,this.C(this.F),a),n=1;n<this.numRounds;n+=1)this.B&&a%32!=0&&(o[o.length-1]&=16777215>>>24-a%32),o=this.H(o,a,0,this.I(this.s),a);return f(o)}setHMACKey(t,r,n){if(!this.L)throw new Error("Variant does not support HMAC");if(this.u)throw new Error("Cannot set MAC key after calling update");const o=mE(r,(n||{}).encoding||"UTF8",this.v);this.M(o(t))}M(t){const r=this.U>>>3,n=r/4-1;let o;if(this.numRounds!==1)throw new Error("Cannot set numRounds with MAC");if(this.A)throw new Error("MAC key already set");for(r<t.binLen/8&&(t.value=this.H(t.value,t.binLen,0,this.I(this.s),this.g));t.value.length<=n;)t.value.push(0);for(o=0;o<=n;o+=1)this.p[o]=909522486^t.value[o],this.R[o]=1549556828^t.value[o];this.F=this.m(this.p,this.F),this.l=this.U,this.A=!0}getHMAC(t,r){const n=CP(r);return xP(t,this.g,this.v,n)(this.N())}N(){let t;if(!this.A)throw new Error("Cannot call getHMAC without first setting MAC key");const r=this.H(this.o.slice(),this.h,this.l,this.C(this.F),this.g);return t=this.m(this.R,this.I(this.s)),t=this.H(r,this.g,this.U,t,this.g),t}}{constructor(t,r,n){if(t!=="SHA-1")throw new Error("Chosen SHA variant is not supported");super(t,r,n);const o=n||{};this.L=!0,this.Y=this.N,this.v=-1,this.T=mE(this.t,this.i,this.v),this.m=N$,this.C=function(a){return a.slice()},this.I=fZ,this.H=dZ,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,o.hmacKey&&this.M(function(a,u,f,l){const d=a+" must include a value and format";if(!u)throw new Error(d);if(u.value===void 0||!u.format)throw new Error(d);return mE(u.format,u.encoding||"UTF8",f)(u.value)}("hmacKey",o.hmacKey,this.v))}}var qs=(e=>(e.CvApSoutheast1="cv-ap-southeast-1",e.CvApSoutheast2="cv-ap-southeast-2",e.CvEuWest1="cv-eu-west-1",e.CvNaWest1="cv-na-west-1",e))(qs||{});const pZ={systemName:qs.CvApSoutheast1},gZ={systemName:qs.CvApSoutheast2},vZ={systemName:qs.CvEuWest1},mZ={systemName:qs.CvNaWest1},yZ={CvApSoutheast1:pZ,CvApSoutheast2:gZ,CvEuWest1:vZ,CvNaWest1:mZ},AP="r",Tg="cv:r",Ag="cv:r:e",kh="referrer",RP="cv:originalReferrer",c1=28800,OP=["internalReferrer"],M$={getDecodedAttributionData(){const e=Bn.cacheGet(Tg);if(e&&Object.keys(e).length>0)return e;const t=IP();return t==null?void 0:t.decoded},getEncodedAttributionData(){const e=Bn.cacheGet(Ag);return e!=null&&e.length?e:IP().encoded},getProfileId(){const e=M$.getDecodedAttributionData();return(e==null?void 0:e.profileId)??null}};function IP(){const e=Bn.cacheGet(Tg),t=Bn.cacheGet(Ag);return N_(e)?{encoded:t,decoded:e}:wZ()}function wZ(){Bn.cacheRemove(Tg),Bn.cacheRemove(Ag);const e=SZ(),t=_Z(e);if(t)return PP(e,t),{decoded:t,encoded:e};const r={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:EZ()},n=bZ(r);return PP(n,r),{decoded:r,encoded:n}}function N_(e){return!e||typeof e!="object"||Object.keys(e).length<OP.length?!1:OP.every(t=>typeof e[t]=="string")}function EZ(){const e=Bn.cacheGet(RP);if(e&&typeof e=="string")return e;let t=document.referrer??"";if(window.URLSearchParams){const r=new URLSearchParams(window.location.search),n=r.has(kh)&&r.get(kh);r.has(kh)&&r.get(kh)&&(t=n)}return t&&Bn.cacheSet(RP,t,c1),t}function SZ(){if(!window.URLSearchParams)return;const e=new URLSearchParams(window.location.search);if(e.has(AP))return e.get(AP)}function _Z(e){if(e)try{const t=atob(e),r=JSON.parse(t);if(!N_(r))throw Error(`Decoded R value is invalid: ${JSON.stringify(r)}`);return r}catch(t){const r=t instanceof Error?t.message:t==null?void 0:t.toString();console.error(r)}}function bZ(e){if(N_(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function PP(e,t){try{Bn.cacheSet(Tg,t,c1),Bn.cacheSet(Ag,e,c1)}catch{console.error("Could not store attribution data in session storage")}}const kP=3,xZ=5e3,CZ=6,yE={};class TZ{constructor(t){this.key=t.toString()}getCount(){return yE[this.key]||0}increment(){yE[this.key]=this.getCount()+1}reset(){delete yE[this.key]}shouldBreak(){return this.getCount()>=CZ}}class AZ{constructor(){this.attempt=0}async wait(){await new Promise(t=>setTimeout(t,xZ*Math.pow(2,this.attempt))),this.attempt++}}async function RZ(e,t){const r=new AZ,n=new TZ(e);async function o(){const a=await fetch(e,t);if(a.status>=500&&!n.shouldBreak())throw new Error(`Server error: ${a.status}`);return a.ok&&n.reset(),a}for(let a=1;a<=kP;a++)try{return await o()}catch(u){if(a>=kP||n.shouldBreak())throw u;n.increment(),await r.wait()}}var Lh,OZ=new Uint8Array(16);function IZ(){if(!Lh&&(Lh=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!Lh))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Lh(OZ)}const PZ=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function M_(e){return typeof e=="string"&&PZ.test(e)}var Zn=[];for(var wE=0;wE<256;++wE)Zn.push((wE+256).toString(16).substr(1));function kZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Zn[e[t+0]]+Zn[e[t+1]]+Zn[e[t+2]]+Zn[e[t+3]]+"-"+Zn[e[t+4]]+Zn[e[t+5]]+"-"+Zn[e[t+6]]+Zn[e[t+7]]+"-"+Zn[e[t+8]]+Zn[e[t+9]]+"-"+Zn[e[t+10]]+Zn[e[t+11]]+Zn[e[t+12]]+Zn[e[t+13]]+Zn[e[t+14]]+Zn[e[t+15]]).toLowerCase();if(!M_(r))throw TypeError("Stringified UUID is invalid");return r}function LZ(e,t,r){e=e||{};var n=e.random||(e.rng||IZ)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,kZ(n)}function DZ(e){if(!M_(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const LP="cv:session:",DP="cv:window:",NZ=new Date(864e13).getTime(),NP=18e5,MZ=4;function $$(e){if(e===Yo.LocalStorage)return Bn.isAvailable()?Bn:SI;if(e===Yo.SessionStorage)return bp.isAvailable()?bp:SI}function MP(e){return e===!1?NZ:new Date().getTime()+e}function $Z(){return LZ()}function FZ(e){return e?new Date().getTime()>e:!1}function jZ(e){return!(typeof e!="object"||typeof(e==null?void 0:e.id)!="string"||!M_(e.id)||DZ(e.id)!==MZ||typeof(e==null?void 0:e.ttl)!="number"||(e==null?void 0:e.ttl)<=0||isNaN(e==null?void 0:e.ttl))}function $P(e,t,r){const n=$$(r);if(!(n!=null&&n.isAvailable()))return;const o=e+(t||"0");n.remove(o)}function FP(e,t,r,n){const o=$$(r),a=e+(t||"0"),u=o.get(a);if(!jZ(u)||FZ(u==null?void 0:u.ttl)){const l={id:$Z(),ttl:MP(n)};return o.set(a,l),l.id}const f={id:u.id,ttl:MP(n)};return o.set(a,f),u.id}let EE=!1;const jP={getClientSessionData(e){const t=FP(LP,e,Yo.LocalStorage,NP),r=FP(DP,e,Yo.SessionStorage,EE?!1:NP);return!t&&!r?null:{id:t,windowId:r}},resetClientSession(e){$P(LP,e,Yo.LocalStorage),$P(DP,e,Yo.SessionStorage)},lockWindowSession(){EE=!0},unlockWindowSession(){EE=!1}},Tu={isObject(e){const t=typeof e;return t==="function"||t==="object"&&!!e},isFunction(e){return typeof e=="function"}},Sr={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/^(?!.*Edge).*Chrome/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i},Vs="Unknown";function Dl(e,t,r){const n=t.exec(r)||[];let[o]=n;return o||(o=Vs),{name:e,version:o}}function hu(e,t,r){if(!t)return{name:e,version:Vs};const n=t.exec(r),o=n&&n.length?n[0].trim():Vs;return{name:e,version:o}}function UZ(e,t){const r={name:e,version:null};return Sr.win2000.test(t)&&(r.version="2000"),Sr.winXP.test(t)&&(r.version="XP"),Sr.winVista.test(t)&&(r.version="Vista"),Sr.win7.test(t)&&(r.version="7"),Sr.win8.test(t)&&(r.version="8"),Sr.win81.test(t)&&(r.version="8.1"),Sr.win10.test(t)&&(r.version="10"),r.version||(r.version=Vs),r}const UP={getDeviceType(){const e=window.navigator.userAgent;return Sr.mobileDevice.test(e)?Sr.iphone.test(e)?"iPhone":Sr.ipad.test(e)?"iPad":Sr.android.test(e)?"Android":Sr.blackberry.test(e)?"Blackberry":Sr.windowsPhone.test(e)?"Windows Phone":Vs:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return Sr.android.test(e)?hu("Android",Sr.androidVersion,e):Sr.iphone.test(e)||Sr.ipad.test(e)?hu("iOS",Sr.iosVersion,e):Sr.linux.test(e)?hu("Linux",null,e):Sr.unix.test(e)?hu("Unix",null,e):Sr.mac.test(e)?hu("Macintosh",Sr.osxVersion,e):Sr.windows.test(e)?UZ("Windows",e):Sr.blackberry.test(e)?hu("BlackBerry",Sr.blackberryVersion,e):Sr.windowsPhone.test(e)?hu("Windows Phone",Sr.windowsPhoneVersion,e):{name:Vs,version:Vs}},getBrowser(){const e=window.navigator.userAgent;return Sr.chrome.test(e)?Dl("Chrome",Sr.generalVersion,e):Sr.firefox.test(e)?Dl("Firefox",Sr.generalVersion,e):Sr.safari.test(e)?Dl("Safari",Sr.generalVersion,e):Sr.ie.test(e)?Dl("Internet Explorer",Sr.ieVersion,e):Sr.edge.test(e)?Dl("Edge",Sr.edgeVersion,e):Sr.opera.test(e)?Dl("Opera",Sr.operaVersion,e):{name:Vs,version:Vs}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)}},VZ=28800,VP="cv:utmparams",f1=[["source","utm_source"],["medium","utm_medium"],["campaign","utm_campaign"],["term","utm_term"],["content","utm_content"]],HZ=f1.reduce((e,[t])=>({...e,[t]:t}),{}),F$={getUtmParameters(){if(!window.URLSearchParams)return null;const e=new URLSearchParams(window.location.search),t={},r=([n,o])=>{e.has(o)&&(t[n]=e.get(o))};return f1.forEach(r),HP(t)},setUtmParameters(e){if(!e)return null;const t={},r=n=>{HZ[n]&&(t[n]=e[n])};return Object.keys(e).forEach(r),HP(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;const e=new URLSearchParams,t=F$.getUtmParameters();return t?(f1.forEach(([r,n])=>{t[r]&&e.set(n,t[r])}),e):null}};function HP(e){if(Object.keys(e).length)return Bn.cacheSet(VP,e,VZ),e;const t=Bn.cacheGet(VP);return t&&typeof t=="object"&&Object.keys(t).length?t:null}const BZ="2.3.0",zZ={version:BZ},WZ="zXJL9nOHxzDlMUDjiP41",BP="unknown";class qZ{constructor(t){this.options=t,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=F$.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=M$.getDecodedAttributionData())}get name(){return"CollectionApiClient"}async log(t){if(Array.isArray(t))return this.logBulk(t);this.shouldLog(t)&&(this.validateEvent(t),await this.postData(await this.formatData(t)))}async logBulk(t){const r=t.filter(o=>this.shouldLog(o));if(!r.length)return;r.forEach(o=>this.validateEvent(o));const n=await Promise.all(r.map(o=>this.formatData(o)));await this.postData(n)}validateOptions(){if(!Tu.isFunction(this.options.getUser))throw new Error("getUser option is required.")}shouldLog(t){return Tu.isFunction(this.options.shouldLog)?this.options.shouldLog(t):!0}async postData(t){const r=await this.getRegionalUrl(this.options.collectionApiUrls),n=JSON.stringify(t),o={"Content-Type":"application/json",...this.getSignatureHeader(n)};let a=l1.safeUrlConcat(r,"/v1/ingest");Array.isArray(t)&&(a=l1.safeUrlConcat(a,"/bulk"));try{const u=await RZ(a,{method:"POST",mode:"cors",headers:o,body:n});u.ok||this.logError(new Error(`CollectionApiClient failed to log event. Status: ${u.status} ${u.statusText}`),!1,this.getResponseAsObject(u))}catch(u){this.logError(u)}}getResponseAsObject(t){return{headers:t.headers,ok:t.ok,redirected:t.redirected,status:t.status,statusText:t.statusText,type:t.type,url:t.url,body:t.text()}}getSignatureHeader(t){const r=new hZ("SHA-1","TEXT",{hmacKey:{value:WZ,format:"TEXT",encoding:"UTF8"}});return r.update(t),{"cv-analytics-signature":`${this.options.collectionApiClientId}.${r.getHash("B64")}`}}async getRegionalUrl(t){switch((await this.getRegion()).systemName){case qs.CvEuWest1:return t.cvEuWest1;case qs.CvApSoutheast2:return t.cvApSoutheast2;case qs.CvNaWest1:return t.cvNaWest1;case qs.CvApSoutheast1:default:return t.cvApSoutheast1}}validateEvent(t){typeof t.type!="string"&&this.logError(new Error("Event type is required."),!0),Tu.isObject(t.actionContext)||this.logError(new Error("Event actionContext is required."),!0),t.actionContext.entity||this.logError(new Error("Event actionContext entity is required."),!0)}async formatData(t){return{type:t.type,data:await this.getEventData(t),metadata:this.getEventMetadata(t)}}async getEventData(t){const r=t.actionContext,n=this.getPlatformMetadata(),o=await this.getUserData(),a=await this.getSessionData(),u={name:this.options.productName,version:this.options.productVersion};this.options.productVariant&&(u.variant=this.options.productVariant);const f={user:o,action:r,platform:n,product:u,session:a};this.utmParameters&&(f.utm=this.utmParameters);const l=this.extractData(t),d=Object.keys(f).map(p=>p.toLowerCase()),v=Object.keys(l).map(p=>p.toLowerCase());return d.forEach(p=>{v.includes(p)&&this.logError(new Error(`${p} is a reserved key.`),!0)}),{...f,...l}}extractData(t){return Tu.isFunction(this.options.formatData)?this.options.formatData(t):{[t.actionContext.entity]:t.data}}async getUserData(){var r,n,o,a;let t;try{t=await((n=(r=this.options).getProfileId)==null?void 0:n.call(r))}catch(u){this.logError(u)}try{const u=await this.options.getUser();return u!=null&&u.id?{id:u.id,role:((o=u.role)==null?void 0:o.toLowerCase())||BP,userGroup:((a=u.userGroup)==null?void 0:a.toLowerCase())||wN.Unknown,yearGroup:this.normalizeYearGroup(u.yearGroup),profileId:t,customer:{id:u.customerId,name:u.customerName,customerGuid:u.customerGuid,crmId:u.crmId,country:u.countryCode,region:await this.getRegion(),openCustomer:!1,accessPolicy:u.accessPolicy}}:t?{profileId:t}:void 0}catch(u){this.logError(u)}}async getRegion(){let t=this.options.regionName;try{const r=await this.options.getUser();r!=null&&r.instanceRegion&&(t=r.instanceRegion)}catch(r){this.logError(r)}return t||this.logError(new Error("RegionName is not set."),!0),this.getRegionByName(t.toLowerCase())}async getSessionData(){try{const t=await this.options.getUser();return{...jP.getClientSessionData(t==null?void 0:t.id),authSessionId:t==null?void 0:t.sessionId}}catch(t){return console.error(t),jP.getClientSessionData(null)}}getPlatformMetadata(){var r,n;const t={url:window.location.href,referrer:document.referrer};return(r=this.attributionData)!=null&&r.internalReferrer&&(t.internalReferrer=this.attributionData.internalReferrer),(n=this.attributionData)!=null&&n.originalReferrer&&(t.originalReferrer=this.attributionData.originalReferrer),{browser:UP.getBrowser(),os:UP.getOperatingSystem(),request:t,screenResolution:`${window.screen.width}x${window.screen.height}`,viewportResolution:`${window.innerWidth}x${window.innerHeight}`}}getEventMetadata(t){return{client:{name:`${this.name}.ts`,version:zZ.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:t.eventVersion}}getRegionByName(t){let r;return Object.values(yZ).forEach(n=>{n.systemName===t&&(r=n)}),r}normalizeYearGroup(t){return t?t.toLowerCase().split(" ").join("_"):BP}logError(t,r,...n){if(this.options.logError&&this.options.logError(t,...n),r)throw t}}const Op=class Op extends Wi{constructor(t){super(t)}shouldLog(t){return!0}log(t){}isType(t){return t===Op.type}};Op.type="BaseAnalyticsClient";let d1=Op;class GZ extends d1{get name(){return"DebuggerClient"}shouldLog(){return eg.isDevelopment}log(t){const r=X1(t);for(const n in t){const o=r[n];(o instanceof Ks||o instanceof Zp)&&(r[n]=o.toJSON())}console.log("Event Debugger: ",r)}}const pr={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/(^(?!.*Edge).*Chrome)|(CriOS)/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i,tablet:/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i,mobile:/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/},Hs="Unknown";function Nl(e,t,r){const n=t.exec(r)||[];let[o]=n;return o||(o=Hs),{browser:e,version:o}}function pu(e,t,r){if(!t)return{os:e,version:Hs};const n=t.exec(r),o=n&&n.length?n[0].trim():Hs;return{os:e,version:o}}function YZ(e,t){const r={os:e};return pr.win2000.test(t)&&(r.version="2000"),pr.winXP.test(t)&&(r.version="XP"),pr.winVista.test(t)&&(r.version="Vista"),pr.win7.test(t)&&(r.version="7"),pr.win8.test(t)&&(r.version="8"),pr.win81.test(t)&&(r.version="8.1"),pr.win10.test(t)&&(r.version="10"),r.version||(r.version=Hs),r}const wf={getDeviceType(){const e=window.navigator.userAgent;return pr.mobileDevice.test(e)?pr.iphone.test(e)?"iPhone":pr.ipad.test(e)?"iPad":pr.android.test(e)?"Android":pr.blackberry.test(e)?"Blackberry":pr.windowsPhone.test(e)?"Windows Phone":Hs:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return pr.android.test(e)?pu("Android",pr.androidVersion,e):pr.iphone.test(e)||pr.ipad.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?pu("iOS",pr.iosVersion,e):pr.linux.test(e)?pu("Linux",null,e):pr.unix.test(e)?pu("Unix",null,e):pr.mac.test(e)?pu("Macintosh",pr.osxVersion,e):pr.windows.test(e)?YZ("Windows",e):pr.blackberry.test(e)?pu("BlackBerry",pr.blackberryVersion,e):pr.windowsPhone.test(e)?pu("Windows Phone",pr.windowsPhoneVersion,e):{os:Hs,version:Hs}},getBrowser(){const e=window.navigator.userAgent;return pr.chrome.test(e)?Nl("Chrome",pr.generalVersion,e):pr.firefox.test(e)?Nl("Firefox",pr.generalVersion,e):pr.safari.test(e)?Nl("Safari",pr.generalVersion,e):pr.ie.test(e)?Nl("Internet Explorer",pr.ieVersion,e):pr.edge.test(e)?Nl("Edge",pr.edgeVersion,e):pr.opera.test(e)?Nl("Opera",pr.operaVersion,e):{browser:Hs,version:Hs}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)},isTabletOrMobile(){return wf.isTouchScreen()?pr.tablet.test(navigator.userAgent)||pr.mobile.test(navigator.userAgent):!1},isAndroid(){return wf.getOperatingSystem().os==="Android"},isIOS(){return wf.getOperatingSystem().os==="iOS"}},Ip=class Ip extends Wi{enrich(t,r){}isType(t){return t===Ip.type}};Ip.type="BaseAnalyticsEnricher";let h1=Ip;class KZ extends h1{constructor(t){super(t),this.productName=t.productName,this.productVersion=t.productVersion}get name(){return"CoreContextEnricher"}shouldEnrich(t){return!0}enrich(t,r){this.shouldEnrich(t)||r(t),t.enrich("coreContext",this.getCoreContext()),r(t)}getCoreContext(){return{timestamp:this.getTimestamp(),product:this.getProductInfo(),request:this.getRequestInfo(),client:this.getClientInfo()}}getTimestamp(){return Lu.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:Yr.GetCurrentReferrer(),requestUrl:Yr.GetCurrentUrl()}}getClientInfo(){const t=wf.getOperatingSystem(),r=wf.getBrowser();return{os:t.os,osVersion:t.version,browser:r.browser,browserVersion:r.version,screenResolution:`${window.screen.width}x${window.screen.height}`,viewportResolution:`${window.innerWidth}x${window.innerHeight}`}}}class XZ extends qu{}class QZ extends XZ{get name(){return"EventTransport"}get channelName(){return"event:transport"}publish(t){this.getChannel().trigger(Gl.Outlet,t)}subscribe(t){const r=t,n=o=>{lo.isFunction(r.shouldLog)&&!r.shouldLog(o)||t.log(o)};yr(r.listenTo)?r.listenTo(this.getChannel(),Gl.Outlet,n):this.listenTo(this.getChannel(),Gl.Outlet,n)}}const wn={passthrough(e){return e}},jt={allow:()=>!0,restrict:()=>!1},JZ={getShareData(e){var a,u,f,l;const{id:t,search:r,pagePositionIndex:n}=e,o={id:t,search:r,pagePositionIndex:n};return(a=e.video)!=null&&a.id&&(o.video={id:e.video.id}),(u=e.clip)!=null&&u.id&&(o.clip={id:e.clip.id},(f=e.clip.video)!=null&&f.id&&(o.video={id:(l=e.clip.video)==null?void 0:l.id})),e.shareCount!==void 0&&(o.shareCount=e.shareCount),e.embedDetails&&(o.embedDetails=o.embedDetails),o}},Vl={getUploadData(e,t){const{entity:r}=t.actionContext;if(r===Wr.Video)return Vl.formatVideoUpload(e,t);if(r===Wr.Resource||r===Wr.Subtitle)return Vl.formatResourceUpload(e);if(r===Wr.Banner||r===Wr.Thumbnail||r===Wr.MixedMedia)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload(e,t){const{workflowPhase:r}=t.actionContext;if(r===Na.Start)return Vl.getStartVideoUploadData(e);if(r===Na.Discard)return Vl.getDiscardVideoUploadData(e);if(r===Na.Complete)return Vl.getCompleteUploadData(e)},getStartVideoUploadData(e){return!e||!e.length?[]:(e instanceof FileList&&(e=Array.from(e)),e.map(t=>({fileName:t.name,size:t.size,type:t.type,count:e.length})))},getDiscardVideoUploadData(e){const t=r=>{const{type:n,name:o,status:a,cvUpload:u}=r.file,f={fileName:o,count:Array.isArray(e)?e.length:1,type:n,status:a};return r.progress&&(f.progress=r.progress.toFixed(2)),u&&(f.uploadId=u.uploadId),f};return Array.isArray(e)?e.map(r=>t(r)):[t(e)]},getCompleteUploadData(e){return!e||!e.length?[]:e.map(t=>{const{fileName:r,libraryId:n,folderId:o,autoCaption:a}=t;return{fileName:r,libraryId:n,folderId:o,autoCaption:a,count:e.length}})},formatResourceUpload(e){const{id:t,name:r}=e,n={id:t,name:r};return Tu.isObject(e.metadata)&&(n.type=e.metadata.type),n}},ZZ={[ht.Navigate]:jt.restrict,[ht.Click]:jt.allow,[ht.Search]:jt.allow,[ht.InstantSearch]:jt.allow,[ht.Play]:jt.allow,[ht.Stream]:jt.allow,[ht.WebPlayerStream]:jt.allow,[ht.StreamProgress]:jt.allow,[ht.Rename]:jt.allow,[ht.Move]:jt.allow,[ht.Create]:jt.allow,[ht.Delete]:jt.allow,[ht.Associate]:jt.allow,[ht.Dissociate]:jt.allow,[ht.Filter]:jt.allow,[ht.Sort]:jt.allow,[ht.Approve]:jt.allow,[ht.Reject]:jt.allow,[ht.Disable]:jt.allow,[ht.Upload]:jt.allow,[ht.Download]:jt.allow,[ht.SetAccess]:jt.allow,[ht.AddToLocalCache]:jt.restrict,[ht.Share]:jt.allow,[ht.Unshare]:jt.allow,[ht.Edit]:jt.allow,[ht.Suggest]:jt.allow,[ht.Favourite]:jt.allow,[ht.WorkspaceAdd]:jt.allow,[ht.ResolveWarning]:jt.allow,[ht.DismissWarning]:jt.allow,[ht.EditAssoc]:jt.allow,[ht.Follow]:jt.allow,[ht.Print]:jt.allow,[ht.Copy]:jt.allow,[ht.Activate]:jt.allow,[ht.VerifyEmail]:jt.allow,[ht.ChangePassword]:jt.allow,[ht.Export]:jt.allow,[ht.SendEmail]:jt.allow,[ht.Publish]:jt.allow,[ht.Submit]:jt.allow,[ht.Complete]:jt.allow,[ht.Archive]:jt.allow,[ht.Promote]:jt.allow,[ht.Demote]:jt.allow,[ht.BulkAction]:jt.allow,[ht.Remove]:jt.allow,[ht.Dismiss]:jt.allow,[ht.Open]:jt.allow,[ht.Hide]:jt.allow,[ht.PageView]:jt.allow,[ht.Select]:jt.allow,[ht.SwitchCustomer]:jt.allow,[ht.Focus]:jt.allow,[ht.Blur]:jt.allow,[ht.Hover]:jt.allow,[ht.Unhover]:jt.allow},eee={[ht.Search]:wn.passthrough,[ht.InstantSearch]:wn.passthrough,[ht.Play]:wn.passthrough,[ht.Stream]:wn.passthrough,[ht.StreamProgress]:wn.passthrough,[ht.Click]:wn.passthrough,[ht.Filter]:wn.passthrough,[ht.Sort]:wn.passthrough,[ht.SetAccess]:wn.passthrough,[ht.Approve]:wn.passthrough,[ht.Reject]:wn.passthrough,[ht.Create]:wn.passthrough,[ht.Delete]:wn.passthrough,[ht.Rename]:wn.passthrough,[ht.Move]:wn.passthrough,[ht.Edit]:wn.passthrough,[ht.Share]:JZ.getShareData,[ht.Disable]:wn.passthrough,[ht.Suggest]:wn.passthrough,[ht.Upload]:Vl.getUploadData,[ht.ResolveWarning]:wn.passthrough,[ht.DismissWarning]:wn.passthrough,[ht.Follow]:wn.passthrough,[ht.Print]:wn.passthrough,[ht.Copy]:wn.passthrough},zP={[ht.Search]:()=>"search",[ht.InstantSearch]:()=>"search",[ht.Filter]:()=>"filter",[ht.Stream]:()=>Wr.Video},WP={user:"target_user",product:"target_product"},tee={[ht.StreamProgress]:!0,[ht.WebPlayerStream]:!0},qP={shouldLog(e){return!!ZZ[e.type](e)},formatData(e){const t=eee[e.type],r=Tu.isFunction(t)?t(e.data,e):e.data;if(tee[e.type])return r;let n=e.actionContext.entity;return Tu.isFunction(zP[e.type])&&(n=zP[e.type](e)),WP[n]&&(n=WP[n]),{[n]:r}}},ree="staff";async function nee(e){try{return await Ti(e.store,Ri.accessPolicy())}catch{return null}}const j$={async getUser(e){const t=await Ti(e.store,Ri.currentUser());if(!t.isAuthenticated)return null;const r=Ti(e.store,A$.customer(t.customerId)),n=Ti(e.store,Ri.user(t.id)),o=nee(e);return j$.mapCurrentUserToAnalyticsUser(t,await n,await r,await o)},mapCurrentUserToAnalyticsUser(e,t,r,n){var a;const o=yu.getUserType(t);return{id:e==null?void 0:e.id,countryCode:e==null?void 0:e.countryCode,contentRegion:e==null?void 0:e.contentRegion,instanceRegion:e==null?void 0:e.instanceRegion,customerId:e==null?void 0:e.customerId,customerGuid:r==null?void 0:r.customerGuid,customerName:e==null?void 0:e.customerName,crmId:r==null?void 0:r.crmId,role:e==null?void 0:e.role,sessionId:e==null?void 0:e.sessionId,userGroup:o,yearGroup:o===mf.Staff?ree:(a=t==null?void 0:t.masterYearGroup)==null?void 0:a.name,accessPolicy:n==null?void 0:n.id}}},iee={logError(e,...t){var r;lo.isFunction(trackJs==null?void 0:trackJs.track)&&(t&&lo.isFunction((r=trackJs.console)==null?void 0:r.info)&&trackJs.console.info(...t),trackJs.track(e))}};async function oee(e,t){const[r,n]=await Promise.all([Ti(e.store,Ri.currentUser()),Ti(e.store,Va.config())]),o=Ti(e.store,Va.version()),a=new lZ({user:r,config:n});zs.registerSingleton(a),a.registerTransport(QZ),a.registerClient(GZ);const u=await o;a.registerClient(qZ,{productName:"exchange.web",productVersion:u,regionName:r.instanceRegion,collectionApiUrls:n.collectionApiUrls,collectionApiClientId:n.collectionApiClientId,getUser:()=>j$.getUser(e),shouldLog:qP.shouldLog,formatData:qP.formatData,logError:iee.logError,logUtmParameters:!0}),a.registerEnricher(KZ,{productName:"ClickView Exchange",productVersion:u}),t(e)}async function see(e,t){try{const r=await Ti(e.store,Va.config());u1.initialize({product:no.Primary,liteSupportSiteUrl:r.liteSupportSiteUrl})}finally{t(e)}}const GP={locale(){return{url:"/api/locale",key:"locale",bootstrapName:Du.LOCALE}},phrases(){return{url:"/api/phrases",key:"phrases",bootstrapName:Du.PHRASES}}};async function aee(e,t){let r;try{r=Ti(e.store,GP.phrases());const n=Ti(e.store,GP.locale());fr.setConfig({locale:await n,phrases:await r})}catch(n){console.error(n)}finally{t(e)}}class uee extends Wi{constructor(t){super(),this.size=t.size,this.cache={},this.cachedkeys=[],this.store=t.store}get name(){return Ap.Fifo}removeCacheKey(t){this.cachedkeys=lp(this.cachedkeys,t)}has(t){return!!this.cache[t]}get(t){return this.cache[t]}set(t,r){(!t||!r)&&Mt.throw(new Hr("Must provide a cache key and a value to cache in FifoMemoryCache.")),this.has(t)&&this.removeCacheKey(t),this.cachedkeys.push(t),this.cache[t]=r,this.cachedkeys.length>this.size&&delete this.cache[this.cachedkeys.shift()]}getOrSet(t,r){if(this.has(t))return this.get(t);const n=r();return this.set(t,n),n}remove(t){return this.has(t)?(delete this.cache[t],this.removeCacheKey(t),!0):!1}invalidate(t,r,n=!1){const o=bS(this.cachedkeys,this.cachedkeys);let a=[];zn(t,u=>{o[u]&&a.push(u);const f=new RegExp(u,"i"),l=Js(o,d=>f.test(d));a.push(...l)}),a.length&&(a=ju(a),zn(a,u=>{delete this.cache[u],yr(r)&&r(u)}),this.cachedkeys=lp(this.cachedkeys,...a)),!(!this.store||!n)&&this.store.dispatch({type:bi.INVALIDATE,keys:t})}}function lee(e,t){zs.registerInstance(uee,{size:100}),t(e)}var wu=(e=>(e[e.Unknown=0]="Unknown",e[e.BadRequest=1]="BadRequest",e[e.Unauthorized=2]="Unauthorized",e[e.Forbidden=3]="Forbidden",e[e.NotFound=4]="NotFound",e[e.InternalServer=5]="InternalServer",e))(wu||{});const cee={type:wu.Unknown,message:"",code:0},fee={parseErrorMessage(e,t,r){if(!r||!r.errorCode)return e[t];let n=`${r.errorCode}`;return r.errorSubCode&&(n+=`.${r.errorSubCode}`),e[n]||e[t]}};class dee extends qu{constructor(t){super(t),$.ajaxSetup({cache:t.cacheRequests??!1,contentType:"application/json; charset=utf-8"}),this.successMiddleware={},this.errorMiddleware={},this.dataServiceErrorMessageMappings=t.dataServiceErrorMessageMappings,this.defaultErrorMessageKey=t.defaultErrorMessageKey}get name(){return Rp.Ajax}parseUrl(t){const r=document.createElement("a");return r.href=t,r.host===""&&(r.href=r.href),r}makeHttps(t){const r=this.parseUrl(t);return r.protocol==="http:"&&(r.protocol="https:"),r.href}base(t,r,n,o={}){n||(n=di.GET);const a=$e.defaults(o,{forceHttps:!1}),u={url:t,method:n,type:n};r&&(u.data=n===di.POST||n===di.PUT?JSON.stringify(r):r),a.forceHttps&&(u.url=this.makeHttps(u.url)),a.traditional&&(u.traditional=a.traditional);const f=$.ajax(u);return $e.keys(this.successMiddleware).length&&f.done($e.values(this.successMiddleware)),$e.keys(this.errorMiddleware).length&&f.fail($e.values(this.errorMiddleware)),f}create(t,r,n){const{channel:o,successEvent:a,errorEvent:u}=n;this.base(t,r,di.POST).done((f,l,d)=>o.trigger(a,f,l,d)).fail((f,l,d)=>o.trigger(u,f,l,d))}read(t,r){const{channel:n,successEvent:o,errorEvent:a}=r;this.base(t,null,di.GET).done((u,f,l)=>{n.trigger(o,u,f,l)}).fail((u,f,l)=>{n.trigger(a,u,f,l)})}update(t,r,n){const{channel:o,successEvent:a,errorEvent:u}=n;this.base(t,r,di.PUT).done((f,l,d)=>o.trigger(a,f,l,d)).fail((f,l,d)=>o.trigger(u,f,l,d))}delete(t,r){const{channel:n,successEvent:o,errorEvent:a}=r;this.base(t,null,di.DELETE).done((u,f,l)=>n.trigger(o,u,f,l)).fail((u,f,l)=>n.trigger(a,u,f,l))}useMiddleware(t,r){this.successMiddleware[t]||(this.successMiddleware[t]=r)}useErrorMiddleware(t,r){this.errorMiddleware[t]||(this.errorMiddleware[t]=r)}parseError(t){const r=t.responseJSON,n=cee;switch(n.code=t.status,n.message=fee.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,r),t.status){case 400:n.type=wu.BadRequest;break;case 401:n.type=wu.Unauthorized;break;case 403:n.type=wu.Forbidden;break;case 404:n.type=wu.NotFound;break;case 500:n.type=wu.InternalServer;break}return n}}function hee(e,t){zs.registerSingleton(new dee({dataServiceErrorMessageMappings:{temp:"Error"},defaultErrorMessageKey:"temp",cacheRequests:!0})),t(e)}window.$=window.jQuery=NF;const $_=new mV({region:"#app",layoutService:new gV({})});$_.addInitializationStep(UQ).addInitializationStep(lee).addInitializationStep(hee).addInitializationStep(aZ).addInitializationStep(aee).addInitializationStep(PJ).addInitializationStep(oee).addInitializationStep(JW).addInitializationStep(HW).addInitializationStep(see);$_.addStartUpStep(VQ);$_.start();export{SX as $,_n as A,Uf as B,o_ as C,Qu as D,NM as E,lo as F,Ua as G,di as H,yu as I,Yl as J,wg as K,fr as L,MM as M,mf as N,KX as O,BM as P,RM as Q,er as R,_P as S,mO as T,Ko as U,Ku as V,FB as W,ws as X,x$ as Y,wV as Z,kl as _,io as a,XD as a$,vee as a0,pi as a1,A$ as a2,Ri as a3,no as a4,aq as a5,Zt as a6,cf as a7,w_ as a8,Ai as a9,Va as aA,pg as aB,wf as aC,Hr as aD,mee as aE,rB as aF,l1 as aG,sP as aH,O_ as aI,X7 as aJ,X8 as aK,m_ as aL,Nr as aM,vu as aN,Go as aO,iB as aP,C$ as aQ,PS as aR,E$ as aS,ro as aT,tQ as aU,AQ as aV,T$ as aW,ZH as aX,AB as aY,RB as aZ,PE as a_,Na as aa,gi as ab,Wr as ac,ht as ad,Yr as ae,$M as af,Ws as ag,gee as ah,RX as ai,hs as aj,xW as ak,_I as al,Wo as am,xg as an,co as ao,Pa as ap,Bn as aq,js as ar,mN as as,Pu as at,kN as au,oB as av,xee as aw,HX as ax,Lu as ay,U5 as az,On as b,bee as b$,tN as b0,ka as b1,kF as b2,Pf as b3,yN as b4,jP as b5,qZ as b6,qP as b7,tB as b8,jE as b9,t8 as bA,ND as bB,q8 as bC,D8 as bD,ed as bE,gc as bF,H8 as bG,FS as bH,ng as bI,f8 as bJ,VS as bK,FD as bL,PD as bM,_8 as bN,AD as bO,g8 as bP,YV as bQ,DD as bR,n8 as bS,td as bT,Y8 as bU,F8 as bV,G8 as bW,kD as bX,z8 as bY,En as bZ,yJ as b_,r_ as ba,fJ as bb,eB as bc,nB as bd,zH as be,qD as bf,sB as bg,QE as bh,g_ as bi,qs as bj,Qw as bk,AM as bl,_i as bm,hf as bn,zt as bo,nq as bp,sq as bq,t1 as br,oq as bs,u1 as bt,OX as bu,IX as bv,See as bw,W8 as bx,ZV as by,vc as bz,Uu as c,_ee as c0,zs as c1,BW as c2,cg as c3,Yo as c4,Ru as c5,dg as c6,sc as c7,vN as c8,Mr as d,KB as e,_r as f,ON as g,xB as h,Nf as i,Q as j,Df as k,bW as l,Cee as m,P_ as n,Cg as o,iee as p,Mt as q,ne as r,vP as s,Ah as t,b$ as u,jl as v,FE as w,Nu as x,Kr as y,sr as z};
|