@abtnode/blocklet-services 1.16.34-beta-20241127-121930-0923dfae → 1.16.34-beta-20241129-100152-679bd732
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/api/routes/blocklet.js +32 -0
- package/dist/assets/{Add-B6Ua6q-Z.js → Add-mXZrOf1h.js} +1 -1
- package/dist/assets/{Alert-CWJPPP63.js → Alert-DaafqUlw.js} +1 -1
- package/dist/assets/ArrowBackIos-BubgDQVS.js +1 -0
- package/dist/assets/{ArrowDropDown-BgPwecc9.js → ArrowDropDown-BtoPSHd8.js} +1 -1
- package/dist/assets/{Autocomplete-D3KoPHQM.js → Autocomplete-Bi_-KQfy.js} +1 -1
- package/dist/assets/{Avatar-D2r2PRgc.js → Avatar-Adx9Z0tZ.js} +1 -1
- package/dist/assets/{ButtonGroup-DUcvj0JP.js → ButtonGroup-BWb37jJW.js} +1 -1
- package/dist/assets/{CSSTransition-RPNtr5GO.js → CSSTransition-Dh8w9n01.js} +1 -1
- package/dist/assets/{CheckCircle-sPepMcgF.js → CheckCircle-CgD3tBC-.js} +1 -1
- package/dist/assets/{ChevronLeft-CnA-vGpD.js → ChevronLeft-CYIWlSCI.js} +1 -1
- package/dist/assets/{ChevronRight-BDSOab3L.js → ChevronRight-CwMDvr2n.js} +1 -1
- package/dist/assets/{Close-Bwwj0idf.js → Close-FBVHjH44.js} +1 -1
- package/dist/assets/Delete-CjUdkXlU.js +1 -0
- package/dist/assets/{DeleteOutline-CIxtpsDT.js → DeleteOutline-CzTPA4kL.js} +1 -1
- package/dist/assets/DialogContentText-Dydxe3m7.js +1 -0
- package/dist/assets/{Done-D9WIbYXR.js → Done-PbP-u2lH.js} +1 -1
- package/dist/assets/{Download-CqE0jRjy.js → Download-pBnEdFOD.js} +1 -1
- package/dist/assets/{EditIcon-BZlum5dn.js → EditIcon-D6m2tQ3O.js} +1 -1
- package/dist/assets/{Error-DtG_nJnF.js → Error-HNpddmqm.js} +1 -1
- package/dist/assets/{ExpandMore-5W_549ow.js → ExpandMore-B8oaKzsK.js} +1 -1
- package/dist/assets/FormControl-DD67kWGJ.js +1 -0
- package/dist/assets/{FormControlLabel-BxRswD5v.js → FormControlLabel-BaYmyBlu.js} +1 -1
- package/dist/assets/FormGroup-th0rZzfK.js +1 -0
- package/dist/assets/{Google-qI8npLuN.js → Google-BteNIqNP.js} +1 -1
- package/dist/assets/{Grid-BA09q8_6.js → Grid-DxM3VqDH.js} +1 -1
- package/dist/assets/{HelpOutline-D7SWssuj.js → HelpOutline-DYeyCE3o.js} +1 -1
- package/dist/assets/{Hidden-CxNxqyOD.js → Hidden-CXUMFZRF.js} +1 -1
- package/dist/assets/{InfoOutlined-BFgnejR3.js → InfoOutlined-BJbU1dHl.js} +1 -1
- package/dist/assets/{InputAdornment-DswAHyKT.js → InputAdornment-BjTDlo1K.js} +1 -1
- package/dist/assets/{LastPage-tIk3DwvT.js → LastPage-DnljsHk-.js} +1 -1
- package/dist/assets/{Launch-BBO9P6pW.js → Launch-BeWg-XKa.js} +1 -1
- package/dist/assets/{LaunchOutlined-CHU3XSU7.js → LaunchOutlined-DtUGH3OW.js} +1 -1
- package/dist/assets/Link-BEFhKJq0.js +1 -0
- package/dist/assets/{ListItemButton-CvN22ZX5.js → ListItemButton-G-aWGmX0.js} +1 -1
- package/dist/assets/{ListSubheader-BjVS24fA.js → ListSubheader-CJ8rPs4Q.js} +1 -1
- package/dist/assets/{LoadingButton-BS19Y6Tw.js → LoadingButton-C-EDtX6C.js} +1 -1
- package/dist/assets/{LockIcon-BSrbW2OE.js → LockIcon-CYLVEooE.js} +1 -1
- package/dist/assets/{Loop-CXmGQ_OC.js → Loop-CIgMv9HE.js} +1 -1
- package/dist/assets/{MarkEmailRead-BT2Vq33O.js → MarkEmailRead-BNiANVq1.js} +1 -1
- package/dist/assets/{Menu-DDbT3zvj.js → Menu-BW47wukv.js} +1 -1
- package/dist/assets/{MoreHoriz-DPe0cN5I.js → MoreHoriz-CJmEH65j.js} +1 -1
- package/dist/assets/{MoreVert-C7wRaOtv.js → MoreVert-DLwvbbqd.js} +1 -1
- package/dist/assets/{OpenInNew-CXwMNDRH.js → OpenInNew-K-C4gsO1.js} +1 -1
- package/dist/assets/{Pagination-BAVQqann.js → Pagination-Dq4SzKhv.js} +1 -1
- package/dist/assets/{PlayArrow-cvQuZ8GO.js → PlayArrow-n1twcRud.js} +1 -1
- package/dist/assets/{QuestionMarkCircle-MfFIsz6w.js → QuestionMarkCircle-tCeIxlN3.js} +1 -1
- package/dist/assets/{RadioGroup-Bg1SV6KY.js → RadioGroup-DIin5rK_.js} +1 -1
- package/dist/assets/{Search-BqBCe5ki.js → Search-BMru4B7h.js} +1 -1
- package/dist/assets/{Select-YmfypP2F.js → Select-CDj8XFCr.js} +2 -2
- package/dist/assets/{ServerLogo-BxkjdQYl.js → ServerLogo-DT7vgAES.js} +1 -1
- package/dist/assets/{Skeleton-CACxc5Uz.js → Skeleton-Dq3yy5K4.js} +5 -5
- package/dist/assets/{Slider-CzpmIBcy.js → Slider-BBUwYcyt.js} +1 -1
- package/dist/assets/Stack-ID2bvJFU.js +1 -0
- package/dist/assets/{Stepper-BXsAA8yH.js → Stepper-oTT6WH0K.js} +1 -1
- package/dist/assets/{TextField-BUFHAnNK.js → TextField-GO8E4D8x.js} +1 -1
- package/dist/assets/{Toolbar-JUHTVGzV.js → Toolbar-Kng3WhVc.js} +1 -1
- package/dist/assets/{ViewColumn-jrdyac4S.js → ViewColumn-gNP4x-sg.js} +1 -1
- package/dist/assets/{ViewList-B3smRpWd.js → ViewList-DpyY5ugC.js} +1 -1
- package/dist/assets/{_createAggregator-DYS_Ds6-.js → _createAggregator-Bj6ourdE.js} +1 -1
- package/dist/assets/access-control-BG4EF_hx.js +13 -0
- package/dist/assets/{actions-Dibi1EdH.js → actions-egBtnEJO.js} +1 -1
- package/dist/assets/{add-component-core-DP59PpwH.js → add-component-core-BZjSv5V7.js} +597 -24
- package/dist/assets/add-resource-B4KK4ENF.js +1 -0
- package/dist/assets/{addon-C-v40wwX.js → addon-ChxdyV8s.js} +1 -1
- package/dist/assets/{analytics-CHoNglPk.js → analytics-BNddEk9_.js} +8 -8
- package/dist/assets/api-X6cMA7j1.js +1 -0
- package/dist/assets/ar-BVsNK7VV.js +1 -0
- package/dist/assets/{audit-logs-DtIh4hiz.js → audit-logs-C5ukCiti.js} +1 -1
- package/dist/assets/{base32-DCObnDPa.js → base32-DiHjpMk3.js} +1 -1
- package/dist/assets/{branding-ZQ4CmDsH.js → branding-CNPED9Yg.js} +2 -2
- package/dist/assets/bundle-avatar-BMYoF8YT.js +1 -0
- package/dist/assets/{button-NZaA5M6t.js → button-BUxzyD8I.js} +1 -1
- package/dist/assets/{click-to-copy-2G3TnzwZ.js → click-to-copy-Chph5bbk.js} +1 -1
- package/dist/assets/{complete-CziCaD75.js → complete-BqNLnMea.js} +4 -4
- package/dist/assets/{component-wQAbt5Q3.js → component-CHtRRUTN.js} +1 -1
- package/dist/assets/{config-BcpIe2R7.js → config-5Lv3Gr6U.js} +1 -1
- package/dist/assets/{config-D5SS71IZ.js → config-D1inqCBz.js} +2 -2
- package/dist/assets/{config-navigation-CCtGjPQJ.js → config-navigation-BVn4O5g1.js} +5 -5
- package/dist/assets/{config-space-CXlvk2nD.js → config-space-Bwfds2x7.js} +1 -1
- package/dist/assets/{confirm-CRz8exrR.js → confirm-DF9JbbCJ.js} +2 -2
- package/dist/assets/{connect-DXdc9kWf.js → connect-BFfXSmaa.js} +1 -1
- package/dist/assets/{connect-CNahQIe6.js → connect-BbTj5LFE.js} +1 -1
- package/dist/assets/{connect-to-C0srwZbp.js → connect-to-v0E4vbkK.js} +1 -1
- package/dist/assets/{content-layout-DCC3N0Ow.js → content-layout-BoriYFvl.js} +1 -1
- package/dist/assets/dashboard-vLl8x6aG.js +165 -0
- package/dist/assets/de-jtbglBCV.js +1 -0
- package/dist/assets/{deprecate-FglFs_bk.js → deprecate-DCu9jut5.js} +1 -1
- package/dist/assets/{did-address-BkdwWWEb.js → did-address-DOCLeksL.js} +1 -1
- package/dist/assets/domain-DRA23X8T.js +9 -0
- package/dist/assets/{domain-list-DgXgEmUx.js → domain-list-aULRrT5X.js} +2 -2
- package/dist/assets/{email-C6LgzIfO.js → email-fEPnd-HL.js} +3 -3
- package/dist/assets/emotion-cache.browser.esm-BwirBJuO.js +1 -0
- package/dist/assets/es-DXzTkv77.js +1 -0
- package/dist/assets/{exchange-passport-B-EhCwOs.js → exchange-passport-CGMrX_va.js} +1 -1
- package/dist/assets/{fallback-C6VgQPYP.js → fallback-DHTsTOsA.js} +1 -1
- package/dist/assets/{form-text-input-DZNGnBl-.js → form-text-input-DAeQJFrx.js} +2 -2
- package/dist/assets/{format-error-CsY5MTO-.js → format-error-DsLT-I_t.js} +1 -1
- package/dist/assets/fr-DB4Moo35.js +1 -0
- package/dist/assets/fuel-CiyBCkPM.js +32 -0
- package/dist/assets/{fullpage-D7RBGcpO.js → fullpage-CTN6Odrg.js} +1 -1
- package/dist/assets/hi-BZ8MRRQ-.js +1 -0
- package/dist/assets/{home-BDB4_nh_.js → home-Bd2Tx88Q.js} +1 -1
- package/dist/assets/id-D0Dktlf7.js +1 -0
- package/dist/assets/{iframe-CdHTiw1F.js → iframe-DJ2x9efl.js} +1 -1
- package/dist/assets/index-A6rXBmgc.js +102 -0
- package/dist/assets/{index-Dob_tNHw.js → index-B5-lwWQw.js} +1 -1
- package/dist/assets/{index-Dt7ERxZ3.js → index-BFcr9JDQ.js} +12 -12
- package/dist/assets/{index-D0t4oon5.js → index-BN0lgmDH.js} +1 -1
- package/dist/assets/{index-B9ApMsSr.js → index-BT7-315i.js} +1 -1
- package/dist/assets/{index-BAMc05XV.js → index-Be6nHNV0.js} +1 -1
- package/dist/assets/{index-Dl244yi8.js → index-BeFN5xGu.js} +4 -4
- package/dist/assets/{index-C-5E9QTe.js → index-BedxN_P9.js} +1 -1
- package/dist/assets/{index-B5XDziuX.js → index-BtSt5FGJ.js} +1 -1
- package/dist/assets/{index-C0UyxGZY.js → index-ByEY1S1p.js} +1 -1
- package/dist/assets/index-C6BTUKQj.js +316 -0
- package/dist/assets/{index-C5-NGiut.js → index-C8Cmkjd6.js} +1 -1
- package/dist/assets/{index-B3M4QG77.js → index-C9IrBso_.js} +1 -1
- package/dist/assets/{index-CBRA0x7Q.js → index-C9XX9FI-.js} +1 -1
- package/dist/assets/{index-wl3skyrX.js → index-CAz4oQnr.js} +1 -1
- package/dist/assets/{index-BbNdCg0Y.js → index-CDzU6wY1.js} +2 -2
- package/dist/assets/index-CE5DZOEQ.js +1 -0
- package/dist/assets/{index-x8tkXY5V.js → index-CPibawHo.js} +1 -1
- package/dist/assets/{index-DzNuKWIR.js → index-C_rc1Lwt.js} +1 -1
- package/dist/assets/{index-D_HGuArr.js → index-CdNrrBZk.js} +1 -1
- package/dist/assets/{index-fvB3wuMp.js → index-CqjSnEu1.js} +2 -2
- package/dist/assets/{index-B9T9perk.js → index-D9Cgh-AY.js} +9 -9
- package/dist/assets/{index-64M3FvoQ.js → index-DTzuTDWf.js} +5 -5
- package/dist/assets/{index-knWkj8AE.js → index-DXZuEbMH.js} +1 -1
- package/dist/assets/{index-3zMmyPq0.js → index-DXpM5evR.js} +4 -4
- package/dist/assets/index-Dazz_Sar.js +4 -0
- package/dist/assets/{index-8Uzxcrqs.js → index-DbN4h3gH.js} +1 -1
- package/dist/assets/{index-CcastwQZ.js → index-NlzmSJHU.js} +2 -2
- package/dist/assets/{index-M6u08XZP.js → index-OU0ZpNT_.js} +1 -1
- package/dist/assets/{index-QfRVoAyB.js → index-U-Ouf6WM.js} +1 -1
- package/dist/assets/{index-BQKTX3TH.js → index-XYcwhl4a.js} +8 -8
- package/dist/assets/{index-CYEg2-8x.js → index-bNbDSQ4T.js} +1 -1
- package/dist/assets/{index-CdgjvQxC.js → index-jHlcxkEo.js} +8 -8
- package/dist/assets/{index-Cv7pzw89.js → index-wBcLyYqT.js} +26 -26
- package/dist/assets/{invitation-B-19u0zg.js → invitation-JKzrZ57O.js} +5 -5
- package/dist/assets/invite-BFrJHYMn.js +5 -0
- package/dist/assets/{isEmail-LKjM3fdO.js → isEmail-BEisyjCN.js} +1 -1
- package/dist/assets/issue-passport-BAtnRtOM.js +1 -0
- package/dist/assets/{item-BY7CX9DM.js → item-CwYliHGb.js} +1 -1
- package/dist/assets/ja-DI5zkdyH.js +1 -0
- package/dist/assets/{jss-plugin-props-sort.esm-DZ0QxdlL.js → jss-plugin-props-sort.esm-l47fXiIJ.js} +3 -3
- package/dist/assets/ko-C6JgKTYW.js +1 -0
- package/dist/assets/{launch-result-message-CAyNosT8.js → launch-result-message-Bl-IHSrE.js} +1 -1
- package/dist/assets/{layout-Cc6IR4Xp.js → layout-luBpKsnB.js} +1 -1
- package/dist/assets/{list-header-CTKuPXBC.js → list-header-D0D_tjRh.js} +1 -1
- package/dist/assets/localization-C1hNyLvD.js +1 -0
- package/dist/assets/{log-DkVkil0j.js → log-Df2I_fqe.js} +1 -1
- package/dist/assets/{login-B9mkuN1r.js → login-DyZA9iO2.js} +1 -1
- package/dist/assets/{login-oauth-callback-B8IM5sRf.js → login-oauth-callback-C9pBHvVm.js} +1 -1
- package/dist/assets/logo-uploader-BoJpubye.js +133 -0
- package/dist/assets/{lost-passport-okkyxvyK.js → lost-passport-UDuDlY7N.js} +4 -4
- package/dist/assets/{lottie-react.esm-amlTBYrq.js → lottie-react.esm-BcAg_zzZ.js} +1 -1
- package/dist/assets/{notifications-x-_0y6ay.js → notifications-Dwy1x_4b.js} +2 -2
- package/dist/assets/{open-window-Dsehi6Pa.js → open-window-T5jgTpk6.js} +1 -1
- package/dist/assets/overview-DxoUd1AE.js +12 -0
- package/dist/assets/{permission-Bw97vdZf.js → permission-B0L9pgvB.js} +1 -1
- package/dist/assets/{preferences-BQUunT_2.js → preferences-BMHmIBuj.js} +1 -1
- package/dist/assets/pt-F1XUE4F0.js +1 -0
- package/dist/assets/publish-resource-BcJxqHgb.js +1 -0
- package/dist/assets/purify.es-CCJo14B2.js +2 -0
- package/dist/assets/{raf-schd.esm-CR0Pt1CF.js → raf-schd.esm-DbYZ8cuK.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-Cp27_Z2H.js → react-beautiful-dnd.esm-B8s8Je1D.js} +1 -1
- package/dist/assets/refType-CwbBamWm.js +1 -0
- package/dist/assets/{resource-dialog-CQ8ePIzz.js → resource-dialog-CQSjUEGn.js} +1 -1
- package/dist/assets/ru-DMrR-cU9.js +1 -0
- package/dist/assets/sdk-Lodb3mfy.js +1 -0
- package/dist/assets/selector-BB2fFIXP.js +48 -0
- package/dist/assets/session-D3zyh62B.js +1 -0
- package/dist/assets/setup-B6L46KHj.js +562 -0
- package/dist/assets/{shorten-label-BYD4zgYF.js → shorten-label-ZyDji4qi.js} +1 -1
- package/dist/assets/{simple-select-BSiU44cf.js → simple-select-DKsN30ub.js} +1 -1
- package/dist/assets/{slicedToArray-B3EJlOBV.js → slicedToArray-Drxe8-64.js} +2 -2
- package/dist/assets/{start-B6pKpEk6.js → start-DxaM-09J.js} +1 -1
- package/dist/assets/step-actions-DQ0D400i.js +61 -0
- package/dist/assets/{studio-RgHJ4uhM.js → studio-THNjOZL1.js} +1 -1
- package/dist/assets/{switch-control-OVb1BwTo.js → switch-control-DkucmIR-.js} +1 -1
- package/dist/assets/th-CJB7WnNL.js +1 -0
- package/dist/assets/{toUpper-DZIzLyKU.js → toUpper-BHGjhPud.js} +1 -1
- package/dist/assets/{transfer-D-jivKPt.js → transfer-DaOZAizQ.js} +1 -1
- package/dist/assets/{trim-BV_NDhVJ.js → trim-CaA4via3.js} +1 -1
- package/dist/assets/{uniqBy-BnPjLUjC.js → uniqBy-CH7S750Q.js} +1 -1
- package/dist/assets/unsubscribe-DtBxc6TZ.js +1 -0
- package/dist/assets/{url-join-DEFKjkns.js → url-join-sg6DH6qt.js} +1 -1
- package/dist/assets/use-mobile-CM0Yohdc.js +1 -0
- package/dist/assets/use-mobile-Cz-VrkwE.js +1 -0
- package/dist/assets/{useAsync-uZ9Wuln3.js → useAsync-NthGdZ_B.js} +1 -1
- package/dist/assets/{useFormControl-CKpzs7q1.js → useFormControl-CS6vjtl0.js} +1 -1
- package/dist/assets/{useLocalStorage-BhUUdeSi.js → useLocalStorage-Kt0ynk4Q.js} +1 -1
- package/dist/assets/{useSetState-GTMZIRrt.js → useSetState-DUhj3dVg.js} +1 -1
- package/dist/assets/useSlot-D-6cy3hj.js +1 -0
- package/dist/assets/{useSlotProps-CHK9ut6X.js → useSlotProps-CEuB5YLI.js} +1 -1
- package/dist/assets/{useThemeProps-D3g52yHb.js → useThemeProps-CmIdHfIC.js} +1 -1
- package/dist/assets/user-center-BO_McZ0Z.js +1 -0
- package/dist/assets/{user-sessions-B7LrJMkc.js → user-sessions-BXhrzhKK.js} +1 -1
- package/dist/assets/{util-Bami76iP.js → util-CRg7-9Pj.js} +1 -1
- package/dist/assets/vi-U1GPEq8E.js +1 -0
- package/dist/assets/wrap-locale-Dj-ckYCY.js +1 -0
- package/dist/assets/{zh-B7Ba_Kee.js → zh-B1PHGWyj.js} +1 -1
- package/dist/assets/zh-tw-B9CGi8IO.js +1 -0
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +25 -25
- package/dist/assets/Delete-s2NC3KEw.js +0 -1
- package/dist/assets/DialogContentText-C-7SR9C-.js +0 -1
- package/dist/assets/FormControl-D38v2z67.js +0 -1
- package/dist/assets/FormGroup-Dtv1bjEg.js +0 -1
- package/dist/assets/Link-BdhOk-uG.js +0 -1
- package/dist/assets/Stack-D1S3xkvy.js +0 -1
- package/dist/assets/access-control-f0MW9Zgj.js +0 -13
- package/dist/assets/add-resource-BGwTxNy-.js +0 -1
- package/dist/assets/api-BGevyJlL.js +0 -1
- package/dist/assets/ar-IGiynOFu.js +0 -1
- package/dist/assets/bundle-avatar-meR-iuh8.js +0 -1
- package/dist/assets/dashboard-wctDSPQY.js +0 -165
- package/dist/assets/de-C5dj0Xqf.js +0 -1
- package/dist/assets/domain-CHeNVNMy.js +0 -9
- package/dist/assets/emotion-cache.browser.esm-C8uPGoLI.js +0 -1
- package/dist/assets/es-CtZrebqK.js +0 -1
- package/dist/assets/fr-AxDVLuWz.js +0 -1
- package/dist/assets/fuel-BE4OI5l7.js +0 -32
- package/dist/assets/hi-RUZ0vBCk.js +0 -1
- package/dist/assets/id-DsdmMEGZ.js +0 -1
- package/dist/assets/index-BWSzmUO8.js +0 -102
- package/dist/assets/index-CdP156si.js +0 -544
- package/dist/assets/index-DeKdvlFq.js +0 -4
- package/dist/assets/index-deUlJetP.js +0 -316
- package/dist/assets/invite-DPOy64nF.js +0 -5
- package/dist/assets/issue-passport-QnXwWENR.js +0 -1
- package/dist/assets/ja-DTDtkp5G.js +0 -1
- package/dist/assets/ko-DgLbeBNo.js +0 -1
- package/dist/assets/localization-D7g53qeR.js +0 -1
- package/dist/assets/logo-uploader-B7IPezmK.js +0 -133
- package/dist/assets/overview-pKFxQLkN.js +0 -12
- package/dist/assets/page-header-CYu3_H82.js +0 -31
- package/dist/assets/pt-CZCvruh-.js +0 -1
- package/dist/assets/publish-resource-kR9OHRdE.js +0 -1
- package/dist/assets/purify.es-Bq0E5Q3l.js +0 -2
- package/dist/assets/refType-BCOesXZo.js +0 -1
- package/dist/assets/ru-D_KkTcPZ.js +0 -1
- package/dist/assets/sdk-Dtv_Cfx3.js +0 -1
- package/dist/assets/selector-BR2XoI6A.js +0 -48
- package/dist/assets/session-BhpnDl9E.js +0 -1
- package/dist/assets/setup-BntqqJam.js +0 -19
- package/dist/assets/step-actions-BGpXjOsH.js +0 -31
- package/dist/assets/th-2G8RPPGN.js +0 -1
- package/dist/assets/unsubscribe--o-tBu4k.js +0 -1
- package/dist/assets/use-mobile-iElkM1XK.js +0 -1
- package/dist/assets/use-mobile-ys1gCl_z.js +0 -1
- package/dist/assets/useSlot-h7rz3Ehc.js +0 -1
- package/dist/assets/user-center-COK230kp.js +0 -1
- package/dist/assets/vi-Bj0Zh1pF.js +0 -1
- package/dist/assets/wrap-locale-sAzfVK-h.js +0 -1
- package/dist/assets/zh-tw-ChudOecJ.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-DyZA9iO2.js","assets/use-passport-id-B-b-_oYF.js","assets/LaunchOutlined-DtUGH3OW.js","assets/login-oauth-callback-C9pBHvVm.js","assets/fallback-DHTsTOsA.js","assets/Alert-DaafqUlw.js","assets/useSlot-D-6cy3hj.js","assets/connect-BFfXSmaa.js","assets/index-U-Ouf6WM.js","assets/fullpage-CTN6Odrg.js","assets/Link-BEFhKJq0.js","assets/exchange-passport-CGMrX_va.js","assets/wrap-locale-Dj-ckYCY.js","assets/issue-passport-BAtnRtOM.js","assets/invitation-JKzrZ57O.js","assets/index-A6rXBmgc.js","assets/emotion-cache.browser.esm-BwirBJuO.js","assets/purify.es-CCJo14B2.js","assets/index-CdNrrBZk.js","assets/session-D3zyh62B.js","assets/sdk-Lodb3mfy.js","assets/CheckCircle-CgD3tBC-.js","assets/lost-passport-UDuDlY7N.js","assets/ViewList-DpyY5ugC.js","assets/Done-PbP-u2lH.js","assets/did-address-DOCLeksL.js","assets/Avatar-Adx9Z0tZ.js","assets/Stepper-oTT6WH0K.js","assets/start-DxaM-09J.js","assets/PlayArrow-n1twcRud.js","assets/Error-HNpddmqm.js","assets/ServerLogo-DT7vgAES.js","assets/addon-ChxdyV8s.js","assets/selector-BB2fFIXP.js","assets/QuestionMarkCircle-tCeIxlN3.js","assets/setup-B6L46KHj.js","assets/config-space-Bwfds2x7.js","assets/api-X6cMA7j1.js","assets/index-CE5DZOEQ.js","assets/url-join-sg6DH6qt.js","assets/Skeleton-Dq3yy5K4.js","assets/Hidden-CXUMFZRF.js","assets/invite-BFrJHYMn.js","assets/transfer-DaOZAizQ.js","assets/dashboard-vLl8x6aG.js","assets/index-C9XX9FI-.js","assets/useLocalStorage-Kt0ynk4Q.js","assets/MoreVert-DLwvbbqd.js","assets/FormControlLabel-BaYmyBlu.js","assets/useFormControl-CS6vjtl0.js","assets/Stack-ID2bvJFU.js","assets/confirm-DF9JbbCJ.js","assets/DialogContentText-Dydxe3m7.js","assets/format-error-DsLT-I_t.js","assets/Delete-CjUdkXlU.js","assets/ButtonGroup-BWb37jJW.js","assets/RadioGroup-DIin5rK_.js","assets/FormGroup-th0rZzfK.js","assets/permission-B0L9pgvB.js","assets/useAsync-NthGdZ_B.js","assets/index-CqjSnEu1.js","assets/useSetState-DUhj3dVg.js","assets/index-D9Cgh-AY.js","assets/Menu-BW47wukv.js","assets/Toolbar-Kng3WhVc.js","assets/index-BedxN_P9.js","assets/ListItemButton-G-aWGmX0.js","assets/deprecate-DCu9jut5.js","assets/user-center-BO_McZ0Z.js","assets/index-DTzuTDWf.js","assets/ExpandMore-B8oaKzsK.js","assets/resource-dialog-CQSjUEGn.js","assets/index-OU0ZpNT_.js","assets/OpenInNew-K-C4gsO1.js","assets/HelpOutline-DYeyCE3o.js","assets/index-CDzU6wY1.js","assets/TextField-GO8E4D8x.js","assets/FormControl-DD67kWGJ.js","assets/Select-CDj8XFCr.js","assets/use-mobile-CM0Yohdc.js","assets/index-BN0lgmDH.js","assets/user-sessions-BXhrzhKK.js","assets/index-BT7-315i.js","assets/useThemeProps-CmIdHfIC.js","assets/toPropertyKey-PLuKRk1e.js","assets/index-BtSt5FGJ.js","assets/redux-CluOqhW1.js","assets/ViewColumn-gNP4x-sg.js","assets/Grid-DxM3VqDH.js","assets/LastPage-DnljsHk-.js","assets/Search-BMru4B7h.js","assets/uniqBy-CH7S750Q.js","assets/index-bNbDSQ4T.js","assets/InputAdornment-BjTDlo1K.js","assets/home-Bd2Tx88Q.js","assets/studio-THNjOZL1.js","assets/preferences-BMHmIBuj.js","assets/iframe-DJ2x9efl.js","assets/branding-CNPED9Yg.js","assets/DeleteOutline-CzTPA4kL.js","assets/react-beautiful-dnd.esm-B8s8Je1D.js","assets/raf-schd.esm-DbYZ8cuK.js","assets/localization-C1hNyLvD.js","assets/add-resource-B4KK4ENF.js","assets/add-component-core-BZjSv5V7.js","assets/item-CwYliHGb.js","assets/Add-mXZrOf1h.js","assets/Launch-BeWg-XKa.js","assets/click-to-copy-Chph5bbk.js","assets/shorten-label-ZyDji4qi.js","assets/jss-plugin-props-sort.esm-l47fXiIJ.js","assets/launch-result-message-Bl-IHSrE.js","assets/Close-FBVHjH44.js","assets/ArrowBackIos-BubgDQVS.js","assets/logo-uploader-BoJpubye.js","assets/index-C_rc1Lwt.js","assets/index-NlzmSJHU.js","assets/Google-BteNIqNP.js","assets/index-B5-lwWQw.js","assets/index-D4PP6P2d.css","assets/index-DXZuEbMH.js","assets/index-ByEY1S1p.js","assets/Autocomplete-Bi_-KQfy.js","assets/ListSubheader-CJ8rPs4Q.js","assets/util-CRg7-9Pj.js","assets/use-mobile-Cz-VrkwE.js","assets/content-layout-BoriYFvl.js","assets/connect-to-v0E4vbkK.js","assets/ArrowDropDown-BtoPSHd8.js","assets/ChevronLeft-CYIWlSCI.js","assets/ChevronRight-CwMDvr2n.js","assets/add-component-core-D-IRi6XF.css","assets/publish-resource-BcJxqHgb.js","assets/index-DXpM5evR.js","assets/bundle-avatar-BMYoF8YT.js","assets/Download-pBnEdFOD.js","assets/index-CPibawHo.js","assets/useSlotProps-CEuB5YLI.js","assets/index-DbN4h3gH.js","assets/email-fEPnd-HL.js","assets/trim-CaA4via3.js","assets/isEmail-BEisyjCN.js","assets/MarkEmailRead-BNiANVq1.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var ao=a=>{throw TypeError(a)};var _i=(a,j,_e)=>j.has(a)||ao("Cannot "+_e);var Tr=(a,j,_e)=>(_i(a,j,"read from private field"),_e?_e.call(a):j.get(a)),Yr=(a,j,_e)=>j.has(a)?ao("Cannot add the same private member more than once"):j instanceof WeakSet?j.add(a):j.set(a,_e),Jr=(a,j,_e,et)=>(_i(a,j,"write to private field"),et?et.call(a,_e):j.set(a,_e),_e),Lr=(a,j,_e)=>(_i(a,j,"access private method"),_e);var eo=(a,j,_e,et)=>({set _(nt){Jr(a,j,nt,_e)},get _(){return Tr(a,j,et)}});function _mergeNamespaces(a,j){for(var _e=0;_e<j.length;_e++){const et=j[_e];if(typeof et!="string"&&!Array.isArray(et)){for(const nt in et)if(nt!=="default"&&!(nt in a)){const tt=Object.getOwnPropertyDescriptor(et,nt);tt&&Object.defineProperty(a,nt,tt.get?tt:{enumerable:!0,get:()=>et[nt]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const j=document.createElement("link").relList;if(j&&j.supports&&j.supports("modulepreload"))return;for(const nt of document.querySelectorAll('link[rel="modulepreload"]'))et(nt);new MutationObserver(nt=>{for(const tt of nt)if(tt.type==="childList")for(const ot of tt.addedNodes)ot.tagName==="LINK"&&ot.rel==="modulepreload"&&et(ot)}).observe(document,{childList:!0,subtree:!0});function _e(nt){const tt={};return nt.integrity&&(tt.integrity=nt.integrity),nt.referrerPolicy&&(tt.referrerPolicy=nt.referrerPolicy),nt.crossOrigin==="use-credentials"?tt.credentials="include":nt.crossOrigin==="anonymous"?tt.credentials="omit":tt.credentials="same-origin",tt}function et(nt){if(nt.ep)return;nt.ep=!0;const tt=_e(nt);fetch(nt.href,tt)}})();const scriptRel="modulepreload",assetsURL=function(a){return"/.well-known/service/static/"+a},seen={},__vitePreload=function(j,_e,et){let nt=Promise.resolve();if(_e&&_e.length>0){document.getElementsByTagName("link");const tt=document.querySelector("meta[property=csp-nonce]"),ot=(tt==null?void 0:tt.nonce)||(tt==null?void 0:tt.getAttribute("nonce"));nt=Promise.allSettled(_e.map(ct=>{if(ct=assetsURL(ct),ct in seen)return;seen[ct]=!0;const ft=ct.endsWith(".css"),ht=ft?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${ct}"]${ht}`))return;const dt=document.createElement("link");if(dt.rel=ft?"stylesheet":scriptRel,ft||(dt.as="script"),dt.crossOrigin="",dt.href=ct,ot&&dt.setAttribute("nonce",ot),document.head.appendChild(dt),ft)return new Promise((vt,$t)=>{dt.addEventListener("load",vt),dt.addEventListener("error",()=>$t(new Error(`Unable to preload CSS for ${ct}`)))})}))}return nt.then(tt=>{for(const ot of tt||[]){if(ot.status!=="rejected")continue;const ct=new Event("vite:preloadError",{cancelable:!0});if(ct.payload=ot.reason,window.dispatchEvent(ct),!ct.defaultPrevented)throw ot.reason}return j()})};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs$1(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}function getAugmentedNamespace(a){if(a.__esModule)return a;var j=a.default;if(typeof j=="function"){var _e=function et(){return this instanceof et?Reflect.construct(j,arguments,this.constructor):j.apply(this,arguments)};_e.prototype=j.prototype}else _e={};return Object.defineProperty(_e,"__esModule",{value:!0}),Object.keys(a).forEach(function(et){var nt=Object.getOwnPropertyDescriptor(a,et);Object.defineProperty(_e,et,nt.get?nt:{enumerable:!0,get:function(){return a[et]}})}),_e}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react.production.min.js
|
|
@@ -127,7 +127,7 @@ object-assign
|
|
|
127
127
|
*
|
|
128
128
|
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
|
129
129
|
* Released under the MIT license
|
|
130
|
-
*/(function(a,j){(function(_e){var et;if(a.exports=_e(),et=!0,!et){var nt=window.Cookies,tt=window.Cookies=_e();tt.noConflict=function(){return window.Cookies=nt,tt}}})(function(){function _e(){for(var tt=0,ot={};tt<arguments.length;tt++){var ct=arguments[tt];for(var ft in ct)ot[ft]=ct[ft]}return ot}function et(tt){return tt.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function nt(tt){function ot(){}function ct(ht,dt,vt){if(!(typeof document>"u")){vt=_e({path:"/"},ot.defaults,vt),typeof vt.expires=="number"&&(vt.expires=new Date(new Date*1+vt.expires*864e5)),vt.expires=vt.expires?vt.expires.toUTCString():"";try{var $t=JSON.stringify(dt);/^[\{\[]/.test($t)&&(dt=$t)}catch{}dt=tt.write?tt.write(dt,ht):encodeURIComponent(String(dt)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),ht=encodeURIComponent(String(ht)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var xt="";for(var At in vt)vt[At]&&(xt+="; "+At,vt[At]!==!0&&(xt+="="+vt[At].split(";")[0]));return document.cookie=ht+"="+dt+xt}}function ft(ht,dt){if(!(typeof document>"u")){for(var vt={},$t=document.cookie?document.cookie.split("; "):[],xt=0;xt<$t.length;xt++){var At=$t[xt].split("="),wt=At.slice(1).join("=");!dt&&wt.charAt(0)==='"'&&(wt=wt.slice(1,-1));try{var Ct=et(At[0]);if(wt=(tt.read||tt)(wt,Ct)||et(wt),dt)try{wt=JSON.parse(wt)}catch{}if(vt[Ct]=wt,ht===Ct)break}catch{}}return ht?vt[ht]:vt}}return ot.set=ct,ot.get=function(ht){return ft(ht,!1)},ot.getJSON=function(ht){return ft(ht,!0)},ot.remove=function(ht,dt){ct(ht,"",_e(dt,{expires:-1}))},ot.defaults={},ot.withConverter=nt,ot}return nt(function(){})})})(js_cookie);var js_cookieExports=js_cookie.exports;const Cookie=getDefaultExportFromCjs$1(js_cookieExports);function startsWith$1(a,j,_e=0){const{length:et}=a;return _e<0?_e=0:_e>et&&(_e=et),j=`${j}`,a.slice(_e,_e+j.length)==j}function getBrowserLang$1(){return typeof window>"u"?null:window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null}function normalizeCode(a){return(a||"").toLowerCase().replace(/-/,"_")}function getPreferredLanguage(a){if(!a)return getBrowserLang$1();const{languages:j,fallback:_e}=a;if(!a.languages)return _e;const et=normalizeCode(getBrowserLang$1());if(!et)return _e;const nt=j.filter(ot=>normalizeCode(ot)===et);return nt.length>0?nt[0]||_e:j.filter(ot=>startsWith$1(et,ot))[0]||_e}const replace$3=(a,j)=>a.replace(/{(\w*)}/g,(_e,et)=>j.hasOwnProperty(et)?j[et]:""),translate=(a,j,_e,et="en",nt={})=>{const tt=a[_e],ot=get$6(tt,j),ct=get$6(a[et],j);return!tt||!ot?(console.warn(`Warning: no ${j} translation of ${_e}`),et&&ct?replace$3(ct,nt):j):typeof a[_e]=="function"||a[_e].then?replace$3(ct,nt):replace$3(ot,nt)};var MAX_SAFE_INTEGER$5=9007199254740991,nativeFloor=Math.floor;function baseRepeat$1(a,j){var _e="";if(!a||j<1||j>MAX_SAFE_INTEGER$5)return _e;do j%2&&(_e+=a),j=nativeFloor(j/2),j&&(a+=a);while(j);return _e}var _baseRepeat=baseRepeat$1;function baseSlice$2(a,j,_e){var et=-1,nt=a.length;j<0&&(j=-j>nt?0:nt+j),_e=_e>nt?nt:_e,_e<0&&(_e+=nt),nt=j>_e?0:_e-j>>>0,j>>>=0;for(var tt=Array(nt);++et<nt;)tt[et]=a[et+j];return tt}var _baseSlice=baseSlice$2,baseSlice$1=_baseSlice;function castSlice$3(a,j,_e){var et=a.length;return _e=_e===void 0?et:_e,!j&&_e>=et?a:baseSlice$1(a,j,_e)}var _castSlice=castSlice$3,rsAstralRange$3="\\ud800-\\udfff",rsComboMarksRange$4="\\u0300-\\u036f",reComboHalfMarksRange$4="\\ufe20-\\ufe2f",rsComboSymbolsRange$4="\\u20d0-\\u20ff",rsComboRange$4=rsComboMarksRange$4+reComboHalfMarksRange$4+rsComboSymbolsRange$4,rsVarRange$3="\\ufe0e\\ufe0f",rsZWJ$3="\\u200d",reHasUnicode=RegExp("["+rsZWJ$3+rsAstralRange$3+rsComboRange$4+rsVarRange$3+"]");function hasUnicode$4(a){return reHasUnicode.test(a)}var _hasUnicode=hasUnicode$4;function baseProperty$2(a){return function(j){return j==null?void 0:j[a]}}var _baseProperty=baseProperty$2,baseProperty$1=_baseProperty,asciiSize$1=baseProperty$1("length"),_asciiSize=asciiSize$1,rsAstralRange$2="\\ud800-\\udfff",rsComboMarksRange$3="\\u0300-\\u036f",reComboHalfMarksRange$3="\\ufe20-\\ufe2f",rsComboSymbolsRange$3="\\u20d0-\\u20ff",rsComboRange$3=rsComboMarksRange$3+reComboHalfMarksRange$3+rsComboSymbolsRange$3,rsVarRange$2="\\ufe0e\\ufe0f",rsAstral$1="["+rsAstralRange$2+"]",rsCombo$3="["+rsComboRange$3+"]",rsFitz$2="\\ud83c[\\udffb-\\udfff]",rsModifier$2="(?:"+rsCombo$3+"|"+rsFitz$2+")",rsNonAstral$2="[^"+rsAstralRange$2+"]",rsRegional$2="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$2="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ$2="\\u200d",reOptMod$2=rsModifier$2+"?",rsOptVar$2="["+rsVarRange$2+"]?",rsOptJoin$2="(?:"+rsZWJ$2+"(?:"+[rsNonAstral$2,rsRegional$2,rsSurrPair$2].join("|")+")"+rsOptVar$2+reOptMod$2+")*",rsSeq$2=rsOptVar$2+reOptMod$2+rsOptJoin$2,rsSymbol$1="(?:"+[rsNonAstral$2+rsCombo$3+"?",rsCombo$3,rsRegional$2,rsSurrPair$2,rsAstral$1].join("|")+")",reUnicode$1=RegExp(rsFitz$2+"(?="+rsFitz$2+")|"+rsSymbol$1+rsSeq$2,"g");function unicodeSize$1(a){for(var j=reUnicode$1.lastIndex=0;reUnicode$1.test(a);)++j;return j}var _unicodeSize=unicodeSize$1,asciiSize=_asciiSize,hasUnicode$3=_hasUnicode,unicodeSize=_unicodeSize;function stringSize$3(a){return hasUnicode$3(a)?unicodeSize(a):asciiSize(a)}var _stringSize=stringSize$3;function asciiToArray$1(a){return a.split("")}var _asciiToArray=asciiToArray$1,rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$2="\\u0300-\\u036f",reComboHalfMarksRange$2="\\ufe20-\\ufe2f",rsComboSymbolsRange$2="\\u20d0-\\u20ff",rsComboRange$2=rsComboMarksRange$2+reComboHalfMarksRange$2+rsComboSymbolsRange$2,rsVarRange$1="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange$1+"]",rsCombo$2="["+rsComboRange$2+"]",rsFitz$1="\\ud83c[\\udffb-\\udfff]",rsModifier$1="(?:"+rsCombo$2+"|"+rsFitz$1+")",rsNonAstral$1="[^"+rsAstralRange$1+"]",rsRegional$1="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$1="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ$1="\\u200d",reOptMod$1=rsModifier$1+"?",rsOptVar$1="["+rsVarRange$1+"]?",rsOptJoin$1="(?:"+rsZWJ$1+"(?:"+[rsNonAstral$1,rsRegional$1,rsSurrPair$1].join("|")+")"+rsOptVar$1+reOptMod$1+")*",rsSeq$1=rsOptVar$1+reOptMod$1+rsOptJoin$1,rsSymbol="(?:"+[rsNonAstral$1+rsCombo$2+"?",rsCombo$2,rsRegional$1,rsSurrPair$1,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz$1+"(?="+rsFitz$1+")|"+rsSymbol+rsSeq$1,"g");function unicodeToArray$1(a){return a.match(reUnicode)||[]}var _unicodeToArray=unicodeToArray$1,asciiToArray=_asciiToArray,hasUnicode$2=_hasUnicode,unicodeToArray=_unicodeToArray;function stringToArray$3(a){return hasUnicode$2(a)?unicodeToArray(a):asciiToArray(a)}var _stringToArray=stringToArray$3,baseRepeat=_baseRepeat,baseToString$3=_baseToString,castSlice$2=_castSlice,hasUnicode$1=_hasUnicode,stringSize$2=_stringSize,stringToArray$2=_stringToArray,nativeCeil=Math.ceil;function createPadding$2(a,j){j=j===void 0?" ":baseToString$3(j);var _e=j.length;if(_e<2)return _e?baseRepeat(j,a):j;var et=baseRepeat(j,nativeCeil(a/stringSize$2(j)));return hasUnicode$1(j)?castSlice$2(stringToArray$2(et),0,a).join(""):et.slice(0,a)}var _createPadding=createPadding$2,reWhitespace=/\s/;function trimmedEndIndex$2(a){for(var j=a.length;j--&&reWhitespace.test(a.charAt(j)););return j}var _trimmedEndIndex=trimmedEndIndex$2,trimmedEndIndex$1=_trimmedEndIndex,reTrimStart=/^\s+/;function baseTrim$1(a){return a&&a.slice(0,trimmedEndIndex$1(a)+1).replace(reTrimStart,"")}var _baseTrim=baseTrim$1,baseTrim=_baseTrim,isObject$l=isObject_1,isSymbol$6=isSymbol_1,NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$4(a){if(typeof a=="number")return a;if(isSymbol$6(a))return NAN;if(isObject$l(a)){var j=typeof a.valueOf=="function"?a.valueOf():a;a=isObject$l(j)?j+"":j}if(typeof a!="string")return a===0?a:+a;a=baseTrim(a);var _e=reIsBinary.test(a);return _e||reIsOctal.test(a)?freeParseInt(a.slice(2),_e?2:8):reIsBadHex.test(a)?NAN:+a}var toNumber_1=toNumber$4,toNumber$3=toNumber_1,INFINITY$3=1/0,MAX_INTEGER=17976931348623157e292;function toFinite$1(a){if(!a)return a===0?a:0;if(a=toNumber$3(a),a===INFINITY$3||a===-INFINITY$3){var j=a<0?-1:1;return j*MAX_INTEGER}return a===a?a:0}var toFinite_1=toFinite$1,toFinite=toFinite_1;function toInteger$2(a){var j=toFinite(a),_e=j%1;return j===j?_e?j-_e:j:0}var toInteger_1=toInteger$2,createPadding$1=_createPadding,stringSize$1=_stringSize,toInteger$1=toInteger_1,toString$j=toString_1;function padStart(a,j,_e){a=toString$j(a),j=toInteger$1(j);var et=j?stringSize$1(a):0;return j&&et<j?createPadding$1(j-et,_e)+a:a}var padStart_1$1=padStart;function base$5(a){if(a.length>=255)throw new TypeError("Alphabet too long");for(var j=new Uint8Array(256),_e=0;_e<j.length;_e++)j[_e]=255;for(var et=0;et<a.length;et++){var nt=a.charAt(et),tt=nt.charCodeAt(0);if(j[tt]!==255)throw new TypeError(nt+" is ambiguous");j[tt]=et}var ot=a.length,ct=a.charAt(0),ft=Math.log(ot)/Math.log(256),ht=Math.log(256)/Math.log(ot);function dt(xt){if(xt instanceof Uint8Array||(ArrayBuffer.isView(xt)?xt=new Uint8Array(xt.buffer,xt.byteOffset,xt.byteLength):Array.isArray(xt)&&(xt=Uint8Array.from(xt))),!(xt instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(xt.length===0)return"";for(var At=0,wt=0,Ct=0,Rt=xt.length;Ct!==Rt&&xt[Ct]===0;)Ct++,At++;for(var It=(Rt-Ct)*ht+1>>>0,Mt=new Uint8Array(It);Ct!==Rt;){for(var Ot=xt[Ct],zt=0,jt=It-1;(Ot!==0||zt<wt)&&jt!==-1;jt--,zt++)Ot+=256*Mt[jt]>>>0,Mt[jt]=Ot%ot>>>0,Ot=Ot/ot>>>0;if(Ot!==0)throw new Error("Non-zero carry");wt=zt,Ct++}for(var Gt=It-wt;Gt!==It&&Mt[Gt]===0;)Gt++;for(var Jt=ct.repeat(At);Gt<It;++Gt)Jt+=a.charAt(Mt[Gt]);return Jt}function vt(xt){if(typeof xt!="string")throw new TypeError("Expected String");if(xt.length===0)return new Uint8Array;for(var At=0,wt=0,Ct=0;xt[At]===ct;)wt++,At++;for(var Rt=(xt.length-At)*ft+1>>>0,It=new Uint8Array(Rt);xt[At];){var Mt=j[xt.charCodeAt(At)];if(Mt===255)return;for(var Ot=0,zt=Rt-1;(Mt!==0||Ot<Ct)&&zt!==-1;zt--,Ot++)Mt+=ot*It[zt]>>>0,It[zt]=Mt%256>>>0,Mt=Mt/256>>>0;if(Mt!==0)throw new Error("Non-zero carry");Ct=Ot,At++}for(var jt=Rt-Ct;jt!==Rt&&It[jt]===0;)jt++;for(var Gt=new Uint8Array(wt+(Rt-jt)),Jt=wt;jt!==Rt;)Gt[Jt++]=It[jt++];return Gt}function $t(xt){var At=vt(xt);if(At)return At;throw new Error("Non-base"+ot+" character")}return{encode:dt,decodeUnsafe:vt,decode:$t}}var src=base$5;const basex=src,ALPHABET$1="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";var bs58=basex(ALPHABET$1);const base58=getDefaultExportFromCjs$1(bs58);var __defProp$8=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$1=Object.getOwnPropertySymbols,__hasOwnProp$3=Object.prototype.hasOwnProperty,__propIsEnum$1=Object.prototype.propertyIsEnumerable,__defNormalProp$6=(a,j,_e)=>j in a?__defProp$8(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__spreadValues$1=(a,j)=>{for(var _e in j||(j={}))__hasOwnProp$3.call(j,_e)&&__defNormalProp$6(a,_e,j[_e]);if(__getOwnPropSymbols$1)for(var _e of __getOwnPropSymbols$1(j))__propIsEnum$1.call(j,_e)&&__defNormalProp$6(a,_e,j[_e]);return a},__spreadProps=(a,j)=>__defProps(a,__getOwnPropDescs(j)),__objRest$1=(a,j)=>{var _e={};for(var et in a)__hasOwnProp$3.call(a,et)&&j.indexOf(et)<0&&(_e[et]=a[et]);if(a!=null&&__getOwnPropSymbols$1)for(var et of __getOwnPropSymbols$1(a))j.indexOf(et)<0&&__propIsEnum$1.call(a,et)&&(_e[et]=a[et]);return _e},colors=["#E94E4E","#E41115","#E96B4E","#E5502E","#E98F4E","#E57A2E","#E98F4E","#E5A82E","#DACD5D","#DAC825","#BDD13D","#C8E31C","#AEE94E","#7FD558","#52CC19","#4FC469","#59DE9C","#19CC73","#5ED9D1","#19CCC0","#4ED7E9","#19B7CC","#45ACE8","#1C97DE","#4E68E9","#2E4DE5","#7F4EE9","#682EE5","#BE65E7","#AF40E2","#DF58C2","#E94E8F"];const TOTAL_COLORS=32,TOTAL_POSITIONS=64,SHAPE_SIZE_RATIO=.25,REVERSED_ASPECT_RATIO=.7,RoleType={ACCOUNT:0,APPLICATION:3,ASSET:6,TOKEN:17},Shape={RECTANGLE:0,SQUARE:1,HEXAGON:2,CIRCLE:3},ElementType={CANVAS:0,SVG:1},easeOutBack=(a,j=1.70158)=>{const _e=a/1-1;return _e*_e*((j+1)*_e+j)+1},calcBorderRadius=a=>a>80?10:Math.floor(.1*a+2),getElementType=a=>{if(a){const{tagName:j}=a;if(/^svg$/i.test(j))return ElementType.SVG;if(/^canvas$/i.test(j)&&"getContext"in a)return ElementType.CANVAS}throw new Error(`Expected a svg or canvas element, got ${a}`)},animate=(a={})=>{const{callback:j,duration:_e=1e3,onComplete:et=()=>{},ease:nt=easeOutBack}=a;let tt=null,ot=0,ct=null;const ft=()=>{ct&&(cancelAnimationFrame(ct),ct=null)},ht=dt=>{tt||(tt=dt),dt-tt>=_e?(ot=1,et()):(ot=nt((dt-tt)/_e),ct=requestAnimationFrame(ht)),j(ot)};return requestAnimationFrame(ht),ft},genUniqueID=(a="")=>`${a}_${Math.floor(Math.random()*1e4)}_${Date.now()}`,DEFAULT_OPTIONS$1={width:200,height:200,xLines:8,yLines:8};class Grid{constructor(j){this.options=Object.assign({},DEFAULT_OPTIONS$1,j),this.init()}get gapX(){return this.options.width/(this.options.yLines+1)}get gapY(){return this.options.height/(this.options.xLines+1)}init(){const{xLines:j,yLines:_e}=this.options;this.xOffsets=[...new Array(j)].map((et,nt)=>(nt+1)*this.gapX-this.options.width/2),this.yOffsets=[...new Array(_e)].map((et,nt)=>(nt+1)*this.gapY-this.options.height/2)}getOffset(j,_e){return[this.xOffsets[j],this.yOffsets[_e]]}}class CanvasRenderer{constructor(j,_e){this.ctx=j;const et=_e.size||Math.min(j.canvas.width,j.canvas.height)||100;j.canvas.width=et,j.canvas.height=et;const nt=new Grid({width:et,height:et,xLines:8,yLines:8});this.config=__spreadProps(__spreadValues$1({},_e),{size:et,positions:_e.positions.map(tt=>nt.getOffset(tt[0],tt[1])),shapeSize:et*SHAPE_SIZE_RATIO})}render(){this.draw(this.config.positions)}draw(j){const{ctx:_e}=this,{size:et,color:nt,shapeSize:tt,opacity:ot,shape:ct}=this.config,ft=calcBorderRadius(et);switch(_e.clearRect(0,0,et,et),ct){case Shape.RECTANGLE:{this.drawRoundedRect(_e,0,et*(1-REVERSED_ASPECT_RATIO)/2,et,et*REVERSED_ASPECT_RATIO,ft,!1,!1);break}case Shape.HEXAGON:{this.drawHexagon(_e,et/2,et/2,et/2,0);break}case Shape.CIRCLE:{_e.arc(et/2,et/2,et/2,0,Math.PI*2);break}case Shape.SQUARE:default:this.drawRoundedRect(_e,0,0,et,et,ft,!1,!1)}_e.clip(),_e.fillStyle=nt,_e.fillRect(0,0,et,et),_e.save(),_e.translate(et/2,et/2),j.forEach(([ht,dt])=>this.drawHexagon(_e,ht,dt,tt,ot)),_e.restore()}animate(j={}){const{duration:_e=1e3,onComplete:et=()=>{}}=j,{positions:nt}=this.config;return animate({duration:_e,onComplete:et,callback:tt=>{this.draw(nt.map(ot=>[tt*ot[0],tt*ot[1]]))}})}drawHexagon(j,_e,et,nt,tt){const ot=2*Math.PI/6;j.beginPath();for(let ct=0;ct<6;ct++)j.lineTo(_e+nt*Math.cos(ot*(ct-1.5)),et+nt*Math.sin(ot*(ct-1.5)));j.closePath(),j.fillStyle=`rgba(255, 255, 255, ${tt})`,j.fill()}drawRoundedRect(j,_e,et,nt,tt,ot=10,ct=!1,ft=!0){const ht=typeof ot=="number"?{tl:ot,tr:ot,br:ot,bl:ot}:__spreadValues$1({tl:0,tr:0,br:0,bl:0},ot);j.beginPath(),j.moveTo(_e+ht.tl,et),j.lineTo(_e+nt-ht.tr,et),j.quadraticCurveTo(_e+nt,et,_e+nt,et+ht.tr),j.lineTo(_e+nt,et+tt-ht.br),j.quadraticCurveTo(_e+nt,et+tt,_e+nt-ht.br,et+tt),j.lineTo(_e+ht.bl,et+tt),j.quadraticCurveTo(_e,et+tt,_e,et+tt-ht.bl),j.lineTo(_e,et+ht.tl),j.quadraticCurveTo(_e,et,_e+ht.tl,et),j.closePath(),ct&&j.fill(),ft&&j.stroke()}}const XMLNS="http://www.w3.org/2000/svg";function svgValue(a){return Math.round(a*10)/10}class SvgRenderer{constructor(j,_e){this.el=j,this.config=_e;const et=_e.size||Math.min(Number(j.getAttribute("width"))||100,Number(j.getAttribute("height"))||100);j.setAttribute("viewBox",`0 0 ${et} ${et}`);const nt=new Grid({width:et,height:et,xLines:8,yLines:8});this.config=__spreadProps(__spreadValues$1({},_e),{size:et,positions:_e.positions.map(tt=>{const[ot,ct]=nt.getOffset(tt[0],tt[1]);return[svgValue(ot),svgValue(ct)]}),shapeSize:svgValue(et*SHAPE_SIZE_RATIO)}),this.points=this.calcPoints(et/2,et/2,this.config.shapeSize)}setBackground(){const{size:j,color:_e,shape:et}=this.config,nt=calcBorderRadius(j);let tt;switch(et){case Shape.RECTANGLE:{tt=this.drawRoundedRect(0,svgValue(j*(1-REVERSED_ASPECT_RATIO)/2),j,svgValue(j*REVERSED_ASPECT_RATIO),nt);break}case Shape.HEXAGON:{const ht=this.calcPoints(j/2,j/2,j/2);tt=this.drawHexagon(ht);break}case Shape.CIRCLE:{tt=this.createElement("circle",{cx:j/2,cy:j/2,r:j/2});break}case Shape.SQUARE:default:tt=this.drawRoundedRect(0,0,j,j,nt)}const ot=genUniqueID("clip-path"),ct=this.createElement("clipPath",{id:ot},[tt]);this.el.appendChild(this.createElement("defs",{},[ct]));const ft=this.createElement("g",{"clip-path":`url(#${ot})`},this.createElement("rect",{x:0,y:0,width:j,height:j,fill:_e}));this.g=ft,this.el.appendChild(ft)}render(){this.el.innerHTML="",this.setBackground(),this.drawHexagons(this.config.positions)}drawHexagons(j){const{opacity:_e}=this.config;this.hexagons||(this.hexagons=j.map(()=>{const et=this.drawHexagon(this.points,_e);return this.g.appendChild(et),et})),this.hexagons.forEach((et,nt)=>{et.setAttribute("transform",`translate(${j[nt][0]} ${j[nt][1]})`)})}animate(j={}){const{duration:_e=1e3,onComplete:et=()=>{}}=j,{positions:nt}=this.config;return this.setBackground(),animate({duration:_e,onComplete:et,callback:tt=>{this.drawHexagons(nt.map(ot=>[tt*ot[0],tt*ot[1]]))}})}calcPoints(j,_e,et){const nt=2*Math.PI/6,tt=[];for(let ot=0;ot<6;ot++)tt.push([j+et*Math.cos(nt*(ot-1.5)),_e+et*Math.sin(nt*(ot-1.5))]);return tt.map(ot=>[svgValue(ot[0]),svgValue(ot[1])])}getPointsStr(j){return j.map(_e=>`${svgValue(_e[0])},${svgValue(_e[1])}`).join(" ")}drawHexagon(j,_e){return this.createElement("polygon",{points:this.getPointsStr(j),transformOrigin:"center",style:{fill:"#fff",fillOpacity:_e}})}drawRoundedRect(j,_e,et,nt,tt=10,ot="none"){return this.createElement("rect",{x:j,y:_e,width:et,height:nt,rx:tt,ry:tt,fill:ot})}createElement(j,_e={},et=[]){const nt=document.createElementNS(XMLNS,j),tt=_e,{style:ot={}}=tt,ct=__objRest$1(tt,["style"]);return Object.keys(ct).forEach(ft=>{nt.setAttribute(ft,ct[ft])}),Object.keys(ot).forEach(ft=>{nt.style[ft]=ot[ft]}),Array.isArray(et)||(et=[et]),et.forEach(ft=>nt.appendChild(ft)),nt}}class DIDParsingError extends Error{constructor(j,_e){super(j,_e),this.name="DIDParsingError"}}const parseRoleType=a=>a.slice(0,1)>>>2,isBase58btc=a=>typeof a!="string"?!1:a[0]==="z",decodeDid=a=>{if(!isBase58btc(a))throw new Error(`Invalid DID string: ${a}`);return base58.decode(a.slice(1))},parseDID=a=>{try{const j=decodeDid(a),_e=parseRoleType(j),et=j.slice(2),nt=et.slice(0,8).reduce((ct,ft)=>ct+ft,0)%TOTAL_COLORS,tt=et.slice(8),ot=[...new Array(8)].map((ct,ft)=>(tt[ft*2]+tt[ft*2+1])%TOTAL_POSITIONS);return{colorIndex:nt,positionIndexes:ot,roleType:_e}}catch(j){throw new DIDParsingError(`Failed to parse DID, ${a}`,{cause:j})}},getDIDMotifInfo=a=>{const{colorIndex:j,positionIndexes:_e,roleType:et}=parseDID(a);return{color:colors[j],positions:_e.map(nt=>[Math.floor(nt/8),nt%8]),roleType:et}},getMotifShapeType=(a,j)=>{if(Object.values(Shape).indexOf(a)>-1)return a;const et={[RoleType.ACCOUNT]:Shape.RECTANGLE,[RoleType.APPLICATION]:Shape.SQUARE,[RoleType.ASSET]:Shape.HEXAGON,[RoleType.TOKEN]:Shape.CIRCLE}[j];return!et&&et!==0?Shape.SQUARE:et},getConfiguration=(a,j)=>{const _e=j,{opacity:et=.5,shape:nt}=_e,tt=__objRest$1(_e,["opacity","shape"]),{color:ot,positions:ct,roleType:ft}=getDIDMotifInfo(a);return __spreadValues$1({color:ot,positions:ct,opacity:et,shape:getMotifShapeType(nt,ft)},tt)},update$1=(a,j,_e={})=>{try{const et=getConfiguration(j,_e),tt=getElementType(a)===ElementType.CANVAS?new CanvasRenderer(a.getContext("2d"),et):new SvgRenderer(a,et),{animation:ot}=_e;ot?tt.animate(typeof ot=="object"?ot:{}):tt.render()}catch(et){if(et instanceof DIDParsingError)console.error(et.message),console.error(et.cause);else throw et}},toDataURL=(a,j)=>{const _e=getConfiguration(a,j),et=document.createElement("canvas");return new CanvasRenderer(et.getContext("2d"),_e).render(),et.toDataURL()},toSvg=(a,j={})=>{const _e=__spreadProps(__spreadValues$1({},getConfiguration(a,j)),{size:j.size||100}),et=document.createElementNS("http://www.w3.org/2000/svg","svg");return new SvgRenderer(et,_e).render(),et.outerHTML},didMotif_es=Object.freeze(Object.defineProperty({__proto__:null,Shape,colors,getConfiguration,getDIDMotifInfo,parseDID,toDataURL,toSvg,update:update$1},Symbol.toStringTag,{value:"Module"})),WELLKNOWN_SERVICE_PATH_PREFIX="/.well-known/service",AUTH_SERVICE_PREFIX$1="/.well-known/service",RELAY_SOCKET_PREFIX$1="/.well-known/service",DASHBOARD_URL=`${AUTH_SERVICE_PREFIX$1}/admin`,PROFILE_URL=`${AUTH_SERVICE_PREFIX$1}/user`,NAVIGATION_URL=`${AUTH_SERVICE_PREFIX$1}/admin/navigation`,DID_PREFIX$1="did:abt:",PASSPORT_STATUS={VALID:"valid",REVOKED:"revoked"},LOGIN_PROVIDER$1={AUTH0:"auth0",APPLE:"apple",GITHUB:"github",GOOGLE:"google",WALLET:"wallet",NFT:"nft"},LOGIN_PROVIDER_NAME={[LOGIN_PROVIDER$1.AUTH0]:"Email",[LOGIN_PROVIDER$1.APPLE]:"Apple",[LOGIN_PROVIDER$1.GITHUB]:"Github",[LOGIN_PROVIDER$1.GOOGLE]:"Google",[LOGIN_PROVIDER$1.WALLET]:"DID Wallet",[LOGIN_PROVIDER$1.NFT]:"NFT"},OAUTH_PROVIDER={auth0:"Email",apple:"Apple",github:"Github",google:"Google"};let dateTool=null;function stringifyQuery$1(a={}){return new URLSearchParams(a).toString()}function getCookieOptions(a=1){let j=a;typeof j=="number"&&(j={expireInDays:j}),j.path===void 0&&(j.path="/"),j.expireInDays||(j.expireInDays=1);const _e={expires:j.expireInDays,path:j.path,domain:j.domain||"",sameSite:j.sameSite||"Lax",secure:j.secure!==!1};return(typeof window>"u"||j.domain||j.returnDomain===!1)&&j.returnDomain===!1&&delete _e.domain,_e}const getColor=a=>a.color?a.color:a.dark?a.theme.palette.common.white:a.theme.palette.text.primary,getBackground=a=>a.background?a.background:a.dark?a.theme.palette.common.black:a.theme.palette.common.white;function mergeProps(a,j,_e=[]){const et=Object.assign({},a);return Object.keys(j.defaultProps||{}).forEach(nt=>{typeof et[nt]=="string"&&et[nt].indexOf("::prop::")===0&&(et[nt]=j.defaultProps[nt])}),Array.isArray(_e)&&_e.forEach(nt=>{if(typeof et[nt]=="string")try{et[nt]=JSON.parse(et[nt])}catch{}}),Object.keys(et).forEach(nt=>{typeof et[nt]=="string"&&et[nt].indexOf("::prop::")===0&&(et[nt]="")}),et}function setDateTool(a){dateTool=a}const createDateFormatter=a=>(j,{locale:_e,tz:et}={})=>{if(dateTool===null)throw new Error("call setDateTool to set the date tool library, such as: setDateTool(dayjs)");if(!j)return"-";let nt=dateTool(j);return et&&(nt=nt.tz(et)),typeof _e<"u"&&(nt=nt.locale(_e)),nt.format(a)};function formatToDatetime$1(a,{locale:j="en",tz:_e}={}){return createDateFormatter("lll")(a,{locale:j,tz:_e})}function detectWalletExtension(){const a=(window==null?void 0:window.ABT_DEV)||window.ABT;return a&&typeof a.open=="function"?a:null}function openWebWallet({webWalletUrl:a,action:j="login",locale:_e="en",url:et,windowFeatures:nt,appInfo:tt,memberAppInfo:ot}){const ct=detectWalletExtension();if(ct)return ct.open({action:j,locale:_e,url:encodeURIComponent(et),appInfo:{...tt},memberAppInfo:{...ot}}),{type:"extension"};const ft={toolbar:"no",location:"no",status:"no",menubar:"no",scrollbars:"yes",resizable:"yes",width:414,height:736},ht=`${a}?action=${j}&locale=${_e}&url=${encodeURIComponent(et)}`,dt=Object.assign({},ft,nt),vt=xt=>xt.innerWidth||xt.document.documentElement.clientWidth||xt.document.body.clientWidth;if(!("left"in dt)){const xt=vt(window.top||window),At=window.screenLeft||window.screenX;dt.left=xt+At-dt.width}if(!("top"in dt)){const xt=window.screenTop||window.screenY;dt.top=xt}const $t=Object.keys(dt).map(xt=>`${xt}=${dt[xt]}`).join(",");return window.open(ht,"targetWindow",$t),{type:"web"}}const getFontSize=a=>a&&Number(a)>=12?`${Number(a)}px`:"inherit",isEthereumDid$1=a=>{const j=a.replace(DID_PREFIX$1,"");return!!/^(0x)?[0-9a-f]{40}$/i.test(j)},appendParams=(a,j)=>{if(!j)return a;try{const _e=new URL(a,window.location.origin);return Object.keys(j).forEach(et=>{_e.searchParams.set(et,String(j[et]))}),_e.origin===window.location.origin?_e.pathname+_e.search:_e.href}catch{return a}},getUserAvatar=(a,j=48)=>a&&(a.indexOf(WELLKNOWN_SERVICE_PATH_PREFIX)>=0?appendParams(a,{imageFilter:"resize",w:j,h:j}):a),isUrl=a=>/^https?:\/\//.test(a),visitorIdKey$1="__visitor_id",getVisitorId$2=()=>localStorage.getItem(visitorIdKey$1),setVisitorId=a=>{a===null?localStorage.removeItem(visitorIdKey$1):localStorage.setItem(visitorIdKey$1,a)},getDIDColor=a=>{if(isEthereumDid$1(a)){const j=Uint8Array.from(a.slice(2).match(/.{1,2}/g).map(_e=>parseInt(_e,16))).slice(0,8).reduce((_e,et)=>_e+et,0)%colors.length;return colors[j]}try{const j=getDIDMotifInfo(a);return j==null?void 0:j.color}catch{return null}},getTranslation=(a,j,_e={})=>{const{fallbackLocale:et="en",defaultValue:nt="unknown"}=_e;if(typeof a=="string")return a;let tt;return j&&(tt=a[j]),(!tt||typeof tt!="string")&&(tt=a[et]),(!tt||typeof tt!="string")&&(tt=nt),tt},cookieName="nf_lang",getLocaleFromSearchParams=(a,j=window.location.href)=>{const _e=new URL(j).searchParams.get("locale");return a.find(et=>et.code===_e)?_e:null},setLocaleParam=(a,j=window.location.href)=>{const _e=new URL(j);_e.searchParams.has("locale")&&(_e.searchParams.set("locale",a),window.history.replaceState({},"",_e.href))},getLocale=(a=[])=>{var _e;const j={languages:a.map(et=>et.code),fallback:((_e=a==null?void 0:a[0])==null?void 0:_e.code)||"en"};return getLocaleFromSearchParams(a)||Cookie.get(cookieName)||getPreferredLanguage(j)},setLocale=a=>{Cookie.set(cookieName,a,getCookieOptions()),setLocaleParam(a)},getLanguages=a=>{const j=get$6(window,"blocklet.languages");return Array.isArray(j)&&j.length?j:Array.isArray(a)&&a.length?a:[{code:"en",name:"English"},{code:"zh",name:"简体中文"}]},LocaleContext=reactExports.createContext(null),{Provider:Provider$8,Consumer:Consumer$7}=LocaleContext;function LocaleProvider({children:a,locale:j,fallbackLocale:_e,translations:et,onLoadingTranslation:nt,languages:tt=[],...ot}){const ct=getLanguages(tt);let[ft,ht]=reactExports.useState(j||getLocale(ct));const dt=reactExports.useRef(_e||""),[,vt]=reactExports.useState(0),$t=At=>{ht(At),setLocale(At)};if(reactExports.useEffect(()=>{const At=j||getLocale(ct);At!==ft&&$t(At)},[j]),ft&&et[ft]&&typeof et[ft]=="function"){const At=ft;try{Promise.resolve(et[At]()).then(wt=>{wt&&typeof wt=="object"&&(et[At]=wt,vt(Ct=>Ct>999?0:Ct+1))})}catch(wt){console.error(wt)}nt==null||nt(At,ct),ft=dt.current}else dt.current=ft;const xt=reactExports.useCallback((At,wt)=>translate(et,At,ft,_e,wt),[et,ft,_e]);return jsxRuntimeExports.jsx(Provider$8,{value:{locale:ft,changeLocale:$t,t:xt,languages:ct,...ot},children:a})}function useLocaleContext(){return reactExports.useContext(LocaleContext)}var __defProp$7=Object.defineProperty,__getOwnPropDesc$1=Object.getOwnPropertyDescriptor,__getOwnPropNames$1=Object.getOwnPropertyNames,__hasOwnProp$2=Object.prototype.hasOwnProperty,__export$1=(a,j)=>{for(var _e in j)__defProp$7(a,_e,{get:j[_e],enumerable:!0})},__copyProps$1=(a,j,_e,et)=>{if(j&&typeof j=="object"||typeof j=="function")for(let nt of __getOwnPropNames$1(j))!__hasOwnProp$2.call(a,nt)&&nt!==_e&&__defProp$7(a,nt,{get:()=>j[nt],enumerable:!(et=__getOwnPropDesc$1(j,nt))||et.enumerable});return a},__toCommonJS$1=a=>__copyProps$1(__defProp$7({},"__esModule",{value:!0}),a),lib_exports={};__export$1(lib_exports,{APP_CONFIG_DIR:()=>APP_CONFIG_DIR,APP_CONFIG_FILE_PATH:()=>APP_CONFIG_FILE_PATH,APP_CONFIG_PUBLIC_DIR:()=>APP_CONFIG_PUBLIC_DIR,BLOCKLET_APP_SPACE_REQUIREMENT:()=>BLOCKLET_APP_SPACE_REQUIREMENT,BLOCKLET_ARCHITECTURES:()=>BLOCKLET_ARCHITECTURES,BLOCKLET_BUNDLE_FILE:()=>BLOCKLET_BUNDLE_FILE,BLOCKLET_BUNDLE_FOLDER:()=>BLOCKLET_BUNDLE_FOLDER,BLOCKLET_BUNDLE_FOLDER_NAME:()=>BLOCKLET_BUNDLE_FOLDER_NAME,BLOCKLET_CONFIGURABLE_KEY:()=>BLOCKLET_CONFIGURABLE_KEY,BLOCKLET_CONTROLLER_STATUS:()=>BLOCKLET_CONTROLLER_STATUS,BLOCKLET_DEFAULT_PATH_REWRITE:()=>BLOCKLET_DEFAULT_PATH_REWRITE,BLOCKLET_DEFAULT_PORT_NAME:()=>BLOCKLET_DEFAULT_PORT_NAME,BLOCKLET_DEFAULT_VERSION:()=>BLOCKLET_DEFAULT_VERSION,BLOCKLET_DYNAMIC_PATH_PREFIX:()=>BLOCKLET_DYNAMIC_PATH_PREFIX,BLOCKLET_ENTRY_FILE:()=>BLOCKLET_ENTRY_FILE,BLOCKLET_FACTORY_SHARES:()=>BLOCKLET_FACTORY_SHARES,BLOCKLET_GROUPS:()=>BLOCKLET_GROUPS,BLOCKLET_INTERFACE_PROTOCOLS:()=>BLOCKLET_INTERFACE_PROTOCOLS,BLOCKLET_INTERFACE_PROTOCOL_HTTP:()=>BLOCKLET_INTERFACE_PROTOCOL_HTTP,BLOCKLET_INTERFACE_PROTOCOL_TCP:()=>BLOCKLET_INTERFACE_PROTOCOL_TCP,BLOCKLET_INTERFACE_PROTOCOL_UDP:()=>BLOCKLET_INTERFACE_PROTOCOL_UDP,BLOCKLET_INTERFACE_PUBLIC:()=>BLOCKLET_INTERFACE_PUBLIC,BLOCKLET_INTERFACE_TYPES:()=>BLOCKLET_INTERFACE_TYPES,BLOCKLET_INTERFACE_TYPE_DOCKER:()=>BLOCKLET_INTERFACE_TYPE_DOCKER,BLOCKLET_INTERFACE_TYPE_SERVICE:()=>BLOCKLET_INTERFACE_TYPE_SERVICE,BLOCKLET_INTERFACE_TYPE_WEB:()=>BLOCKLET_INTERFACE_TYPE_WEB,BLOCKLET_INTERFACE_TYPE_WELLKNOWN:()=>BLOCKLET_INTERFACE_TYPE_WELLKNOWN,BLOCKLET_INTERFACE_WELLKNOWN:()=>BLOCKLET_INTERFACE_WELLKNOWN,BLOCKLET_LATEST_REQUIREMENT_ABTNODE:()=>BLOCKLET_LATEST_REQUIREMENT_ABTNODE,BLOCKLET_LATEST_REQUIREMENT_SERVER:()=>BLOCKLET_LATEST_REQUIREMENT_SERVER,BLOCKLET_LATEST_SPEC_VERSION:()=>BLOCKLET_LATEST_SPEC_VERSION,BLOCKLET_META_FILE:()=>BLOCKLET_META_FILE,BLOCKLET_META_FILE_ALT:()=>BLOCKLET_META_FILE_ALT,BLOCKLET_MODES:()=>BLOCKLET_MODES,BLOCKLET_OPENEMBED_PREFIX:()=>BLOCKLET_OPENEMBED_PREFIX,BLOCKLET_OPEN_API_FILE:()=>BLOCKLET_OPEN_API_FILE,BLOCKLET_OPEN_API_FILE_JSON:()=>BLOCKLET_OPEN_API_FILE_JSON,BLOCKLET_OPEN_COMPONENT_FILE:()=>BLOCKLET_OPEN_COMPONENT_FILE,BLOCKLET_OPEN_COMPONENT_FILE_JSON:()=>BLOCKLET_OPEN_COMPONENT_FILE_JSON,BLOCKLET_PLATFORMS:()=>BLOCKLET_PLATFORMS,BLOCKLET_PREFERENCE_FILE:()=>BLOCKLET_PREFERENCE_FILE,BLOCKLET_PREFERENCE_PREFIX:()=>BLOCKLET_PREFERENCE_PREFIX,BLOCKLET_RELEASE_FILE:()=>BLOCKLET_RELEASE_FILE,BLOCKLET_RELEASE_FOLDER:()=>BLOCKLET_RELEASE_FOLDER,BLOCKLET_RELEASE_FOLDER_NAME:()=>BLOCKLET_RELEASE_FOLDER_NAME,BLOCKLET_RESOURCE_DIR:()=>BLOCKLET_RESOURCE_DIR,BLOCKLET_STANDARD_INTERFACES:()=>BLOCKLET_STANDARD_INTERFACES,BLOCKLET_TENANT_MODES:()=>BLOCKLET_TENANT_MODES,BLOCKLET_UI_INTERFACES:()=>BLOCKLET_UI_INTERFACES,BLOCKLET_UPLOADS_DIR:()=>BLOCKLET_UPLOADS_DIR,BlockletEvents:()=>BlockletEvents,BlockletGroup:()=>BlockletGroup,BlockletInternalEvents:()=>BlockletInternalEvents,BlockletSource:()=>BlockletSource,BlockletStatus:()=>BlockletStatus,CHAIN_INFO_CONFIG:()=>CHAIN_INFO_CONFIG,CHAIN_PROP_MAP:()=>CHAIN_PROP_MAP,CHAIN_PROP_MAP_REVERSE:()=>CHAIN_PROP_MAP_REVERSE,COMPONENT_DOCKER_ENV_FILE_NAME:()=>COMPONENT_DOCKER_ENV_FILE_NAME,COMPONENT_ENV_FILE_NAME:()=>COMPONENT_ENV_FILE_NAME,DID_SPACES:()=>DID_SPACES,LOGIN_PROVIDER:()=>LOGIN_PROVIDER,MAX_TITLE_LENGTH:()=>MAX_TITLE_LENGTH,PROJECT:()=>PROJECT,PROVIDER_NAME:()=>PROVIDER_NAME,RESOURCE_PATTERN:()=>RESOURCE_PATTERN,RESTORE_PROGRESS_STATUS:()=>RESTORE_PROGRESS_STATUS,SIG_VERSION:()=>SIG_VERSION,SUPPORTED_LANGUAGES:()=>languages_default,SUSPENDED_REASON:()=>SUSPENDED_REASON,TeamEvents:()=>TeamEvents,baseLanguages:()=>baseLanguages,fromBlockletSource:()=>fromBlockletSource,fromBlockletStatus:()=>fromBlockletStatus,toBlockletSource:()=>toBlockletSource,toBlockletStatus:()=>toBlockletStatus});var constant$2=__toCommonJS$1(lib_exports),SUPPORTED_LANGUAGES={en:{name:"English",nativeName:"English"},es:{name:"Spanish",nativeName:"Español"},zh:{name:"Simplified Chinese",nativeName:"简体中文"},"zh-TW":{name:"Traditional Chinese",nativeName:"繁體中文"},fr:{name:"French",nativeName:"Français"},it:{name:"Italian",nativeName:"Italiano"},ja:{name:"Japanese",nativeName:"日本語"},ko:{name:"Korean",nativeName:"한국어"},pt:{name:"Portuguese",nativeName:"Português"},ru:{name:"Russian",nativeName:"Русский"},ar:{name:"Arabic",nativeName:"اَلْعَرَبِيَّةُ"},de:{name:"German",nativeName:"Deutsch"},mn:{name:"Mongolian",nativeName:"Монгол хэл"},hi:{name:"Hindi",nativeName:"हिन्दी"},bn:{name:"Bengali",nativeName:"বাংলা"},vi:{name:"Vietnamese",nativeName:"Tiếng Việt"},tr:{name:"Turkish",nativeName:"Türkçe"},te:{name:"Telugu",nativeName:"తెలుగు"},ur:{name:"Urdu",nativeName:"اردو"},mr:{name:"Marathi",nativeName:"मराठी"},pa:{name:"Panjabi",nativeName:"ਪੰਜਾਬੀ"},aa:{name:"Afar",nativeName:"Afaraf"},ab:{name:"Abkhaz",nativeName:"аҧсуа бызшәа"},ae:{name:"Avestan",nativeName:"avesta"},af:{name:"Afrikaans",nativeName:"Afrikaans"},ak:{name:"Akan",nativeName:"Akan"},am:{name:"Amharic",nativeName:"አማርኛ"},an:{name:"Aragonese",nativeName:"aragonés"},as:{name:"Assamese",nativeName:"অসমীয়া"},av:{name:"Avaric",nativeName:"авар мацӀ"},ay:{name:"Aymara",nativeName:"aymar aru"},az:{name:"Azerbaijani",nativeName:"azərbaycan dili"},ba:{name:"Bashkir",nativeName:"башҡорт теле"},be:{name:"Belarusian",nativeName:"беларуская мова"},bg:{name:"Bulgarian",nativeName:"български език"},bi:{name:"Bislama",nativeName:"Bislama"},bm:{name:"Bambara",nativeName:"bamanankan"},bo:{name:"Tibetan",nativeName:"བོད་ཡིག"},br:{name:"Breton",nativeName:"brezhoneg"},bs:{name:"Bosnian",nativeName:"bosanski jezik"},ca:{name:"Catalan",nativeName:"Català"},ce:{name:"Chechen",nativeName:"нохчийн мотт"},ch:{name:"Chamorro",nativeName:"Chamoru"},co:{name:"Corsican",nativeName:"corsu"},cr:{name:"Cree",nativeName:"ᓀᐦᐃᔭᐍᐏᐣ"},cs:{name:"Czech",nativeName:"čeština"},cu:{name:"Old Church Slavonic",nativeName:"ѩзыкъ словѣньскъ"},cv:{name:"Chuvash",nativeName:"чӑваш чӗлхи"},cy:{name:"Welsh",nativeName:"Cymraeg"},da:{name:"Danish",nativeName:"dansk"},dv:{name:"Divehi",nativeName:"ދިވެހި"},dz:{name:"Dzongkha",nativeName:"རྫོང་ཁ"},ee:{name:"Ewe",nativeName:"Eʋegbe"},el:{name:"Greek",nativeName:"Ελληνικά"},eo:{name:"Esperanto",nativeName:"Esperanto"},et:{name:"Estonian",nativeName:"eesti"},eu:{name:"Basque",nativeName:"euskara"},fa:{name:"Persian",nativeName:"فارسی"},ff:{name:"Fula",nativeName:"Fulfulde"},fi:{name:"Finnish",nativeName:"suomi"},fj:{name:"Fijian",nativeName:"vosa Vakaviti"},fo:{name:"Faroese",nativeName:"føroyskt"},fy:{name:"Western Frisian",nativeName:"Frysk"},ga:{name:"Irish",nativeName:"Gaeilge"},gd:{name:"Scottish Gaelic",nativeName:"Gàidhlig"},gl:{name:"Galician",nativeName:"galego"},gn:{name:"Guaraní",nativeName:"Avañe'ẽ"},gu:{name:"Gujarati",nativeName:"ગુજરાતી"},gv:{name:"Manx",nativeName:"Gaelg"},ha:{name:"Hausa",nativeName:"هَوُسَ"},he:{name:"Hebrew",nativeName:"עברית"},ho:{name:"Hiri Motu",nativeName:"Hiri Motu"},hr:{name:"Croatian",nativeName:"Hrvatski"},ht:{name:"Haitian",nativeName:"Kreyòl ayisyen"},hu:{name:"Hungarian",nativeName:"magyar"},hy:{name:"Armenian",nativeName:"Հայերեն"},hz:{name:"Herero",nativeName:"Otjiherero"},ia:{name:"Interlingua",nativeName:"Interlingua"},id:{name:"Indonesian",nativeName:"Bahasa Indonesia"},ie:{name:"Interlingue",nativeName:"Interlingue"},ig:{name:"Igbo",nativeName:"Asụsụ Igbo"},ii:{name:"Nuosu",nativeName:"ꆈꌠ꒿ Nuosuhxop"},ik:{name:"Inupiaq",nativeName:"Iñupiaq"},io:{name:"Ido",nativeName:"Ido"},is:{name:"Icelandic",nativeName:"Íslenska"},iu:{name:"Inuktitut",nativeName:"ᐃᓄᒃᑎᑐᑦ"},jv:{name:"Javanese",nativeName:"basa Jawa"},ka:{name:"Georgian",nativeName:"ქართული"},kg:{name:"Kongo",nativeName:"Kikongo"},ki:{name:"Kikuyu",nativeName:"Gĩkũyũ"},kj:{name:"Kwanyama",nativeName:"Kuanyama"},kk:{name:"Kazakh",nativeName:"қазақ тілі"},kl:{name:"Kalaallisut",nativeName:"kalaallisut"},km:{name:"Khmer",nativeName:"ខេមរភាសា"},kn:{name:"Kannada",nativeName:"ಕನ್ನಡ"},kr:{name:"Kanuri",nativeName:"Kanuri"},ks:{name:"Kashmiri",nativeName:"कश्मीरी"},ku:{name:"Kurdish",nativeName:"Kurdî"},kv:{name:"Komi",nativeName:"коми кыв"},kw:{name:"Cornish",nativeName:"Kernewek"},ky:{name:"Kyrgyz",nativeName:"Кыргызча"},la:{name:"Latin",nativeName:"latine"},lb:{name:"Luxembourgish",nativeName:"Lëtzebuergesch"},lg:{name:"Ganda",nativeName:"Luganda"},li:{name:"Limburgish",nativeName:"Limburgs"},ln:{name:"Lingala",nativeName:"Lingála"},lo:{name:"Lao",nativeName:"ພາສາລາວ"},lt:{name:"Lithuanian",nativeName:"lietuvių kalba"},lu:{name:"Luba-Katanga",nativeName:"Kiluba"},lv:{name:"Latvian",nativeName:"latviešu valoda"},mg:{name:"Malagasy",nativeName:"fiteny malagasy"},mh:{name:"Marshallese",nativeName:"Kajin M̧ajeļ"},mi:{name:"Māori",nativeName:"te reo Māori"},mk:{name:"Macedonian",nativeName:"македонски јазик"},ml:{name:"Malayalam",nativeName:"മലയാളം"},ms:{name:"Malay",nativeName:"Bahasa Melayu"},mt:{name:"Maltese",nativeName:"Malti"},my:{name:"Burmese",nativeName:"ဗမာစာ"},na:{name:"Nauru",nativeName:"Dorerin Naoero"},nb:{name:"Norwegian Bokmål",nativeName:"Norsk bokmål"},nd:{name:"Northern Ndebele",nativeName:"isiNdebele"},ne:{name:"Nepali",nativeName:"नेपाली"},ng:{name:"Ndonga",nativeName:"Owambo"},nl:{name:"Dutch",nativeName:"Nederlands"},nn:{name:"Norwegian Nynorsk",nativeName:"Norsk nynorsk"},no:{name:"Norwegian",nativeName:"Norsk"},nr:{name:"Southern Ndebele",nativeName:"isiNdebele"},nv:{name:"Navajo",nativeName:"Diné bizaad"},ny:{name:"Chichewa",nativeName:"chiCheŵa"},oc:{name:"Occitan",nativeName:"occitan"},oj:{name:"Ojibwe",nativeName:"ᐊᓂᔑᓈᐯᒧᐎᓐ"},om:{name:"Oromo",nativeName:"Afaan Oromoo"},or:{name:"Oriya",nativeName:"ଓଡ଼ିଆ"},os:{name:"Ossetian",nativeName:"ирон æвзаг"},pi:{name:"Pāli",nativeName:"पाऴि"},pl:{name:"Polish",nativeName:"Polski"},ps:{name:"Pashto",nativeName:"پښتو"},qu:{name:"Quechua",nativeName:"Runa Simi"},rm:{name:"Romansh",nativeName:"rumantsch grischun"},rn:{name:"Kirundi",nativeName:"Ikirundi"},ro:{name:"Romanian",nativeName:"Română"},rw:{name:"Kinyarwanda",nativeName:"Ikinyarwanda"},sa:{name:"Sanskrit",nativeName:"संस्कृतम्"},sc:{name:"Sardinian",nativeName:"sardu"},sd:{name:"Sindhi",nativeName:"सिन्धी"},se:{name:"Northern Sami",nativeName:"Davvisámegiella"},sg:{name:"Sango",nativeName:"yângâ tî sängö"},si:{name:"Sinhala",nativeName:"සිංහල"},sk:{name:"Slovak",nativeName:"slovenčina"},sl:{name:"Slovenian",nativeName:"slovenščina"},sm:{name:"Samoan",nativeName:"gagana fa'a Samoa"},sn:{name:"Shona",nativeName:"chiShona"},so:{name:"Somali",nativeName:"Soomaaliga"},sq:{name:"Albanian",nativeName:"Shqip"},sr:{name:"Serbian",nativeName:"српски језик"},ss:{name:"Swati",nativeName:"SiSwati"},st:{name:"Southern Sotho",nativeName:"Sesotho"},su:{name:"Sundanese",nativeName:"Basa Sunda"},sv:{name:"Swedish",nativeName:"Svenska"},sw:{name:"Swahili",nativeName:"Kiswahili"},ta:{name:"Tamil",nativeName:"தமிழ்"},tg:{name:"Tajik",nativeName:"тоҷикӣ"},th:{name:"Thai",nativeName:"ไทย"},ti:{name:"Tigrinya",nativeName:"ትግርኛ"},tk:{name:"Turkmen",nativeName:"Türkmençe"},tl:{name:"Tagalog",nativeName:"Wikang Tagalog"},tn:{name:"Tswana",nativeName:"Setswana"},to:{name:"Tonga",nativeName:"faka Tonga"},ts:{name:"Tsonga",nativeName:"Xitsonga"},tt:{name:"Tatar",nativeName:"татар теле"},tw:{name:"Twi",nativeName:"Twi"},ty:{name:"Tahitian",nativeName:"Reo Tahiti"},ug:{name:"Uyghur",nativeName:"ئۇيغۇرچە"},uk:{name:"Ukrainian",nativeName:"Українська"},uz:{name:"Uzbek",nativeName:"Ўзбек"},ve:{name:"Venda",nativeName:"Tshivenḓa"},vo:{name:"Volapük",nativeName:"Volapük"},wa:{name:"Walloon",nativeName:"walon"},wo:{name:"Wolof",nativeName:"Wollof"},xh:{name:"Xhosa",nativeName:"isiXhosa"},yi:{name:"Yiddish",nativeName:"ייִדיש"},yo:{name:"Yoruba",nativeName:"Yorùbá"},za:{name:"Zhuang",nativeName:"Saɯ cueŋƅ"},zu:{name:"Zulu",nativeName:"isiZulu"}},baseLanguages=[{code:"en",name:"English"},{code:"es",name:"Español"},{code:"zh",name:"简体中文"},{code:"zh-TW",name:"繁體中文"},{code:"ja",name:"日本語"},{code:"ko",name:"한국어"},{code:"de",name:"Deutsch"},{code:"hi",name:"हिन्दी"},{code:"fr",name:"Français"},{code:"ar",name:"اَلْعَرَبِيَّةُ"},{code:"ru",name:"Русский"},{code:"pt",name:"Português"},{code:"id",name:"Bahasa Indonesia"},{code:"vi",name:"Tiếng Việt"},{code:"th",name:"ไทย"}],languages_default=SUPPORTED_LANGUAGES,fromEntry=a=>j=>{const _e=Object.entries(a).find(et=>et[1]===Number(j));return _e?_e[0]:"unknown"},toEntry=a=>j=>Object.keys(a).find(_e=>a[_e]===Number(j)),BlockletStatus=Object.freeze({added:0,downloading:1,downloaded:2,installing:3,installed:4,starting:5,running:6,stopping:7,stopped:8,error:9,upgrading:10,restarting:11,corrupted:12,waiting:13,deleted:14}),BLOCKLET_CONTROLLER_STATUS={normal:0,suspended:10},SUSPENDED_REASON={expired:"expired"},fromBlockletStatus=fromEntry(BlockletStatus),toBlockletStatus=toEntry(BlockletStatus),BlockletSource=Object.freeze({registry:0,local:1,upload:2,url:3,custom:4}),fromBlockletSource=fromEntry(BlockletSource),toBlockletSource=toEntry(BlockletSource),BlockletGroup=Object.freeze({static:"static",dapp:"dapp",gateway:"gateway",pack:"pack"}),BLOCKLET_GROUPS=["dapp","static","gateway","pack"],BlockletEvents=Object.freeze({added:"blocklet.added",downloadFailed:"blocklet.downloadFailed",installed:"blocklet.installed",installFailed:"blocklet.installFailed",upgraded:"blocklet.upgraded",removed:"blocklet.removed",started:"blocklet.started",startFailed:"blocklet.startFailed",stopped:"blocklet.stopped",statusChange:"blocklet.statusChange",dataCleaned:"blocklet.dataCleaned",componentInstalled:"blocklet.componentInstalled",componentInstallFailed:"blocklet.componentInstallFailed",componentUpgraded:"blocklet.componentUpgraded",componentUpgradeFailed:"blocklet.componentUpgradeFailed",componentRemoved:"blocklet.componentRemoved",backupProgress:"blocklet.backupProgress",restoreProgress:"blocklet.restoreProgress",downloadBundleProgress:"blocklet.downloadBundleProgress",updated:"blocklet.updated",domainStatus:"blocklet.domainStatus",storeChange:"blocklet.storeChange",appDidChanged:"blocklet.appDidChanged",purchaseChange:"blocklet.purchaseChange",certError:"blocklet.certError",certIssued:"blocklet.certIssued",spaceConnected:"blocklet.spaceConnected",nftConsumed:"blocklet.nftConsumed",securityConfigUpdated:"blocklet.securityConfigUpdated"}),BlockletInternalEvents=Object.freeze({appConfigChanged:"blocklet.appConfigChanged",appSettingChanged:"blocklet.appSettingChanged",componentInstalled:"blocklet._componentInstalled",componentUpgraded:"blocklet._componentUpgraded",componentUpdated:"blocklet._componentUpdated",componentStarted:"blocklet._componentStarted",componentStopped:"blocklet._componentStopped",componentRemoved:"blocklet._componentRemoved",componentConfigChanged:"blocklet._componentConfigChanged",componentsUpdated:"blocklet.componentsUpdated"}),TeamEvents=Object.freeze({userAdded:"user.added",userRemoved:"user.removed",userUpdated:"user.updated",userProfileUpdated:"user.profile.updated",userPermissionUpdated:"user.permission.updated"}),BLOCKLET_PLATFORMS=["aix","darwin","freebsd","linux","openbsd","sunos","win32"],BLOCKLET_ARCHITECTURES=["arm","arm64","ia32","mips","mipsel","ppc","ppc64","s390","s390x","x32","x64"],BLOCKLET_MODES=Object.freeze({PRODUCTION:"production",DEVELOPMENT:"development"}),BLOCKLET_TENANT_MODES=Object.freeze({SINGLE:"single",MULTIPLE:"multiple"}),BLOCKLET_FACTORY_SHARES={developer:.7,store:.3},BLOCKLET_INTERFACE_TYPE_WEB="web",BLOCKLET_INTERFACE_TYPE_SERVICE="service",BLOCKLET_INTERFACE_TYPE_DOCKER="docker",BLOCKLET_INTERFACE_TYPE_WELLKNOWN="wellknown",BLOCKLET_INTERFACE_TYPES=[BLOCKLET_INTERFACE_TYPE_WEB,BLOCKLET_INTERFACE_TYPE_SERVICE,BLOCKLET_INTERFACE_TYPE_WELLKNOWN,BLOCKLET_INTERFACE_TYPE_DOCKER],BLOCKLET_INTERFACE_PUBLIC="publicUrl",BLOCKLET_INTERFACE_WELLKNOWN="wellknownUrl",BLOCKLET_UI_INTERFACES=[BLOCKLET_INTERFACE_PUBLIC],BLOCKLET_STANDARD_INTERFACES=[BLOCKLET_INTERFACE_PUBLIC,BLOCKLET_INTERFACE_WELLKNOWN],BLOCKLET_INTERFACE_PROTOCOL_HTTP="http",BLOCKLET_INTERFACE_PROTOCOL_TCP="tcp",BLOCKLET_INTERFACE_PROTOCOL_UDP="udp",BLOCKLET_INTERFACE_PROTOCOLS=[BLOCKLET_INTERFACE_PROTOCOL_TCP,BLOCKLET_INTERFACE_PROTOCOL_UDP,BLOCKLET_INTERFACE_PROTOCOL_HTTP],BLOCKLET_DYNAMIC_PATH_PREFIX="*",BLOCKLET_DEFAULT_PORT_NAME="BLOCKLET_PORT",BLOCKLET_DEFAULT_PATH_REWRITE="/",BLOCKLET_RELEASE_FOLDER=".blocklet/release",BLOCKLET_RELEASE_FILE="blocklet.json",BLOCKLET_BUNDLE_FOLDER=".blocklet/bundle",BLOCKLET_RELEASE_FOLDER_NAME="release",BLOCKLET_BUNDLE_FOLDER_NAME="bundle",BLOCKLET_BUNDLE_FILE="blocklet.zip",BLOCKLET_ENTRY_FILE="blocklet.js",BLOCKLET_META_FILE="blocklet.yml",BLOCKLET_META_FILE_ALT="blocklet.yaml",BLOCKLET_PREFERENCE_FILE="blocklet.prefs.json",BLOCKLET_OPEN_API_FILE="blocklet.openapi.yaml",BLOCKLET_OPEN_API_FILE_JSON="blocklet.openapi.json",BLOCKLET_OPEN_COMPONENT_FILE="blocklet.opencomponent.yaml",BLOCKLET_OPEN_COMPONENT_FILE_JSON="blocklet.opencomponent.json",BLOCKLET_PREFERENCE_PREFIX="prefs.",BLOCKLET_RESOURCE_DIR="resources",RESOURCE_PATTERN=/\.(js|css|jpg|jpeg|png|gif|webp|avif|svg|woff|woff2|ico|mp4|mp3|webm)$/i,PROJECT={DIR:".projects",RELEASE_DIR:"releases",RESOURCE_DIR:"resource",MAIN_DIR:"main",ASSET_DIR:"assets",TYPES:{resource:"resource",pack:"pack"},RELEASE_STATUS:{draft:"draft",published:"published"},MAX_NOTE_LENGTH:1e3,MAX_INTRO_LENGTH:3e3},BLOCKLET_DEFAULT_VERSION="1.0.0",BLOCKLET_UPLOADS_DIR="__uploads",BLOCKLET_LATEST_SPEC_VERSION="1.2.8",BLOCKLET_LATEST_REQUIREMENT_SERVER=">=1.7.0",BLOCKLET_LATEST_REQUIREMENT_ABTNODE=">=1.5.15",BLOCKLET_CONFIGURABLE_KEY={BLOCKLET_CLUSTER_SIZE:"BLOCKLET_CLUSTER_SIZE",BLOCKLET_APP_NAME:"BLOCKLET_APP_NAME",BLOCKLET_APP_DESCRIPTION:"BLOCKLET_APP_DESCRIPTION",BLOCKLET_APP_SK:"BLOCKLET_APP_SK",BLOCKLET_APP_LOGO:"BLOCKLET_APP_LOGO",BLOCKLET_APP_LOGO_SQUARE:"BLOCKLET_APP_LOGO_SQUARE",BLOCKLET_APP_LOGO_RECT:"BLOCKLET_APP_LOGO_RECT",BLOCKLET_APP_LOGO_FAVICON:"BLOCKLET_APP_LOGO_FAVICON",BLOCKLET_APP_URL:"BLOCKLET_APP_URL",BLOCKLET_APP_LANGUAGES:"BLOCKLET_APP_LANGUAGES",BLOCKLET_PASSPORT_COLOR:"BLOCKLET_PASSPORT_COLOR",BLOCKLET_WALLET_TYPE:"BLOCKLET_WALLET_TYPE",BLOCKLET_DELETABLE:"BLOCKLET_DELETABLE",BLOCKLET_APP_TENANT_MODE:"BLOCKLET_APP_TENANT_MODE",BLOCKLET_APP_COPYRIGHT_OWNER:"BLOCKLET_APP_COPYRIGHT_OWNER",BLOCKLET_APP_COPYRIGHT_YEAR:"BLOCKLET_APP_COPYRIGHT_YEAR",BLOCKLET_APP_SPACE_ENDPOINT:"BLOCKLET_APP_SPACE_ENDPOINT",BLOCKLET_APP_SPACES_URL:"BLOCKLET_APP_SPACES_URL",BLOCKLET_APP_BACKUP_ENDPOINT:"BLOCKLET_APP_BACKUP_ENDPOINT",BLOCKLET_APP_CHAIN_HOST:"BLOCKLET_APP_CHAIN_HOST",BLOCKLET_APP_CHAIN_TYPE:"BLOCKLET_APP_CHAIN_TYPE",BLOCKLET_APP_CHAIN_ID:"BLOCKLET_APP_CHAIN_ID",COMPONENT_ACCESS_WHO:"COMPONENT_ACCESS_WHO"},DID_SPACES={VC_TYPES:["PersonalSpaceVerifiableCredential","EnterpriseSpaceVerifiableCredential","DIDSpaceAppAuthCredential"],NFT_TAG:"did-space-purchase-nft",AUTHORIZE:{DEFAULT_SCOPE:"list:object read:object write:object"}},BLOCKLET_APP_SPACE_REQUIREMENT={REQUIRED:"required",REQUIRED_ON_SETUP:"requiredOnSetup",OPTIONAL:"optional",REQUIRED_ON_CONNECT:"requiredOnConnect"},CHAIN_INFO_CONFIG={CHAIN_TYPE:["type","arcblock"],CHAIN_ID:["id","none"],CHAIN_HOST:["host","none"]},RESTORE_PROGRESS_STATUS={waiting:0,start:10,importData:20,downloading:30,importDataSuccess:40,installing:50,completed:60,error:70},CHAIN_PROP_MAP={BLOCKLET_APP_CHAIN_HOST:"CHAIN_HOST",BLOCKLET_APP_CHAIN_ID:"CHAIN_ID",BLOCKLET_APP_CHAIN_TYPE:"CHAIN_TYPE"},CHAIN_PROP_MAP_REVERSE=Object.keys(CHAIN_PROP_MAP).reduce((a,j)=>(a[CHAIN_PROP_MAP[j]]=j,a),{}),LOGIN_PROVIDER={AUTH0:"auth0",GOOGLE:"google",APPLE:"apple",GITHUB:"github",WALLET:"wallet",NFT:"nft"},PROVIDER_NAME={auth0:"Auth0",github:"GitHub",google:"Google",apple:"Apple",email:"Email",wallet:"DID wallet",federated:"Federated"},APP_CONFIG_DIR="/.config",APP_CONFIG_PUBLIC_DIR="/.config/public",APP_CONFIG_FILE_PATH="/.config/config.json",COMPONENT_ENV_FILE_NAME="env",COMPONENT_DOCKER_ENV_FILE_NAME="docker-env",MAX_TITLE_LENGTH=40,BLOCKLET_OPENEMBED_PREFIX="/.well-known/blocklet/openembed",SIG_VERSION={V0:"0",V1:"1",DEFAULT:"1"};function getSvgIconUtilityClass(a){return generateUtilityClass("MuiSvgIcon",a)}generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _excluded$y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],useUtilityClasses$q=a=>{const{color:j,fontSize:_e,classes:et}=a,nt={root:["root",j!=="inherit"&&`color${capitalize$3(j)}`,`fontSize${capitalize$3(_e)}`]};return composeClasses(nt,getSvgIconUtilityClass,et)},SvgIconRoot=styled$1("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(a,j)=>{const{ownerState:_e}=a;return[j.root,_e.color!=="inherit"&&j[`color${capitalize$3(_e.color)}`],j[`fontSize${capitalize$3(_e.fontSize)}`]]}})(({theme:a,ownerState:j})=>{var _e,et,nt,tt,ot,ct,ft,ht,dt,vt,$t,xt,At;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:j.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(_e=a.transitions)==null||(et=_e.create)==null?void 0:et.call(_e,"fill",{duration:(nt=a.transitions)==null||(nt=nt.duration)==null?void 0:nt.shorter}),fontSize:{inherit:"inherit",small:((tt=a.typography)==null||(ot=tt.pxToRem)==null?void 0:ot.call(tt,20))||"1.25rem",medium:((ct=a.typography)==null||(ft=ct.pxToRem)==null?void 0:ft.call(ct,24))||"1.5rem",large:((ht=a.typography)==null||(dt=ht.pxToRem)==null?void 0:dt.call(ht,35))||"2.1875rem"}[j.fontSize],color:(vt=($t=(a.vars||a).palette)==null||($t=$t[j.color])==null?void 0:$t.main)!=null?vt:{action:(xt=(a.vars||a).palette)==null||(xt=xt.action)==null?void 0:xt.active,disabled:(At=(a.vars||a).palette)==null||(At=At.action)==null?void 0:At.disabled,inherit:void 0}[j.color]}}),SvgIcon=reactExports.forwardRef(function(j,_e){const et=useDefaultProps({props:j,name:"MuiSvgIcon"}),{children:nt,className:tt,color:ot="inherit",component:ct="svg",fontSize:ft="medium",htmlColor:ht,inheritViewBox:dt=!1,titleAccess:vt,viewBox:$t="0 0 24 24"}=et,xt=_objectWithoutPropertiesLoose$1(et,_excluded$y),At=reactExports.isValidElement(nt)&&nt.type==="svg",wt=_extends$2({},et,{color:ot,component:ct,fontSize:ft,instanceFontSize:j.fontSize,inheritViewBox:dt,viewBox:$t,hasSvgAsChild:At}),Ct={};dt||(Ct.viewBox=$t);const Rt=useUtilityClasses$q(wt);return jsxRuntimeExports.jsxs(SvgIconRoot,_extends$2({as:ct,className:clsx$1(Rt.root,tt),focusable:"false",color:ht,"aria-hidden":vt?void 0:!0,role:vt?"img":void 0,ref:_e},Ct,xt,At&&nt.props,{ownerState:wt,children:[At?nt.props.children:nt,vt?jsxRuntimeExports.jsx("title",{children:vt}):null]}))});SvgIcon.muiName="SvgIcon";function createSvgIcon$1(a,j){function _e(et,nt){return jsxRuntimeExports.jsx(SvgIcon,_extends$2({"data-testid":`${j}Icon`,ref:nt},et,{children:a}))}return _e.muiName=SvgIcon.muiName,reactExports.memo(reactExports.forwardRef(_e))}const unstable_ClassNameGenerator={configure:a=>{ClassNameGenerator.configure(a)}},utils$p=Object.freeze(Object.defineProperty({__proto__:null,capitalize:capitalize$3,createChainedFunction:createChainedFunction$1,createSvgIcon:createSvgIcon$1,debounce:debounce$4,deprecatedPropType,isMuiElement,ownerDocument,ownerWindow,requirePropFactory,setRef,unstable_ClassNameGenerator,unstable_useEnhancedEffect:useEnhancedEffect$1,unstable_useId:useId,unsupportedProp,useControlled,useEventCallback:useEventCallback$1,useForkRef,useIsFocusVisible},Symbol.toStringTag,{value:"Module"}));function _setPrototypeOf(a,j){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_e,et){return _e.__proto__=et,_e},_setPrototypeOf(a,j)}function _inheritsLoose$2(a,j){a.prototype=Object.create(j.prototype),a.prototype.constructor=a,_setPrototypeOf(a,j)}const config$1={disabled:!1},TransitionGroupContext=React$2.createContext(null);var forceReflow=function(j){return j.scrollTop},UNMOUNTED="unmounted",EXITED="exited",ENTERING="entering",ENTERED="entered",EXITING="exiting",Transition$1=function(a){_inheritsLoose$2(j,a);function j(et,nt){var tt;tt=a.call(this,et,nt)||this;var ot=nt,ct=ot&&!ot.isMounting?et.enter:et.appear,ft;return tt.appearStatus=null,et.in?ct?(ft=EXITED,tt.appearStatus=ENTERING):ft=ENTERED:et.unmountOnExit||et.mountOnEnter?ft=UNMOUNTED:ft=EXITED,tt.state={status:ft},tt.nextCallback=null,tt}j.getDerivedStateFromProps=function(nt,tt){var ot=nt.in;return ot&&tt.status===UNMOUNTED?{status:EXITED}:null};var _e=j.prototype;return _e.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},_e.componentDidUpdate=function(nt){var tt=null;if(nt!==this.props){var ot=this.state.status;this.props.in?ot!==ENTERING&&ot!==ENTERED&&(tt=ENTERING):(ot===ENTERING||ot===ENTERED)&&(tt=EXITING)}this.updateStatus(!1,tt)},_e.componentWillUnmount=function(){this.cancelNextCallback()},_e.getTimeouts=function(){var nt=this.props.timeout,tt,ot,ct;return tt=ot=ct=nt,nt!=null&&typeof nt!="number"&&(tt=nt.exit,ot=nt.enter,ct=nt.appear!==void 0?nt.appear:ot),{exit:tt,enter:ot,appear:ct}},_e.updateStatus=function(nt,tt){if(nt===void 0&&(nt=!1),tt!==null)if(this.cancelNextCallback(),tt===ENTERING){if(this.props.unmountOnExit||this.props.mountOnEnter){var ot=this.props.nodeRef?this.props.nodeRef.current:ReactDOM.findDOMNode(this);ot&&forceReflow(ot)}this.performEnter(nt)}else this.performExit();else this.props.unmountOnExit&&this.state.status===EXITED&&this.setState({status:UNMOUNTED})},_e.performEnter=function(nt){var tt=this,ot=this.props.enter,ct=this.context?this.context.isMounting:nt,ft=this.props.nodeRef?[ct]:[ReactDOM.findDOMNode(this),ct],ht=ft[0],dt=ft[1],vt=this.getTimeouts(),$t=ct?vt.appear:vt.enter;if(!nt&&!ot||config$1.disabled){this.safeSetState({status:ENTERED},function(){tt.props.onEntered(ht)});return}this.props.onEnter(ht,dt),this.safeSetState({status:ENTERING},function(){tt.props.onEntering(ht,dt),tt.onTransitionEnd($t,function(){tt.safeSetState({status:ENTERED},function(){tt.props.onEntered(ht,dt)})})})},_e.performExit=function(){var nt=this,tt=this.props.exit,ot=this.getTimeouts(),ct=this.props.nodeRef?void 0:ReactDOM.findDOMNode(this);if(!tt||config$1.disabled){this.safeSetState({status:EXITED},function(){nt.props.onExited(ct)});return}this.props.onExit(ct),this.safeSetState({status:EXITING},function(){nt.props.onExiting(ct),nt.onTransitionEnd(ot.exit,function(){nt.safeSetState({status:EXITED},function(){nt.props.onExited(ct)})})})},_e.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},_e.safeSetState=function(nt,tt){tt=this.setNextCallback(tt),this.setState(nt,tt)},_e.setNextCallback=function(nt){var tt=this,ot=!0;return this.nextCallback=function(ct){ot&&(ot=!1,tt.nextCallback=null,nt(ct))},this.nextCallback.cancel=function(){ot=!1},this.nextCallback},_e.onTransitionEnd=function(nt,tt){this.setNextCallback(tt);var ot=this.props.nodeRef?this.props.nodeRef.current:ReactDOM.findDOMNode(this),ct=nt==null&&!this.props.addEndListener;if(!ot||ct){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var ft=this.props.nodeRef?[this.nextCallback]:[ot,this.nextCallback],ht=ft[0],dt=ft[1];this.props.addEndListener(ht,dt)}nt!=null&&setTimeout(this.nextCallback,nt)},_e.render=function(){var nt=this.state.status;if(nt===UNMOUNTED)return null;var tt=this.props,ot=tt.children;tt.in,tt.mountOnEnter,tt.unmountOnExit,tt.appear,tt.enter,tt.exit,tt.timeout,tt.addEndListener,tt.onEnter,tt.onEntering,tt.onEntered,tt.onExit,tt.onExiting,tt.onExited,tt.nodeRef;var ct=_objectWithoutPropertiesLoose$1(tt,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return React$2.createElement(TransitionGroupContext.Provider,{value:null},typeof ot=="function"?ot(nt,ct):React$2.cloneElement(React$2.Children.only(ot),ct))},j}(React$2.Component);Transition$1.contextType=TransitionGroupContext;Transition$1.propTypes={};function noop$7(){}Transition$1.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:noop$7,onEntering:noop$7,onEntered:noop$7,onExit:noop$7,onExiting:noop$7,onExited:noop$7};Transition$1.UNMOUNTED=UNMOUNTED;Transition$1.EXITED=EXITED;Transition$1.ENTERING=ENTERING;Transition$1.ENTERED=ENTERED;Transition$1.EXITING=EXITING;function _assertThisInitialized$1(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}const assertThisInitialized=Object.freeze(Object.defineProperty({__proto__:null,default:_assertThisInitialized$1},Symbol.toStringTag,{value:"Module"}));function getChildMapping(a,j){var _e=function(tt){return j&&reactExports.isValidElement(tt)?j(tt):tt},et=Object.create(null);return a&&reactExports.Children.map(a,function(nt){return nt}).forEach(function(nt){et[nt.key]=_e(nt)}),et}function mergeChildMappings(a,j){a=a||{},j=j||{};function _e(dt){return dt in j?j[dt]:a[dt]}var et=Object.create(null),nt=[];for(var tt in a)tt in j?nt.length&&(et[tt]=nt,nt=[]):nt.push(tt);var ot,ct={};for(var ft in j){if(et[ft])for(ot=0;ot<et[ft].length;ot++){var ht=et[ft][ot];ct[et[ft][ot]]=_e(ht)}ct[ft]=_e(ft)}for(ot=0;ot<nt.length;ot++)ct[nt[ot]]=_e(nt[ot]);return ct}function getProp(a,j,_e){return _e[j]!=null?_e[j]:a.props[j]}function getInitialChildMapping(a,j){return getChildMapping(a.children,function(_e){return reactExports.cloneElement(_e,{onExited:j.bind(null,_e),in:!0,appear:getProp(_e,"appear",a),enter:getProp(_e,"enter",a),exit:getProp(_e,"exit",a)})})}function getNextChildMapping(a,j,_e){var et=getChildMapping(a.children),nt=mergeChildMappings(j,et);return Object.keys(nt).forEach(function(tt){var ot=nt[tt];if(reactExports.isValidElement(ot)){var ct=tt in j,ft=tt in et,ht=j[tt],dt=reactExports.isValidElement(ht)&&!ht.props.in;ft&&(!ct||dt)?nt[tt]=reactExports.cloneElement(ot,{onExited:_e.bind(null,ot),in:!0,exit:getProp(ot,"exit",a),enter:getProp(ot,"enter",a)}):!ft&&ct&&!dt?nt[tt]=reactExports.cloneElement(ot,{in:!1}):ft&&ct&&reactExports.isValidElement(ht)&&(nt[tt]=reactExports.cloneElement(ot,{onExited:_e.bind(null,ot),in:ht.props.in,exit:getProp(ot,"exit",a),enter:getProp(ot,"enter",a)}))}}),nt}var values=Object.values||function(a){return Object.keys(a).map(function(j){return a[j]})},defaultProps={component:"div",childFactory:function(j){return j}},TransitionGroup=function(a){_inheritsLoose$2(j,a);function j(et,nt){var tt;tt=a.call(this,et,nt)||this;var ot=tt.handleExited.bind(_assertThisInitialized$1(tt));return tt.state={contextValue:{isMounting:!0},handleExited:ot,firstRender:!0},tt}var _e=j.prototype;return _e.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},_e.componentWillUnmount=function(){this.mounted=!1},j.getDerivedStateFromProps=function(nt,tt){var ot=tt.children,ct=tt.handleExited,ft=tt.firstRender;return{children:ft?getInitialChildMapping(nt,ct):getNextChildMapping(nt,ot,ct),firstRender:!1}},_e.handleExited=function(nt,tt){var ot=getChildMapping(this.props.children);nt.key in ot||(nt.props.onExited&&nt.props.onExited(tt),this.mounted&&this.setState(function(ct){var ft=_extends$2({},ct.children);return delete ft[nt.key],{children:ft}}))},_e.render=function(){var nt=this.props,tt=nt.component,ot=nt.childFactory,ct=_objectWithoutPropertiesLoose$1(nt,["component","childFactory"]),ft=this.state.contextValue,ht=values(this.state.children).map(ot);return delete ct.appear,delete ct.enter,delete ct.exit,tt===null?React$2.createElement(TransitionGroupContext.Provider,{value:ft},ht):React$2.createElement(TransitionGroupContext.Provider,{value:ft},React$2.createElement(tt,ct,ht))},j}(React$2.Component);TransitionGroup.propTypes={};TransitionGroup.defaultProps=defaultProps;const reflow=a=>a.scrollTop;function getTransitionProps(a,j){var _e,et;const{timeout:nt,easing:tt,style:ot={}}=a;return{duration:(_e=ot.transitionDuration)!=null?_e:typeof nt=="number"?nt:nt[j.mode]||0,easing:(et=ot.transitionTimingFunction)!=null?et:typeof tt=="object"?tt[j.mode]:tt,delay:ot.transitionDelay}}function getCollapseUtilityClass(a){return generateUtilityClass("MuiCollapse",a)}generateUtilityClasses("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const _excluded$x=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],useUtilityClasses$p=a=>{const{orientation:j,classes:_e}=a,et={root:["root",`${j}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${j}`],wrapperInner:["wrapperInner",`${j}`]};return composeClasses(et,getCollapseUtilityClass,_e)},CollapseRoot=styled$1("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(a,j)=>{const{ownerState:_e}=a;return[j.root,j[_e.orientation],_e.state==="entered"&&j.entered,_e.state==="exited"&&!_e.in&&_e.collapsedSize==="0px"&&j.hidden]}})(({theme:a,ownerState:j})=>_extends$2({height:0,overflow:"hidden",transition:a.transitions.create("height")},j.orientation==="horizontal"&&{height:"auto",width:0,transition:a.transitions.create("width")},j.state==="entered"&&_extends$2({height:"auto",overflow:"visible"},j.orientation==="horizontal"&&{width:"auto"}),j.state==="exited"&&!j.in&&j.collapsedSize==="0px"&&{visibility:"hidden"})),CollapseWrapper=styled$1("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(a,j)=>j.wrapper})(({ownerState:a})=>_extends$2({display:"flex",width:"100%"},a.orientation==="horizontal"&&{width:"auto",height:"100%"})),CollapseWrapperInner=styled$1("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(a,j)=>j.wrapperInner})(({ownerState:a})=>_extends$2({width:"100%"},a.orientation==="horizontal"&&{width:"auto",height:"100%"})),Collapse=reactExports.forwardRef(function(j,_e){const et=useDefaultProps({props:j,name:"MuiCollapse"}),{addEndListener:nt,children:tt,className:ot,collapsedSize:ct="0px",component:ft,easing:ht,in:dt,onEnter:vt,onEntered:$t,onEntering:xt,onExit:At,onExited:wt,onExiting:Ct,orientation:Rt="vertical",style:It,timeout:Mt=duration$2.standard,TransitionComponent:Ot=Transition$1}=et,zt=_objectWithoutPropertiesLoose$1(et,_excluded$x),jt=_extends$2({},et,{orientation:Rt,collapsedSize:ct}),Gt=useUtilityClasses$p(jt),Jt=useTheme$1(),Xt=useTimeout(),dn=reactExports.useRef(null),St=reactExports.useRef(),rt=typeof ct=="number"?`${ct}px`:ct,st=Rt==="horizontal",ut=st?"width":"height",pt=reactExports.useRef(null),mt=useForkRef(_e,pt),Et=Vt=>Nt=>{if(Vt){const Yt=pt.current;Nt===void 0?Vt(Yt):Vt(Yt,Nt)}},Tt=()=>dn.current?dn.current[st?"clientWidth":"clientHeight"]:0,yt=Et((Vt,Nt)=>{dn.current&&st&&(dn.current.style.position="absolute"),Vt.style[ut]=rt,vt&&vt(Vt,Nt)}),it=Et((Vt,Nt)=>{const Yt=Tt();dn.current&&st&&(dn.current.style.position="");const{duration:tn,easing:an}=getTransitionProps({style:It,timeout:Mt,easing:ht},{mode:"enter"});if(Mt==="auto"){const qt=Jt.transitions.getAutoHeightDuration(Yt);Vt.style.transitionDuration=`${qt}ms`,St.current=qt}else Vt.style.transitionDuration=typeof tn=="string"?tn:`${tn}ms`;Vt.style[ut]=`${Yt}px`,Vt.style.transitionTimingFunction=an,xt&&xt(Vt,Nt)}),bt=Et((Vt,Nt)=>{Vt.style[ut]="auto",$t&&$t(Vt,Nt)}),kt=Et(Vt=>{Vt.style[ut]=`${Tt()}px`,At&&At(Vt)}),Dt=Et(wt),Ut=Et(Vt=>{const Nt=Tt(),{duration:Yt,easing:tn}=getTransitionProps({style:It,timeout:Mt,easing:ht},{mode:"exit"});if(Mt==="auto"){const an=Jt.transitions.getAutoHeightDuration(Nt);Vt.style.transitionDuration=`${an}ms`,St.current=an}else Vt.style.transitionDuration=typeof Yt=="string"?Yt:`${Yt}ms`;Vt.style[ut]=rt,Vt.style.transitionTimingFunction=tn,Ct&&Ct(Vt)}),Lt=Vt=>{Mt==="auto"&&Xt.start(St.current||0,Vt),nt&&nt(pt.current,Vt)};return jsxRuntimeExports.jsx(Ot,_extends$2({in:dt,onEnter:yt,onEntered:bt,onEntering:it,onExit:kt,onExited:Dt,onExiting:Ut,addEndListener:Lt,nodeRef:pt,timeout:Mt==="auto"?null:Mt},zt,{children:(Vt,Nt)=>jsxRuntimeExports.jsx(CollapseRoot,_extends$2({as:ft,className:clsx$1(Gt.root,ot,{entered:Gt.entered,exited:!dt&&rt==="0px"&&Gt.hidden}[Vt]),style:_extends$2({[st?"minWidth":"minHeight"]:rt},It),ref:mt},Nt,{ownerState:_extends$2({},jt,{state:Vt}),children:jsxRuntimeExports.jsx(CollapseWrapper,{ownerState:_extends$2({},jt,{state:Vt}),className:Gt.wrapper,ref:dn,children:jsxRuntimeExports.jsx(CollapseWrapperInner,{ownerState:_extends$2({},jt,{state:Vt}),className:Gt.wrapperInner,children:tt})})}))}))});Collapse.muiSupportAuto=!0;function getPaperUtilityClass(a){return generateUtilityClass("MuiPaper",a)}const paperClasses=generateUtilityClasses("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]),_excluded$w=["className","component","elevation","square","variant"],useUtilityClasses$o=a=>{const{square:j,elevation:_e,variant:et,classes:nt}=a,tt={root:["root",et,!j&&"rounded",et==="elevation"&&`elevation${_e}`]};return composeClasses(tt,getPaperUtilityClass,nt)},PaperRoot=styled$1("div",{name:"MuiPaper",slot:"Root",overridesResolver:(a,j)=>{const{ownerState:_e}=a;return[j.root,j[_e.variant],!_e.square&&j.rounded,_e.variant==="elevation"&&j[`elevation${_e.elevation}`]]}})(({theme:a,ownerState:j})=>{var _e;return _extends$2({backgroundColor:(a.vars||a).palette.background.paper,color:(a.vars||a).palette.text.primary,transition:a.transitions.create("box-shadow")},!j.square&&{borderRadius:a.shape.borderRadius},j.variant==="outlined"&&{border:`1px solid ${(a.vars||a).palette.divider}`},j.variant==="elevation"&&_extends$2({boxShadow:(a.vars||a).shadows[j.elevation]},!a.vars&&a.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${alpha_1("#fff",getOverlayAlpha(j.elevation))}, ${alpha_1("#fff",getOverlayAlpha(j.elevation))})`},a.vars&&{backgroundImage:(_e=a.vars.overlays)==null?void 0:_e[j.elevation]}))}),Paper=reactExports.forwardRef(function(j,_e){const et=useDefaultProps({props:j,name:"MuiPaper"}),{className:nt,component:tt="div",elevation:ot=1,square:ct=!1,variant:ft="elevation"}=et,ht=_objectWithoutPropertiesLoose$1(et,_excluded$w),dt=_extends$2({},et,{component:tt,elevation:ot,square:ct,variant:ft}),vt=useUtilityClasses$o(dt);return jsxRuntimeExports.jsx(PaperRoot,_extends$2({as:tt,ownerState:dt,className:clsx$1(vt.root,nt),ref:_e},ht))});function Ripple(a){const{className:j,classes:_e,pulsate:et=!1,rippleX:nt,rippleY:tt,rippleSize:ot,in:ct,onExited:ft,timeout:ht}=a,[dt,vt]=reactExports.useState(!1),$t=clsx$1(j,_e.ripple,_e.rippleVisible,et&&_e.ripplePulsate),xt={width:ot,height:ot,top:-(ot/2)+tt,left:-(ot/2)+nt},At=clsx$1(_e.child,dt&&_e.childLeaving,et&&_e.childPulsate);return!ct&&!dt&&vt(!0),reactExports.useEffect(()=>{if(!ct&&ft!=null){const wt=setTimeout(ft,ht);return()=>{clearTimeout(wt)}}},[ft,ct,ht]),jsxRuntimeExports.jsx("span",{className:$t,style:xt,children:jsxRuntimeExports.jsx("span",{className:At})})}const touchRippleClasses=generateUtilityClasses("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_excluded$v=["center","classes","className"];let _$1=a=>a,_t$2,_t2$1,_t3$1,_t4$1;const DURATION=550,DELAY_RIPPLE=80,enterKeyframe=keyframes(_t$2||(_t$2=_$1`
|
|
130
|
+
*/(function(a,j){(function(_e){var et;if(a.exports=_e(),et=!0,!et){var nt=window.Cookies,tt=window.Cookies=_e();tt.noConflict=function(){return window.Cookies=nt,tt}}})(function(){function _e(){for(var tt=0,ot={};tt<arguments.length;tt++){var ct=arguments[tt];for(var ft in ct)ot[ft]=ct[ft]}return ot}function et(tt){return tt.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function nt(tt){function ot(){}function ct(ht,dt,vt){if(!(typeof document>"u")){vt=_e({path:"/"},ot.defaults,vt),typeof vt.expires=="number"&&(vt.expires=new Date(new Date*1+vt.expires*864e5)),vt.expires=vt.expires?vt.expires.toUTCString():"";try{var $t=JSON.stringify(dt);/^[\{\[]/.test($t)&&(dt=$t)}catch{}dt=tt.write?tt.write(dt,ht):encodeURIComponent(String(dt)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),ht=encodeURIComponent(String(ht)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var xt="";for(var At in vt)vt[At]&&(xt+="; "+At,vt[At]!==!0&&(xt+="="+vt[At].split(";")[0]));return document.cookie=ht+"="+dt+xt}}function ft(ht,dt){if(!(typeof document>"u")){for(var vt={},$t=document.cookie?document.cookie.split("; "):[],xt=0;xt<$t.length;xt++){var At=$t[xt].split("="),wt=At.slice(1).join("=");!dt&&wt.charAt(0)==='"'&&(wt=wt.slice(1,-1));try{var Ct=et(At[0]);if(wt=(tt.read||tt)(wt,Ct)||et(wt),dt)try{wt=JSON.parse(wt)}catch{}if(vt[Ct]=wt,ht===Ct)break}catch{}}return ht?vt[ht]:vt}}return ot.set=ct,ot.get=function(ht){return ft(ht,!1)},ot.getJSON=function(ht){return ft(ht,!0)},ot.remove=function(ht,dt){ct(ht,"",_e(dt,{expires:-1}))},ot.defaults={},ot.withConverter=nt,ot}return nt(function(){})})})(js_cookie);var js_cookieExports=js_cookie.exports;const Cookie=getDefaultExportFromCjs$1(js_cookieExports);function startsWith$1(a,j,_e=0){const{length:et}=a;return _e<0?_e=0:_e>et&&(_e=et),j=`${j}`,a.slice(_e,_e+j.length)==j}function getBrowserLang$1(){return typeof window>"u"?null:window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null}function normalizeCode(a){return(a||"").toLowerCase().replace(/-/,"_")}function getPreferredLanguage(a){if(!a)return getBrowserLang$1();const{languages:j,fallback:_e}=a;if(!a.languages)return _e;const et=normalizeCode(getBrowserLang$1());if(!et)return _e;const nt=j.filter(ot=>normalizeCode(ot)===et);return nt.length>0?nt[0]||_e:j.filter(ot=>startsWith$1(et,ot))[0]||_e}const replace$3=(a,j)=>a.replace(/{(\w*)}/g,(_e,et)=>j.hasOwnProperty(et)?j[et]:""),translate=(a,j,_e,et="en",nt={})=>{const tt=a[_e],ot=get$6(tt,j),ct=get$6(a[et],j);return!tt||!ot?(console.warn(`Warning: no ${j} translation of ${_e}`),et&&ct?replace$3(ct,nt):j):typeof a[_e]=="function"||a[_e].then?replace$3(ct,nt):replace$3(ot,nt)};var MAX_SAFE_INTEGER$5=9007199254740991,nativeFloor=Math.floor;function baseRepeat$1(a,j){var _e="";if(!a||j<1||j>MAX_SAFE_INTEGER$5)return _e;do j%2&&(_e+=a),j=nativeFloor(j/2),j&&(a+=a);while(j);return _e}var _baseRepeat=baseRepeat$1;function baseSlice$2(a,j,_e){var et=-1,nt=a.length;j<0&&(j=-j>nt?0:nt+j),_e=_e>nt?nt:_e,_e<0&&(_e+=nt),nt=j>_e?0:_e-j>>>0,j>>>=0;for(var tt=Array(nt);++et<nt;)tt[et]=a[et+j];return tt}var _baseSlice=baseSlice$2,baseSlice$1=_baseSlice;function castSlice$3(a,j,_e){var et=a.length;return _e=_e===void 0?et:_e,!j&&_e>=et?a:baseSlice$1(a,j,_e)}var _castSlice=castSlice$3,rsAstralRange$3="\\ud800-\\udfff",rsComboMarksRange$4="\\u0300-\\u036f",reComboHalfMarksRange$4="\\ufe20-\\ufe2f",rsComboSymbolsRange$4="\\u20d0-\\u20ff",rsComboRange$4=rsComboMarksRange$4+reComboHalfMarksRange$4+rsComboSymbolsRange$4,rsVarRange$3="\\ufe0e\\ufe0f",rsZWJ$3="\\u200d",reHasUnicode=RegExp("["+rsZWJ$3+rsAstralRange$3+rsComboRange$4+rsVarRange$3+"]");function hasUnicode$4(a){return reHasUnicode.test(a)}var _hasUnicode=hasUnicode$4;function baseProperty$2(a){return function(j){return j==null?void 0:j[a]}}var _baseProperty=baseProperty$2,baseProperty$1=_baseProperty,asciiSize$1=baseProperty$1("length"),_asciiSize=asciiSize$1,rsAstralRange$2="\\ud800-\\udfff",rsComboMarksRange$3="\\u0300-\\u036f",reComboHalfMarksRange$3="\\ufe20-\\ufe2f",rsComboSymbolsRange$3="\\u20d0-\\u20ff",rsComboRange$3=rsComboMarksRange$3+reComboHalfMarksRange$3+rsComboSymbolsRange$3,rsVarRange$2="\\ufe0e\\ufe0f",rsAstral$1="["+rsAstralRange$2+"]",rsCombo$3="["+rsComboRange$3+"]",rsFitz$2="\\ud83c[\\udffb-\\udfff]",rsModifier$2="(?:"+rsCombo$3+"|"+rsFitz$2+")",rsNonAstral$2="[^"+rsAstralRange$2+"]",rsRegional$2="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$2="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ$2="\\u200d",reOptMod$2=rsModifier$2+"?",rsOptVar$2="["+rsVarRange$2+"]?",rsOptJoin$2="(?:"+rsZWJ$2+"(?:"+[rsNonAstral$2,rsRegional$2,rsSurrPair$2].join("|")+")"+rsOptVar$2+reOptMod$2+")*",rsSeq$2=rsOptVar$2+reOptMod$2+rsOptJoin$2,rsSymbol$1="(?:"+[rsNonAstral$2+rsCombo$3+"?",rsCombo$3,rsRegional$2,rsSurrPair$2,rsAstral$1].join("|")+")",reUnicode$1=RegExp(rsFitz$2+"(?="+rsFitz$2+")|"+rsSymbol$1+rsSeq$2,"g");function unicodeSize$1(a){for(var j=reUnicode$1.lastIndex=0;reUnicode$1.test(a);)++j;return j}var _unicodeSize=unicodeSize$1,asciiSize=_asciiSize,hasUnicode$3=_hasUnicode,unicodeSize=_unicodeSize;function stringSize$3(a){return hasUnicode$3(a)?unicodeSize(a):asciiSize(a)}var _stringSize=stringSize$3;function asciiToArray$1(a){return a.split("")}var _asciiToArray=asciiToArray$1,rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$2="\\u0300-\\u036f",reComboHalfMarksRange$2="\\ufe20-\\ufe2f",rsComboSymbolsRange$2="\\u20d0-\\u20ff",rsComboRange$2=rsComboMarksRange$2+reComboHalfMarksRange$2+rsComboSymbolsRange$2,rsVarRange$1="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange$1+"]",rsCombo$2="["+rsComboRange$2+"]",rsFitz$1="\\ud83c[\\udffb-\\udfff]",rsModifier$1="(?:"+rsCombo$2+"|"+rsFitz$1+")",rsNonAstral$1="[^"+rsAstralRange$1+"]",rsRegional$1="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$1="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ$1="\\u200d",reOptMod$1=rsModifier$1+"?",rsOptVar$1="["+rsVarRange$1+"]?",rsOptJoin$1="(?:"+rsZWJ$1+"(?:"+[rsNonAstral$1,rsRegional$1,rsSurrPair$1].join("|")+")"+rsOptVar$1+reOptMod$1+")*",rsSeq$1=rsOptVar$1+reOptMod$1+rsOptJoin$1,rsSymbol="(?:"+[rsNonAstral$1+rsCombo$2+"?",rsCombo$2,rsRegional$1,rsSurrPair$1,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz$1+"(?="+rsFitz$1+")|"+rsSymbol+rsSeq$1,"g");function unicodeToArray$1(a){return a.match(reUnicode)||[]}var _unicodeToArray=unicodeToArray$1,asciiToArray=_asciiToArray,hasUnicode$2=_hasUnicode,unicodeToArray=_unicodeToArray;function stringToArray$3(a){return hasUnicode$2(a)?unicodeToArray(a):asciiToArray(a)}var _stringToArray=stringToArray$3,baseRepeat=_baseRepeat,baseToString$3=_baseToString,castSlice$2=_castSlice,hasUnicode$1=_hasUnicode,stringSize$2=_stringSize,stringToArray$2=_stringToArray,nativeCeil=Math.ceil;function createPadding$2(a,j){j=j===void 0?" ":baseToString$3(j);var _e=j.length;if(_e<2)return _e?baseRepeat(j,a):j;var et=baseRepeat(j,nativeCeil(a/stringSize$2(j)));return hasUnicode$1(j)?castSlice$2(stringToArray$2(et),0,a).join(""):et.slice(0,a)}var _createPadding=createPadding$2,reWhitespace=/\s/;function trimmedEndIndex$2(a){for(var j=a.length;j--&&reWhitespace.test(a.charAt(j)););return j}var _trimmedEndIndex=trimmedEndIndex$2,trimmedEndIndex$1=_trimmedEndIndex,reTrimStart=/^\s+/;function baseTrim$1(a){return a&&a.slice(0,trimmedEndIndex$1(a)+1).replace(reTrimStart,"")}var _baseTrim=baseTrim$1,baseTrim=_baseTrim,isObject$l=isObject_1,isSymbol$6=isSymbol_1,NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$4(a){if(typeof a=="number")return a;if(isSymbol$6(a))return NAN;if(isObject$l(a)){var j=typeof a.valueOf=="function"?a.valueOf():a;a=isObject$l(j)?j+"":j}if(typeof a!="string")return a===0?a:+a;a=baseTrim(a);var _e=reIsBinary.test(a);return _e||reIsOctal.test(a)?freeParseInt(a.slice(2),_e?2:8):reIsBadHex.test(a)?NAN:+a}var toNumber_1=toNumber$4,toNumber$3=toNumber_1,INFINITY$3=1/0,MAX_INTEGER=17976931348623157e292;function toFinite$1(a){if(!a)return a===0?a:0;if(a=toNumber$3(a),a===INFINITY$3||a===-INFINITY$3){var j=a<0?-1:1;return j*MAX_INTEGER}return a===a?a:0}var toFinite_1=toFinite$1,toFinite=toFinite_1;function toInteger$2(a){var j=toFinite(a),_e=j%1;return j===j?_e?j-_e:j:0}var toInteger_1=toInteger$2,createPadding$1=_createPadding,stringSize$1=_stringSize,toInteger$1=toInteger_1,toString$j=toString_1;function padStart(a,j,_e){a=toString$j(a),j=toInteger$1(j);var et=j?stringSize$1(a):0;return j&&et<j?createPadding$1(j-et,_e)+a:a}var padStart_1$1=padStart;function base$5(a){if(a.length>=255)throw new TypeError("Alphabet too long");for(var j=new Uint8Array(256),_e=0;_e<j.length;_e++)j[_e]=255;for(var et=0;et<a.length;et++){var nt=a.charAt(et),tt=nt.charCodeAt(0);if(j[tt]!==255)throw new TypeError(nt+" is ambiguous");j[tt]=et}var ot=a.length,ct=a.charAt(0),ft=Math.log(ot)/Math.log(256),ht=Math.log(256)/Math.log(ot);function dt(xt){if(xt instanceof Uint8Array||(ArrayBuffer.isView(xt)?xt=new Uint8Array(xt.buffer,xt.byteOffset,xt.byteLength):Array.isArray(xt)&&(xt=Uint8Array.from(xt))),!(xt instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(xt.length===0)return"";for(var At=0,wt=0,Ct=0,Rt=xt.length;Ct!==Rt&&xt[Ct]===0;)Ct++,At++;for(var It=(Rt-Ct)*ht+1>>>0,Mt=new Uint8Array(It);Ct!==Rt;){for(var Ot=xt[Ct],zt=0,jt=It-1;(Ot!==0||zt<wt)&&jt!==-1;jt--,zt++)Ot+=256*Mt[jt]>>>0,Mt[jt]=Ot%ot>>>0,Ot=Ot/ot>>>0;if(Ot!==0)throw new Error("Non-zero carry");wt=zt,Ct++}for(var Gt=It-wt;Gt!==It&&Mt[Gt]===0;)Gt++;for(var Jt=ct.repeat(At);Gt<It;++Gt)Jt+=a.charAt(Mt[Gt]);return Jt}function vt(xt){if(typeof xt!="string")throw new TypeError("Expected String");if(xt.length===0)return new Uint8Array;for(var At=0,wt=0,Ct=0;xt[At]===ct;)wt++,At++;for(var Rt=(xt.length-At)*ft+1>>>0,It=new Uint8Array(Rt);xt[At];){var Mt=j[xt.charCodeAt(At)];if(Mt===255)return;for(var Ot=0,zt=Rt-1;(Mt!==0||Ot<Ct)&&zt!==-1;zt--,Ot++)Mt+=ot*It[zt]>>>0,It[zt]=Mt%256>>>0,Mt=Mt/256>>>0;if(Mt!==0)throw new Error("Non-zero carry");Ct=Ot,At++}for(var jt=Rt-Ct;jt!==Rt&&It[jt]===0;)jt++;for(var Gt=new Uint8Array(wt+(Rt-jt)),Jt=wt;jt!==Rt;)Gt[Jt++]=It[jt++];return Gt}function $t(xt){var At=vt(xt);if(At)return At;throw new Error("Non-base"+ot+" character")}return{encode:dt,decodeUnsafe:vt,decode:$t}}var src=base$5;const basex=src,ALPHABET$1="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";var bs58=basex(ALPHABET$1);const base58=getDefaultExportFromCjs$1(bs58);var __defProp$8=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$1=Object.getOwnPropertySymbols,__hasOwnProp$3=Object.prototype.hasOwnProperty,__propIsEnum$1=Object.prototype.propertyIsEnumerable,__defNormalProp$6=(a,j,_e)=>j in a?__defProp$8(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__spreadValues$1=(a,j)=>{for(var _e in j||(j={}))__hasOwnProp$3.call(j,_e)&&__defNormalProp$6(a,_e,j[_e]);if(__getOwnPropSymbols$1)for(var _e of __getOwnPropSymbols$1(j))__propIsEnum$1.call(j,_e)&&__defNormalProp$6(a,_e,j[_e]);return a},__spreadProps=(a,j)=>__defProps(a,__getOwnPropDescs(j)),__objRest$1=(a,j)=>{var _e={};for(var et in a)__hasOwnProp$3.call(a,et)&&j.indexOf(et)<0&&(_e[et]=a[et]);if(a!=null&&__getOwnPropSymbols$1)for(var et of __getOwnPropSymbols$1(a))j.indexOf(et)<0&&__propIsEnum$1.call(a,et)&&(_e[et]=a[et]);return _e},colors=["#E94E4E","#E41115","#E96B4E","#E5502E","#E98F4E","#E57A2E","#E98F4E","#E5A82E","#DACD5D","#DAC825","#BDD13D","#C8E31C","#AEE94E","#7FD558","#52CC19","#4FC469","#59DE9C","#19CC73","#5ED9D1","#19CCC0","#4ED7E9","#19B7CC","#45ACE8","#1C97DE","#4E68E9","#2E4DE5","#7F4EE9","#682EE5","#BE65E7","#AF40E2","#DF58C2","#E94E8F"];const TOTAL_COLORS=32,TOTAL_POSITIONS=64,SHAPE_SIZE_RATIO=.25,REVERSED_ASPECT_RATIO=.7,RoleType={ACCOUNT:0,APPLICATION:3,ASSET:6,TOKEN:17},Shape={RECTANGLE:0,SQUARE:1,HEXAGON:2,CIRCLE:3},ElementType={CANVAS:0,SVG:1},easeOutBack=(a,j=1.70158)=>{const _e=a/1-1;return _e*_e*((j+1)*_e+j)+1},calcBorderRadius=a=>a>80?10:Math.floor(.1*a+2),getElementType=a=>{if(a){const{tagName:j}=a;if(/^svg$/i.test(j))return ElementType.SVG;if(/^canvas$/i.test(j)&&"getContext"in a)return ElementType.CANVAS}throw new Error(`Expected a svg or canvas element, got ${a}`)},animate=(a={})=>{const{callback:j,duration:_e=1e3,onComplete:et=()=>{},ease:nt=easeOutBack}=a;let tt=null,ot=0,ct=null;const ft=()=>{ct&&(cancelAnimationFrame(ct),ct=null)},ht=dt=>{tt||(tt=dt),dt-tt>=_e?(ot=1,et()):(ot=nt((dt-tt)/_e),ct=requestAnimationFrame(ht)),j(ot)};return requestAnimationFrame(ht),ft},genUniqueID=(a="")=>`${a}_${Math.floor(Math.random()*1e4)}_${Date.now()}`,DEFAULT_OPTIONS$1={width:200,height:200,xLines:8,yLines:8};class Grid{constructor(j){this.options=Object.assign({},DEFAULT_OPTIONS$1,j),this.init()}get gapX(){return this.options.width/(this.options.yLines+1)}get gapY(){return this.options.height/(this.options.xLines+1)}init(){const{xLines:j,yLines:_e}=this.options;this.xOffsets=[...new Array(j)].map((et,nt)=>(nt+1)*this.gapX-this.options.width/2),this.yOffsets=[...new Array(_e)].map((et,nt)=>(nt+1)*this.gapY-this.options.height/2)}getOffset(j,_e){return[this.xOffsets[j],this.yOffsets[_e]]}}class CanvasRenderer{constructor(j,_e){this.ctx=j;const et=_e.size||Math.min(j.canvas.width,j.canvas.height)||100;j.canvas.width=et,j.canvas.height=et;const nt=new Grid({width:et,height:et,xLines:8,yLines:8});this.config=__spreadProps(__spreadValues$1({},_e),{size:et,positions:_e.positions.map(tt=>nt.getOffset(tt[0],tt[1])),shapeSize:et*SHAPE_SIZE_RATIO})}render(){this.draw(this.config.positions)}draw(j){const{ctx:_e}=this,{size:et,color:nt,shapeSize:tt,opacity:ot,shape:ct}=this.config,ft=calcBorderRadius(et);switch(_e.clearRect(0,0,et,et),ct){case Shape.RECTANGLE:{this.drawRoundedRect(_e,0,et*(1-REVERSED_ASPECT_RATIO)/2,et,et*REVERSED_ASPECT_RATIO,ft,!1,!1);break}case Shape.HEXAGON:{this.drawHexagon(_e,et/2,et/2,et/2,0);break}case Shape.CIRCLE:{_e.arc(et/2,et/2,et/2,0,Math.PI*2);break}case Shape.SQUARE:default:this.drawRoundedRect(_e,0,0,et,et,ft,!1,!1)}_e.clip(),_e.fillStyle=nt,_e.fillRect(0,0,et,et),_e.save(),_e.translate(et/2,et/2),j.forEach(([ht,dt])=>this.drawHexagon(_e,ht,dt,tt,ot)),_e.restore()}animate(j={}){const{duration:_e=1e3,onComplete:et=()=>{}}=j,{positions:nt}=this.config;return animate({duration:_e,onComplete:et,callback:tt=>{this.draw(nt.map(ot=>[tt*ot[0],tt*ot[1]]))}})}drawHexagon(j,_e,et,nt,tt){const ot=2*Math.PI/6;j.beginPath();for(let ct=0;ct<6;ct++)j.lineTo(_e+nt*Math.cos(ot*(ct-1.5)),et+nt*Math.sin(ot*(ct-1.5)));j.closePath(),j.fillStyle=`rgba(255, 255, 255, ${tt})`,j.fill()}drawRoundedRect(j,_e,et,nt,tt,ot=10,ct=!1,ft=!0){const ht=typeof ot=="number"?{tl:ot,tr:ot,br:ot,bl:ot}:__spreadValues$1({tl:0,tr:0,br:0,bl:0},ot);j.beginPath(),j.moveTo(_e+ht.tl,et),j.lineTo(_e+nt-ht.tr,et),j.quadraticCurveTo(_e+nt,et,_e+nt,et+ht.tr),j.lineTo(_e+nt,et+tt-ht.br),j.quadraticCurveTo(_e+nt,et+tt,_e+nt-ht.br,et+tt),j.lineTo(_e+ht.bl,et+tt),j.quadraticCurveTo(_e,et+tt,_e,et+tt-ht.bl),j.lineTo(_e,et+ht.tl),j.quadraticCurveTo(_e,et,_e+ht.tl,et),j.closePath(),ct&&j.fill(),ft&&j.stroke()}}const XMLNS="http://www.w3.org/2000/svg";function svgValue(a){return Math.round(a*10)/10}class SvgRenderer{constructor(j,_e){this.el=j,this.config=_e;const et=_e.size||Math.min(Number(j.getAttribute("width"))||100,Number(j.getAttribute("height"))||100);j.setAttribute("viewBox",`0 0 ${et} ${et}`);const nt=new Grid({width:et,height:et,xLines:8,yLines:8});this.config=__spreadProps(__spreadValues$1({},_e),{size:et,positions:_e.positions.map(tt=>{const[ot,ct]=nt.getOffset(tt[0],tt[1]);return[svgValue(ot),svgValue(ct)]}),shapeSize:svgValue(et*SHAPE_SIZE_RATIO)}),this.points=this.calcPoints(et/2,et/2,this.config.shapeSize)}setBackground(){const{size:j,color:_e,shape:et}=this.config,nt=calcBorderRadius(j);let tt;switch(et){case Shape.RECTANGLE:{tt=this.drawRoundedRect(0,svgValue(j*(1-REVERSED_ASPECT_RATIO)/2),j,svgValue(j*REVERSED_ASPECT_RATIO),nt);break}case Shape.HEXAGON:{const ht=this.calcPoints(j/2,j/2,j/2);tt=this.drawHexagon(ht);break}case Shape.CIRCLE:{tt=this.createElement("circle",{cx:j/2,cy:j/2,r:j/2});break}case Shape.SQUARE:default:tt=this.drawRoundedRect(0,0,j,j,nt)}const ot=genUniqueID("clip-path"),ct=this.createElement("clipPath",{id:ot},[tt]);this.el.appendChild(this.createElement("defs",{},[ct]));const ft=this.createElement("g",{"clip-path":`url(#${ot})`},this.createElement("rect",{x:0,y:0,width:j,height:j,fill:_e}));this.g=ft,this.el.appendChild(ft)}render(){this.el.innerHTML="",this.setBackground(),this.drawHexagons(this.config.positions)}drawHexagons(j){const{opacity:_e}=this.config;this.hexagons||(this.hexagons=j.map(()=>{const et=this.drawHexagon(this.points,_e);return this.g.appendChild(et),et})),this.hexagons.forEach((et,nt)=>{et.setAttribute("transform",`translate(${j[nt][0]} ${j[nt][1]})`)})}animate(j={}){const{duration:_e=1e3,onComplete:et=()=>{}}=j,{positions:nt}=this.config;return this.setBackground(),animate({duration:_e,onComplete:et,callback:tt=>{this.drawHexagons(nt.map(ot=>[tt*ot[0],tt*ot[1]]))}})}calcPoints(j,_e,et){const nt=2*Math.PI/6,tt=[];for(let ot=0;ot<6;ot++)tt.push([j+et*Math.cos(nt*(ot-1.5)),_e+et*Math.sin(nt*(ot-1.5))]);return tt.map(ot=>[svgValue(ot[0]),svgValue(ot[1])])}getPointsStr(j){return j.map(_e=>`${svgValue(_e[0])},${svgValue(_e[1])}`).join(" ")}drawHexagon(j,_e){return this.createElement("polygon",{points:this.getPointsStr(j),transformOrigin:"center",style:{fill:"#fff",fillOpacity:_e}})}drawRoundedRect(j,_e,et,nt,tt=10,ot="none"){return this.createElement("rect",{x:j,y:_e,width:et,height:nt,rx:tt,ry:tt,fill:ot})}createElement(j,_e={},et=[]){const nt=document.createElementNS(XMLNS,j),tt=_e,{style:ot={}}=tt,ct=__objRest$1(tt,["style"]);return Object.keys(ct).forEach(ft=>{nt.setAttribute(ft,ct[ft])}),Object.keys(ot).forEach(ft=>{nt.style[ft]=ot[ft]}),Array.isArray(et)||(et=[et]),et.forEach(ft=>nt.appendChild(ft)),nt}}class DIDParsingError extends Error{constructor(j,_e){super(j,_e),this.name="DIDParsingError"}}const parseRoleType=a=>a.slice(0,1)>>>2,isBase58btc=a=>typeof a!="string"?!1:a[0]==="z",decodeDid=a=>{if(!isBase58btc(a))throw new Error(`Invalid DID string: ${a}`);return base58.decode(a.slice(1))},parseDID=a=>{try{const j=decodeDid(a),_e=parseRoleType(j),et=j.slice(2),nt=et.slice(0,8).reduce((ct,ft)=>ct+ft,0)%TOTAL_COLORS,tt=et.slice(8),ot=[...new Array(8)].map((ct,ft)=>(tt[ft*2]+tt[ft*2+1])%TOTAL_POSITIONS);return{colorIndex:nt,positionIndexes:ot,roleType:_e}}catch(j){throw new DIDParsingError(`Failed to parse DID, ${a}`,{cause:j})}},getDIDMotifInfo=a=>{const{colorIndex:j,positionIndexes:_e,roleType:et}=parseDID(a);return{color:colors[j],positions:_e.map(nt=>[Math.floor(nt/8),nt%8]),roleType:et}},getMotifShapeType=(a,j)=>{if(Object.values(Shape).indexOf(a)>-1)return a;const et={[RoleType.ACCOUNT]:Shape.RECTANGLE,[RoleType.APPLICATION]:Shape.SQUARE,[RoleType.ASSET]:Shape.HEXAGON,[RoleType.TOKEN]:Shape.CIRCLE}[j];return!et&&et!==0?Shape.SQUARE:et},getConfiguration=(a,j)=>{const _e=j,{opacity:et=.5,shape:nt}=_e,tt=__objRest$1(_e,["opacity","shape"]),{color:ot,positions:ct,roleType:ft}=getDIDMotifInfo(a);return __spreadValues$1({color:ot,positions:ct,opacity:et,shape:getMotifShapeType(nt,ft)},tt)},update$1=(a,j,_e={})=>{try{const et=getConfiguration(j,_e),tt=getElementType(a)===ElementType.CANVAS?new CanvasRenderer(a.getContext("2d"),et):new SvgRenderer(a,et),{animation:ot}=_e;ot?tt.animate(typeof ot=="object"?ot:{}):tt.render()}catch(et){if(et instanceof DIDParsingError)console.error(et.message),console.error(et.cause);else throw et}},toDataURL=(a,j)=>{const _e=getConfiguration(a,j),et=document.createElement("canvas");return new CanvasRenderer(et.getContext("2d"),_e).render(),et.toDataURL()},toSvg=(a,j={})=>{const _e=__spreadProps(__spreadValues$1({},getConfiguration(a,j)),{size:j.size||100}),et=document.createElementNS("http://www.w3.org/2000/svg","svg");return new SvgRenderer(et,_e).render(),et.outerHTML},didMotif_es=Object.freeze(Object.defineProperty({__proto__:null,Shape,colors,getConfiguration,getDIDMotifInfo,parseDID,toDataURL,toSvg,update:update$1},Symbol.toStringTag,{value:"Module"})),WELLKNOWN_SERVICE_PATH_PREFIX="/.well-known/service",AUTH_SERVICE_PREFIX$1="/.well-known/service",RELAY_SOCKET_PREFIX$1="/.well-known/service",DASHBOARD_URL=`${AUTH_SERVICE_PREFIX$1}/admin`,PROFILE_URL=`${AUTH_SERVICE_PREFIX$1}/user`,NAVIGATION_URL=`${AUTH_SERVICE_PREFIX$1}/admin/navigation`,DID_PREFIX$1="did:abt:",PASSPORT_STATUS={VALID:"valid",REVOKED:"revoked"},LOGIN_PROVIDER$1={AUTH0:"auth0",APPLE:"apple",GITHUB:"github",GOOGLE:"google",WALLET:"wallet",NFT:"nft"},LOGIN_PROVIDER_NAME={[LOGIN_PROVIDER$1.AUTH0]:"Email",[LOGIN_PROVIDER$1.APPLE]:"Apple",[LOGIN_PROVIDER$1.GITHUB]:"Github",[LOGIN_PROVIDER$1.GOOGLE]:"Google",[LOGIN_PROVIDER$1.WALLET]:"DID Wallet",[LOGIN_PROVIDER$1.NFT]:"NFT"},OAUTH_PROVIDER={auth0:"Email",apple:"Apple",github:"Github",google:"Google"};let dateTool=null;function stringifyQuery$1(a={}){return new URLSearchParams(a).toString()}function getCookieOptions(a=1){let j=a;typeof j=="number"&&(j={expireInDays:j}),j.path===void 0&&(j.path="/"),j.expireInDays||(j.expireInDays=1);const _e={expires:j.expireInDays,path:j.path,domain:j.domain||"",sameSite:j.sameSite||"Lax",secure:j.secure!==!1};return(typeof window>"u"||j.domain||j.returnDomain===!1)&&j.returnDomain===!1&&delete _e.domain,_e}const getColor=a=>a.color?a.color:a.dark?a.theme.palette.common.white:a.theme.palette.text.primary,getBackground=a=>a.background?a.background:a.dark?a.theme.palette.common.black:a.theme.palette.common.white;function mergeProps(a,j,_e=[]){const et=Object.assign({},a);return Object.keys(j.defaultProps||{}).forEach(nt=>{typeof et[nt]=="string"&&et[nt].indexOf("::prop::")===0&&(et[nt]=j.defaultProps[nt])}),Array.isArray(_e)&&_e.forEach(nt=>{if(typeof et[nt]=="string")try{et[nt]=JSON.parse(et[nt])}catch{}}),Object.keys(et).forEach(nt=>{typeof et[nt]=="string"&&et[nt].indexOf("::prop::")===0&&(et[nt]="")}),et}function setDateTool(a){dateTool=a}const createDateFormatter=a=>(j,{locale:_e,tz:et}={})=>{if(dateTool===null)throw new Error("call setDateTool to set the date tool library, such as: setDateTool(dayjs)");if(!j)return"-";let nt=dateTool(j);return et&&(nt=nt.tz(et)),typeof _e<"u"&&(nt=nt.locale(_e)),nt.format(a)};function formatToDatetime$1(a,{locale:j="en",tz:_e}={}){return createDateFormatter("lll")(a,{locale:j,tz:_e})}function detectWalletExtension(){const a=(window==null?void 0:window.ABT_DEV)||window.ABT;return a&&typeof a.open=="function"?a:null}function openWebWallet({webWalletUrl:a,action:j="login",locale:_e="en",url:et,windowFeatures:nt,appInfo:tt,memberAppInfo:ot}){const ct=detectWalletExtension();if(ct)return ct.open({action:j,locale:_e,url:encodeURIComponent(et),appInfo:{...tt},memberAppInfo:{...ot}}),{type:"extension"};const ft={toolbar:"no",location:"no",status:"no",menubar:"no",scrollbars:"yes",resizable:"yes",width:414,height:736},ht=`${a}?action=${j}&locale=${_e}&url=${encodeURIComponent(et)}`,dt=Object.assign({},ft,nt),vt=xt=>xt.innerWidth||xt.document.documentElement.clientWidth||xt.document.body.clientWidth;if(!("left"in dt)){const xt=vt(window.top||window),At=window.screenLeft||window.screenX;dt.left=xt+At-dt.width}if(!("top"in dt)){const xt=window.screenTop||window.screenY;dt.top=xt}const $t=Object.keys(dt).map(xt=>`${xt}=${dt[xt]}`).join(",");return window.open(ht,"targetWindow",$t),{type:"web"}}const getFontSize=a=>a&&Number(a)>=12?`${Number(a)}px`:"inherit",isEthereumDid$1=a=>{const j=a.replace(DID_PREFIX$1,"");return!!/^(0x)?[0-9a-f]{40}$/i.test(j)},appendParams=(a,j)=>{if(!j)return a;try{const _e=new URL(a,window.location.origin);return Object.keys(j).forEach(et=>{_e.searchParams.set(et,String(j[et]))}),_e.origin===window.location.origin?_e.pathname+_e.search:_e.href}catch{return a}},getUserAvatar=(a,j=48)=>a&&(a.indexOf(WELLKNOWN_SERVICE_PATH_PREFIX)>=0?appendParams(a,{imageFilter:"resize",w:j,h:j}):a),isUrl=a=>/^https?:\/\//.test(a),visitorIdKey$1="__visitor_id",getVisitorId$2=()=>localStorage.getItem(visitorIdKey$1),setVisitorId=a=>{a===null?localStorage.removeItem(visitorIdKey$1):localStorage.setItem(visitorIdKey$1,a)},getDIDColor=a=>{if(isEthereumDid$1(a)){const j=Uint8Array.from(a.slice(2).match(/.{1,2}/g).map(_e=>parseInt(_e,16))).slice(0,8).reduce((_e,et)=>_e+et,0)%colors.length;return colors[j]}try{const j=getDIDMotifInfo(a);return j==null?void 0:j.color}catch{return null}},getTranslation=(a,j,_e={})=>{const{fallbackLocale:et="en",defaultValue:nt="unknown"}=_e;if(typeof a=="string")return a;let tt;return j&&(tt=a[j]),(!tt||typeof tt!="string")&&(tt=a[et]),(!tt||typeof tt!="string")&&(tt=nt),tt},cookieName="nf_lang",getLocaleFromSearchParams=(a,j=window.location.href)=>{const _e=new URL(j).searchParams.get("locale");return a.find(et=>et.code===_e)?_e:null},setLocaleParam=(a,j=window.location.href)=>{const _e=new URL(j);_e.searchParams.has("locale")&&(_e.searchParams.set("locale",a),window.history.replaceState({},"",_e.href))},getLocale=(a=[])=>{var _e;const j={languages:a.map(et=>et.code),fallback:((_e=a==null?void 0:a[0])==null?void 0:_e.code)||"en"};return getLocaleFromSearchParams(a)||Cookie.get(cookieName)||getPreferredLanguage(j)},setLocale=a=>{Cookie.set(cookieName,a,getCookieOptions()),setLocaleParam(a)},getLanguages=a=>{const j=get$6(window,"blocklet.languages");return Array.isArray(j)&&j.length?j:Array.isArray(a)&&a.length?a:[{code:"en",name:"English"},{code:"zh",name:"简体中文"}]},LocaleContext=reactExports.createContext(null),{Provider:Provider$8,Consumer:Consumer$7}=LocaleContext;function LocaleProvider({children:a,locale:j,fallbackLocale:_e,translations:et,onLoadingTranslation:nt,languages:tt=[],...ot}){const ct=getLanguages(tt);let[ft,ht]=reactExports.useState(j||getLocale(ct));const dt=reactExports.useRef(_e||""),[,vt]=reactExports.useState(0),$t=At=>{ht(At),setLocale(At)};if(reactExports.useEffect(()=>{const At=j||getLocale(ct);At!==ft&&$t(At)},[j]),ft&&et[ft]&&typeof et[ft]=="function"){const At=ft;try{Promise.resolve(et[At]()).then(wt=>{wt&&typeof wt=="object"&&(et[At]=wt,vt(Ct=>Ct>999?0:Ct+1))})}catch(wt){console.error(wt)}nt==null||nt(At,ct),ft=dt.current}else dt.current=ft;const xt=reactExports.useCallback((At,wt)=>translate(et,At,ft,_e,wt),[et,ft,_e]);return jsxRuntimeExports.jsx(Provider$8,{value:{locale:ft,changeLocale:$t,t:xt,languages:ct,...ot},children:a})}function useLocaleContext(){return reactExports.useContext(LocaleContext)}var __defProp$7=Object.defineProperty,__getOwnPropDesc$1=Object.getOwnPropertyDescriptor,__getOwnPropNames$1=Object.getOwnPropertyNames,__hasOwnProp$2=Object.prototype.hasOwnProperty,__export$1=(a,j)=>{for(var _e in j)__defProp$7(a,_e,{get:j[_e],enumerable:!0})},__copyProps$1=(a,j,_e,et)=>{if(j&&typeof j=="object"||typeof j=="function")for(let nt of __getOwnPropNames$1(j))!__hasOwnProp$2.call(a,nt)&&nt!==_e&&__defProp$7(a,nt,{get:()=>j[nt],enumerable:!(et=__getOwnPropDesc$1(j,nt))||et.enumerable});return a},__toCommonJS$1=a=>__copyProps$1(__defProp$7({},"__esModule",{value:!0}),a),lib_exports={};__export$1(lib_exports,{APP_CONFIG_DIR:()=>APP_CONFIG_DIR,APP_CONFIG_FILE_PATH:()=>APP_CONFIG_FILE_PATH,APP_CONFIG_PUBLIC_DIR:()=>APP_CONFIG_PUBLIC_DIR,BLOCKLET_APP_SPACE_REQUIREMENT:()=>BLOCKLET_APP_SPACE_REQUIREMENT,BLOCKLET_ARCHITECTURES:()=>BLOCKLET_ARCHITECTURES,BLOCKLET_BUNDLE_FILE:()=>BLOCKLET_BUNDLE_FILE,BLOCKLET_BUNDLE_FOLDER:()=>BLOCKLET_BUNDLE_FOLDER,BLOCKLET_BUNDLE_FOLDER_NAME:()=>BLOCKLET_BUNDLE_FOLDER_NAME,BLOCKLET_CONFIGURABLE_KEY:()=>BLOCKLET_CONFIGURABLE_KEY,BLOCKLET_CONTROLLER_STATUS:()=>BLOCKLET_CONTROLLER_STATUS,BLOCKLET_DEFAULT_PATH_REWRITE:()=>BLOCKLET_DEFAULT_PATH_REWRITE,BLOCKLET_DEFAULT_PORT_NAME:()=>BLOCKLET_DEFAULT_PORT_NAME,BLOCKLET_DEFAULT_VERSION:()=>BLOCKLET_DEFAULT_VERSION,BLOCKLET_DYNAMIC_PATH_PREFIX:()=>BLOCKLET_DYNAMIC_PATH_PREFIX,BLOCKLET_ENTRY_FILE:()=>BLOCKLET_ENTRY_FILE,BLOCKLET_FACTORY_SHARES:()=>BLOCKLET_FACTORY_SHARES,BLOCKLET_GROUPS:()=>BLOCKLET_GROUPS,BLOCKLET_INTERFACE_PROTOCOLS:()=>BLOCKLET_INTERFACE_PROTOCOLS,BLOCKLET_INTERFACE_PROTOCOL_HTTP:()=>BLOCKLET_INTERFACE_PROTOCOL_HTTP,BLOCKLET_INTERFACE_PROTOCOL_TCP:()=>BLOCKLET_INTERFACE_PROTOCOL_TCP,BLOCKLET_INTERFACE_PROTOCOL_UDP:()=>BLOCKLET_INTERFACE_PROTOCOL_UDP,BLOCKLET_INTERFACE_PUBLIC:()=>BLOCKLET_INTERFACE_PUBLIC,BLOCKLET_INTERFACE_TYPES:()=>BLOCKLET_INTERFACE_TYPES,BLOCKLET_INTERFACE_TYPE_DOCKER:()=>BLOCKLET_INTERFACE_TYPE_DOCKER,BLOCKLET_INTERFACE_TYPE_SERVICE:()=>BLOCKLET_INTERFACE_TYPE_SERVICE,BLOCKLET_INTERFACE_TYPE_WEB:()=>BLOCKLET_INTERFACE_TYPE_WEB,BLOCKLET_INTERFACE_TYPE_WELLKNOWN:()=>BLOCKLET_INTERFACE_TYPE_WELLKNOWN,BLOCKLET_INTERFACE_WELLKNOWN:()=>BLOCKLET_INTERFACE_WELLKNOWN,BLOCKLET_LATEST_REQUIREMENT_ABTNODE:()=>BLOCKLET_LATEST_REQUIREMENT_ABTNODE,BLOCKLET_LATEST_REQUIREMENT_SERVER:()=>BLOCKLET_LATEST_REQUIREMENT_SERVER,BLOCKLET_LATEST_SPEC_VERSION:()=>BLOCKLET_LATEST_SPEC_VERSION,BLOCKLET_META_FILE:()=>BLOCKLET_META_FILE,BLOCKLET_META_FILE_ALT:()=>BLOCKLET_META_FILE_ALT,BLOCKLET_MODES:()=>BLOCKLET_MODES,BLOCKLET_OPENEMBED_PREFIX:()=>BLOCKLET_OPENEMBED_PREFIX,BLOCKLET_OPEN_API_FILE:()=>BLOCKLET_OPEN_API_FILE,BLOCKLET_OPEN_API_FILE_JSON:()=>BLOCKLET_OPEN_API_FILE_JSON,BLOCKLET_OPEN_COMPONENT_FILE:()=>BLOCKLET_OPEN_COMPONENT_FILE,BLOCKLET_OPEN_COMPONENT_FILE_JSON:()=>BLOCKLET_OPEN_COMPONENT_FILE_JSON,BLOCKLET_PLATFORMS:()=>BLOCKLET_PLATFORMS,BLOCKLET_PREFERENCE_FILE:()=>BLOCKLET_PREFERENCE_FILE,BLOCKLET_PREFERENCE_PREFIX:()=>BLOCKLET_PREFERENCE_PREFIX,BLOCKLET_RELEASE_FILE:()=>BLOCKLET_RELEASE_FILE,BLOCKLET_RELEASE_FOLDER:()=>BLOCKLET_RELEASE_FOLDER,BLOCKLET_RELEASE_FOLDER_NAME:()=>BLOCKLET_RELEASE_FOLDER_NAME,BLOCKLET_RESOURCE_DIR:()=>BLOCKLET_RESOURCE_DIR,BLOCKLET_STANDARD_INTERFACES:()=>BLOCKLET_STANDARD_INTERFACES,BLOCKLET_TENANT_MODES:()=>BLOCKLET_TENANT_MODES,BLOCKLET_UI_INTERFACES:()=>BLOCKLET_UI_INTERFACES,BLOCKLET_UPLOADS_DIR:()=>BLOCKLET_UPLOADS_DIR,BlockletEvents:()=>BlockletEvents,BlockletGroup:()=>BlockletGroup,BlockletInternalEvents:()=>BlockletInternalEvents,BlockletSource:()=>BlockletSource,BlockletStatus:()=>BlockletStatus,CHAIN_INFO_CONFIG:()=>CHAIN_INFO_CONFIG,CHAIN_PROP_MAP:()=>CHAIN_PROP_MAP,CHAIN_PROP_MAP_REVERSE:()=>CHAIN_PROP_MAP_REVERSE,COMPONENT_DOCKER_ENV_FILE_NAME:()=>COMPONENT_DOCKER_ENV_FILE_NAME,COMPONENT_ENV_FILE_NAME:()=>COMPONENT_ENV_FILE_NAME,DID_SPACES:()=>DID_SPACES,LOGIN_PROVIDER:()=>LOGIN_PROVIDER,MAX_TITLE_LENGTH:()=>MAX_TITLE_LENGTH,PROJECT:()=>PROJECT,PROVIDER_NAME:()=>PROVIDER_NAME,RESOURCE_PATTERN:()=>RESOURCE_PATTERN,RESTORE_PROGRESS_STATUS:()=>RESTORE_PROGRESS_STATUS,SIG_VERSION:()=>SIG_VERSION,SUPPORTED_LANGUAGES:()=>languages_default,SUSPENDED_REASON:()=>SUSPENDED_REASON,TeamEvents:()=>TeamEvents,baseLanguages:()=>baseLanguages,fromBlockletSource:()=>fromBlockletSource,fromBlockletStatus:()=>fromBlockletStatus,toBlockletSource:()=>toBlockletSource,toBlockletStatus:()=>toBlockletStatus});var constant$2=__toCommonJS$1(lib_exports),SUPPORTED_LANGUAGES={en:{name:"English",nativeName:"English"},es:{name:"Spanish",nativeName:"Español"},zh:{name:"Simplified Chinese",nativeName:"简体中文"},"zh-TW":{name:"Traditional Chinese",nativeName:"繁體中文"},fr:{name:"French",nativeName:"Français"},it:{name:"Italian",nativeName:"Italiano"},ja:{name:"Japanese",nativeName:"日本語"},ko:{name:"Korean",nativeName:"한국어"},pt:{name:"Portuguese",nativeName:"Português"},ru:{name:"Russian",nativeName:"Русский"},ar:{name:"Arabic",nativeName:"اَلْعَرَبِيَّةُ"},de:{name:"German",nativeName:"Deutsch"},mn:{name:"Mongolian",nativeName:"Монгол хэл"},hi:{name:"Hindi",nativeName:"हिन्दी"},bn:{name:"Bengali",nativeName:"বাংলা"},vi:{name:"Vietnamese",nativeName:"Tiếng Việt"},tr:{name:"Turkish",nativeName:"Türkçe"},te:{name:"Telugu",nativeName:"తెలుగు"},ur:{name:"Urdu",nativeName:"اردو"},mr:{name:"Marathi",nativeName:"मराठी"},pa:{name:"Panjabi",nativeName:"ਪੰਜਾਬੀ"},aa:{name:"Afar",nativeName:"Afaraf"},ab:{name:"Abkhaz",nativeName:"аҧсуа бызшәа"},ae:{name:"Avestan",nativeName:"avesta"},af:{name:"Afrikaans",nativeName:"Afrikaans"},ak:{name:"Akan",nativeName:"Akan"},am:{name:"Amharic",nativeName:"አማርኛ"},an:{name:"Aragonese",nativeName:"aragonés"},as:{name:"Assamese",nativeName:"অসমীয়া"},av:{name:"Avaric",nativeName:"авар мацӀ"},ay:{name:"Aymara",nativeName:"aymar aru"},az:{name:"Azerbaijani",nativeName:"azərbaycan dili"},ba:{name:"Bashkir",nativeName:"башҡорт теле"},be:{name:"Belarusian",nativeName:"беларуская мова"},bg:{name:"Bulgarian",nativeName:"български език"},bi:{name:"Bislama",nativeName:"Bislama"},bm:{name:"Bambara",nativeName:"bamanankan"},bo:{name:"Tibetan",nativeName:"བོད་ཡིག"},br:{name:"Breton",nativeName:"brezhoneg"},bs:{name:"Bosnian",nativeName:"bosanski jezik"},ca:{name:"Catalan",nativeName:"Català"},ce:{name:"Chechen",nativeName:"нохчийн мотт"},ch:{name:"Chamorro",nativeName:"Chamoru"},co:{name:"Corsican",nativeName:"corsu"},cr:{name:"Cree",nativeName:"ᓀᐦᐃᔭᐍᐏᐣ"},cs:{name:"Czech",nativeName:"čeština"},cu:{name:"Old Church Slavonic",nativeName:"ѩзыкъ словѣньскъ"},cv:{name:"Chuvash",nativeName:"чӑваш чӗлхи"},cy:{name:"Welsh",nativeName:"Cymraeg"},da:{name:"Danish",nativeName:"dansk"},dv:{name:"Divehi",nativeName:"ދިވެހި"},dz:{name:"Dzongkha",nativeName:"རྫོང་ཁ"},ee:{name:"Ewe",nativeName:"Eʋegbe"},el:{name:"Greek",nativeName:"Ελληνικά"},eo:{name:"Esperanto",nativeName:"Esperanto"},et:{name:"Estonian",nativeName:"eesti"},eu:{name:"Basque",nativeName:"euskara"},fa:{name:"Persian",nativeName:"فارسی"},ff:{name:"Fula",nativeName:"Fulfulde"},fi:{name:"Finnish",nativeName:"suomi"},fj:{name:"Fijian",nativeName:"vosa Vakaviti"},fo:{name:"Faroese",nativeName:"føroyskt"},fy:{name:"Western Frisian",nativeName:"Frysk"},ga:{name:"Irish",nativeName:"Gaeilge"},gd:{name:"Scottish Gaelic",nativeName:"Gàidhlig"},gl:{name:"Galician",nativeName:"galego"},gn:{name:"Guaraní",nativeName:"Avañe'ẽ"},gu:{name:"Gujarati",nativeName:"ગુજરાતી"},gv:{name:"Manx",nativeName:"Gaelg"},ha:{name:"Hausa",nativeName:"هَوُسَ"},he:{name:"Hebrew",nativeName:"עברית"},ho:{name:"Hiri Motu",nativeName:"Hiri Motu"},hr:{name:"Croatian",nativeName:"Hrvatski"},ht:{name:"Haitian",nativeName:"Kreyòl ayisyen"},hu:{name:"Hungarian",nativeName:"magyar"},hy:{name:"Armenian",nativeName:"Հայերեն"},hz:{name:"Herero",nativeName:"Otjiherero"},ia:{name:"Interlingua",nativeName:"Interlingua"},id:{name:"Indonesian",nativeName:"Bahasa Indonesia"},ie:{name:"Interlingue",nativeName:"Interlingue"},ig:{name:"Igbo",nativeName:"Asụsụ Igbo"},ii:{name:"Nuosu",nativeName:"ꆈꌠ꒿ Nuosuhxop"},ik:{name:"Inupiaq",nativeName:"Iñupiaq"},io:{name:"Ido",nativeName:"Ido"},is:{name:"Icelandic",nativeName:"Íslenska"},iu:{name:"Inuktitut",nativeName:"ᐃᓄᒃᑎᑐᑦ"},jv:{name:"Javanese",nativeName:"basa Jawa"},ka:{name:"Georgian",nativeName:"ქართული"},kg:{name:"Kongo",nativeName:"Kikongo"},ki:{name:"Kikuyu",nativeName:"Gĩkũyũ"},kj:{name:"Kwanyama",nativeName:"Kuanyama"},kk:{name:"Kazakh",nativeName:"қазақ тілі"},kl:{name:"Kalaallisut",nativeName:"kalaallisut"},km:{name:"Khmer",nativeName:"ខេមរភាសា"},kn:{name:"Kannada",nativeName:"ಕನ್ನಡ"},kr:{name:"Kanuri",nativeName:"Kanuri"},ks:{name:"Kashmiri",nativeName:"कश्मीरी"},ku:{name:"Kurdish",nativeName:"Kurdî"},kv:{name:"Komi",nativeName:"коми кыв"},kw:{name:"Cornish",nativeName:"Kernewek"},ky:{name:"Kyrgyz",nativeName:"Кыргызча"},la:{name:"Latin",nativeName:"latine"},lb:{name:"Luxembourgish",nativeName:"Lëtzebuergesch"},lg:{name:"Ganda",nativeName:"Luganda"},li:{name:"Limburgish",nativeName:"Limburgs"},ln:{name:"Lingala",nativeName:"Lingála"},lo:{name:"Lao",nativeName:"ພາສາລາວ"},lt:{name:"Lithuanian",nativeName:"lietuvių kalba"},lu:{name:"Luba-Katanga",nativeName:"Kiluba"},lv:{name:"Latvian",nativeName:"latviešu valoda"},mg:{name:"Malagasy",nativeName:"fiteny malagasy"},mh:{name:"Marshallese",nativeName:"Kajin M̧ajeļ"},mi:{name:"Māori",nativeName:"te reo Māori"},mk:{name:"Macedonian",nativeName:"македонски јазик"},ml:{name:"Malayalam",nativeName:"മലയാളം"},ms:{name:"Malay",nativeName:"Bahasa Melayu"},mt:{name:"Maltese",nativeName:"Malti"},my:{name:"Burmese",nativeName:"ဗမာစာ"},na:{name:"Nauru",nativeName:"Dorerin Naoero"},nb:{name:"Norwegian Bokmål",nativeName:"Norsk bokmål"},nd:{name:"Northern Ndebele",nativeName:"isiNdebele"},ne:{name:"Nepali",nativeName:"नेपाली"},ng:{name:"Ndonga",nativeName:"Owambo"},nl:{name:"Dutch",nativeName:"Nederlands"},nn:{name:"Norwegian Nynorsk",nativeName:"Norsk nynorsk"},no:{name:"Norwegian",nativeName:"Norsk"},nr:{name:"Southern Ndebele",nativeName:"isiNdebele"},nv:{name:"Navajo",nativeName:"Diné bizaad"},ny:{name:"Chichewa",nativeName:"chiCheŵa"},oc:{name:"Occitan",nativeName:"occitan"},oj:{name:"Ojibwe",nativeName:"ᐊᓂᔑᓈᐯᒧᐎᓐ"},om:{name:"Oromo",nativeName:"Afaan Oromoo"},or:{name:"Oriya",nativeName:"ଓଡ଼ିଆ"},os:{name:"Ossetian",nativeName:"ирон æвзаг"},pi:{name:"Pāli",nativeName:"पाऴि"},pl:{name:"Polish",nativeName:"Polski"},ps:{name:"Pashto",nativeName:"پښتو"},qu:{name:"Quechua",nativeName:"Runa Simi"},rm:{name:"Romansh",nativeName:"rumantsch grischun"},rn:{name:"Kirundi",nativeName:"Ikirundi"},ro:{name:"Romanian",nativeName:"Română"},rw:{name:"Kinyarwanda",nativeName:"Ikinyarwanda"},sa:{name:"Sanskrit",nativeName:"संस्कृतम्"},sc:{name:"Sardinian",nativeName:"sardu"},sd:{name:"Sindhi",nativeName:"सिन्धी"},se:{name:"Northern Sami",nativeName:"Davvisámegiella"},sg:{name:"Sango",nativeName:"yângâ tî sängö"},si:{name:"Sinhala",nativeName:"සිංහල"},sk:{name:"Slovak",nativeName:"slovenčina"},sl:{name:"Slovenian",nativeName:"slovenščina"},sm:{name:"Samoan",nativeName:"gagana fa'a Samoa"},sn:{name:"Shona",nativeName:"chiShona"},so:{name:"Somali",nativeName:"Soomaaliga"},sq:{name:"Albanian",nativeName:"Shqip"},sr:{name:"Serbian",nativeName:"српски језик"},ss:{name:"Swati",nativeName:"SiSwati"},st:{name:"Southern Sotho",nativeName:"Sesotho"},su:{name:"Sundanese",nativeName:"Basa Sunda"},sv:{name:"Swedish",nativeName:"Svenska"},sw:{name:"Swahili",nativeName:"Kiswahili"},ta:{name:"Tamil",nativeName:"தமிழ்"},tg:{name:"Tajik",nativeName:"тоҷикӣ"},th:{name:"Thai",nativeName:"ไทย"},ti:{name:"Tigrinya",nativeName:"ትግርኛ"},tk:{name:"Turkmen",nativeName:"Türkmençe"},tl:{name:"Tagalog",nativeName:"Wikang Tagalog"},tn:{name:"Tswana",nativeName:"Setswana"},to:{name:"Tonga",nativeName:"faka Tonga"},ts:{name:"Tsonga",nativeName:"Xitsonga"},tt:{name:"Tatar",nativeName:"татар теле"},tw:{name:"Twi",nativeName:"Twi"},ty:{name:"Tahitian",nativeName:"Reo Tahiti"},ug:{name:"Uyghur",nativeName:"ئۇيغۇرچە"},uk:{name:"Ukrainian",nativeName:"Українська"},uz:{name:"Uzbek",nativeName:"Ўзбек"},ve:{name:"Venda",nativeName:"Tshivenḓa"},vo:{name:"Volapük",nativeName:"Volapük"},wa:{name:"Walloon",nativeName:"walon"},wo:{name:"Wolof",nativeName:"Wollof"},xh:{name:"Xhosa",nativeName:"isiXhosa"},yi:{name:"Yiddish",nativeName:"ייִדיש"},yo:{name:"Yoruba",nativeName:"Yorùbá"},za:{name:"Zhuang",nativeName:"Saɯ cueŋƅ"},zu:{name:"Zulu",nativeName:"isiZulu"}},baseLanguages=[{code:"en",name:"English"},{code:"es",name:"Español"},{code:"zh",name:"简体中文"},{code:"zh-TW",name:"繁體中文"},{code:"ja",name:"日本語"},{code:"ko",name:"한국어"},{code:"de",name:"Deutsch"},{code:"hi",name:"हिन्दी"},{code:"fr",name:"Français"},{code:"ar",name:"اَلْعَرَبِيَّةُ"},{code:"ru",name:"Русский"},{code:"pt",name:"Português"},{code:"id",name:"Bahasa Indonesia"},{code:"vi",name:"Tiếng Việt"},{code:"th",name:"ไทย"}],languages_default=SUPPORTED_LANGUAGES,fromEntry=a=>j=>{const _e=Object.entries(a).find(et=>et[1]===Number(j));return _e?_e[0]:"unknown"},toEntry=a=>j=>Object.keys(a).find(_e=>a[_e]===Number(j)),BlockletStatus=Object.freeze({added:0,downloading:1,downloaded:2,installing:3,installed:4,starting:5,running:6,stopping:7,stopped:8,error:9,upgrading:10,restarting:11,corrupted:12,waiting:13,deleted:14}),BLOCKLET_CONTROLLER_STATUS={normal:0,suspended:10},SUSPENDED_REASON={expired:"expired"},fromBlockletStatus=fromEntry(BlockletStatus),toBlockletStatus=toEntry(BlockletStatus),BlockletSource=Object.freeze({registry:0,local:1,upload:2,url:3,custom:4}),fromBlockletSource=fromEntry(BlockletSource),toBlockletSource=toEntry(BlockletSource),BlockletGroup=Object.freeze({static:"static",dapp:"dapp",gateway:"gateway",pack:"pack"}),BLOCKLET_GROUPS=["dapp","static","gateway","pack"],BlockletEvents=Object.freeze({added:"blocklet.added",downloadFailed:"blocklet.downloadFailed",installed:"blocklet.installed",installFailed:"blocklet.installFailed",upgraded:"blocklet.upgraded",removed:"blocklet.removed",started:"blocklet.started",startFailed:"blocklet.startFailed",stopped:"blocklet.stopped",statusChange:"blocklet.statusChange",dataCleaned:"blocklet.dataCleaned",componentInstalled:"blocklet.componentInstalled",componentInstallFailed:"blocklet.componentInstallFailed",componentUpgraded:"blocklet.componentUpgraded",componentUpgradeFailed:"blocklet.componentUpgradeFailed",componentRemoved:"blocklet.componentRemoved",backupProgress:"blocklet.backupProgress",restoreProgress:"blocklet.restoreProgress",downloadBundleProgress:"blocklet.downloadBundleProgress",updated:"blocklet.updated",domainStatus:"blocklet.domainStatus",storeChange:"blocklet.storeChange",appDidChanged:"blocklet.appDidChanged",purchaseChange:"blocklet.purchaseChange",certError:"blocklet.certError",certIssued:"blocklet.certIssued",spaceConnected:"blocklet.spaceConnected",nftConsumed:"blocklet.nftConsumed",securityConfigUpdated:"blocklet.securityConfigUpdated"}),BlockletInternalEvents=Object.freeze({appConfigChanged:"blocklet.appConfigChanged",appSettingChanged:"blocklet.appSettingChanged",componentInstalled:"blocklet._componentInstalled",componentUpgraded:"blocklet._componentUpgraded",componentUpdated:"blocklet._componentUpdated",componentStarted:"blocklet._componentStarted",componentStopped:"blocklet._componentStopped",componentRemoved:"blocklet._componentRemoved",componentConfigChanged:"blocklet._componentConfigChanged",componentsUpdated:"blocklet.componentsUpdated"}),TeamEvents=Object.freeze({userAdded:"user.added",userRemoved:"user.removed",userUpdated:"user.updated",userProfileUpdated:"user.profile.updated",userPermissionUpdated:"user.permission.updated"}),BLOCKLET_PLATFORMS=["aix","darwin","freebsd","linux","openbsd","sunos","win32"],BLOCKLET_ARCHITECTURES=["arm","arm64","ia32","mips","mipsel","ppc","ppc64","s390","s390x","x32","x64"],BLOCKLET_MODES=Object.freeze({PRODUCTION:"production",DEVELOPMENT:"development"}),BLOCKLET_TENANT_MODES=Object.freeze({SINGLE:"single",MULTIPLE:"multiple"}),BLOCKLET_FACTORY_SHARES={developer:.7,store:.3},BLOCKLET_INTERFACE_TYPE_WEB="web",BLOCKLET_INTERFACE_TYPE_SERVICE="service",BLOCKLET_INTERFACE_TYPE_DOCKER="docker",BLOCKLET_INTERFACE_TYPE_WELLKNOWN="wellknown",BLOCKLET_INTERFACE_TYPES=[BLOCKLET_INTERFACE_TYPE_WEB,BLOCKLET_INTERFACE_TYPE_SERVICE,BLOCKLET_INTERFACE_TYPE_WELLKNOWN,BLOCKLET_INTERFACE_TYPE_DOCKER],BLOCKLET_INTERFACE_PUBLIC="publicUrl",BLOCKLET_INTERFACE_WELLKNOWN="wellknownUrl",BLOCKLET_UI_INTERFACES=[BLOCKLET_INTERFACE_PUBLIC],BLOCKLET_STANDARD_INTERFACES=[BLOCKLET_INTERFACE_PUBLIC,BLOCKLET_INTERFACE_WELLKNOWN],BLOCKLET_INTERFACE_PROTOCOL_HTTP="http",BLOCKLET_INTERFACE_PROTOCOL_TCP="tcp",BLOCKLET_INTERFACE_PROTOCOL_UDP="udp",BLOCKLET_INTERFACE_PROTOCOLS=[BLOCKLET_INTERFACE_PROTOCOL_TCP,BLOCKLET_INTERFACE_PROTOCOL_UDP,BLOCKLET_INTERFACE_PROTOCOL_HTTP],BLOCKLET_DYNAMIC_PATH_PREFIX="*",BLOCKLET_DEFAULT_PORT_NAME="BLOCKLET_PORT",BLOCKLET_DEFAULT_PATH_REWRITE="/",BLOCKLET_RELEASE_FOLDER=".blocklet/release",BLOCKLET_RELEASE_FILE="blocklet.json",BLOCKLET_BUNDLE_FOLDER=".blocklet/bundle",BLOCKLET_RELEASE_FOLDER_NAME="release",BLOCKLET_BUNDLE_FOLDER_NAME="bundle",BLOCKLET_BUNDLE_FILE="blocklet.zip",BLOCKLET_ENTRY_FILE="blocklet.js",BLOCKLET_META_FILE="blocklet.yml",BLOCKLET_META_FILE_ALT="blocklet.yaml",BLOCKLET_PREFERENCE_FILE="blocklet.prefs.json",BLOCKLET_OPEN_API_FILE="blocklet.openapi.yaml",BLOCKLET_OPEN_API_FILE_JSON="blocklet.openapi.json",BLOCKLET_OPEN_COMPONENT_FILE="blocklet.opencomponent.yaml",BLOCKLET_OPEN_COMPONENT_FILE_JSON="blocklet.opencomponent.json",BLOCKLET_PREFERENCE_PREFIX="prefs.",BLOCKLET_RESOURCE_DIR="resources",RESOURCE_PATTERN=/\.(js|css|jpg|jpeg|png|gif|webp|avif|svg|woff|woff2|ico|mp4|mp3|webm)$/i,PROJECT={DIR:".projects",RELEASE_DIR:"releases",RESOURCE_DIR:"resource",MAIN_DIR:"main",ASSET_DIR:"assets",TYPES:{resource:"resource",pack:"pack"},RELEASE_STATUS:{draft:"draft",published:"published"},MAX_NOTE_LENGTH:1e3,MAX_INTRO_LENGTH:3e3},BLOCKLET_DEFAULT_VERSION="1.0.0",BLOCKLET_UPLOADS_DIR="__uploads",BLOCKLET_LATEST_SPEC_VERSION="1.2.8",BLOCKLET_LATEST_REQUIREMENT_SERVER=">=1.7.0",BLOCKLET_LATEST_REQUIREMENT_ABTNODE=">=1.5.15",BLOCKLET_CONFIGURABLE_KEY={BLOCKLET_CLUSTER_SIZE:"BLOCKLET_CLUSTER_SIZE",BLOCKLET_APP_NAME:"BLOCKLET_APP_NAME",BLOCKLET_APP_DESCRIPTION:"BLOCKLET_APP_DESCRIPTION",BLOCKLET_APP_SK:"BLOCKLET_APP_SK",BLOCKLET_APP_LOGO:"BLOCKLET_APP_LOGO",BLOCKLET_APP_LOGO_SQUARE:"BLOCKLET_APP_LOGO_SQUARE",BLOCKLET_APP_LOGO_RECT:"BLOCKLET_APP_LOGO_RECT",BLOCKLET_APP_LOGO_FAVICON:"BLOCKLET_APP_LOGO_FAVICON",BLOCKLET_APP_SPLASH_PORTRAIT:"BLOCKLET_APP_SPLASH_PORTRAIT",BLOCKLET_APP_SPLASH_LANDSCAPE:"BLOCKLET_APP_SPLASH_LANDSCAPE",BLOCKLET_APP_URL:"BLOCKLET_APP_URL",BLOCKLET_APP_LANGUAGES:"BLOCKLET_APP_LANGUAGES",BLOCKLET_PASSPORT_COLOR:"BLOCKLET_PASSPORT_COLOR",BLOCKLET_WALLET_TYPE:"BLOCKLET_WALLET_TYPE",BLOCKLET_DELETABLE:"BLOCKLET_DELETABLE",BLOCKLET_APP_TENANT_MODE:"BLOCKLET_APP_TENANT_MODE",BLOCKLET_APP_COPYRIGHT_OWNER:"BLOCKLET_APP_COPYRIGHT_OWNER",BLOCKLET_APP_COPYRIGHT_YEAR:"BLOCKLET_APP_COPYRIGHT_YEAR",BLOCKLET_APP_SPACE_ENDPOINT:"BLOCKLET_APP_SPACE_ENDPOINT",BLOCKLET_APP_SPACES_URL:"BLOCKLET_APP_SPACES_URL",BLOCKLET_APP_BACKUP_ENDPOINT:"BLOCKLET_APP_BACKUP_ENDPOINT",BLOCKLET_APP_CHAIN_HOST:"BLOCKLET_APP_CHAIN_HOST",BLOCKLET_APP_CHAIN_TYPE:"BLOCKLET_APP_CHAIN_TYPE",BLOCKLET_APP_CHAIN_ID:"BLOCKLET_APP_CHAIN_ID",COMPONENT_ACCESS_WHO:"COMPONENT_ACCESS_WHO"},DID_SPACES={VC_TYPES:["PersonalSpaceVerifiableCredential","EnterpriseSpaceVerifiableCredential","DIDSpaceAppAuthCredential"],NFT_TAG:"did-space-purchase-nft",AUTHORIZE:{DEFAULT_SCOPE:"list:object read:object write:object"}},BLOCKLET_APP_SPACE_REQUIREMENT={REQUIRED:"required",REQUIRED_ON_SETUP:"requiredOnSetup",OPTIONAL:"optional",REQUIRED_ON_CONNECT:"requiredOnConnect"},CHAIN_INFO_CONFIG={CHAIN_TYPE:["type","arcblock"],CHAIN_ID:["id","none"],CHAIN_HOST:["host","none"]},RESTORE_PROGRESS_STATUS={waiting:0,start:10,importData:20,downloading:30,importDataSuccess:40,installing:50,completed:60,error:70},CHAIN_PROP_MAP={BLOCKLET_APP_CHAIN_HOST:"CHAIN_HOST",BLOCKLET_APP_CHAIN_ID:"CHAIN_ID",BLOCKLET_APP_CHAIN_TYPE:"CHAIN_TYPE"},CHAIN_PROP_MAP_REVERSE=Object.keys(CHAIN_PROP_MAP).reduce((a,j)=>(a[CHAIN_PROP_MAP[j]]=j,a),{}),LOGIN_PROVIDER={AUTH0:"auth0",GOOGLE:"google",APPLE:"apple",GITHUB:"github",WALLET:"wallet",NFT:"nft"},PROVIDER_NAME={auth0:"Auth0",github:"GitHub",google:"Google",apple:"Apple",email:"Email",wallet:"DID wallet",federated:"Federated"},APP_CONFIG_DIR="/.config",APP_CONFIG_PUBLIC_DIR="/.config/public",APP_CONFIG_FILE_PATH="/.config/config.json",COMPONENT_ENV_FILE_NAME="env",COMPONENT_DOCKER_ENV_FILE_NAME="docker-env",MAX_TITLE_LENGTH=40,BLOCKLET_OPENEMBED_PREFIX="/.well-known/blocklet/openembed",SIG_VERSION={V0:"0",V1:"1",DEFAULT:"1"};function getSvgIconUtilityClass(a){return generateUtilityClass("MuiSvgIcon",a)}generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _excluded$y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],useUtilityClasses$q=a=>{const{color:j,fontSize:_e,classes:et}=a,nt={root:["root",j!=="inherit"&&`color${capitalize$3(j)}`,`fontSize${capitalize$3(_e)}`]};return composeClasses(nt,getSvgIconUtilityClass,et)},SvgIconRoot=styled$1("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(a,j)=>{const{ownerState:_e}=a;return[j.root,_e.color!=="inherit"&&j[`color${capitalize$3(_e.color)}`],j[`fontSize${capitalize$3(_e.fontSize)}`]]}})(({theme:a,ownerState:j})=>{var _e,et,nt,tt,ot,ct,ft,ht,dt,vt,$t,xt,At;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:j.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(_e=a.transitions)==null||(et=_e.create)==null?void 0:et.call(_e,"fill",{duration:(nt=a.transitions)==null||(nt=nt.duration)==null?void 0:nt.shorter}),fontSize:{inherit:"inherit",small:((tt=a.typography)==null||(ot=tt.pxToRem)==null?void 0:ot.call(tt,20))||"1.25rem",medium:((ct=a.typography)==null||(ft=ct.pxToRem)==null?void 0:ft.call(ct,24))||"1.5rem",large:((ht=a.typography)==null||(dt=ht.pxToRem)==null?void 0:dt.call(ht,35))||"2.1875rem"}[j.fontSize],color:(vt=($t=(a.vars||a).palette)==null||($t=$t[j.color])==null?void 0:$t.main)!=null?vt:{action:(xt=(a.vars||a).palette)==null||(xt=xt.action)==null?void 0:xt.active,disabled:(At=(a.vars||a).palette)==null||(At=At.action)==null?void 0:At.disabled,inherit:void 0}[j.color]}}),SvgIcon=reactExports.forwardRef(function(j,_e){const et=useDefaultProps({props:j,name:"MuiSvgIcon"}),{children:nt,className:tt,color:ot="inherit",component:ct="svg",fontSize:ft="medium",htmlColor:ht,inheritViewBox:dt=!1,titleAccess:vt,viewBox:$t="0 0 24 24"}=et,xt=_objectWithoutPropertiesLoose$1(et,_excluded$y),At=reactExports.isValidElement(nt)&&nt.type==="svg",wt=_extends$2({},et,{color:ot,component:ct,fontSize:ft,instanceFontSize:j.fontSize,inheritViewBox:dt,viewBox:$t,hasSvgAsChild:At}),Ct={};dt||(Ct.viewBox=$t);const Rt=useUtilityClasses$q(wt);return jsxRuntimeExports.jsxs(SvgIconRoot,_extends$2({as:ct,className:clsx$1(Rt.root,tt),focusable:"false",color:ht,"aria-hidden":vt?void 0:!0,role:vt?"img":void 0,ref:_e},Ct,xt,At&&nt.props,{ownerState:wt,children:[At?nt.props.children:nt,vt?jsxRuntimeExports.jsx("title",{children:vt}):null]}))});SvgIcon.muiName="SvgIcon";function createSvgIcon$1(a,j){function _e(et,nt){return jsxRuntimeExports.jsx(SvgIcon,_extends$2({"data-testid":`${j}Icon`,ref:nt},et,{children:a}))}return _e.muiName=SvgIcon.muiName,reactExports.memo(reactExports.forwardRef(_e))}const unstable_ClassNameGenerator={configure:a=>{ClassNameGenerator.configure(a)}},utils$p=Object.freeze(Object.defineProperty({__proto__:null,capitalize:capitalize$3,createChainedFunction:createChainedFunction$1,createSvgIcon:createSvgIcon$1,debounce:debounce$4,deprecatedPropType,isMuiElement,ownerDocument,ownerWindow,requirePropFactory,setRef,unstable_ClassNameGenerator,unstable_useEnhancedEffect:useEnhancedEffect$1,unstable_useId:useId,unsupportedProp,useControlled,useEventCallback:useEventCallback$1,useForkRef,useIsFocusVisible},Symbol.toStringTag,{value:"Module"}));function _setPrototypeOf(a,j){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_e,et){return _e.__proto__=et,_e},_setPrototypeOf(a,j)}function _inheritsLoose$2(a,j){a.prototype=Object.create(j.prototype),a.prototype.constructor=a,_setPrototypeOf(a,j)}const config$1={disabled:!1},TransitionGroupContext=React$2.createContext(null);var forceReflow=function(j){return j.scrollTop},UNMOUNTED="unmounted",EXITED="exited",ENTERING="entering",ENTERED="entered",EXITING="exiting",Transition$1=function(a){_inheritsLoose$2(j,a);function j(et,nt){var tt;tt=a.call(this,et,nt)||this;var ot=nt,ct=ot&&!ot.isMounting?et.enter:et.appear,ft;return tt.appearStatus=null,et.in?ct?(ft=EXITED,tt.appearStatus=ENTERING):ft=ENTERED:et.unmountOnExit||et.mountOnEnter?ft=UNMOUNTED:ft=EXITED,tt.state={status:ft},tt.nextCallback=null,tt}j.getDerivedStateFromProps=function(nt,tt){var ot=nt.in;return ot&&tt.status===UNMOUNTED?{status:EXITED}:null};var _e=j.prototype;return _e.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},_e.componentDidUpdate=function(nt){var tt=null;if(nt!==this.props){var ot=this.state.status;this.props.in?ot!==ENTERING&&ot!==ENTERED&&(tt=ENTERING):(ot===ENTERING||ot===ENTERED)&&(tt=EXITING)}this.updateStatus(!1,tt)},_e.componentWillUnmount=function(){this.cancelNextCallback()},_e.getTimeouts=function(){var nt=this.props.timeout,tt,ot,ct;return tt=ot=ct=nt,nt!=null&&typeof nt!="number"&&(tt=nt.exit,ot=nt.enter,ct=nt.appear!==void 0?nt.appear:ot),{exit:tt,enter:ot,appear:ct}},_e.updateStatus=function(nt,tt){if(nt===void 0&&(nt=!1),tt!==null)if(this.cancelNextCallback(),tt===ENTERING){if(this.props.unmountOnExit||this.props.mountOnEnter){var ot=this.props.nodeRef?this.props.nodeRef.current:ReactDOM.findDOMNode(this);ot&&forceReflow(ot)}this.performEnter(nt)}else this.performExit();else this.props.unmountOnExit&&this.state.status===EXITED&&this.setState({status:UNMOUNTED})},_e.performEnter=function(nt){var tt=this,ot=this.props.enter,ct=this.context?this.context.isMounting:nt,ft=this.props.nodeRef?[ct]:[ReactDOM.findDOMNode(this),ct],ht=ft[0],dt=ft[1],vt=this.getTimeouts(),$t=ct?vt.appear:vt.enter;if(!nt&&!ot||config$1.disabled){this.safeSetState({status:ENTERED},function(){tt.props.onEntered(ht)});return}this.props.onEnter(ht,dt),this.safeSetState({status:ENTERING},function(){tt.props.onEntering(ht,dt),tt.onTransitionEnd($t,function(){tt.safeSetState({status:ENTERED},function(){tt.props.onEntered(ht,dt)})})})},_e.performExit=function(){var nt=this,tt=this.props.exit,ot=this.getTimeouts(),ct=this.props.nodeRef?void 0:ReactDOM.findDOMNode(this);if(!tt||config$1.disabled){this.safeSetState({status:EXITED},function(){nt.props.onExited(ct)});return}this.props.onExit(ct),this.safeSetState({status:EXITING},function(){nt.props.onExiting(ct),nt.onTransitionEnd(ot.exit,function(){nt.safeSetState({status:EXITED},function(){nt.props.onExited(ct)})})})},_e.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},_e.safeSetState=function(nt,tt){tt=this.setNextCallback(tt),this.setState(nt,tt)},_e.setNextCallback=function(nt){var tt=this,ot=!0;return this.nextCallback=function(ct){ot&&(ot=!1,tt.nextCallback=null,nt(ct))},this.nextCallback.cancel=function(){ot=!1},this.nextCallback},_e.onTransitionEnd=function(nt,tt){this.setNextCallback(tt);var ot=this.props.nodeRef?this.props.nodeRef.current:ReactDOM.findDOMNode(this),ct=nt==null&&!this.props.addEndListener;if(!ot||ct){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var ft=this.props.nodeRef?[this.nextCallback]:[ot,this.nextCallback],ht=ft[0],dt=ft[1];this.props.addEndListener(ht,dt)}nt!=null&&setTimeout(this.nextCallback,nt)},_e.render=function(){var nt=this.state.status;if(nt===UNMOUNTED)return null;var tt=this.props,ot=tt.children;tt.in,tt.mountOnEnter,tt.unmountOnExit,tt.appear,tt.enter,tt.exit,tt.timeout,tt.addEndListener,tt.onEnter,tt.onEntering,tt.onEntered,tt.onExit,tt.onExiting,tt.onExited,tt.nodeRef;var ct=_objectWithoutPropertiesLoose$1(tt,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return React$2.createElement(TransitionGroupContext.Provider,{value:null},typeof ot=="function"?ot(nt,ct):React$2.cloneElement(React$2.Children.only(ot),ct))},j}(React$2.Component);Transition$1.contextType=TransitionGroupContext;Transition$1.propTypes={};function noop$7(){}Transition$1.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:noop$7,onEntering:noop$7,onEntered:noop$7,onExit:noop$7,onExiting:noop$7,onExited:noop$7};Transition$1.UNMOUNTED=UNMOUNTED;Transition$1.EXITED=EXITED;Transition$1.ENTERING=ENTERING;Transition$1.ENTERED=ENTERED;Transition$1.EXITING=EXITING;function _assertThisInitialized$1(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}const assertThisInitialized=Object.freeze(Object.defineProperty({__proto__:null,default:_assertThisInitialized$1},Symbol.toStringTag,{value:"Module"}));function getChildMapping(a,j){var _e=function(tt){return j&&reactExports.isValidElement(tt)?j(tt):tt},et=Object.create(null);return a&&reactExports.Children.map(a,function(nt){return nt}).forEach(function(nt){et[nt.key]=_e(nt)}),et}function mergeChildMappings(a,j){a=a||{},j=j||{};function _e(dt){return dt in j?j[dt]:a[dt]}var et=Object.create(null),nt=[];for(var tt in a)tt in j?nt.length&&(et[tt]=nt,nt=[]):nt.push(tt);var ot,ct={};for(var ft in j){if(et[ft])for(ot=0;ot<et[ft].length;ot++){var ht=et[ft][ot];ct[et[ft][ot]]=_e(ht)}ct[ft]=_e(ft)}for(ot=0;ot<nt.length;ot++)ct[nt[ot]]=_e(nt[ot]);return ct}function getProp(a,j,_e){return _e[j]!=null?_e[j]:a.props[j]}function getInitialChildMapping(a,j){return getChildMapping(a.children,function(_e){return reactExports.cloneElement(_e,{onExited:j.bind(null,_e),in:!0,appear:getProp(_e,"appear",a),enter:getProp(_e,"enter",a),exit:getProp(_e,"exit",a)})})}function getNextChildMapping(a,j,_e){var et=getChildMapping(a.children),nt=mergeChildMappings(j,et);return Object.keys(nt).forEach(function(tt){var ot=nt[tt];if(reactExports.isValidElement(ot)){var ct=tt in j,ft=tt in et,ht=j[tt],dt=reactExports.isValidElement(ht)&&!ht.props.in;ft&&(!ct||dt)?nt[tt]=reactExports.cloneElement(ot,{onExited:_e.bind(null,ot),in:!0,exit:getProp(ot,"exit",a),enter:getProp(ot,"enter",a)}):!ft&&ct&&!dt?nt[tt]=reactExports.cloneElement(ot,{in:!1}):ft&&ct&&reactExports.isValidElement(ht)&&(nt[tt]=reactExports.cloneElement(ot,{onExited:_e.bind(null,ot),in:ht.props.in,exit:getProp(ot,"exit",a),enter:getProp(ot,"enter",a)}))}}),nt}var values=Object.values||function(a){return Object.keys(a).map(function(j){return a[j]})},defaultProps={component:"div",childFactory:function(j){return j}},TransitionGroup=function(a){_inheritsLoose$2(j,a);function j(et,nt){var tt;tt=a.call(this,et,nt)||this;var ot=tt.handleExited.bind(_assertThisInitialized$1(tt));return tt.state={contextValue:{isMounting:!0},handleExited:ot,firstRender:!0},tt}var _e=j.prototype;return _e.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},_e.componentWillUnmount=function(){this.mounted=!1},j.getDerivedStateFromProps=function(nt,tt){var ot=tt.children,ct=tt.handleExited,ft=tt.firstRender;return{children:ft?getInitialChildMapping(nt,ct):getNextChildMapping(nt,ot,ct),firstRender:!1}},_e.handleExited=function(nt,tt){var ot=getChildMapping(this.props.children);nt.key in ot||(nt.props.onExited&&nt.props.onExited(tt),this.mounted&&this.setState(function(ct){var ft=_extends$2({},ct.children);return delete ft[nt.key],{children:ft}}))},_e.render=function(){var nt=this.props,tt=nt.component,ot=nt.childFactory,ct=_objectWithoutPropertiesLoose$1(nt,["component","childFactory"]),ft=this.state.contextValue,ht=values(this.state.children).map(ot);return delete ct.appear,delete ct.enter,delete ct.exit,tt===null?React$2.createElement(TransitionGroupContext.Provider,{value:ft},ht):React$2.createElement(TransitionGroupContext.Provider,{value:ft},React$2.createElement(tt,ct,ht))},j}(React$2.Component);TransitionGroup.propTypes={};TransitionGroup.defaultProps=defaultProps;const reflow=a=>a.scrollTop;function getTransitionProps(a,j){var _e,et;const{timeout:nt,easing:tt,style:ot={}}=a;return{duration:(_e=ot.transitionDuration)!=null?_e:typeof nt=="number"?nt:nt[j.mode]||0,easing:(et=ot.transitionTimingFunction)!=null?et:typeof tt=="object"?tt[j.mode]:tt,delay:ot.transitionDelay}}function getCollapseUtilityClass(a){return generateUtilityClass("MuiCollapse",a)}generateUtilityClasses("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const _excluded$x=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],useUtilityClasses$p=a=>{const{orientation:j,classes:_e}=a,et={root:["root",`${j}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${j}`],wrapperInner:["wrapperInner",`${j}`]};return composeClasses(et,getCollapseUtilityClass,_e)},CollapseRoot=styled$1("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(a,j)=>{const{ownerState:_e}=a;return[j.root,j[_e.orientation],_e.state==="entered"&&j.entered,_e.state==="exited"&&!_e.in&&_e.collapsedSize==="0px"&&j.hidden]}})(({theme:a,ownerState:j})=>_extends$2({height:0,overflow:"hidden",transition:a.transitions.create("height")},j.orientation==="horizontal"&&{height:"auto",width:0,transition:a.transitions.create("width")},j.state==="entered"&&_extends$2({height:"auto",overflow:"visible"},j.orientation==="horizontal"&&{width:"auto"}),j.state==="exited"&&!j.in&&j.collapsedSize==="0px"&&{visibility:"hidden"})),CollapseWrapper=styled$1("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(a,j)=>j.wrapper})(({ownerState:a})=>_extends$2({display:"flex",width:"100%"},a.orientation==="horizontal"&&{width:"auto",height:"100%"})),CollapseWrapperInner=styled$1("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(a,j)=>j.wrapperInner})(({ownerState:a})=>_extends$2({width:"100%"},a.orientation==="horizontal"&&{width:"auto",height:"100%"})),Collapse=reactExports.forwardRef(function(j,_e){const et=useDefaultProps({props:j,name:"MuiCollapse"}),{addEndListener:nt,children:tt,className:ot,collapsedSize:ct="0px",component:ft,easing:ht,in:dt,onEnter:vt,onEntered:$t,onEntering:xt,onExit:At,onExited:wt,onExiting:Ct,orientation:Rt="vertical",style:It,timeout:Mt=duration$2.standard,TransitionComponent:Ot=Transition$1}=et,zt=_objectWithoutPropertiesLoose$1(et,_excluded$x),jt=_extends$2({},et,{orientation:Rt,collapsedSize:ct}),Gt=useUtilityClasses$p(jt),Jt=useTheme$1(),Xt=useTimeout(),dn=reactExports.useRef(null),St=reactExports.useRef(),rt=typeof ct=="number"?`${ct}px`:ct,st=Rt==="horizontal",ut=st?"width":"height",pt=reactExports.useRef(null),mt=useForkRef(_e,pt),Et=Vt=>Nt=>{if(Vt){const Yt=pt.current;Nt===void 0?Vt(Yt):Vt(Yt,Nt)}},Tt=()=>dn.current?dn.current[st?"clientWidth":"clientHeight"]:0,yt=Et((Vt,Nt)=>{dn.current&&st&&(dn.current.style.position="absolute"),Vt.style[ut]=rt,vt&&vt(Vt,Nt)}),it=Et((Vt,Nt)=>{const Yt=Tt();dn.current&&st&&(dn.current.style.position="");const{duration:tn,easing:an}=getTransitionProps({style:It,timeout:Mt,easing:ht},{mode:"enter"});if(Mt==="auto"){const qt=Jt.transitions.getAutoHeightDuration(Yt);Vt.style.transitionDuration=`${qt}ms`,St.current=qt}else Vt.style.transitionDuration=typeof tn=="string"?tn:`${tn}ms`;Vt.style[ut]=`${Yt}px`,Vt.style.transitionTimingFunction=an,xt&&xt(Vt,Nt)}),bt=Et((Vt,Nt)=>{Vt.style[ut]="auto",$t&&$t(Vt,Nt)}),kt=Et(Vt=>{Vt.style[ut]=`${Tt()}px`,At&&At(Vt)}),Dt=Et(wt),Ut=Et(Vt=>{const Nt=Tt(),{duration:Yt,easing:tn}=getTransitionProps({style:It,timeout:Mt,easing:ht},{mode:"exit"});if(Mt==="auto"){const an=Jt.transitions.getAutoHeightDuration(Nt);Vt.style.transitionDuration=`${an}ms`,St.current=an}else Vt.style.transitionDuration=typeof Yt=="string"?Yt:`${Yt}ms`;Vt.style[ut]=rt,Vt.style.transitionTimingFunction=tn,Ct&&Ct(Vt)}),Lt=Vt=>{Mt==="auto"&&Xt.start(St.current||0,Vt),nt&&nt(pt.current,Vt)};return jsxRuntimeExports.jsx(Ot,_extends$2({in:dt,onEnter:yt,onEntered:bt,onEntering:it,onExit:kt,onExited:Dt,onExiting:Ut,addEndListener:Lt,nodeRef:pt,timeout:Mt==="auto"?null:Mt},zt,{children:(Vt,Nt)=>jsxRuntimeExports.jsx(CollapseRoot,_extends$2({as:ft,className:clsx$1(Gt.root,ot,{entered:Gt.entered,exited:!dt&&rt==="0px"&&Gt.hidden}[Vt]),style:_extends$2({[st?"minWidth":"minHeight"]:rt},It),ref:mt},Nt,{ownerState:_extends$2({},jt,{state:Vt}),children:jsxRuntimeExports.jsx(CollapseWrapper,{ownerState:_extends$2({},jt,{state:Vt}),className:Gt.wrapper,ref:dn,children:jsxRuntimeExports.jsx(CollapseWrapperInner,{ownerState:_extends$2({},jt,{state:Vt}),className:Gt.wrapperInner,children:tt})})}))}))});Collapse.muiSupportAuto=!0;function getPaperUtilityClass(a){return generateUtilityClass("MuiPaper",a)}const paperClasses=generateUtilityClasses("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]),_excluded$w=["className","component","elevation","square","variant"],useUtilityClasses$o=a=>{const{square:j,elevation:_e,variant:et,classes:nt}=a,tt={root:["root",et,!j&&"rounded",et==="elevation"&&`elevation${_e}`]};return composeClasses(tt,getPaperUtilityClass,nt)},PaperRoot=styled$1("div",{name:"MuiPaper",slot:"Root",overridesResolver:(a,j)=>{const{ownerState:_e}=a;return[j.root,j[_e.variant],!_e.square&&j.rounded,_e.variant==="elevation"&&j[`elevation${_e.elevation}`]]}})(({theme:a,ownerState:j})=>{var _e;return _extends$2({backgroundColor:(a.vars||a).palette.background.paper,color:(a.vars||a).palette.text.primary,transition:a.transitions.create("box-shadow")},!j.square&&{borderRadius:a.shape.borderRadius},j.variant==="outlined"&&{border:`1px solid ${(a.vars||a).palette.divider}`},j.variant==="elevation"&&_extends$2({boxShadow:(a.vars||a).shadows[j.elevation]},!a.vars&&a.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${alpha_1("#fff",getOverlayAlpha(j.elevation))}, ${alpha_1("#fff",getOverlayAlpha(j.elevation))})`},a.vars&&{backgroundImage:(_e=a.vars.overlays)==null?void 0:_e[j.elevation]}))}),Paper=reactExports.forwardRef(function(j,_e){const et=useDefaultProps({props:j,name:"MuiPaper"}),{className:nt,component:tt="div",elevation:ot=1,square:ct=!1,variant:ft="elevation"}=et,ht=_objectWithoutPropertiesLoose$1(et,_excluded$w),dt=_extends$2({},et,{component:tt,elevation:ot,square:ct,variant:ft}),vt=useUtilityClasses$o(dt);return jsxRuntimeExports.jsx(PaperRoot,_extends$2({as:tt,ownerState:dt,className:clsx$1(vt.root,nt),ref:_e},ht))});function Ripple(a){const{className:j,classes:_e,pulsate:et=!1,rippleX:nt,rippleY:tt,rippleSize:ot,in:ct,onExited:ft,timeout:ht}=a,[dt,vt]=reactExports.useState(!1),$t=clsx$1(j,_e.ripple,_e.rippleVisible,et&&_e.ripplePulsate),xt={width:ot,height:ot,top:-(ot/2)+tt,left:-(ot/2)+nt},At=clsx$1(_e.child,dt&&_e.childLeaving,et&&_e.childPulsate);return!ct&&!dt&&vt(!0),reactExports.useEffect(()=>{if(!ct&&ft!=null){const wt=setTimeout(ft,ht);return()=>{clearTimeout(wt)}}},[ft,ct,ht]),jsxRuntimeExports.jsx("span",{className:$t,style:xt,children:jsxRuntimeExports.jsx("span",{className:At})})}const touchRippleClasses=generateUtilityClasses("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_excluded$v=["center","classes","className"];let _$1=a=>a,_t$2,_t2$1,_t3$1,_t4$1;const DURATION=550,DELAY_RIPPLE=80,enterKeyframe=keyframes(_t$2||(_t$2=_$1`
|
|
131
131
|
0% {
|
|
132
132
|
transform: scale(0);
|
|
133
133
|
opacity: 0.1;
|
|
@@ -257,8 +257,8 @@ object-assign
|
|
|
257
257
|
10.59L10 14.17L17.59 6.58L19 8L10 17Z`}))},WarningIcon=function(j){return React$2.createElement(SvgIcon,Object.assign({},j),React$2.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},ErrorIcon=function(j){return React$2.createElement(SvgIcon,Object.assign({},j),React$2.createElement("path",{d:`M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,
|
|
258
258
|
6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,
|
|
259
259
|
13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},InfoIcon=function(j){return React$2.createElement(SvgIcon,Object.assign({},j),React$2.createElement("path",{d:`M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,
|
|
260
|
-
0 22,12A10,10 0 0,0 12,2Z`}))},iconStyles={fontSize:20,marginInlineEnd:8},defaultIconVariants={default:void 0,success:React$2.createElement(CheckIcon,{style:iconStyles}),warning:React$2.createElement(WarningIcon,{style:iconStyles}),error:React$2.createElement(ErrorIcon,{style:iconStyles}),info:React$2.createElement(InfoIcon,{style:iconStyles})};function createChainedFunction(a,j){return a.reduce(function(_e,et){return et==null?_e:function(){for(var tt=arguments.length,ot=new Array(tt),ct=0;ct<tt;ct++)ot[ct]=arguments[ct];var ft=[].concat(ot);j&&ft.indexOf(j)===-1&&ft.push(j),_e.apply(this,ft),et.apply(this,ft)}},function(){})}var useEnhancedEffect=typeof window<"u"?reactExports.useLayoutEffect:reactExports.useEffect;function useEventCallback(a){var j=reactExports.useRef(a);return useEnhancedEffect(function(){j.current=a}),reactExports.useCallback(function(){return j.current.apply(void 0,arguments)},[])}var Snackbar=reactExports.forwardRef(function(a,j){var _e=a.children,et=a.autoHideDuration,nt=a.ClickAwayListenerProps,tt=a.disableWindowBlurListener,ot=tt===void 0?!1:tt,ct=a.onClose,ft=a.onMouseEnter,ht=a.onMouseLeave,dt=a.open,vt=a.resumeHideDuration,$t=_objectWithoutPropertiesLoose(a,["children","autoHideDuration","ClickAwayListenerProps","disableWindowBlurListener","onClose","onMouseEnter","onMouseLeave","open","resumeHideDuration"]),xt=reactExports.useRef(),At=useEventCallback(function(){ct&&ct.apply(void 0,arguments)}),wt=useEventCallback(function(zt){!ct||zt==null||(clearTimeout(xt.current),xt.current=setTimeout(function(){At(null,REASONS.TIMEOUT)},zt))});reactExports.useEffect(function(){return dt&&wt(et),function(){clearTimeout(xt.current)}},[dt,et,wt]);var Ct=function(){clearTimeout(xt.current)},Rt=reactExports.useCallback(function(){et!=null&&wt(vt??et*.5)},[et,vt,wt]),It=function(jt){ft&&ft(jt),Ct()},Mt=function(jt){ht&&ht(jt),Rt()},Ot=function(jt){ct&&ct(jt,REASONS.CLICKAWAY)};return reactExports.useEffect(function(){if(!ot&&dt)return window.addEventListener("focus",Rt),window.addEventListener("blur",Ct),function(){window.removeEventListener("focus",Rt),window.removeEventListener("blur",Ct)}},[ot,Rt,dt]),reactExports.createElement(ClickAwayListener,_extends({onClickAway:Ot},nt),reactExports.createElement("div",_extends({onMouseEnter:It,onMouseLeave:Mt,ref:j},$t),_e))}),componentName$1="SnackbarItem",classes$1$1={contentRoot:componentName$1+"-contentRoot",lessPadding:componentName$1+"-lessPadding",variantSuccess:componentName$1+"-variantSuccess",variantError:componentName$1+"-variantError",variantInfo:componentName$1+"-variantInfo",variantWarning:componentName$1+"-variantWarning",message:componentName$1+"-message",action:componentName$1+"-action",wrappedRoot:componentName$1+"-wrappedRoot"},StyledSnackbar=styled$1(Snackbar)(function(a){var j,_e=a.theme,et=_e.palette.mode||_e.palette.type,nt=emphasize$1(_e.palette.background.default,et==="light"?.8:.98);return j={},j["&."+classes$1$1.wrappedRoot]={position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0},j["."+classes$1$1.contentRoot]=_extends({},_e.typography.body2,{backgroundColor:nt,color:_e.palette.getContrastText(nt),alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"}),j["."+classes$1$1.lessPadding]={paddingLeft:8*2.5},j["."+classes$1$1.variantSuccess]={backgroundColor:"#43a047",color:"#fff"},j["."+classes$1$1.variantError]={backgroundColor:"#d32f2f",color:"#fff"},j["."+classes$1$1.variantInfo]={backgroundColor:"#2196f3",color:"#fff"},j["."+classes$1$1.variantWarning]={backgroundColor:"#ff9800",color:"#fff"},j["."+classes$1$1.message]={display:"flex",alignItems:"center",padding:"8px 0"},j["."+classes$1$1.action]={display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8},j}),SnackbarItem=function(j){var _e=j.classes,et=_objectWithoutPropertiesLoose(j,["classes"]),nt=reactExports.useRef(),tt=reactExports.useState(!0),ot=tt[0],ct=tt[1];reactExports.useEffect(function(){return function(){nt.current&&clearTimeout(nt.current)}},[]);var ft=createChainedFunction([et.snack.onClose,et.onClose],et.snack.key),ht=function(){et.snack.requestClose&&ft(null,REASONS.INSTRCUTED)},dt=function(){nt.current=setTimeout(function(){ct(!ot)},125)},vt=et.style,$t=et.ariaAttributes,xt=et.className,At=et.hideIconVariant,wt=et.iconVariant,Ct=et.snack,Rt=et.action,It=et.content,Mt=et.TransitionComponent,Ot=et.TransitionProps,zt=et.transitionDuration,jt=_objectWithoutPropertiesLoose(et,["style","dense","ariaAttributes","className","hideIconVariant","iconVariant","snack","action","content","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),Gt=Ct.key,Jt=Ct.open,Xt=Ct.className,dn=Ct.variant,St=Ct.content,rt=Ct.action,st=Ct.ariaAttributes,ut=Ct.anchorOrigin,pt=Ct.message,mt=Ct.TransitionComponent,Et=Ct.TransitionProps,Tt=Ct.transitionDuration,yt=_objectWithoutPropertiesLoose(Ct,["persist","key","open","entered","requestClose","className","variant","content","action","ariaAttributes","anchorOrigin","message","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),it=_extends({},defaultIconVariants,{},wt)[dn],bt=_extends({"aria-describedby":"notistack-snackbar"},objectMerge(st,$t)),kt=mt||Mt||DEFAULTS.TransitionComponent,Dt=objectMerge(Tt,zt,DEFAULTS.transitionDuration),Ut=_extends({direction:getTransitionDirection(ut)},objectMerge(Et,Ot)),Lt=rt||Rt;typeof Lt=="function"&&(Lt=Lt(Gt));var Vt=St||It;typeof Vt=="function"&&(Vt=Vt(Gt,Ct.message));var Nt=["onEnter","onEntering","onEntered","onExit","onExiting","onExited"].reduce(function(Yt,tn){var an;return _extends({},Yt,(an={},an[tn]=createChainedFunction([et.snack[tn],et[tn]],et.snack.key),an))},{});return React$2.createElement(Collapse,{unmountOnExit:!0,timeout:175,in:ot,onExited:Nt.onExited},React$2.createElement(StyledSnackbar,Object.assign({},jt,yt,{open:Jt,className:clsx(_e.root,classes$1$1.wrappedRoot,_e[transformer.toAnchorOrigin(ut)]),onClose:ft}),React$2.createElement(kt,Object.assign({appear:!0,in:Jt,timeout:Dt},Ut,{onExit:Nt.onExit,onExiting:Nt.onExiting,onExited:dt,onEnter:Nt.onEnter,onEntering:Nt.onEntering,onEntered:createChainedFunction([Nt.onEntered,ht])}),Vt||React$2.createElement(SnackbarContent,Object.assign({},bt,{role:"alert",style:vt,className:clsx(classes$1$1.contentRoot,classes$1$1[transformer.toVariant(dn)],_e[transformer.toVariant(dn)],xt,Xt,!At&&it&&classes$1$1.lessPadding)}),React$2.createElement("div",{id:bt["aria-describedby"],className:classes$1$1.message},At?null:it,pt),Lt&&React$2.createElement("div",{className:classes$1$1.action},Lt)))))},collapse={container:"& > .MuiCollapse-container, & > .MuiCollapse-root",wrapper:"& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper"},xsWidthMargin=16,componentName$2="SnackbarContainer",classes$2={root:componentName$2+"-root",rootDense:componentName$2+"-rootDense",top:componentName$2+"-top",bottom:componentName$2+"-bottom",left:componentName$2+"-left",right:componentName$2+"-right",center:componentName$2+"-center"},Root$1$1=styled$1("div")(function(a){var j,_e,et,nt,tt,ot,ct=a.theme;return ot={},ot["&."+classes$2.root]=(j={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:ct.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"},j[collapse.container]={pointerEvents:"all"},j[collapse.wrapper]={padding:SNACKBAR_INDENTS.snackbar.default+"px 0px",transition:"padding 300ms ease 0ms"},j.maxWidth="calc(100% - "+SNACKBAR_INDENTS.view.default*2+"px)",j[ct.breakpoints.down("sm")]={width:"100%",maxWidth:"calc(100% - "+xsWidthMargin*2+"px)"},j),ot["&."+classes$2.rootDense]=(_e={},_e[collapse.wrapper]={padding:SNACKBAR_INDENTS.snackbar.dense+"px 0px"},_e),ot["&."+classes$2.top]={top:SNACKBAR_INDENTS.view.default-SNACKBAR_INDENTS.snackbar.default,flexDirection:"column"},ot["&."+classes$2.bottom]={bottom:SNACKBAR_INDENTS.view.default-SNACKBAR_INDENTS.snackbar.default,flexDirection:"column-reverse"},ot["&."+classes$2.left]=(et={left:SNACKBAR_INDENTS.view.default},et[ct.breakpoints.up("sm")]={alignItems:"flex-start"},et[ct.breakpoints.down("sm")]={left:xsWidthMargin+"px"},et),ot["&."+classes$2.right]=(nt={right:SNACKBAR_INDENTS.view.default},nt[ct.breakpoints.up("sm")]={alignItems:"flex-end"},nt[ct.breakpoints.down("sm")]={right:xsWidthMargin+"px"},nt),ot["&."+classes$2.center]=(tt={left:"50%",transform:"translateX(-50%)"},tt[ct.breakpoints.up("sm")]={alignItems:"center"},tt),ot}),SnackbarContainer=function(j){var _e=j.className,et=j.anchorOrigin,nt=j.dense,tt=_objectWithoutPropertiesLoose(j,["className","anchorOrigin","dense"]),ot=clsx(classes$2[et.vertical],classes$2[et.horizontal],classes$2.root,_e,nt&&classes$2.rootDense);return React$2.createElement(Root$1$1,Object.assign({className:ot},tt))},SnackbarContainer$1=React$2.memo(SnackbarContainer),SnackbarProvider=function(a){_inheritsLoose$1(j,a);function j(et){var nt;return nt=a.call(this,et)||this,nt.enqueueSnackbar=function(tt,ot){ot===void 0&&(ot={});var ct=ot,ft=ct.key,ht=ct.preventDuplicate,dt=_objectWithoutPropertiesLoose(ct,["key","preventDuplicate"]),vt=isDefined(ft),$t=vt?ft:new Date().getTime()+Math.random(),xt=merge$3(dt,nt.props,DEFAULTS),At=_extends({key:$t},dt,{message:tt,open:!0,entered:!1,requestClose:!1,variant:xt("variant"),anchorOrigin:xt("anchorOrigin"),autoHideDuration:xt("autoHideDuration")});return dt.persist&&(At.autoHideDuration=void 0),nt.setState(function(wt){if(ht===void 0&&nt.props.preventDuplicate||ht){var Ct=function(Ot){return vt?Ot.key===ft:Ot.message===tt},Rt=wt.queue.findIndex(Ct)>-1,It=wt.snacks.findIndex(Ct)>-1;if(Rt||It)return wt}return nt.handleDisplaySnack(_extends({},wt,{queue:[].concat(wt.queue,[At])}))}),$t},nt.handleDisplaySnack=function(tt){var ot=tt.snacks;return ot.length>=nt.maxSnack?nt.handleDismissOldest(tt):nt.processQueue(tt)},nt.processQueue=function(tt){var ot=tt.queue,ct=tt.snacks;return ot.length>0?_extends({},tt,{snacks:[].concat(ct,[ot[0]]),queue:ot.slice(1,ot.length)}):tt},nt.handleDismissOldest=function(tt){if(tt.snacks.some(function(dt){return!dt.open||dt.requestClose}))return tt;var ot=!1,ct=!1,ft=tt.snacks.reduce(function(dt,vt){return dt+(vt.open&&vt.persist?1:0)},0);ft===nt.maxSnack&&(ct=!0);var ht=tt.snacks.map(function(dt){return!ot&&(!dt.persist||ct)?(ot=!0,dt.entered?(dt.onClose&&dt.onClose(null,REASONS.MAXSNACK,dt.key),nt.props.onClose&&nt.props.onClose(null,REASONS.MAXSNACK,dt.key),_extends({},dt,{open:!1})):_extends({},dt,{requestClose:!0})):_extends({},dt)});return _extends({},tt,{snacks:ht})},nt.handleEnteredSnack=function(tt,ot,ct){if(!isDefined(ct))throw new Error("handleEnteredSnack Cannot be called with undefined key");nt.setState(function(ft){var ht=ft.snacks;return{snacks:ht.map(function(dt){return dt.key===ct?_extends({},dt,{entered:!0}):_extends({},dt)})}})},nt.handleCloseSnack=function(tt,ot,ct){if(nt.props.onClose&&nt.props.onClose(tt,ot,ct),ot!==REASONS.CLICKAWAY){var ft=ct===void 0;nt.setState(function(ht){var dt=ht.snacks,vt=ht.queue;return{snacks:dt.map(function($t){return!ft&&$t.key!==ct?_extends({},$t):$t.entered?_extends({},$t,{open:!1}):_extends({},$t,{requestClose:!0})}),queue:vt.filter(function($t){return $t.key!==ct})}})}},nt.closeSnackbar=function(tt){var ot=nt.state.snacks.find(function(ct){return ct.key===tt});isDefined(tt)&&ot&&ot.onClose&&ot.onClose(null,REASONS.INSTRUCTED,tt),nt.handleCloseSnack(null,REASONS.INSTRUCTED,tt)},nt.handleExitedSnack=function(tt,ot,ct){var ft=ot||ct;if(!isDefined(ft))throw new Error("handleExitedSnack Cannot be called with undefined key");nt.setState(function(ht){var dt=nt.processQueue(_extends({},ht,{snacks:ht.snacks.filter(function(vt){return vt.key!==ft})}));return dt.queue.length===0?dt:nt.handleDismissOldest(dt)})},nt.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:nt.enqueueSnackbar.bind(_assertThisInitialized(nt)),closeSnackbar:nt.closeSnackbar.bind(_assertThisInitialized(nt))}},nt}var _e=j.prototype;return _e.render=function(){var nt=this,tt=this.state.contextValue,ot=this.props,ct=ot.iconVariant,ft=ot.dense,ht=ft===void 0?DEFAULTS.dense:ft,dt=ot.hideIconVariant,vt=dt===void 0?DEFAULTS.hideIconVariant:dt,$t=ot.domRoot,xt=ot.children,At=ot.classes,wt=At===void 0?{}:At,Ct=_objectWithoutPropertiesLoose(ot,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),Rt=this.state.snacks.reduce(function(Mt,Ot){var zt,jt=originKeyExtractor(Ot.anchorOrigin),Gt=Mt[jt]||[];return _extends({},Mt,(zt={},zt[jt]=[].concat(Gt,[Ot]),zt))},{}),It=Object.keys(Rt).map(function(Mt){var Ot=Rt[Mt];return React$2.createElement(SnackbarContainer$1,{key:Mt,dense:ht,anchorOrigin:Ot[0].anchorOrigin,className:clsx(wt.containerRoot,wt[transformer.toContainerAnchorOrigin(Mt)])},Ot.map(function(zt){return React$2.createElement(SnackbarItem,Object.assign({},Ct,{key:zt.key,snack:zt,dense:ht,iconVariant:ct,hideIconVariant:vt,classes:omitContainerKeys(wt),onClose:nt.handleCloseSnack,onExited:createChainedFunction([nt.handleExitedSnack,nt.props.onExited]),onEntered:createChainedFunction([nt.handleEnteredSnack,nt.props.onEntered])}))}))});return React$2.createElement(SnackbarContext.Provider,{value:tt},xt,$t?reactDomExports.createPortal(It,$t):It)},_createClass(j,[{key:"maxSnack",get:function(){return this.props.maxSnack||DEFAULTS.maxSnack}}]),j}(reactExports.Component),useSnackbar=function(){return reactExports.useContext(SnackbarContext)},Close={},createSvgIcon={};const require$$0$7=getAugmentedNamespace(utils$p);var hasRequiredCreateSvgIcon;function requireCreateSvgIcon(){return hasRequiredCreateSvgIcon||(hasRequiredCreateSvgIcon=1,function(a){"use client";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return j.createSvgIcon}});var j=require$$0$7}(createSvgIcon)),createSvgIcon}var _interopRequireDefault$7=interopRequireDefaultExports;Object.defineProperty(Close,"__esModule",{value:!0});var default_1$7=Close.default=void 0,_createSvgIcon$4=_interopRequireDefault$7(requireCreateSvgIcon()),_jsxRuntime$6=jsxRuntimeExports;default_1$7=Close.default=(0,_createSvgIcon$4.default)((0,_jsxRuntime$6.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function noop$5(){}var noop_1=noop$5;const noop$6=getDefaultExportFromCjs$1(noop_1);let success=noop$6,error=noop$6,warning=noop$6,info=noop$6,close=noop$6;const genFn=(a,j)=>(_e,et={})=>a(_e,{autoHideDuration:5e3,variant:j,...et});function ToastProvider({children:a,anchorOrigin:j,..._e}){const et=reactExports.createRef(),nt=tt=>()=>{var ot;(ot=et.current)==null||ot.closeSnackbar(tt)};return jsxRuntimeExports.jsxs(SnackbarProvider,{anchorOrigin:{vertical:"top",horizontal:"right",...j},..._e,ref:et,action:tt=>jsxRuntimeExports.jsx(IconButton,{"aria-label":"close",color:"inherit",onClick:nt(tt),size:"large",children:jsxRuntimeExports.jsx(default_1$7,{style:{fontSize:16}})},"close"),children:[jsxRuntimeExports.jsx(Toast,{}),a]})}function Toast(){const{enqueueSnackbar:a,closeSnackbar:j}=useSnackbar();return success=genFn(a,"success"),error=genFn(a,"error"),warning=genFn(a,"warning"),info=genFn(a,"info"),close=j,null}const Toast$1={success:(a,j={})=>success(a,j),error:(a,j={autoHideDuration:15e3})=>error(a,j),warning:(a,j={})=>warning(a,j),info:(a,j={})=>info(a,j),close:a=>close(a)};var flat=flatten$4;flatten$4.flatten=flatten$4;flatten$4.unflatten=unflatten;function isBuffer$7(a){return a&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function keyIdentity(a){return a}function flatten$4(a,j){j=j||{};const _e=j.delimiter||".",et=j.maxDepth,nt=j.transformKey||keyIdentity,tt={};function ot(ct,ft,ht){ht=ht||1,Object.keys(ct).forEach(function(dt){const vt=ct[dt],$t=j.safe&&Array.isArray(vt),xt=Object.prototype.toString.call(vt),At=isBuffer$7(vt),wt=xt==="[object Object]"||xt==="[object Array]",Ct=ft?ft+_e+nt(dt):nt(dt);if(!$t&&!At&&wt&&Object.keys(vt).length&&(!j.maxDepth||ht<et))return ot(vt,Ct,ht+1);tt[Ct]=vt})}return ot(a),tt}function unflatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.overwrite||!1,nt=j.transformKey||keyIdentity,tt={};if(isBuffer$7(a)||Object.prototype.toString.call(a)!=="[object Object]")return a;function ct(dt){const vt=Number(dt);return isNaN(vt)||dt.indexOf(".")!==-1||j.object?dt:vt}function ft(dt,vt,$t){return Object.keys($t).reduce(function(xt,At){return xt[dt+_e+At]=$t[At],xt},vt)}function ht(dt){const vt=Object.prototype.toString.call(dt),$t=vt==="[object Array]",xt=vt==="[object Object]";if(dt){if($t)return!dt.length;if(xt)return!Object.keys(dt).length}else return!0}return a=Object.keys(a).reduce(function(dt,vt){const $t=Object.prototype.toString.call(a[vt]);return!($t==="[object Object]"||$t==="[object Array]")||ht(a[vt])?(dt[vt]=a[vt],dt):ft(vt,dt,flatten$4(a[vt],j))},{}),Object.keys(a).forEach(function(dt){const vt=dt.split(_e).map(nt);let $t=ct(vt.shift()),xt=ct(vt[0]),At=tt;for(;xt!==void 0;){if($t==="__proto__")return;const wt=Object.prototype.toString.call(At[$t]),Ct=wt==="[object Object]"||wt==="[object Array]";if(!et&&!Ct&&typeof At[$t]<"u")return;(et&&!Ct||!et&&At[$t]==null)&&(At[$t]=typeof xt=="number"&&!j.object?[]:{}),At=At[$t],vt.length>0&&($t=ct(vt.shift()),xt=ct(vt[0]))}At[$t]=unflatten(a[dt],j)}),tt}const Ie=getDefaultExportFromCjs$1(flat);var ListCache$4=_ListCache;function stackClear$1(){this.__data__=new ListCache$4,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(a){var j=this.__data__,_e=j.delete(a);return this.size=j.size,_e}var _stackDelete=stackDelete$1;function stackGet$1(a){return this.__data__.get(a)}var _stackGet=stackGet$1;function stackHas$1(a){return this.__data__.has(a)}var _stackHas=stackHas$1,ListCache$3=_ListCache,Map$4=_Map,MapCache$3=_MapCache,LARGE_ARRAY_SIZE$1=200;function stackSet$1(a,j){var _e=this.__data__;if(_e instanceof ListCache$3){var et=_e.__data__;if(!Map$4||et.length<LARGE_ARRAY_SIZE$1-1)return et.push([a,j]),this.size=++_e.size,this;_e=this.__data__=new MapCache$3(et)}return _e.set(a,j),this.size=_e.size,this}var _stackSet=stackSet$1,ListCache$2=_ListCache,stackClear=_stackClear,stackDelete=_stackDelete,stackGet=_stackGet,stackHas=_stackHas,stackSet=_stackSet;function Stack$4(a){var j=this.__data__=new ListCache$2(a);this.size=j.size}Stack$4.prototype.clear=stackClear;Stack$4.prototype.delete=stackDelete;Stack$4.prototype.get=stackGet;Stack$4.prototype.has=stackHas;Stack$4.prototype.set=stackSet;var _Stack=Stack$4,getNative$6=_getNative,defineProperty$4=function(){try{var a=getNative$6(Object,"defineProperty");return a({},"",{}),a}catch{}}(),_defineProperty$2=defineProperty$4,defineProperty$3=_defineProperty$2;function baseAssignValue$3(a,j,_e){j=="__proto__"&&defineProperty$3?defineProperty$3(a,j,{configurable:!0,enumerable:!0,value:_e,writable:!0}):a[j]=_e}var _baseAssignValue=baseAssignValue$3,baseAssignValue$2=_baseAssignValue,eq$8=eq_1$1;function assignMergeValue$2(a,j,_e){(_e!==void 0&&!eq$8(a[j],_e)||_e===void 0&&!(j in a))&&baseAssignValue$2(a,j,_e)}var _assignMergeValue=assignMergeValue$2;function createBaseFor$1(a){return function(j,_e,et){for(var nt=-1,tt=Object(j),ot=et(j),ct=ot.length;ct--;){var ft=ot[a?ct:++nt];if(_e(tt[ft],ft,tt)===!1)break}return j}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$2=createBaseFor(),_baseFor=baseFor$2,_cloneBuffer={exports:{}};_cloneBuffer.exports;(function(a,j){var _e=_root,et=j&&!j.nodeType&&j,nt=et&&!0&&a&&!a.nodeType&&a,tt=nt&&nt.exports===et,ot=tt?_e.Buffer:void 0,ct=ot?ot.allocUnsafe:void 0;function ft(ht,dt){if(dt)return ht.slice();var vt=ht.length,$t=ct?ct(vt):new ht.constructor(vt);return ht.copy($t),$t}a.exports=ft})(_cloneBuffer,_cloneBuffer.exports);var _cloneBufferExports=_cloneBuffer.exports,root$8=_root,Uint8Array$3=root$8.Uint8Array,_Uint8Array=Uint8Array$3,Uint8Array$2=_Uint8Array;function cloneArrayBuffer$3(a){var j=new a.constructor(a.byteLength);return new Uint8Array$2(j).set(new Uint8Array$2(a)),j}var _cloneArrayBuffer=cloneArrayBuffer$3,cloneArrayBuffer$2=_cloneArrayBuffer;function cloneTypedArray$2(a,j){var _e=j?cloneArrayBuffer$2(a.buffer):a.buffer;return new a.constructor(_e,a.byteOffset,a.length)}var _cloneTypedArray=cloneTypedArray$2;function copyArray$2(a,j){var _e=-1,et=a.length;for(j||(j=Array(et));++_e<et;)j[_e]=a[_e];return j}var _copyArray=copyArray$2,isObject$k=isObject_1,objectCreate$1=Object.create,baseCreate$1=function(){function a(){}return function(j){if(!isObject$k(j))return{};if(objectCreate$1)return objectCreate$1(j);a.prototype=j;var _e=new a;return a.prototype=void 0,_e}}(),_baseCreate=baseCreate$1;function overArg$2(a,j){return function(_e){return a(j(_e))}}var _overArg=overArg$2,overArg$1=_overArg,getPrototype$3=overArg$1(Object.getPrototypeOf,Object),_getPrototype=getPrototype$3,objectProto$d=Object.prototype;function isPrototype$4(a){var j=a&&a.constructor,_e=typeof j=="function"&&j.prototype||objectProto$d;return a===_e}var _isPrototype=isPrototype$4,baseCreate=_baseCreate,getPrototype$2=_getPrototype,isPrototype$3=_isPrototype;function initCloneObject$2(a){return typeof a.constructor=="function"&&!isPrototype$3(a)?baseCreate(getPrototype$2(a)):{}}var _initCloneObject=initCloneObject$2,baseGetTag$6=_baseGetTag,isObjectLike$d=isObjectLike_1,argsTag$3="[object Arguments]";function baseIsArguments$1(a){return isObjectLike$d(a)&&baseGetTag$6(a)==argsTag$3}var _baseIsArguments=baseIsArguments$1,baseIsArguments=_baseIsArguments,isObjectLike$c=isObjectLike_1,objectProto$c=Object.prototype,hasOwnProperty$g=objectProto$c.hasOwnProperty,propertyIsEnumerable$1=objectProto$c.propertyIsEnumerable,isArguments$7=baseIsArguments(function(){return arguments}())?baseIsArguments:function(a){return isObjectLike$c(a)&&hasOwnProperty$g.call(a,"callee")&&!propertyIsEnumerable$1.call(a,"callee")},isArguments_1=isArguments$7,MAX_SAFE_INTEGER$4=9007199254740991;function isLength$3(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=MAX_SAFE_INTEGER$4}var isLength_1=isLength$3,isFunction$5=isFunction_1,isLength$2=isLength_1;function isArrayLike$7(a){return a!=null&&isLength$2(a.length)&&!isFunction$5(a)}var isArrayLike_1=isArrayLike$7,isArrayLike$6=isArrayLike_1,isObjectLike$b=isObjectLike_1;function isArrayLikeObject$3(a){return isObjectLike$b(a)&&isArrayLike$6(a)}var isArrayLikeObject_1=isArrayLikeObject$3,isBuffer$6={exports:{}};function stubFalse(){return!1}var stubFalse_1=stubFalse;isBuffer$6.exports;(function(a,j){var _e=_root,et=stubFalse_1,nt=j&&!j.nodeType&&j,tt=nt&&!0&&a&&!a.nodeType&&a,ot=tt&&tt.exports===nt,ct=ot?_e.Buffer:void 0,ft=ct?ct.isBuffer:void 0,ht=ft||et;a.exports=ht})(isBuffer$6,isBuffer$6.exports);var isBufferExports=isBuffer$6.exports,baseGetTag$5=_baseGetTag,getPrototype$1=_getPrototype,isObjectLike$a=isObjectLike_1,objectTag$4="[object Object]",funcProto$2=Function.prototype,objectProto$b=Object.prototype,funcToString$2=funcProto$2.toString,hasOwnProperty$f=objectProto$b.hasOwnProperty,objectCtorString=funcToString$2.call(Object);function isPlainObject$3(a){if(!isObjectLike$a(a)||baseGetTag$5(a)!=objectTag$4)return!1;var j=getPrototype$1(a);if(j===null)return!0;var _e=hasOwnProperty$f.call(j,"constructor")&&j.constructor;return typeof _e=="function"&&_e instanceof _e&&funcToString$2.call(_e)==objectCtorString}var isPlainObject_1=isPlainObject$3;const isPlainObject$4=getDefaultExportFromCjs$1(isPlainObject_1);var baseGetTag$4=_baseGetTag,isLength$1=isLength_1,isObjectLike$9=isObjectLike_1,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$4="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$3="[object Function]",mapTag$6="[object Map]",numberTag$4="[object Number]",objectTag$3="[object Object]",regexpTag$3="[object RegExp]",setTag$6="[object Set]",stringTag$4="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$4]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$3]=typedArrayTags[mapTag$6]=typedArrayTags[numberTag$4]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$6]=typedArrayTags[stringTag$4]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray$1(a){return isObjectLike$9(a)&&isLength$1(a.length)&&!!typedArrayTags[baseGetTag$4(a)]}var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$5(a){return function(j){return a(j)}}var _baseUnary=baseUnary$5,_nodeUtil={exports:{}};_nodeUtil.exports;(function(a,j){var _e=_freeGlobal,et=j&&!j.nodeType&&j,nt=et&&!0&&a&&!a.nodeType&&a,tt=nt&&nt.exports===et,ot=tt&&_e.process,ct=function(){try{var ft=nt&&nt.require&&nt.require("util").types;return ft||ot&&ot.binding&&ot.binding("util")}catch{}}();a.exports=ct})(_nodeUtil,_nodeUtil.exports);var _nodeUtilExports=_nodeUtil.exports,baseIsTypedArray=_baseIsTypedArray,baseUnary$4=_baseUnary,nodeUtil$2=_nodeUtilExports,nodeIsTypedArray=nodeUtil$2&&nodeUtil$2.isTypedArray,isTypedArray$6=nodeIsTypedArray?baseUnary$4(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$6;function safeGet$2(a,j){if(!(j==="constructor"&&typeof a[j]=="function")&&j!="__proto__")return a[j]}var _safeGet=safeGet$2,baseAssignValue$1=_baseAssignValue,eq$7=eq_1$1,objectProto$a=Object.prototype,hasOwnProperty$e=objectProto$a.hasOwnProperty;function assignValue$4(a,j,_e){var et=a[j];(!(hasOwnProperty$e.call(a,j)&&eq$7(et,_e))||_e===void 0&&!(j in a))&&baseAssignValue$1(a,j,_e)}var _assignValue=assignValue$4,assignValue$3=_assignValue,baseAssignValue=_baseAssignValue;function copyObject$6(a,j,_e,et){var nt=!_e;_e||(_e={});for(var tt=-1,ot=j.length;++tt<ot;){var ct=j[tt],ft=et?et(_e[ct],a[ct],ct,_e,a):void 0;ft===void 0&&(ft=a[ct]),nt?baseAssignValue(_e,ct,ft):assignValue$3(_e,ct,ft)}return _e}var _copyObject=copyObject$6;function baseTimes$1(a,j){for(var _e=-1,et=Array(a);++_e<a;)et[_e]=j(_e);return et}var _baseTimes=baseTimes$1,MAX_SAFE_INTEGER$3=9007199254740991,reIsUint$1=/^(?:0|[1-9]\d*)$/;function isIndex$5(a,j){var _e=typeof a;return j=j??MAX_SAFE_INTEGER$3,!!j&&(_e=="number"||_e!="symbol"&&reIsUint$1.test(a))&&a>-1&&a%1==0&&a<j}var _isIndex=isIndex$5,baseTimes=_baseTimes,isArguments$6=isArguments_1,isArray$g=isArray_1,isBuffer$5=isBufferExports,isIndex$4=_isIndex,isTypedArray$5=isTypedArray_1,objectProto$9=Object.prototype,hasOwnProperty$d=objectProto$9.hasOwnProperty;function arrayLikeKeys$2(a,j){var _e=isArray$g(a),et=!_e&&isArguments$6(a),nt=!_e&&!et&&isBuffer$5(a),tt=!_e&&!et&&!nt&&isTypedArray$5(a),ot=_e||et||nt||tt,ct=ot?baseTimes(a.length,String):[],ft=ct.length;for(var ht in a)(j||hasOwnProperty$d.call(a,ht))&&!(ot&&(ht=="length"||nt&&(ht=="offset"||ht=="parent")||tt&&(ht=="buffer"||ht=="byteLength"||ht=="byteOffset")||isIndex$4(ht,ft)))&&ct.push(ht);return ct}var _arrayLikeKeys=arrayLikeKeys$2;function nativeKeysIn$1(a){var j=[];if(a!=null)for(var _e in Object(a))j.push(_e);return j}var _nativeKeysIn=nativeKeysIn$1,isObject$j=isObject_1,isPrototype$2=_isPrototype,nativeKeysIn=_nativeKeysIn,objectProto$8=Object.prototype,hasOwnProperty$c=objectProto$8.hasOwnProperty;function baseKeysIn$1(a){if(!isObject$j(a))return nativeKeysIn(a);var j=isPrototype$2(a),_e=[];for(var et in a)et=="constructor"&&(j||!hasOwnProperty$c.call(a,et))||_e.push(et);return _e}var _baseKeysIn=baseKeysIn$1,arrayLikeKeys$1=_arrayLikeKeys,baseKeysIn=_baseKeysIn,isArrayLike$5=isArrayLike_1;function keysIn$5(a){return isArrayLike$5(a)?arrayLikeKeys$1(a,!0):baseKeysIn(a)}var keysIn_1=keysIn$5,copyObject$5=_copyObject,keysIn$4=keysIn_1;function toPlainObject$1(a){return copyObject$5(a,keysIn$4(a))}var toPlainObject_1=toPlainObject$1,assignMergeValue$1=_assignMergeValue,cloneBuffer$1=_cloneBufferExports,cloneTypedArray$1=_cloneTypedArray,copyArray$1=_copyArray,initCloneObject$1=_initCloneObject,isArguments$5=isArguments_1,isArray$f=isArray_1,isArrayLikeObject$2=isArrayLikeObject_1,isBuffer$4=isBufferExports,isFunction$4=isFunction_1,isObject$i=isObject_1,isPlainObject$2=isPlainObject_1,isTypedArray$4=isTypedArray_1,safeGet$1=_safeGet,toPlainObject=toPlainObject_1;function baseMergeDeep$1(a,j,_e,et,nt,tt,ot){var ct=safeGet$1(a,_e),ft=safeGet$1(j,_e),ht=ot.get(ft);if(ht){assignMergeValue$1(a,_e,ht);return}var dt=tt?tt(ct,ft,_e+"",a,j,ot):void 0,vt=dt===void 0;if(vt){var $t=isArray$f(ft),xt=!$t&&isBuffer$4(ft),At=!$t&&!xt&&isTypedArray$4(ft);dt=ft,$t||xt||At?isArray$f(ct)?dt=ct:isArrayLikeObject$2(ct)?dt=copyArray$1(ct):xt?(vt=!1,dt=cloneBuffer$1(ft,!0)):At?(vt=!1,dt=cloneTypedArray$1(ft,!0)):dt=[]:isPlainObject$2(ft)||isArguments$5(ft)?(dt=ct,isArguments$5(ct)?dt=toPlainObject(ct):(!isObject$i(ct)||isFunction$4(ct))&&(dt=initCloneObject$1(ft))):vt=!1}vt&&(ot.set(ft,dt),nt(dt,ft,et,tt,ot),ot.delete(ft)),assignMergeValue$1(a,_e,dt)}var _baseMergeDeep=baseMergeDeep$1,Stack$3=_Stack,assignMergeValue=_assignMergeValue,baseFor$1=_baseFor,baseMergeDeep=_baseMergeDeep,isObject$h=isObject_1,keysIn$3=keysIn_1,safeGet=_safeGet;function baseMerge$3(a,j,_e,et,nt){a!==j&&baseFor$1(j,function(tt,ot){if(nt||(nt=new Stack$3),isObject$h(tt))baseMergeDeep(a,j,ot,_e,baseMerge$3,et,nt);else{var ct=et?et(safeGet(a,ot),tt,ot+"",a,j,nt):void 0;ct===void 0&&(ct=tt),assignMergeValue(a,ot,ct)}},keysIn$3)}var _baseMerge=baseMerge$3;function identity$4(a){return a}var identity_1=identity$4;function apply$4(a,j,_e){switch(_e.length){case 0:return a.call(j);case 1:return a.call(j,_e[0]);case 2:return a.call(j,_e[0],_e[1]);case 3:return a.call(j,_e[0],_e[1],_e[2])}return a.apply(j,_e)}var _apply=apply$4,apply$3=_apply,nativeMax$1=Math.max;function overRest$2(a,j,_e){return j=nativeMax$1(j===void 0?a.length-1:j,0),function(){for(var et=arguments,nt=-1,tt=nativeMax$1(et.length-j,0),ot=Array(tt);++nt<tt;)ot[nt]=et[j+nt];nt=-1;for(var ct=Array(j+1);++nt<j;)ct[nt]=et[nt];return ct[j]=_e(ot),apply$3(a,this,ct)}}var _overRest=overRest$2;function constant$1(a){return function(){return a}}var constant_1=constant$1,constant=constant_1,defineProperty$2=_defineProperty$2,identity$3=identity_1,baseSetToString$1=defineProperty$2?function(a,j){return defineProperty$2(a,"toString",{configurable:!0,enumerable:!1,value:constant(j),writable:!0})}:identity$3,_baseSetToString=baseSetToString$1,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut$1(a){var j=0,_e=0;return function(){var et=nativeNow(),nt=HOT_SPAN-(et-_e);if(_e=et,nt>0){if(++j>=HOT_COUNT)return arguments[0]}else j=0;return a.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$2=shortOut(baseSetToString),_setToString=setToString$2,identity$2=identity_1,overRest$1=_overRest,setToString$1=_setToString;function baseRest$5(a,j){return setToString$1(overRest$1(a,j,identity$2),a+"")}var _baseRest=baseRest$5,eq$6=eq_1$1,isArrayLike$4=isArrayLike_1,isIndex$3=_isIndex,isObject$g=isObject_1;function isIterateeCall$2(a,j,_e){if(!isObject$g(_e))return!1;var et=typeof j;return(et=="number"?isArrayLike$4(_e)&&isIndex$3(j,_e.length):et=="string"&&j in _e)?eq$6(_e[j],a):!1}var _isIterateeCall=isIterateeCall$2,baseRest$4=_baseRest,isIterateeCall$1=_isIterateeCall;function createAssigner$2(a){return baseRest$4(function(j,_e){var et=-1,nt=_e.length,tt=nt>1?_e[nt-1]:void 0,ot=nt>2?_e[2]:void 0;for(tt=a.length>3&&typeof tt=="function"?(nt--,tt):void 0,ot&&isIterateeCall$1(_e[0],_e[1],ot)&&(tt=nt<3?void 0:tt,nt=1),j=Object(j);++et<nt;){var ct=_e[et];ct&&a(j,ct,et,tt)}return j})}var _createAssigner=createAssigner$2,baseMerge$2=_baseMerge,createAssigner$1=_createAssigner,merge$1=createAssigner$1(function(a,j,_e){baseMerge$2(a,j,_e)}),merge_1=merge$1;const merge$2=getDefaultExportFromCjs$1(merge_1),en$1={common:{invalid:"Invalid",about:"About",access:"Access",change:"Change",upload:"Upload",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",refresh:"Refresh",address:"Address",afterTime:"After {time}",allow:"Allow",alreadyExist:"already exists",approve:"Approve",approved:"approved",appUrl:"APP Url",auditLogs:"Audit Trail",author:"Author",avatar:"Avatar",back:"Back",basic:"Basic",basicInfo:"Basic Information",profile:"Profile",bind:"Bind",blocklet:"Blocklet",blocklets:"Blocklets",blockletsStorage:"Blocklets Storage",cacheStorage:"Cache Storage",cancel:"Cancel",certificate:"certificate",category:"Log Topic",click:"Click to copy",close:"Close",collapseAll:"Collapse All",community:"Community",complete:"Complete",componentBasicInfo:"Component Basic Information",components:"Blocklets",config:"Configure",configuration:"Configuration",configNavigation:"Navigation",configSuccess:"Config successfully",confirm:"Confirm",connect:"Connect",console:"Console",continue:"Continue",continueWith:"Continue With",copiedTip:"Copied",copyAndClose:"Copy & Close",copyTip:"Click To Copy",coreStorage:"Core Storage",cpu:"CPU",create:"Create",createSuccess:"Create Access Key",created:"Created At",createdAt:"Created At",createdBy:"Created By",dAddress:"Decentralized Identifiers (DID)",dataStorage:"Storage on Local Disk",delConfirm:"Delete",delConfirmDescription:"Confirm delete {data}?",delete:"Delete",dependents:"Dependents",description:"Description",detail:"Detail",did:"DID",disk:"Disk",diskInfo:"Disk Info",docker:"IS Docker",documentation:"Documentation",domain:"Domain",downgradeTo:"Downgrade to",download:"Download",connectToStore:"Connect to Store",blockletStudio:"Studio",uploaded:"Uploaded",downloading:"Downloading",edit:"Edit",email:"Email",phone:"Phone",empty:"Empty",emptyData:"No results found",enable:"Enable",engine:"Engine",env:"Environment",environment:"Environment",expandAll:"Expand All",expired:"Expired",expires:"Expires",export:"Export",externalIp:"External IP",failed:"Failed",filter:"Log Filter",fingerprint:"Fingerprint",finish:"Finish",forbid:"Forbid",free:"Free",general:"General",gitpod:"IS Gitpod",goEULA:'Click to view "End User License Agreement"',group:"Group",image:"IS Image",install:"Install",installed:"Installed",installedAt:"Installed At",installSuccess:"Successfully installed",installing:"Installing",internalIp:"Internal IP",introduction:"Introduction",invite:"Invite",inviting:"Inviting",ip:"IP",isPublic:"Public",issue:"Issue",issuer:"Issuer",item:"Item",joined:"Joined",key:"Key",lastPublishedAt:"Published At",launcher:"Launcher Information",leavePageTip:"Are you sure to leave the page?",link:"Link",loading:"loading",log:"View Logs",logStorage:"Log Storage",login:"Login",logo:"Logo",logout:"Logout",logs:"Logs",manageTeam:"Manage Team",marketplace:"Marketplace",member:"Member",members:"Members",memory:"Memory",meta:"Meta Data",analytics:"Analytics",runtime:"Runtime",traffic:"Traffic",more:"More",mountPoint:"MountPoint",name:"Name",next:"Next",no:"No",noData:"No records to display",notice:"Unexpected bad things will happen if you don’t read this!",noticeTitle:"Notice",notification:"Notification",open:"Open",visitStore:"Visit Store",visitTarget:"Visit {name}",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",display:"Display",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",disconnect:"Disconnect",readMore:"More",redirect:"Redirect",redirectCode:"Redirect Code",redirectPermanently:"Permanent Redirect",redirectTemporary:"Temporary Redirect",redirectUrl:"Redirect URL",rewrite:"Rewrite",release:"Release",rewriteUrl:"Rewrite URL",reject:"Reject",reload:"Reload",remark:"Remark",remove:"Remove",removeSuccess:"Remove successfully",renew:"Renew",reportIssue:"Report an issue",required:"Required",requiredErrorText:"{name} is required",resource:"Resource",restart:"Restart",restore:"Restore",retry:"Retry",revoke:"Revoke",role:"Role",running:"running",runtimeInfo:"Runtime Info",save:"Save",saveChanges:"Save Changes",saveSuccess:"Saved successfully",scheduleFailed:"schedule failed",scheduleSuccess:"successfully scheduled",scope:"Scope",screenshot:"Screenshots",search:"Search",security:"Security",serverDid:"Server DID",serverVersion:"Server Version",setting:"Settings",start:"Start",status:"Status",stop:"Stop",storage:"Storage",backup:"Backup",store:"Store",succeeded:"Succeeded",subscription:"Subscription",support:"Support",switch:"Switch",team:"Team",the:"The",timeAgo:"{time} ago",title:"Title",type:"Type",unavailable:"Unavailable",update:"Update",updateAvailable:"New version {version} available",updatedAt:"Updated At",updatedBy:"Updated By",upgrade:"Upgrade",upgradeServer:"Upgrade Server",upgradeTo:"Upgrade to",upgrading:"Upgrading",uptime:"Uptime",url:"URL",valid:"Valid",value:"Value",version:"Version",visit:"Visit",waiting:"Waiting",webhook:"Integrations",yes:"Yes",invalidParam:"Invalid Params",launch:"Launch",price:"Price",redirecting:"Redirecting",error:"Error",reminder:"Reminder",normal:"Normal",gateway:"Gateway",verifyNFT:"Verify NFT",errorMessage:"Error Message: ",slugifyHint:"The actual mount point will be: {value}",strategy:"Strategy",auto:"Auto",manual:"Manual",progress:"In progress",startTime:"Start time",endTime:"End time",selected:"Selected",timeoutError:"Timeout error",tags:"Tags",sourceApp:"Belong to App",requiredInputPlaceholder:"Please enter {name}",moveUp:"Move Up",moveDown:"Move Down",enabled:"Enabled",disabled:"Disabled"},setup:{connect:{title:"Signature Required",scan:"Connect your DID Wallet to become the owner of this server",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},keyPair:{title:"Derived KeyPair Required",scan:"Connect your DID Wallet to generate a key-pair for this app",confirm:"Review this operation on your DID Wallet",success:"Your key pair is securely stored"},verify:{title:"Ownership Credential Required",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},accept:{title:"Accepting server require ownership certificates",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},title:"Setup Blocklet Server",steps:{eula:"End User License Agreement",eulaFooter:"I have read and agreed to the terms of the EULA",connect:"Connect Owner DID Wallet",verify:"Verify Ownership",basicSettings:"Basic Settings",launchApp:"Launch Application",complete:"Complete"},congratulation:"Congratulations! Your Blocklet Server is secure and ready to use",redirectButton:"Take me to dashboard!"},login:{loginTo:"Connect to",description:"Only server owner and approved members can access the dashboard",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to provide passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},exchangePassport:{title:"Get Passport with NFT",success:"You have successfully get your passport and logged in with the passport",login:"Login",tooltip:"If you own NFT from collection {collections}, you can exchange your passport with this link.",dialog:{title:"Get Passport with NFT",scan:"Connect your DID Wallet to present your NFT to get a passport",confirm:"Select NFT on your DID Wallet",success:"Passport has been successfully exchanged"}},payablePassport:{title:"Purchase passport with payment",tooltip:"If you do not have a passport, you can purchase a passport with this link."},sidebar:{dashboard:"Dashboard",blocklets:"Blocklets",console:"Console",settings:"Settings"},system:{total:"Total",used:"Used",free:"Free",cores:"Number of cores",instances:"Number of instances"},blocklet:{external:"External",usingDocker:"This Blocklet will run using docker",notFound:"Blocklet not found on this server, maybe it has been deleted",installFromMarket:"Install New Blocklets",installFromUrl:"Install From Url",installFromCreate:"Create Blocklet",titleValidationError:"Title length must be between 3 and 20 characters",descriptionValidationError:"Description length must be between 3 and 80 characters",installFromDiskBackup:"Restore from this server",installedAt:"Installed At",internal:"Internal",startedAt:"Started At",stoppedAt:"Stopped At",urlEmptyTip:"No Access URL, ",goToAddRule:"Go To Add",services:"Exposed Services",upstreamPort:"Upstream Port",noService:"No Services",appId:"App DID",appPid:"Permanent DID",whyNeedAppPid:"If your application has been migrated, the permanent DID is the DID generated when this Blocklet was originally installed",alsoKnownAs:"Also Known As",skSource:"Owner Wallet",reloadSuccess:"Blocklet was reloaded successfully",statusTip:"Blocklet is {status}",initialUptime:"Less than 1m",dashboard:"Blocklet Dashboard",noComponent:"Application has no components and cannot be started",fromUrl:{title:"Install Blocklet",label:"Blocklet Meta URL",description:"The URL should point to the Meta File of the Blocklet. If you need to refer to a local file, please add the file:// prefix, e.g. file:///Users/foo/blocklet.json.",confirm:"Install",step0:"Input URL",step1:"Confirm Meta Info",existTipPrefix:"Blocklet with the same DID already exists, the version is",existTipSuffix:", Please install a higher version."},action:{stopDescription:"Stopping the blocklet will make its public interfaces unaccessible, which may cause end user failures",stopComponentDescription:"Stopping the component will make its public interfaces unaccessible, which may cause end user failures",confirmStop:"Yes, Stop It",cancelDownloadDescription:"Cancel download {name} ?",removeApplicationDescription:"Removing the application will erase code and data generated by this application, which is not recoverable if you do not have any backups",removeApplicationAfterBackup:"Backup and remove the application. You can restore the application from this server if you need",removeApplicationComplete:"Remove both code and data for this application",removeComponentDescription:"Removing the component will erase code and data generated by this component, which is not recoverable if you do not have any backups",removeComponentKeepData:"Keep data for this component, only remove code",removeComponentComplete:"Remove both code and data for this component",confirmRemove:"Yes, Remove It",confirmComponentRemove:"Yes, Remove It",upgradeDescription:"Upgrading the blocklet will make it temporarily unavailable, are you sure to continue?",confirmUpgrade:"Yes, Upgrade It",confirmRestart:"Yes, Restart It",restartDescription:"Restarting the blocklet will temporarily suspended and may not start because of a configuration change"},dev:{modeTip:"Please switch Blocklet Server to DEBUG mode"},index:{tableTitle:"Manage Your Blocklets",noBlocklet:"No blocklets found in this Blocklet Server, install a blocklet from market place to start."},admin:{iframeTitle:"Blocklet Admin Interface",title:"Admin Interface",noContent:"This blocklet does not have a admin interface",securityError:"SecurityError: Can not open the admin url from accessing a cross-origin frame"},config:{name:"App Name",description:"App Description",sk:"Secret key for the app wallet",logoSquare:"App Logo",logoRect:"Rect logo",logoRectDesc:"Usually displayed at the top of the page, default to app logo",logoFavicon:"Favicon",logoFaviconDesc:"Usually displayed in the browser's address bar or tab page, default to app logo",clusterSize:"Instance count when run this blocklet in cluster mode",copyrightOwner:"Copyright Owner (Display in footer)",copyrightYear:"Copyright Year (Display in footer)",deletable:{name:"Delete Protection",enable:"This blocklet can NOT currently be deleted",disable:"This blocklet can currently be deleted"},tenantMode:{name:"Multiple Tenant Mode",multiple:"This blocklet runs in multiple tenant mode, data should be isolated for each tenant",single:"This blocklet runs in single tenant mode, all data are shared"},walletType:{name:"Wallet Type",description:"Blocklet instance wallet type, will change the derived DID"},languages:"Supported Languages",selectLanguagesTip:"Adjust the order by removing and re-adding",languagesSearch:"Search by Country's Local Name, English Name, or ISO Code...",passportColor:"Passport Color",appUrl:"App URL",access:{title:"Who Can Access",description:"Who can access the blocklet",useDefault:"Use default",defaultDescription:"Use the application's default configuration",whoCanAccess:{all:{title:"Accessible to all",description:"Open to the world anyone can access without passport"},owner:{title:"Only me can access",description:"You must provide owner passport to access this application"},invited:{title:"Only invited people can access",description:"You can invite members later in the admin page"}},publicToStore:"Public On Store",publicInstanceTip:"The access address of this blocklet will be displayed in the Store (along with your DID for accepting donations)",updatedTip:"Access Control Modified"},changedTip:"Configuration updated, please restart Blocklet",missingRequired:"Missing required configuration to start the blocklet",gotoFix:"Go to fix",environment:{key:"Configuration key",value:"Configuration value",keyValueRequired:"Configuration key and value must be specified",invalidKey:"Configuration key must not start with BLOCKLET_ or COMPONENT_",deleteForbidden:"This configuration is required and should not be deleted",tip:"Configurations prefixed with BWA_ should not contain sensitive information because they will be sent to the browser"},dangerZone:"Danger Zone",blockletTypeChangeTip:"Wallet Type will be changed to <b>{value}</b>",appDidChangeTip:"This operation will change the DID of the application, which will lead to the following problems. Please confirm after careful evaluation:",appDidChangeTipL1:"The user's account connected to this application will change",appDidChangeTipL2:"The DID domain name of the application will change, and the original domain name will become invalid",appSkChangeTip:"You are changing application secret key",walletTypeTitle:"Update Wallet Type",appSkTitle:"Update Application Secret Key",sharedToAllComponents:"Will be shared to all components",session:{period:"Session validity period",profile:"User profile requirements",ttl:"User will be asked to login again if they have no activity on this site for {day} days",day:"{day} day",days:"{day} days",cacheTtl:"Cache duration for user session data (in seconds)",fullNameEnabled:"Request user name on login (enabled by default)",avatarEnabled:"Request user avatar on login (enabled by default)",emailEnabled:"Request user email on login",emailRequireVerified:"Require user email to be verified before login",emailRequireUnique:"Require user email to be unique across all users",phoneEnabled:"Request user phone number on login (not supported yet)",phoneRequireVerified:"Require user phone number to be verified before login",phoneRequireUnique:"Require user phone number to be unique across all users",emailTrustOauthProviders:"Trust OAuth providers for email verification status",enableDomainBlackList:"Enable email domain black list (reject listed email domains)",enableDomainWhiteList:"Enable email domain white list (only allow listed email domains to login)",addDomain:"Add source to fetch the list (in plain text format, one domain per line)"},clearCache:{name:"Cache Management",purpose:"Manage files cached in router and blocklet services",title:"Confirm Cache Clear?",action:"Clear Cache",success:"Successfully cleared {count} cache entries",description:"Are you sure you want to clear cached files in router and blocklet service? this operation may cause slight performance downgrade in the short term"}},overview:{source:"Source",deployedFrom:"Deployed From",accessControl:"Access Control",viewInStore:"View It In Store"},diskInfo:{empty:"Disk info not available now!",appDir:"App Directory",dataDir:"Data Directory",logDir:"Log Directory",cacheDir:"Cache Directory"},runtimeInfo:{noRunning:"Runtime information will be available when blocklet is running!",memoryUsage:"Memory Usage",cpuUsage:"CPU Usage",uptime:"Uptime",port:"Port",processId:"Process ID"},dist:{downloadLink:"Download Link",verify:"Verify"},status:{added:"Added",waiting:"Waiting",downloading:"Downloading",extracting:"Extracting",installing:"Installing",upgrading:"Upgrading",installed:"Installed",created:"Created",starting:"Starting",running:"Running",stopping:"Stopping",stopped:"Stopped",error:"Error",deleting:"Deleting",corrupted:"Corrupted",purchasing:"Waiting for purchase",purchased:"Purchased",verifying:"Verifying purchase",resource:"Resource"},list:{download:"Download",star:"Star"},component:{container:"Global Config",showContainer:"Show Global Config",didSpaceConfig:"Configure DID Spaces",didSpaceConfigTip:"Complete the following authorize process to store application data in DID Spaces",didSpaceConnected:"Storage being authorized to: {endpoint}",checkUpdateTitle:"Check for Updates",updateTitle:"Update Blocklets",noUpdate:"No Blocklets to update",add:"Add Blocklet",selectComponent:"Select Blocklet",selectRegistry:"Select Blocklet Store",selectRegistryTip:"You can switch blocklet store to see more components",selectInstance:"Select Instance",selectInstanceTip:"You can select an existing instance or create a new instance. Existing instances will use previously saved configuration and data",newInstance:"Create New Instance",noComponent:"No Blocklets",mountPoint:"What's the mount point?",mountPointTip:"If you set mount point to '/my-prefix', then all requests that begins with that mount point will be routed to the selected Blocklet",delete:"Delete Blocklet",deleteDescription:"This Blocklet will not be accessible after deletion. Confirm delete?",purchase:"Payment Required",tip:{stopBlocklet:"Please stop running Blocklet first",requiredBy:"The Blocklet is required by {name}"},choose:"Choose",upgrade:"Upgrade",addWithName:"Add Blocklet To {name}",relatedComponents:"Related Blocklets",required:"Required",noDependencies:"{name} doesn't have any dependencies",installed:"Installed",installingTip:"Installing component, please wait...",installingCanCloseWindowTip:"Installing component in the background, you can safely close this window",installSuccessTip:"Congratulations, the component was installed successfully!",missDownloadTokenTip:"Cannot add paid component without valid download token",purchaseComponentSecondCheckTip:"Please present your blocklet purchase NFT to continue",installComponentError:"There was an error installing the component, please retry again",downloadComponentError:"There was an error downloading the component, please retry again",addComponentTip:{introduction:"Welcome to the Add Component Wizard",isPurchase:"You need to Verify NFT before use <b>{name}</b> as a component;",belowInformation:"Below is the information for the component: ",verifyNFT:"Please select the Verify NFT method",config:"Please fill in the configuration of the component",environment:"Please fill in the environment of the component",fromUrl:"Add Blocklet From Url"},addNext:"Add {name}",upgradeNext:"Upgrade {name}",setting:"Settings"},router:{urlPath:"URL Path",noRunning:"The blocklet is not currently started. Unable to access through the following address!",securitySetting:"Security Setting",checkUrlAccessible:"Check the accessibility of the address",urlInaccessible:"It may be due to network reasons, the address is temporarily inaccessible",noAccessibleUrl:"No accessible URL",domainLockTooltip:"The system generated Domain cannot be edited.",urlLockTooltip:"The system generated URL Path cannot be edited.",showAllDomains:"Show all domains",showAllDIDs:"Show all DIDs",currentDomainTip:"You are accessing the current page through this domain"},export:{title:"Export Blocklet",name:"Bundle Name",nameTip:'e.g. "my-blocklet-name" or "@my-scope/blocklet-name"',result:"What's next",exportSource:"Export Source",success:"Blocklet successfully exported",resultTipStart:"With",resultTipEnd:"you can build and publish this blocklet within minutes",uploadedComponentTip:"Directly uploaded components cannot be exported:"},migrate:{title:"Migrate Application",scan:"Connect your DID Wallet to generate a key-pair for this application",confirm:"Review this operation on your DID Wallet",success:"Your application is successfully migrated, the page will be refreshed in {sec} seconds",intro:{l1:"Click here",l2:"to migrate your application to new version (changes are disabled before the migration completes)",l3:"1. The application DID will be fully controlled from your DID Wallet.",l4:"2. The application data will be migrated, and no further changes required.",l5:"3. The new application structure will give you more flexibly when change components.",l6:"4. Please do not change component mount points before component new version is out."},tip:{duplicate:"Find duplicate component {name}, please delete useless components and migrate again",running:"Please stop blocklet before migration"}},error:{isRunning:"Blocklet is running, please stop it first",isInProgress:"Blocklet is in progress, please wait for it to finish"},publish:{connectOrUpload:"Connect or Upload",projectSettings:"Project Settings",noStoreSelected:"Please select one of the existing stores or add a new store to continue",forceResourceBlocklet:"Force defined as a resource-based blocklet",autoUploadTip:"Upload release to connected Blocklet Stores automatically after creation",possibleSameStoreTip:"Try resolving dependency blocklets to the same Blocklet Store before each uploading when possible",needProjectId:"Please create a project first",developerInfo:"Developer Information",branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",deleteStoreTip:"Are you sure you want to remove {name} from the connect Store list?",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",installToThisServer:"Install to this server",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",resourceTitle:"Resources",resourceSelect:"Select resource from following blocklets",resourceUpload:"Upload resource from your disk (index.html is required in the archive)",blockletEmptyTip:"There aren’t any blocklets here",createBlockletTip:"You can create new blocklet through existing resources, components, and configuration in this application",createBlocklet:"New blocklet",reconnectStoreTip:"After reconnecting, a new developer will be bound. Are you sure you want to reconnect?",disconnectStoreTip:"After disconnecting, the blocklet will be removed from the store. Are you sure you want to disconnect?",componentNotRunning:"Blocklet {name} is not running, please start it first",allComponentsNotRunning:"Blocklets is not running, please start it first",releaseEmptyTip:"There aren't any releases here",resourceEmptyTip:"No available resources",viewLastRelease:"View last release",createReleaseTip:"You can create a release of the blocklet, along with release notes and resources, for other people to use",createRelease:"Create release",deleteReleaseTip:"The release cannot be recovered after deletion",createBlockletDid:"Create from DID Wallet",createReleaseSuccess:"Release created successfully",saveDraftSuccess:"Draft saved successfully",packTip:"Currently blocklets can be installed directly as applications. Components and application configurations will be automatically included in the Blocklet",resourceTip:"Currently, as a Resource Blocklet, it cannot be directly installed from the Store.",whyCantSeeInStore:"You need to publish the blocklet on connected store before you can see it in the store listing page",whyCantSeeResourceBlockletInStore:"Resource Blocklet are hidden from the store listing page by default",resourceChangedWarning:"You have modified the resource, please save it in time",install:"Install {name}",installResourceTip:"Install Url:",installResourceTip2:"If you want to see more tips, please visit",installResourceHelp:"Help Document",componentIncluded:"Included",componentForceRequired:"Required",steps:{branding:"Describe the basic information of your Blocklet. This information will be presented to users in the store.",introduction:"A clear introduction can effectively highlight your Blocklet. You can use Markdown syntax to write and preview it.",resources:"Please select the resources that need to be associated with the current Blocklet, as these resources will be installed along with the Blocklet.",blocklets:"Please select the Blocklets that need to be associated and installed when installing the current Blocklet.",version:"Set the release version and the change log."},connect:{title:"Create Blocklet DID",scan:"Scan the QR code below to generate Blocklet DID",confirm:"Confirm using DID Wallet",success:"Blocklet DID has been generated, please continue your operation"},deleteProject:{title:"Delete {name}",scan:"Scan the QR code below to delete {name}",confirm:"Confirm using DID Wallet",success:"Blocklet has been deleted, please continue your operation",description:"Are you sure you want to delete the Blocklet? Here are the issues you might encounter:",tip1:"The Blocklet cannot be recovered after deletion.",tip2:"You will no longer be able to publish new versions to the deleted Blocklet, which means that the Blocklet will not be updated in the Store anymore.",tip3:"Deleting the Blocklet will not affect its currently published version in the Store."},saveDraft:"Save Draft",releaseNote:"Release Note",errorTip:{noDid:"Blocklet DID is required",noFirstDid:"Please create Blocklet DID first",noTitle:"Blocklet Title is required",noVersion:"Blocklet Version is required",inValidVersion:"Invalid Blocklet Version",noResource:"Please select upload resource to be included in the blocklet",noDescription:"Blocklet Description is required",noNote:"Release Note is required"},uploadToStoreSuccess:"Blocklet upload to Store successfully, you need publish it in the Store",publishToStoreSuccess:"Blocklet published to Store successfully",connectStoreSuccess:"Blocklet Store connected successfully"}},dashboard:{nodeDid:"Node",ownerDid:"Owner",routingEngine:"Routing Engine",ownerNftURL:"Owner NFT",expirationLeft:"Expiration Left",startFromCrashTip:"Blocklet Server did not exit normally last time, please manually start the blocklets that needs to be run.",runtimeConfig:{blockletMaxMemoryLimit:"Blocklet Max Memory Limit",daemonMaxMemoryLimit:"Server Max Memory Limit",proxyMaxMemoryLimit:"Event Bus Max Memory Limit"}},store:{nameSort:"Name",popularSort:"Popularity",headerDescription:"Find and Install Your Blocklets",detail:{purchase:"Purchase {name}",open:"Open {name}",install:"Install {name}",upgrade:"Upgrade {name}",empty:"No introduction"},tooltip:{upgradeServer:"Blocklet requires Blocklet Server version {version}, current Blocklet Server version is {serverVersion}"},blockletRegistry:{changeFailed:"Change Blocklet Store Failed: ",addFailed:"Add Blocklet Store Failed: ",editFailed:"Edit Blocklet Store Failed: ",switchRegistry:"Switch Blocklet Store",addRegistry:"Add Blocklet Store",editRegistry:"Edit Blocklet Store",deleteRegistry:"Delete Blocklet Store",haveSameRegistry:"The same blocklet store exists",registryName:"Blocklet Store Name",registryUrl:"Blocklet Store URL",registryNameEmpty:"Blocklet Store name cannot be empty",registryUrlEmpty:"Blocklet store url cannot be empty",deleteDesc:'Confirm Delete blocklet store {name} ?<br/><span style="color: {color}">*After removing this blocklet store, you cannot update the apps installed from this blocklet store unless you add them again.</span>',confirmDesc:"Please input {name} to delete"},purchase:{title:"Purchase {name}",confirmed:"Your blocklet purchase NFT is verified",declined:"You do not provided valid the blocklet purchase NFT",waiting:"Waiting for purchase complete...",purchase:{title:"Purchase NFT",description:"Pay some token before installing this blocklet if you have not purchased this blocklet"},verify:{title:"Verify NFT",description:"Your NFT will be verified before installing this blocklet if you have purchased and hold the purchase NFT in your DID Wallet",auth:{title:"Purchase Credential Required",scan:"Connect DID Wallet to provide blocklet purchase NFT",confirm:"Review this operation on your DID Wallet",success:"Your purchase NFT is verified, and installing has started"}},auth:{title:"Purchase {name}",scan:"Scan following QRCode with your DID Wallet",confirm:"Confirm on your DID Wallet",success:"Purchase NFT sent to your DID Wallet"},launch:"Launch {name}",autoLaunch:"{name} successfully purchased, redirecting to launch page..."}},setting:{saveSuccess:"Settings Saved Successfully",unSavedTip:'There are unsaved changes, please click "Save Changes" to save them.',unSavedLeaveTip:"There are unsaved changes, are you sure to leave the page?",form:{name:"Name Your Server",nameRequired:"Server description is required",namePlaceholder:"Server Name",description:"Describe Your Server",descriptionHolder:"Server Description",descriptionRequired:"Server description is required",domain:"Your Server Domain Name",domainPlaceholder:"Server Domain Name",domainRequired:"Server domain is required",ipPlaceholder:"IP",ipRequired:"IP is required",registry:"Blocklet Store",registryPlaceholder:"Blocklet store to fetch blocklets",registryRequired:"Blocklet store is required ",registerUrl:"Blocklet Launcher URL",registerUrlPlaceholder:"Input the URL of your preferred Blocklet Launcher, you can use the official one safely",webWalletUrl:"DID Wallet URL",webWalletUrlPlaceholder:'Please input the URL of your hosted "DID Wallet", you can use the official one safely',nftDomainUrl:"NFT Domain URL",nftDomainUrlPlaceholder:'Please input the URL of your hosted "NFT Domain", you can use the official one safely',enableWelcomePage:"Enable welcome page",welcome:{switchLabel:"Welcome Page"},security:{switchLabel:"File System Isolation",switchTips:"After disabling this option, the file system of the Blocklet will no longer be in isolation, which may pose a risk of malicious software damaging the file system.",warningTips:"The file system isolation feature cannot take effect. Please upgrade the node.js version (current version is {version}) to v21.6.0 or higher."},docker:{switchLabel:"Run Blocklets in Containers",switchTips:"After enabling this option, all blocklets will be run in Docker containers, which can improve the server's overall security.",notInstalled:"Can not enable container mode because docker is not installed or the current user has insufficient permission to run docker",needCloseFileSystemIsolation:"File system isolation and docker container mode runtime cannot be enabled at the same time"},dockerNetwork:{switchLabel:"Container Network Isolation",switchTips:"After enabling this option, blocklets run in a more secure manner: a blocklet cannot access the blocklet server or other blocklets across applications.",needEnableDocker:"Container mode must be enabled to enable network isolation"},upgrade:{title:"Upgrade Blocklet Server to {version}",description:"During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.",dialog:'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',confirm:"Upgrade",switchLabel:"Auto Update Check",enableBetaRelease:"Enable Beta Release",setup:"Preparing the upgrade",installing:"Installing Blocklet Server v{version}",restarting:"Restarting Blocklet Server",cleanup:"Migrating Blocklet Server data",verifying:"Verifying Blocklet Server v{version}",rollback:"Rollback Blocklet Server",complete:"Upgrade complete!",progress:"Upgrading {name}",check:"Check for Updates",latest:"You are running the latest version."},restart:{title:"Restart Blocklet Server",description:"During the restarting, your Blocklet Server will enter maintenance mode while the restart is completed.",dialog:'Click on "confirm" to restart. Blocklet Server will enter maintenance mode until the restart is completed and return to production mode automatically.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting Blocklet Server",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting {name}"},register:{titleAdded:"Added to Blocklet Launcher",title:"Add to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",descriptionOnAdded:"you can launch blocklets to this blocklet server from {url}.",btn:"Add",update:"Update",added:"Added",addSucceed:"Add succeed",updateSucceed:"Update succeed",detecting:"Detecting",timeout:"Detection timeout, please check if the blocklet launcher is started"},monitor:{diskThreshold:"Send alert when disk usage exceeds (%)",diskThresholdPlaceholder:"Please set the disk usage alert threshold"}},accessKey:{accessKeyId:"ACCESS KEY",lastUsed:"Last Used At",tip:"Please enter a name for this access key for future reference:",saveSecretTip:"This is the only time that your Access Secret key can be viewed and cannot be recovered. However, you can create new access keys at any time",iKnow:"I have copied and saved the Access Secret",showSecret:"Show Secret Access Key",hideSecret:"Hide Secret",title:"Delete Access Key",descriptionNoTime:"This will permanently delete the access key {key} with name {name}, which is (never used before)",description:"This will permanently delete access key {key} with name {name}, which is (last used on {time}, {timeAge})",confirm_desc:"Please input {name} to delete",remark:"Access Key Name",remarkInvalid:"Access Key Name is required"},webhook:{add:"Add Integration",delTitle:"Delete Integration",requiredError:"Please provide a valid {type}",confirm_desc:"Please input {name} to delete",test:"Test",description:"This will permanently delete integration with ID {id}",columns:{description:"ID",params:"Params",createdAt:"createdAt"}}},notification:{title:"Activities",empty:"No activities yet",viewAll:"View All",showRead:"Show Read",markAllAsRead:"Mark All as Read",markAsRead:"Mark As Read",proceed:"Proceed",checkingForUpdates:"Checking for updates...",installComponentError:"Not found uninstalled component {name}",installingComponent:"Installing component {name}",pushKit:{enable:"Enable PushKit notification",endpoint:"PushKit endpoint",endpointInvalid:"PushKit endpoint is invalid URL",testSuccess:"Test PushKit send successfully",testFailed:"Test PushKit send failed",testReceiver:"PushKit receiver",testSend:"Test push-kit send",inputTestReceiver:"Please input test receiver did",receiverRequired:"PushKit receiver is required",pushPath:"Api path for push-kit (default /api/push)",did:"PushKit Blocklet DID",customOptions:"Custom Options"},email:{enable:"Enable email notification",from:"Email sender",host:"SMTP server host",port:"SMTP server port",user:"SMTP server username",secure:"Enable secure connection",password:"SMTP server user password",fromRequired:"Email sender is required",fromInvalid:"Email sender is invalid",receiverRequired:"Email receiver is required",receiverInvalid:"Email receiver is invalid",hostRequired:"SMTP server host is required",hostInvalid:"SMTP server host is invalid",portRequired:"SMTP server port is required",portInvalid:"SMTP server port is invalid, port should be between 1 and 65535",userRequired:"SMTP server username is required",passwordRequired:"SMTP server user password is required",testSuccess:"Test email send successfully",testFailed:"Test email send failed",testReceiver:"Email receiver",testSendEmail:"Test email send",inputTestReceiver:"Please input test receiver email",disable:"Unsubscribe email notification",disableDescription:"After unsubscribe, you will no longer receive email notifications. To receive email notifications, you can subscribe it again on this page.",unsubscribe:"Unsubscribe email notification",unsubscribeDescription:"After unsubscribe, you will no longer receive any email notifications.",subscribe:"subscribe",subscribeDescription:"To receive email notifications, you can subscribe it again on settings page."},comingSoon:"More notification channel are under construction",unsubscribe:"Unsubscribe",unsubscribeSucceed:"Unsubscribe succeeded",unsubscribeFailed:"Unsubscribe failed",unsubscribeTokenRequired:"Unsubscribe token in required",unsubscribeTokenExpired:"Unsubscribe token is expired",unsubscribeTokenInvalid:"Unsubscribe token is invalid"},router:{routerSetting:"Domains & URLs",certSetting:"SSL Certificates",defaultSite:"Default",urlHelperText:"URL that do not start with HTTP/HTTPS are considered relative paths",empty:"Click on Actions to setup URL Mapping",healthy:{ok:"Blocklet or service is running",error:"Blocklet or service is not running or not installed"},service:{select:"Select Blocklet Services (Optional)",what:"Blocklet Services are pipelines executed against the request before redirecting to upstream blocklet"},nonProvider:{title:"Engine Change Warning",description:"If you change engine to none, your current page may not work properly because the previous engine will be stopped, are you sure to continue?",confirm:"I understand, continue"},validation:{urlRequired:"URL is required",redirectCodeRequired:"Redirect code is required",didRequired:"Blocklet is required",pathPrefixTooLong:"The URL Prefix cannot exceed {length} characters",pathPrefixCannotBeEmpty:"The URL Prefix cannot be empty",domainRequired:"Server domain is required",invalidUrl:"Please provide a valid URL",pathPrefixRequired:"URL prefix is required",redirectUrlRequired:"Redirect URL is required",rewriteUrlRequired:"Rewrite URL is required"},domain:{addSite:"Add Site",validate:{emptyTip:"Site domain cannot be empty",suffixTip:"Site domain cannot include {suffix}"},add:{title:"Add Domain Name",description:"Please provide a valid domain name",confirm:"Add",cancel:"Cancel",blocklet:"Select Blocklet",redirect:"Where to redirect the traffic?",port:"What port does your request handler need to listen to?",portTip:"This defaults to the main port of request handler, you can customize this",type:"Traffic Handler",component:"Select Component",pageGroup:"Page Group",pageGroupTip:"This component can render any group of pages listed above, leave empty to render all pages"},update:{title:"Update Site Domain",label:"Site Domain",description:"Please provide a valid site domain"},setup:{tipStart:"Add the DNS records for the domain",tipEnd:"as per the following guidelines",recordType:"Record Type",recordValue:"Record Value"},verify:{ok:"The domain resolution is normal",notResolved:"This domain neither resolved nor accessible, please check your DNS configuration"},https:{ok:"This domain has https enabled",bad:"This domain has not enabled https"},delete:{title:"Delete Site",description:'By confirming, you will delete your existing "{name}" site. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your site',confirm_desc:"Please input {name} to confirm"}},domainAlias:{nftDomain:"Automatic config with DID Domain",showTipHint:"How do I configure domain name resolution?",add:{title:"Add Additional Domain",domainDescription:"Please provide a valid domain name",forceTip:"Force add if domain name already exists",helperText:"If an HTTP or HTTPS URL is entered, it will be automatically converted into a domain name.",isDidDomainError:"This domain is a DID Domain. Please add it using the method for automatic domain configuration."},addCustomDomain:{name:"Custom Domain"},addDomainNFT:{showNFT:"Configure domain automatically",tips:"You can enter a domain purchased from DID Domain. If a DID Domain is detected, you must present the DID Domain NFT to continue.",connect:{title:"Please show your Domain NFT",scan:"Scan following QR code with DID Wallet to authorize to blocklet to use your domain",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},buyTip:"DID Domain will do the domain name resolution automatically, no need to configure it manually, and the application will update the resolution record of the domain name automatically when needed. If your don't have DID Domain NFT yet, ",buy:"buy it now!"},delete:{title:"Delete",description:"After removing a domain alias, access to that alias may not be handled properly."}},domainSecurity:{title:"Domain Security",cors:{title:"Allowed CORS Domains",description:'Domain list that can send cross origin requests to {name}, comma separated, use "*" to allow anyone, which is not recommended',domainInvalid:"Please input a valid list of domain names"}},rule:{add:{title:"Add URL Mapping",confirm:"Add",pathPrefix:"What's the URL Prefix?",pathPrefixTip:"If you set prefix to '/my-prefix', then all requests that begins with that prefix will be routed to the configured blocklet",blocklet:"Which Blocklet will be handling those requests?",port:"Which port of the blocklet will be handling requests?",portTip:"This defaults to the main port of blocklet, if your blocklet listens on multiple ports, you can customize this",responseType:"Response Type",responseBody:"Response Content",responseBodyTip:"Paste your response content here, should not exceed 4096 characters",responseBodyRequired:"Response content can not be empty"},delete:{title:"Delete URL Mapping",description:'By confirming, you will delete your existing "{name}" URL Mapping. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your URL Mapping.',confirm_desc:"Please input {name} to delete",cancel:"Cancel"},update:{title:"Update URL Mapping",confirm:"Yes, Update",cancel:"Cancel"}},cert:{name:"Certificate Name",domain:"Domain Name",action:"Action",commonName:"Common Name",boundDomains:"Domains",source:"Source",expired:"Expired",leftDays:" days left",issuedOn:"Issued On",expiryOn:"Expiry On",fingerprintAlg:"Fingerprint Algorithm",validityPeriod:"Validity Period",matchedSites:"Matched Sites",upload:"Manual Upload",publicCertHelperText:"Public certificates can be downloaded",nonPublicCertHelperText:"Non-public certificates cannot be downloaded",protectedCertHelperText:"Protected certificates cannot be edited",unprotectedCertHelperText:"Unprotected certificates can be edited",issuing:"Certificate being generated",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"},table:{nodata:"No data"},delete:{title:"Delete Certificate",description:"Confirm delete certificate of domain {domain}? Deleting it may affect related services. Please confirm it's safe before proceeding with the deletion.",confirm:"Confirm"},nginx:{title:"Update Certificate",titleAdd:"Add Certificate",pem:"SSL Certificate File",pemTip:'Please drop your server certificate file here, it should ends with ".pem" or ".crt"',key:"Private Key File",keyTip:'Please drop your server private key file here, it should ends with ".pem" or ".key"',confirm:"Save",cancel:"Cancel",invalidFile:"You have selected an invalid file",empty:"No file selected yet",source:"Source",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"}},detail:{title:"Certificate Details"},genLetsEncryptCert:{title:"Generate Let's Encrypt certificate",dnsTip:"Please make sure the domain name has point to the current Blocklet Server.",description:"Adding a certificate will make the service more secure, and Blocklet Server will automatically renew the certificate before it expires."}},gateway:{reqLimit:{status:{true:"Enabled",false:"Disabled"},switchLabel:"Request Limit",rate:"Request Limit({rate} Request/Second)",ipHeaderLabel:"Customize client IP header(Optional)",ipHeaderDesc:"If the Blocklet Server is running behind some proxies, you can set the header of the client's real IP here. Optional, leave empty to use default."},cacheEnabled:{switchLabel:"Enable Gateway Cache"}}},noMatch:{desc:"We can't find the page that you're looking for"},health:{connectionErrorTip:"Blocklet Server can't connect to the network, please check if Blocklet Server has been stopped or there is a network issue",connectionRecoveryTip:"Blocklet Server connectivity has been recovered",connectionStoppedTip:"Blocklet Server has been stopped",wrongAccessUrlTip:"Blocklet Server access address is wrong, please use the correct access address"},debug:{title:"Your Blocklet Server is up and running!"},team:{add:"Add New",invite:{action:"Invite New",setting:"Invite Settings",enabled:"Allow any user to invite new user to this blocklet",disabled:"Only owner/admin can invite new user to this blocklet",inviter:"Invited By"},member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",openProfile:"View Profile",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",blockAccess:"Block Access",blockAccessDescription:"The user will not be able to connect to this application",allowAccess:"Allow Access",allowAccessDescription:"The user will be able to connect to this application",updateRole:"Update Role",removeUser:"Remove User",removeUserDescription:'Confirm remove user "{did}" and all its related data (connected accounts, passports, login sessions, etc.)? This action cannot be undone.',removeUserSuccess:"User removed successfully",revokePassport:"Revoke Passport",revokePassportDescription:"Once the passport is revoked, the passport holder can not use it to login again, are you sure to continue?",enablePassport:"Enable Passport",enablePassportDescription:"Once the revoked passport is enabled again, the passport holder can use it to login again, are you sure to continue?",passportPermissionTitle:"The passport has the following permissions:",search:"Search Member",onlyApprovedMember:"Show Approved Only",inviteDialog:{createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},error:{passportEmpty:"Passport should not be empty"},connectedAccounts:"Connected Accounts",connections:"Connections",federated:"Federated",switch:{did:"Switch DID",profile:"Switch Profile",passport:"Switch Passport"},settings:{notification:"Notifications",email:"Send email to me when some events happen",wallet:"Send notification to my wallet when some events happen",phone:"Send text message to me when some events happen",webhook:"Webhooks",add:"Add new webhook",url:"Custom URL",slack:"Slack Webhook",tested:"Test message sent"},activeUserSessions:"Active User Sessions",forceLogout:"Force logout",forceLogoutDescription:"Confirm to force logout this user?"},transferNode:{name:"Transfer Ownership",inviteDialog:{title:"Transfer Blocklet Server",tips:{progress:"Transfer the server needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the server with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and Blocklets.",revoke:'If you want to withdraw the transfer invitation, you can delete the invitation link in the "Team -> Members -> Inviting" page.'},createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},delegateDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize server to transfer server ownership NFT.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"}},transferApp:{name:"Transfer Ownership",transferDialog:{title:"Transfer Application",tips:{progress:"Transfer the application needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the application with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and settings."},createTransferLink:"Generate Transfer Link",createSuccessTip1:'The transfer link is successfully created, the invitee must use <a style="color: rgb(29, 193, 199)" target="_blank" href="https://www.didwallet.io/">DID Wallet</a> to receive the app ownership',createSuccessTip2:"Please click to copy and send the link to the invited member, please note that this transfer link can not be reused and will expire on {expireDate}. Your transfer link will only be shown once and will not be viewable again after closing this dialog",createSuccessTip3:"After the transfer is successful, the application will automatically restart to make the changes take effect",link:"Transfer Link",iKnow:"I have copied and saved the link"},connectDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize application to transfer ownership.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},receiveDialog:{title:"Receive Application Ownership",scan:"Scan following QR code with DID Wallet to receive the application ownership.",confirm:"Confirm on your DID Wallet",success:"Receive Ownership Successfully"},successTitle:"You have become the new owner of this application",visitDashboard:"Visit Application Dashboard"},permission:{create:{title:"Create Permission",description:`Format: <action>_<resource>
|
|
261
|
-
e.g. 'query_user', 'mutate_user'`},delete:{title:"Delete Permission",description:"Confirm delete {name}?"},error:{actionEmpty:"action cannot be empty",resourceEmpty:"resource cannot be empty",permissionTooLong:"permission cannot exceed {length} characters",descriptionTooLong:"description cannot exceed {length} characters"}},passport:{create:{title:"Create Passport",titleTip:"Title cannot be modified after created, recommended within 14 letters"},bind:{title:"Bind Permission",roleTip:"You will get all the permissions of the selected passport after binding",permissionTip:"You will get the selected permissions after binding",transferLeftTitle:"All permissions",transferRightTitle:"Granted permissions"},delete:{title:"Delete Passport",description:"The passports holds by user will lose all permissions after it is deleted. Are you sure to continue?"},error:{titleEmpty:"title cannot be empty",titleTooLong:"title cannot exceed {length} characters",descriptionEmpty:"description cannot be empty"},issuance:{pending:"Pending",create:{title:"Generate Link"},delete:{title:"Delete Receive Link",description:"Confirm delete {link}?"}},issue:"Issue Passport",disableIssuance:"Disable Passport Issuance",enableIssuance:"Enable Passport Issuance",disableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be disabled',enableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be enabled',trustedPassportIssuers:"Trusted Passport Issuers",trustedIssuers:"Trusted Issuers",trustedFactories:"Trusted NFT Collections",trustedFactoriesTip:"Manage trusted NFT Collections that can be used to exchange for a passport",searchFactoryAddress:"Search Collection DID",configFactories:"Config Trusted NFT Collections",configFactoriesTip:"Allow users to exchange NFTs for passport",factoryAddress:"NFT Collection Address",factory404:"NFT Collection not found",factoryAddressTip:"The NFT Collection address must exist on ArcBlock Main Chain",role:"Passport Type",ttl:"Passport Expire Policy",ttlNever:"Never Expire",ttlMint:"From NFT Purchase",ttlExchange:"From Passport Exchange",ttlNeverTip:"The passport will be valid until revoked",ttlMintTip:"The passport will be valid from the time the NFT is purchased until you specified ttl or revoke",ttlExchangeTip:"The passport will be valid from the time user successfully exchanged until you specified ttl or revoke",ttlTip:'"365d" means 365 days, you can also use "30 days" or "24h"',validUntil:"Valid until: {date}",externalPassport:"External Passport",notTrustedIssuerTip:"The passport cannot be used because the issuer is not on the list of trusted issuers",issuerDid:"Issuer DID",addNodeToTrustedIssuers:"Add current server as a trusted passport issuer",revoked:"Revoked",noPermission:"No permission to perform this operation",shouldNotDeleteCurrent:"You can not revoke your passport currently in use",mappingRule:"Mapping rule",defaultRule:"Default rule",search:"Search Passport",searchIssuerDid:"Search Issuer DID",issueBy:"Issue by {name}",configColor:"Config Passport Color",configColorTip:"Customize the color of the passport",color:"Passport Color",description:"Use this passport to connect {teamName} as {title}",displayBuiltin:"Builtin",displayCustom:"Custom",typesTip:"Customize the types of the passport, split by comma",issuanceDate:"Issuance Date: {date}"},inviting:{link:"Invite Link",inviter:"Inviter",delete:{title:"Delete Invite Link",description:"Confirm delete {link}?"},disabledTip:"Invitation is not enabled"},whoCanAccess:{all:{title:"Accessible to all"},owner:{title:"Owner only"},invited:{title:"Invited user only"}}},launcher:{provider:"Provider",adminUrl:"URL"},session:{blockAccess:"You have been blocked from access this server"},launchBlocklet:{appInfo:"Application Information",appInfoDesc:"Confirm the application information",author:"Application Author: {author}",setup:"Setup Blocklet",redirect:"Redirect",alreadyRunning:"Application {name} is already running on this Blocklet Server",alreadyInstalled:"Application {name} is already installed on this Blocklet Server",alreadyExists:"This application already exists, redirecting...",purchased:"Already Purchased",purchase:"Purchase",nextStep:"Next Step",agreement:"License Agreement",agreeAll:"Agree & Continue",installing:"Installing {appName} on {serverName}, it may take minutes to complete, please stay tuned...",redirecting:"{appName} is successfully installed, now starting...",start:"Launching",launch:"Install Blocklet to Server",launchSuccess:"{appName} is successfully launched!",installSuccess:"Blocklet is successfully installed and launched on {serverName}",openInRegistry:"View in Blocklet Store",subTitle:"Ready to install Blocklet {appName} on {serverName}",installingSubTitle:"{appName} installing",access:"Open the application",installRelatedComponents:"Install related Blocklets",viewApplication:"View Application",newVersion:"New Version",newVersionDesc:"The application already exists, but the current version can be upgraded",upgradeNow:"Upgrade Now",later:"Later",introduction:"Introduction",welcome:"Welcome to the Blocklet Launch Wizard",accept:"I agree to the Blocklet EULA",license:"Application License",next:"Agree to the EULA and continue",purchaseApp:"Purchase Blocklet",setupAppDesc:"Initialize your Blocklet",launched:"Complete",confirmInstall:"Confirm Installation",dialog:{title:"Become App Owner",nftFreeDescription:"Please present app space NFT and create app account to continue",nftPaidDescription:"Please present app space NFT and app purchase NFT to continue",freeDescription:"Please create app account to continue",paidDescription:"Please present app purchase NFT and create app account to continue",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully",authorizationTimeout:"Authorization timeout"},waiting:{verifying:"Verifying app meta...",downloading:"Downloading app bundle...",downloadingComponent:"Downloading {name}",extractingComponent:"Extracting {name}",extracting:"Extracting app bundle...",installing:"Installing app components...",installed:"Installed",starting:"Starting the app...",done:"Waiting for app ready..."},error:{loadMetaFailed:"Load app information failed",appMetaNotFound:"No information found for this app",downloadFailed:"Failed to download the app, please try again",installFailed:"Failed to install the app, please try again",startFailed:"Failed to start the app, please try again",launchFailed:"Failed to launch the app, please try again",installedButStopped:"The app is installed successfully, but cannot be started. You can start it manually after resolving blocking issues",installedButError:"The app is successfully installed, but failed to start",restoreFailed:"Failed to restore app, please try again",resourceBlocklet:"This blocklet cannot be launched directly, but you can add it into existing application."},steps:{introduction:"Introduction",installApp:"Install Application",purchaseSpace:"Purchase Space",prepareSpace:"Prepare Space"}},issuePassport:{title:"Receive Passport",description:"Use DID Wallet to receive the passport issued by {name}",dialog:{scan:"Use your DID Wallet to claim the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet",loginWithPassport:"Connect with this Passport",autoClose:"Page will auto close in {seconds}s",autoJump:"Page will auto jump in {seconds}s"}},lostPassport:{title:"Lost Passport",description:"The owner of {name} can scan the QR code to retrieve the passport, members please contact the owner to reissue the passport",dialog:{title:"Recover Passport",scan:"Use your DID Wallet to recover the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet"},return:"Connect with passport",selectPassport:"Select passport",receivePassport:"Receive passport"},invite:{message:"{name} invite you to be the {role} of {dapp}",success:"You have successfully joined {dapp}",receive:"Receive with",validUntil:"Valid until:",viewPermission:"View Permission",emptyPermission:"Empty Permission",open:"Open",description:{step1:"Download and setup your {wallet}",step2:"Click above button to receive passport",step3:"Login in {dapp} with received passport"},transferNFTDialog:{title:"Accept Blocklet Server {name}",scan:"Connect the Launcher to complete the reception of the Blocklet Server.",confirm:"Review this operation on your DID Wallet",success:"Connect successfully, waiting for confirmation of receiving the Server"}},receive:{dialog:{title:"Use your DID Wallet to receive passport",scan:"Connect your DID Wallet to receive passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},navigation:{navigation:"Navigation",access:"Access",members:"Members",passport:"Passport",analytics:"Analytics",dashboard:"Dashboard",studio:"Studio",blockletService:"Blocklet Service",actionFailed:"Action Failed",form:{title:"Title",titlePlaceholder:"Please input navigation title",titleTooLong:"Title length should small than {len}",icon:"Navigation Icon",iconPlaceholder:"Please input navigation icon",invalidIcon:"Icon is invalid",findMoreIcon:"Find more icons",link:"Link",linkPlaceholder:"Please input navigation link",invalidLink:"Link is invalid",component:"Component",componentPlaceholder:"Please select navigation component",role:"Role",rolePlaceholder:"Please select navigation role",locale:"Locale",localePlaceholder:"Please input locale need to add",localeExists:"{value} is already exists"},action:{add:"Add navigation",addSub:"Add sub navigation",edit:"Edit navigation",hide:"Hide navigation",show:"Show navigation",del:"Delete navigation",new:"New",noAddSub:"Uninstalled component can't add sub navigation",noEdit:"Uninstalled component can't edit",noDel:"Not allowed delete built-in navigation",reset:"Reset",restConfirmTitle:"Do you want to clear all custom navigation?",restConfirmDesc:"After clearing, the navigation will be restored to Blocklet's original default configuration.",resetSuccessful:"Reset successful"}},storage:{spaces:{title:"DID Spaces",tips:"Tips",label:"Enter DID Spaces Gateway",connected:{title:"Connected DID Spaces",tag:"Connected"},connectedWithName:"You have successfully connected to {name}",addedWithName:"You have successfully added {name}",connects:"Connect",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"},provideNFT:{title:"Please show the DID Spaces NFT for {appName}",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} show DID space NFT",success:"Connected successfully"},backup:{title:"Backup",records:"Backup Records"},autoBackup:{title:"Auto backup",enabled:"Automatic backup is on",disabled:"Automatic backup is off"},autoCheckUpdate:{title:"Automatically check for new version notification",enabled:"Automatically check for new version is on",disabled:"Automatically check for new version is off"},backupSuccessfully:"Backup successfully",restore:"Restore",restoreSuccessfully:"Restore successfully",gateway:{title:"Gateway",select:"Select a DID Spaces",add:{title:"Add DID Spaces",label:"Enter the url of the DID Spaces",failed:"Add DID Spaces failed",invalidUrl:"Invalid DID Spaces gateway url",duplicate:"DID Space({name}) already exist"},delete:{title:"Delete gateway",succeeded:"Delete DID Spaces{name} Success",failed:"Delete gateway failed",failedForSelected:"Unable to delete a selected DID Spaces"},connect:{title:"Connect DID Spaces",add:"Connect to DID Spaces now",addTips:"You are not connected to any Space yet",switch:"Switch DID Spaces",switchTips:"You are connected to {name}",connected:"Connected"},switch:{failedForMismatchSpace:"Please connect to the correct Space{name}"},connectTo:"Connect to DID Spaces"},strategy:{title:"Backup Strategy",autoBackup:"Auto backup",backupNow:"Backup now",viewBackupFiles:"View backup files"},progress:{title:"Backup progress"},record:{title:"Backup records",emptyData:"No records"},notYet:"You don't have a backup in progress yet...",connect:{now:"Connect now",title:"Connect DID Spaces",provider:"Provide your DID Spaces to start backups",providerForStorage:"Provide your DID space for data storage",useWallet:"Connect with DID Wallet",useWalletReconnect:"Reconnect with DID Wallet",useSpaceGateway:"Connect using the DID Spaces gateway",useSpaceGatewayReconnect:"Reconnect using the DID Spaces gateway",switchToSpace:"Switch to Space",switchToSpaceSucceeded:"Switched to Space{name}",succeeded:"You have successfully connected to DID Spaces",disconnect:"disconnect"},disconnected:{tag:"Disconnected",reconnectNow:"Reconnect Now"}},appLevel:{title:"App Level Storage",description:"All data generated by the application is stored on this DID Space"}},log:{lastDays:{1:"Last 1 Day",7:"Last 1 Week"}},oauth:{commonSettings:"Common Settings",save:"Save",saveSuccess:"Save successfully",saveFailed:"Save failed",issued:"Issued",thirdPartyLogin:"Third party login",alreadyBindOAuth:"Already bind third party login",alreadyBindWallet:"Already bind DID Wallet",auth0:{enable:"Enable Auth0 login",domain:"Domain",domainDescription:"Auth0's domain is required",clientId:"Client ID",clientIdDescription:"Auth0 OAuth application client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Auth0 OAuth application Client Secret is required"},github:{enable:"Enable Github login",clientId:"Client ID",clientIdDescription:"Github OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Github OAuth application Client Secret is required"},google:{enable:"Enable Google login",clientId:"Client ID",clientIdDescription:"Google OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Google OAuth application Client Secret is required"},apple:{enable:"Enable Apple login",teamId:"Team ID",teamIdDescription:"Apple OAuth application Team ID is required",serviceId:"Service ID",serviceIdDescription:"Apple OAuth application Service ID is required",keyId:"Key ID",keyIdDescription:"Apple OAuth application Key ID is required",authKey:"Auth Key",authKeyDescription:"Apple OAuth application Auth Key is required",bundleId:"Bundle ID",bundleIdDescription:"Apple OAuth application Bundle ID is required"},comingSoon:"More login methods are under construction",moreLogin:"More Login",federated:"Federated Login",oauth:"Third Party Login",runTest:"Test"},expiration:{mobile:{tips:{success:"{validity}",warning:"{validity}",error:"Expired"},loadFailed:"Retry!"},desktop:{tips:{success:"Subscription will expire after {validity}",warning:"Subscription will expire after {validity}",error:"Subscription Expired"},loading:"Load subscription...",loadFailed:"Failed to load subscription info, please retry!",nextInvoice:"Next Invoice: {date}"}},analytics:{trend:"Trends",detail:"Breakdown",runtime:"Runtime",traffic:{totalRequests:"Total Requests",validRequests:"Success Requests",failedRequests:"Failed Requests",uniqueVisitors:"Unique Visitors",uniqueFiles:"Unique URLs",uniqueReferrers:"Unique Referrers",uniqueNotFound:"Unique 404",uniqueStaticFiles:"Unique Static Files",logSize:"Log Size",bandwidth:"Bandwidth"}},federated:{inviteJoinFederatedLogin:"Invite to join federated login",inviteJoinFederatedLoginDescription:"Copy the following address and fill it in the application where you need to join to apply for federated login.",federatedLogin:"Federated login",joinFederatedLogin:"Join federated login",joinFederatedLoginDescription:"Please enter the federated login address provided by Master Blocklet to join the federated login",quitFederatedLogin:"Quit federated login",quitFederatedLoginDescription:"After quit federated login, normal login is always available",federatedJoinAppUrl:"Federated login join appUrl",federatedJoinAppUrlRequired:"Please input federated login join appUrl",failedToGetFederatedLoginAppUrl:"Failed to get federated login join appUrl",federatedJoinAppUrlInvalid:"Federated login appUrl is invalid",siteDetail:"Site detail",approveToJoinLogin:"Approve to join federated login",approve:"Enable login",revoke:"Disable login",enableFederatedLogin:"Enable federated login",disableFederatedLogin:"Disable federated login",enableFederatedLoginDescription:"After enable federated login, this site will be auto login",disableFederatedLoginDescription:"After disable federated login, this site will not be auto login",enableFederatedAutoLogin:"Enable automatic login",enableFederatedAutoLoginDescription:"After enable automatic login, if there is currently a unified login status, the site will automatically log in the identity of the federated login",disableFederatedAutoLogin:"Disable automatic login",disableFederatedAutoLoginDescription:"After the automatic login is turned off, the site will not automatically log in the user information of the unified login, and you can still choose to manually click to log in with the identity of the federated login",info:{appId:"APP DID",appPid:"Permanent ID",migratedFrom:"Also Known As",appName:"Blocklet name",appDescription:"Blocklet description",appUrl:"Blocklet url",appLogo:"Blocklet logo",did:"Blocklet DID",serverId:"Blocklet Server ID",serverVersion:"Blocklet Server version",version:"Blocklet version",appliedAt:"Apply at",status:"Status"},status:{pending:"Pending",approved:"Approved",rejected:"Rejected",revoked:"Revoked"},disbandFederatedLogin:"Disband federated login",disbandFederatedLoginDescription:"After disband federated login, all member site will quit federated login automatically"},optionsOrder:{1:"Option One",2:"Option Two"},securityRule:{title:"Security Rule",sortByDescription:"Sort by matching priority",add:"Add Security Rule",edit:"Edit Security Rule",view:"View Security Rule",form:{precede:"Precede",pathPattern:"Path Pattern",pathPatternPlaceholder:"Please input path pattern",pathPatternErrorText:"Path pattern is invalid",accessPolicyOrResponseHeaderPolicyRequired:"Access Policy or Response Header Policy is required",accessPolicy:"Access Policy",accessPolicyPlaceholder:"Please select access policy",accessPolicyHelperText:"Please select access policy",responseHeaderPolicy:"Response Header Policy",responseHeaderPolicyPlaceholder:"Please select response header policy",responseHeaderPolicyHelperText:"Please select response header policy",remark:"Remark",remarkPlaceholder:"Please input remark",component:"Component",componentPlaceholder:"Please choose component"},delete:{title:"Delete Security Rule ?",description:"After removing a security rule, the rule will no longer take effect"}},responseHeaderPolicy:{title:"Response Header Policy",add:"Add Response Header Policy",edit:"Edit Response Header Policy",view:"View Response Header Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",originOverride:"Origin Override",originOverrideHelperText:"Whether to allow the logic in the application to override this response header",cors:{origin:"Origin",originPlaceholder:"Support the following domain formats: http://www.example.com, http://*.example.com, http://www.example.com:8080, * (wildcard is not recommended)",originHelperText:"Domain name starts with http:// or https://, one per line, one wildcard * per line",methods:"Methods",allowedHeaders:"Allowed Headers",allowedHeadersPlaceholder:"It's recommended to fill in *, support multi-line input",allowedHeadersHelperText:"Tell the server which custom HTTP request headers can be used in the next request when sending an OPTIONS request, such as: x-blocklet-version",exposedHeaders:"Exposed Headers",exposedHeadersPlaceholder:"Support multi-line input",exposedHeadersHelperText:"Configure Expose-Headers, for example: X-Content-Range",maxAge:"Max-Age (Seconds)",maxAgeHelperText:"The validity period of the result obtained by the OPTIONS request, which needs to be a positive integer",optionsSuccessStatus:"Options Success Status",preflightContinue:"Preflight Continue",credentials:"Credentials",smartMode:"Smart Mode",smartModeHelperText:"Automatically add all domain names of the current application, as well as all domain names of the federated login site group"}},delete:{title:"Delete Response Header Policy ?",description:"After removing a response header policy, the policy will no longer take effect"}},accessPolicy:{title:"Access Policy",add:"Add Access Policy",edit:"Edit Access Policy",view:"View Access Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",roles:"Access Roles",accessType:"Access type"},delete:{title:"Delete Access Policy ?",description:"After removing an access policy, the policy will no longer take effect"}}},en={pageTitle:{login:"Login",dashboard:"Blocklet Dashboard",userCenter:"User Center",invite:"Invite",issuePassport:"Issue Passport",lostPassport:"Lost Passport"},auth:{noPermission:{title:"No Permission",description:"You are not the administrator of the blocklet"}},login:{reLogin:"Reconnect",description:"You must connect your DID Wallet to access {name}",already:"You are connected as",connectWallet:"Connect DID Wallet",closeWindow:"Close window",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to access this application",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"},accessLimit:{title:"Page access restricted ",description:"This page requires the following passports to access, please connect to the wallet to change or apply for the corresponding pass.",alreadyHavePassport:"Already have the passport",connectWithPassport:"Connect with this passport",buyPassport:"buyPassport"},connectWithPassport:"Connect with this passport",needManualClose:"Login success, if this window is not auto closed, please close it.",invalidRedirectUrl:"Invalid redirect url",invalidOpenerUrl:"Invalid opener url",issueKyc:{verifyTitle:"Verify Your Email Address",issueTitle:"Claim Email Verification NFT",verifyAction:"verifying",issueAction:"claiming",emailPlaceholder:"Your email address",pageDescription:"Complete the verification to secure your account and get a reusable NFT, which can be trusted by other sites (verify once and present everywhere).",issueTarget:"You are {action} for the following DID, click the avatar to add another DID",verifyButton:"Verify",sendCodeButton:"Get Verify Code",codeSentMessage:"We just sent a verification code to {email}, the code will be valid for 30 minutes, please check your inbox or spam folder.",codeSentSuccess:"Verification code sent successfully",claim:"Claim Email Verification NFT",scan:"Connect your DID Wallet to receive the NFT",confirm:"Confirm on your DID Wallet",success:"Congratulations! You have successfully verified your email and claimed the NFT in your DID Wallet.",backToHome:"Back to Home"},updateKyc:{button:"Present NFT",title:"Present Your Email Verification NFT",scan:"Connect your DID Wallet to present the NFT",confirm:"Confirm on your DID Wallet",success:"Congratulations! You NFT is verified and accepted."}},studio:{home:"Studio",preferences:"Preference Builder",branding:"Branding Images",localization:"Localization",ratio:"Ratio",size:"Size",count:"Count",tip:"Tip",change:"Click the logo to change.",order:"Order",orderTip:"drag to change",orderTipLong:"drag to change, if you deleted any screenshot on the disk, please refresh the page."},blocklet:{startApplication:"Start Application",startDescription:"Ready to start {name}",start:"Start",starting:"Starting...",open:"Open",suspended:"Application suspended",terminated:"Application terminated",suspendedCausedByExpired:"This application has been suspended due to payment expiration. Please renew before the {deadline} to resume. Failure to renew within the specified timeframe will result in the inability to renew or resume.",suspendedCausedByTerminated:"The application was terminated due to the cancellation of the subscription, which was canceled on {canceledAt}, and the data will be retained until {deadline}; before the data is deleted, you can back up the data to DID Spaces.",manageSubscription:"Manage Subscription"},setup:{steps:{connect:"Connect",didSpace:"DID Spaces",config:"Configuration",domain:"Domain",access:"Access Control",fuel:"Fuel",complete:"Complete",introduction:"Introduction",selectNodeDesc:"Select Blocklet Server",launchAppDesc:"Install Blocklet to Server",setupAppDesc:"Setup Blocklet",launched:"Complete"},connect:{title:"Connect to Application",scan:"Connect your DID Wallet to provide user profile and the blocklet's Owner privileges, then you can configure and launch the app.",confirm:"Confirm on your DID Wallet",success:"You are connected successfully"},domain:{addTitle:"Add a new domain name (Optional)",title:"Domain Setting",subTitle:"Set a custom domain for the application",label:"Please provide a valid domain name",tipStart:"Please make sure",tipEnd:"has point to the current Server",cannotResolve:"{domain} can not be resolved, please check your DNS configuration",checkingResolvable:"Checking domain status...",addingCert:"Generating certificate...",addingDomain:"Adding domain...",recordType:"Record Type",recordValue:"Record Value",skipStart:"You can",skip:"skip custom domain setting",skipEnd:"and use the default domain to access the application",genCertSuccess:"The {domain} certificate is issued successfully",genCertFailed:"Failed to issue certificate for {domain}: {message}",genCertFailedForNFTDomain:"Added NFT domain successfully, but failed to generate HTTPS certificate, please try again later",resolvedAddressError:"{domain} does not point to the same IP address as {curDomain}",invalidDNSReminder:"{error}. However, you can continue to add the domain, but automatic certificate generation is not available.",continueAdd:"Continue Adding"},didSpace:{title:"Configure DID Spaces",subTitle:"Complete the following connection process to store application data in DID Spaces",tips:"Tips",description:"Configure the DID Spaces instance address and store the application data in DID Spaces after a successful connection",label:"Please select the DID Spaces service",connected:"You have successfully connected to DID Spaces",connect:"Connect Now",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"}},config:{title:"Configuration",subTitle:"Other configuration items (you will also need to set the following items)"},complete:{title:"Everything is Ready",failedTitle:"Failed to start Blocklet",backToServer:"Back to Blocklet Server",notRunning:"Blocklet failed to start on the first shot, please retry"},fuel:{title:"Fuel required to start",tipStart:"slot",tipEnd:" is required for this application to work properly, the fund are saved in the application wallet and can consumed for transaction gas purpose. You can withdraw your balance at any time when you no longer have the app running.",addressTitle:"Application Account",addressTip:"Fuel the application with DID Wallet",need:"Need",current:"Current",fuelApp:"Fuel the application"},title:"Setup",next:"Next",previous:"Previous",continue:"Continue",skip:"Skip",startNow:"Start Now",confirm:"Confirm",cancel:"Cancel"},user:{walletNotification:"DID Wallet notification",emailNotification:"Email notification",smsNotification:"SMS notification",addWebhook:"Add New Webhook"}},translations$9={en:Ie(merge$2(en$1,en)),ar:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ar-IGiynOFu.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ar-DVPUxrdQ.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},de:async()=>{const a=await Promise.all([__vitePreload(()=>import("./de-C5dj0Xqf.js"),[]).then(j=>j.default),__vitePreload(()=>import("./de-DVXfDFSU.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},es:async()=>{const a=await Promise.all([__vitePreload(()=>import("./es-CtZrebqK.js"),[]).then(j=>j.default),__vitePreload(()=>import("./es-FbTZG3DY.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},fr:async()=>{const a=await Promise.all([__vitePreload(()=>import("./fr-AxDVLuWz.js"),[]).then(j=>j.default),__vitePreload(()=>import("./fr-DL1YXCMM.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},hi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./hi-RUZ0vBCk.js"),[]).then(j=>j.default),__vitePreload(()=>import("./hi-DVTVHQJG.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},id:async()=>{const a=await Promise.all([__vitePreload(()=>import("./id-DsdmMEGZ.js"),[]).then(j=>j.default),__vitePreload(()=>import("./id-CjJaQtmp.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},ja:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ja-DTDtkp5G.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ja-D5d-ejt-.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},ko:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ko-DgLbeBNo.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ko-KSOTEFlZ.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},pt:async()=>{const a=await Promise.all([__vitePreload(()=>import("./pt-CZCvruh-.js"),[]).then(j=>j.default),__vitePreload(()=>import("./pt-CZUQ83t-.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},ru:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ru-D_KkTcPZ.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ru-BowhhxB9.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},th:async()=>{const a=await Promise.all([__vitePreload(()=>import("./th-2G8RPPGN.js"),[]).then(j=>j.default),__vitePreload(()=>import("./th-G7hcFvcB.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},vi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./vi-Bj0Zh1pF.js"),[]).then(j=>j.default),__vitePreload(()=>import("./vi-DwM1n61y.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},zh:async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-B7Ba_Kee.js"),[]).then(j=>j.default),__vitePreload(()=>import("./zh-4Fb8w10J.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},"zh-TW":async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-tw-ChudOecJ.js"),[]).then(j=>j.default),__vitePreload(()=>import("./zh-tw-BMZcmOgr.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))}};function arrayEach$1(a,j){for(var _e=-1,et=a==null?0:a.length;++_e<et&&j(a[_e],_e,a)!==!1;);return a}var _arrayEach=arrayEach$1,overArg=_overArg,nativeKeys$1=overArg(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$1=_isPrototype,nativeKeys=_nativeKeys,objectProto$7=Object.prototype,hasOwnProperty$b=objectProto$7.hasOwnProperty;function baseKeys$2(a){if(!isPrototype$1(a))return nativeKeys(a);var j=[];for(var _e in Object(a))hasOwnProperty$b.call(a,_e)&&_e!="constructor"&&j.push(_e);return j}var _baseKeys=baseKeys$2,arrayLikeKeys=_arrayLikeKeys,baseKeys$1=_baseKeys,isArrayLike$3=isArrayLike_1;function keys$6(a){return isArrayLike$3(a)?arrayLikeKeys(a):baseKeys$1(a)}var keys_1=keys$6,copyObject$4=_copyObject,keys$5=keys_1;function baseAssign$1(a,j){return a&©Object$4(j,keys$5(j),a)}var _baseAssign=baseAssign$1,copyObject$3=_copyObject,keysIn$2=keysIn_1;function baseAssignIn$1(a,j){return a&©Object$3(j,keysIn$2(j),a)}var _baseAssignIn=baseAssignIn$1;function arrayFilter$1(a,j){for(var _e=-1,et=a==null?0:a.length,nt=0,tt=[];++_e<et;){var ot=a[_e];j(ot,_e,a)&&(tt[nt++]=ot)}return tt}var _arrayFilter=arrayFilter$1;function stubArray$2(){return[]}var stubArray_1=stubArray$2,arrayFilter=_arrayFilter,stubArray$1=stubArray_1,objectProto$6=Object.prototype,propertyIsEnumerable=objectProto$6.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols$3=nativeGetSymbols$1?function(a){return a==null?[]:(a=Object(a),arrayFilter(nativeGetSymbols$1(a),function(j){return propertyIsEnumerable.call(a,j)}))}:stubArray$1,_getSymbols=getSymbols$3,copyObject$2=_copyObject,getSymbols$2=_getSymbols;function copySymbols$1(a,j){return copyObject$2(a,getSymbols$2(a),j)}var _copySymbols=copySymbols$1;function arrayPush$3(a,j){for(var _e=-1,et=j.length,nt=a.length;++_e<et;)a[nt+_e]=j[_e];return a}var _arrayPush=arrayPush$3,arrayPush$2=_arrayPush,getPrototype=_getPrototype,getSymbols$1=_getSymbols,stubArray=stubArray_1,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn$2=nativeGetSymbols?function(a){for(var j=[];a;)arrayPush$2(j,getSymbols$1(a)),a=getPrototype(a);return j}:stubArray,_getSymbolsIn=getSymbolsIn$2,copyObject$1=_copyObject,getSymbolsIn$1=_getSymbolsIn;function copySymbolsIn$1(a,j){return copyObject$1(a,getSymbolsIn$1(a),j)}var _copySymbolsIn=copySymbolsIn$1,arrayPush$1=_arrayPush,isArray$e=isArray_1;function baseGetAllKeys$2(a,j,_e){var et=j(a);return isArray$e(a)?et:arrayPush$1(et,_e(a))}var _baseGetAllKeys=baseGetAllKeys$2,baseGetAllKeys$1=_baseGetAllKeys,getSymbols=_getSymbols,keys$4=keys_1;function getAllKeys$2(a){return baseGetAllKeys$1(a,keys$4,getSymbols)}var _getAllKeys=getAllKeys$2,baseGetAllKeys=_baseGetAllKeys,getSymbolsIn=_getSymbolsIn,keysIn$1=keysIn_1;function getAllKeysIn$3(a){return baseGetAllKeys(a,keysIn$1,getSymbolsIn)}var _getAllKeysIn=getAllKeysIn$3,getNative$5=_getNative,root$7=_root,DataView$2=getNative$5(root$7,"DataView"),_DataView=DataView$2,getNative$4=_getNative,root$6=_root,Promise$2=getNative$4(root$6,"Promise"),_Promise=Promise$2,getNative$3=_getNative,root$5=_root,Set$3=getNative$3(root$5,"Set"),_Set=Set$3,getNative$2=_getNative,root$4=_root,WeakMap$4=getNative$2(root$4,"WeakMap"),_WeakMap=WeakMap$4,DataView$1=_DataView,Map$3=_Map,Promise$1=_Promise,Set$2=_Set,WeakMap$3=_WeakMap,baseGetTag$3=_baseGetTag,toSource$2=_toSource,mapTag$5="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$5="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource$2(DataView$1),mapCtorString=toSource$2(Map$3),promiseCtorString=toSource$2(Promise$1),setCtorString=toSource$2(Set$2),weakMapCtorString=toSource$2(WeakMap$3),getTag$5=baseGetTag$3;(DataView$1&&getTag$5(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$3&&getTag$5(new Map$3)!=mapTag$5||Promise$1&&getTag$5(Promise$1.resolve())!=promiseTag||Set$2&&getTag$5(new Set$2)!=setTag$5||WeakMap$3&&getTag$5(new WeakMap$3)!=weakMapTag$1)&&(getTag$5=function(a){var j=baseGetTag$3(a),_e=j==objectTag$2?a.constructor:void 0,et=_e?toSource$2(_e):"";if(et)switch(et){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$5;case promiseCtorString:return promiseTag;case setCtorString:return setTag$5;case weakMapCtorString:return weakMapTag$1}return j});var _getTag=getTag$5,objectProto$5=Object.prototype,hasOwnProperty$a=objectProto$5.hasOwnProperty;function initCloneArray$1(a){var j=a.length,_e=new a.constructor(j);return j&&typeof a[0]=="string"&&hasOwnProperty$a.call(a,"index")&&(_e.index=a.index,_e.input=a.input),_e}var _initCloneArray=initCloneArray$1,cloneArrayBuffer$1=_cloneArrayBuffer;function cloneDataView$1(a,j){var _e=j?cloneArrayBuffer$1(a.buffer):a.buffer;return new a.constructor(_e,a.byteOffset,a.byteLength)}var _cloneDataView=cloneDataView$1,reFlags=/\w*$/;function cloneRegExp$1(a){var j=new a.constructor(a.source,reFlags.exec(a));return j.lastIndex=a.lastIndex,j}var _cloneRegExp=cloneRegExp$1,Symbol$6=_Symbol,symbolProto$3=Symbol$6?Symbol$6.prototype:void 0,symbolValueOf$1=symbolProto$3?symbolProto$3.valueOf:void 0;function cloneSymbol$1(a){return symbolValueOf$1?Object(symbolValueOf$1.call(a)):{}}var _cloneSymbol=cloneSymbol$1,cloneArrayBuffer=_cloneArrayBuffer,cloneDataView=_cloneDataView,cloneRegExp=_cloneRegExp,cloneSymbol=_cloneSymbol,cloneTypedArray=_cloneTypedArray,boolTag$3="[object Boolean]",dateTag$2="[object Date]",mapTag$4="[object Map]",numberTag$3="[object Number]",regexpTag$2="[object RegExp]",setTag$4="[object Set]",stringTag$3="[object String]",symbolTag$4="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag$1(a,j,_e){var et=a.constructor;switch(j){case arrayBufferTag$2:return cloneArrayBuffer(a);case boolTag$3:case dateTag$2:return new et(+a);case dataViewTag$2:return cloneDataView(a,_e);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(a,_e);case mapTag$4:return new et;case numberTag$3:case stringTag$3:return new et(a);case regexpTag$2:return cloneRegExp(a);case setTag$4:return new et;case symbolTag$4:return cloneSymbol(a)}}var _initCloneByTag=initCloneByTag$1,getTag$4=_getTag,isObjectLike$8=isObjectLike_1,mapTag$3="[object Map]";function baseIsMap$1(a){return isObjectLike$8(a)&&getTag$4(a)==mapTag$3}var _baseIsMap=baseIsMap$1,baseIsMap=_baseIsMap,baseUnary$3=_baseUnary,nodeUtil$1=_nodeUtilExports,nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap$1=nodeIsMap?baseUnary$3(nodeIsMap):baseIsMap,isMap_1=isMap$1,getTag$3=_getTag,isObjectLike$7=isObjectLike_1,setTag$3="[object Set]";function baseIsSet$1(a){return isObjectLike$7(a)&&getTag$3(a)==setTag$3}var _baseIsSet=baseIsSet$1,baseIsSet=_baseIsSet,baseUnary$2=_baseUnary,nodeUtil=_nodeUtilExports,nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet$1=nodeIsSet?baseUnary$2(nodeIsSet):baseIsSet,isSet_1=isSet$1,Stack$2=_Stack,arrayEach=_arrayEach,assignValue$2=_assignValue,baseAssign=_baseAssign,baseAssignIn=_baseAssignIn,cloneBuffer=_cloneBufferExports,copyArray=_copyArray,copySymbols=_copySymbols,copySymbolsIn=_copySymbolsIn,getAllKeys$1=_getAllKeys,getAllKeysIn$2=_getAllKeysIn,getTag$2=_getTag,initCloneArray=_initCloneArray,initCloneByTag=_initCloneByTag,initCloneObject=_initCloneObject,isArray$d=isArray_1,isBuffer$3=isBufferExports,isMap=isMap_1,isObject$f=isObject_1,isSet=isSet_1,keys$3=keys_1,keysIn=keysIn_1,CLONE_DEEP_FLAG$2=1,CLONE_FLAT_FLAG$1=2,CLONE_SYMBOLS_FLAG$2=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$2="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag$2="[object Function]",genTag$2="[object GeneratorFunction]",mapTag$2="[object Map]",numberTag$2="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$2="[object String]",symbolTag$3="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$2]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$2]=cloneableTags[numberTag$2]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$2]=cloneableTags[stringTag$2]=cloneableTags[symbolTag$3]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag$2]=cloneableTags[weakMapTag]=!1;function baseClone$2(a,j,_e,et,nt,tt){var ot,ct=j&CLONE_DEEP_FLAG$2,ft=j&CLONE_FLAT_FLAG$1,ht=j&CLONE_SYMBOLS_FLAG$2;if(_e&&(ot=nt?_e(a,et,nt,tt):_e(a)),ot!==void 0)return ot;if(!isObject$f(a))return a;var dt=isArray$d(a);if(dt){if(ot=initCloneArray(a),!ct)return copyArray(a,ot)}else{var vt=getTag$2(a),$t=vt==funcTag$2||vt==genTag$2;if(isBuffer$3(a))return cloneBuffer(a,ct);if(vt==objectTag$1||vt==argsTag$1||$t&&!nt){if(ot=ft||$t?{}:initCloneObject(a),!ct)return ft?copySymbolsIn(a,baseAssignIn(ot,a)):copySymbols(a,baseAssign(ot,a))}else{if(!cloneableTags[vt])return nt?a:{};ot=initCloneByTag(a,vt,ct)}}tt||(tt=new Stack$2);var xt=tt.get(a);if(xt)return xt;tt.set(a,ot),isSet(a)?a.forEach(function(Ct){ot.add(baseClone$2(Ct,j,_e,Ct,a,tt))}):isMap(a)&&a.forEach(function(Ct,Rt){ot.set(Rt,baseClone$2(Ct,j,_e,Rt,a,tt))});var At=ht?ft?getAllKeysIn$2:getAllKeys$1:ft?keysIn:keys$3,wt=dt?void 0:At(a);return arrayEach(wt||a,function(Ct,Rt){wt&&(Rt=Ct,Ct=a[Rt]),assignValue$2(ot,Rt,baseClone$2(Ct,j,_e,Rt,a,tt))}),ot}var _baseClone=baseClone$2;function last$2(a){var j=a==null?0:a.length;return j?a[j-1]:void 0}var last_1=last$2,baseGet$4=_baseGet,baseSlice=_baseSlice;function parent$1(a,j){return j.length<2?a:baseGet$4(a,baseSlice(j,0,-1))}var _parent=parent$1,castPath$6=_castPath,last$1=last_1,parent=_parent,toKey$6=_toKey;function baseUnset$1(a,j){return j=castPath$6(j,a),a=parent(a,j),a==null||delete a[toKey$6(last$1(j))]}var _baseUnset=baseUnset$1,isPlainObject$1=isPlainObject_1;function customOmitClone$1(a){return isPlainObject$1(a)?void 0:a}var _customOmitClone=customOmitClone$1,Symbol$5=_Symbol,isArguments$4=isArguments_1,isArray$c=isArray_1,spreadableSymbol=Symbol$5?Symbol$5.isConcatSpreadable:void 0;function isFlattenable$1(a){return isArray$c(a)||isArguments$4(a)||!!(spreadableSymbol&&a&&a[spreadableSymbol])}var _isFlattenable=isFlattenable$1,arrayPush=_arrayPush,isFlattenable=_isFlattenable;function baseFlatten$3(a,j,_e,et,nt){var tt=-1,ot=a.length;for(_e||(_e=isFlattenable),nt||(nt=[]);++tt<ot;){var ct=a[tt];j>0&&_e(ct)?j>1?baseFlatten$3(ct,j-1,_e,et,nt):arrayPush(nt,ct):et||(nt[nt.length]=ct)}return nt}var _baseFlatten=baseFlatten$3,baseFlatten$2=_baseFlatten;function flatten$2(a){var j=a==null?0:a.length;return j?baseFlatten$2(a,1):[]}var flatten_1=flatten$2;const flatten$3=getDefaultExportFromCjs$1(flatten_1);var flatten$1=flatten_1,overRest=_overRest,setToString=_setToString;function flatRest$2(a){return setToString(overRest(a,void 0,flatten$1),a+"")}var _flatRest=flatRest$2,arrayMap$4=_arrayMap,baseClone$1=_baseClone,baseUnset=_baseUnset,castPath$5=_castPath,copyObject=_copyObject,customOmitClone=_customOmitClone,flatRest$1=_flatRest,getAllKeysIn$1=_getAllKeysIn,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,omit=flatRest$1(function(a,j){var _e={};if(a==null)return _e;var et=!1;j=arrayMap$4(j,function(tt){return tt=castPath$5(tt,a),et||(et=tt.length>1),tt}),copyObject(a,getAllKeysIn$1(a),_e),et&&(_e=baseClone$1(_e,CLONE_DEEP_FLAG$1|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG$1,customOmitClone));for(var nt=j.length;nt--;)baseUnset(_e,j[nt]);return _e}),omit_1=omit;const omit$1=getDefaultExportFromCjs$1(omit_1);var assignValue$1=_assignValue,castPath$4=_castPath,isIndex$2=_isIndex,isObject$e=isObject_1,toKey$5=_toKey;function baseSet$2(a,j,_e,et){if(!isObject$e(a))return a;j=castPath$4(j,a);for(var nt=-1,tt=j.length,ot=tt-1,ct=a;ct!=null&&++nt<tt;){var ft=toKey$5(j[nt]),ht=_e;if(ft==="__proto__"||ft==="constructor"||ft==="prototype")return a;if(nt!=ot){var dt=ct[ft];ht=et?et(dt,ft,ct):void 0,ht===void 0&&(ht=isObject$e(dt)?dt:isIndex$2(j[nt+1])?[]:{})}assignValue$1(ct,ft,ht),ct=ct[ft]}return a}var _baseSet=baseSet$2,baseGet$3=_baseGet,baseSet$1=_baseSet,castPath$3=_castPath;function basePickBy$2(a,j,_e){for(var et=-1,nt=j.length,tt={};++et<nt;){var ot=j[et],ct=baseGet$3(a,ot);_e(ct,ot)&&baseSet$1(tt,castPath$3(ot,a),ct)}return tt}var _basePickBy=basePickBy$2;function baseHasIn$1(a,j){return a!=null&&j in Object(a)}var _baseHasIn=baseHasIn$1,castPath$2=_castPath,isArguments$3=isArguments_1,isArray$b=isArray_1,isIndex$1=_isIndex,isLength=isLength_1,toKey$4=_toKey;function hasPath$1(a,j,_e){j=castPath$2(j,a);for(var et=-1,nt=j.length,tt=!1;++et<nt;){var ot=toKey$4(j[et]);if(!(tt=a!=null&&_e(a,ot)))break;a=a[ot]}return tt||++et!=nt?tt:(nt=a==null?0:a.length,!!nt&&isLength(nt)&&isIndex$1(ot,nt)&&(isArray$b(a)||isArguments$3(a)))}var _hasPath=hasPath$1,baseHasIn=_baseHasIn,hasPath=_hasPath;function hasIn$2(a,j){return a!=null&&hasPath(a,j,baseHasIn)}var hasIn_1=hasIn$2,basePickBy$1=_basePickBy,hasIn$1=hasIn_1;function basePick$1(a,j){return basePickBy$1(a,j,function(_e,et){return hasIn$1(a,et)})}var _basePick=basePick$1,basePick=_basePick,flatRest=_flatRest,pick$1=flatRest(function(a,j){return a==null?{}:basePick(a,j)}),pick_1$1=pick$1;const pick$2=getDefaultExportFromCjs$1(pick_1$1);var baseClone=_baseClone,CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(a){return baseClone(a,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var cloneDeep_1=cloneDeep;const cloneDeep$1=getDefaultExportFromCjs$1(cloneDeep_1);function isUndefined$1(a){return a===void 0}var isUndefined_1=isUndefined$1;const isUndefined$2=getDefaultExportFromCjs$1(isUndefined_1);var baseMerge$1=_baseMerge,isObject$d=isObject_1;function customDefaultsMerge$1(a,j,_e,et,nt,tt){return isObject$d(a)&&isObject$d(j)&&(tt.set(j,a),baseMerge$1(a,j,void 0,customDefaultsMerge$1,tt),tt.delete(j)),a}var _customDefaultsMerge=customDefaultsMerge$1,baseMerge=_baseMerge,createAssigner=_createAssigner,mergeWith$1=createAssigner(function(a,j,_e,et){baseMerge(a,j,_e,et)}),mergeWith_1=mergeWith$1,apply$2=_apply,baseRest$3=_baseRest,customDefaultsMerge=_customDefaultsMerge,mergeWith=mergeWith_1,defaultsDeep=baseRest$3(function(a){return a.push(void 0,customDefaultsMerge),apply$2(mergeWith,void 0,a)}),defaultsDeep_1=defaultsDeep;const defaultsDeep$1=getDefaultExportFromCjs$1(defaultsDeep_1);var eventemitter3$1={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function nt(ft,ht,dt){this.fn=ft,this.context=ht,this.once=dt||!1}function tt(ft,ht,dt,vt,$t){if(typeof dt!="function")throw new TypeError("The listener must be a function");var xt=new nt(dt,vt||ft,$t),At=_e?_e+ht:ht;return ft._events[At]?ft._events[At].fn?ft._events[At]=[ft._events[At],xt]:ft._events[At].push(xt):(ft._events[At]=xt,ft._eventsCount++),ft}function ot(ft,ht){--ft._eventsCount===0?ft._events=new et:delete ft._events[ht]}function ct(){this._events=new et,this._eventsCount=0}ct.prototype.eventNames=function(){var ht=[],dt,vt;if(this._eventsCount===0)return ht;for(vt in dt=this._events)j.call(dt,vt)&&ht.push(_e?vt.slice(1):vt);return Object.getOwnPropertySymbols?ht.concat(Object.getOwnPropertySymbols(dt)):ht},ct.prototype.listeners=function(ht){var dt=_e?_e+ht:ht,vt=this._events[dt];if(!vt)return[];if(vt.fn)return[vt.fn];for(var $t=0,xt=vt.length,At=new Array(xt);$t<xt;$t++)At[$t]=vt[$t].fn;return At},ct.prototype.listenerCount=function(ht){var dt=_e?_e+ht:ht,vt=this._events[dt];return vt?vt.fn?1:vt.length:0},ct.prototype.emit=function(ht,dt,vt,$t,xt,At){var wt=_e?_e+ht:ht;if(!this._events[wt])return!1;var Ct=this._events[wt],Rt=arguments.length,It,Mt;if(Ct.fn){switch(Ct.once&&this.removeListener(ht,Ct.fn,void 0,!0),Rt){case 1:return Ct.fn.call(Ct.context),!0;case 2:return Ct.fn.call(Ct.context,dt),!0;case 3:return Ct.fn.call(Ct.context,dt,vt),!0;case 4:return Ct.fn.call(Ct.context,dt,vt,$t),!0;case 5:return Ct.fn.call(Ct.context,dt,vt,$t,xt),!0;case 6:return Ct.fn.call(Ct.context,dt,vt,$t,xt,At),!0}for(Mt=1,It=new Array(Rt-1);Mt<Rt;Mt++)It[Mt-1]=arguments[Mt];Ct.fn.apply(Ct.context,It)}else{var Ot=Ct.length,zt;for(Mt=0;Mt<Ot;Mt++)switch(Ct[Mt].once&&this.removeListener(ht,Ct[Mt].fn,void 0,!0),Rt){case 1:Ct[Mt].fn.call(Ct[Mt].context);break;case 2:Ct[Mt].fn.call(Ct[Mt].context,dt);break;case 3:Ct[Mt].fn.call(Ct[Mt].context,dt,vt);break;case 4:Ct[Mt].fn.call(Ct[Mt].context,dt,vt,$t);break;default:if(!It)for(zt=1,It=new Array(Rt-1);zt<Rt;zt++)It[zt-1]=arguments[zt];Ct[Mt].fn.apply(Ct[Mt].context,It)}}return!0},ct.prototype.on=function(ht,dt,vt){return tt(this,ht,dt,vt,!1)},ct.prototype.once=function(ht,dt,vt){return tt(this,ht,dt,vt,!0)},ct.prototype.removeListener=function(ht,dt,vt,$t){var xt=_e?_e+ht:ht;if(!this._events[xt])return this;if(!dt)return ot(this,xt),this;var At=this._events[xt];if(At.fn)At.fn===dt&&(!$t||At.once)&&(!vt||At.context===vt)&&ot(this,xt);else{for(var wt=0,Ct=[],Rt=At.length;wt<Rt;wt++)(At[wt].fn!==dt||$t&&!At[wt].once||vt&&At[wt].context!==vt)&&Ct.push(At[wt]);Ct.length?this._events[xt]=Ct.length===1?Ct[0]:Ct:ot(this,xt)}return this},ct.prototype.removeAllListeners=function(ht){var dt;return ht?(dt=_e?_e+ht:ht,this._events[dt]&&ot(this,dt)):(this._events=new et,this._eventsCount=0),this},ct.prototype.off=ct.prototype.removeListener,ct.prototype.addListener=ct.prototype.on,ct.prefixed=_e,ct.EventEmitter=ct,a.exports=ct})(eventemitter3$1);var eventemitter3Exports$1=eventemitter3$1.exports;const EventEmitter$6=getDefaultExportFromCjs$1(eventemitter3Exports$1);var pWaitFor$2={exports:{}},pTimeout$3={exports:{}};class TimeoutError extends Error{constructor(j){super(j),this.name="TimeoutError"}}const pTimeout$1=(a,j,_e,et)=>{let nt;const tt=new Promise((ot,ct)=>{if(typeof j!="number"||j<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(j===1/0){ot(a);return}et={customTimers:{setTimeout,clearTimeout},...et},nt=et.customTimers.setTimeout.call(void 0,()=>{if(typeof _e=="function"){try{ot(_e())}catch(dt){ct(dt)}return}const ft=typeof _e=="string"?_e:`Promise timed out after ${j} milliseconds`,ht=_e instanceof Error?_e:new TimeoutError(ft);typeof a.cancel=="function"&&a.cancel(),ct(ht)},j),(async()=>{try{ot(await a)}catch(ft){ct(ft)}finally{et.customTimers.clearTimeout.call(void 0,nt)}})()});return tt.clear=()=>{clearTimeout(nt),nt=void 0},tt};pTimeout$3.exports=pTimeout$1;pTimeout$3.exports.default=pTimeout$1;var TimeoutError_1=pTimeout$3.exports.TimeoutError=TimeoutError,pTimeoutExports=pTimeout$3.exports;const pTimeout$2=getDefaultExportFromCjs$1(pTimeoutExports),pTimeout=pTimeoutExports,pWaitFor=async(a,j)=>{j={interval:20,timeout:1/0,leadingCheck:!0,...j};let _e;const et=new Promise((nt,tt)=>{const ot=async()=>{try{const ct=await a();if(typeof ct!="boolean")throw new TypeError("Expected condition to return a boolean");ct===!0?nt():_e=setTimeout(ot,j.interval)}catch(ct){tt(ct)}};j.leadingCheck?ot():_e=setTimeout(ot,j.interval)});if(j.timeout!==1/0)try{return await pTimeout(et,j.timeout)}catch(nt){throw _e&&clearTimeout(_e),nt}return et};pWaitFor$2.exports=pWaitFor;pWaitFor$2.exports.default=pWaitFor;var pWaitForExports=pWaitFor$2.exports;const pWaitFor$1=getDefaultExportFromCjs$1(pWaitForExports);var createUpdateEffect=function(a){return function(j,_e){var et=reactExports.useRef(!1);a(function(){return function(){et.current=!1}},[]),a(function(){if(!et.current)et.current=!0;else return j()},_e)}},extendStatics=function(a,j){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,et){_e.__proto__=et}||function(_e,et){for(var nt in et)Object.prototype.hasOwnProperty.call(et,nt)&&(_e[nt]=et[nt])},extendStatics(a,j)};function __extends(a,j){if(typeof j!="function"&&j!==null)throw new TypeError("Class extends value "+String(j)+" is not a constructor or null");extendStatics(a,j);function _e(){this.constructor=a}a.prototype=j===null?Object.create(j):(_e.prototype=j.prototype,new _e)}var __assign=function(){return __assign=Object.assign||function(j){for(var _e,et=1,nt=arguments.length;et<nt;et++){_e=arguments[et];for(var tt in _e)Object.prototype.hasOwnProperty.call(_e,tt)&&(j[tt]=_e[tt])}return j},__assign.apply(this,arguments)};function __rest(a,j){var _e={};for(var et in a)Object.prototype.hasOwnProperty.call(a,et)&&j.indexOf(et)<0&&(_e[et]=a[et]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,et=Object.getOwnPropertySymbols(a);nt<et.length;nt++)j.indexOf(et[nt])<0&&Object.prototype.propertyIsEnumerable.call(a,et[nt])&&(_e[et[nt]]=a[et[nt]]);return _e}function __decorate(a,j,_e,et){var nt=arguments.length,tt=nt<3?j:et===null?et=Object.getOwnPropertyDescriptor(j,_e):et,ot;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")tt=Reflect.decorate(a,j,_e,et);else for(var ct=a.length-1;ct>=0;ct--)(ot=a[ct])&&(tt=(nt<3?ot(tt):nt>3?ot(j,_e,tt):ot(j,_e))||tt);return nt>3&&tt&&Object.defineProperty(j,_e,tt),tt}function __param(a,j){return function(_e,et){j(_e,et,a)}}function __esDecorate(a,j,_e,et,nt,tt){function ot(Rt){if(Rt!==void 0&&typeof Rt!="function")throw new TypeError("Function expected");return Rt}for(var ct=et.kind,ft=ct==="getter"?"get":ct==="setter"?"set":"value",ht=!j&&a?et.static?a:a.prototype:null,dt=j||(ht?Object.getOwnPropertyDescriptor(ht,et.name):{}),vt,$t=!1,xt=_e.length-1;xt>=0;xt--){var At={};for(var wt in et)At[wt]=wt==="access"?{}:et[wt];for(var wt in et.access)At.access[wt]=et.access[wt];At.addInitializer=function(Rt){if($t)throw new TypeError("Cannot add initializers after decoration has completed");tt.push(ot(Rt||null))};var Ct=(0,_e[xt])(ct==="accessor"?{get:dt.get,set:dt.set}:dt[ft],At);if(ct==="accessor"){if(Ct===void 0)continue;if(Ct===null||typeof Ct!="object")throw new TypeError("Object expected");(vt=ot(Ct.get))&&(dt.get=vt),(vt=ot(Ct.set))&&(dt.set=vt),(vt=ot(Ct.init))&&nt.unshift(vt)}else(vt=ot(Ct))&&(ct==="field"?nt.unshift(vt):dt[ft]=vt)}ht&&Object.defineProperty(ht,et.name,dt),$t=!0}function __runInitializers(a,j,_e){for(var et=arguments.length>2,nt=0;nt<j.length;nt++)_e=et?j[nt].call(a,_e):j[nt].call(a);return et?_e:void 0}function __propKey(a){return typeof a=="symbol"?a:"".concat(a)}function __setFunctionName(a,j,_e){return typeof j=="symbol"&&(j=j.description?"[".concat(j.description,"]"):""),Object.defineProperty(a,"name",{configurable:!0,value:_e?"".concat(_e," ",j):j})}function __metadata(a,j){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,j)}function __awaiter(a,j,_e,et){function nt(tt){return tt instanceof _e?tt:new _e(function(ot){ot(tt)})}return new(_e||(_e=Promise))(function(tt,ot){function ct(dt){try{ht(et.next(dt))}catch(vt){ot(vt)}}function ft(dt){try{ht(et.throw(dt))}catch(vt){ot(vt)}}function ht(dt){dt.done?tt(dt.value):nt(dt.value).then(ct,ft)}ht((et=et.apply(a,j||[])).next())})}function __generator(a,j){var _e={label:0,sent:function(){if(tt[0]&1)throw tt[1];return tt[1]},trys:[],ops:[]},et,nt,tt,ot=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return ot.next=ct(0),ot.throw=ct(1),ot.return=ct(2),typeof Symbol=="function"&&(ot[Symbol.iterator]=function(){return this}),ot;function ct(ht){return function(dt){return ft([ht,dt])}}function ft(ht){if(et)throw new TypeError("Generator is already executing.");for(;ot&&(ot=0,ht[0]&&(_e=0)),_e;)try{if(et=1,nt&&(tt=ht[0]&2?nt.return:ht[0]?nt.throw||((tt=nt.return)&&tt.call(nt),0):nt.next)&&!(tt=tt.call(nt,ht[1])).done)return tt;switch(nt=0,tt&&(ht=[ht[0]&2,tt.value]),ht[0]){case 0:case 1:tt=ht;break;case 4:return _e.label++,{value:ht[1],done:!1};case 5:_e.label++,nt=ht[1],ht=[0];continue;case 7:ht=_e.ops.pop(),_e.trys.pop();continue;default:if(tt=_e.trys,!(tt=tt.length>0&&tt[tt.length-1])&&(ht[0]===6||ht[0]===2)){_e=0;continue}if(ht[0]===3&&(!tt||ht[1]>tt[0]&&ht[1]<tt[3])){_e.label=ht[1];break}if(ht[0]===6&&_e.label<tt[1]){_e.label=tt[1],tt=ht;break}if(tt&&_e.label<tt[2]){_e.label=tt[2],_e.ops.push(ht);break}tt[2]&&_e.ops.pop(),_e.trys.pop();continue}ht=j.call(a,_e)}catch(dt){ht=[6,dt],nt=0}finally{et=tt=0}if(ht[0]&5)throw ht[1];return{value:ht[0]?ht[1]:void 0,done:!0}}}var __createBinding=Object.create?function(a,j,_e,et){et===void 0&&(et=_e);var nt=Object.getOwnPropertyDescriptor(j,_e);(!nt||("get"in nt?!j.__esModule:nt.writable||nt.configurable))&&(nt={enumerable:!0,get:function(){return j[_e]}}),Object.defineProperty(a,et,nt)}:function(a,j,_e,et){et===void 0&&(et=_e),a[et]=j[_e]};function __exportStar(a,j){for(var _e in a)_e!=="default"&&!Object.prototype.hasOwnProperty.call(j,_e)&&__createBinding(j,a,_e)}function __values(a){var j=typeof Symbol=="function"&&Symbol.iterator,_e=j&&a[j],et=0;if(_e)return _e.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&et>=a.length&&(a=void 0),{value:a&&a[et++],done:!a}}};throw new TypeError(j?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(a,j){var _e=typeof Symbol=="function"&&a[Symbol.iterator];if(!_e)return a;var et=_e.call(a),nt,tt=[],ot;try{for(;(j===void 0||j-- >0)&&!(nt=et.next()).done;)tt.push(nt.value)}catch(ct){ot={error:ct}}finally{try{nt&&!nt.done&&(_e=et.return)&&_e.call(et)}finally{if(ot)throw ot.error}}return tt}function __spread(){for(var a=[],j=0;j<arguments.length;j++)a=a.concat(__read(arguments[j]));return a}function __spreadArrays(){for(var a=0,j=0,_e=arguments.length;j<_e;j++)a+=arguments[j].length;for(var et=Array(a),nt=0,j=0;j<_e;j++)for(var tt=arguments[j],ot=0,ct=tt.length;ot<ct;ot++,nt++)et[nt]=tt[ot];return et}function __spreadArray(a,j,_e){if(_e||arguments.length===2)for(var et=0,nt=j.length,tt;et<nt;et++)(tt||!(et in j))&&(tt||(tt=Array.prototype.slice.call(j,0,et)),tt[et]=j[et]);return a.concat(tt||Array.prototype.slice.call(j))}function __await(a){return this instanceof __await?(this.v=a,this):new __await(a)}function __asyncGenerator(a,j,_e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var et=_e.apply(a,j||[]),nt,tt=[];return nt=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),ct("next"),ct("throw"),ct("return",ot),nt[Symbol.asyncIterator]=function(){return this},nt;function ot(xt){return function(At){return Promise.resolve(At).then(xt,vt)}}function ct(xt,At){et[xt]&&(nt[xt]=function(wt){return new Promise(function(Ct,Rt){tt.push([xt,wt,Ct,Rt])>1||ft(xt,wt)})},At&&(nt[xt]=At(nt[xt])))}function ft(xt,At){try{ht(et[xt](At))}catch(wt){$t(tt[0][3],wt)}}function ht(xt){xt.value instanceof __await?Promise.resolve(xt.value.v).then(dt,vt):$t(tt[0][2],xt)}function dt(xt){ft("next",xt)}function vt(xt){ft("throw",xt)}function $t(xt,At){xt(At),tt.shift(),tt.length&&ft(tt[0][0],tt[0][1])}}function __asyncDelegator(a){var j,_e;return j={},et("next"),et("throw",function(nt){throw nt}),et("return"),j[Symbol.iterator]=function(){return this},j;function et(nt,tt){j[nt]=a[nt]?function(ot){return(_e=!_e)?{value:__await(a[nt](ot)),done:!1}:tt?tt(ot):ot}:tt}}function __asyncValues(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j=a[Symbol.asyncIterator],_e;return j?j.call(a):(a=typeof __values=="function"?__values(a):a[Symbol.iterator](),_e={},et("next"),et("throw"),et("return"),_e[Symbol.asyncIterator]=function(){return this},_e);function et(tt){_e[tt]=a[tt]&&function(ot){return new Promise(function(ct,ft){ot=a[tt](ot),nt(ct,ft,ot.done,ot.value)})}}function nt(tt,ot,ct,ft){Promise.resolve(ft).then(function(ht){tt({value:ht,done:ct})},ot)}}function __makeTemplateObject(a,j){return Object.defineProperty?Object.defineProperty(a,"raw",{value:j}):a.raw=j,a}var __setModuleDefault=Object.create?function(a,j){Object.defineProperty(a,"default",{enumerable:!0,value:j})}:function(a,j){a.default=j};function __importStar(a){if(a&&a.__esModule)return a;var j={};if(a!=null)for(var _e in a)_e!=="default"&&Object.prototype.hasOwnProperty.call(a,_e)&&__createBinding(j,a,_e);return __setModuleDefault(j,a),j}function __importDefault$b(a){return a&&a.__esModule?a:{default:a}}function __classPrivateFieldGet(a,j,_e,et){if(_e==="a"&&!et)throw new TypeError("Private accessor was defined without a getter");if(typeof j=="function"?a!==j||!et:!j.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return _e==="m"?et:_e==="a"?et.call(a):et?et.value:j.get(a)}function __classPrivateFieldSet(a,j,_e,et,nt){if(et==="m")throw new TypeError("Private method is not writable");if(et==="a"&&!nt)throw new TypeError("Private accessor was defined without a setter");if(typeof j=="function"?a!==j||!nt:!j.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return et==="a"?nt.call(a,_e):nt?nt.value=_e:j.set(a,_e),_e}function __classPrivateFieldIn(a,j){if(j===null||typeof j!="object"&&typeof j!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof a=="function"?j===a:a.has(j)}function __addDisposableResource(a,j,_e){if(j!=null){if(typeof j!="object"&&typeof j!="function")throw new TypeError("Object expected.");var et,nt;if(_e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");et=j[Symbol.asyncDispose]}if(et===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");et=j[Symbol.dispose],_e&&(nt=et)}if(typeof et!="function")throw new TypeError("Object not disposable.");nt&&(et=function(){try{nt.call(this)}catch(tt){return Promise.reject(tt)}}),a.stack.push({value:j,dispose:et,async:_e})}else _e&&a.stack.push({async:!0});return j}var _SuppressedError=typeof SuppressedError=="function"?SuppressedError:function(a,j,_e){var et=new Error(_e);return et.name="SuppressedError",et.error=a,et.suppressed=j,et};function __disposeResources(a){function j(tt){a.error=a.hasError?new _SuppressedError(tt,a.error,"An error was suppressed during disposal."):tt,a.hasError=!0}var _e,et=0;function nt(){for(;_e=a.stack.pop();)try{if(!_e.async&&et===1)return et=0,a.stack.push(_e),Promise.resolve().then(nt);if(_e.dispose){var tt=_e.dispose.call(_e.value);if(_e.async)return et|=2,Promise.resolve(tt).then(nt,function(ot){return j(ot),nt()})}else et|=1}catch(ot){j(ot)}if(et===1)return a.hasError?Promise.reject(a.error):Promise.resolve();if(a.hasError)throw a.error}return nt()}const tslib_es6={__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault:__importDefault$b,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources},tslib_es6$1=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource,get __assign(){return __assign},__asyncDelegator,__asyncGenerator,__asyncValues,__await,__awaiter,__classPrivateFieldGet,__classPrivateFieldIn,__classPrivateFieldSet,__createBinding,__decorate,__disposeResources,__esDecorate,__exportStar,__extends,__generator,__importDefault:__importDefault$b,__importStar,__makeTemplateObject,__metadata,__param,__propKey,__read,__rest,__runInitializers,__setFunctionName,__spread,__spreadArray,__spreadArrays,__values,default:tslib_es6},Symbol.toStringTag,{value:"Module"}));var isFunction$3=function(a){return typeof a=="function"},isString$3=function(a){return typeof a=="string"},isNumber$2=function(a){return typeof a=="number"},isUndef=function(a){return typeof a>"u"};function useMemoizedFn(a){var j=reactExports.useRef(a);j.current=reactExports.useMemo(function(){return a},[a]);var _e=reactExports.useRef();return _e.current||(_e.current=function(){for(var et=[],nt=0;nt<arguments.length;nt++)et[nt]=arguments[nt];return j.current.apply(this,et)}),_e.current}const useUpdateEffect=createUpdateEffect(reactExports.useEffect);var useAutoRunPlugin=function(a,j){var _e=j.manual,et=j.ready,nt=et===void 0?!0:et,tt=j.defaultParams,ot=tt===void 0?[]:tt,ct=j.refreshDeps,ft=ct===void 0?[]:ct,ht=j.refreshDepsAction,dt=reactExports.useRef(!1);return dt.current=!1,useUpdateEffect(function(){!_e&&nt&&(dt.current=!0,a.run.apply(a,__spreadArray([],__read(ot),!1)))},[nt]),useUpdateEffect(function(){dt.current||_e||(dt.current=!0,ht?ht():a.refresh())},__spreadArray([],__read(ft),!1)),{onBefore:function(){if(!nt)return{stopNow:!0}}}};useAutoRunPlugin.onInit=function(a){var j=a.ready,_e=j===void 0?!0:j,et=a.manual;return{loading:!et&&_e}};function depsAreSame(a,j){if(a===j)return!0;for(var _e=0;_e<a.length;_e++)if(!Object.is(a[_e],j[_e]))return!1;return!0}function useCreation(a,j){var _e=reactExports.useRef({deps:j,obj:void 0,initialized:!1}).current;return(_e.initialized===!1||!depsAreSame(_e.deps,j))&&(_e.deps=j,_e.obj=a(),_e.initialized=!0),_e.obj}function useLatest(a){var j=reactExports.useRef(a);return j.current=a,j}var useUnmount=function(a){var j=useLatest(a);reactExports.useEffect(function(){return function(){j.current()}},[])},cache$2=new Map,setCache=function(a,j,_e){var et=cache$2.get(a);et!=null&&et.timer&&clearTimeout(et.timer);var nt=void 0;j>-1&&(nt=setTimeout(function(){cache$2.delete(a)},j)),cache$2.set(a,__assign(__assign({},_e),{timer:nt}))},getCache=function(a){return cache$2.get(a)},cachePromise=new Map,getCachePromise=function(a){return cachePromise.get(a)},setCachePromise=function(a,j){cachePromise.set(a,j),j.then(function(_e){return cachePromise.delete(a),_e}).catch(function(){cachePromise.delete(a)})},listeners$2={},trigger=function(a,j){listeners$2[a]&&listeners$2[a].forEach(function(_e){return _e(j)})},subscribe$2=function(a,j){return listeners$2[a]||(listeners$2[a]=[]),listeners$2[a].push(j),function(){var et=listeners$2[a].indexOf(j);listeners$2[a].splice(et,1)}},useCachePlugin=function(a,j){var _e=j.cacheKey,et=j.cacheTime,nt=et===void 0?5*60*1e3:et,tt=j.staleTime,ot=tt===void 0?0:tt,ct=j.setCache,ft=j.getCache,ht=reactExports.useRef(),dt=reactExports.useRef(),vt=function(xt,At){ct?ct(At):setCache(xt,nt,At),trigger(xt,At.data)},$t=function(xt,At){return At===void 0&&(At=[]),ft?ft(At):getCache(xt)};return useCreation(function(){if(_e){var xt=$t(_e);xt&&Object.hasOwnProperty.call(xt,"data")&&(a.state.data=xt.data,a.state.params=xt.params,(ot===-1||new Date().getTime()-xt.time<=ot)&&(a.state.loading=!1)),ht.current=subscribe$2(_e,function(At){a.setState({data:At})})}},[]),useUnmount(function(){var xt;(xt=ht.current)===null||xt===void 0||xt.call(ht)}),_e?{onBefore:function(xt){var At=$t(_e,xt);return!At||!Object.hasOwnProperty.call(At,"data")?{}:ot===-1||new Date().getTime()-At.time<=ot?{loading:!1,data:At==null?void 0:At.data,error:void 0,returnNow:!0}:{data:At==null?void 0:At.data,error:void 0}},onRequest:function(xt,At){var wt=getCachePromise(_e);return wt&&wt!==dt.current?{servicePromise:wt}:(wt=xt.apply(void 0,__spreadArray([],__read(At),!1)),dt.current=wt,setCachePromise(_e,wt),{servicePromise:wt})},onSuccess:function(xt,At){var wt;_e&&((wt=ht.current)===null||wt===void 0||wt.call(ht),vt(_e,{data:xt,params:At,time:new Date().getTime()}),ht.current=subscribe$2(_e,function(Ct){a.setState({data:Ct})}))},onMutate:function(xt){var At;_e&&((At=ht.current)===null||At===void 0||At.call(ht),vt(_e,{data:xt,params:a.state.params,time:new Date().getTime()}),ht.current=subscribe$2(_e,function(wt){a.setState({data:wt})}))}}:{}},root$3=_root,now$1=function(){return root$3.Date.now()},now_1=now$1,isObject$c=isObject_1,now=now_1,toNumber$2=toNumber_1,FUNC_ERROR_TEXT$4="Expected a function",nativeMax=Math.max,nativeMin$1=Math.min;function debounce$1(a,j,_e){var et,nt,tt,ot,ct,ft,ht=0,dt=!1,vt=!1,$t=!0;if(typeof a!="function")throw new TypeError(FUNC_ERROR_TEXT$4);j=toNumber$2(j)||0,isObject$c(_e)&&(dt=!!_e.leading,vt="maxWait"in _e,tt=vt?nativeMax(toNumber$2(_e.maxWait)||0,j):tt,$t="trailing"in _e?!!_e.trailing:$t);function xt(jt){var Gt=et,Jt=nt;return et=nt=void 0,ht=jt,ot=a.apply(Jt,Gt),ot}function At(jt){return ht=jt,ct=setTimeout(Rt,j),dt?xt(jt):ot}function wt(jt){var Gt=jt-ft,Jt=jt-ht,Xt=j-Gt;return vt?nativeMin$1(Xt,tt-Jt):Xt}function Ct(jt){var Gt=jt-ft,Jt=jt-ht;return ft===void 0||Gt>=j||Gt<0||vt&&Jt>=tt}function Rt(){var jt=now();if(Ct(jt))return It(jt);ct=setTimeout(Rt,wt(jt))}function It(jt){return ct=void 0,$t&&et?xt(jt):(et=nt=void 0,ot)}function Mt(){ct!==void 0&&clearTimeout(ct),ht=0,et=ft=nt=ct=void 0}function Ot(){return ct===void 0?ot:It(now())}function zt(){var jt=now(),Gt=Ct(jt);if(et=arguments,nt=this,ft=jt,Gt){if(ct===void 0)return At(ft);if(vt)return clearTimeout(ct),ct=setTimeout(Rt,j),xt(ft)}return ct===void 0&&(ct=setTimeout(Rt,j)),ot}return zt.cancel=Mt,zt.flush=Ot,zt}var debounce_1=debounce$1;const debounce$2=getDefaultExportFromCjs$1(debounce_1);var useDebouncePlugin=function(a,j){var _e=j.debounceWait,et=j.debounceLeading,nt=j.debounceTrailing,tt=j.debounceMaxWait,ot=reactExports.useRef(),ct=reactExports.useMemo(function(){var ft={};return et!==void 0&&(ft.leading=et),nt!==void 0&&(ft.trailing=nt),tt!==void 0&&(ft.maxWait=tt),ft},[et,nt,tt]);return reactExports.useEffect(function(){if(_e){var ft=a.runAsync.bind(a);return ot.current=debounce$2(function(ht){ht()},_e,ct),a.runAsync=function(){for(var ht=[],dt=0;dt<arguments.length;dt++)ht[dt]=arguments[dt];return new Promise(function(vt,$t){var xt;(xt=ot.current)===null||xt===void 0||xt.call(ot,function(){ft.apply(void 0,__spreadArray([],__read(ht),!1)).then(vt).catch($t)})})},function(){var ht;(ht=ot.current)===null||ht===void 0||ht.cancel(),a.runAsync=ft}}},[_e,ct]),_e?{onCancel:function(){var ft;(ft=ot.current)===null||ft===void 0||ft.cancel()}}:{}},useLoadingDelayPlugin=function(a,j){var _e=j.loadingDelay,et=j.ready,nt=reactExports.useRef();if(!_e)return{};var tt=function(){nt.current&&clearTimeout(nt.current)};return{onBefore:function(){return tt(),et!==!1&&(nt.current=setTimeout(function(){a.setState({loading:!0})},_e)),{loading:!1}},onFinally:function(){tt()},onCancel:function(){tt()}}},isBrowser$1=!!(typeof window<"u"&&window.document&&window.document.createElement);function isDocumentVisible(){return isBrowser$1?document.visibilityState!=="hidden":!0}var listeners$1=[];function subscribe$1(a){return listeners$1.push(a),function(){var _e=listeners$1.indexOf(a);listeners$1.splice(_e,1)}}if(isBrowser$1){var revalidate$1=function(){if(isDocumentVisible())for(var a=0;a<listeners$1.length;a++){var j=listeners$1[a];j()}};window.addEventListener("visibilitychange",revalidate$1,!1)}var usePollingPlugin=function(a,j){var _e=j.pollingInterval,et=j.pollingWhenHidden,nt=et===void 0?!0:et,tt=j.pollingErrorRetryCount,ot=tt===void 0?-1:tt,ct=reactExports.useRef(),ft=reactExports.useRef(),ht=reactExports.useRef(0),dt=function(){var vt;ct.current&&clearTimeout(ct.current),(vt=ft.current)===null||vt===void 0||vt.call(ft)};return useUpdateEffect(function(){_e||dt()},[_e]),_e?{onBefore:function(){dt()},onError:function(){ht.current+=1},onSuccess:function(){ht.current=0},onFinally:function(){ot===-1||ot!==-1&&ht.current<=ot?ct.current=setTimeout(function(){!nt&&!isDocumentVisible()?ft.current=subscribe$1(function(){a.refresh()}):a.refresh()},_e):ht.current=0},onCancel:function(){dt()}}:{}};function limit(a,j){var _e=!1;return function(){for(var et=[],nt=0;nt<arguments.length;nt++)et[nt]=arguments[nt];_e||(_e=!0,a.apply(void 0,__spreadArray([],__read(et),!1)),setTimeout(function(){_e=!1},j))}}function isOnline(){return isBrowser$1&&typeof navigator.onLine<"u"?navigator.onLine:!0}var listeners=[];function subscribe(a){return listeners.push(a),function(){var _e=listeners.indexOf(a);_e>-1&&listeners.splice(_e,1)}}if(isBrowser$1){var revalidate=function(){if(!(!isDocumentVisible()||!isOnline()))for(var a=0;a<listeners.length;a++){var j=listeners[a];j()}};window.addEventListener("visibilitychange",revalidate,!1),window.addEventListener("focus",revalidate,!1)}var useRefreshOnWindowFocusPlugin=function(a,j){var _e=j.refreshOnWindowFocus,et=j.focusTimespan,nt=et===void 0?5e3:et,tt=reactExports.useRef(),ot=function(){var ct;(ct=tt.current)===null||ct===void 0||ct.call(tt)};return reactExports.useEffect(function(){if(_e){var ct=limit(a.refresh.bind(a),nt);tt.current=subscribe(function(){ct()})}return function(){ot()}},[_e,nt]),useUnmount(function(){ot()}),{}},useRetryPlugin=function(a,j){var _e=j.retryInterval,et=j.retryCount,nt=reactExports.useRef(),tt=reactExports.useRef(0),ot=reactExports.useRef(!1);return et?{onBefore:function(){ot.current||(tt.current=0),ot.current=!1,nt.current&&clearTimeout(nt.current)},onSuccess:function(){tt.current=0},onError:function(){if(tt.current+=1,et===-1||tt.current<=et){var ct=_e??Math.min(1e3*Math.pow(2,tt.current),3e4);nt.current=setTimeout(function(){ot.current=!0,a.refresh()},ct)}else tt.current=0},onCancel:function(){tt.current=0,nt.current&&clearTimeout(nt.current)}}:{}},debounce=debounce_1,isObject$b=isObject_1,FUNC_ERROR_TEXT$3="Expected a function";function throttle$2(a,j,_e){var et=!0,nt=!0;if(typeof a!="function")throw new TypeError(FUNC_ERROR_TEXT$3);return isObject$b(_e)&&(et="leading"in _e?!!_e.leading:et,nt="trailing"in _e?!!_e.trailing:nt),debounce(a,j,{leading:et,maxWait:j,trailing:nt})}var throttle_1=throttle$2;const throttle$3=getDefaultExportFromCjs$1(throttle_1);var useThrottlePlugin=function(a,j){var _e=j.throttleWait,et=j.throttleLeading,nt=j.throttleTrailing,tt=reactExports.useRef(),ot={};return et!==void 0&&(ot.leading=et),nt!==void 0&&(ot.trailing=nt),reactExports.useEffect(function(){if(_e){var ct=a.runAsync.bind(a);return tt.current=throttle$3(function(ft){ft()},_e,ot),a.runAsync=function(){for(var ft=[],ht=0;ht<arguments.length;ht++)ft[ht]=arguments[ht];return new Promise(function(dt,vt){var $t;($t=tt.current)===null||$t===void 0||$t.call(tt,function(){ct.apply(void 0,__spreadArray([],__read(ft),!1)).then(dt).catch(vt)})})},function(){var ft;a.runAsync=ct,(ft=tt.current)===null||ft===void 0||ft.cancel()}}},[_e,et,nt]),_e?{onCancel:function(){var ct;(ct=tt.current)===null||ct===void 0||ct.cancel()}}:{}},useMount=function(a){reactExports.useEffect(function(){a==null||a()},[])},useUpdate=function(){var a=__read(reactExports.useState({}),2),j=a[1];return reactExports.useCallback(function(){return j({})},[])},Fetch=function(){function a(j,_e,et,nt){nt===void 0&&(nt={}),this.serviceRef=j,this.options=_e,this.subscribe=et,this.initState=nt,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=__assign(__assign(__assign({},this.state),{loading:!_e.manual}),nt)}return a.prototype.setState=function(j){j===void 0&&(j={}),this.state=__assign(__assign({},this.state),j),this.subscribe()},a.prototype.runPluginHandler=function(j){for(var _e=[],et=1;et<arguments.length;et++)_e[et-1]=arguments[et];var nt=this.pluginImpls.map(function(tt){var ot;return(ot=tt[j])===null||ot===void 0?void 0:ot.call.apply(ot,__spreadArray([tt],__read(_e),!1))}).filter(Boolean);return Object.assign.apply(Object,__spreadArray([{}],__read(nt),!1))},a.prototype.runAsync=function(){for(var j,_e,et,nt,tt,ot,ct,ft,ht,dt,vt=[],$t=0;$t<arguments.length;$t++)vt[$t]=arguments[$t];return __awaiter(this,void 0,void 0,function(){var xt,At,wt,Ct,Rt,It,Mt,Ot,zt,jt,Gt;return __generator(this,function(Jt){switch(Jt.label){case 0:if(this.count+=1,xt=this.count,At=this.runPluginHandler("onBefore",vt),wt=At.stopNow,Ct=wt===void 0?!1:wt,Rt=At.returnNow,It=Rt===void 0?!1:Rt,Mt=__rest(At,["stopNow","returnNow"]),Ct)return[2,new Promise(function(){})];if(this.setState(__assign({loading:!0,params:vt},Mt)),It)return[2,Promise.resolve(Mt.data)];(_e=(j=this.options).onBefore)===null||_e===void 0||_e.call(j,vt),Jt.label=1;case 1:return Jt.trys.push([1,3,,4]),Ot=this.runPluginHandler("onRequest",this.serviceRef.current,vt).servicePromise,Ot||(Ot=(Gt=this.serviceRef).current.apply(Gt,__spreadArray([],__read(vt),!1))),[4,Ot];case 2:return zt=Jt.sent(),xt!==this.count?[2,new Promise(function(){})]:(this.setState({data:zt,error:void 0,loading:!1}),(nt=(et=this.options).onSuccess)===null||nt===void 0||nt.call(et,zt,vt),this.runPluginHandler("onSuccess",zt,vt),(ot=(tt=this.options).onFinally)===null||ot===void 0||ot.call(tt,vt,zt,void 0),xt===this.count&&this.runPluginHandler("onFinally",vt,zt,void 0),[2,zt]);case 3:if(jt=Jt.sent(),xt!==this.count)return[2,new Promise(function(){})];throw this.setState({error:jt,loading:!1}),(ft=(ct=this.options).onError)===null||ft===void 0||ft.call(ct,jt,vt),this.runPluginHandler("onError",jt,vt),(dt=(ht=this.options).onFinally)===null||dt===void 0||dt.call(ht,vt,void 0,jt),xt===this.count&&this.runPluginHandler("onFinally",vt,void 0,jt),jt;case 4:return[2]}})})},a.prototype.run=function(){for(var j=this,_e=[],et=0;et<arguments.length;et++)_e[et]=arguments[et];this.runAsync.apply(this,__spreadArray([],__read(_e),!1)).catch(function(nt){j.options.onError||console.error(nt)})},a.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},a.prototype.refresh=function(){this.run.apply(this,__spreadArray([],__read(this.state.params||[]),!1))},a.prototype.refreshAsync=function(){return this.runAsync.apply(this,__spreadArray([],__read(this.state.params||[]),!1))},a.prototype.mutate=function(j){var _e=isFunction$3(j)?j(this.state.data):j;this.runPluginHandler("onMutate",_e),this.setState({data:_e})},a}();function useRequestImplement(a,j,_e){j===void 0&&(j={}),_e===void 0&&(_e=[]);var et=j.manual,nt=et===void 0?!1:et,tt=j.ready,ot=tt===void 0?!0:tt,ct=__rest(j,["manual","ready"]),ft=__assign({manual:nt,ready:ot},ct),ht=useLatest(a),dt=useUpdate(),vt=useCreation(function(){var $t=_e.map(function(xt){var At;return(At=xt==null?void 0:xt.onInit)===null||At===void 0?void 0:At.call(xt,ft)}).filter(Boolean);return new Fetch(ht,ft,dt,Object.assign.apply(Object,__spreadArray([{}],__read($t),!1)))},[]);return vt.options=ft,vt.pluginImpls=_e.map(function($t){return $t(vt,ft)}),useMount(function(){if(!nt&&ot){var $t=vt.state.params||j.defaultParams||[];vt.run.apply(vt,__spreadArray([],__read($t),!1))}}),useUnmount(function(){vt.cancel()}),{loading:vt.state.loading,data:vt.state.data,error:vt.state.error,params:vt.state.params||[],cancel:useMemoizedFn(vt.cancel.bind(vt)),refresh:useMemoizedFn(vt.refresh.bind(vt)),refreshAsync:useMemoizedFn(vt.refreshAsync.bind(vt)),run:useMemoizedFn(vt.run.bind(vt)),runAsync:useMemoizedFn(vt.runAsync.bind(vt)),mutate:useMemoizedFn(vt.mutate.bind(vt))}}function useRequest(a,j,_e){return useRequestImplement(a,j,__spreadArray(__spreadArray([],__read([]),!1),[useDebouncePlugin,useLoadingDelayPlugin,usePollingPlugin,useRefreshOnWindowFocusPlugin,useThrottlePlugin,useAutoRunPlugin,useCachePlugin,useRetryPlugin],!1))}function isAsyncGenerator(a){return isFunction$3(a[Symbol.asyncIterator])}function useAsyncEffect(a,j){reactExports.useEffect(function(){var _e=a(),et=!1;function nt(){return __awaiter(this,void 0,void 0,function(){var tt;return __generator(this,function(ot){switch(ot.label){case 0:if(!isAsyncGenerator(_e))return[3,4];ot.label=1;case 1:return[4,_e.next()];case 2:return tt=ot.sent(),tt.done||et?[3,3]:[3,1];case 3:return[3,6];case 4:return[4,_e];case 5:ot.sent(),ot.label=6;case 6:return[2]}})})}return nt(),function(){et=!0}},j)}function getTargetElement(a,j){if(isBrowser$1){if(!a)return j;var _e;return isFunction$3(a)?_e=a():"current"in a?_e=a.current:_e=a,_e}}var createEffectWithTarget=function(a){var j=function(_e,et,nt){var tt=reactExports.useRef(!1),ot=reactExports.useRef([]),ct=reactExports.useRef([]),ft=reactExports.useRef();a(function(){var ht,dt=Array.isArray(nt)?nt:[nt],vt=dt.map(function($t){return getTargetElement($t)});if(!tt.current){tt.current=!0,ot.current=vt,ct.current=et,ft.current=_e();return}(vt.length!==ot.current.length||!depsAreSame(ot.current,vt)||!depsAreSame(ct.current,et))&&((ht=ft.current)===null||ht===void 0||ht.call(ft),ot.current=vt,ct.current=et,ft.current=_e())}),useUnmount(function(){var ht;(ht=ft.current)===null||ht===void 0||ht.call(ft),tt.current=!1})};return j},useEffectWithTarget$1=createEffectWithTarget(reactExports.useEffect);function useDebounceFn(a,j){var _e,et=useLatest(a),nt=(_e=j==null?void 0:j.wait)!==null&&_e!==void 0?_e:1e3,tt=reactExports.useMemo(function(){return debounce$2(function(){for(var ot=[],ct=0;ct<arguments.length;ct++)ot[ct]=arguments[ct];return et.current.apply(et,__spreadArray([],__read(ot),!1))},nt,j)},[]);return useUnmount(function(){tt.cancel()}),{run:tt,cancel:tt.cancel,flush:tt.flush}}function useDebounce(a,j){var _e=__read(reactExports.useState(a),2),et=_e[0],nt=_e[1],tt=useDebounceFn(function(){nt(a)},j).run;return reactExports.useEffect(function(){tt()},[a]),et}function useEventListener(a,j,_e){_e===void 0&&(_e={});var et=_e.enable,nt=et===void 0?!0:et,tt=useLatest(j);useEffectWithTarget$1(function(){if(nt){var ot=getTargetElement(_e.target,window);if(ot!=null&&ot.addEventListener){var ct=function(ft){return tt.current(ft)};return ot.addEventListener(a,ct,{capture:_e.capture,once:_e.once,passive:_e.passive}),function(){ot.removeEventListener(a,ct,{capture:_e.capture})}}}},[a,_e.capture,_e.once,_e.passive,nt],_e.target)}var useInterval$1=function(a,j,_e){_e===void 0&&(_e={});var et=useMemoizedFn(a),nt=reactExports.useRef(null),tt=reactExports.useCallback(function(){nt.current&&clearInterval(nt.current)},[]);return reactExports.useEffect(function(){if(!(!isNumber$2(j)||j<0))return _e.immediate&&et(),nt.current=setInterval(et,j),tt},[j,_e.immediate]),tt},SYNC_STORAGE_EVENT_NAME="AHOOKS_SYNC_STORAGE_EVENT_NAME";function createUseStorageState(a){function j(_e,et){et===void 0&&(et={});var nt,tt=et.listenStorageChange,ot=tt===void 0?!1:tt,ct=et.onError,ft=ct===void 0?function(It){console.error(It)}:ct;try{nt=a()}catch(It){ft(It)}var ht=function(It){return et.serializer?et.serializer(It):JSON.stringify(It)},dt=function(It){return et.deserializer?et.deserializer(It):JSON.parse(It)};function vt(){try{var It=nt==null?void 0:nt.getItem(_e);if(It)return dt(It)}catch(Mt){ft(Mt)}return isFunction$3(et.defaultValue)?et.defaultValue():et.defaultValue}var $t=__read(reactExports.useState(vt),2),xt=$t[0],At=$t[1];useUpdateEffect(function(){At(vt())},[_e]);var wt=function(It){var Mt=isFunction$3(It)?It(xt):It;ot||At(Mt);try{var Ot=void 0,zt=nt==null?void 0:nt.getItem(_e);isUndef(Mt)?(Ot=null,nt==null||nt.removeItem(_e)):(Ot=ht(Mt),nt==null||nt.setItem(_e,Ot)),dispatchEvent(new CustomEvent(SYNC_STORAGE_EVENT_NAME,{detail:{key:_e,newValue:Ot,oldValue:zt,storageArea:nt}}))}catch(jt){ft(jt)}},Ct=function(It){It.key!==_e||It.storageArea!==nt||At(vt())},Rt=function(It){Ct(It.detail)};return useEventListener("storage",Ct,{enable:ot}),useEventListener(SYNC_STORAGE_EVENT_NAME,Rt,{enable:ot}),[xt,useMemoizedFn(wt)]}return j}var useLocalStorageState=createUseStorageState(function(){return isBrowser$1?localStorage:void 0});function useRafState(a){var j=reactExports.useRef(0),_e=__read(reactExports.useState(a),2),et=_e[0],nt=_e[1],tt=reactExports.useCallback(function(ot){cancelAnimationFrame(j.current),j.current=requestAnimationFrame(function(){nt(ot)})},[]);return useUnmount(function(){cancelAnimationFrame(j.current)}),[et,tt]}var defaultShouldUpdate=function(a,j){return!Object.is(a,j)};function usePrevious(a,j){j===void 0&&(j=defaultShouldUpdate);var _e=reactExports.useRef(),et=reactExports.useRef();return j(et.current,a)&&(_e.current=et.current,et.current=a),_e.current}var proxyMap=new WeakMap,rawMap=new WeakMap;function observer(a,j){var _e=proxyMap.get(a);if(_e)return _e;if(rawMap.has(a))return a;var et=new Proxy(a,{get:function(nt,tt,ot){var ct=Reflect.get(nt,tt,ot),ft=Reflect.getOwnPropertyDescriptor(nt,tt);return!(ft!=null&&ft.configurable)&&!(ft!=null&&ft.writable)?ct:isPlainObject$4(ct)||Array.isArray(ct)?observer(ct,j):ct},set:function(nt,tt,ot){var ct=Reflect.set(nt,tt,ot);return j(),ct},deleteProperty:function(nt,tt){var ot=Reflect.deleteProperty(nt,tt);return j(),ot}});return proxyMap.set(a,et),rawMap.set(et,a),et}function useReactive(a){var j=useUpdate(),_e=reactExports.useRef(a),et=useCreation(function(){return observer(_e.current,function(){j()})},[]);return et}var MapShim=function(){if(typeof Map<"u")return Map;function a(j,_e){var et=-1;return j.some(function(nt,tt){return nt[0]===_e?(et=tt,!0):!1}),et}return function(){function j(){this.__entries__=[]}return Object.defineProperty(j.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),j.prototype.get=function(_e){var et=a(this.__entries__,_e),nt=this.__entries__[et];return nt&&nt[1]},j.prototype.set=function(_e,et){var nt=a(this.__entries__,_e);~nt?this.__entries__[nt][1]=et:this.__entries__.push([_e,et])},j.prototype.delete=function(_e){var et=this.__entries__,nt=a(et,_e);~nt&&et.splice(nt,1)},j.prototype.has=function(_e){return!!~a(this.__entries__,_e)},j.prototype.clear=function(){this.__entries__.splice(0)},j.prototype.forEach=function(_e,et){et===void 0&&(et=null);for(var nt=0,tt=this.__entries__;nt<tt.length;nt++){var ot=tt[nt];_e.call(et,ot[1],ot[0])}},j}()}(),isBrowser=typeof window<"u"&&typeof document<"u"&&window.document===document,global$1$1=function(){return typeof global$2<"u"&&global$2.Math===Math?global$2:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),requestAnimationFrame$1=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(global$1$1):function(a){return setTimeout(function(){return a(Date.now())},1e3/60)}}(),trailingTimeout=2;function throttle$1(a,j){var _e=!1,et=!1,nt=0;function tt(){_e&&(_e=!1,a()),et&&ct()}function ot(){requestAnimationFrame$1(tt)}function ct(){var ft=Date.now();if(_e){if(ft-nt<trailingTimeout)return;et=!0}else _e=!0,et=!1,setTimeout(ot,j);nt=ft}return ct}var REFRESH_DELAY=20,transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported=typeof MutationObserver<"u",ResizeObserverController=function(){function a(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=throttle$1(this.refresh.bind(this),REFRESH_DELAY)}return a.prototype.addObserver=function(j){~this.observers_.indexOf(j)||this.observers_.push(j),this.connected_||this.connect_()},a.prototype.removeObserver=function(j){var _e=this.observers_,et=_e.indexOf(j);~et&&_e.splice(et,1),!_e.length&&this.connected_&&this.disconnect_()},a.prototype.refresh=function(){var j=this.updateObservers_();j&&this.refresh()},a.prototype.updateObservers_=function(){var j=this.observers_.filter(function(_e){return _e.gatherActive(),_e.hasActive()});return j.forEach(function(_e){return _e.broadcastActive()}),j.length>0},a.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},a.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},a.prototype.onTransitionEnd_=function(j){var _e=j.propertyName,et=_e===void 0?"":_e,nt=transitionKeys.some(function(tt){return!!~et.indexOf(tt)});nt&&this.refresh()},a.getInstance=function(){return this.instance_||(this.instance_=new a),this.instance_},a.instance_=null,a}(),defineConfigurable=function(a,j){for(var _e=0,et=Object.keys(j);_e<et.length;_e++){var nt=et[_e];Object.defineProperty(a,nt,{value:j[nt],enumerable:!1,writable:!1,configurable:!0})}return a},getWindowOf=function(a){var j=a&&a.ownerDocument&&a.ownerDocument.defaultView;return j||global$1$1},emptyRect=createRectInit(0,0,0,0);function toFloat(a){return parseFloat(a)||0}function getBordersSize(a){for(var j=[],_e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];return j.reduce(function(et,nt){var tt=a["border-"+nt+"-width"];return et+toFloat(tt)},0)}function getPaddings(a){for(var j=["top","right","bottom","left"],_e={},et=0,nt=j;et<nt.length;et++){var tt=nt[et],ot=a["padding-"+tt];_e[tt]=toFloat(ot)}return _e}function getSVGContentRect(a){var j=a.getBBox();return createRectInit(0,0,j.width,j.height)}function getHTMLElementContentRect(a){var j=a.clientWidth,_e=a.clientHeight;if(!j&&!_e)return emptyRect;var et=getWindowOf(a).getComputedStyle(a),nt=getPaddings(et),tt=nt.left+nt.right,ot=nt.top+nt.bottom,ct=toFloat(et.width),ft=toFloat(et.height);if(et.boxSizing==="border-box"&&(Math.round(ct+tt)!==j&&(ct-=getBordersSize(et,"left","right")+tt),Math.round(ft+ot)!==_e&&(ft-=getBordersSize(et,"top","bottom")+ot)),!isDocumentElement(a)){var ht=Math.round(ct+tt)-j,dt=Math.round(ft+ot)-_e;Math.abs(ht)!==1&&(ct-=ht),Math.abs(dt)!==1&&(ft-=dt)}return createRectInit(nt.left,nt.top,ct,ft)}var isSVGGraphicsElement=function(){return typeof SVGGraphicsElement<"u"?function(a){return a instanceof getWindowOf(a).SVGGraphicsElement}:function(a){return a instanceof getWindowOf(a).SVGElement&&typeof a.getBBox=="function"}}();function isDocumentElement(a){return a===getWindowOf(a).document.documentElement}function getContentRect(a){return isBrowser?isSVGGraphicsElement(a)?getSVGContentRect(a):getHTMLElementContentRect(a):emptyRect}function createReadOnlyRect(a){var j=a.x,_e=a.y,et=a.width,nt=a.height,tt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,ot=Object.create(tt.prototype);return defineConfigurable(ot,{x:j,y:_e,width:et,height:nt,top:_e,right:j+et,bottom:nt+_e,left:j}),ot}function createRectInit(a,j,_e,et){return{x:a,y:j,width:_e,height:et}}var ResizeObservation=function(){function a(j){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=j}return a.prototype.isActive=function(){var j=getContentRect(this.target);return this.contentRect_=j,j.width!==this.broadcastWidth||j.height!==this.broadcastHeight},a.prototype.broadcastRect=function(){var j=this.contentRect_;return this.broadcastWidth=j.width,this.broadcastHeight=j.height,j},a}(),ResizeObserverEntry=function(){function a(j,_e){var et=createReadOnlyRect(_e);defineConfigurable(this,{target:j,contentRect:et})}return a}(),ResizeObserverSPI=function(){function a(j,_e,et){if(this.activeObservations_=[],this.observations_=new MapShim,typeof j!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=j,this.controller_=_e,this.callbackCtx_=et}return a.prototype.observe=function(j){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(j instanceof getWindowOf(j).Element))throw new TypeError('parameter 1 is not of type "Element".');var _e=this.observations_;_e.has(j)||(_e.set(j,new ResizeObservation(j)),this.controller_.addObserver(this),this.controller_.refresh())}},a.prototype.unobserve=function(j){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(j instanceof getWindowOf(j).Element))throw new TypeError('parameter 1 is not of type "Element".');var _e=this.observations_;_e.has(j)&&(_e.delete(j),_e.size||this.controller_.removeObserver(this))}},a.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},a.prototype.gatherActive=function(){var j=this;this.clearActive(),this.observations_.forEach(function(_e){_e.isActive()&&j.activeObservations_.push(_e)})},a.prototype.broadcastActive=function(){if(this.hasActive()){var j=this.callbackCtx_,_e=this.activeObservations_.map(function(et){return new ResizeObserverEntry(et.target,et.broadcastRect())});this.callback_.call(j,_e,j),this.clearActive()}},a.prototype.clearActive=function(){this.activeObservations_.splice(0)},a.prototype.hasActive=function(){return this.activeObservations_.length>0},a}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver=function(){function a(j){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var _e=ResizeObserverController.getInstance(),et=new ResizeObserverSPI(j,_e,this);observers.set(this,et)}return a}();["observe","unobserve","disconnect"].forEach(function(a){ResizeObserver.prototype[a]=function(){var j;return(j=observers.get(this))[a].apply(j,arguments)}});var index=function(){return typeof global$1$1.ResizeObserver<"u"?global$1$1.ResizeObserver:ResizeObserver}(),useEffectWithTarget=createEffectWithTarget(reactExports.useLayoutEffect),useIsomorphicLayoutEffectWithTarget=isBrowser$1?useEffectWithTarget:useEffectWithTarget$1;function useSize(a){var j=__read(useRafState(function(){var nt=getTargetElement(a);return nt?{width:nt.clientWidth,height:nt.clientHeight}:void 0}),2),_e=j[0],et=j[1];return useIsomorphicLayoutEffectWithTarget(function(){var nt=getTargetElement(a);if(nt){var tt=new index(function(ot){ot.forEach(function(ct){var ft=ct.target,ht=ft.clientWidth,dt=ft.clientHeight;et({width:ht,height:dt})})});return tt.observe(nt),function(){tt.disconnect()}}},[],a),_e}function useWhyDidYouUpdate(a,j){var _e=reactExports.useRef({});reactExports.useEffect(function(){if(_e.current){var et=Object.keys(__assign(__assign({},_e.current),j)),nt={};et.forEach(function(tt){Object.is(_e.current[tt],j[tt])||(nt[tt]={from:_e.current[tt],to:j[tt]})}),Object.keys(nt).length&&console.log("[why-did-you-update]",a,nt)}_e.current=j})}const n$1=/[^\0-\x7E]/,t$3=/[\x2E\u3002\uFF0E\uFF61]/g,o$1={overflow:"Overflow Error","not-basic":"Illegal Input","invalid-input":"Invalid Input"},e$1=Math.floor,r$2=String.fromCharCode;function s$2(a){throw new RangeError(o$1[a])}const c=function(a,j){return a+22+75*(a<26)-((j!=0)<<5)},u=function(a,j,_e){let et=0;for(a=_e?e$1(a/700):a>>1,a+=e$1(a/j);a>455;et+=36)a=e$1(a/35);return e$1(et+36*a/(a+38))};function toASCII(a){return function(j,_e){const et=j.split("@");let nt="";et.length>1&&(nt=et[0]+"@",j=et[1]);const tt=function(ot,ct){const ft=[];let ht=ot.length;for(;ht--;)ft[ht]=ct(ot[ht]);return ft}((j=j.replace(t$3,".")).split("."),_e).join(".");return nt+tt}(a,function(j){return n$1.test(j)?"xn--"+function(_e){const et=[],nt=(_e=function(dt){const vt=[];let $t=0;const xt=dt.length;for(;$t<xt;){const At=dt.charCodeAt($t++);if(At>=55296&&At<=56319&&$t<xt){const wt=dt.charCodeAt($t++);(64512&wt)==56320?vt.push(((1023&At)<<10)+(1023&wt)+65536):(vt.push(At),$t--)}else vt.push(At)}return vt}(_e)).length;let tt=128,ot=0,ct=72;for(const dt of _e)dt<128&&et.push(r$2(dt));const ft=et.length;let ht=ft;for(ft&&et.push("-");ht<nt;){let dt=2147483647;for(const $t of _e)$t>=tt&&$t<dt&&(dt=$t);const vt=ht+1;dt-tt>e$1((2147483647-ot)/vt)&&s$2("overflow"),ot+=(dt-tt)*vt,tt=dt;for(const $t of _e)if($t<tt&&++ot>2147483647&&s$2("overflow"),$t==tt){let xt=ot;for(let At=36;;At+=36){const wt=At<=ct?1:At>=ct+26?26:At-ct;if(xt<wt)break;const Ct=xt-wt,Rt=36-wt;et.push(r$2(c(wt+Ct%Rt,0))),xt=e$1(Ct/Rt)}et.push(r$2(c(xt,0))),ct=u(ot,vt,ht==ft),ot=0,++ht}++ot,++tt}return et.join("")}(j):j})}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_CARET_RE=/%5e/gi,ENC_BACKTICK_RE=/%60/gi,ENC_CURLY_OPEN_RE=/%7b/gi,ENC_PIPE_RE=/%7c/gi,ENC_CURLY_CLOSE_RE=/%7d/gi,ENC_SPACE_RE=/%20/gi,ENC_SLASH_RE=/%2f/gi,ENC_ENC_SLASH_RE=/%252f/gi;function encode$7(a){return encodeURI(""+a).replace(ENC_PIPE_RE,"|")}function encodeHash(a){return encode$7(a).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(a){return encode$7(typeof a=="string"?a:JSON.stringify(a)).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CARET_RE,"^").replace(SLASH_RE,"%2F")}function encodeQueryKey(a){return encodeQueryValue(a).replace(EQUAL_RE,"%3D")}function encodePath(a){return encode$7(a).replace(HASH_RE,"%23").replace(IM_RE,"%3F").replace(ENC_ENC_SLASH_RE,"%2F").replace(AMPERSAND_RE,"%26").replace(PLUS_RE,"%2B")}function encodeParam(a){return encodePath(a).replace(SLASH_RE,"%2F")}function decode$4(a=""){try{return decodeURIComponent(""+a)}catch{return""+a}}function decodePath(a){return decode$4(a.replace(ENC_SLASH_RE,"%252F"))}function decodeQueryKey(a){return decode$4(a.replace(PLUS_RE," "))}function decodeQueryValue(a){return decode$4(a.replace(PLUS_RE," "))}function encodeHost(a=""){return toASCII(a)}function parseQuery(a=""){const j={};a[0]==="?"&&(a=a.slice(1));for(const _e of a.split("&")){const et=_e.match(/([^=]+)=?(.*)/)||[];if(et.length<2)continue;const nt=decodeQueryKey(et[1]);if(nt==="__proto__"||nt==="constructor")continue;const tt=decodeQueryValue(et[2]||"");j[nt]===void 0?j[nt]=tt:Array.isArray(j[nt])?j[nt].push(tt):j[nt]=[j[nt],tt]}return j}function encodeQueryItem(a,j){return(typeof j=="number"||typeof j=="boolean")&&(j=String(j)),j?Array.isArray(j)?j.map(_e=>`${encodeQueryKey(a)}=${encodeQueryValue(_e)}`).join("&"):`${encodeQueryKey(a)}=${encodeQueryValue(j)}`:encodeQueryKey(a)}function stringifyQuery(a){return Object.keys(a).filter(j=>a[j]!==void 0).map(j=>encodeQueryItem(j,a[j])).filter(Boolean).join("&")}const PROTOCOL_STRICT_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,PROTOCOL_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,PROTOCOL_RELATIVE_REGEX=/^([/\\]\s*){2,}[^/\\]/,PROTOCOL_SCRIPT_RE=/^[\s\0]*(blob|data|javascript|vbscript):$/i,TRAILING_SLASH_RE=/\/$|\/\?|\/#/,JOIN_LEADING_SLASH_RE=/^\.?\//;function isRelative(a){return["./","../"].some(j=>a.startsWith(j))}function hasProtocol(a,j={}){return typeof j=="boolean"&&(j={acceptRelative:j}),j.strict?PROTOCOL_STRICT_REGEX.test(a):PROTOCOL_REGEX.test(a)||(j.acceptRelative?PROTOCOL_RELATIVE_REGEX.test(a):!1)}function isScriptProtocol(a){return!!a&&PROTOCOL_SCRIPT_RE.test(a)}function hasTrailingSlash(a="",j){return j?TRAILING_SLASH_RE.test(a):a.endsWith("/")}function withoutTrailingSlash(a="",j){if(!j)return(hasTrailingSlash(a)?a.slice(0,-1):a)||"/";if(!hasTrailingSlash(a,!0))return a||"/";let _e=a,et="";const nt=a.indexOf("#");nt>=0&&(_e=a.slice(0,nt),et=a.slice(nt));const[tt,...ot]=_e.split("?");return((tt.endsWith("/")?tt.slice(0,-1):tt)||"/")+(ot.length>0?`?${ot.join("?")}`:"")+et}function withTrailingSlash(a="",j){if(!j)return a.endsWith("/")?a:a+"/";if(hasTrailingSlash(a,!0))return a||"/";let _e=a,et="";const nt=a.indexOf("#");if(nt>=0&&(_e=a.slice(0,nt),et=a.slice(nt),!_e))return et;const[tt,...ot]=_e.split("?");return tt+"/"+(ot.length>0?`?${ot.join("?")}`:"")+et}function hasLeadingSlash(a=""){return a.startsWith("/")}function withoutLeadingSlash(a=""){return(hasLeadingSlash(a)?a.slice(1):a)||"/"}function withLeadingSlash(a=""){return hasLeadingSlash(a)?a:"/"+a}function cleanDoubleSlashes(a=""){return a.split("://").map(j=>j.replace(/\/{2,}/g,"/")).join("://")}function withBase(a,j){if(isEmptyURL(j)||hasProtocol(a))return a;const _e=withoutTrailingSlash(j);return a.startsWith(_e)?a:joinURL(_e,a)}function withoutBase(a,j){if(isEmptyURL(j))return a;const _e=withoutTrailingSlash(j);if(!a.startsWith(_e))return a;const et=a.slice(_e.length);return et[0]==="/"?et:"/"+et}function withQuery(a,j){const _e=parseURL(a),et={...parseQuery(_e.search),...j};return _e.search=stringifyQuery(et),stringifyParsedURL(_e)}function getQuery(a){return parseQuery(parseURL(a).search)}function isEmptyURL(a){return!a||a==="/"}function isNonEmptyURL(a){return a&&a!=="/"}function joinURL(a,...j){let _e=a||"";for(const et of j.filter(nt=>isNonEmptyURL(nt)))if(_e){const nt=et.replace(JOIN_LEADING_SLASH_RE,"");_e=withTrailingSlash(_e)+nt}else _e=et;return _e}function joinRelativeURL(...a){var ot,ct,ft,ht;const j=/\/(?!\/)/,_e=a.filter(Boolean),et=[];let nt=0;for(const dt of _e)if(!(!dt||dt==="/")){for(const[vt,$t]of dt.split(j).entries())if(!(!$t||$t===".")){if($t===".."){if(et.length===1&&hasProtocol(et[0]))continue;et.pop(),nt--;continue}if(vt===1&&((ot=et[et.length-1])!=null&&ot.endsWith(":/"))){et[et.length-1]+="/"+$t;continue}et.push($t),nt++}}let tt=et.join("/");return nt>=0?(ct=_e[0])!=null&&ct.startsWith("/")&&!tt.startsWith("/")?tt="/"+tt:(ft=_e[0])!=null&&ft.startsWith("./")&&!tt.startsWith("./")&&(tt="./"+tt):tt="../".repeat(-1*nt)+tt,(ht=_e[_e.length-1])!=null&&ht.endsWith("/")&&!tt.endsWith("/")&&(tt+="/"),tt}function withHttp(a){return withProtocol(a,"http://")}function withHttps(a){return withProtocol(a,"https://")}function withoutProtocol(a){return withProtocol(a,"")}function withProtocol(a,j){let _e=a.match(PROTOCOL_REGEX);return _e||(_e=a.match(/^\/{2,}/)),_e?j+a.slice(_e[0].length):j+a}function normalizeURL(a){const j=parseURL(a);return j.pathname=encodePath(decodePath(j.pathname)),j.hash=encodeHash(decode$4(j.hash)),j.host=encodeHost(decode$4(j.host)),j.search=stringifyQuery(parseQuery(j.search)),stringifyParsedURL(j)}function resolveURL(a="",...j){if(typeof a!="string")throw new TypeError(`URL input should be string received ${typeof a} (${a})`);const _e=j.filter(nt=>isNonEmptyURL(nt));if(_e.length===0)return a;const et=parseURL(a);for(const nt of _e){const tt=parseURL(nt);if(tt.pathname&&(et.pathname=withTrailingSlash(et.pathname)+withoutLeadingSlash(tt.pathname)),tt.hash&&tt.hash!=="#"&&(et.hash=tt.hash),tt.search&&tt.search!=="?")if(et.search&&et.search!=="?"){const ot=stringifyQuery({...parseQuery(et.search),...parseQuery(tt.search)});et.search=ot.length>0?"?"+ot:""}else et.search=tt.search}return stringifyParsedURL(et)}function isSamePath(a,j){return decode$4(withoutTrailingSlash(a))===decode$4(withoutTrailingSlash(j))}function isEqual$2(a,j,_e={}){return _e.trailingSlash||(a=withTrailingSlash(a),j=withTrailingSlash(j)),_e.leadingSlash||(a=withLeadingSlash(a),j=withLeadingSlash(j)),_e.encoding||(a=decode$4(a),j=decode$4(j)),a===j}function withFragment(a,j){if(!j||j==="#")return a;const _e=parseURL(a);return _e.hash=j===""?"":"#"+encodeHash(j),stringifyParsedURL(_e)}function withoutFragment(a){return stringifyParsedURL({...parseURL(a),hash:""})}function withoutHost(a){const j=parseURL(a);return(j.pathname||"/")+j.search+j.hash}const protocolRelative=Symbol.for("ufo:protocolRelative");function parseURL(a="",j){const _e=a.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(_e){const[,vt,$t=""]=_e;return{protocol:vt.toLowerCase(),pathname:$t,href:vt+$t,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(a,{acceptRelative:!0}))return j?parseURL(j+a):parsePath(a);const[,et="",nt,tt=""]=a.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,ot="",ct=""]=tt.match(/([^#/?]*)(.*)?/)||[];et==="file:"&&(ct=ct.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:ft,search:ht,hash:dt}=parsePath(ct);return{protocol:et.toLowerCase(),auth:nt?nt.slice(0,Math.max(0,nt.length-1)):"",host:ot,pathname:ft,search:ht,hash:dt,[protocolRelative]:!et}}function parsePath(a=""){const[j="",_e="",et=""]=(a.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:j,search:_e,hash:et}}function parseAuth(a=""){const[j,_e]=a.split(":");return{username:decode$4(j),password:decode$4(_e)}}function parseHost(a=""){const[j,_e]=(a.match(/([^/:]*):?(\d+)?/)||[]).splice(1);return{hostname:decode$4(j),port:_e}}function stringifyParsedURL(a){const j=a.pathname||"",_e=a.search?(a.search.startsWith("?")?"":"?")+a.search:"",et=a.hash||"",nt=a.auth?a.auth+"@":"",tt=a.host||"";return(a.protocol||a[protocolRelative]?(a.protocol||"")+"//":"")+nt+tt+j+_e+et}const FILENAME_STRICT_REGEX=/\/([^/]+\.[^/]+)$/,FILENAME_REGEX=/\/([^/]+)$/;function parseFilename(a="",{strict:j}){const{pathname:_e}=parseURL(a),et=j?_e.match(FILENAME_STRICT_REGEX):_e.match(FILENAME_REGEX);return et?et[1]:void 0}var __defProp$6=Object.defineProperty,__defNormalProp$5=(a,j,_e)=>j in a?__defProp$6(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$4=(a,j,_e)=>(__defNormalProp$5(a,typeof j!="symbol"?j+"":j,_e),_e);class $URL{constructor(j=""){if(__publicField$4(this,"protocol"),__publicField$4(this,"host"),__publicField$4(this,"auth"),__publicField$4(this,"pathname"),__publicField$4(this,"query",{}),__publicField$4(this,"hash"),typeof j!="string")throw new TypeError(`URL input should be string received ${typeof j} (${j})`);const _e=parseURL(j);this.protocol=decode$4(_e.protocol),this.host=decode$4(_e.host),this.auth=decode$4(_e.auth),this.pathname=decodePath(_e.pathname),this.query=parseQuery(_e.search),this.hash=decode$4(_e.hash)}get hostname(){return parseHost(this.host).hostname}get port(){return parseHost(this.host).port||""}get username(){return parseAuth(this.auth).username}get password(){return parseAuth(this.auth).password||""}get hasProtocol(){return this.protocol.length}get isAbsolute(){return this.hasProtocol||this.pathname[0]==="/"}get search(){const j=stringifyQuery(this.query);return j.length>0?"?"+j:""}get searchParams(){const j=new URLSearchParams;for(const _e in this.query){const et=this.query[_e];if(Array.isArray(et))for(const nt of et)j.append(_e,nt);else j.append(_e,typeof et=="string"?et:JSON.stringify(et))}return j}get origin(){return(this.protocol?this.protocol+"//":"")+encodeHost(this.host)}get fullpath(){return encodePath(this.pathname)+this.search+encodeHash(this.hash)}get encodedAuth(){if(!this.auth)return"";const{username:j,password:_e}=parseAuth(this.auth);return encodeURIComponent(j)+(_e?":"+encodeURIComponent(_e):"")}get href(){const j=this.encodedAuth,_e=(this.protocol?this.protocol+"//":"")+(j?j+"@":"")+encodeHost(this.host);return this.hasProtocol&&this.isAbsolute?_e+this.fullpath:this.fullpath}append(j){if(j.hasProtocol)throw new Error("Cannot append a URL with protocol");Object.assign(this.query,j.query),j.pathname&&(this.pathname=withTrailingSlash(this.pathname)+withoutLeadingSlash(j.pathname)),j.hash&&(this.hash=j.hash)}toJSON(){return this.href}toString(){return this.href}}function createURL(a){return new $URL(a)}const dist$3=Object.freeze(Object.defineProperty({__proto__:null,$URL,cleanDoubleSlashes,createURL,decode:decode$4,decodePath,decodeQueryKey,decodeQueryValue,encode:encode$7,encodeHash,encodeHost,encodeParam,encodePath,encodeQueryItem,encodeQueryKey,encodeQueryValue,getQuery,hasLeadingSlash,hasProtocol,hasTrailingSlash,isEmptyURL,isEqual:isEqual$2,isNonEmptyURL,isRelative,isSamePath,isScriptProtocol,joinRelativeURL,joinURL,normalizeURL,parseAuth,parseFilename,parseHost,parsePath,parseQuery,parseURL,resolveURL,stringifyParsedURL,stringifyQuery,withBase,withFragment,withHttp,withHttps,withLeadingSlash,withProtocol,withQuery,withTrailingSlash,withoutBase,withoutFragment,withoutHost,withoutLeadingSlash,withoutProtocol,withoutTrailingSlash},Symbol.toStringTag,{value:"Module"})),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(a,j,_e,et="")=>{const nt=a.split(":");if(a.slice(0,1)==="@"){if(nt.length<2||nt.length>3)return null;et=nt.shift().slice(1)}if(nt.length>3||!nt.length)return null;if(nt.length>1){const ct=nt.pop(),ft=nt.pop(),ht={provider:nt.length>0?nt[0]:et,prefix:ft,name:ct};return j&&!validateIconName(ht)?null:ht}const tt=nt[0],ot=tt.split("-");if(ot.length>1){const ct={provider:et,prefix:ot.shift(),name:ot.join("-")};return j&&!validateIconName(ct)?null:ct}if(_e&&et===""){const ct={provider:et,prefix:"",name:tt};return j&&!validateIconName(ct,_e)?null:ct}return null},validateIconName=(a,j)=>a?!!((a.provider===""||a.provider.match(matchIconName))&&(j&&a.prefix===""||a.prefix.match(matchIconName))&&a.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(a,j){const _e={};!a.hFlip!=!j.hFlip&&(_e.hFlip=!0),!a.vFlip!=!j.vFlip&&(_e.vFlip=!0);const et=((a.rotate||0)+(j.rotate||0))%4;return et&&(_e.rotate=et),_e}function mergeIconData(a,j){const _e=mergeIconTransformations(a,j);for(const et in defaultExtendedIconProps)et in defaultIconTransformations?et in a&&!(et in _e)&&(_e[et]=defaultIconTransformations[et]):et in j?_e[et]=j[et]:et in a&&(_e[et]=a[et]);return _e}function getIconsTree(a,j){const _e=a.icons,et=a.aliases||Object.create(null),nt=Object.create(null);function tt(ot){if(_e[ot])return nt[ot]=[];if(!(ot in nt)){nt[ot]=null;const ct=et[ot]&&et[ot].parent,ft=ct&&tt(ct);ft&&(nt[ot]=[ct].concat(ft))}return nt[ot]}return Object.keys(_e).concat(Object.keys(et)).forEach(tt),nt}function internalGetIconData(a,j,_e){const et=a.icons,nt=a.aliases||Object.create(null);let tt={};function ot(ct){tt=mergeIconData(et[ct]||nt[ct],tt)}return ot(j),_e.forEach(ot),mergeIconData(a,tt)}function parseIconSet(a,j){const _e=[];if(typeof a!="object"||typeof a.icons!="object")return _e;a.not_found instanceof Array&&a.not_found.forEach(nt=>{j(nt,null),_e.push(nt)});const et=getIconsTree(a);for(const nt in et){const tt=et[nt];tt&&(j(nt,internalGetIconData(a,nt,tt)),_e.push(nt))}return _e}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(a,j){for(const _e in j)if(_e in a&&typeof a[_e]!=typeof j[_e])return!1;return!0}function quicklyValidateIconSet(a){if(typeof a!="object"||a===null)return null;const j=a;if(typeof j.prefix!="string"||!a.icons||typeof a.icons!="object"||!checkOptionalProps(a,optionalPropertyDefaults))return null;const _e=j.icons;for(const nt in _e){const tt=_e[nt];if(!nt.match(matchIconName)||typeof tt.body!="string"||!checkOptionalProps(tt,defaultExtendedIconProps))return null}const et=j.aliases||Object.create(null);for(const nt in et){const tt=et[nt],ot=tt.parent;if(!nt.match(matchIconName)||typeof ot!="string"||!_e[ot]&&!et[ot]||!checkOptionalProps(tt,defaultExtendedIconProps))return null}return j}const dataStorage=Object.create(null);function newStorage(a,j){return{provider:a,prefix:j,icons:Object.create(null),missing:new Set}}function getStorage(a,j){const _e=dataStorage[a]||(dataStorage[a]=Object.create(null));return _e[j]||(_e[j]=newStorage(a,j))}function addIconSet(a,j){return quicklyValidateIconSet(j)?parseIconSet(j,(_e,et)=>{et?a.icons[_e]=et:a.missing.add(_e)}):[]}function addIconToStorage(a,j,_e){try{if(typeof _e.body=="string")return a.icons[j]={..._e},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(a){return typeof a=="boolean"&&(simpleNames=a),simpleNames}function getIconData(a){const j=typeof a=="string"?stringToIcon(a,!0,simpleNames):a;if(j){const _e=getStorage(j.provider,j.prefix),et=j.name;return _e.icons[et]||(_e.missing.has(et)?null:void 0)}}function addIcon(a,j){const _e=stringToIcon(a,!0,simpleNames);if(!_e)return!1;const et=getStorage(_e.provider,_e.prefix);return addIconToStorage(et,_e.name,j)}function addCollection(a,j){if(typeof a!="object")return!1;if(typeof j!="string"&&(j=a.provider||""),simpleNames&&!j&&!a.prefix){let nt=!1;return quicklyValidateIconSet(a)&&(a.prefix="",parseIconSet(a,(tt,ot)=>{ot&&addIcon(tt,ot)&&(nt=!0)})),nt}const _e=a.prefix;if(!validateIconName({provider:j,prefix:_e,name:"a"}))return!1;const et=getStorage(j,_e);return!!addIconSet(et,a)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(a,j,_e){if(j===1)return a;if(_e=_e||100,typeof a=="number")return Math.ceil(a*j*_e)/_e;if(typeof a!="string")return a;const et=a.split(unitsSplit);if(et===null||!et.length)return a;const nt=[];let tt=et.shift(),ot=unitsTest.test(tt);for(;;){if(ot){const ct=parseFloat(tt);isNaN(ct)?nt.push(tt):nt.push(Math.ceil(ct*j*_e)/_e)}else nt.push(tt);if(tt=et.shift(),tt===void 0)return nt.join("");ot=!ot}}const isUnsetKeyword=a=>a==="unset"||a==="undefined"||a==="none";function iconToSVG(a,j){const _e={...defaultIconProps,...a},et={...defaultIconCustomisations,...j},nt={left:_e.left,top:_e.top,width:_e.width,height:_e.height};let tt=_e.body;[_e,et].forEach(At=>{const wt=[],Ct=At.hFlip,Rt=At.vFlip;let It=At.rotate;Ct?Rt?It+=2:(wt.push("translate("+(nt.width+nt.left).toString()+" "+(0-nt.top).toString()+")"),wt.push("scale(-1 1)"),nt.top=nt.left=0):Rt&&(wt.push("translate("+(0-nt.left).toString()+" "+(nt.height+nt.top).toString()+")"),wt.push("scale(1 -1)"),nt.top=nt.left=0);let Mt;switch(It<0&&(It-=Math.floor(It/4)*4),It=It%4,It){case 1:Mt=nt.height/2+nt.top,wt.unshift("rotate(90 "+Mt.toString()+" "+Mt.toString()+")");break;case 2:wt.unshift("rotate(180 "+(nt.width/2+nt.left).toString()+" "+(nt.height/2+nt.top).toString()+")");break;case 3:Mt=nt.width/2+nt.left,wt.unshift("rotate(-90 "+Mt.toString()+" "+Mt.toString()+")");break}It%2===1&&(nt.left!==nt.top&&(Mt=nt.left,nt.left=nt.top,nt.top=Mt),nt.width!==nt.height&&(Mt=nt.width,nt.width=nt.height,nt.height=Mt)),wt.length&&(tt='<g transform="'+wt.join(" ")+'">'+tt+"</g>")});const ot=et.width,ct=et.height,ft=nt.width,ht=nt.height;let dt,vt;ot===null?(vt=ct===null?"1em":ct==="auto"?ht:ct,dt=calculateSize(vt,ft/ht)):(dt=ot==="auto"?ft:ot,vt=ct===null?calculateSize(dt,ht/ft):ct==="auto"?ht:ct);const $t={},xt=(At,wt)=>{isUnsetKeyword(wt)||($t[At]=wt.toString())};return xt("width",dt),xt("height",vt),$t.viewBox=nt.left.toString()+" "+nt.top.toString()+" "+ft.toString()+" "+ht.toString(),{attributes:$t,body:tt}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(a,j=randomPrefix){const _e=[];let et;for(;et=regex.exec(a);)_e.push(et[1]);if(!_e.length)return a;const nt="suffix"+(Math.random()*16777216|Date.now()).toString(16);return _e.forEach(tt=>{const ot=typeof j=="function"?j(tt):j+(counter++).toString(),ct=tt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");a=a.replace(new RegExp('([#;"])('+ct+')([")]|\\.[a-z])',"g"),"$1"+ot+nt+"$3")}),a=a.replace(new RegExp(nt,"g"),""),a}const storage=Object.create(null);function setAPIModule(a,j){storage[a]=j}function getAPIModule(a){return storage[a]||storage[""]}function createAPIConfig(a){let j;if(typeof a.resources=="string")j=[a.resources];else if(j=a.resources,!(j instanceof Array)||!j.length)return null;return{resources:j,path:a.path||"/",maxURL:a.maxURL||500,rotate:a.rotate||750,timeout:a.timeout||5e3,random:a.random===!0,index:a.index||0,dataAfterTimeout:a.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(a,j){const _e=createAPIConfig(j);return _e===null?!1:(configStorage[a]=_e,!0)}function getAPIConfig(a){return configStorage[a]}const detectFetch=()=>{let a;try{if(a=fetch,typeof a=="function")return a}catch{}};let fetchModule=detectFetch();function calculateMaxLength(a,j){const _e=getAPIConfig(a);if(!_e)return 0;let et;if(!_e.maxURL)et=0;else{let nt=0;_e.resources.forEach(ot=>{nt=Math.max(nt,ot.length)});const tt=j+".json?icons=";et=_e.maxURL-nt-_e.path.length-tt.length}return et}function shouldAbort(a){return a===404}const prepare=(a,j,_e)=>{const et=[],nt=calculateMaxLength(a,j),tt="icons";let ot={type:tt,provider:a,prefix:j,icons:[]},ct=0;return _e.forEach((ft,ht)=>{ct+=ft.length+1,ct>=nt&&ht>0&&(et.push(ot),ot={type:tt,provider:a,prefix:j,icons:[]},ct=ft.length),ot.icons.push(ft)}),et.push(ot),et};function getPath(a){if(typeof a=="string"){const j=getAPIConfig(a);if(j)return j.path}return"/"}const send=(a,j,_e)=>{if(!fetchModule){_e("abort",424);return}let et=getPath(j.provider);switch(j.type){case"icons":{const tt=j.prefix,ct=j.icons.join(","),ft=new URLSearchParams({icons:ct});et+=tt+".json?"+ft.toString();break}case"custom":{const tt=j.uri;et+=tt.slice(0,1)==="/"?tt.slice(1):tt;break}default:_e("abort",400);return}let nt=503;fetchModule(a+et).then(tt=>{const ot=tt.status;if(ot!==200){setTimeout(()=>{_e(shouldAbort(ot)?"abort":"next",ot)});return}return nt=501,tt.json()}).then(tt=>{if(typeof tt!="object"||tt===null){setTimeout(()=>{tt===404?_e("abort",tt):_e("next",nt)});return}setTimeout(()=>{_e("success",tt)})}).catch(()=>{_e("next",nt)})},fetchAPIModule={prepare,send};function sortIcons(a){const j={loaded:[],missing:[],pending:[]},_e=Object.create(null);a.sort((nt,tt)=>nt.provider!==tt.provider?nt.provider.localeCompare(tt.provider):nt.prefix!==tt.prefix?nt.prefix.localeCompare(tt.prefix):nt.name.localeCompare(tt.name));let et={provider:"",prefix:"",name:""};return a.forEach(nt=>{if(et.name===nt.name&&et.prefix===nt.prefix&&et.provider===nt.provider)return;et=nt;const tt=nt.provider,ot=nt.prefix,ct=nt.name,ft=_e[tt]||(_e[tt]=Object.create(null)),ht=ft[ot]||(ft[ot]=getStorage(tt,ot));let dt;ct in ht.icons?dt=j.loaded:ot===""||ht.missing.has(ct)?dt=j.missing:dt=j.pending;const vt={provider:tt,prefix:ot,name:ct};dt.push(vt)}),j}function removeCallback(a,j){a.forEach(_e=>{const et=_e.loaderCallbacks;et&&(_e.loaderCallbacks=et.filter(nt=>nt.id!==j))})}function updateCallbacks(a){a.pendingCallbacksFlag||(a.pendingCallbacksFlag=!0,setTimeout(()=>{a.pendingCallbacksFlag=!1;const j=a.loaderCallbacks?a.loaderCallbacks.slice(0):[];if(!j.length)return;let _e=!1;const et=a.provider,nt=a.prefix;j.forEach(tt=>{const ot=tt.icons,ct=ot.pending.length;ot.pending=ot.pending.filter(ft=>{if(ft.prefix!==nt)return!0;const ht=ft.name;if(a.icons[ht])ot.loaded.push({provider:et,prefix:nt,name:ht});else if(a.missing.has(ht))ot.missing.push({provider:et,prefix:nt,name:ht});else return _e=!0,!0;return!1}),ot.pending.length!==ct&&(_e||removeCallback([a],tt.id),tt.callback(ot.loaded.slice(0),ot.missing.slice(0),ot.pending.slice(0),tt.abort))})}))}let idCounter=0;function storeCallback(a,j,_e){const et=idCounter++,nt=removeCallback.bind(null,_e,et);if(!j.pending.length)return nt;const tt={id:et,icons:j,callback:a,abort:nt};return _e.forEach(ot=>{(ot.loaderCallbacks||(ot.loaderCallbacks=[])).push(tt)}),nt}function listToIcons(a,j=!0,_e=!1){const et=[];return a.forEach(nt=>{const tt=typeof nt=="string"?stringToIcon(nt,j,_e):nt;tt&&et.push(tt)}),et}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(a,j,_e,et){const nt=a.resources.length,tt=a.random?Math.floor(Math.random()*nt):a.index;let ot;if(a.random){let jt=a.resources.slice(0);for(ot=[];jt.length>1;){const Gt=Math.floor(Math.random()*jt.length);ot.push(jt[Gt]),jt=jt.slice(0,Gt).concat(jt.slice(Gt+1))}ot=ot.concat(jt)}else ot=a.resources.slice(tt).concat(a.resources.slice(0,tt));const ct=Date.now();let ft="pending",ht=0,dt,vt=null,$t=[],xt=[];typeof et=="function"&&xt.push(et);function At(){vt&&(clearTimeout(vt),vt=null)}function wt(){ft==="pending"&&(ft="aborted"),At(),$t.forEach(jt=>{jt.status==="pending"&&(jt.status="aborted")}),$t=[]}function Ct(jt,Gt){Gt&&(xt=[]),typeof jt=="function"&&xt.push(jt)}function Rt(){return{startTime:ct,payload:j,status:ft,queriesSent:ht,queriesPending:$t.length,subscribe:Ct,abort:wt}}function It(){ft="failed",xt.forEach(jt=>{jt(void 0,dt)})}function Mt(){$t.forEach(jt=>{jt.status==="pending"&&(jt.status="aborted")}),$t=[]}function Ot(jt,Gt,Jt){const Xt=Gt!=="success";switch($t=$t.filter(dn=>dn!==jt),ft){case"pending":break;case"failed":if(Xt||!a.dataAfterTimeout)return;break;default:return}if(Gt==="abort"){dt=Jt,It();return}if(Xt){dt=Jt,$t.length||(ot.length?zt():It());return}if(At(),Mt(),!a.random){const dn=a.resources.indexOf(jt.resource);dn!==-1&&dn!==a.index&&(a.index=dn)}ft="completed",xt.forEach(dn=>{dn(Jt)})}function zt(){if(ft!=="pending")return;At();const jt=ot.shift();if(jt===void 0){if($t.length){vt=setTimeout(()=>{At(),ft==="pending"&&(Mt(),It())},a.timeout);return}It();return}const Gt={status:"pending",resource:jt,callback:(Jt,Xt)=>{Ot(Gt,Jt,Xt)}};$t.push(Gt),ht++,vt=setTimeout(zt,a.rotate),_e(jt,j,Gt.callback)}return setTimeout(zt),Rt}function initRedundancy(a){const j={...defaultConfig,...a};let _e=[];function et(){_e=_e.filter(ct=>ct().status==="pending")}function nt(ct,ft,ht){const dt=sendQuery(j,ct,ft,(vt,$t)=>{et(),ht&&ht(vt,$t)});return _e.push(dt),dt}function tt(ct){return _e.find(ft=>ct(ft))||null}return{query:nt,find:tt,setIndex:ct=>{j.index=ct},getIndex:()=>j.index,cleanup:et}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(a){if(!redundancyCache[a]){const j=getAPIConfig(a);if(!j)return;const _e=initRedundancy(j),et={config:j,redundancy:_e};redundancyCache[a]=et}return redundancyCache[a]}function sendAPIQuery(a,j,_e){let et,nt;if(typeof a=="string"){const tt=getAPIModule(a);if(!tt)return _e(void 0,424),emptyCallback$1;nt=tt.send;const ot=getRedundancyCache(a);ot&&(et=ot.redundancy)}else{const tt=createAPIConfig(a);if(tt){et=initRedundancy(tt);const ot=a.resources?a.resources[0]:"",ct=getAPIModule(ot);ct&&(nt=ct.send)}}return!et||!nt?(_e(void 0,424),emptyCallback$1):et.query(j,nt,_e)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(a,j){try{return a.getItem(j)}catch{}}function setStoredItem(a,j,_e){try{return a.setItem(j,_e),!0}catch{}}function removeStoredItem(a,j){try{a.removeItem(j)}catch{}}function setBrowserStorageItemsCount(a,j){return setStoredItem(a,browserCacheCountKey,j.toString())}function getBrowserStorageItemsCount(a){return parseInt(getStoredItem(a,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(a){browserStorageStatus=a}let _window=typeof window>"u"?{}:window;function getBrowserStorage(a){const j=a+"Storage";try{if(_window&&_window[j]&&typeof _window[j].length=="number")return _window[j]}catch{}browserStorageConfig[a]=!1}function iterateBrowserStorage(a,j){const _e=getBrowserStorage(a);if(!_e)return;const et=getStoredItem(_e,browserCacheVersionKey);if(et!==browserCacheVersion){if(et){const ct=getBrowserStorageItemsCount(_e);for(let ft=0;ft<ct;ft++)removeStoredItem(_e,browserCachePrefix+ft.toString())}setStoredItem(_e,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(_e,0);return}const nt=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,tt=ct=>{const ft=browserCachePrefix+ct.toString(),ht=getStoredItem(_e,ft);if(typeof ht=="string"){try{const dt=JSON.parse(ht);if(typeof dt=="object"&&typeof dt.cached=="number"&&dt.cached>nt&&typeof dt.provider=="string"&&typeof dt.data=="object"&&typeof dt.data.prefix=="string"&&j(dt,ct))return!0}catch{}removeStoredItem(_e,ft)}};let ot=getBrowserStorageItemsCount(_e);for(let ct=ot-1;ct>=0;ct--)tt(ct)||(ct===ot-1?(ot--,setBrowserStorageItemsCount(_e,ot)):browserStorageEmptyItems[a].add(ct))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const a in browserStorageConfig)iterateBrowserStorage(a,j=>{const _e=j.data,et=j.provider,nt=_e.prefix,tt=getStorage(et,nt);if(!addIconSet(tt,_e).length)return!1;const ot=_e.lastModified||-1;return tt.lastModifiedCached=tt.lastModifiedCached?Math.min(tt.lastModifiedCached,ot):ot,!0})}}function updateLastModified(a,j){const _e=a.lastModifiedCached;if(_e&&_e>=j)return _e===j;if(a.lastModifiedCached=j,_e)for(const et in browserStorageConfig)iterateBrowserStorage(et,nt=>{const tt=nt.data;return nt.provider!==a.provider||tt.prefix!==a.prefix||tt.lastModified===j});return!0}function storeInBrowserStorage(a,j){browserStorageStatus||initBrowserStorage();function _e(et){let nt;if(!browserStorageConfig[et]||!(nt=getBrowserStorage(et)))return;const tt=browserStorageEmptyItems[et];let ot;if(tt.size)tt.delete(ot=Array.from(tt).shift());else if(ot=getBrowserStorageItemsCount(nt),!setBrowserStorageItemsCount(nt,ot+1))return;const ct={cached:Math.floor(Date.now()/browserStorageHour),provider:a.provider,data:j};return setStoredItem(nt,browserCachePrefix+ot.toString(),JSON.stringify(ct))}j.lastModified&&!updateLastModified(a,j.lastModified)||Object.keys(j.icons).length&&(j.not_found&&(j=Object.assign({},j),delete j.not_found),_e("local")||_e("session"))}function emptyCallback(){}function loadedNewIcons(a){a.iconsLoaderFlag||(a.iconsLoaderFlag=!0,setTimeout(()=>{a.iconsLoaderFlag=!1,updateCallbacks(a)}))}function loadNewIcons(a,j){a.iconsToLoad?a.iconsToLoad=a.iconsToLoad.concat(j).sort():a.iconsToLoad=j,a.iconsQueueFlag||(a.iconsQueueFlag=!0,setTimeout(()=>{a.iconsQueueFlag=!1;const{provider:_e,prefix:et}=a,nt=a.iconsToLoad;delete a.iconsToLoad;let tt;if(!nt||!(tt=getAPIModule(_e)))return;tt.prepare(_e,et,nt).forEach(ct=>{sendAPIQuery(_e,ct,ft=>{if(typeof ft!="object")ct.icons.forEach(ht=>{a.missing.add(ht)});else try{const ht=addIconSet(a,ft);if(!ht.length)return;const dt=a.pendingIcons;dt&&ht.forEach(vt=>{dt.delete(vt)}),storeInBrowserStorage(a,ft)}catch(ht){console.error(ht)}loadedNewIcons(a)})})}))}const loadIcons=(a,j)=>{const _e=listToIcons(a,!0,allowSimpleNames()),et=sortIcons(_e);if(!et.pending.length){let ft=!0;return j&&setTimeout(()=>{ft&&j(et.loaded,et.missing,et.pending,emptyCallback)}),()=>{ft=!1}}const nt=Object.create(null),tt=[];let ot,ct;return et.pending.forEach(ft=>{const{provider:ht,prefix:dt}=ft;if(dt===ct&&ht===ot)return;ot=ht,ct=dt,tt.push(getStorage(ht,dt));const vt=nt[ht]||(nt[ht]=Object.create(null));vt[dt]||(vt[dt]=[])}),et.pending.forEach(ft=>{const{provider:ht,prefix:dt,name:vt}=ft,$t=getStorage(ht,dt),xt=$t.pendingIcons||($t.pendingIcons=new Set);xt.has(vt)||(xt.add(vt),nt[ht][dt].push(vt))}),tt.forEach(ft=>{const{provider:ht,prefix:dt}=ft;nt[ht][dt].length&&loadNewIcons(ft,nt[ht][dt])}),j?storeCallback(j,et,tt):emptyCallback},loadIcon=a=>new Promise((j,_e)=>{const et=typeof a=="string"?stringToIcon(a,!0):a;if(!et){_e(a);return}loadIcons([et||a],nt=>{if(nt.length&&et){const tt=getIconData(et);if(tt){j({...defaultIconProps,...tt});return}}_e(a)})});function mergeCustomisations(a,j){const _e={...a};for(const et in j){const nt=j[et],tt=typeof nt;et in defaultIconSizeCustomisations?(nt===null||nt&&(tt==="string"||tt==="number"))&&(_e[et]=nt):tt===typeof _e[et]&&(_e[et]=et==="rotate"?nt%4:nt)}return _e}const separator=/[\s,]+/;function flipFromString(a,j){j.split(separator).forEach(_e=>{switch(_e.trim()){case"horizontal":a.hFlip=!0;break;case"vertical":a.vFlip=!0;break}})}function rotateFromString(a,j=0){const _e=a.replace(/^-?[0-9.]*/,"");function et(nt){for(;nt<0;)nt+=4;return nt%4}if(_e===""){const nt=parseInt(a);return isNaN(nt)?0:et(nt)}else if(_e!==a){let nt=0;switch(_e){case"%":nt=25;break;case"deg":nt=90}if(nt){let tt=parseFloat(a.slice(0,a.length-_e.length));return isNaN(tt)?0:(tt=tt/nt,tt%1===0?et(tt):0)}}return j}function iconToHTML(a,j){let _e=a.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const et in j)_e+=" "+et+'="'+j[et]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+_e+">"+a+"</svg>"}function encodeSVGforURL(a){return a.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(a){return"data:image/svg+xml,"+encodeSVGforURL(a)}function svgToURL(a){return'url("'+svgToData(a)+'")'}let policy;function createPolicy(){try{policy=window.trustedTypes.createPolicy("iconify",{createHTML:a=>a})}catch{policy=null}}function cleanUpInnerHTML(a){return policy===void 0&&createPolicy(),policy?policy.createHTML(a):a}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={WebkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const a in propsToAddTo){const j=propsToAddTo[a];for(const _e in propsToAdd)j[a+_e]=propsToAdd[_e]}const inlineDefaults={...defaultExtendedIconCustomisations,inline:!0};function fixSize(a){return a+(a.match(/^[-0-9.]+$/)?"px":"")}const render=(a,j,_e,et)=>{const nt=_e?inlineDefaults:defaultExtendedIconCustomisations,tt=mergeCustomisations(nt,j),ot=j.mode||"svg",ct={},ft=j.style||{},ht={...ot==="svg"?svgDefaults:{},ref:et};for(let Rt in j){const It=j[Rt];if(It!==void 0)switch(Rt){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":tt[Rt]=It===!0||It==="true"||It===1;break;case"flip":typeof It=="string"&&flipFromString(tt,It);break;case"color":ct.color=It;break;case"rotate":typeof It=="string"?tt[Rt]=rotateFromString(It):typeof It=="number"&&(tt[Rt]=It);break;case"ariaHidden":case"aria-hidden":It!==!0&&It!=="true"&&delete ht["aria-hidden"];break;default:nt[Rt]===void 0&&(ht[Rt]=It)}}const dt=iconToSVG(a,tt),vt=dt.attributes;if(tt.inline&&(ct.verticalAlign="-0.125em"),ot==="svg"){ht.style={...ct,...ft},Object.assign(ht,vt);let Rt=0,It=j.id;return typeof It=="string"&&(It=It.replace(/-/g,"_")),ht.dangerouslySetInnerHTML={__html:cleanUpInnerHTML(replaceIDs(dt.body,It?()=>It+"ID"+Rt++:"iconifyReact"))},React$2.createElement("svg",ht)}const{body:$t,width:xt,height:At}=a,wt=ot==="mask"||(ot==="bg"?!1:$t.indexOf("currentColor")!==-1),Ct=iconToHTML($t,{...vt,width:xt+"",height:At+""});return ht.style={...ct,"--svg":svgToURL(Ct),width:fixSize(vt.width),height:fixSize(vt.height),...commonProps,...wt?monotoneProps:coloredProps,...ft},React$2.createElement("span",ht)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const a=window;if(a.IconifyPreload!==void 0){const j=a.IconifyPreload,_e="Invalid IconifyPreload syntax.";typeof j=="object"&&j!==null&&(j instanceof Array?j:[j]).forEach(et=>{try{(typeof et!="object"||et===null||et instanceof Array||typeof et.icons!="object"||typeof et.prefix!="string"||!addCollection(et))&&console.error(_e)}catch{console.error(_e)}})}if(a.IconifyProviders!==void 0){const j=a.IconifyProviders;if(typeof j=="object"&&j!==null)for(let _e in j){const et="IconifyProviders["+_e+"] is invalid.";try{const nt=j[_e];if(typeof nt!="object"||!nt||nt.resources===void 0)continue;addAPIProvider(_e,nt)||console.error(et)}catch{console.error(et)}}}}class IconComponent extends React$2.Component{constructor(j){super(j),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(j){this.state.icon!==j&&this.setState({icon:j})}_checkIcon(j){const _e=this.state,et=this.props.icon;if(typeof et=="object"&&et!==null&&typeof et.body=="string"){this._icon="",this._abortLoading(),(j||_e.icon===null)&&this._setData({data:et});return}let nt;if(typeof et!="string"||(nt=stringToIcon(et,!1,!0))===null){this._abortLoading(),this._setData(null);return}const tt=getIconData(nt);if(!tt){(!this._loading||this._loading.name!==et)&&(this._abortLoading(),this._icon="",this._setData(null),tt!==null&&(this._loading={name:et,abort:loadIcons([nt],this._checkIcon.bind(this,!1))}));return}if(this._icon!==et||_e.icon===null){this._abortLoading(),this._icon=et;const ot=["iconify"];nt.prefix!==""&&ot.push("iconify--"+nt.prefix),nt.provider!==""&&ot.push("iconify--"+nt.provider),this._setData({data:tt,classes:ot}),this.props.onLoad&&this.props.onLoad(et)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(j){j.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const j=this.props,_e=this.state.icon;if(_e===null)return j.children?j.children:React$2.createElement("span",{});let et=j;return _e.classes&&(et={...j,className:(typeof j.className=="string"?j.className+" ":"")+_e.classes.join(" ")}),render({...defaultIconProps,..._e.data},et,j._inline,j._ref)}}const Icon=React$2.forwardRef(function(j,_e){const et={...j,_ref:_e,_inline:!1};return React$2.createElement(IconComponent,et)});React$2.forwardRef(function(j,_e){const et={...j,_ref:_e,_inline:!0};return React$2.createElement(IconComponent,et)});const data$w={width:24,height:24,body:'<path fill="currentColor" d="M9.575 12L5.7 8.1q-.275-.275-.288-.688T5.7 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.062.375t-.213.325l-4.6 4.6q-.275.275-.687.288T5.7 17.3q-.275-.275-.275-.7t.275-.7L9.575 12Zm6.6 0L12.3 8.1q-.275-.275-.288-.688T12.3 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.6 4.6q-.275.275-.687.288T12.3 17.3q-.275-.275-.275-.7t.275-.7l3.875-3.9Z"/>'};var appleIphone=/iPhone/i,appleIpod=/iPod/i,appleTablet=/iPad/i,appleUniversal=/\biOS-universal(?:.+)Mac\b/i,androidPhone=/\bAndroid(?:.+)Mobile\b/i,androidTablet=/Android/i,amazonPhone=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,amazonTablet=/Silk/i,windowsPhone=/Windows Phone/i,windowsTablet=/\bWindows(?:.+)ARM\b/i,otherBlackBerry=/BlackBerry/i,otherBlackBerry10=/BB10/i,otherOpera=/Opera Mini/i,otherChrome=/\b(CriOS|Chrome)(?:.+)Mobile/i,otherFirefox=/Mobile(?:.+)Firefox\b/i,isAppleTabletOnIos13=function(a){return typeof a<"u"&&a.platform==="MacIntel"&&typeof a.maxTouchPoints=="number"&&a.maxTouchPoints>1&&typeof MSStream>"u"};function createMatch(a){return function(j){return j.test(a)}}function isMobile(a){var j={userAgent:"",platform:"",maxTouchPoints:0};!a&&typeof navigator<"u"?j={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof a=="string"?j.userAgent=a:a&&a.userAgent&&(j={userAgent:a.userAgent,platform:a.platform,maxTouchPoints:a.maxTouchPoints||0});var _e=j.userAgent,et=_e.split("[FBAN");typeof et[1]<"u"&&(_e=et[0]),et=_e.split("Twitter"),typeof et[1]<"u"&&(_e=et[0]);var nt=createMatch(_e),tt={apple:{phone:nt(appleIphone)&&!nt(windowsPhone),ipod:nt(appleIpod),tablet:!nt(appleIphone)&&(nt(appleTablet)||isAppleTabletOnIos13(j))&&!nt(windowsPhone),universal:nt(appleUniversal),device:(nt(appleIphone)||nt(appleIpod)||nt(appleTablet)||nt(appleUniversal)||isAppleTabletOnIos13(j))&&!nt(windowsPhone)},amazon:{phone:nt(amazonPhone),tablet:!nt(amazonPhone)&&nt(amazonTablet),device:nt(amazonPhone)||nt(amazonTablet)},android:{phone:!nt(windowsPhone)&&nt(amazonPhone)||!nt(windowsPhone)&&nt(androidPhone),tablet:!nt(windowsPhone)&&!nt(amazonPhone)&&!nt(androidPhone)&&(nt(amazonTablet)||nt(androidTablet)),device:!nt(windowsPhone)&&(nt(amazonPhone)||nt(amazonTablet)||nt(androidPhone)||nt(androidTablet))||nt(/\bokhttp\b/i)},windows:{phone:nt(windowsPhone),tablet:nt(windowsTablet),device:nt(windowsPhone)||nt(windowsTablet)},other:{blackberry:nt(otherBlackBerry),blackberry10:nt(otherBlackBerry10),opera:nt(otherOpera),firefox:nt(otherFirefox),chrome:nt(otherChrome),device:nt(otherBlackBerry)||nt(otherBlackBerry10)||nt(otherOpera)||nt(otherFirefox)||nt(otherChrome)},any:!1,phone:!1,tablet:!1};return tt.any=tt.apple.device||tt.android.device||tt.windows.device||tt.other.device,tt.phone=tt.apple.phone||tt.android.phone||tt.windows.phone,tt.tablet=tt.apple.tablet||tt.android.tablet||tt.windows.tablet,tt}const DID_WALLET_TAG="ABTWallet",ARC_SPHERE_TAG="ArcSphere";function getDIDWalletVersion(a){var nt;const _e=new RegExp(`${DID_WALLET_TAG}/(?<version>[0-9.]+)`,"g").exec(a);return(nt=_e==null?void 0:_e.groups)==null?void 0:nt.version}function useBrowser(){var _e;const a=(_e=window==null?void 0:window.navigator)==null?void 0:_e.userAgent,[j]=reactExports.useState({wallet:a.indexOf(DID_WALLET_TAG)>-1||a.indexOf(ARC_SPHERE_TAG)>-1,walletVersion:getDIDWalletVersion(a),wechat:/MicroMessenger/i.test(a),mobile:{apple:{phone:!1,ipod:!1,tablet:!1,device:!1},amazon:{phone:!1,tablet:!1,device:!1},android:{phone:!1,tablet:!1,device:!1},windows:{phone:!1,tablet:!1,device:!1},other:{blackberry:!1,blackberry10:!1,opera:!1,firefox:!1,chrome:!1,device:!1},phone:!1,tablet:!1,any:!1,...isMobile(a)}});return j}const extendedColors={did:{contained:{backgroundColor:colors$2.did.primary,color:colors$2.common.white},outlined:{borderColor:colors$2.did.primary,color:colors$2.did.primary}},reverse:{contained:{backgroundColor:"rgba(255, 255, 255, 0.9)",color:colors$2.grey[900]},outlined:{borderColor:colors$2.grey[900],color:colors$2.grey[900]}}};function wrap$1(a){function j(_e){const et=mergeProps(_e,j,["style"]),{children:nt,rounded:tt,loading:ot,disabled:ct,style:ft,forwardedRef:ht,color:dt,...vt}=et,$t=ct||ot;let xt=16;switch(vt.size){case"small":xt=14;break;case"large":xt=18;break}const At=extendedColors[dt]&&extendedColors[dt][vt.variant],wt=Object.assign({},{boxShadow:"none",textTransform:"capitalize",...At},ft);let Ct=vt;return At||(Ct={...Ct,color:dt}),tt&&(wt.borderRadius="100vw"),jsxRuntimeExports.jsxs(a,{style:wt,ref:ht,disabled:$t,...Ct,children:[ot&&jsxRuntimeExports.jsx(CircularProgress,{size:xt,style:{marginRight:5}}),nt]})}return j.propTypes={children:PropTypes.any.isRequired,style:PropTypes.oneOfType([PropTypes.object,PropTypes.string]),size:PropTypes.oneOf(["large","medium","small"]),forwardedRef:PropTypes.any,rounded:PropTypes.bool},j.defaultProps={rounded:!1,size:"medium",forwardedRef:null,style:{}},reactExports.forwardRef((_e,et)=>jsxRuntimeExports.jsx(j,{..._e,forwardedRef:et}))}const ButtonComponent=wrap$1(Button$1);function Dialog({children:a,title:j,prepend:_e,toolbar:et,actions:nt,showCloseButton:tt,actionsPosition:ot,PaperProps:ct,slotProps:ft,...ht}){const dt=useTheme$1(),vt=useMediaQuery(dt.breakpoints.down("md")),$t=j||tt||et,xt=(wt,Ct)=>{const{onClose:Rt}=ht;Rt&&Rt(wt,Ct)};ct.style=Object.assign({minWidth:300,minHeight:300},ct.style);const At=jsxRuntimeExports.jsx(IconButton,{className:"ux-dialog_closeButton",onClick:wt=>xt(wt,"closeButton"),children:jsxRuntimeExports.jsx(default_1$7,{})});return jsxRuntimeExports.jsxs(StyledMuiDialog,{fullScreen:vt,onClose:xt,PaperProps:ct,...ht,children:[$t&&jsxRuntimeExports.jsxs(Header$1,{...ft.header,className:"ux-dialog_header",isMobile:vt,children:[jsxRuntimeExports.jsxs("div",{className:"ux-dialog_left",children:[tt&&vt&&At,_e&&jsxRuntimeExports.jsx("div",{className:"ux-dialog_prepend",children:_e}),j&&jsxRuntimeExports.jsx(Typography,{variant:"h6",className:"ux-dialog_title",children:j})]}),jsxRuntimeExports.jsxs("div",{className:"ux-dialog_right",children:[jsxRuntimeExports.jsx("div",{className:"ux-dialog_toolbar",children:et}),tt&&!vt&&At]})]}),jsxRuntimeExports.jsx(DialogContent,{...ft.content,children:a}),nt&&jsxRuntimeExports.jsx(DialogActions,{className:`ux-dialog_actions--${ot}`,children:nt})]})}Dialog.propTypes={children:PropTypes.node.isRequired,title:PropTypes.node,prepend:PropTypes.node,toolbar:PropTypes.node,actions:PropTypes.node,showCloseButton:PropTypes.bool,actionsPosition:PropTypes.oneOf(["left","center","right"]),PaperProps:PropTypes.object,slotProps:PropTypes.shape({content:PropTypes.object,header:PropTypes.object}),onClose:PropTypes.func};Dialog.defaultProps={title:"",prepend:null,toolbar:null,actions:null,showCloseButton:!0,actionsPosition:"right",PaperProps:{},slotProps:{},onClose:void 0};const StyledMuiDialog=styled(Dialog$1)`
|
|
260
|
+
0 22,12A10,10 0 0,0 12,2Z`}))},iconStyles={fontSize:20,marginInlineEnd:8},defaultIconVariants={default:void 0,success:React$2.createElement(CheckIcon,{style:iconStyles}),warning:React$2.createElement(WarningIcon,{style:iconStyles}),error:React$2.createElement(ErrorIcon,{style:iconStyles}),info:React$2.createElement(InfoIcon,{style:iconStyles})};function createChainedFunction(a,j){return a.reduce(function(_e,et){return et==null?_e:function(){for(var tt=arguments.length,ot=new Array(tt),ct=0;ct<tt;ct++)ot[ct]=arguments[ct];var ft=[].concat(ot);j&&ft.indexOf(j)===-1&&ft.push(j),_e.apply(this,ft),et.apply(this,ft)}},function(){})}var useEnhancedEffect=typeof window<"u"?reactExports.useLayoutEffect:reactExports.useEffect;function useEventCallback(a){var j=reactExports.useRef(a);return useEnhancedEffect(function(){j.current=a}),reactExports.useCallback(function(){return j.current.apply(void 0,arguments)},[])}var Snackbar=reactExports.forwardRef(function(a,j){var _e=a.children,et=a.autoHideDuration,nt=a.ClickAwayListenerProps,tt=a.disableWindowBlurListener,ot=tt===void 0?!1:tt,ct=a.onClose,ft=a.onMouseEnter,ht=a.onMouseLeave,dt=a.open,vt=a.resumeHideDuration,$t=_objectWithoutPropertiesLoose(a,["children","autoHideDuration","ClickAwayListenerProps","disableWindowBlurListener","onClose","onMouseEnter","onMouseLeave","open","resumeHideDuration"]),xt=reactExports.useRef(),At=useEventCallback(function(){ct&&ct.apply(void 0,arguments)}),wt=useEventCallback(function(zt){!ct||zt==null||(clearTimeout(xt.current),xt.current=setTimeout(function(){At(null,REASONS.TIMEOUT)},zt))});reactExports.useEffect(function(){return dt&&wt(et),function(){clearTimeout(xt.current)}},[dt,et,wt]);var Ct=function(){clearTimeout(xt.current)},Rt=reactExports.useCallback(function(){et!=null&&wt(vt??et*.5)},[et,vt,wt]),It=function(jt){ft&&ft(jt),Ct()},Mt=function(jt){ht&&ht(jt),Rt()},Ot=function(jt){ct&&ct(jt,REASONS.CLICKAWAY)};return reactExports.useEffect(function(){if(!ot&&dt)return window.addEventListener("focus",Rt),window.addEventListener("blur",Ct),function(){window.removeEventListener("focus",Rt),window.removeEventListener("blur",Ct)}},[ot,Rt,dt]),reactExports.createElement(ClickAwayListener,_extends({onClickAway:Ot},nt),reactExports.createElement("div",_extends({onMouseEnter:It,onMouseLeave:Mt,ref:j},$t),_e))}),componentName$1="SnackbarItem",classes$1$1={contentRoot:componentName$1+"-contentRoot",lessPadding:componentName$1+"-lessPadding",variantSuccess:componentName$1+"-variantSuccess",variantError:componentName$1+"-variantError",variantInfo:componentName$1+"-variantInfo",variantWarning:componentName$1+"-variantWarning",message:componentName$1+"-message",action:componentName$1+"-action",wrappedRoot:componentName$1+"-wrappedRoot"},StyledSnackbar=styled$1(Snackbar)(function(a){var j,_e=a.theme,et=_e.palette.mode||_e.palette.type,nt=emphasize$1(_e.palette.background.default,et==="light"?.8:.98);return j={},j["&."+classes$1$1.wrappedRoot]={position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0},j["."+classes$1$1.contentRoot]=_extends({},_e.typography.body2,{backgroundColor:nt,color:_e.palette.getContrastText(nt),alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"}),j["."+classes$1$1.lessPadding]={paddingLeft:8*2.5},j["."+classes$1$1.variantSuccess]={backgroundColor:"#43a047",color:"#fff"},j["."+classes$1$1.variantError]={backgroundColor:"#d32f2f",color:"#fff"},j["."+classes$1$1.variantInfo]={backgroundColor:"#2196f3",color:"#fff"},j["."+classes$1$1.variantWarning]={backgroundColor:"#ff9800",color:"#fff"},j["."+classes$1$1.message]={display:"flex",alignItems:"center",padding:"8px 0"},j["."+classes$1$1.action]={display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8},j}),SnackbarItem=function(j){var _e=j.classes,et=_objectWithoutPropertiesLoose(j,["classes"]),nt=reactExports.useRef(),tt=reactExports.useState(!0),ot=tt[0],ct=tt[1];reactExports.useEffect(function(){return function(){nt.current&&clearTimeout(nt.current)}},[]);var ft=createChainedFunction([et.snack.onClose,et.onClose],et.snack.key),ht=function(){et.snack.requestClose&&ft(null,REASONS.INSTRCUTED)},dt=function(){nt.current=setTimeout(function(){ct(!ot)},125)},vt=et.style,$t=et.ariaAttributes,xt=et.className,At=et.hideIconVariant,wt=et.iconVariant,Ct=et.snack,Rt=et.action,It=et.content,Mt=et.TransitionComponent,Ot=et.TransitionProps,zt=et.transitionDuration,jt=_objectWithoutPropertiesLoose(et,["style","dense","ariaAttributes","className","hideIconVariant","iconVariant","snack","action","content","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),Gt=Ct.key,Jt=Ct.open,Xt=Ct.className,dn=Ct.variant,St=Ct.content,rt=Ct.action,st=Ct.ariaAttributes,ut=Ct.anchorOrigin,pt=Ct.message,mt=Ct.TransitionComponent,Et=Ct.TransitionProps,Tt=Ct.transitionDuration,yt=_objectWithoutPropertiesLoose(Ct,["persist","key","open","entered","requestClose","className","variant","content","action","ariaAttributes","anchorOrigin","message","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),it=_extends({},defaultIconVariants,{},wt)[dn],bt=_extends({"aria-describedby":"notistack-snackbar"},objectMerge(st,$t)),kt=mt||Mt||DEFAULTS.TransitionComponent,Dt=objectMerge(Tt,zt,DEFAULTS.transitionDuration),Ut=_extends({direction:getTransitionDirection(ut)},objectMerge(Et,Ot)),Lt=rt||Rt;typeof Lt=="function"&&(Lt=Lt(Gt));var Vt=St||It;typeof Vt=="function"&&(Vt=Vt(Gt,Ct.message));var Nt=["onEnter","onEntering","onEntered","onExit","onExiting","onExited"].reduce(function(Yt,tn){var an;return _extends({},Yt,(an={},an[tn]=createChainedFunction([et.snack[tn],et[tn]],et.snack.key),an))},{});return React$2.createElement(Collapse,{unmountOnExit:!0,timeout:175,in:ot,onExited:Nt.onExited},React$2.createElement(StyledSnackbar,Object.assign({},jt,yt,{open:Jt,className:clsx(_e.root,classes$1$1.wrappedRoot,_e[transformer.toAnchorOrigin(ut)]),onClose:ft}),React$2.createElement(kt,Object.assign({appear:!0,in:Jt,timeout:Dt},Ut,{onExit:Nt.onExit,onExiting:Nt.onExiting,onExited:dt,onEnter:Nt.onEnter,onEntering:Nt.onEntering,onEntered:createChainedFunction([Nt.onEntered,ht])}),Vt||React$2.createElement(SnackbarContent,Object.assign({},bt,{role:"alert",style:vt,className:clsx(classes$1$1.contentRoot,classes$1$1[transformer.toVariant(dn)],_e[transformer.toVariant(dn)],xt,Xt,!At&&it&&classes$1$1.lessPadding)}),React$2.createElement("div",{id:bt["aria-describedby"],className:classes$1$1.message},At?null:it,pt),Lt&&React$2.createElement("div",{className:classes$1$1.action},Lt)))))},collapse={container:"& > .MuiCollapse-container, & > .MuiCollapse-root",wrapper:"& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper"},xsWidthMargin=16,componentName$2="SnackbarContainer",classes$2={root:componentName$2+"-root",rootDense:componentName$2+"-rootDense",top:componentName$2+"-top",bottom:componentName$2+"-bottom",left:componentName$2+"-left",right:componentName$2+"-right",center:componentName$2+"-center"},Root$1$1=styled$1("div")(function(a){var j,_e,et,nt,tt,ot,ct=a.theme;return ot={},ot["&."+classes$2.root]=(j={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:ct.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"},j[collapse.container]={pointerEvents:"all"},j[collapse.wrapper]={padding:SNACKBAR_INDENTS.snackbar.default+"px 0px",transition:"padding 300ms ease 0ms"},j.maxWidth="calc(100% - "+SNACKBAR_INDENTS.view.default*2+"px)",j[ct.breakpoints.down("sm")]={width:"100%",maxWidth:"calc(100% - "+xsWidthMargin*2+"px)"},j),ot["&."+classes$2.rootDense]=(_e={},_e[collapse.wrapper]={padding:SNACKBAR_INDENTS.snackbar.dense+"px 0px"},_e),ot["&."+classes$2.top]={top:SNACKBAR_INDENTS.view.default-SNACKBAR_INDENTS.snackbar.default,flexDirection:"column"},ot["&."+classes$2.bottom]={bottom:SNACKBAR_INDENTS.view.default-SNACKBAR_INDENTS.snackbar.default,flexDirection:"column-reverse"},ot["&."+classes$2.left]=(et={left:SNACKBAR_INDENTS.view.default},et[ct.breakpoints.up("sm")]={alignItems:"flex-start"},et[ct.breakpoints.down("sm")]={left:xsWidthMargin+"px"},et),ot["&."+classes$2.right]=(nt={right:SNACKBAR_INDENTS.view.default},nt[ct.breakpoints.up("sm")]={alignItems:"flex-end"},nt[ct.breakpoints.down("sm")]={right:xsWidthMargin+"px"},nt),ot["&."+classes$2.center]=(tt={left:"50%",transform:"translateX(-50%)"},tt[ct.breakpoints.up("sm")]={alignItems:"center"},tt),ot}),SnackbarContainer=function(j){var _e=j.className,et=j.anchorOrigin,nt=j.dense,tt=_objectWithoutPropertiesLoose(j,["className","anchorOrigin","dense"]),ot=clsx(classes$2[et.vertical],classes$2[et.horizontal],classes$2.root,_e,nt&&classes$2.rootDense);return React$2.createElement(Root$1$1,Object.assign({className:ot},tt))},SnackbarContainer$1=React$2.memo(SnackbarContainer),SnackbarProvider=function(a){_inheritsLoose$1(j,a);function j(et){var nt;return nt=a.call(this,et)||this,nt.enqueueSnackbar=function(tt,ot){ot===void 0&&(ot={});var ct=ot,ft=ct.key,ht=ct.preventDuplicate,dt=_objectWithoutPropertiesLoose(ct,["key","preventDuplicate"]),vt=isDefined(ft),$t=vt?ft:new Date().getTime()+Math.random(),xt=merge$3(dt,nt.props,DEFAULTS),At=_extends({key:$t},dt,{message:tt,open:!0,entered:!1,requestClose:!1,variant:xt("variant"),anchorOrigin:xt("anchorOrigin"),autoHideDuration:xt("autoHideDuration")});return dt.persist&&(At.autoHideDuration=void 0),nt.setState(function(wt){if(ht===void 0&&nt.props.preventDuplicate||ht){var Ct=function(Ot){return vt?Ot.key===ft:Ot.message===tt},Rt=wt.queue.findIndex(Ct)>-1,It=wt.snacks.findIndex(Ct)>-1;if(Rt||It)return wt}return nt.handleDisplaySnack(_extends({},wt,{queue:[].concat(wt.queue,[At])}))}),$t},nt.handleDisplaySnack=function(tt){var ot=tt.snacks;return ot.length>=nt.maxSnack?nt.handleDismissOldest(tt):nt.processQueue(tt)},nt.processQueue=function(tt){var ot=tt.queue,ct=tt.snacks;return ot.length>0?_extends({},tt,{snacks:[].concat(ct,[ot[0]]),queue:ot.slice(1,ot.length)}):tt},nt.handleDismissOldest=function(tt){if(tt.snacks.some(function(dt){return!dt.open||dt.requestClose}))return tt;var ot=!1,ct=!1,ft=tt.snacks.reduce(function(dt,vt){return dt+(vt.open&&vt.persist?1:0)},0);ft===nt.maxSnack&&(ct=!0);var ht=tt.snacks.map(function(dt){return!ot&&(!dt.persist||ct)?(ot=!0,dt.entered?(dt.onClose&&dt.onClose(null,REASONS.MAXSNACK,dt.key),nt.props.onClose&&nt.props.onClose(null,REASONS.MAXSNACK,dt.key),_extends({},dt,{open:!1})):_extends({},dt,{requestClose:!0})):_extends({},dt)});return _extends({},tt,{snacks:ht})},nt.handleEnteredSnack=function(tt,ot,ct){if(!isDefined(ct))throw new Error("handleEnteredSnack Cannot be called with undefined key");nt.setState(function(ft){var ht=ft.snacks;return{snacks:ht.map(function(dt){return dt.key===ct?_extends({},dt,{entered:!0}):_extends({},dt)})}})},nt.handleCloseSnack=function(tt,ot,ct){if(nt.props.onClose&&nt.props.onClose(tt,ot,ct),ot!==REASONS.CLICKAWAY){var ft=ct===void 0;nt.setState(function(ht){var dt=ht.snacks,vt=ht.queue;return{snacks:dt.map(function($t){return!ft&&$t.key!==ct?_extends({},$t):$t.entered?_extends({},$t,{open:!1}):_extends({},$t,{requestClose:!0})}),queue:vt.filter(function($t){return $t.key!==ct})}})}},nt.closeSnackbar=function(tt){var ot=nt.state.snacks.find(function(ct){return ct.key===tt});isDefined(tt)&&ot&&ot.onClose&&ot.onClose(null,REASONS.INSTRUCTED,tt),nt.handleCloseSnack(null,REASONS.INSTRUCTED,tt)},nt.handleExitedSnack=function(tt,ot,ct){var ft=ot||ct;if(!isDefined(ft))throw new Error("handleExitedSnack Cannot be called with undefined key");nt.setState(function(ht){var dt=nt.processQueue(_extends({},ht,{snacks:ht.snacks.filter(function(vt){return vt.key!==ft})}));return dt.queue.length===0?dt:nt.handleDismissOldest(dt)})},nt.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:nt.enqueueSnackbar.bind(_assertThisInitialized(nt)),closeSnackbar:nt.closeSnackbar.bind(_assertThisInitialized(nt))}},nt}var _e=j.prototype;return _e.render=function(){var nt=this,tt=this.state.contextValue,ot=this.props,ct=ot.iconVariant,ft=ot.dense,ht=ft===void 0?DEFAULTS.dense:ft,dt=ot.hideIconVariant,vt=dt===void 0?DEFAULTS.hideIconVariant:dt,$t=ot.domRoot,xt=ot.children,At=ot.classes,wt=At===void 0?{}:At,Ct=_objectWithoutPropertiesLoose(ot,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),Rt=this.state.snacks.reduce(function(Mt,Ot){var zt,jt=originKeyExtractor(Ot.anchorOrigin),Gt=Mt[jt]||[];return _extends({},Mt,(zt={},zt[jt]=[].concat(Gt,[Ot]),zt))},{}),It=Object.keys(Rt).map(function(Mt){var Ot=Rt[Mt];return React$2.createElement(SnackbarContainer$1,{key:Mt,dense:ht,anchorOrigin:Ot[0].anchorOrigin,className:clsx(wt.containerRoot,wt[transformer.toContainerAnchorOrigin(Mt)])},Ot.map(function(zt){return React$2.createElement(SnackbarItem,Object.assign({},Ct,{key:zt.key,snack:zt,dense:ht,iconVariant:ct,hideIconVariant:vt,classes:omitContainerKeys(wt),onClose:nt.handleCloseSnack,onExited:createChainedFunction([nt.handleExitedSnack,nt.props.onExited]),onEntered:createChainedFunction([nt.handleEnteredSnack,nt.props.onEntered])}))}))});return React$2.createElement(SnackbarContext.Provider,{value:tt},xt,$t?reactDomExports.createPortal(It,$t):It)},_createClass(j,[{key:"maxSnack",get:function(){return this.props.maxSnack||DEFAULTS.maxSnack}}]),j}(reactExports.Component),useSnackbar=function(){return reactExports.useContext(SnackbarContext)},Close={},createSvgIcon={};const require$$0$7=getAugmentedNamespace(utils$p);var hasRequiredCreateSvgIcon;function requireCreateSvgIcon(){return hasRequiredCreateSvgIcon||(hasRequiredCreateSvgIcon=1,function(a){"use client";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return j.createSvgIcon}});var j=require$$0$7}(createSvgIcon)),createSvgIcon}var _interopRequireDefault$7=interopRequireDefaultExports;Object.defineProperty(Close,"__esModule",{value:!0});var default_1$7=Close.default=void 0,_createSvgIcon$4=_interopRequireDefault$7(requireCreateSvgIcon()),_jsxRuntime$6=jsxRuntimeExports;default_1$7=Close.default=(0,_createSvgIcon$4.default)((0,_jsxRuntime$6.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function noop$5(){}var noop_1=noop$5;const noop$6=getDefaultExportFromCjs$1(noop_1);let success=noop$6,error=noop$6,warning=noop$6,info=noop$6,close=noop$6;const genFn=(a,j)=>(_e,et={})=>a(_e,{autoHideDuration:5e3,variant:j,...et});function ToastProvider({children:a,anchorOrigin:j,..._e}){const et=reactExports.createRef(),nt=tt=>()=>{var ot;(ot=et.current)==null||ot.closeSnackbar(tt)};return jsxRuntimeExports.jsxs(SnackbarProvider,{anchorOrigin:{vertical:"top",horizontal:"right",...j},..._e,ref:et,action:tt=>jsxRuntimeExports.jsx(IconButton,{"aria-label":"close",color:"inherit",onClick:nt(tt),size:"large",children:jsxRuntimeExports.jsx(default_1$7,{style:{fontSize:16}})},"close"),children:[jsxRuntimeExports.jsx(Toast,{}),a]})}function Toast(){const{enqueueSnackbar:a,closeSnackbar:j}=useSnackbar();return success=genFn(a,"success"),error=genFn(a,"error"),warning=genFn(a,"warning"),info=genFn(a,"info"),close=j,null}const Toast$1={success:(a,j={})=>success(a,j),error:(a,j={autoHideDuration:15e3})=>error(a,j),warning:(a,j={})=>warning(a,j),info:(a,j={})=>info(a,j),close:a=>close(a)};var flat=flatten$4;flatten$4.flatten=flatten$4;flatten$4.unflatten=unflatten;function isBuffer$7(a){return a&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function keyIdentity(a){return a}function flatten$4(a,j){j=j||{};const _e=j.delimiter||".",et=j.maxDepth,nt=j.transformKey||keyIdentity,tt={};function ot(ct,ft,ht){ht=ht||1,Object.keys(ct).forEach(function(dt){const vt=ct[dt],$t=j.safe&&Array.isArray(vt),xt=Object.prototype.toString.call(vt),At=isBuffer$7(vt),wt=xt==="[object Object]"||xt==="[object Array]",Ct=ft?ft+_e+nt(dt):nt(dt);if(!$t&&!At&&wt&&Object.keys(vt).length&&(!j.maxDepth||ht<et))return ot(vt,Ct,ht+1);tt[Ct]=vt})}return ot(a),tt}function unflatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.overwrite||!1,nt=j.transformKey||keyIdentity,tt={};if(isBuffer$7(a)||Object.prototype.toString.call(a)!=="[object Object]")return a;function ct(dt){const vt=Number(dt);return isNaN(vt)||dt.indexOf(".")!==-1||j.object?dt:vt}function ft(dt,vt,$t){return Object.keys($t).reduce(function(xt,At){return xt[dt+_e+At]=$t[At],xt},vt)}function ht(dt){const vt=Object.prototype.toString.call(dt),$t=vt==="[object Array]",xt=vt==="[object Object]";if(dt){if($t)return!dt.length;if(xt)return!Object.keys(dt).length}else return!0}return a=Object.keys(a).reduce(function(dt,vt){const $t=Object.prototype.toString.call(a[vt]);return!($t==="[object Object]"||$t==="[object Array]")||ht(a[vt])?(dt[vt]=a[vt],dt):ft(vt,dt,flatten$4(a[vt],j))},{}),Object.keys(a).forEach(function(dt){const vt=dt.split(_e).map(nt);let $t=ct(vt.shift()),xt=ct(vt[0]),At=tt;for(;xt!==void 0;){if($t==="__proto__")return;const wt=Object.prototype.toString.call(At[$t]),Ct=wt==="[object Object]"||wt==="[object Array]";if(!et&&!Ct&&typeof At[$t]<"u")return;(et&&!Ct||!et&&At[$t]==null)&&(At[$t]=typeof xt=="number"&&!j.object?[]:{}),At=At[$t],vt.length>0&&($t=ct(vt.shift()),xt=ct(vt[0]))}At[$t]=unflatten(a[dt],j)}),tt}const Ie=getDefaultExportFromCjs$1(flat);var ListCache$4=_ListCache;function stackClear$1(){this.__data__=new ListCache$4,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(a){var j=this.__data__,_e=j.delete(a);return this.size=j.size,_e}var _stackDelete=stackDelete$1;function stackGet$1(a){return this.__data__.get(a)}var _stackGet=stackGet$1;function stackHas$1(a){return this.__data__.has(a)}var _stackHas=stackHas$1,ListCache$3=_ListCache,Map$4=_Map,MapCache$3=_MapCache,LARGE_ARRAY_SIZE$1=200;function stackSet$1(a,j){var _e=this.__data__;if(_e instanceof ListCache$3){var et=_e.__data__;if(!Map$4||et.length<LARGE_ARRAY_SIZE$1-1)return et.push([a,j]),this.size=++_e.size,this;_e=this.__data__=new MapCache$3(et)}return _e.set(a,j),this.size=_e.size,this}var _stackSet=stackSet$1,ListCache$2=_ListCache,stackClear=_stackClear,stackDelete=_stackDelete,stackGet=_stackGet,stackHas=_stackHas,stackSet=_stackSet;function Stack$4(a){var j=this.__data__=new ListCache$2(a);this.size=j.size}Stack$4.prototype.clear=stackClear;Stack$4.prototype.delete=stackDelete;Stack$4.prototype.get=stackGet;Stack$4.prototype.has=stackHas;Stack$4.prototype.set=stackSet;var _Stack=Stack$4,getNative$6=_getNative,defineProperty$4=function(){try{var a=getNative$6(Object,"defineProperty");return a({},"",{}),a}catch{}}(),_defineProperty$2=defineProperty$4,defineProperty$3=_defineProperty$2;function baseAssignValue$3(a,j,_e){j=="__proto__"&&defineProperty$3?defineProperty$3(a,j,{configurable:!0,enumerable:!0,value:_e,writable:!0}):a[j]=_e}var _baseAssignValue=baseAssignValue$3,baseAssignValue$2=_baseAssignValue,eq$8=eq_1$1;function assignMergeValue$2(a,j,_e){(_e!==void 0&&!eq$8(a[j],_e)||_e===void 0&&!(j in a))&&baseAssignValue$2(a,j,_e)}var _assignMergeValue=assignMergeValue$2;function createBaseFor$1(a){return function(j,_e,et){for(var nt=-1,tt=Object(j),ot=et(j),ct=ot.length;ct--;){var ft=ot[a?ct:++nt];if(_e(tt[ft],ft,tt)===!1)break}return j}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$2=createBaseFor(),_baseFor=baseFor$2,_cloneBuffer={exports:{}};_cloneBuffer.exports;(function(a,j){var _e=_root,et=j&&!j.nodeType&&j,nt=et&&!0&&a&&!a.nodeType&&a,tt=nt&&nt.exports===et,ot=tt?_e.Buffer:void 0,ct=ot?ot.allocUnsafe:void 0;function ft(ht,dt){if(dt)return ht.slice();var vt=ht.length,$t=ct?ct(vt):new ht.constructor(vt);return ht.copy($t),$t}a.exports=ft})(_cloneBuffer,_cloneBuffer.exports);var _cloneBufferExports=_cloneBuffer.exports,root$8=_root,Uint8Array$3=root$8.Uint8Array,_Uint8Array=Uint8Array$3,Uint8Array$2=_Uint8Array;function cloneArrayBuffer$3(a){var j=new a.constructor(a.byteLength);return new Uint8Array$2(j).set(new Uint8Array$2(a)),j}var _cloneArrayBuffer=cloneArrayBuffer$3,cloneArrayBuffer$2=_cloneArrayBuffer;function cloneTypedArray$2(a,j){var _e=j?cloneArrayBuffer$2(a.buffer):a.buffer;return new a.constructor(_e,a.byteOffset,a.length)}var _cloneTypedArray=cloneTypedArray$2;function copyArray$2(a,j){var _e=-1,et=a.length;for(j||(j=Array(et));++_e<et;)j[_e]=a[_e];return j}var _copyArray=copyArray$2,isObject$k=isObject_1,objectCreate$1=Object.create,baseCreate$1=function(){function a(){}return function(j){if(!isObject$k(j))return{};if(objectCreate$1)return objectCreate$1(j);a.prototype=j;var _e=new a;return a.prototype=void 0,_e}}(),_baseCreate=baseCreate$1;function overArg$2(a,j){return function(_e){return a(j(_e))}}var _overArg=overArg$2,overArg$1=_overArg,getPrototype$3=overArg$1(Object.getPrototypeOf,Object),_getPrototype=getPrototype$3,objectProto$d=Object.prototype;function isPrototype$4(a){var j=a&&a.constructor,_e=typeof j=="function"&&j.prototype||objectProto$d;return a===_e}var _isPrototype=isPrototype$4,baseCreate=_baseCreate,getPrototype$2=_getPrototype,isPrototype$3=_isPrototype;function initCloneObject$2(a){return typeof a.constructor=="function"&&!isPrototype$3(a)?baseCreate(getPrototype$2(a)):{}}var _initCloneObject=initCloneObject$2,baseGetTag$6=_baseGetTag,isObjectLike$d=isObjectLike_1,argsTag$3="[object Arguments]";function baseIsArguments$1(a){return isObjectLike$d(a)&&baseGetTag$6(a)==argsTag$3}var _baseIsArguments=baseIsArguments$1,baseIsArguments=_baseIsArguments,isObjectLike$c=isObjectLike_1,objectProto$c=Object.prototype,hasOwnProperty$g=objectProto$c.hasOwnProperty,propertyIsEnumerable$1=objectProto$c.propertyIsEnumerable,isArguments$7=baseIsArguments(function(){return arguments}())?baseIsArguments:function(a){return isObjectLike$c(a)&&hasOwnProperty$g.call(a,"callee")&&!propertyIsEnumerable$1.call(a,"callee")},isArguments_1=isArguments$7,MAX_SAFE_INTEGER$4=9007199254740991;function isLength$3(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=MAX_SAFE_INTEGER$4}var isLength_1=isLength$3,isFunction$5=isFunction_1,isLength$2=isLength_1;function isArrayLike$7(a){return a!=null&&isLength$2(a.length)&&!isFunction$5(a)}var isArrayLike_1=isArrayLike$7,isArrayLike$6=isArrayLike_1,isObjectLike$b=isObjectLike_1;function isArrayLikeObject$3(a){return isObjectLike$b(a)&&isArrayLike$6(a)}var isArrayLikeObject_1=isArrayLikeObject$3,isBuffer$6={exports:{}};function stubFalse(){return!1}var stubFalse_1=stubFalse;isBuffer$6.exports;(function(a,j){var _e=_root,et=stubFalse_1,nt=j&&!j.nodeType&&j,tt=nt&&!0&&a&&!a.nodeType&&a,ot=tt&&tt.exports===nt,ct=ot?_e.Buffer:void 0,ft=ct?ct.isBuffer:void 0,ht=ft||et;a.exports=ht})(isBuffer$6,isBuffer$6.exports);var isBufferExports=isBuffer$6.exports,baseGetTag$5=_baseGetTag,getPrototype$1=_getPrototype,isObjectLike$a=isObjectLike_1,objectTag$4="[object Object]",funcProto$2=Function.prototype,objectProto$b=Object.prototype,funcToString$2=funcProto$2.toString,hasOwnProperty$f=objectProto$b.hasOwnProperty,objectCtorString=funcToString$2.call(Object);function isPlainObject$3(a){if(!isObjectLike$a(a)||baseGetTag$5(a)!=objectTag$4)return!1;var j=getPrototype$1(a);if(j===null)return!0;var _e=hasOwnProperty$f.call(j,"constructor")&&j.constructor;return typeof _e=="function"&&_e instanceof _e&&funcToString$2.call(_e)==objectCtorString}var isPlainObject_1=isPlainObject$3;const isPlainObject$4=getDefaultExportFromCjs$1(isPlainObject_1);var baseGetTag$4=_baseGetTag,isLength$1=isLength_1,isObjectLike$9=isObjectLike_1,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$4="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$3="[object Function]",mapTag$6="[object Map]",numberTag$4="[object Number]",objectTag$3="[object Object]",regexpTag$3="[object RegExp]",setTag$6="[object Set]",stringTag$4="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$4]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$3]=typedArrayTags[mapTag$6]=typedArrayTags[numberTag$4]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$6]=typedArrayTags[stringTag$4]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray$1(a){return isObjectLike$9(a)&&isLength$1(a.length)&&!!typedArrayTags[baseGetTag$4(a)]}var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$5(a){return function(j){return a(j)}}var _baseUnary=baseUnary$5,_nodeUtil={exports:{}};_nodeUtil.exports;(function(a,j){var _e=_freeGlobal,et=j&&!j.nodeType&&j,nt=et&&!0&&a&&!a.nodeType&&a,tt=nt&&nt.exports===et,ot=tt&&_e.process,ct=function(){try{var ft=nt&&nt.require&&nt.require("util").types;return ft||ot&&ot.binding&&ot.binding("util")}catch{}}();a.exports=ct})(_nodeUtil,_nodeUtil.exports);var _nodeUtilExports=_nodeUtil.exports,baseIsTypedArray=_baseIsTypedArray,baseUnary$4=_baseUnary,nodeUtil$2=_nodeUtilExports,nodeIsTypedArray=nodeUtil$2&&nodeUtil$2.isTypedArray,isTypedArray$6=nodeIsTypedArray?baseUnary$4(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$6;function safeGet$2(a,j){if(!(j==="constructor"&&typeof a[j]=="function")&&j!="__proto__")return a[j]}var _safeGet=safeGet$2,baseAssignValue$1=_baseAssignValue,eq$7=eq_1$1,objectProto$a=Object.prototype,hasOwnProperty$e=objectProto$a.hasOwnProperty;function assignValue$4(a,j,_e){var et=a[j];(!(hasOwnProperty$e.call(a,j)&&eq$7(et,_e))||_e===void 0&&!(j in a))&&baseAssignValue$1(a,j,_e)}var _assignValue=assignValue$4,assignValue$3=_assignValue,baseAssignValue=_baseAssignValue;function copyObject$6(a,j,_e,et){var nt=!_e;_e||(_e={});for(var tt=-1,ot=j.length;++tt<ot;){var ct=j[tt],ft=et?et(_e[ct],a[ct],ct,_e,a):void 0;ft===void 0&&(ft=a[ct]),nt?baseAssignValue(_e,ct,ft):assignValue$3(_e,ct,ft)}return _e}var _copyObject=copyObject$6;function baseTimes$1(a,j){for(var _e=-1,et=Array(a);++_e<a;)et[_e]=j(_e);return et}var _baseTimes=baseTimes$1,MAX_SAFE_INTEGER$3=9007199254740991,reIsUint$1=/^(?:0|[1-9]\d*)$/;function isIndex$5(a,j){var _e=typeof a;return j=j??MAX_SAFE_INTEGER$3,!!j&&(_e=="number"||_e!="symbol"&&reIsUint$1.test(a))&&a>-1&&a%1==0&&a<j}var _isIndex=isIndex$5,baseTimes=_baseTimes,isArguments$6=isArguments_1,isArray$g=isArray_1,isBuffer$5=isBufferExports,isIndex$4=_isIndex,isTypedArray$5=isTypedArray_1,objectProto$9=Object.prototype,hasOwnProperty$d=objectProto$9.hasOwnProperty;function arrayLikeKeys$2(a,j){var _e=isArray$g(a),et=!_e&&isArguments$6(a),nt=!_e&&!et&&isBuffer$5(a),tt=!_e&&!et&&!nt&&isTypedArray$5(a),ot=_e||et||nt||tt,ct=ot?baseTimes(a.length,String):[],ft=ct.length;for(var ht in a)(j||hasOwnProperty$d.call(a,ht))&&!(ot&&(ht=="length"||nt&&(ht=="offset"||ht=="parent")||tt&&(ht=="buffer"||ht=="byteLength"||ht=="byteOffset")||isIndex$4(ht,ft)))&&ct.push(ht);return ct}var _arrayLikeKeys=arrayLikeKeys$2;function nativeKeysIn$1(a){var j=[];if(a!=null)for(var _e in Object(a))j.push(_e);return j}var _nativeKeysIn=nativeKeysIn$1,isObject$j=isObject_1,isPrototype$2=_isPrototype,nativeKeysIn=_nativeKeysIn,objectProto$8=Object.prototype,hasOwnProperty$c=objectProto$8.hasOwnProperty;function baseKeysIn$1(a){if(!isObject$j(a))return nativeKeysIn(a);var j=isPrototype$2(a),_e=[];for(var et in a)et=="constructor"&&(j||!hasOwnProperty$c.call(a,et))||_e.push(et);return _e}var _baseKeysIn=baseKeysIn$1,arrayLikeKeys$1=_arrayLikeKeys,baseKeysIn=_baseKeysIn,isArrayLike$5=isArrayLike_1;function keysIn$5(a){return isArrayLike$5(a)?arrayLikeKeys$1(a,!0):baseKeysIn(a)}var keysIn_1=keysIn$5,copyObject$5=_copyObject,keysIn$4=keysIn_1;function toPlainObject$1(a){return copyObject$5(a,keysIn$4(a))}var toPlainObject_1=toPlainObject$1,assignMergeValue$1=_assignMergeValue,cloneBuffer$1=_cloneBufferExports,cloneTypedArray$1=_cloneTypedArray,copyArray$1=_copyArray,initCloneObject$1=_initCloneObject,isArguments$5=isArguments_1,isArray$f=isArray_1,isArrayLikeObject$2=isArrayLikeObject_1,isBuffer$4=isBufferExports,isFunction$4=isFunction_1,isObject$i=isObject_1,isPlainObject$2=isPlainObject_1,isTypedArray$4=isTypedArray_1,safeGet$1=_safeGet,toPlainObject=toPlainObject_1;function baseMergeDeep$1(a,j,_e,et,nt,tt,ot){var ct=safeGet$1(a,_e),ft=safeGet$1(j,_e),ht=ot.get(ft);if(ht){assignMergeValue$1(a,_e,ht);return}var dt=tt?tt(ct,ft,_e+"",a,j,ot):void 0,vt=dt===void 0;if(vt){var $t=isArray$f(ft),xt=!$t&&isBuffer$4(ft),At=!$t&&!xt&&isTypedArray$4(ft);dt=ft,$t||xt||At?isArray$f(ct)?dt=ct:isArrayLikeObject$2(ct)?dt=copyArray$1(ct):xt?(vt=!1,dt=cloneBuffer$1(ft,!0)):At?(vt=!1,dt=cloneTypedArray$1(ft,!0)):dt=[]:isPlainObject$2(ft)||isArguments$5(ft)?(dt=ct,isArguments$5(ct)?dt=toPlainObject(ct):(!isObject$i(ct)||isFunction$4(ct))&&(dt=initCloneObject$1(ft))):vt=!1}vt&&(ot.set(ft,dt),nt(dt,ft,et,tt,ot),ot.delete(ft)),assignMergeValue$1(a,_e,dt)}var _baseMergeDeep=baseMergeDeep$1,Stack$3=_Stack,assignMergeValue=_assignMergeValue,baseFor$1=_baseFor,baseMergeDeep=_baseMergeDeep,isObject$h=isObject_1,keysIn$3=keysIn_1,safeGet=_safeGet;function baseMerge$3(a,j,_e,et,nt){a!==j&&baseFor$1(j,function(tt,ot){if(nt||(nt=new Stack$3),isObject$h(tt))baseMergeDeep(a,j,ot,_e,baseMerge$3,et,nt);else{var ct=et?et(safeGet(a,ot),tt,ot+"",a,j,nt):void 0;ct===void 0&&(ct=tt),assignMergeValue(a,ot,ct)}},keysIn$3)}var _baseMerge=baseMerge$3;function identity$4(a){return a}var identity_1=identity$4;function apply$4(a,j,_e){switch(_e.length){case 0:return a.call(j);case 1:return a.call(j,_e[0]);case 2:return a.call(j,_e[0],_e[1]);case 3:return a.call(j,_e[0],_e[1],_e[2])}return a.apply(j,_e)}var _apply=apply$4,apply$3=_apply,nativeMax$1=Math.max;function overRest$2(a,j,_e){return j=nativeMax$1(j===void 0?a.length-1:j,0),function(){for(var et=arguments,nt=-1,tt=nativeMax$1(et.length-j,0),ot=Array(tt);++nt<tt;)ot[nt]=et[j+nt];nt=-1;for(var ct=Array(j+1);++nt<j;)ct[nt]=et[nt];return ct[j]=_e(ot),apply$3(a,this,ct)}}var _overRest=overRest$2;function constant$1(a){return function(){return a}}var constant_1=constant$1,constant=constant_1,defineProperty$2=_defineProperty$2,identity$3=identity_1,baseSetToString$1=defineProperty$2?function(a,j){return defineProperty$2(a,"toString",{configurable:!0,enumerable:!1,value:constant(j),writable:!0})}:identity$3,_baseSetToString=baseSetToString$1,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut$1(a){var j=0,_e=0;return function(){var et=nativeNow(),nt=HOT_SPAN-(et-_e);if(_e=et,nt>0){if(++j>=HOT_COUNT)return arguments[0]}else j=0;return a.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$2=shortOut(baseSetToString),_setToString=setToString$2,identity$2=identity_1,overRest$1=_overRest,setToString$1=_setToString;function baseRest$5(a,j){return setToString$1(overRest$1(a,j,identity$2),a+"")}var _baseRest=baseRest$5,eq$6=eq_1$1,isArrayLike$4=isArrayLike_1,isIndex$3=_isIndex,isObject$g=isObject_1;function isIterateeCall$2(a,j,_e){if(!isObject$g(_e))return!1;var et=typeof j;return(et=="number"?isArrayLike$4(_e)&&isIndex$3(j,_e.length):et=="string"&&j in _e)?eq$6(_e[j],a):!1}var _isIterateeCall=isIterateeCall$2,baseRest$4=_baseRest,isIterateeCall$1=_isIterateeCall;function createAssigner$2(a){return baseRest$4(function(j,_e){var et=-1,nt=_e.length,tt=nt>1?_e[nt-1]:void 0,ot=nt>2?_e[2]:void 0;for(tt=a.length>3&&typeof tt=="function"?(nt--,tt):void 0,ot&&isIterateeCall$1(_e[0],_e[1],ot)&&(tt=nt<3?void 0:tt,nt=1),j=Object(j);++et<nt;){var ct=_e[et];ct&&a(j,ct,et,tt)}return j})}var _createAssigner=createAssigner$2,baseMerge$2=_baseMerge,createAssigner$1=_createAssigner,merge$1=createAssigner$1(function(a,j,_e){baseMerge$2(a,j,_e)}),merge_1=merge$1;const merge$2=getDefaultExportFromCjs$1(merge_1),en$1={common:{invalid:"Invalid",about:"About",access:"Access",change:"Change",upload:"Upload",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",refresh:"Refresh",address:"Address",afterTime:"After {time}",allow:"Allow",alreadyExist:"already exists",approve:"Approve",approved:"approved",appUrl:"APP Url",auditLogs:"Audit Trail",author:"Author",avatar:"Avatar",back:"Back",basic:"Basic",basicInfo:"Basic Information",profile:"Profile",bind:"Bind",blocklet:"Blocklet",blocklets:"Blocklets",blockletsStorage:"Blocklets Storage",cacheStorage:"Cache Storage",cancel:"Cancel",certificate:"certificate",category:"Log Topic",click:"Click to copy",close:"Close",collapseAll:"Collapse All",community:"Community",complete:"Complete",componentBasicInfo:"Component Basic Information",components:"Blocklets",config:"Configure",configuration:"Configuration",configNavigation:"Navigation",configSuccess:"Config successfully",confirm:"Confirm",connect:"Connect",console:"Console",continue:"Continue",continueWith:"Continue With",copiedTip:"Copied",copyAndClose:"Copy & Close",copyTip:"Click To Copy",coreStorage:"Core Storage",cpu:"CPU",create:"Create",createSuccess:"Create Access Key",created:"Created At",createdAt:"Created At",createdBy:"Created By",dAddress:"Decentralized Identifiers (DID)",dataStorage:"Storage on Local Disk",delConfirm:"Delete",delConfirmDescription:"Confirm delete {data}?",delete:"Delete",dependents:"Dependents",description:"Description",detail:"Detail",did:"DID",disk:"Disk",diskInfo:"Disk Info",docker:"IS Docker",documentation:"Documentation",domain:"Domain",downgradeTo:"Downgrade to",download:"Download",connectToStore:"Connect to Store",blockletStudio:"Studio",uploaded:"Uploaded",downloading:"Downloading",edit:"Edit",email:"Email",phone:"Phone",empty:"Empty",emptyData:"No results found",enable:"Enable",engine:"Engine",env:"Environment",environment:"Environment",expandAll:"Expand All",expired:"Expired",expires:"Expires",export:"Export",externalIp:"External IP",failed:"Failed",filter:"Log Filter",fingerprint:"Fingerprint",finish:"Finish",forbid:"Forbid",free:"Free",general:"General",gitpod:"IS Gitpod",goEULA:'Click to view "End User License Agreement"',group:"Group",image:"IS Image",install:"Install",installed:"Installed",installedAt:"Installed At",installSuccess:"Successfully installed",installing:"Installing",internalIp:"Internal IP",introduction:"Introduction",invite:"Invite",inviting:"Inviting",ip:"IP",isPublic:"Public",issue:"Issue",issuer:"Issuer",item:"Item",joined:"Joined",key:"Key",lastPublishedAt:"Published At",launcher:"Launcher Information",leavePageTip:"Are you sure to leave the page?",link:"Link",loading:"loading",log:"View Logs",logStorage:"Log Storage",login:"Login",logo:"Logo",logout:"Logout",logs:"Logs",manageTeam:"Manage Team",marketplace:"Marketplace",member:"Member",members:"Members",memory:"Memory",meta:"Meta Data",analytics:"Analytics",runtime:"Runtime",traffic:"Traffic",more:"More",mountPoint:"MountPoint",name:"Name",next:"Next",no:"No",noData:"No records to display",notice:"Unexpected bad things will happen if you don’t read this!",noticeTitle:"Notice",notification:"Notification",open:"Open",visitStore:"Visit Store",visitTarget:"Visit {name}",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",display:"Display",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",disconnect:"Disconnect",readMore:"More",redirect:"Redirect",redirectCode:"Redirect Code",redirectPermanently:"Permanent Redirect",redirectTemporary:"Temporary Redirect",redirectUrl:"Redirect URL",rewrite:"Rewrite",release:"Release",rewriteUrl:"Rewrite URL",reject:"Reject",reload:"Reload",remark:"Remark",remove:"Remove",removeSuccess:"Remove successfully",renew:"Renew",reportIssue:"Report an issue",required:"Required",requiredErrorText:"{name} is required",resource:"Resource",restart:"Restart",restore:"Restore",retry:"Retry",revoke:"Revoke",role:"Role",running:"running",runtimeInfo:"Runtime Info",save:"Save",saveChanges:"Save Changes",saveSuccess:"Saved successfully",scheduleFailed:"schedule failed",scheduleSuccess:"successfully scheduled",scope:"Scope",screenshot:"Screenshots",search:"Search",security:"Security",serverDid:"Server DID",serverVersion:"Server Version",setting:"Settings",start:"Start",status:"Status",stop:"Stop",storage:"Storage",backup:"Backup",store:"Store",succeeded:"Succeeded",subscription:"Subscription",support:"Support",switch:"Switch",team:"Team",the:"The",timeAgo:"{time} ago",title:"Title",type:"Type",unavailable:"Unavailable",update:"Update",updateAvailable:"New version {version} available",updatedAt:"Updated At",updatedBy:"Updated By",upgrade:"Upgrade",upgradeServer:"Upgrade Server",upgradeTo:"Upgrade to",upgrading:"Upgrading",uptime:"Uptime",url:"URL",valid:"Valid",value:"Value",version:"Version",visit:"Visit",waiting:"Waiting",webhook:"Integrations",yes:"Yes",invalidParam:"Invalid Params",launch:"Launch",price:"Price",redirecting:"Redirecting",error:"Error",reminder:"Reminder",normal:"Normal",gateway:"Gateway",verifyNFT:"Verify NFT",errorMessage:"Error Message: ",slugifyHint:"The actual mount point will be: {value}",strategy:"Strategy",auto:"Auto",manual:"Manual",progress:"In progress",startTime:"Start time",endTime:"End time",selected:"Selected",timeoutError:"Timeout error",tags:"Tags",sourceApp:"Belong to App",requiredInputPlaceholder:"Please enter {name}",moveUp:"Move Up",moveDown:"Move Down",enabled:"Enabled",disabled:"Disabled"},setup:{connect:{title:"Signature Required",scan:"Connect your DID Wallet to become the owner of this server",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},keyPair:{title:"Derived KeyPair Required",scan:"Connect your DID Wallet to generate a key-pair for this app",confirm:"Review this operation on your DID Wallet",success:"Your key pair is securely stored"},verify:{title:"Ownership Credential Required",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},accept:{title:"Accepting server require ownership certificates",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},title:"Setup Blocklet Server",steps:{eula:"End User License Agreement",eulaFooter:"I have read and agreed to the terms of the EULA",connect:"Connect Owner DID Wallet",verify:"Verify Ownership",basicSettings:"Basic Settings",launchApp:"Launch Application",complete:"Complete"},congratulation:"Congratulations! Your Blocklet Server is secure and ready to use",redirectButton:"Take me to dashboard!"},login:{loginTo:"Connect to",description:"Only server owner and approved members can access the dashboard",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to provide passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},exchangePassport:{title:"Get Passport with NFT",success:"You have successfully get your passport and logged in with the passport",login:"Login",tooltip:"If you own NFT from collection {collections}, you can exchange your passport with this link.",dialog:{title:"Get Passport with NFT",scan:"Connect your DID Wallet to present your NFT to get a passport",confirm:"Select NFT on your DID Wallet",success:"Passport has been successfully exchanged"}},payablePassport:{title:"Purchase passport with payment",tooltip:"If you do not have a passport, you can purchase a passport with this link."},sidebar:{dashboard:"Dashboard",blocklets:"Blocklets",console:"Console",settings:"Settings"},system:{total:"Total",used:"Used",free:"Free",cores:"Number of cores",instances:"Number of instances"},blocklet:{external:"External",usingDocker:"This Blocklet will run using docker",notFound:"Blocklet not found on this server, maybe it has been deleted",installFromMarket:"Install New Blocklets",installFromUrl:"Install From Url",installFromCreate:"Create Blocklet",titleValidationError:"Title length must be between 3 and 20 characters",descriptionValidationError:"Description length must be between 3 and 80 characters",installFromDiskBackup:"Restore from this server",installedAt:"Installed At",internal:"Internal",startedAt:"Started At",stoppedAt:"Stopped At",urlEmptyTip:"No Access URL, ",goToAddRule:"Go To Add",services:"Exposed Services",upstreamPort:"Upstream Port",noService:"No Services",appId:"App DID",appPid:"Permanent DID",whyNeedAppPid:"If your application has been migrated, the permanent DID is the DID generated when this Blocklet was originally installed",alsoKnownAs:"Also Known As",skSource:"Owner Wallet",reloadSuccess:"Blocklet was reloaded successfully",statusTip:"Blocklet is {status}",initialUptime:"Less than 1m",dashboard:"Blocklet Dashboard",noComponent:"Application has no components and cannot be started",fromUrl:{title:"Install Blocklet",label:"Blocklet Meta URL",description:"The URL should point to the Meta File of the Blocklet. If you need to refer to a local file, please add the file:// prefix, e.g. file:///Users/foo/blocklet.json.",confirm:"Install",step0:"Input URL",step1:"Confirm Meta Info",existTipPrefix:"Blocklet with the same DID already exists, the version is",existTipSuffix:", Please install a higher version."},action:{stopDescription:"Stopping the blocklet will make its public interfaces unaccessible, which may cause end user failures",stopComponentDescription:"Stopping the component will make its public interfaces unaccessible, which may cause end user failures",confirmStop:"Yes, Stop It",cancelDownloadDescription:"Cancel download {name} ?",removeApplicationDescription:"Removing the application will erase code and data generated by this application, which is not recoverable if you do not have any backups",removeApplicationAfterBackup:"Backup and remove the application. You can restore the application from this server if you need",removeApplicationComplete:"Remove both code and data for this application",removeComponentDescription:"Removing the component will erase code and data generated by this component, which is not recoverable if you do not have any backups",removeComponentKeepData:"Keep data for this component, only remove code",removeComponentComplete:"Remove both code and data for this component",confirmRemove:"Yes, Remove It",confirmComponentRemove:"Yes, Remove It",upgradeDescription:"Upgrading the blocklet will make it temporarily unavailable, are you sure to continue?",confirmUpgrade:"Yes, Upgrade It",confirmRestart:"Yes, Restart It",restartDescription:"Restarting the blocklet will temporarily suspended and may not start because of a configuration change"},dev:{modeTip:"Please switch Blocklet Server to DEBUG mode"},index:{tableTitle:"Manage Your Blocklets",noBlocklet:"No blocklets found in this Blocklet Server, install a blocklet from market place to start."},admin:{iframeTitle:"Blocklet Admin Interface",title:"Admin Interface",noContent:"This blocklet does not have a admin interface",securityError:"SecurityError: Can not open the admin url from accessing a cross-origin frame"},config:{name:"App Name",description:"App Description",sk:"Secret key for the app wallet",logoSquare:"App Logo",logoRect:"Rect logo",logoRectDesc:"Usually displayed at the top of the page, default to app logo",logoFavicon:"Favicon",logoFaviconDesc:"Usually displayed in the browser's address bar or tab page, default to app logo",splashPortrait:"Splash Portrait",splashLandscape:"Splash Landscape",splashPortraitDesc:"Displayed when the blocklet is launched in portrait mode",splashLandscapeDesc:"Displayed when the blocklet is launched in landscape mode",clusterSize:"Instance count when run this blocklet in cluster mode",copyrightOwner:"Copyright Owner (Display in footer)",copyrightYear:"Copyright Year (Display in footer)",deletable:{name:"Delete Protection",enable:"This blocklet can NOT currently be deleted",disable:"This blocklet can currently be deleted"},tenantMode:{name:"Multiple Tenant Mode",multiple:"This blocklet runs in multiple tenant mode, data should be isolated for each tenant",single:"This blocklet runs in single tenant mode, all data are shared"},walletType:{name:"Wallet Type",description:"Blocklet instance wallet type, will change the derived DID"},languages:"Supported Languages",selectLanguagesTip:"Adjust the order by removing and re-adding",languagesSearch:"Search by Country's Local Name, English Name, or ISO Code...",passportColor:"Passport Color",appUrl:"App URL",access:{title:"Who Can Access",description:"Who can access the blocklet",useDefault:"Use default",defaultDescription:"Use the application's default configuration",whoCanAccess:{all:{title:"Accessible to all",description:"Open to the world anyone can access without passport"},owner:{title:"Only me can access",description:"You must provide owner passport to access this application"},invited:{title:"Only invited people can access",description:"You can invite members later in the admin page"}},publicToStore:"Public On Store",publicInstanceTip:"The access address of this blocklet will be displayed in the Store (along with your DID for accepting donations)",updatedTip:"Access Control Modified"},changedTip:"Configuration updated, please restart Blocklet",missingRequired:"Missing required configuration to start the blocklet",gotoFix:"Go to fix",environment:{key:"Configuration key",value:"Configuration value",keyValueRequired:"Configuration key and value must be specified",invalidKey:"Configuration key must not start with BLOCKLET_ or COMPONENT_",deleteForbidden:"This configuration is required and should not be deleted",tip:"Configurations prefixed with BWA_ should not contain sensitive information because they will be sent to the browser"},dangerZone:"Danger Zone",blockletTypeChangeTip:"Wallet Type will be changed to <b>{value}</b>",appDidChangeTip:"This operation will change the DID of the application, which will lead to the following problems. Please confirm after careful evaluation:",appDidChangeTipL1:"The user's account connected to this application will change",appDidChangeTipL2:"The DID domain name of the application will change, and the original domain name will become invalid",appSkChangeTip:"You are changing application secret key",walletTypeTitle:"Update Wallet Type",appSkTitle:"Update Application Secret Key",sharedToAllComponents:"Will be shared to all components",session:{period:"Session validity period",profile:"User profile requirements",ttl:"User will be asked to login again if they have no activity on this site for {day} days",day:"{day} day",days:"{day} days",cacheTtl:"Cache duration for user session data (in seconds)",fullNameEnabled:"Request user name on login (enabled by default)",avatarEnabled:"Request user avatar on login (enabled by default)",emailEnabled:"Request user email on login",emailRequireVerified:"Require user email to be verified before login",emailRequireUnique:"Require user email to be unique across all users",phoneEnabled:"Request user phone number on login (not supported yet)",phoneRequireVerified:"Require user phone number to be verified before login",phoneRequireUnique:"Require user phone number to be unique across all users",emailTrustOauthProviders:"Trust OAuth providers for email verification status",enableDomainBlackList:"Enable email domain black list (reject listed email domains)",enableDomainWhiteList:"Enable email domain white list (only allow listed email domains to login)",addDomain:"Add source to fetch the list (in plain text format, one domain per line)"},clearCache:{name:"Cache Management",purpose:"Manage files cached in router and blocklet services",title:"Confirm Cache Clear?",action:"Clear Cache",success:"Successfully cleared {count} cache entries",description:"Are you sure you want to clear cached files in router and blocklet service? this operation may cause slight performance downgrade in the short term"}},overview:{source:"Source",deployedFrom:"Deployed From",accessControl:"Access Control",viewInStore:"View It In Store"},diskInfo:{empty:"Disk info not available now!",appDir:"App Directory",dataDir:"Data Directory",logDir:"Log Directory",cacheDir:"Cache Directory"},runtimeInfo:{noRunning:"Runtime information will be available when blocklet is running!",memoryUsage:"Memory Usage",cpuUsage:"CPU Usage",uptime:"Uptime",port:"Port",processId:"Process ID"},dist:{downloadLink:"Download Link",verify:"Verify"},status:{added:"Added",waiting:"Waiting",downloading:"Downloading",extracting:"Extracting",installing:"Installing",upgrading:"Upgrading",installed:"Installed",created:"Created",starting:"Starting",running:"Running",stopping:"Stopping",stopped:"Stopped",error:"Error",deleting:"Deleting",corrupted:"Corrupted",purchasing:"Waiting for purchase",purchased:"Purchased",verifying:"Verifying purchase",resource:"Resource"},list:{download:"Download",star:"Star"},component:{container:"Global Config",showContainer:"Show Global Config",didSpaceConfig:"Configure DID Spaces",didSpaceConfigTip:"Complete the following authorize process to store application data in DID Spaces",didSpaceConnected:"Storage being authorized to: {endpoint}",checkUpdateTitle:"Check for Updates",updateTitle:"Update Blocklets",noUpdate:"No Blocklets to update",add:"Add Blocklet",selectComponent:"Select Blocklet",selectRegistry:"Select Blocklet Store",selectRegistryTip:"You can switch blocklet store to see more components",selectInstance:"Select Instance",selectInstanceTip:"You can select an existing instance or create a new instance. Existing instances will use previously saved configuration and data",newInstance:"Create New Instance",noComponent:"No Blocklets",mountPoint:"What's the mount point?",mountPointTip:"If you set mount point to '/my-prefix', then all requests that begins with that mount point will be routed to the selected Blocklet",delete:"Delete Blocklet",deleteDescription:"This Blocklet will not be accessible after deletion. Confirm delete?",purchase:"Payment Required",tip:{stopBlocklet:"Please stop running Blocklet first",requiredBy:"The Blocklet is required by {name}"},choose:"Choose",upgrade:"Upgrade",addWithName:"Add Blocklet To {name}",relatedComponents:"Related Blocklets",required:"Required",noDependencies:"{name} doesn't have any dependencies",installed:"Installed",installingTip:"Installing component, please wait...",installingCanCloseWindowTip:"Installing component in the background, you can safely close this window",installSuccessTip:"Congratulations, the component was installed successfully!",missDownloadTokenTip:"Cannot add paid component without valid download token",purchaseComponentSecondCheckTip:"Please present your blocklet purchase NFT to continue",installComponentError:"There was an error installing the component, please retry again",downloadComponentError:"There was an error downloading the component, please retry again",addComponentTip:{introduction:"Welcome to the Add Component Wizard",isPurchase:"You need to Verify NFT before use <b>{name}</b> as a component;",belowInformation:"Below is the information for the component: ",verifyNFT:"Please select the Verify NFT method",config:"Please fill in the configuration of the component",environment:"Please fill in the environment of the component",fromUrl:"Add Blocklet From Url"},addNext:"Add {name}",upgradeNext:"Upgrade {name}",setting:"Settings"},router:{urlPath:"URL Path",noRunning:"The blocklet is not currently started. Unable to access through the following address!",securitySetting:"Security Setting",checkUrlAccessible:"Check the accessibility of the address",urlInaccessible:"It may be due to network reasons, the address is temporarily inaccessible",noAccessibleUrl:"No accessible URL",domainLockTooltip:"The system generated Domain cannot be edited.",urlLockTooltip:"The system generated URL Path cannot be edited.",showAllDomains:"Show all domains",showAllDIDs:"Show all DIDs",currentDomainTip:"You are accessing the current page through this domain"},export:{title:"Export Blocklet",name:"Bundle Name",nameTip:'e.g. "my-blocklet-name" or "@my-scope/blocklet-name"',result:"What's next",exportSource:"Export Source",success:"Blocklet successfully exported",resultTipStart:"With",resultTipEnd:"you can build and publish this blocklet within minutes",uploadedComponentTip:"Directly uploaded components cannot be exported:"},migrate:{title:"Migrate Application",scan:"Connect your DID Wallet to generate a key-pair for this application",confirm:"Review this operation on your DID Wallet",success:"Your application is successfully migrated, the page will be refreshed in {sec} seconds",intro:{l1:"Click here",l2:"to migrate your application to new version (changes are disabled before the migration completes)",l3:"1. The application DID will be fully controlled from your DID Wallet.",l4:"2. The application data will be migrated, and no further changes required.",l5:"3. The new application structure will give you more flexibly when change components.",l6:"4. Please do not change component mount points before component new version is out."},tip:{duplicate:"Find duplicate component {name}, please delete useless components and migrate again",running:"Please stop blocklet before migration"}},error:{isRunning:"Blocklet is running, please stop it first",isInProgress:"Blocklet is in progress, please wait for it to finish"},publish:{connectOrUpload:"Connect or Upload",projectSettings:"Project Settings",noStoreSelected:"Please select one of the existing stores or add a new store to continue",forceResourceBlocklet:"Force defined as a resource-based blocklet",autoUploadTip:"Upload release to connected Blocklet Stores automatically after creation",possibleSameStoreTip:"Try resolving dependency blocklets to the same Blocklet Store before each uploading when possible",needProjectId:"Please create a project first",developerInfo:"Developer Information",branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",deleteStoreTip:"Are you sure you want to remove {name} from the connect Store list?",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",installToThisServer:"Install to this server",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",resourceTitle:"Resources",resourceSelect:"Select resource from following blocklets",resourceUpload:"Upload resource from your disk (index.html is required in the archive)",blockletEmptyTip:"There aren’t any blocklets here",createBlockletTip:"You can create new blocklet through existing resources, components, and configuration in this application",createBlocklet:"New blocklet",reconnectStoreTip:"After reconnecting, a new developer will be bound. Are you sure you want to reconnect?",disconnectStoreTip:"After disconnecting, the blocklet will be removed from the store. Are you sure you want to disconnect?",componentNotRunning:"Blocklet {name} is not running, please start it first",allComponentsNotRunning:"Blocklets is not running, please start it first",releaseEmptyTip:"There aren't any releases here",resourceEmptyTip:"No available resources",viewLastRelease:"View last release",createReleaseTip:"You can create a release of the blocklet, along with release notes and resources, for other people to use",createRelease:"Create release",deleteReleaseTip:"The release cannot be recovered after deletion",createBlockletDid:"Create from DID Wallet",createReleaseSuccess:"Release created successfully",saveDraftSuccess:"Draft saved successfully",packTip:"Currently blocklets can be installed directly as applications. Components and application configurations will be automatically included in the Blocklet",resourceTip:"Currently, as a Resource Blocklet, it cannot be directly installed from the Store.",whyCantSeeInStore:"You need to publish the blocklet on connected store before you can see it in the store listing page",whyCantSeeResourceBlockletInStore:"Resource Blocklet are hidden from the store listing page by default",resourceChangedWarning:"You have modified the resource, please save it in time",install:"Install {name}",installResourceTip:"Install Url:",installResourceTip2:"If you want to see more tips, please visit",installResourceHelp:"Help Document",componentIncluded:"Included",componentForceRequired:"Required",steps:{branding:"Describe the basic information of your Blocklet. This information will be presented to users in the store.",introduction:"A clear introduction can effectively highlight your Blocklet. You can use Markdown syntax to write and preview it.",resources:"Please select the resources that need to be associated with the current Blocklet, as these resources will be installed along with the Blocklet.",blocklets:"Please select the Blocklets that need to be associated and installed when installing the current Blocklet.",version:"Set the release version and the change log."},connect:{title:"Create Blocklet DID",scan:"Scan the QR code below to generate Blocklet DID",confirm:"Confirm using DID Wallet",success:"Blocklet DID has been generated, please continue your operation"},deleteProject:{title:"Delete {name}",scan:"Scan the QR code below to delete {name}",confirm:"Confirm using DID Wallet",success:"Blocklet has been deleted, please continue your operation",description:"Are you sure you want to delete the Blocklet? Here are the issues you might encounter:",tip1:"The Blocklet cannot be recovered after deletion.",tip2:"You will no longer be able to publish new versions to the deleted Blocklet, which means that the Blocklet will not be updated in the Store anymore.",tip3:"Deleting the Blocklet will not affect its currently published version in the Store."},saveDraft:"Save Draft",releaseNote:"Release Note",errorTip:{noDid:"Blocklet DID is required",noFirstDid:"Please create Blocklet DID first",noTitle:"Blocklet Title is required",noVersion:"Blocklet Version is required",inValidVersion:"Invalid Blocklet Version",noResource:"Please select upload resource to be included in the blocklet",noDescription:"Blocklet Description is required",noNote:"Release Note is required"},uploadToStoreSuccess:"Blocklet upload to Store successfully, you need publish it in the Store",publishToStoreSuccess:"Blocklet published to Store successfully",connectStoreSuccess:"Blocklet Store connected successfully"}},dashboard:{nodeDid:"Node",ownerDid:"Owner",routingEngine:"Routing Engine",ownerNftURL:"Owner NFT",expirationLeft:"Expiration Left",startFromCrashTip:"Blocklet Server did not exit normally last time, please manually start the blocklets that needs to be run.",runtimeConfig:{blockletMaxMemoryLimit:"Blocklet Max Memory Limit",daemonMaxMemoryLimit:"Server Max Memory Limit",proxyMaxMemoryLimit:"Event Bus Max Memory Limit"}},store:{nameSort:"Name",popularSort:"Popularity",headerDescription:"Find and Install Your Blocklets",detail:{purchase:"Purchase {name}",open:"Open {name}",install:"Install {name}",upgrade:"Upgrade {name}",empty:"No introduction"},tooltip:{upgradeServer:"Blocklet requires Blocklet Server version {version}, current Blocklet Server version is {serverVersion}"},blockletRegistry:{changeFailed:"Change Blocklet Store Failed: ",addFailed:"Add Blocklet Store Failed: ",editFailed:"Edit Blocklet Store Failed: ",switchRegistry:"Switch Blocklet Store",addRegistry:"Add Blocklet Store",editRegistry:"Edit Blocklet Store",deleteRegistry:"Delete Blocklet Store",haveSameRegistry:"The same blocklet store exists",registryName:"Blocklet Store Name",registryUrl:"Blocklet Store URL",registryNameEmpty:"Blocklet Store name cannot be empty",registryUrlEmpty:"Blocklet store url cannot be empty",deleteDesc:'Confirm Delete blocklet store {name} ?<br/><span style="color: {color}">*After removing this blocklet store, you cannot update the apps installed from this blocklet store unless you add them again.</span>',confirmDesc:"Please input {name} to delete"},purchase:{title:"Purchase {name}",confirmed:"Your blocklet purchase NFT is verified",declined:"You do not provided valid the blocklet purchase NFT",waiting:"Waiting for purchase complete...",purchase:{title:"Purchase NFT",description:"Pay some token before installing this blocklet if you have not purchased this blocklet"},verify:{title:"Verify NFT",description:"Your NFT will be verified before installing this blocklet if you have purchased and hold the purchase NFT in your DID Wallet",auth:{title:"Purchase Credential Required",scan:"Connect DID Wallet to provide blocklet purchase NFT",confirm:"Review this operation on your DID Wallet",success:"Your purchase NFT is verified, and installing has started"}},auth:{title:"Purchase {name}",scan:"Scan following QRCode with your DID Wallet",confirm:"Confirm on your DID Wallet",success:"Purchase NFT sent to your DID Wallet"},launch:"Launch {name}",autoLaunch:"{name} successfully purchased, redirecting to launch page..."}},setting:{saveSuccess:"Settings Saved Successfully",unSavedTip:'There are unsaved changes, please click "Save Changes" to save them.',unSavedLeaveTip:"There are unsaved changes, are you sure to leave the page?",form:{name:"Name Your Server",nameRequired:"Server description is required",namePlaceholder:"Server Name",description:"Describe Your Server",descriptionHolder:"Server Description",descriptionRequired:"Server description is required",domain:"Your Server Domain Name",domainPlaceholder:"Server Domain Name",domainRequired:"Server domain is required",ipPlaceholder:"IP",ipRequired:"IP is required",registry:"Blocklet Store",registryPlaceholder:"Blocklet store to fetch blocklets",registryRequired:"Blocklet store is required ",registerUrl:"Blocklet Launcher URL",registerUrlPlaceholder:"Input the URL of your preferred Blocklet Launcher, you can use the official one safely",webWalletUrl:"DID Wallet URL",webWalletUrlPlaceholder:'Please input the URL of your hosted "DID Wallet", you can use the official one safely',nftDomainUrl:"NFT Domain URL",nftDomainUrlPlaceholder:'Please input the URL of your hosted "NFT Domain", you can use the official one safely',enableWelcomePage:"Enable welcome page",welcome:{switchLabel:"Welcome Page"},security:{switchLabel:"File System Isolation",switchTips:"After disabling this option, the file system of the Blocklet will no longer be in isolation, which may pose a risk of malicious software damaging the file system.",warningTips:"The file system isolation feature cannot take effect. Please upgrade the node.js version (current version is {version}) to v21.6.0 or higher."},docker:{switchLabel:"Run Blocklets in Containers",switchTips:"After enabling this option, all blocklets will be run in Docker containers, which can improve the server's overall security.",notInstalled:"Can not enable container mode because docker is not installed or the current user has insufficient permission to run docker",needCloseFileSystemIsolation:"File system isolation and docker container mode runtime cannot be enabled at the same time"},dockerNetwork:{switchLabel:"Container Network Isolation",switchTips:"After enabling this option, blocklets run in a more secure manner: a blocklet cannot access the blocklet server or other blocklets across applications.",needEnableDocker:"Container mode must be enabled to enable network isolation"},upgrade:{title:"Upgrade Blocklet Server to {version}",description:"During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.",dialog:'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',confirm:"Upgrade",switchLabel:"Auto Update Check",enableBetaRelease:"Enable Beta Release",setup:"Preparing the upgrade",installing:"Installing Blocklet Server v{version}",restarting:"Restarting Blocklet Server",cleanup:"Migrating Blocklet Server data",verifying:"Verifying Blocklet Server v{version}",rollback:"Rollback Blocklet Server",complete:"Upgrade complete!",progress:"Upgrading {name}",check:"Check for Updates",latest:"You are running the latest version."},restart:{title:"Restart Blocklet Server",description:"During the restarting, your Blocklet Server will enter maintenance mode while the restart is completed.",dialog:'Click on "confirm" to restart. Blocklet Server will enter maintenance mode until the restart is completed and return to production mode automatically.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting Blocklet Server",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting {name}"},register:{titleAdded:"Added to Blocklet Launcher",title:"Add to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",descriptionOnAdded:"you can launch blocklets to this blocklet server from {url}.",btn:"Add",update:"Update",added:"Added",addSucceed:"Add succeed",updateSucceed:"Update succeed",detecting:"Detecting",timeout:"Detection timeout, please check if the blocklet launcher is started"},monitor:{diskThreshold:"Send alert when disk usage exceeds (%)",diskThresholdPlaceholder:"Please set the disk usage alert threshold"}},accessKey:{accessKeyId:"ACCESS KEY",lastUsed:"Last Used At",tip:"Please enter a name for this access key for future reference:",saveSecretTip:"This is the only time that your Access Secret key can be viewed and cannot be recovered. However, you can create new access keys at any time",iKnow:"I have copied and saved the Access Secret",showSecret:"Show Secret Access Key",hideSecret:"Hide Secret",title:"Delete Access Key",descriptionNoTime:"This will permanently delete the access key {key} with name {name}, which is (never used before)",description:"This will permanently delete access key {key} with name {name}, which is (last used on {time}, {timeAge})",confirm_desc:"Please input {name} to delete",remark:"Access Key Name",remarkInvalid:"Access Key Name is required"},webhook:{add:"Add Integration",delTitle:"Delete Integration",requiredError:"Please provide a valid {type}",confirm_desc:"Please input {name} to delete",test:"Test",description:"This will permanently delete integration with ID {id}",columns:{description:"ID",params:"Params",createdAt:"createdAt"}}},notification:{title:"Activities",empty:"No activities yet",viewAll:"View All",showRead:"Show Read",markAllAsRead:"Mark All as Read",markAsRead:"Mark As Read",proceed:"Proceed",checkingForUpdates:"Checking for updates...",installComponentError:"Not found uninstalled component {name}",installingComponent:"Installing component {name}",pushKit:{enable:"Enable PushKit notification",endpoint:"PushKit endpoint",endpointInvalid:"PushKit endpoint is invalid URL",testSuccess:"Test PushKit send successfully",testFailed:"Test PushKit send failed",testReceiver:"PushKit receiver",testSend:"Test push-kit send",inputTestReceiver:"Please input test receiver did",receiverRequired:"PushKit receiver is required",pushPath:"Api path for push-kit (default /api/push)",did:"PushKit Blocklet DID",customOptions:"Custom Options"},email:{enable:"Enable email notification",from:"Email sender",host:"SMTP server host",port:"SMTP server port",user:"SMTP server username",secure:"Enable secure connection",password:"SMTP server user password",fromRequired:"Email sender is required",fromInvalid:"Email sender is invalid",receiverRequired:"Email receiver is required",receiverInvalid:"Email receiver is invalid",hostRequired:"SMTP server host is required",hostInvalid:"SMTP server host is invalid",portRequired:"SMTP server port is required",portInvalid:"SMTP server port is invalid, port should be between 1 and 65535",userRequired:"SMTP server username is required",passwordRequired:"SMTP server user password is required",testSuccess:"Test email send successfully",testFailed:"Test email send failed",testReceiver:"Email receiver",testSendEmail:"Test email send",inputTestReceiver:"Please input test receiver email",disable:"Unsubscribe email notification",disableDescription:"After unsubscribe, you will no longer receive email notifications. To receive email notifications, you can subscribe it again on this page.",unsubscribe:"Unsubscribe email notification",unsubscribeDescription:"After unsubscribe, you will no longer receive any email notifications.",subscribe:"subscribe",subscribeDescription:"To receive email notifications, you can subscribe it again on settings page."},comingSoon:"More notification channel are under construction",unsubscribe:"Unsubscribe",unsubscribeSucceed:"Unsubscribe succeeded",unsubscribeFailed:"Unsubscribe failed",unsubscribeTokenRequired:"Unsubscribe token in required",unsubscribeTokenExpired:"Unsubscribe token is expired",unsubscribeTokenInvalid:"Unsubscribe token is invalid"},router:{routerSetting:"Domains & URLs",certSetting:"SSL Certificates",defaultSite:"Default",urlHelperText:"URL that do not start with HTTP/HTTPS are considered relative paths",empty:"Click on Actions to setup URL Mapping",healthy:{ok:"Blocklet or service is running",error:"Blocklet or service is not running or not installed"},service:{select:"Select Blocklet Services (Optional)",what:"Blocklet Services are pipelines executed against the request before redirecting to upstream blocklet"},nonProvider:{title:"Engine Change Warning",description:"If you change engine to none, your current page may not work properly because the previous engine will be stopped, are you sure to continue?",confirm:"I understand, continue"},validation:{urlRequired:"URL is required",redirectCodeRequired:"Redirect code is required",didRequired:"Blocklet is required",pathPrefixTooLong:"The URL Prefix cannot exceed {length} characters",pathPrefixCannotBeEmpty:"The URL Prefix cannot be empty",domainRequired:"Server domain is required",invalidUrl:"Please provide a valid URL",pathPrefixRequired:"URL prefix is required",redirectUrlRequired:"Redirect URL is required",rewriteUrlRequired:"Rewrite URL is required"},domain:{addSite:"Add Site",validate:{emptyTip:"Site domain cannot be empty",suffixTip:"Site domain cannot include {suffix}"},add:{title:"Add Domain Name",description:"Please provide a valid domain name",confirm:"Add",cancel:"Cancel",blocklet:"Select Blocklet",redirect:"Where to redirect the traffic?",port:"What port does your request handler need to listen to?",portTip:"This defaults to the main port of request handler, you can customize this",type:"Traffic Handler",component:"Select Component",pageGroup:"Page Group",pageGroupTip:"This component can render any group of pages listed above, leave empty to render all pages"},update:{title:"Update Site Domain",label:"Site Domain",description:"Please provide a valid site domain"},setup:{tipStart:"Add the DNS records for the domain",tipEnd:"as per the following guidelines",recordType:"Record Type",recordValue:"Record Value"},verify:{ok:"The domain resolution is normal",notResolved:"This domain neither resolved nor accessible, please check your DNS configuration"},https:{ok:"This domain has https enabled",bad:"This domain has not enabled https"},delete:{title:"Delete Site",description:'By confirming, you will delete your existing "{name}" site. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your site',confirm_desc:"Please input {name} to confirm"}},domainAlias:{nftDomain:"Automatic config with DID Domain",showTipHint:"How do I configure domain name resolution?",add:{title:"Add Additional Domain",domainDescription:"Please provide a valid domain name",forceTip:"Force add if domain name already exists",helperText:"If an HTTP or HTTPS URL is entered, it will be automatically converted into a domain name.",isDidDomainError:"This domain is a DID Domain. Please add it using the method for automatic domain configuration."},addCustomDomain:{name:"Custom Domain"},addDomainNFT:{showNFT:"Configure domain automatically",tips:"You can enter a domain purchased from DID Domain. If a DID Domain is detected, you must present the DID Domain NFT to continue.",connect:{title:"Please show your Domain NFT",scan:"Scan following QR code with DID Wallet to authorize to blocklet to use your domain",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},buyTip:"DID Domain will do the domain name resolution automatically, no need to configure it manually, and the application will update the resolution record of the domain name automatically when needed. If your don't have DID Domain NFT yet, ",buy:"buy it now!"},delete:{title:"Delete",description:"After removing a domain alias, access to that alias may not be handled properly."}},domainSecurity:{title:"Domain Security",cors:{title:"Allowed CORS Domains",description:'Domain list that can send cross origin requests to {name}, comma separated, use "*" to allow anyone, which is not recommended',domainInvalid:"Please input a valid list of domain names"}},rule:{add:{title:"Add URL Mapping",confirm:"Add",pathPrefix:"What's the URL Prefix?",pathPrefixTip:"If you set prefix to '/my-prefix', then all requests that begins with that prefix will be routed to the configured blocklet",blocklet:"Which Blocklet will be handling those requests?",port:"Which port of the blocklet will be handling requests?",portTip:"This defaults to the main port of blocklet, if your blocklet listens on multiple ports, you can customize this",responseType:"Response Type",responseBody:"Response Content",responseBodyTip:"Paste your response content here, should not exceed 4096 characters",responseBodyRequired:"Response content can not be empty"},delete:{title:"Delete URL Mapping",description:'By confirming, you will delete your existing "{name}" URL Mapping. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your URL Mapping.',confirm_desc:"Please input {name} to delete",cancel:"Cancel"},update:{title:"Update URL Mapping",confirm:"Yes, Update",cancel:"Cancel"}},cert:{name:"Certificate Name",domain:"Domain Name",action:"Action",commonName:"Common Name",boundDomains:"Domains",source:"Source",expired:"Expired",leftDays:" days left",issuedOn:"Issued On",expiryOn:"Expiry On",fingerprintAlg:"Fingerprint Algorithm",validityPeriod:"Validity Period",matchedSites:"Matched Sites",upload:"Manual Upload",publicCertHelperText:"Public certificates can be downloaded",nonPublicCertHelperText:"Non-public certificates cannot be downloaded",protectedCertHelperText:"Protected certificates cannot be edited",unprotectedCertHelperText:"Unprotected certificates can be edited",issuing:"Certificate being generated",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"},table:{nodata:"No data"},delete:{title:"Delete Certificate",description:"Confirm delete certificate of domain {domain}? Deleting it may affect related services. Please confirm it's safe before proceeding with the deletion.",confirm:"Confirm"},nginx:{title:"Update Certificate",titleAdd:"Add Certificate",pem:"SSL Certificate File",pemTip:'Please drop your server certificate file here, it should ends with ".pem" or ".crt"',key:"Private Key File",keyTip:'Please drop your server private key file here, it should ends with ".pem" or ".key"',confirm:"Save",cancel:"Cancel",invalidFile:"You have selected an invalid file",empty:"No file selected yet",source:"Source",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"}},detail:{title:"Certificate Details"},genLetsEncryptCert:{title:"Generate Let's Encrypt certificate",dnsTip:"Please make sure the domain name has point to the current Blocklet Server.",description:"Adding a certificate will make the service more secure, and Blocklet Server will automatically renew the certificate before it expires."}},gateway:{reqLimit:{status:{true:"Enabled",false:"Disabled"},switchLabel:"Request Limit",rate:"Request Limit({rate} Request/Second)",ipHeaderLabel:"Customize client IP header(Optional)",ipHeaderDesc:"If the Blocklet Server is running behind some proxies, you can set the header of the client's real IP here. Optional, leave empty to use default."},cacheEnabled:{switchLabel:"Enable Gateway Cache"}}},noMatch:{desc:"We can't find the page that you're looking for"},health:{connectionErrorTip:"Blocklet Server can't connect to the network, please check if Blocklet Server has been stopped or there is a network issue",connectionRecoveryTip:"Blocklet Server connectivity has been recovered",connectionStoppedTip:"Blocklet Server has been stopped",wrongAccessUrlTip:"Blocklet Server access address is wrong, please use the correct access address"},debug:{title:"Your Blocklet Server is up and running!"},team:{add:"Add New",invite:{action:"Invite New",setting:"Invite Settings",enabled:"Allow any user to invite new user to this blocklet",disabled:"Only owner/admin can invite new user to this blocklet",inviter:"Invited By"},member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",openProfile:"View Profile",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",blockAccess:"Block Access",blockAccessDescription:"The user will not be able to connect to this application",allowAccess:"Allow Access",allowAccessDescription:"The user will be able to connect to this application",updateRole:"Update Role",removeUser:"Remove User",removeUserDescription:'Confirm remove user "{did}" and all its related data (connected accounts, passports, login sessions, etc.)? This action cannot be undone.',removeUserSuccess:"User removed successfully",revokePassport:"Revoke Passport",revokePassportDescription:"Once the passport is revoked, the passport holder can not use it to login again, are you sure to continue?",enablePassport:"Enable Passport",enablePassportDescription:"Once the revoked passport is enabled again, the passport holder can use it to login again, are you sure to continue?",passportPermissionTitle:"The passport has the following permissions:",search:"Search Member",onlyApprovedMember:"Show Approved Only",inviteDialog:{createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},error:{passportEmpty:"Passport should not be empty"},connectedAccounts:"Connected Accounts",connections:"Connections",federated:"Federated",switch:{did:"Switch DID",profile:"Switch Profile",passport:"Switch Passport"},settings:{notification:"Notifications",email:"Send email to me when some events happen",wallet:"Send notification to my wallet when some events happen",phone:"Send text message to me when some events happen",webhook:"Webhooks",add:"Add new webhook",url:"Custom URL",slack:"Slack Webhook",tested:"Test message sent"},activeUserSessions:"Active User Sessions",forceLogout:"Force logout",forceLogoutDescription:"Confirm to force logout this user?"},transferNode:{name:"Transfer Ownership",inviteDialog:{title:"Transfer Blocklet Server",tips:{progress:"Transfer the server needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the server with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and Blocklets.",revoke:'If you want to withdraw the transfer invitation, you can delete the invitation link in the "Team -> Members -> Inviting" page.'},createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},delegateDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize server to transfer server ownership NFT.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"}},transferApp:{name:"Transfer Ownership",transferDialog:{title:"Transfer Application",tips:{progress:"Transfer the application needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the application with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and settings."},createTransferLink:"Generate Transfer Link",createSuccessTip1:'The transfer link is successfully created, the invitee must use <a style="color: rgb(29, 193, 199)" target="_blank" href="https://www.didwallet.io/">DID Wallet</a> to receive the app ownership',createSuccessTip2:"Please click to copy and send the link to the invited member, please note that this transfer link can not be reused and will expire on {expireDate}. Your transfer link will only be shown once and will not be viewable again after closing this dialog",createSuccessTip3:"After the transfer is successful, the application will automatically restart to make the changes take effect",link:"Transfer Link",iKnow:"I have copied and saved the link"},connectDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize application to transfer ownership.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},receiveDialog:{title:"Receive Application Ownership",scan:"Scan following QR code with DID Wallet to receive the application ownership.",confirm:"Confirm on your DID Wallet",success:"Receive Ownership Successfully"},successTitle:"You have become the new owner of this application",visitDashboard:"Visit Application Dashboard"},permission:{create:{title:"Create Permission",description:`Format: <action>_<resource>
|
|
261
|
+
e.g. 'query_user', 'mutate_user'`},delete:{title:"Delete Permission",description:"Confirm delete {name}?"},error:{actionEmpty:"action cannot be empty",resourceEmpty:"resource cannot be empty",permissionTooLong:"permission cannot exceed {length} characters",descriptionTooLong:"description cannot exceed {length} characters"}},passport:{create:{title:"Create Passport",titleTip:"Title cannot be modified after created, recommended within 14 letters"},bind:{title:"Bind Permission",roleTip:"You will get all the permissions of the selected passport after binding",permissionTip:"You will get the selected permissions after binding",transferLeftTitle:"All permissions",transferRightTitle:"Granted permissions"},delete:{title:"Delete Passport",description:"The passports holds by user will lose all permissions after it is deleted. Are you sure to continue?"},error:{titleEmpty:"title cannot be empty",titleTooLong:"title cannot exceed {length} characters",descriptionEmpty:"description cannot be empty"},issuance:{pending:"Pending",create:{title:"Generate Link"},delete:{title:"Delete Receive Link",description:"Confirm delete {link}?"}},issue:"Issue Passport",disableIssuance:"Disable Passport Issuance",enableIssuance:"Enable Passport Issuance",disableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be disabled',enableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be enabled',trustedPassportIssuers:"Trusted Passport Issuers",trustedIssuers:"Trusted Issuers",trustedFactories:"Trusted NFT Collections",trustedFactoriesTip:"Manage trusted NFT Collections that can be used to exchange for a passport",searchFactoryAddress:"Search Collection DID",configFactories:"Config Trusted NFT Collections",configFactoriesTip:"Allow users to exchange NFTs for passport",factoryAddress:"NFT Collection Address",factory404:"NFT Collection not found",factoryAddressTip:"The NFT Collection address must exist on ArcBlock Main Chain",role:"Passport Type",ttl:"Passport Expire Policy",ttlNever:"Never Expire",ttlMint:"From NFT Purchase",ttlExchange:"From Passport Exchange",ttlNeverTip:"The passport will be valid until revoked",ttlMintTip:"The passport will be valid from the time the NFT is purchased until you specified ttl or revoke",ttlExchangeTip:"The passport will be valid from the time user successfully exchanged until you specified ttl or revoke",ttlTip:'"365d" means 365 days, you can also use "30 days" or "24h"',validUntil:"Valid until: {date}",externalPassport:"External Passport",notTrustedIssuerTip:"The passport cannot be used because the issuer is not on the list of trusted issuers",issuerDid:"Issuer DID",addNodeToTrustedIssuers:"Add current server as a trusted passport issuer",revoked:"Revoked",noPermission:"No permission to perform this operation",shouldNotDeleteCurrent:"You can not revoke your passport currently in use",mappingRule:"Mapping rule",defaultRule:"Default rule",search:"Search Passport",searchIssuerDid:"Search Issuer DID",issueBy:"Issue by {name}",configColor:"Config Passport Color",configColorTip:"Customize the color of the passport",color:"Passport Color",description:"Use this passport to connect {teamName} as {title}",displayBuiltin:"Builtin",displayCustom:"Custom",typesTip:"Customize the types of the passport, split by comma",issuanceDate:"Issuance Date: {date}"},inviting:{link:"Invite Link",inviter:"Inviter",delete:{title:"Delete Invite Link",description:"Confirm delete {link}?"},disabledTip:"Invitation is not enabled"},whoCanAccess:{all:{title:"Accessible to all"},owner:{title:"Owner only"},invited:{title:"Invited user only"}}},launcher:{provider:"Provider",adminUrl:"URL"},session:{blockAccess:"You have been blocked from access this server"},launchBlocklet:{appInfo:"Application Information",appInfoDesc:"Confirm the application information",author:"Application Author: {author}",setup:"Setup Blocklet",redirect:"Redirect",alreadyRunning:"Application {name} is already running on this Blocklet Server",alreadyInstalled:"Application {name} is already installed on this Blocklet Server",alreadyExists:"This application already exists, redirecting...",purchased:"Already Purchased",purchase:"Purchase",nextStep:"Next Step",agreement:"License Agreement",agreeAll:"Agree & Continue",installing:"Installing {appName} on {serverName}, it may take minutes to complete, please stay tuned...",redirecting:"{appName} is successfully installed, now starting...",start:"Launching",launch:"Install Blocklet to Server",launchSuccess:"{appName} is successfully launched!",installSuccess:"Blocklet is successfully installed and launched on {serverName}",openInRegistry:"View in Blocklet Store",subTitle:"Ready to install Blocklet {appName} on {serverName}",installingSubTitle:"{appName} installing",access:"Open the application",installRelatedComponents:"Install related Blocklets",viewApplication:"View Application",newVersion:"New Version",newVersionDesc:"The application already exists, but the current version can be upgraded",upgradeNow:"Upgrade Now",later:"Later",introduction:"Introduction",welcome:"Welcome to the Blocklet Launch Wizard",accept:"I agree to the Blocklet EULA",license:"Application License",next:"Agree to the EULA and continue",purchaseApp:"Purchase Blocklet",setupAppDesc:"Initialize your Blocklet",launched:"Complete",confirmInstall:"Confirm Installation",dialog:{title:"Become App Owner",nftFreeDescription:"Please present app space NFT and create app account to continue",nftPaidDescription:"Please present app space NFT and app purchase NFT to continue",freeDescription:"Please create app account to continue",paidDescription:"Please present app purchase NFT and create app account to continue",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully",authorizationTimeout:"Authorization timeout"},waiting:{verifying:"Verifying app meta...",downloading:"Downloading app bundle...",downloadingComponent:"Downloading {name}",extractingComponent:"Extracting {name}",extracting:"Extracting app bundle...",installing:"Installing app components...",installed:"Installed",starting:"Starting the app...",done:"Waiting for app ready..."},error:{loadMetaFailed:"Load app information failed",appMetaNotFound:"No information found for this app",downloadFailed:"Failed to download the app, please try again",installFailed:"Failed to install the app, please try again",startFailed:"Failed to start the app, please try again",launchFailed:"Failed to launch the app, please try again",installedButStopped:"The app is installed successfully, but cannot be started. You can start it manually after resolving blocking issues",installedButError:"The app is successfully installed, but failed to start",restoreFailed:"Failed to restore app, please try again",resourceBlocklet:"This blocklet cannot be launched directly, but you can add it into existing application."},steps:{introduction:"Introduction",installApp:"Install Application",purchaseSpace:"Purchase Space",prepareSpace:"Prepare Space"}},issuePassport:{title:"Receive Passport",description:"Use DID Wallet to receive the passport issued by {name}",dialog:{scan:"Use your DID Wallet to claim the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet",loginWithPassport:"Connect with this Passport",autoClose:"Page will auto close in {seconds}s",autoJump:"Page will auto jump in {seconds}s"}},lostPassport:{title:"Lost Passport",description:"The owner of {name} can scan the QR code to retrieve the passport, members please contact the owner to reissue the passport",dialog:{title:"Recover Passport",scan:"Use your DID Wallet to recover the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet"},return:"Connect with passport",selectPassport:"Select passport",receivePassport:"Receive passport"},invite:{message:"{name} invite you to be the {role} of {dapp}",success:"You have successfully joined {dapp}",receive:"Receive with",validUntil:"Valid until:",viewPermission:"View Permission",emptyPermission:"Empty Permission",open:"Open",description:{step1:"Download and setup your {wallet}",step2:"Click above button to receive passport",step3:"Login in {dapp} with received passport"},transferNFTDialog:{title:"Accept Blocklet Server {name}",scan:"Connect the Launcher to complete the reception of the Blocklet Server.",confirm:"Review this operation on your DID Wallet",success:"Connect successfully, waiting for confirmation of receiving the Server"}},receive:{dialog:{title:"Use your DID Wallet to receive passport",scan:"Connect your DID Wallet to receive passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},navigation:{navigation:"Navigation",access:"Access",members:"Members",passport:"Passport",analytics:"Analytics",dashboard:"Dashboard",studio:"Studio",blockletService:"Blocklet Service",actionFailed:"Action Failed",form:{title:"Title",titlePlaceholder:"Please input navigation title",titleTooLong:"Title length should small than {len}",icon:"Navigation Icon",iconPlaceholder:"Please input navigation icon",invalidIcon:"Icon is invalid",findMoreIcon:"Find more icons",link:"Link",linkPlaceholder:"Please input navigation link",invalidLink:"Link is invalid",component:"Component",componentPlaceholder:"Please select navigation component",role:"Role",rolePlaceholder:"Please select navigation role",locale:"Locale",localePlaceholder:"Please input locale need to add",localeExists:"{value} is already exists"},action:{add:"Add navigation",addSub:"Add sub navigation",edit:"Edit navigation",hide:"Hide navigation",show:"Show navigation",del:"Delete navigation",new:"New",noAddSub:"Uninstalled component can't add sub navigation",noEdit:"Uninstalled component can't edit",noDel:"Not allowed delete built-in navigation",reset:"Reset",restConfirmTitle:"Do you want to clear all custom navigation?",restConfirmDesc:"After clearing, the navigation will be restored to Blocklet's original default configuration.",resetSuccessful:"Reset successful"}},storage:{spaces:{title:"DID Spaces",tips:"Tips",label:"Enter DID Spaces Gateway",connected:{title:"Connected DID Spaces",tag:"Connected"},connectedWithName:"You have successfully connected to {name}",addedWithName:"You have successfully added {name}",connects:"Connect",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"},provideNFT:{title:"Please show the DID Spaces NFT for {appName}",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} show DID space NFT",success:"Connected successfully"},backup:{title:"Backup",records:"Backup Records"},autoBackup:{title:"Auto backup",enabled:"Automatic backup is on",disabled:"Automatic backup is off"},autoCheckUpdate:{title:"Automatically check for new version notification",enabled:"Automatically check for new version is on",disabled:"Automatically check for new version is off"},backupSuccessfully:"Backup successfully",restore:"Restore",restoreSuccessfully:"Restore successfully",gateway:{title:"Gateway",select:"Select a DID Spaces",add:{title:"Add DID Spaces",label:"Enter the url of the DID Spaces",failed:"Add DID Spaces failed",invalidUrl:"Invalid DID Spaces gateway url",duplicate:"DID Space({name}) already exist"},delete:{title:"Delete gateway",succeeded:"Delete DID Spaces{name} Success",failed:"Delete gateway failed",failedForSelected:"Unable to delete a selected DID Spaces"},connect:{title:"Connect DID Spaces",add:"Connect to DID Spaces now",addTips:"You are not connected to any Space yet",switch:"Switch DID Spaces",switchTips:"You are connected to {name}",connected:"Connected"},switch:{failedForMismatchSpace:"Please connect to the correct Space{name}"},connectTo:"Connect to DID Spaces"},strategy:{title:"Backup Strategy",autoBackup:"Auto backup",backupNow:"Backup now",viewBackupFiles:"View backup files"},progress:{title:"Backup progress"},record:{title:"Backup records",emptyData:"No records"},notYet:"You don't have a backup in progress yet...",connect:{now:"Connect now",title:"Connect DID Spaces",provider:"Provide your DID Spaces to start backups",providerForStorage:"Provide your DID space for data storage",useWallet:"Connect with DID Wallet",useWalletReconnect:"Reconnect with DID Wallet",useSpaceGateway:"Connect using the DID Spaces gateway",useSpaceGatewayReconnect:"Reconnect using the DID Spaces gateway",switchToSpace:"Switch to Space",switchToSpaceSucceeded:"Switched to Space{name}",succeeded:"You have successfully connected to DID Spaces",disconnect:"disconnect"},disconnected:{tag:"Disconnected",reconnectNow:"Reconnect Now"}},appLevel:{title:"App Level Storage",description:"All data generated by the application is stored on this DID Space"}},log:{lastDays:{1:"Last 1 Day",7:"Last 1 Week"}},oauth:{commonSettings:"Common Settings",save:"Save",saveSuccess:"Save successfully",saveFailed:"Save failed",issued:"Issued",thirdPartyLogin:"Third party login",alreadyBindOAuth:"Already bind third party login",alreadyBindWallet:"Already bind DID Wallet",auth0:{enable:"Enable Auth0 login",domain:"Domain",domainDescription:"Auth0's domain is required",clientId:"Client ID",clientIdDescription:"Auth0 OAuth application client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Auth0 OAuth application Client Secret is required"},github:{enable:"Enable Github login",clientId:"Client ID",clientIdDescription:"Github OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Github OAuth application Client Secret is required"},google:{enable:"Enable Google login",clientId:"Client ID",clientIdDescription:"Google OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Google OAuth application Client Secret is required"},apple:{enable:"Enable Apple login",teamId:"Team ID",teamIdDescription:"Apple OAuth application Team ID is required",serviceId:"Service ID",serviceIdDescription:"Apple OAuth application Service ID is required",keyId:"Key ID",keyIdDescription:"Apple OAuth application Key ID is required",authKey:"Auth Key",authKeyDescription:"Apple OAuth application Auth Key is required",bundleId:"Bundle ID",bundleIdDescription:"Apple OAuth application Bundle ID is required"},comingSoon:"More login methods are under construction",moreLogin:"More Login",federated:"Federated Login",oauth:"Third Party Login",runTest:"Test"},expiration:{mobile:{tips:{success:"{validity}",warning:"{validity}",error:"Expired"},loadFailed:"Retry!"},desktop:{tips:{success:"Subscription will expire after {validity}",warning:"Subscription will expire after {validity}",error:"Subscription Expired"},loading:"Load subscription...",loadFailed:"Failed to load subscription info, please retry!",nextInvoice:"Next Invoice: {date}"}},analytics:{trend:"Trends",detail:"Breakdown",runtime:"Runtime",traffic:{totalRequests:"Total Requests",validRequests:"Success Requests",failedRequests:"Failed Requests",uniqueVisitors:"Unique Visitors",uniqueFiles:"Unique URLs",uniqueReferrers:"Unique Referrers",uniqueNotFound:"Unique 404",uniqueStaticFiles:"Unique Static Files",logSize:"Log Size",bandwidth:"Bandwidth"}},federated:{inviteJoinFederatedLogin:"Invite to join federated login",inviteJoinFederatedLoginDescription:"Copy the following address and fill it in the application where you need to join to apply for federated login.",federatedLogin:"Federated login",joinFederatedLogin:"Join federated login",joinFederatedLoginDescription:"Please enter the federated login address provided by Master Blocklet to join the federated login",quitFederatedLogin:"Quit federated login",quitFederatedLoginDescription:"After quit federated login, normal login is always available",federatedJoinAppUrl:"Federated login join appUrl",federatedJoinAppUrlRequired:"Please input federated login join appUrl",failedToGetFederatedLoginAppUrl:"Failed to get federated login join appUrl",federatedJoinAppUrlInvalid:"Federated login appUrl is invalid",siteDetail:"Site detail",approveToJoinLogin:"Approve to join federated login",approve:"Enable login",revoke:"Disable login",enableFederatedLogin:"Enable federated login",disableFederatedLogin:"Disable federated login",enableFederatedLoginDescription:"After enable federated login, this site will be auto login",disableFederatedLoginDescription:"After disable federated login, this site will not be auto login",enableFederatedAutoLogin:"Enable automatic login",enableFederatedAutoLoginDescription:"After enable automatic login, if there is currently a unified login status, the site will automatically log in the identity of the federated login",disableFederatedAutoLogin:"Disable automatic login",disableFederatedAutoLoginDescription:"After the automatic login is turned off, the site will not automatically log in the user information of the unified login, and you can still choose to manually click to log in with the identity of the federated login",info:{appId:"APP DID",appPid:"Permanent ID",migratedFrom:"Also Known As",appName:"Blocklet name",appDescription:"Blocklet description",appUrl:"Blocklet url",appLogo:"Blocklet logo",did:"Blocklet DID",serverId:"Blocklet Server ID",serverVersion:"Blocklet Server version",version:"Blocklet version",appliedAt:"Apply at",status:"Status"},status:{pending:"Pending",approved:"Approved",rejected:"Rejected",revoked:"Revoked"},disbandFederatedLogin:"Disband federated login",disbandFederatedLoginDescription:"After disband federated login, all member site will quit federated login automatically"},optionsOrder:{1:"Option One",2:"Option Two"},securityRule:{title:"Security Rule",sortByDescription:"Sort by matching priority",add:"Add Security Rule",edit:"Edit Security Rule",view:"View Security Rule",form:{precede:"Precede",pathPattern:"Path Pattern",pathPatternPlaceholder:"Please input path pattern",pathPatternErrorText:"Path pattern is invalid",accessPolicyOrResponseHeaderPolicyRequired:"Access Policy or Response Header Policy is required",accessPolicy:"Access Policy",accessPolicyPlaceholder:"Please select access policy",accessPolicyHelperText:"Please select access policy",responseHeaderPolicy:"Response Header Policy",responseHeaderPolicyPlaceholder:"Please select response header policy",responseHeaderPolicyHelperText:"Please select response header policy",remark:"Remark",remarkPlaceholder:"Please input remark",component:"Component",componentPlaceholder:"Please choose component"},delete:{title:"Delete Security Rule ?",description:"After removing a security rule, the rule will no longer take effect"}},responseHeaderPolicy:{title:"Response Header Policy",add:"Add Response Header Policy",edit:"Edit Response Header Policy",view:"View Response Header Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",originOverride:"Origin Override",originOverrideHelperText:"Whether to allow the logic in the application to override this response header",cors:{origin:"Origin",originPlaceholder:"Support the following domain formats: http://www.example.com, http://*.example.com, http://www.example.com:8080, * (wildcard is not recommended)",originHelperText:"Domain name starts with http:// or https://, one per line, one wildcard * per line",methods:"Methods",allowedHeaders:"Allowed Headers",allowedHeadersPlaceholder:"It's recommended to fill in *, support multi-line input",allowedHeadersHelperText:"Tell the server which custom HTTP request headers can be used in the next request when sending an OPTIONS request, such as: x-blocklet-version",exposedHeaders:"Exposed Headers",exposedHeadersPlaceholder:"Support multi-line input",exposedHeadersHelperText:"Configure Expose-Headers, for example: X-Content-Range",maxAge:"Max-Age (Seconds)",maxAgeHelperText:"The validity period of the result obtained by the OPTIONS request, which needs to be a positive integer",optionsSuccessStatus:"Options Success Status",preflightContinue:"Preflight Continue",credentials:"Credentials",smartMode:"Smart Mode",smartModeHelperText:"Automatically add all domain names of the current application, as well as all domain names of the federated login site group"}},delete:{title:"Delete Response Header Policy ?",description:"After removing a response header policy, the policy will no longer take effect"}},accessPolicy:{title:"Access Policy",add:"Add Access Policy",edit:"Edit Access Policy",view:"View Access Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",roles:"Access Roles",accessType:"Access type"},delete:{title:"Delete Access Policy ?",description:"After removing an access policy, the policy will no longer take effect"}}},en={pageTitle:{login:"Login",dashboard:"Blocklet Dashboard",userCenter:"User Center",invite:"Invite",issuePassport:"Issue Passport",lostPassport:"Lost Passport"},auth:{noPermission:{title:"No Permission",description:"You are not the administrator of the blocklet"}},login:{reLogin:"Reconnect",description:"You must connect your DID Wallet to access {name}",already:"You are connected as",connectWallet:"Connect DID Wallet",closeWindow:"Close window",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to access this application",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"},accessLimit:{title:"Page access restricted ",description:"This page requires the following passports to access, please connect to the wallet to change or apply for the corresponding pass.",alreadyHavePassport:"Already have the passport",connectWithPassport:"Connect with this passport",buyPassport:"buyPassport"},connectWithPassport:"Connect with this passport",needManualClose:"Login success, if this window is not auto closed, please close it.",invalidRedirectUrl:"Invalid redirect url",invalidOpenerUrl:"Invalid opener url",issueKyc:{verifyTitle:"Verify Your Email Address",issueTitle:"Claim Email Verification NFT",verifyAction:"verifying",issueAction:"claiming",emailPlaceholder:"Your email address",pageDescription:"Complete the verification to secure your account and get a reusable NFT, which can be trusted by other sites (verify once and present everywhere).",issueTarget:"You are {action} for the following DID, click the avatar to add another DID",verifyButton:"Verify",sendCodeButton:"Get Verify Code",codeSentMessage:"We just sent a verification code to {email}, the code will be valid for 30 minutes, please check your inbox or spam folder.",codeSentSuccess:"Verification code sent successfully",claim:"Claim Email Verification NFT",scan:"Connect your DID Wallet to receive the NFT",confirm:"Confirm on your DID Wallet",success:"Congratulations! You have successfully verified your email and claimed the NFT in your DID Wallet.",backToHome:"Back to Home"},updateKyc:{button:"Present NFT",title:"Present Your Email Verification NFT",scan:"Connect your DID Wallet to present the NFT",confirm:"Confirm on your DID Wallet",success:"Congratulations! You NFT is verified and accepted."}},studio:{home:"Studio",preferences:"Preference Builder",branding:"Branding Images",localization:"Localization",ratio:"Ratio",size:"Size",count:"Count",tip:"Tip",change:"Click the logo to change.",order:"Order",orderTip:"drag to change",orderTipLong:"drag to change, if you deleted any screenshot on the disk, please refresh the page."},blocklet:{startApplication:"Start Application",startDescription:"Ready to start {name}",start:"Start",starting:"Starting...",open:"Open",suspended:"Application suspended",terminated:"Application terminated",suspendedCausedByExpired:"This application has been suspended due to payment expiration. Please renew before the {deadline} to resume. Failure to renew within the specified timeframe will result in the inability to renew or resume.",suspendedCausedByTerminated:"The application was terminated due to the cancellation of the subscription, which was canceled on {canceledAt}, and the data will be retained until {deadline}; before the data is deleted, you can back up the data to DID Spaces.",manageSubscription:"Manage Subscription"},setup:{steps:{connect:"Connect",didSpace:"DID Spaces",config:"Configuration",domain:"Domain",access:"Access Control",fuel:"Fuel",complete:"Complete",introduction:"Introduction",selectNodeDesc:"Select Blocklet Server",launchAppDesc:"Install Blocklet to Server",setupAppDesc:"Setup Blocklet",launched:"Complete"},connect:{title:"Connect to Application",scan:"Connect your DID Wallet to provide user profile and the blocklet's Owner privileges, then you can configure and launch the app.",confirm:"Confirm on your DID Wallet",success:"You are connected successfully"},domain:{addTitle:"Add a new domain name (Optional)",title:"Domain Setting",subTitle:"Set a custom domain for the application",label:"Please provide a valid domain name",tipStart:"Please make sure",tipEnd:"has point to the current Server",cannotResolve:"{domain} can not be resolved, please check your DNS configuration",checkingResolvable:"Checking domain status...",addingCert:"Generating certificate...",addingDomain:"Adding domain...",recordType:"Record Type",recordValue:"Record Value",skipStart:"You can",skip:"skip custom domain setting",skipEnd:"and use the default domain to access the application",genCertSuccess:"The {domain} certificate is issued successfully",genCertFailed:"Failed to issue certificate for {domain}: {message}",genCertFailedForNFTDomain:"Added NFT domain successfully, but failed to generate HTTPS certificate, please try again later",resolvedAddressError:"{domain} does not point to the same IP address as {curDomain}",invalidDNSReminder:"{error}. However, you can continue to add the domain, but automatic certificate generation is not available.",continueAdd:"Continue Adding"},didSpace:{title:"Configure DID Spaces",subTitle:"Complete the following connection process to store application data in DID Spaces",tips:"Tips",description:"Configure the DID Spaces instance address and store the application data in DID Spaces after a successful connection",label:"Please select the DID Spaces service",connected:"You have successfully connected to DID Spaces",connect:"Connect Now",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"}},config:{title:"Configuration",subTitle:"Other configuration items (you will also need to set the following items)"},complete:{title:"Everything is Ready",failedTitle:"Failed to start Blocklet",backToServer:"Back to Blocklet Server",notRunning:"Blocklet failed to start on the first shot, please retry"},fuel:{title:"Fuel required to start",tipStart:"slot",tipEnd:" is required for this application to work properly, the fund are saved in the application wallet and can consumed for transaction gas purpose. You can withdraw your balance at any time when you no longer have the app running.",addressTitle:"Application Account",addressTip:"Fuel the application with DID Wallet",need:"Need",current:"Current",fuelApp:"Fuel the application"},title:"Setup",next:"Next",previous:"Previous",continue:"Continue",skip:"Skip",startNow:"Start Now",confirm:"Confirm",cancel:"Cancel"},user:{walletNotification:"DID Wallet notification",emailNotification:"Email notification",smsNotification:"SMS notification",addWebhook:"Add New Webhook"}},translations$9={en:Ie(merge$2(en$1,en)),ar:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ar-BVsNK7VV.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ar-DVPUxrdQ.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},de:async()=>{const a=await Promise.all([__vitePreload(()=>import("./de-jtbglBCV.js"),[]).then(j=>j.default),__vitePreload(()=>import("./de-DVXfDFSU.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},es:async()=>{const a=await Promise.all([__vitePreload(()=>import("./es-DXzTkv77.js"),[]).then(j=>j.default),__vitePreload(()=>import("./es-FbTZG3DY.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},fr:async()=>{const a=await Promise.all([__vitePreload(()=>import("./fr-DB4Moo35.js"),[]).then(j=>j.default),__vitePreload(()=>import("./fr-DL1YXCMM.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},hi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./hi-BZ8MRRQ-.js"),[]).then(j=>j.default),__vitePreload(()=>import("./hi-DVTVHQJG.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},id:async()=>{const a=await Promise.all([__vitePreload(()=>import("./id-D0Dktlf7.js"),[]).then(j=>j.default),__vitePreload(()=>import("./id-CjJaQtmp.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},ja:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ja-DI5zkdyH.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ja-D5d-ejt-.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},ko:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ko-C6JgKTYW.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ko-KSOTEFlZ.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},pt:async()=>{const a=await Promise.all([__vitePreload(()=>import("./pt-F1XUE4F0.js"),[]).then(j=>j.default),__vitePreload(()=>import("./pt-CZUQ83t-.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},ru:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ru-DMrR-cU9.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ru-BowhhxB9.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},th:async()=>{const a=await Promise.all([__vitePreload(()=>import("./th-CJB7WnNL.js"),[]).then(j=>j.default),__vitePreload(()=>import("./th-G7hcFvcB.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},vi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./vi-U1GPEq8E.js"),[]).then(j=>j.default),__vitePreload(()=>import("./vi-DwM1n61y.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},zh:async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-B1PHGWyj.js"),[]).then(j=>j.default),__vitePreload(()=>import("./zh-4Fb8w10J.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))},"zh-TW":async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-tw-B9CGi8IO.js"),[]).then(j=>j.default),__vitePreload(()=>import("./zh-tw-BMZcmOgr.js"),[]).then(j=>j.default)]);return Ie(merge$2(...a))}};function arrayEach$1(a,j){for(var _e=-1,et=a==null?0:a.length;++_e<et&&j(a[_e],_e,a)!==!1;);return a}var _arrayEach=arrayEach$1,overArg=_overArg,nativeKeys$1=overArg(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$1=_isPrototype,nativeKeys=_nativeKeys,objectProto$7=Object.prototype,hasOwnProperty$b=objectProto$7.hasOwnProperty;function baseKeys$2(a){if(!isPrototype$1(a))return nativeKeys(a);var j=[];for(var _e in Object(a))hasOwnProperty$b.call(a,_e)&&_e!="constructor"&&j.push(_e);return j}var _baseKeys=baseKeys$2,arrayLikeKeys=_arrayLikeKeys,baseKeys$1=_baseKeys,isArrayLike$3=isArrayLike_1;function keys$6(a){return isArrayLike$3(a)?arrayLikeKeys(a):baseKeys$1(a)}var keys_1=keys$6,copyObject$4=_copyObject,keys$5=keys_1;function baseAssign$1(a,j){return a&©Object$4(j,keys$5(j),a)}var _baseAssign=baseAssign$1,copyObject$3=_copyObject,keysIn$2=keysIn_1;function baseAssignIn$1(a,j){return a&©Object$3(j,keysIn$2(j),a)}var _baseAssignIn=baseAssignIn$1;function arrayFilter$1(a,j){for(var _e=-1,et=a==null?0:a.length,nt=0,tt=[];++_e<et;){var ot=a[_e];j(ot,_e,a)&&(tt[nt++]=ot)}return tt}var _arrayFilter=arrayFilter$1;function stubArray$2(){return[]}var stubArray_1=stubArray$2,arrayFilter=_arrayFilter,stubArray$1=stubArray_1,objectProto$6=Object.prototype,propertyIsEnumerable=objectProto$6.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols$3=nativeGetSymbols$1?function(a){return a==null?[]:(a=Object(a),arrayFilter(nativeGetSymbols$1(a),function(j){return propertyIsEnumerable.call(a,j)}))}:stubArray$1,_getSymbols=getSymbols$3,copyObject$2=_copyObject,getSymbols$2=_getSymbols;function copySymbols$1(a,j){return copyObject$2(a,getSymbols$2(a),j)}var _copySymbols=copySymbols$1;function arrayPush$3(a,j){for(var _e=-1,et=j.length,nt=a.length;++_e<et;)a[nt+_e]=j[_e];return a}var _arrayPush=arrayPush$3,arrayPush$2=_arrayPush,getPrototype=_getPrototype,getSymbols$1=_getSymbols,stubArray=stubArray_1,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn$2=nativeGetSymbols?function(a){for(var j=[];a;)arrayPush$2(j,getSymbols$1(a)),a=getPrototype(a);return j}:stubArray,_getSymbolsIn=getSymbolsIn$2,copyObject$1=_copyObject,getSymbolsIn$1=_getSymbolsIn;function copySymbolsIn$1(a,j){return copyObject$1(a,getSymbolsIn$1(a),j)}var _copySymbolsIn=copySymbolsIn$1,arrayPush$1=_arrayPush,isArray$e=isArray_1;function baseGetAllKeys$2(a,j,_e){var et=j(a);return isArray$e(a)?et:arrayPush$1(et,_e(a))}var _baseGetAllKeys=baseGetAllKeys$2,baseGetAllKeys$1=_baseGetAllKeys,getSymbols=_getSymbols,keys$4=keys_1;function getAllKeys$2(a){return baseGetAllKeys$1(a,keys$4,getSymbols)}var _getAllKeys=getAllKeys$2,baseGetAllKeys=_baseGetAllKeys,getSymbolsIn=_getSymbolsIn,keysIn$1=keysIn_1;function getAllKeysIn$3(a){return baseGetAllKeys(a,keysIn$1,getSymbolsIn)}var _getAllKeysIn=getAllKeysIn$3,getNative$5=_getNative,root$7=_root,DataView$2=getNative$5(root$7,"DataView"),_DataView=DataView$2,getNative$4=_getNative,root$6=_root,Promise$2=getNative$4(root$6,"Promise"),_Promise=Promise$2,getNative$3=_getNative,root$5=_root,Set$3=getNative$3(root$5,"Set"),_Set=Set$3,getNative$2=_getNative,root$4=_root,WeakMap$4=getNative$2(root$4,"WeakMap"),_WeakMap=WeakMap$4,DataView$1=_DataView,Map$3=_Map,Promise$1=_Promise,Set$2=_Set,WeakMap$3=_WeakMap,baseGetTag$3=_baseGetTag,toSource$2=_toSource,mapTag$5="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$5="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource$2(DataView$1),mapCtorString=toSource$2(Map$3),promiseCtorString=toSource$2(Promise$1),setCtorString=toSource$2(Set$2),weakMapCtorString=toSource$2(WeakMap$3),getTag$5=baseGetTag$3;(DataView$1&&getTag$5(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$3&&getTag$5(new Map$3)!=mapTag$5||Promise$1&&getTag$5(Promise$1.resolve())!=promiseTag||Set$2&&getTag$5(new Set$2)!=setTag$5||WeakMap$3&&getTag$5(new WeakMap$3)!=weakMapTag$1)&&(getTag$5=function(a){var j=baseGetTag$3(a),_e=j==objectTag$2?a.constructor:void 0,et=_e?toSource$2(_e):"";if(et)switch(et){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$5;case promiseCtorString:return promiseTag;case setCtorString:return setTag$5;case weakMapCtorString:return weakMapTag$1}return j});var _getTag=getTag$5,objectProto$5=Object.prototype,hasOwnProperty$a=objectProto$5.hasOwnProperty;function initCloneArray$1(a){var j=a.length,_e=new a.constructor(j);return j&&typeof a[0]=="string"&&hasOwnProperty$a.call(a,"index")&&(_e.index=a.index,_e.input=a.input),_e}var _initCloneArray=initCloneArray$1,cloneArrayBuffer$1=_cloneArrayBuffer;function cloneDataView$1(a,j){var _e=j?cloneArrayBuffer$1(a.buffer):a.buffer;return new a.constructor(_e,a.byteOffset,a.byteLength)}var _cloneDataView=cloneDataView$1,reFlags=/\w*$/;function cloneRegExp$1(a){var j=new a.constructor(a.source,reFlags.exec(a));return j.lastIndex=a.lastIndex,j}var _cloneRegExp=cloneRegExp$1,Symbol$6=_Symbol,symbolProto$3=Symbol$6?Symbol$6.prototype:void 0,symbolValueOf$1=symbolProto$3?symbolProto$3.valueOf:void 0;function cloneSymbol$1(a){return symbolValueOf$1?Object(symbolValueOf$1.call(a)):{}}var _cloneSymbol=cloneSymbol$1,cloneArrayBuffer=_cloneArrayBuffer,cloneDataView=_cloneDataView,cloneRegExp=_cloneRegExp,cloneSymbol=_cloneSymbol,cloneTypedArray=_cloneTypedArray,boolTag$3="[object Boolean]",dateTag$2="[object Date]",mapTag$4="[object Map]",numberTag$3="[object Number]",regexpTag$2="[object RegExp]",setTag$4="[object Set]",stringTag$3="[object String]",symbolTag$4="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag$1(a,j,_e){var et=a.constructor;switch(j){case arrayBufferTag$2:return cloneArrayBuffer(a);case boolTag$3:case dateTag$2:return new et(+a);case dataViewTag$2:return cloneDataView(a,_e);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(a,_e);case mapTag$4:return new et;case numberTag$3:case stringTag$3:return new et(a);case regexpTag$2:return cloneRegExp(a);case setTag$4:return new et;case symbolTag$4:return cloneSymbol(a)}}var _initCloneByTag=initCloneByTag$1,getTag$4=_getTag,isObjectLike$8=isObjectLike_1,mapTag$3="[object Map]";function baseIsMap$1(a){return isObjectLike$8(a)&&getTag$4(a)==mapTag$3}var _baseIsMap=baseIsMap$1,baseIsMap=_baseIsMap,baseUnary$3=_baseUnary,nodeUtil$1=_nodeUtilExports,nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap$1=nodeIsMap?baseUnary$3(nodeIsMap):baseIsMap,isMap_1=isMap$1,getTag$3=_getTag,isObjectLike$7=isObjectLike_1,setTag$3="[object Set]";function baseIsSet$1(a){return isObjectLike$7(a)&&getTag$3(a)==setTag$3}var _baseIsSet=baseIsSet$1,baseIsSet=_baseIsSet,baseUnary$2=_baseUnary,nodeUtil=_nodeUtilExports,nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet$1=nodeIsSet?baseUnary$2(nodeIsSet):baseIsSet,isSet_1=isSet$1,Stack$2=_Stack,arrayEach=_arrayEach,assignValue$2=_assignValue,baseAssign=_baseAssign,baseAssignIn=_baseAssignIn,cloneBuffer=_cloneBufferExports,copyArray=_copyArray,copySymbols=_copySymbols,copySymbolsIn=_copySymbolsIn,getAllKeys$1=_getAllKeys,getAllKeysIn$2=_getAllKeysIn,getTag$2=_getTag,initCloneArray=_initCloneArray,initCloneByTag=_initCloneByTag,initCloneObject=_initCloneObject,isArray$d=isArray_1,isBuffer$3=isBufferExports,isMap=isMap_1,isObject$f=isObject_1,isSet=isSet_1,keys$3=keys_1,keysIn=keysIn_1,CLONE_DEEP_FLAG$2=1,CLONE_FLAT_FLAG$1=2,CLONE_SYMBOLS_FLAG$2=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$2="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag$2="[object Function]",genTag$2="[object GeneratorFunction]",mapTag$2="[object Map]",numberTag$2="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$2="[object String]",symbolTag$3="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$2]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$2]=cloneableTags[numberTag$2]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$2]=cloneableTags[stringTag$2]=cloneableTags[symbolTag$3]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag$2]=cloneableTags[weakMapTag]=!1;function baseClone$2(a,j,_e,et,nt,tt){var ot,ct=j&CLONE_DEEP_FLAG$2,ft=j&CLONE_FLAT_FLAG$1,ht=j&CLONE_SYMBOLS_FLAG$2;if(_e&&(ot=nt?_e(a,et,nt,tt):_e(a)),ot!==void 0)return ot;if(!isObject$f(a))return a;var dt=isArray$d(a);if(dt){if(ot=initCloneArray(a),!ct)return copyArray(a,ot)}else{var vt=getTag$2(a),$t=vt==funcTag$2||vt==genTag$2;if(isBuffer$3(a))return cloneBuffer(a,ct);if(vt==objectTag$1||vt==argsTag$1||$t&&!nt){if(ot=ft||$t?{}:initCloneObject(a),!ct)return ft?copySymbolsIn(a,baseAssignIn(ot,a)):copySymbols(a,baseAssign(ot,a))}else{if(!cloneableTags[vt])return nt?a:{};ot=initCloneByTag(a,vt,ct)}}tt||(tt=new Stack$2);var xt=tt.get(a);if(xt)return xt;tt.set(a,ot),isSet(a)?a.forEach(function(Ct){ot.add(baseClone$2(Ct,j,_e,Ct,a,tt))}):isMap(a)&&a.forEach(function(Ct,Rt){ot.set(Rt,baseClone$2(Ct,j,_e,Rt,a,tt))});var At=ht?ft?getAllKeysIn$2:getAllKeys$1:ft?keysIn:keys$3,wt=dt?void 0:At(a);return arrayEach(wt||a,function(Ct,Rt){wt&&(Rt=Ct,Ct=a[Rt]),assignValue$2(ot,Rt,baseClone$2(Ct,j,_e,Rt,a,tt))}),ot}var _baseClone=baseClone$2;function last$2(a){var j=a==null?0:a.length;return j?a[j-1]:void 0}var last_1=last$2,baseGet$4=_baseGet,baseSlice=_baseSlice;function parent$1(a,j){return j.length<2?a:baseGet$4(a,baseSlice(j,0,-1))}var _parent=parent$1,castPath$6=_castPath,last$1=last_1,parent=_parent,toKey$6=_toKey;function baseUnset$1(a,j){return j=castPath$6(j,a),a=parent(a,j),a==null||delete a[toKey$6(last$1(j))]}var _baseUnset=baseUnset$1,isPlainObject$1=isPlainObject_1;function customOmitClone$1(a){return isPlainObject$1(a)?void 0:a}var _customOmitClone=customOmitClone$1,Symbol$5=_Symbol,isArguments$4=isArguments_1,isArray$c=isArray_1,spreadableSymbol=Symbol$5?Symbol$5.isConcatSpreadable:void 0;function isFlattenable$1(a){return isArray$c(a)||isArguments$4(a)||!!(spreadableSymbol&&a&&a[spreadableSymbol])}var _isFlattenable=isFlattenable$1,arrayPush=_arrayPush,isFlattenable=_isFlattenable;function baseFlatten$3(a,j,_e,et,nt){var tt=-1,ot=a.length;for(_e||(_e=isFlattenable),nt||(nt=[]);++tt<ot;){var ct=a[tt];j>0&&_e(ct)?j>1?baseFlatten$3(ct,j-1,_e,et,nt):arrayPush(nt,ct):et||(nt[nt.length]=ct)}return nt}var _baseFlatten=baseFlatten$3,baseFlatten$2=_baseFlatten;function flatten$2(a){var j=a==null?0:a.length;return j?baseFlatten$2(a,1):[]}var flatten_1=flatten$2;const flatten$3=getDefaultExportFromCjs$1(flatten_1);var flatten$1=flatten_1,overRest=_overRest,setToString=_setToString;function flatRest$2(a){return setToString(overRest(a,void 0,flatten$1),a+"")}var _flatRest=flatRest$2,arrayMap$4=_arrayMap,baseClone$1=_baseClone,baseUnset=_baseUnset,castPath$5=_castPath,copyObject=_copyObject,customOmitClone=_customOmitClone,flatRest$1=_flatRest,getAllKeysIn$1=_getAllKeysIn,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,omit=flatRest$1(function(a,j){var _e={};if(a==null)return _e;var et=!1;j=arrayMap$4(j,function(tt){return tt=castPath$5(tt,a),et||(et=tt.length>1),tt}),copyObject(a,getAllKeysIn$1(a),_e),et&&(_e=baseClone$1(_e,CLONE_DEEP_FLAG$1|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG$1,customOmitClone));for(var nt=j.length;nt--;)baseUnset(_e,j[nt]);return _e}),omit_1=omit;const omit$1=getDefaultExportFromCjs$1(omit_1);var assignValue$1=_assignValue,castPath$4=_castPath,isIndex$2=_isIndex,isObject$e=isObject_1,toKey$5=_toKey;function baseSet$2(a,j,_e,et){if(!isObject$e(a))return a;j=castPath$4(j,a);for(var nt=-1,tt=j.length,ot=tt-1,ct=a;ct!=null&&++nt<tt;){var ft=toKey$5(j[nt]),ht=_e;if(ft==="__proto__"||ft==="constructor"||ft==="prototype")return a;if(nt!=ot){var dt=ct[ft];ht=et?et(dt,ft,ct):void 0,ht===void 0&&(ht=isObject$e(dt)?dt:isIndex$2(j[nt+1])?[]:{})}assignValue$1(ct,ft,ht),ct=ct[ft]}return a}var _baseSet=baseSet$2,baseGet$3=_baseGet,baseSet$1=_baseSet,castPath$3=_castPath;function basePickBy$2(a,j,_e){for(var et=-1,nt=j.length,tt={};++et<nt;){var ot=j[et],ct=baseGet$3(a,ot);_e(ct,ot)&&baseSet$1(tt,castPath$3(ot,a),ct)}return tt}var _basePickBy=basePickBy$2;function baseHasIn$1(a,j){return a!=null&&j in Object(a)}var _baseHasIn=baseHasIn$1,castPath$2=_castPath,isArguments$3=isArguments_1,isArray$b=isArray_1,isIndex$1=_isIndex,isLength=isLength_1,toKey$4=_toKey;function hasPath$1(a,j,_e){j=castPath$2(j,a);for(var et=-1,nt=j.length,tt=!1;++et<nt;){var ot=toKey$4(j[et]);if(!(tt=a!=null&&_e(a,ot)))break;a=a[ot]}return tt||++et!=nt?tt:(nt=a==null?0:a.length,!!nt&&isLength(nt)&&isIndex$1(ot,nt)&&(isArray$b(a)||isArguments$3(a)))}var _hasPath=hasPath$1,baseHasIn=_baseHasIn,hasPath=_hasPath;function hasIn$2(a,j){return a!=null&&hasPath(a,j,baseHasIn)}var hasIn_1=hasIn$2,basePickBy$1=_basePickBy,hasIn$1=hasIn_1;function basePick$1(a,j){return basePickBy$1(a,j,function(_e,et){return hasIn$1(a,et)})}var _basePick=basePick$1,basePick=_basePick,flatRest=_flatRest,pick$1=flatRest(function(a,j){return a==null?{}:basePick(a,j)}),pick_1$1=pick$1;const pick$2=getDefaultExportFromCjs$1(pick_1$1);var baseClone=_baseClone,CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(a){return baseClone(a,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var cloneDeep_1=cloneDeep;const cloneDeep$1=getDefaultExportFromCjs$1(cloneDeep_1);function isUndefined$1(a){return a===void 0}var isUndefined_1=isUndefined$1;const isUndefined$2=getDefaultExportFromCjs$1(isUndefined_1);var baseMerge$1=_baseMerge,isObject$d=isObject_1;function customDefaultsMerge$1(a,j,_e,et,nt,tt){return isObject$d(a)&&isObject$d(j)&&(tt.set(j,a),baseMerge$1(a,j,void 0,customDefaultsMerge$1,tt),tt.delete(j)),a}var _customDefaultsMerge=customDefaultsMerge$1,baseMerge=_baseMerge,createAssigner=_createAssigner,mergeWith$1=createAssigner(function(a,j,_e,et){baseMerge(a,j,_e,et)}),mergeWith_1=mergeWith$1,apply$2=_apply,baseRest$3=_baseRest,customDefaultsMerge=_customDefaultsMerge,mergeWith=mergeWith_1,defaultsDeep=baseRest$3(function(a){return a.push(void 0,customDefaultsMerge),apply$2(mergeWith,void 0,a)}),defaultsDeep_1=defaultsDeep;const defaultsDeep$1=getDefaultExportFromCjs$1(defaultsDeep_1);var eventemitter3$1={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function nt(ft,ht,dt){this.fn=ft,this.context=ht,this.once=dt||!1}function tt(ft,ht,dt,vt,$t){if(typeof dt!="function")throw new TypeError("The listener must be a function");var xt=new nt(dt,vt||ft,$t),At=_e?_e+ht:ht;return ft._events[At]?ft._events[At].fn?ft._events[At]=[ft._events[At],xt]:ft._events[At].push(xt):(ft._events[At]=xt,ft._eventsCount++),ft}function ot(ft,ht){--ft._eventsCount===0?ft._events=new et:delete ft._events[ht]}function ct(){this._events=new et,this._eventsCount=0}ct.prototype.eventNames=function(){var ht=[],dt,vt;if(this._eventsCount===0)return ht;for(vt in dt=this._events)j.call(dt,vt)&&ht.push(_e?vt.slice(1):vt);return Object.getOwnPropertySymbols?ht.concat(Object.getOwnPropertySymbols(dt)):ht},ct.prototype.listeners=function(ht){var dt=_e?_e+ht:ht,vt=this._events[dt];if(!vt)return[];if(vt.fn)return[vt.fn];for(var $t=0,xt=vt.length,At=new Array(xt);$t<xt;$t++)At[$t]=vt[$t].fn;return At},ct.prototype.listenerCount=function(ht){var dt=_e?_e+ht:ht,vt=this._events[dt];return vt?vt.fn?1:vt.length:0},ct.prototype.emit=function(ht,dt,vt,$t,xt,At){var wt=_e?_e+ht:ht;if(!this._events[wt])return!1;var Ct=this._events[wt],Rt=arguments.length,It,Mt;if(Ct.fn){switch(Ct.once&&this.removeListener(ht,Ct.fn,void 0,!0),Rt){case 1:return Ct.fn.call(Ct.context),!0;case 2:return Ct.fn.call(Ct.context,dt),!0;case 3:return Ct.fn.call(Ct.context,dt,vt),!0;case 4:return Ct.fn.call(Ct.context,dt,vt,$t),!0;case 5:return Ct.fn.call(Ct.context,dt,vt,$t,xt),!0;case 6:return Ct.fn.call(Ct.context,dt,vt,$t,xt,At),!0}for(Mt=1,It=new Array(Rt-1);Mt<Rt;Mt++)It[Mt-1]=arguments[Mt];Ct.fn.apply(Ct.context,It)}else{var Ot=Ct.length,zt;for(Mt=0;Mt<Ot;Mt++)switch(Ct[Mt].once&&this.removeListener(ht,Ct[Mt].fn,void 0,!0),Rt){case 1:Ct[Mt].fn.call(Ct[Mt].context);break;case 2:Ct[Mt].fn.call(Ct[Mt].context,dt);break;case 3:Ct[Mt].fn.call(Ct[Mt].context,dt,vt);break;case 4:Ct[Mt].fn.call(Ct[Mt].context,dt,vt,$t);break;default:if(!It)for(zt=1,It=new Array(Rt-1);zt<Rt;zt++)It[zt-1]=arguments[zt];Ct[Mt].fn.apply(Ct[Mt].context,It)}}return!0},ct.prototype.on=function(ht,dt,vt){return tt(this,ht,dt,vt,!1)},ct.prototype.once=function(ht,dt,vt){return tt(this,ht,dt,vt,!0)},ct.prototype.removeListener=function(ht,dt,vt,$t){var xt=_e?_e+ht:ht;if(!this._events[xt])return this;if(!dt)return ot(this,xt),this;var At=this._events[xt];if(At.fn)At.fn===dt&&(!$t||At.once)&&(!vt||At.context===vt)&&ot(this,xt);else{for(var wt=0,Ct=[],Rt=At.length;wt<Rt;wt++)(At[wt].fn!==dt||$t&&!At[wt].once||vt&&At[wt].context!==vt)&&Ct.push(At[wt]);Ct.length?this._events[xt]=Ct.length===1?Ct[0]:Ct:ot(this,xt)}return this},ct.prototype.removeAllListeners=function(ht){var dt;return ht?(dt=_e?_e+ht:ht,this._events[dt]&&ot(this,dt)):(this._events=new et,this._eventsCount=0),this},ct.prototype.off=ct.prototype.removeListener,ct.prototype.addListener=ct.prototype.on,ct.prefixed=_e,ct.EventEmitter=ct,a.exports=ct})(eventemitter3$1);var eventemitter3Exports$1=eventemitter3$1.exports;const EventEmitter$6=getDefaultExportFromCjs$1(eventemitter3Exports$1);var pWaitFor$2={exports:{}},pTimeout$3={exports:{}};class TimeoutError extends Error{constructor(j){super(j),this.name="TimeoutError"}}const pTimeout$1=(a,j,_e,et)=>{let nt;const tt=new Promise((ot,ct)=>{if(typeof j!="number"||j<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(j===1/0){ot(a);return}et={customTimers:{setTimeout,clearTimeout},...et},nt=et.customTimers.setTimeout.call(void 0,()=>{if(typeof _e=="function"){try{ot(_e())}catch(dt){ct(dt)}return}const ft=typeof _e=="string"?_e:`Promise timed out after ${j} milliseconds`,ht=_e instanceof Error?_e:new TimeoutError(ft);typeof a.cancel=="function"&&a.cancel(),ct(ht)},j),(async()=>{try{ot(await a)}catch(ft){ct(ft)}finally{et.customTimers.clearTimeout.call(void 0,nt)}})()});return tt.clear=()=>{clearTimeout(nt),nt=void 0},tt};pTimeout$3.exports=pTimeout$1;pTimeout$3.exports.default=pTimeout$1;var TimeoutError_1=pTimeout$3.exports.TimeoutError=TimeoutError,pTimeoutExports=pTimeout$3.exports;const pTimeout$2=getDefaultExportFromCjs$1(pTimeoutExports),pTimeout=pTimeoutExports,pWaitFor=async(a,j)=>{j={interval:20,timeout:1/0,leadingCheck:!0,...j};let _e;const et=new Promise((nt,tt)=>{const ot=async()=>{try{const ct=await a();if(typeof ct!="boolean")throw new TypeError("Expected condition to return a boolean");ct===!0?nt():_e=setTimeout(ot,j.interval)}catch(ct){tt(ct)}};j.leadingCheck?ot():_e=setTimeout(ot,j.interval)});if(j.timeout!==1/0)try{return await pTimeout(et,j.timeout)}catch(nt){throw _e&&clearTimeout(_e),nt}return et};pWaitFor$2.exports=pWaitFor;pWaitFor$2.exports.default=pWaitFor;var pWaitForExports=pWaitFor$2.exports;const pWaitFor$1=getDefaultExportFromCjs$1(pWaitForExports);var createUpdateEffect=function(a){return function(j,_e){var et=reactExports.useRef(!1);a(function(){return function(){et.current=!1}},[]),a(function(){if(!et.current)et.current=!0;else return j()},_e)}},extendStatics=function(a,j){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,et){_e.__proto__=et}||function(_e,et){for(var nt in et)Object.prototype.hasOwnProperty.call(et,nt)&&(_e[nt]=et[nt])},extendStatics(a,j)};function __extends(a,j){if(typeof j!="function"&&j!==null)throw new TypeError("Class extends value "+String(j)+" is not a constructor or null");extendStatics(a,j);function _e(){this.constructor=a}a.prototype=j===null?Object.create(j):(_e.prototype=j.prototype,new _e)}var __assign=function(){return __assign=Object.assign||function(j){for(var _e,et=1,nt=arguments.length;et<nt;et++){_e=arguments[et];for(var tt in _e)Object.prototype.hasOwnProperty.call(_e,tt)&&(j[tt]=_e[tt])}return j},__assign.apply(this,arguments)};function __rest(a,j){var _e={};for(var et in a)Object.prototype.hasOwnProperty.call(a,et)&&j.indexOf(et)<0&&(_e[et]=a[et]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,et=Object.getOwnPropertySymbols(a);nt<et.length;nt++)j.indexOf(et[nt])<0&&Object.prototype.propertyIsEnumerable.call(a,et[nt])&&(_e[et[nt]]=a[et[nt]]);return _e}function __decorate(a,j,_e,et){var nt=arguments.length,tt=nt<3?j:et===null?et=Object.getOwnPropertyDescriptor(j,_e):et,ot;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")tt=Reflect.decorate(a,j,_e,et);else for(var ct=a.length-1;ct>=0;ct--)(ot=a[ct])&&(tt=(nt<3?ot(tt):nt>3?ot(j,_e,tt):ot(j,_e))||tt);return nt>3&&tt&&Object.defineProperty(j,_e,tt),tt}function __param(a,j){return function(_e,et){j(_e,et,a)}}function __esDecorate(a,j,_e,et,nt,tt){function ot(Rt){if(Rt!==void 0&&typeof Rt!="function")throw new TypeError("Function expected");return Rt}for(var ct=et.kind,ft=ct==="getter"?"get":ct==="setter"?"set":"value",ht=!j&&a?et.static?a:a.prototype:null,dt=j||(ht?Object.getOwnPropertyDescriptor(ht,et.name):{}),vt,$t=!1,xt=_e.length-1;xt>=0;xt--){var At={};for(var wt in et)At[wt]=wt==="access"?{}:et[wt];for(var wt in et.access)At.access[wt]=et.access[wt];At.addInitializer=function(Rt){if($t)throw new TypeError("Cannot add initializers after decoration has completed");tt.push(ot(Rt||null))};var Ct=(0,_e[xt])(ct==="accessor"?{get:dt.get,set:dt.set}:dt[ft],At);if(ct==="accessor"){if(Ct===void 0)continue;if(Ct===null||typeof Ct!="object")throw new TypeError("Object expected");(vt=ot(Ct.get))&&(dt.get=vt),(vt=ot(Ct.set))&&(dt.set=vt),(vt=ot(Ct.init))&&nt.unshift(vt)}else(vt=ot(Ct))&&(ct==="field"?nt.unshift(vt):dt[ft]=vt)}ht&&Object.defineProperty(ht,et.name,dt),$t=!0}function __runInitializers(a,j,_e){for(var et=arguments.length>2,nt=0;nt<j.length;nt++)_e=et?j[nt].call(a,_e):j[nt].call(a);return et?_e:void 0}function __propKey(a){return typeof a=="symbol"?a:"".concat(a)}function __setFunctionName(a,j,_e){return typeof j=="symbol"&&(j=j.description?"[".concat(j.description,"]"):""),Object.defineProperty(a,"name",{configurable:!0,value:_e?"".concat(_e," ",j):j})}function __metadata(a,j){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,j)}function __awaiter(a,j,_e,et){function nt(tt){return tt instanceof _e?tt:new _e(function(ot){ot(tt)})}return new(_e||(_e=Promise))(function(tt,ot){function ct(dt){try{ht(et.next(dt))}catch(vt){ot(vt)}}function ft(dt){try{ht(et.throw(dt))}catch(vt){ot(vt)}}function ht(dt){dt.done?tt(dt.value):nt(dt.value).then(ct,ft)}ht((et=et.apply(a,j||[])).next())})}function __generator(a,j){var _e={label:0,sent:function(){if(tt[0]&1)throw tt[1];return tt[1]},trys:[],ops:[]},et,nt,tt,ot=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return ot.next=ct(0),ot.throw=ct(1),ot.return=ct(2),typeof Symbol=="function"&&(ot[Symbol.iterator]=function(){return this}),ot;function ct(ht){return function(dt){return ft([ht,dt])}}function ft(ht){if(et)throw new TypeError("Generator is already executing.");for(;ot&&(ot=0,ht[0]&&(_e=0)),_e;)try{if(et=1,nt&&(tt=ht[0]&2?nt.return:ht[0]?nt.throw||((tt=nt.return)&&tt.call(nt),0):nt.next)&&!(tt=tt.call(nt,ht[1])).done)return tt;switch(nt=0,tt&&(ht=[ht[0]&2,tt.value]),ht[0]){case 0:case 1:tt=ht;break;case 4:return _e.label++,{value:ht[1],done:!1};case 5:_e.label++,nt=ht[1],ht=[0];continue;case 7:ht=_e.ops.pop(),_e.trys.pop();continue;default:if(tt=_e.trys,!(tt=tt.length>0&&tt[tt.length-1])&&(ht[0]===6||ht[0]===2)){_e=0;continue}if(ht[0]===3&&(!tt||ht[1]>tt[0]&&ht[1]<tt[3])){_e.label=ht[1];break}if(ht[0]===6&&_e.label<tt[1]){_e.label=tt[1],tt=ht;break}if(tt&&_e.label<tt[2]){_e.label=tt[2],_e.ops.push(ht);break}tt[2]&&_e.ops.pop(),_e.trys.pop();continue}ht=j.call(a,_e)}catch(dt){ht=[6,dt],nt=0}finally{et=tt=0}if(ht[0]&5)throw ht[1];return{value:ht[0]?ht[1]:void 0,done:!0}}}var __createBinding=Object.create?function(a,j,_e,et){et===void 0&&(et=_e);var nt=Object.getOwnPropertyDescriptor(j,_e);(!nt||("get"in nt?!j.__esModule:nt.writable||nt.configurable))&&(nt={enumerable:!0,get:function(){return j[_e]}}),Object.defineProperty(a,et,nt)}:function(a,j,_e,et){et===void 0&&(et=_e),a[et]=j[_e]};function __exportStar(a,j){for(var _e in a)_e!=="default"&&!Object.prototype.hasOwnProperty.call(j,_e)&&__createBinding(j,a,_e)}function __values(a){var j=typeof Symbol=="function"&&Symbol.iterator,_e=j&&a[j],et=0;if(_e)return _e.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&et>=a.length&&(a=void 0),{value:a&&a[et++],done:!a}}};throw new TypeError(j?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(a,j){var _e=typeof Symbol=="function"&&a[Symbol.iterator];if(!_e)return a;var et=_e.call(a),nt,tt=[],ot;try{for(;(j===void 0||j-- >0)&&!(nt=et.next()).done;)tt.push(nt.value)}catch(ct){ot={error:ct}}finally{try{nt&&!nt.done&&(_e=et.return)&&_e.call(et)}finally{if(ot)throw ot.error}}return tt}function __spread(){for(var a=[],j=0;j<arguments.length;j++)a=a.concat(__read(arguments[j]));return a}function __spreadArrays(){for(var a=0,j=0,_e=arguments.length;j<_e;j++)a+=arguments[j].length;for(var et=Array(a),nt=0,j=0;j<_e;j++)for(var tt=arguments[j],ot=0,ct=tt.length;ot<ct;ot++,nt++)et[nt]=tt[ot];return et}function __spreadArray(a,j,_e){if(_e||arguments.length===2)for(var et=0,nt=j.length,tt;et<nt;et++)(tt||!(et in j))&&(tt||(tt=Array.prototype.slice.call(j,0,et)),tt[et]=j[et]);return a.concat(tt||Array.prototype.slice.call(j))}function __await(a){return this instanceof __await?(this.v=a,this):new __await(a)}function __asyncGenerator(a,j,_e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var et=_e.apply(a,j||[]),nt,tt=[];return nt=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),ct("next"),ct("throw"),ct("return",ot),nt[Symbol.asyncIterator]=function(){return this},nt;function ot(xt){return function(At){return Promise.resolve(At).then(xt,vt)}}function ct(xt,At){et[xt]&&(nt[xt]=function(wt){return new Promise(function(Ct,Rt){tt.push([xt,wt,Ct,Rt])>1||ft(xt,wt)})},At&&(nt[xt]=At(nt[xt])))}function ft(xt,At){try{ht(et[xt](At))}catch(wt){$t(tt[0][3],wt)}}function ht(xt){xt.value instanceof __await?Promise.resolve(xt.value.v).then(dt,vt):$t(tt[0][2],xt)}function dt(xt){ft("next",xt)}function vt(xt){ft("throw",xt)}function $t(xt,At){xt(At),tt.shift(),tt.length&&ft(tt[0][0],tt[0][1])}}function __asyncDelegator(a){var j,_e;return j={},et("next"),et("throw",function(nt){throw nt}),et("return"),j[Symbol.iterator]=function(){return this},j;function et(nt,tt){j[nt]=a[nt]?function(ot){return(_e=!_e)?{value:__await(a[nt](ot)),done:!1}:tt?tt(ot):ot}:tt}}function __asyncValues(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j=a[Symbol.asyncIterator],_e;return j?j.call(a):(a=typeof __values=="function"?__values(a):a[Symbol.iterator](),_e={},et("next"),et("throw"),et("return"),_e[Symbol.asyncIterator]=function(){return this},_e);function et(tt){_e[tt]=a[tt]&&function(ot){return new Promise(function(ct,ft){ot=a[tt](ot),nt(ct,ft,ot.done,ot.value)})}}function nt(tt,ot,ct,ft){Promise.resolve(ft).then(function(ht){tt({value:ht,done:ct})},ot)}}function __makeTemplateObject(a,j){return Object.defineProperty?Object.defineProperty(a,"raw",{value:j}):a.raw=j,a}var __setModuleDefault=Object.create?function(a,j){Object.defineProperty(a,"default",{enumerable:!0,value:j})}:function(a,j){a.default=j};function __importStar(a){if(a&&a.__esModule)return a;var j={};if(a!=null)for(var _e in a)_e!=="default"&&Object.prototype.hasOwnProperty.call(a,_e)&&__createBinding(j,a,_e);return __setModuleDefault(j,a),j}function __importDefault$b(a){return a&&a.__esModule?a:{default:a}}function __classPrivateFieldGet(a,j,_e,et){if(_e==="a"&&!et)throw new TypeError("Private accessor was defined without a getter");if(typeof j=="function"?a!==j||!et:!j.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return _e==="m"?et:_e==="a"?et.call(a):et?et.value:j.get(a)}function __classPrivateFieldSet(a,j,_e,et,nt){if(et==="m")throw new TypeError("Private method is not writable");if(et==="a"&&!nt)throw new TypeError("Private accessor was defined without a setter");if(typeof j=="function"?a!==j||!nt:!j.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return et==="a"?nt.call(a,_e):nt?nt.value=_e:j.set(a,_e),_e}function __classPrivateFieldIn(a,j){if(j===null||typeof j!="object"&&typeof j!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof a=="function"?j===a:a.has(j)}function __addDisposableResource(a,j,_e){if(j!=null){if(typeof j!="object"&&typeof j!="function")throw new TypeError("Object expected.");var et,nt;if(_e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");et=j[Symbol.asyncDispose]}if(et===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");et=j[Symbol.dispose],_e&&(nt=et)}if(typeof et!="function")throw new TypeError("Object not disposable.");nt&&(et=function(){try{nt.call(this)}catch(tt){return Promise.reject(tt)}}),a.stack.push({value:j,dispose:et,async:_e})}else _e&&a.stack.push({async:!0});return j}var _SuppressedError=typeof SuppressedError=="function"?SuppressedError:function(a,j,_e){var et=new Error(_e);return et.name="SuppressedError",et.error=a,et.suppressed=j,et};function __disposeResources(a){function j(tt){a.error=a.hasError?new _SuppressedError(tt,a.error,"An error was suppressed during disposal."):tt,a.hasError=!0}var _e,et=0;function nt(){for(;_e=a.stack.pop();)try{if(!_e.async&&et===1)return et=0,a.stack.push(_e),Promise.resolve().then(nt);if(_e.dispose){var tt=_e.dispose.call(_e.value);if(_e.async)return et|=2,Promise.resolve(tt).then(nt,function(ot){return j(ot),nt()})}else et|=1}catch(ot){j(ot)}if(et===1)return a.hasError?Promise.reject(a.error):Promise.resolve();if(a.hasError)throw a.error}return nt()}const tslib_es6={__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault:__importDefault$b,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources},tslib_es6$1=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource,get __assign(){return __assign},__asyncDelegator,__asyncGenerator,__asyncValues,__await,__awaiter,__classPrivateFieldGet,__classPrivateFieldIn,__classPrivateFieldSet,__createBinding,__decorate,__disposeResources,__esDecorate,__exportStar,__extends,__generator,__importDefault:__importDefault$b,__importStar,__makeTemplateObject,__metadata,__param,__propKey,__read,__rest,__runInitializers,__setFunctionName,__spread,__spreadArray,__spreadArrays,__values,default:tslib_es6},Symbol.toStringTag,{value:"Module"}));var isFunction$3=function(a){return typeof a=="function"},isString$3=function(a){return typeof a=="string"},isNumber$2=function(a){return typeof a=="number"},isUndef=function(a){return typeof a>"u"};function useMemoizedFn(a){var j=reactExports.useRef(a);j.current=reactExports.useMemo(function(){return a},[a]);var _e=reactExports.useRef();return _e.current||(_e.current=function(){for(var et=[],nt=0;nt<arguments.length;nt++)et[nt]=arguments[nt];return j.current.apply(this,et)}),_e.current}const useUpdateEffect=createUpdateEffect(reactExports.useEffect);var useAutoRunPlugin=function(a,j){var _e=j.manual,et=j.ready,nt=et===void 0?!0:et,tt=j.defaultParams,ot=tt===void 0?[]:tt,ct=j.refreshDeps,ft=ct===void 0?[]:ct,ht=j.refreshDepsAction,dt=reactExports.useRef(!1);return dt.current=!1,useUpdateEffect(function(){!_e&&nt&&(dt.current=!0,a.run.apply(a,__spreadArray([],__read(ot),!1)))},[nt]),useUpdateEffect(function(){dt.current||_e||(dt.current=!0,ht?ht():a.refresh())},__spreadArray([],__read(ft),!1)),{onBefore:function(){if(!nt)return{stopNow:!0}}}};useAutoRunPlugin.onInit=function(a){var j=a.ready,_e=j===void 0?!0:j,et=a.manual;return{loading:!et&&_e}};function depsAreSame(a,j){if(a===j)return!0;for(var _e=0;_e<a.length;_e++)if(!Object.is(a[_e],j[_e]))return!1;return!0}function useCreation(a,j){var _e=reactExports.useRef({deps:j,obj:void 0,initialized:!1}).current;return(_e.initialized===!1||!depsAreSame(_e.deps,j))&&(_e.deps=j,_e.obj=a(),_e.initialized=!0),_e.obj}function useLatest(a){var j=reactExports.useRef(a);return j.current=a,j}var useUnmount=function(a){var j=useLatest(a);reactExports.useEffect(function(){return function(){j.current()}},[])},cache$2=new Map,setCache=function(a,j,_e){var et=cache$2.get(a);et!=null&&et.timer&&clearTimeout(et.timer);var nt=void 0;j>-1&&(nt=setTimeout(function(){cache$2.delete(a)},j)),cache$2.set(a,__assign(__assign({},_e),{timer:nt}))},getCache=function(a){return cache$2.get(a)},cachePromise=new Map,getCachePromise=function(a){return cachePromise.get(a)},setCachePromise=function(a,j){cachePromise.set(a,j),j.then(function(_e){return cachePromise.delete(a),_e}).catch(function(){cachePromise.delete(a)})},listeners$2={},trigger=function(a,j){listeners$2[a]&&listeners$2[a].forEach(function(_e){return _e(j)})},subscribe$2=function(a,j){return listeners$2[a]||(listeners$2[a]=[]),listeners$2[a].push(j),function(){var et=listeners$2[a].indexOf(j);listeners$2[a].splice(et,1)}},useCachePlugin=function(a,j){var _e=j.cacheKey,et=j.cacheTime,nt=et===void 0?5*60*1e3:et,tt=j.staleTime,ot=tt===void 0?0:tt,ct=j.setCache,ft=j.getCache,ht=reactExports.useRef(),dt=reactExports.useRef(),vt=function(xt,At){ct?ct(At):setCache(xt,nt,At),trigger(xt,At.data)},$t=function(xt,At){return At===void 0&&(At=[]),ft?ft(At):getCache(xt)};return useCreation(function(){if(_e){var xt=$t(_e);xt&&Object.hasOwnProperty.call(xt,"data")&&(a.state.data=xt.data,a.state.params=xt.params,(ot===-1||new Date().getTime()-xt.time<=ot)&&(a.state.loading=!1)),ht.current=subscribe$2(_e,function(At){a.setState({data:At})})}},[]),useUnmount(function(){var xt;(xt=ht.current)===null||xt===void 0||xt.call(ht)}),_e?{onBefore:function(xt){var At=$t(_e,xt);return!At||!Object.hasOwnProperty.call(At,"data")?{}:ot===-1||new Date().getTime()-At.time<=ot?{loading:!1,data:At==null?void 0:At.data,error:void 0,returnNow:!0}:{data:At==null?void 0:At.data,error:void 0}},onRequest:function(xt,At){var wt=getCachePromise(_e);return wt&&wt!==dt.current?{servicePromise:wt}:(wt=xt.apply(void 0,__spreadArray([],__read(At),!1)),dt.current=wt,setCachePromise(_e,wt),{servicePromise:wt})},onSuccess:function(xt,At){var wt;_e&&((wt=ht.current)===null||wt===void 0||wt.call(ht),vt(_e,{data:xt,params:At,time:new Date().getTime()}),ht.current=subscribe$2(_e,function(Ct){a.setState({data:Ct})}))},onMutate:function(xt){var At;_e&&((At=ht.current)===null||At===void 0||At.call(ht),vt(_e,{data:xt,params:a.state.params,time:new Date().getTime()}),ht.current=subscribe$2(_e,function(wt){a.setState({data:wt})}))}}:{}},root$3=_root,now$1=function(){return root$3.Date.now()},now_1=now$1,isObject$c=isObject_1,now=now_1,toNumber$2=toNumber_1,FUNC_ERROR_TEXT$4="Expected a function",nativeMax=Math.max,nativeMin$1=Math.min;function debounce$1(a,j,_e){var et,nt,tt,ot,ct,ft,ht=0,dt=!1,vt=!1,$t=!0;if(typeof a!="function")throw new TypeError(FUNC_ERROR_TEXT$4);j=toNumber$2(j)||0,isObject$c(_e)&&(dt=!!_e.leading,vt="maxWait"in _e,tt=vt?nativeMax(toNumber$2(_e.maxWait)||0,j):tt,$t="trailing"in _e?!!_e.trailing:$t);function xt(jt){var Gt=et,Jt=nt;return et=nt=void 0,ht=jt,ot=a.apply(Jt,Gt),ot}function At(jt){return ht=jt,ct=setTimeout(Rt,j),dt?xt(jt):ot}function wt(jt){var Gt=jt-ft,Jt=jt-ht,Xt=j-Gt;return vt?nativeMin$1(Xt,tt-Jt):Xt}function Ct(jt){var Gt=jt-ft,Jt=jt-ht;return ft===void 0||Gt>=j||Gt<0||vt&&Jt>=tt}function Rt(){var jt=now();if(Ct(jt))return It(jt);ct=setTimeout(Rt,wt(jt))}function It(jt){return ct=void 0,$t&&et?xt(jt):(et=nt=void 0,ot)}function Mt(){ct!==void 0&&clearTimeout(ct),ht=0,et=ft=nt=ct=void 0}function Ot(){return ct===void 0?ot:It(now())}function zt(){var jt=now(),Gt=Ct(jt);if(et=arguments,nt=this,ft=jt,Gt){if(ct===void 0)return At(ft);if(vt)return clearTimeout(ct),ct=setTimeout(Rt,j),xt(ft)}return ct===void 0&&(ct=setTimeout(Rt,j)),ot}return zt.cancel=Mt,zt.flush=Ot,zt}var debounce_1=debounce$1;const debounce$2=getDefaultExportFromCjs$1(debounce_1);var useDebouncePlugin=function(a,j){var _e=j.debounceWait,et=j.debounceLeading,nt=j.debounceTrailing,tt=j.debounceMaxWait,ot=reactExports.useRef(),ct=reactExports.useMemo(function(){var ft={};return et!==void 0&&(ft.leading=et),nt!==void 0&&(ft.trailing=nt),tt!==void 0&&(ft.maxWait=tt),ft},[et,nt,tt]);return reactExports.useEffect(function(){if(_e){var ft=a.runAsync.bind(a);return ot.current=debounce$2(function(ht){ht()},_e,ct),a.runAsync=function(){for(var ht=[],dt=0;dt<arguments.length;dt++)ht[dt]=arguments[dt];return new Promise(function(vt,$t){var xt;(xt=ot.current)===null||xt===void 0||xt.call(ot,function(){ft.apply(void 0,__spreadArray([],__read(ht),!1)).then(vt).catch($t)})})},function(){var ht;(ht=ot.current)===null||ht===void 0||ht.cancel(),a.runAsync=ft}}},[_e,ct]),_e?{onCancel:function(){var ft;(ft=ot.current)===null||ft===void 0||ft.cancel()}}:{}},useLoadingDelayPlugin=function(a,j){var _e=j.loadingDelay,et=j.ready,nt=reactExports.useRef();if(!_e)return{};var tt=function(){nt.current&&clearTimeout(nt.current)};return{onBefore:function(){return tt(),et!==!1&&(nt.current=setTimeout(function(){a.setState({loading:!0})},_e)),{loading:!1}},onFinally:function(){tt()},onCancel:function(){tt()}}},isBrowser$1=!!(typeof window<"u"&&window.document&&window.document.createElement);function isDocumentVisible(){return isBrowser$1?document.visibilityState!=="hidden":!0}var listeners$1=[];function subscribe$1(a){return listeners$1.push(a),function(){var _e=listeners$1.indexOf(a);listeners$1.splice(_e,1)}}if(isBrowser$1){var revalidate$1=function(){if(isDocumentVisible())for(var a=0;a<listeners$1.length;a++){var j=listeners$1[a];j()}};window.addEventListener("visibilitychange",revalidate$1,!1)}var usePollingPlugin=function(a,j){var _e=j.pollingInterval,et=j.pollingWhenHidden,nt=et===void 0?!0:et,tt=j.pollingErrorRetryCount,ot=tt===void 0?-1:tt,ct=reactExports.useRef(),ft=reactExports.useRef(),ht=reactExports.useRef(0),dt=function(){var vt;ct.current&&clearTimeout(ct.current),(vt=ft.current)===null||vt===void 0||vt.call(ft)};return useUpdateEffect(function(){_e||dt()},[_e]),_e?{onBefore:function(){dt()},onError:function(){ht.current+=1},onSuccess:function(){ht.current=0},onFinally:function(){ot===-1||ot!==-1&&ht.current<=ot?ct.current=setTimeout(function(){!nt&&!isDocumentVisible()?ft.current=subscribe$1(function(){a.refresh()}):a.refresh()},_e):ht.current=0},onCancel:function(){dt()}}:{}};function limit(a,j){var _e=!1;return function(){for(var et=[],nt=0;nt<arguments.length;nt++)et[nt]=arguments[nt];_e||(_e=!0,a.apply(void 0,__spreadArray([],__read(et),!1)),setTimeout(function(){_e=!1},j))}}function isOnline(){return isBrowser$1&&typeof navigator.onLine<"u"?navigator.onLine:!0}var listeners=[];function subscribe(a){return listeners.push(a),function(){var _e=listeners.indexOf(a);_e>-1&&listeners.splice(_e,1)}}if(isBrowser$1){var revalidate=function(){if(!(!isDocumentVisible()||!isOnline()))for(var a=0;a<listeners.length;a++){var j=listeners[a];j()}};window.addEventListener("visibilitychange",revalidate,!1),window.addEventListener("focus",revalidate,!1)}var useRefreshOnWindowFocusPlugin=function(a,j){var _e=j.refreshOnWindowFocus,et=j.focusTimespan,nt=et===void 0?5e3:et,tt=reactExports.useRef(),ot=function(){var ct;(ct=tt.current)===null||ct===void 0||ct.call(tt)};return reactExports.useEffect(function(){if(_e){var ct=limit(a.refresh.bind(a),nt);tt.current=subscribe(function(){ct()})}return function(){ot()}},[_e,nt]),useUnmount(function(){ot()}),{}},useRetryPlugin=function(a,j){var _e=j.retryInterval,et=j.retryCount,nt=reactExports.useRef(),tt=reactExports.useRef(0),ot=reactExports.useRef(!1);return et?{onBefore:function(){ot.current||(tt.current=0),ot.current=!1,nt.current&&clearTimeout(nt.current)},onSuccess:function(){tt.current=0},onError:function(){if(tt.current+=1,et===-1||tt.current<=et){var ct=_e??Math.min(1e3*Math.pow(2,tt.current),3e4);nt.current=setTimeout(function(){ot.current=!0,a.refresh()},ct)}else tt.current=0},onCancel:function(){tt.current=0,nt.current&&clearTimeout(nt.current)}}:{}},debounce=debounce_1,isObject$b=isObject_1,FUNC_ERROR_TEXT$3="Expected a function";function throttle$2(a,j,_e){var et=!0,nt=!0;if(typeof a!="function")throw new TypeError(FUNC_ERROR_TEXT$3);return isObject$b(_e)&&(et="leading"in _e?!!_e.leading:et,nt="trailing"in _e?!!_e.trailing:nt),debounce(a,j,{leading:et,maxWait:j,trailing:nt})}var throttle_1=throttle$2;const throttle$3=getDefaultExportFromCjs$1(throttle_1);var useThrottlePlugin=function(a,j){var _e=j.throttleWait,et=j.throttleLeading,nt=j.throttleTrailing,tt=reactExports.useRef(),ot={};return et!==void 0&&(ot.leading=et),nt!==void 0&&(ot.trailing=nt),reactExports.useEffect(function(){if(_e){var ct=a.runAsync.bind(a);return tt.current=throttle$3(function(ft){ft()},_e,ot),a.runAsync=function(){for(var ft=[],ht=0;ht<arguments.length;ht++)ft[ht]=arguments[ht];return new Promise(function(dt,vt){var $t;($t=tt.current)===null||$t===void 0||$t.call(tt,function(){ct.apply(void 0,__spreadArray([],__read(ft),!1)).then(dt).catch(vt)})})},function(){var ft;a.runAsync=ct,(ft=tt.current)===null||ft===void 0||ft.cancel()}}},[_e,et,nt]),_e?{onCancel:function(){var ct;(ct=tt.current)===null||ct===void 0||ct.cancel()}}:{}},useMount=function(a){reactExports.useEffect(function(){a==null||a()},[])},useUpdate=function(){var a=__read(reactExports.useState({}),2),j=a[1];return reactExports.useCallback(function(){return j({})},[])},Fetch=function(){function a(j,_e,et,nt){nt===void 0&&(nt={}),this.serviceRef=j,this.options=_e,this.subscribe=et,this.initState=nt,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=__assign(__assign(__assign({},this.state),{loading:!_e.manual}),nt)}return a.prototype.setState=function(j){j===void 0&&(j={}),this.state=__assign(__assign({},this.state),j),this.subscribe()},a.prototype.runPluginHandler=function(j){for(var _e=[],et=1;et<arguments.length;et++)_e[et-1]=arguments[et];var nt=this.pluginImpls.map(function(tt){var ot;return(ot=tt[j])===null||ot===void 0?void 0:ot.call.apply(ot,__spreadArray([tt],__read(_e),!1))}).filter(Boolean);return Object.assign.apply(Object,__spreadArray([{}],__read(nt),!1))},a.prototype.runAsync=function(){for(var j,_e,et,nt,tt,ot,ct,ft,ht,dt,vt=[],$t=0;$t<arguments.length;$t++)vt[$t]=arguments[$t];return __awaiter(this,void 0,void 0,function(){var xt,At,wt,Ct,Rt,It,Mt,Ot,zt,jt,Gt;return __generator(this,function(Jt){switch(Jt.label){case 0:if(this.count+=1,xt=this.count,At=this.runPluginHandler("onBefore",vt),wt=At.stopNow,Ct=wt===void 0?!1:wt,Rt=At.returnNow,It=Rt===void 0?!1:Rt,Mt=__rest(At,["stopNow","returnNow"]),Ct)return[2,new Promise(function(){})];if(this.setState(__assign({loading:!0,params:vt},Mt)),It)return[2,Promise.resolve(Mt.data)];(_e=(j=this.options).onBefore)===null||_e===void 0||_e.call(j,vt),Jt.label=1;case 1:return Jt.trys.push([1,3,,4]),Ot=this.runPluginHandler("onRequest",this.serviceRef.current,vt).servicePromise,Ot||(Ot=(Gt=this.serviceRef).current.apply(Gt,__spreadArray([],__read(vt),!1))),[4,Ot];case 2:return zt=Jt.sent(),xt!==this.count?[2,new Promise(function(){})]:(this.setState({data:zt,error:void 0,loading:!1}),(nt=(et=this.options).onSuccess)===null||nt===void 0||nt.call(et,zt,vt),this.runPluginHandler("onSuccess",zt,vt),(ot=(tt=this.options).onFinally)===null||ot===void 0||ot.call(tt,vt,zt,void 0),xt===this.count&&this.runPluginHandler("onFinally",vt,zt,void 0),[2,zt]);case 3:if(jt=Jt.sent(),xt!==this.count)return[2,new Promise(function(){})];throw this.setState({error:jt,loading:!1}),(ft=(ct=this.options).onError)===null||ft===void 0||ft.call(ct,jt,vt),this.runPluginHandler("onError",jt,vt),(dt=(ht=this.options).onFinally)===null||dt===void 0||dt.call(ht,vt,void 0,jt),xt===this.count&&this.runPluginHandler("onFinally",vt,void 0,jt),jt;case 4:return[2]}})})},a.prototype.run=function(){for(var j=this,_e=[],et=0;et<arguments.length;et++)_e[et]=arguments[et];this.runAsync.apply(this,__spreadArray([],__read(_e),!1)).catch(function(nt){j.options.onError||console.error(nt)})},a.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},a.prototype.refresh=function(){this.run.apply(this,__spreadArray([],__read(this.state.params||[]),!1))},a.prototype.refreshAsync=function(){return this.runAsync.apply(this,__spreadArray([],__read(this.state.params||[]),!1))},a.prototype.mutate=function(j){var _e=isFunction$3(j)?j(this.state.data):j;this.runPluginHandler("onMutate",_e),this.setState({data:_e})},a}();function useRequestImplement(a,j,_e){j===void 0&&(j={}),_e===void 0&&(_e=[]);var et=j.manual,nt=et===void 0?!1:et,tt=j.ready,ot=tt===void 0?!0:tt,ct=__rest(j,["manual","ready"]),ft=__assign({manual:nt,ready:ot},ct),ht=useLatest(a),dt=useUpdate(),vt=useCreation(function(){var $t=_e.map(function(xt){var At;return(At=xt==null?void 0:xt.onInit)===null||At===void 0?void 0:At.call(xt,ft)}).filter(Boolean);return new Fetch(ht,ft,dt,Object.assign.apply(Object,__spreadArray([{}],__read($t),!1)))},[]);return vt.options=ft,vt.pluginImpls=_e.map(function($t){return $t(vt,ft)}),useMount(function(){if(!nt&&ot){var $t=vt.state.params||j.defaultParams||[];vt.run.apply(vt,__spreadArray([],__read($t),!1))}}),useUnmount(function(){vt.cancel()}),{loading:vt.state.loading,data:vt.state.data,error:vt.state.error,params:vt.state.params||[],cancel:useMemoizedFn(vt.cancel.bind(vt)),refresh:useMemoizedFn(vt.refresh.bind(vt)),refreshAsync:useMemoizedFn(vt.refreshAsync.bind(vt)),run:useMemoizedFn(vt.run.bind(vt)),runAsync:useMemoizedFn(vt.runAsync.bind(vt)),mutate:useMemoizedFn(vt.mutate.bind(vt))}}function useRequest(a,j,_e){return useRequestImplement(a,j,__spreadArray(__spreadArray([],__read([]),!1),[useDebouncePlugin,useLoadingDelayPlugin,usePollingPlugin,useRefreshOnWindowFocusPlugin,useThrottlePlugin,useAutoRunPlugin,useCachePlugin,useRetryPlugin],!1))}function isAsyncGenerator(a){return isFunction$3(a[Symbol.asyncIterator])}function useAsyncEffect(a,j){reactExports.useEffect(function(){var _e=a(),et=!1;function nt(){return __awaiter(this,void 0,void 0,function(){var tt;return __generator(this,function(ot){switch(ot.label){case 0:if(!isAsyncGenerator(_e))return[3,4];ot.label=1;case 1:return[4,_e.next()];case 2:return tt=ot.sent(),tt.done||et?[3,3]:[3,1];case 3:return[3,6];case 4:return[4,_e];case 5:ot.sent(),ot.label=6;case 6:return[2]}})})}return nt(),function(){et=!0}},j)}function getTargetElement(a,j){if(isBrowser$1){if(!a)return j;var _e;return isFunction$3(a)?_e=a():"current"in a?_e=a.current:_e=a,_e}}var createEffectWithTarget=function(a){var j=function(_e,et,nt){var tt=reactExports.useRef(!1),ot=reactExports.useRef([]),ct=reactExports.useRef([]),ft=reactExports.useRef();a(function(){var ht,dt=Array.isArray(nt)?nt:[nt],vt=dt.map(function($t){return getTargetElement($t)});if(!tt.current){tt.current=!0,ot.current=vt,ct.current=et,ft.current=_e();return}(vt.length!==ot.current.length||!depsAreSame(ot.current,vt)||!depsAreSame(ct.current,et))&&((ht=ft.current)===null||ht===void 0||ht.call(ft),ot.current=vt,ct.current=et,ft.current=_e())}),useUnmount(function(){var ht;(ht=ft.current)===null||ht===void 0||ht.call(ft),tt.current=!1})};return j},useEffectWithTarget$1=createEffectWithTarget(reactExports.useEffect);function useDebounceFn(a,j){var _e,et=useLatest(a),nt=(_e=j==null?void 0:j.wait)!==null&&_e!==void 0?_e:1e3,tt=reactExports.useMemo(function(){return debounce$2(function(){for(var ot=[],ct=0;ct<arguments.length;ct++)ot[ct]=arguments[ct];return et.current.apply(et,__spreadArray([],__read(ot),!1))},nt,j)},[]);return useUnmount(function(){tt.cancel()}),{run:tt,cancel:tt.cancel,flush:tt.flush}}function useDebounce(a,j){var _e=__read(reactExports.useState(a),2),et=_e[0],nt=_e[1],tt=useDebounceFn(function(){nt(a)},j).run;return reactExports.useEffect(function(){tt()},[a]),et}function useEventListener(a,j,_e){_e===void 0&&(_e={});var et=_e.enable,nt=et===void 0?!0:et,tt=useLatest(j);useEffectWithTarget$1(function(){if(nt){var ot=getTargetElement(_e.target,window);if(ot!=null&&ot.addEventListener){var ct=function(ft){return tt.current(ft)};return ot.addEventListener(a,ct,{capture:_e.capture,once:_e.once,passive:_e.passive}),function(){ot.removeEventListener(a,ct,{capture:_e.capture})}}}},[a,_e.capture,_e.once,_e.passive,nt],_e.target)}var useInterval$1=function(a,j,_e){_e===void 0&&(_e={});var et=useMemoizedFn(a),nt=reactExports.useRef(null),tt=reactExports.useCallback(function(){nt.current&&clearInterval(nt.current)},[]);return reactExports.useEffect(function(){if(!(!isNumber$2(j)||j<0))return _e.immediate&&et(),nt.current=setInterval(et,j),tt},[j,_e.immediate]),tt},SYNC_STORAGE_EVENT_NAME="AHOOKS_SYNC_STORAGE_EVENT_NAME";function createUseStorageState(a){function j(_e,et){et===void 0&&(et={});var nt,tt=et.listenStorageChange,ot=tt===void 0?!1:tt,ct=et.onError,ft=ct===void 0?function(It){console.error(It)}:ct;try{nt=a()}catch(It){ft(It)}var ht=function(It){return et.serializer?et.serializer(It):JSON.stringify(It)},dt=function(It){return et.deserializer?et.deserializer(It):JSON.parse(It)};function vt(){try{var It=nt==null?void 0:nt.getItem(_e);if(It)return dt(It)}catch(Mt){ft(Mt)}return isFunction$3(et.defaultValue)?et.defaultValue():et.defaultValue}var $t=__read(reactExports.useState(vt),2),xt=$t[0],At=$t[1];useUpdateEffect(function(){At(vt())},[_e]);var wt=function(It){var Mt=isFunction$3(It)?It(xt):It;ot||At(Mt);try{var Ot=void 0,zt=nt==null?void 0:nt.getItem(_e);isUndef(Mt)?(Ot=null,nt==null||nt.removeItem(_e)):(Ot=ht(Mt),nt==null||nt.setItem(_e,Ot)),dispatchEvent(new CustomEvent(SYNC_STORAGE_EVENT_NAME,{detail:{key:_e,newValue:Ot,oldValue:zt,storageArea:nt}}))}catch(jt){ft(jt)}},Ct=function(It){It.key!==_e||It.storageArea!==nt||At(vt())},Rt=function(It){Ct(It.detail)};return useEventListener("storage",Ct,{enable:ot}),useEventListener(SYNC_STORAGE_EVENT_NAME,Rt,{enable:ot}),[xt,useMemoizedFn(wt)]}return j}var useLocalStorageState=createUseStorageState(function(){return isBrowser$1?localStorage:void 0});function useRafState(a){var j=reactExports.useRef(0),_e=__read(reactExports.useState(a),2),et=_e[0],nt=_e[1],tt=reactExports.useCallback(function(ot){cancelAnimationFrame(j.current),j.current=requestAnimationFrame(function(){nt(ot)})},[]);return useUnmount(function(){cancelAnimationFrame(j.current)}),[et,tt]}var defaultShouldUpdate=function(a,j){return!Object.is(a,j)};function usePrevious(a,j){j===void 0&&(j=defaultShouldUpdate);var _e=reactExports.useRef(),et=reactExports.useRef();return j(et.current,a)&&(_e.current=et.current,et.current=a),_e.current}var proxyMap=new WeakMap,rawMap=new WeakMap;function observer(a,j){var _e=proxyMap.get(a);if(_e)return _e;if(rawMap.has(a))return a;var et=new Proxy(a,{get:function(nt,tt,ot){var ct=Reflect.get(nt,tt,ot),ft=Reflect.getOwnPropertyDescriptor(nt,tt);return!(ft!=null&&ft.configurable)&&!(ft!=null&&ft.writable)?ct:isPlainObject$4(ct)||Array.isArray(ct)?observer(ct,j):ct},set:function(nt,tt,ot){var ct=Reflect.set(nt,tt,ot);return j(),ct},deleteProperty:function(nt,tt){var ot=Reflect.deleteProperty(nt,tt);return j(),ot}});return proxyMap.set(a,et),rawMap.set(et,a),et}function useReactive(a){var j=useUpdate(),_e=reactExports.useRef(a),et=useCreation(function(){return observer(_e.current,function(){j()})},[]);return et}var MapShim=function(){if(typeof Map<"u")return Map;function a(j,_e){var et=-1;return j.some(function(nt,tt){return nt[0]===_e?(et=tt,!0):!1}),et}return function(){function j(){this.__entries__=[]}return Object.defineProperty(j.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),j.prototype.get=function(_e){var et=a(this.__entries__,_e),nt=this.__entries__[et];return nt&&nt[1]},j.prototype.set=function(_e,et){var nt=a(this.__entries__,_e);~nt?this.__entries__[nt][1]=et:this.__entries__.push([_e,et])},j.prototype.delete=function(_e){var et=this.__entries__,nt=a(et,_e);~nt&&et.splice(nt,1)},j.prototype.has=function(_e){return!!~a(this.__entries__,_e)},j.prototype.clear=function(){this.__entries__.splice(0)},j.prototype.forEach=function(_e,et){et===void 0&&(et=null);for(var nt=0,tt=this.__entries__;nt<tt.length;nt++){var ot=tt[nt];_e.call(et,ot[1],ot[0])}},j}()}(),isBrowser=typeof window<"u"&&typeof document<"u"&&window.document===document,global$1$1=function(){return typeof global$2<"u"&&global$2.Math===Math?global$2:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),requestAnimationFrame$1=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(global$1$1):function(a){return setTimeout(function(){return a(Date.now())},1e3/60)}}(),trailingTimeout=2;function throttle$1(a,j){var _e=!1,et=!1,nt=0;function tt(){_e&&(_e=!1,a()),et&&ct()}function ot(){requestAnimationFrame$1(tt)}function ct(){var ft=Date.now();if(_e){if(ft-nt<trailingTimeout)return;et=!0}else _e=!0,et=!1,setTimeout(ot,j);nt=ft}return ct}var REFRESH_DELAY=20,transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported=typeof MutationObserver<"u",ResizeObserverController=function(){function a(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=throttle$1(this.refresh.bind(this),REFRESH_DELAY)}return a.prototype.addObserver=function(j){~this.observers_.indexOf(j)||this.observers_.push(j),this.connected_||this.connect_()},a.prototype.removeObserver=function(j){var _e=this.observers_,et=_e.indexOf(j);~et&&_e.splice(et,1),!_e.length&&this.connected_&&this.disconnect_()},a.prototype.refresh=function(){var j=this.updateObservers_();j&&this.refresh()},a.prototype.updateObservers_=function(){var j=this.observers_.filter(function(_e){return _e.gatherActive(),_e.hasActive()});return j.forEach(function(_e){return _e.broadcastActive()}),j.length>0},a.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},a.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},a.prototype.onTransitionEnd_=function(j){var _e=j.propertyName,et=_e===void 0?"":_e,nt=transitionKeys.some(function(tt){return!!~et.indexOf(tt)});nt&&this.refresh()},a.getInstance=function(){return this.instance_||(this.instance_=new a),this.instance_},a.instance_=null,a}(),defineConfigurable=function(a,j){for(var _e=0,et=Object.keys(j);_e<et.length;_e++){var nt=et[_e];Object.defineProperty(a,nt,{value:j[nt],enumerable:!1,writable:!1,configurable:!0})}return a},getWindowOf=function(a){var j=a&&a.ownerDocument&&a.ownerDocument.defaultView;return j||global$1$1},emptyRect=createRectInit(0,0,0,0);function toFloat(a){return parseFloat(a)||0}function getBordersSize(a){for(var j=[],_e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];return j.reduce(function(et,nt){var tt=a["border-"+nt+"-width"];return et+toFloat(tt)},0)}function getPaddings(a){for(var j=["top","right","bottom","left"],_e={},et=0,nt=j;et<nt.length;et++){var tt=nt[et],ot=a["padding-"+tt];_e[tt]=toFloat(ot)}return _e}function getSVGContentRect(a){var j=a.getBBox();return createRectInit(0,0,j.width,j.height)}function getHTMLElementContentRect(a){var j=a.clientWidth,_e=a.clientHeight;if(!j&&!_e)return emptyRect;var et=getWindowOf(a).getComputedStyle(a),nt=getPaddings(et),tt=nt.left+nt.right,ot=nt.top+nt.bottom,ct=toFloat(et.width),ft=toFloat(et.height);if(et.boxSizing==="border-box"&&(Math.round(ct+tt)!==j&&(ct-=getBordersSize(et,"left","right")+tt),Math.round(ft+ot)!==_e&&(ft-=getBordersSize(et,"top","bottom")+ot)),!isDocumentElement(a)){var ht=Math.round(ct+tt)-j,dt=Math.round(ft+ot)-_e;Math.abs(ht)!==1&&(ct-=ht),Math.abs(dt)!==1&&(ft-=dt)}return createRectInit(nt.left,nt.top,ct,ft)}var isSVGGraphicsElement=function(){return typeof SVGGraphicsElement<"u"?function(a){return a instanceof getWindowOf(a).SVGGraphicsElement}:function(a){return a instanceof getWindowOf(a).SVGElement&&typeof a.getBBox=="function"}}();function isDocumentElement(a){return a===getWindowOf(a).document.documentElement}function getContentRect(a){return isBrowser?isSVGGraphicsElement(a)?getSVGContentRect(a):getHTMLElementContentRect(a):emptyRect}function createReadOnlyRect(a){var j=a.x,_e=a.y,et=a.width,nt=a.height,tt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,ot=Object.create(tt.prototype);return defineConfigurable(ot,{x:j,y:_e,width:et,height:nt,top:_e,right:j+et,bottom:nt+_e,left:j}),ot}function createRectInit(a,j,_e,et){return{x:a,y:j,width:_e,height:et}}var ResizeObservation=function(){function a(j){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=j}return a.prototype.isActive=function(){var j=getContentRect(this.target);return this.contentRect_=j,j.width!==this.broadcastWidth||j.height!==this.broadcastHeight},a.prototype.broadcastRect=function(){var j=this.contentRect_;return this.broadcastWidth=j.width,this.broadcastHeight=j.height,j},a}(),ResizeObserverEntry=function(){function a(j,_e){var et=createReadOnlyRect(_e);defineConfigurable(this,{target:j,contentRect:et})}return a}(),ResizeObserverSPI=function(){function a(j,_e,et){if(this.activeObservations_=[],this.observations_=new MapShim,typeof j!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=j,this.controller_=_e,this.callbackCtx_=et}return a.prototype.observe=function(j){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(j instanceof getWindowOf(j).Element))throw new TypeError('parameter 1 is not of type "Element".');var _e=this.observations_;_e.has(j)||(_e.set(j,new ResizeObservation(j)),this.controller_.addObserver(this),this.controller_.refresh())}},a.prototype.unobserve=function(j){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(j instanceof getWindowOf(j).Element))throw new TypeError('parameter 1 is not of type "Element".');var _e=this.observations_;_e.has(j)&&(_e.delete(j),_e.size||this.controller_.removeObserver(this))}},a.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},a.prototype.gatherActive=function(){var j=this;this.clearActive(),this.observations_.forEach(function(_e){_e.isActive()&&j.activeObservations_.push(_e)})},a.prototype.broadcastActive=function(){if(this.hasActive()){var j=this.callbackCtx_,_e=this.activeObservations_.map(function(et){return new ResizeObserverEntry(et.target,et.broadcastRect())});this.callback_.call(j,_e,j),this.clearActive()}},a.prototype.clearActive=function(){this.activeObservations_.splice(0)},a.prototype.hasActive=function(){return this.activeObservations_.length>0},a}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver=function(){function a(j){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var _e=ResizeObserverController.getInstance(),et=new ResizeObserverSPI(j,_e,this);observers.set(this,et)}return a}();["observe","unobserve","disconnect"].forEach(function(a){ResizeObserver.prototype[a]=function(){var j;return(j=observers.get(this))[a].apply(j,arguments)}});var index=function(){return typeof global$1$1.ResizeObserver<"u"?global$1$1.ResizeObserver:ResizeObserver}(),useEffectWithTarget=createEffectWithTarget(reactExports.useLayoutEffect),useIsomorphicLayoutEffectWithTarget=isBrowser$1?useEffectWithTarget:useEffectWithTarget$1;function useSize(a){var j=__read(useRafState(function(){var nt=getTargetElement(a);return nt?{width:nt.clientWidth,height:nt.clientHeight}:void 0}),2),_e=j[0],et=j[1];return useIsomorphicLayoutEffectWithTarget(function(){var nt=getTargetElement(a);if(nt){var tt=new index(function(ot){ot.forEach(function(ct){var ft=ct.target,ht=ft.clientWidth,dt=ft.clientHeight;et({width:ht,height:dt})})});return tt.observe(nt),function(){tt.disconnect()}}},[],a),_e}const n$1=/[^\0-\x7E]/,t$3=/[\x2E\u3002\uFF0E\uFF61]/g,o$1={overflow:"Overflow Error","not-basic":"Illegal Input","invalid-input":"Invalid Input"},e$1=Math.floor,r$2=String.fromCharCode;function s$2(a){throw new RangeError(o$1[a])}const c=function(a,j){return a+22+75*(a<26)-((j!=0)<<5)},u=function(a,j,_e){let et=0;for(a=_e?e$1(a/700):a>>1,a+=e$1(a/j);a>455;et+=36)a=e$1(a/35);return e$1(et+36*a/(a+38))};function toASCII(a){return function(j,_e){const et=j.split("@");let nt="";et.length>1&&(nt=et[0]+"@",j=et[1]);const tt=function(ot,ct){const ft=[];let ht=ot.length;for(;ht--;)ft[ht]=ct(ot[ht]);return ft}((j=j.replace(t$3,".")).split("."),_e).join(".");return nt+tt}(a,function(j){return n$1.test(j)?"xn--"+function(_e){const et=[],nt=(_e=function(dt){const vt=[];let $t=0;const xt=dt.length;for(;$t<xt;){const At=dt.charCodeAt($t++);if(At>=55296&&At<=56319&&$t<xt){const wt=dt.charCodeAt($t++);(64512&wt)==56320?vt.push(((1023&At)<<10)+(1023&wt)+65536):(vt.push(At),$t--)}else vt.push(At)}return vt}(_e)).length;let tt=128,ot=0,ct=72;for(const dt of _e)dt<128&&et.push(r$2(dt));const ft=et.length;let ht=ft;for(ft&&et.push("-");ht<nt;){let dt=2147483647;for(const $t of _e)$t>=tt&&$t<dt&&(dt=$t);const vt=ht+1;dt-tt>e$1((2147483647-ot)/vt)&&s$2("overflow"),ot+=(dt-tt)*vt,tt=dt;for(const $t of _e)if($t<tt&&++ot>2147483647&&s$2("overflow"),$t==tt){let xt=ot;for(let At=36;;At+=36){const wt=At<=ct?1:At>=ct+26?26:At-ct;if(xt<wt)break;const Ct=xt-wt,Rt=36-wt;et.push(r$2(c(wt+Ct%Rt,0))),xt=e$1(Ct/Rt)}et.push(r$2(c(xt,0))),ct=u(ot,vt,ht==ft),ot=0,++ht}++ot,++tt}return et.join("")}(j):j})}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_CARET_RE=/%5e/gi,ENC_BACKTICK_RE=/%60/gi,ENC_CURLY_OPEN_RE=/%7b/gi,ENC_PIPE_RE=/%7c/gi,ENC_CURLY_CLOSE_RE=/%7d/gi,ENC_SPACE_RE=/%20/gi,ENC_SLASH_RE=/%2f/gi,ENC_ENC_SLASH_RE=/%252f/gi;function encode$7(a){return encodeURI(""+a).replace(ENC_PIPE_RE,"|")}function encodeHash(a){return encode$7(a).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(a){return encode$7(typeof a=="string"?a:JSON.stringify(a)).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CARET_RE,"^").replace(SLASH_RE,"%2F")}function encodeQueryKey(a){return encodeQueryValue(a).replace(EQUAL_RE,"%3D")}function encodePath(a){return encode$7(a).replace(HASH_RE,"%23").replace(IM_RE,"%3F").replace(ENC_ENC_SLASH_RE,"%2F").replace(AMPERSAND_RE,"%26").replace(PLUS_RE,"%2B")}function encodeParam(a){return encodePath(a).replace(SLASH_RE,"%2F")}function decode$4(a=""){try{return decodeURIComponent(""+a)}catch{return""+a}}function decodePath(a){return decode$4(a.replace(ENC_SLASH_RE,"%252F"))}function decodeQueryKey(a){return decode$4(a.replace(PLUS_RE," "))}function decodeQueryValue(a){return decode$4(a.replace(PLUS_RE," "))}function encodeHost(a=""){return toASCII(a)}function parseQuery(a=""){const j={};a[0]==="?"&&(a=a.slice(1));for(const _e of a.split("&")){const et=_e.match(/([^=]+)=?(.*)/)||[];if(et.length<2)continue;const nt=decodeQueryKey(et[1]);if(nt==="__proto__"||nt==="constructor")continue;const tt=decodeQueryValue(et[2]||"");j[nt]===void 0?j[nt]=tt:Array.isArray(j[nt])?j[nt].push(tt):j[nt]=[j[nt],tt]}return j}function encodeQueryItem(a,j){return(typeof j=="number"||typeof j=="boolean")&&(j=String(j)),j?Array.isArray(j)?j.map(_e=>`${encodeQueryKey(a)}=${encodeQueryValue(_e)}`).join("&"):`${encodeQueryKey(a)}=${encodeQueryValue(j)}`:encodeQueryKey(a)}function stringifyQuery(a){return Object.keys(a).filter(j=>a[j]!==void 0).map(j=>encodeQueryItem(j,a[j])).filter(Boolean).join("&")}const PROTOCOL_STRICT_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,PROTOCOL_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,PROTOCOL_RELATIVE_REGEX=/^([/\\]\s*){2,}[^/\\]/,PROTOCOL_SCRIPT_RE=/^[\s\0]*(blob|data|javascript|vbscript):$/i,TRAILING_SLASH_RE=/\/$|\/\?|\/#/,JOIN_LEADING_SLASH_RE=/^\.?\//;function isRelative(a){return["./","../"].some(j=>a.startsWith(j))}function hasProtocol(a,j={}){return typeof j=="boolean"&&(j={acceptRelative:j}),j.strict?PROTOCOL_STRICT_REGEX.test(a):PROTOCOL_REGEX.test(a)||(j.acceptRelative?PROTOCOL_RELATIVE_REGEX.test(a):!1)}function isScriptProtocol(a){return!!a&&PROTOCOL_SCRIPT_RE.test(a)}function hasTrailingSlash(a="",j){return j?TRAILING_SLASH_RE.test(a):a.endsWith("/")}function withoutTrailingSlash(a="",j){if(!j)return(hasTrailingSlash(a)?a.slice(0,-1):a)||"/";if(!hasTrailingSlash(a,!0))return a||"/";let _e=a,et="";const nt=a.indexOf("#");nt>=0&&(_e=a.slice(0,nt),et=a.slice(nt));const[tt,...ot]=_e.split("?");return((tt.endsWith("/")?tt.slice(0,-1):tt)||"/")+(ot.length>0?`?${ot.join("?")}`:"")+et}function withTrailingSlash(a="",j){if(!j)return a.endsWith("/")?a:a+"/";if(hasTrailingSlash(a,!0))return a||"/";let _e=a,et="";const nt=a.indexOf("#");if(nt>=0&&(_e=a.slice(0,nt),et=a.slice(nt),!_e))return et;const[tt,...ot]=_e.split("?");return tt+"/"+(ot.length>0?`?${ot.join("?")}`:"")+et}function hasLeadingSlash(a=""){return a.startsWith("/")}function withoutLeadingSlash(a=""){return(hasLeadingSlash(a)?a.slice(1):a)||"/"}function withLeadingSlash(a=""){return hasLeadingSlash(a)?a:"/"+a}function cleanDoubleSlashes(a=""){return a.split("://").map(j=>j.replace(/\/{2,}/g,"/")).join("://")}function withBase(a,j){if(isEmptyURL(j)||hasProtocol(a))return a;const _e=withoutTrailingSlash(j);return a.startsWith(_e)?a:joinURL(_e,a)}function withoutBase(a,j){if(isEmptyURL(j))return a;const _e=withoutTrailingSlash(j);if(!a.startsWith(_e))return a;const et=a.slice(_e.length);return et[0]==="/"?et:"/"+et}function withQuery(a,j){const _e=parseURL(a),et={...parseQuery(_e.search),...j};return _e.search=stringifyQuery(et),stringifyParsedURL(_e)}function getQuery(a){return parseQuery(parseURL(a).search)}function isEmptyURL(a){return!a||a==="/"}function isNonEmptyURL(a){return a&&a!=="/"}function joinURL(a,...j){let _e=a||"";for(const et of j.filter(nt=>isNonEmptyURL(nt)))if(_e){const nt=et.replace(JOIN_LEADING_SLASH_RE,"");_e=withTrailingSlash(_e)+nt}else _e=et;return _e}function joinRelativeURL(...a){var ot,ct,ft,ht;const j=/\/(?!\/)/,_e=a.filter(Boolean),et=[];let nt=0;for(const dt of _e)if(!(!dt||dt==="/")){for(const[vt,$t]of dt.split(j).entries())if(!(!$t||$t===".")){if($t===".."){if(et.length===1&&hasProtocol(et[0]))continue;et.pop(),nt--;continue}if(vt===1&&((ot=et[et.length-1])!=null&&ot.endsWith(":/"))){et[et.length-1]+="/"+$t;continue}et.push($t),nt++}}let tt=et.join("/");return nt>=0?(ct=_e[0])!=null&&ct.startsWith("/")&&!tt.startsWith("/")?tt="/"+tt:(ft=_e[0])!=null&&ft.startsWith("./")&&!tt.startsWith("./")&&(tt="./"+tt):tt="../".repeat(-1*nt)+tt,(ht=_e[_e.length-1])!=null&&ht.endsWith("/")&&!tt.endsWith("/")&&(tt+="/"),tt}function withHttp(a){return withProtocol(a,"http://")}function withHttps(a){return withProtocol(a,"https://")}function withoutProtocol(a){return withProtocol(a,"")}function withProtocol(a,j){let _e=a.match(PROTOCOL_REGEX);return _e||(_e=a.match(/^\/{2,}/)),_e?j+a.slice(_e[0].length):j+a}function normalizeURL(a){const j=parseURL(a);return j.pathname=encodePath(decodePath(j.pathname)),j.hash=encodeHash(decode$4(j.hash)),j.host=encodeHost(decode$4(j.host)),j.search=stringifyQuery(parseQuery(j.search)),stringifyParsedURL(j)}function resolveURL(a="",...j){if(typeof a!="string")throw new TypeError(`URL input should be string received ${typeof a} (${a})`);const _e=j.filter(nt=>isNonEmptyURL(nt));if(_e.length===0)return a;const et=parseURL(a);for(const nt of _e){const tt=parseURL(nt);if(tt.pathname&&(et.pathname=withTrailingSlash(et.pathname)+withoutLeadingSlash(tt.pathname)),tt.hash&&tt.hash!=="#"&&(et.hash=tt.hash),tt.search&&tt.search!=="?")if(et.search&&et.search!=="?"){const ot=stringifyQuery({...parseQuery(et.search),...parseQuery(tt.search)});et.search=ot.length>0?"?"+ot:""}else et.search=tt.search}return stringifyParsedURL(et)}function isSamePath(a,j){return decode$4(withoutTrailingSlash(a))===decode$4(withoutTrailingSlash(j))}function isEqual$2(a,j,_e={}){return _e.trailingSlash||(a=withTrailingSlash(a),j=withTrailingSlash(j)),_e.leadingSlash||(a=withLeadingSlash(a),j=withLeadingSlash(j)),_e.encoding||(a=decode$4(a),j=decode$4(j)),a===j}function withFragment(a,j){if(!j||j==="#")return a;const _e=parseURL(a);return _e.hash=j===""?"":"#"+encodeHash(j),stringifyParsedURL(_e)}function withoutFragment(a){return stringifyParsedURL({...parseURL(a),hash:""})}function withoutHost(a){const j=parseURL(a);return(j.pathname||"/")+j.search+j.hash}const protocolRelative=Symbol.for("ufo:protocolRelative");function parseURL(a="",j){const _e=a.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(_e){const[,vt,$t=""]=_e;return{protocol:vt.toLowerCase(),pathname:$t,href:vt+$t,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(a,{acceptRelative:!0}))return j?parseURL(j+a):parsePath(a);const[,et="",nt,tt=""]=a.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,ot="",ct=""]=tt.match(/([^#/?]*)(.*)?/)||[];et==="file:"&&(ct=ct.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:ft,search:ht,hash:dt}=parsePath(ct);return{protocol:et.toLowerCase(),auth:nt?nt.slice(0,Math.max(0,nt.length-1)):"",host:ot,pathname:ft,search:ht,hash:dt,[protocolRelative]:!et}}function parsePath(a=""){const[j="",_e="",et=""]=(a.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:j,search:_e,hash:et}}function parseAuth(a=""){const[j,_e]=a.split(":");return{username:decode$4(j),password:decode$4(_e)}}function parseHost(a=""){const[j,_e]=(a.match(/([^/:]*):?(\d+)?/)||[]).splice(1);return{hostname:decode$4(j),port:_e}}function stringifyParsedURL(a){const j=a.pathname||"",_e=a.search?(a.search.startsWith("?")?"":"?")+a.search:"",et=a.hash||"",nt=a.auth?a.auth+"@":"",tt=a.host||"";return(a.protocol||a[protocolRelative]?(a.protocol||"")+"//":"")+nt+tt+j+_e+et}const FILENAME_STRICT_REGEX=/\/([^/]+\.[^/]+)$/,FILENAME_REGEX=/\/([^/]+)$/;function parseFilename(a="",{strict:j}){const{pathname:_e}=parseURL(a),et=j?_e.match(FILENAME_STRICT_REGEX):_e.match(FILENAME_REGEX);return et?et[1]:void 0}var __defProp$6=Object.defineProperty,__defNormalProp$5=(a,j,_e)=>j in a?__defProp$6(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$4=(a,j,_e)=>(__defNormalProp$5(a,typeof j!="symbol"?j+"":j,_e),_e);class $URL{constructor(j=""){if(__publicField$4(this,"protocol"),__publicField$4(this,"host"),__publicField$4(this,"auth"),__publicField$4(this,"pathname"),__publicField$4(this,"query",{}),__publicField$4(this,"hash"),typeof j!="string")throw new TypeError(`URL input should be string received ${typeof j} (${j})`);const _e=parseURL(j);this.protocol=decode$4(_e.protocol),this.host=decode$4(_e.host),this.auth=decode$4(_e.auth),this.pathname=decodePath(_e.pathname),this.query=parseQuery(_e.search),this.hash=decode$4(_e.hash)}get hostname(){return parseHost(this.host).hostname}get port(){return parseHost(this.host).port||""}get username(){return parseAuth(this.auth).username}get password(){return parseAuth(this.auth).password||""}get hasProtocol(){return this.protocol.length}get isAbsolute(){return this.hasProtocol||this.pathname[0]==="/"}get search(){const j=stringifyQuery(this.query);return j.length>0?"?"+j:""}get searchParams(){const j=new URLSearchParams;for(const _e in this.query){const et=this.query[_e];if(Array.isArray(et))for(const nt of et)j.append(_e,nt);else j.append(_e,typeof et=="string"?et:JSON.stringify(et))}return j}get origin(){return(this.protocol?this.protocol+"//":"")+encodeHost(this.host)}get fullpath(){return encodePath(this.pathname)+this.search+encodeHash(this.hash)}get encodedAuth(){if(!this.auth)return"";const{username:j,password:_e}=parseAuth(this.auth);return encodeURIComponent(j)+(_e?":"+encodeURIComponent(_e):"")}get href(){const j=this.encodedAuth,_e=(this.protocol?this.protocol+"//":"")+(j?j+"@":"")+encodeHost(this.host);return this.hasProtocol&&this.isAbsolute?_e+this.fullpath:this.fullpath}append(j){if(j.hasProtocol)throw new Error("Cannot append a URL with protocol");Object.assign(this.query,j.query),j.pathname&&(this.pathname=withTrailingSlash(this.pathname)+withoutLeadingSlash(j.pathname)),j.hash&&(this.hash=j.hash)}toJSON(){return this.href}toString(){return this.href}}function createURL(a){return new $URL(a)}const dist$3=Object.freeze(Object.defineProperty({__proto__:null,$URL,cleanDoubleSlashes,createURL,decode:decode$4,decodePath,decodeQueryKey,decodeQueryValue,encode:encode$7,encodeHash,encodeHost,encodeParam,encodePath,encodeQueryItem,encodeQueryKey,encodeQueryValue,getQuery,hasLeadingSlash,hasProtocol,hasTrailingSlash,isEmptyURL,isEqual:isEqual$2,isNonEmptyURL,isRelative,isSamePath,isScriptProtocol,joinRelativeURL,joinURL,normalizeURL,parseAuth,parseFilename,parseHost,parsePath,parseQuery,parseURL,resolveURL,stringifyParsedURL,stringifyQuery,withBase,withFragment,withHttp,withHttps,withLeadingSlash,withProtocol,withQuery,withTrailingSlash,withoutBase,withoutFragment,withoutHost,withoutLeadingSlash,withoutProtocol,withoutTrailingSlash},Symbol.toStringTag,{value:"Module"})),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(a,j,_e,et="")=>{const nt=a.split(":");if(a.slice(0,1)==="@"){if(nt.length<2||nt.length>3)return null;et=nt.shift().slice(1)}if(nt.length>3||!nt.length)return null;if(nt.length>1){const ct=nt.pop(),ft=nt.pop(),ht={provider:nt.length>0?nt[0]:et,prefix:ft,name:ct};return j&&!validateIconName(ht)?null:ht}const tt=nt[0],ot=tt.split("-");if(ot.length>1){const ct={provider:et,prefix:ot.shift(),name:ot.join("-")};return j&&!validateIconName(ct)?null:ct}if(_e&&et===""){const ct={provider:et,prefix:"",name:tt};return j&&!validateIconName(ct,_e)?null:ct}return null},validateIconName=(a,j)=>a?!!((a.provider===""||a.provider.match(matchIconName))&&(j&&a.prefix===""||a.prefix.match(matchIconName))&&a.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(a,j){const _e={};!a.hFlip!=!j.hFlip&&(_e.hFlip=!0),!a.vFlip!=!j.vFlip&&(_e.vFlip=!0);const et=((a.rotate||0)+(j.rotate||0))%4;return et&&(_e.rotate=et),_e}function mergeIconData(a,j){const _e=mergeIconTransformations(a,j);for(const et in defaultExtendedIconProps)et in defaultIconTransformations?et in a&&!(et in _e)&&(_e[et]=defaultIconTransformations[et]):et in j?_e[et]=j[et]:et in a&&(_e[et]=a[et]);return _e}function getIconsTree(a,j){const _e=a.icons,et=a.aliases||Object.create(null),nt=Object.create(null);function tt(ot){if(_e[ot])return nt[ot]=[];if(!(ot in nt)){nt[ot]=null;const ct=et[ot]&&et[ot].parent,ft=ct&&tt(ct);ft&&(nt[ot]=[ct].concat(ft))}return nt[ot]}return Object.keys(_e).concat(Object.keys(et)).forEach(tt),nt}function internalGetIconData(a,j,_e){const et=a.icons,nt=a.aliases||Object.create(null);let tt={};function ot(ct){tt=mergeIconData(et[ct]||nt[ct],tt)}return ot(j),_e.forEach(ot),mergeIconData(a,tt)}function parseIconSet(a,j){const _e=[];if(typeof a!="object"||typeof a.icons!="object")return _e;a.not_found instanceof Array&&a.not_found.forEach(nt=>{j(nt,null),_e.push(nt)});const et=getIconsTree(a);for(const nt in et){const tt=et[nt];tt&&(j(nt,internalGetIconData(a,nt,tt)),_e.push(nt))}return _e}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(a,j){for(const _e in j)if(_e in a&&typeof a[_e]!=typeof j[_e])return!1;return!0}function quicklyValidateIconSet(a){if(typeof a!="object"||a===null)return null;const j=a;if(typeof j.prefix!="string"||!a.icons||typeof a.icons!="object"||!checkOptionalProps(a,optionalPropertyDefaults))return null;const _e=j.icons;for(const nt in _e){const tt=_e[nt];if(!nt.match(matchIconName)||typeof tt.body!="string"||!checkOptionalProps(tt,defaultExtendedIconProps))return null}const et=j.aliases||Object.create(null);for(const nt in et){const tt=et[nt],ot=tt.parent;if(!nt.match(matchIconName)||typeof ot!="string"||!_e[ot]&&!et[ot]||!checkOptionalProps(tt,defaultExtendedIconProps))return null}return j}const dataStorage=Object.create(null);function newStorage(a,j){return{provider:a,prefix:j,icons:Object.create(null),missing:new Set}}function getStorage(a,j){const _e=dataStorage[a]||(dataStorage[a]=Object.create(null));return _e[j]||(_e[j]=newStorage(a,j))}function addIconSet(a,j){return quicklyValidateIconSet(j)?parseIconSet(j,(_e,et)=>{et?a.icons[_e]=et:a.missing.add(_e)}):[]}function addIconToStorage(a,j,_e){try{if(typeof _e.body=="string")return a.icons[j]={..._e},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(a){return typeof a=="boolean"&&(simpleNames=a),simpleNames}function getIconData(a){const j=typeof a=="string"?stringToIcon(a,!0,simpleNames):a;if(j){const _e=getStorage(j.provider,j.prefix),et=j.name;return _e.icons[et]||(_e.missing.has(et)?null:void 0)}}function addIcon(a,j){const _e=stringToIcon(a,!0,simpleNames);if(!_e)return!1;const et=getStorage(_e.provider,_e.prefix);return addIconToStorage(et,_e.name,j)}function addCollection(a,j){if(typeof a!="object")return!1;if(typeof j!="string"&&(j=a.provider||""),simpleNames&&!j&&!a.prefix){let nt=!1;return quicklyValidateIconSet(a)&&(a.prefix="",parseIconSet(a,(tt,ot)=>{ot&&addIcon(tt,ot)&&(nt=!0)})),nt}const _e=a.prefix;if(!validateIconName({provider:j,prefix:_e,name:"a"}))return!1;const et=getStorage(j,_e);return!!addIconSet(et,a)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(a,j,_e){if(j===1)return a;if(_e=_e||100,typeof a=="number")return Math.ceil(a*j*_e)/_e;if(typeof a!="string")return a;const et=a.split(unitsSplit);if(et===null||!et.length)return a;const nt=[];let tt=et.shift(),ot=unitsTest.test(tt);for(;;){if(ot){const ct=parseFloat(tt);isNaN(ct)?nt.push(tt):nt.push(Math.ceil(ct*j*_e)/_e)}else nt.push(tt);if(tt=et.shift(),tt===void 0)return nt.join("");ot=!ot}}const isUnsetKeyword=a=>a==="unset"||a==="undefined"||a==="none";function iconToSVG(a,j){const _e={...defaultIconProps,...a},et={...defaultIconCustomisations,...j},nt={left:_e.left,top:_e.top,width:_e.width,height:_e.height};let tt=_e.body;[_e,et].forEach(At=>{const wt=[],Ct=At.hFlip,Rt=At.vFlip;let It=At.rotate;Ct?Rt?It+=2:(wt.push("translate("+(nt.width+nt.left).toString()+" "+(0-nt.top).toString()+")"),wt.push("scale(-1 1)"),nt.top=nt.left=0):Rt&&(wt.push("translate("+(0-nt.left).toString()+" "+(nt.height+nt.top).toString()+")"),wt.push("scale(1 -1)"),nt.top=nt.left=0);let Mt;switch(It<0&&(It-=Math.floor(It/4)*4),It=It%4,It){case 1:Mt=nt.height/2+nt.top,wt.unshift("rotate(90 "+Mt.toString()+" "+Mt.toString()+")");break;case 2:wt.unshift("rotate(180 "+(nt.width/2+nt.left).toString()+" "+(nt.height/2+nt.top).toString()+")");break;case 3:Mt=nt.width/2+nt.left,wt.unshift("rotate(-90 "+Mt.toString()+" "+Mt.toString()+")");break}It%2===1&&(nt.left!==nt.top&&(Mt=nt.left,nt.left=nt.top,nt.top=Mt),nt.width!==nt.height&&(Mt=nt.width,nt.width=nt.height,nt.height=Mt)),wt.length&&(tt='<g transform="'+wt.join(" ")+'">'+tt+"</g>")});const ot=et.width,ct=et.height,ft=nt.width,ht=nt.height;let dt,vt;ot===null?(vt=ct===null?"1em":ct==="auto"?ht:ct,dt=calculateSize(vt,ft/ht)):(dt=ot==="auto"?ft:ot,vt=ct===null?calculateSize(dt,ht/ft):ct==="auto"?ht:ct);const $t={},xt=(At,wt)=>{isUnsetKeyword(wt)||($t[At]=wt.toString())};return xt("width",dt),xt("height",vt),$t.viewBox=nt.left.toString()+" "+nt.top.toString()+" "+ft.toString()+" "+ht.toString(),{attributes:$t,body:tt}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(a,j=randomPrefix){const _e=[];let et;for(;et=regex.exec(a);)_e.push(et[1]);if(!_e.length)return a;const nt="suffix"+(Math.random()*16777216|Date.now()).toString(16);return _e.forEach(tt=>{const ot=typeof j=="function"?j(tt):j+(counter++).toString(),ct=tt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");a=a.replace(new RegExp('([#;"])('+ct+')([")]|\\.[a-z])',"g"),"$1"+ot+nt+"$3")}),a=a.replace(new RegExp(nt,"g"),""),a}const storage=Object.create(null);function setAPIModule(a,j){storage[a]=j}function getAPIModule(a){return storage[a]||storage[""]}function createAPIConfig(a){let j;if(typeof a.resources=="string")j=[a.resources];else if(j=a.resources,!(j instanceof Array)||!j.length)return null;return{resources:j,path:a.path||"/",maxURL:a.maxURL||500,rotate:a.rotate||750,timeout:a.timeout||5e3,random:a.random===!0,index:a.index||0,dataAfterTimeout:a.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(a,j){const _e=createAPIConfig(j);return _e===null?!1:(configStorage[a]=_e,!0)}function getAPIConfig(a){return configStorage[a]}const detectFetch=()=>{let a;try{if(a=fetch,typeof a=="function")return a}catch{}};let fetchModule=detectFetch();function calculateMaxLength(a,j){const _e=getAPIConfig(a);if(!_e)return 0;let et;if(!_e.maxURL)et=0;else{let nt=0;_e.resources.forEach(ot=>{nt=Math.max(nt,ot.length)});const tt=j+".json?icons=";et=_e.maxURL-nt-_e.path.length-tt.length}return et}function shouldAbort(a){return a===404}const prepare=(a,j,_e)=>{const et=[],nt=calculateMaxLength(a,j),tt="icons";let ot={type:tt,provider:a,prefix:j,icons:[]},ct=0;return _e.forEach((ft,ht)=>{ct+=ft.length+1,ct>=nt&&ht>0&&(et.push(ot),ot={type:tt,provider:a,prefix:j,icons:[]},ct=ft.length),ot.icons.push(ft)}),et.push(ot),et};function getPath(a){if(typeof a=="string"){const j=getAPIConfig(a);if(j)return j.path}return"/"}const send=(a,j,_e)=>{if(!fetchModule){_e("abort",424);return}let et=getPath(j.provider);switch(j.type){case"icons":{const tt=j.prefix,ct=j.icons.join(","),ft=new URLSearchParams({icons:ct});et+=tt+".json?"+ft.toString();break}case"custom":{const tt=j.uri;et+=tt.slice(0,1)==="/"?tt.slice(1):tt;break}default:_e("abort",400);return}let nt=503;fetchModule(a+et).then(tt=>{const ot=tt.status;if(ot!==200){setTimeout(()=>{_e(shouldAbort(ot)?"abort":"next",ot)});return}return nt=501,tt.json()}).then(tt=>{if(typeof tt!="object"||tt===null){setTimeout(()=>{tt===404?_e("abort",tt):_e("next",nt)});return}setTimeout(()=>{_e("success",tt)})}).catch(()=>{_e("next",nt)})},fetchAPIModule={prepare,send};function sortIcons(a){const j={loaded:[],missing:[],pending:[]},_e=Object.create(null);a.sort((nt,tt)=>nt.provider!==tt.provider?nt.provider.localeCompare(tt.provider):nt.prefix!==tt.prefix?nt.prefix.localeCompare(tt.prefix):nt.name.localeCompare(tt.name));let et={provider:"",prefix:"",name:""};return a.forEach(nt=>{if(et.name===nt.name&&et.prefix===nt.prefix&&et.provider===nt.provider)return;et=nt;const tt=nt.provider,ot=nt.prefix,ct=nt.name,ft=_e[tt]||(_e[tt]=Object.create(null)),ht=ft[ot]||(ft[ot]=getStorage(tt,ot));let dt;ct in ht.icons?dt=j.loaded:ot===""||ht.missing.has(ct)?dt=j.missing:dt=j.pending;const vt={provider:tt,prefix:ot,name:ct};dt.push(vt)}),j}function removeCallback(a,j){a.forEach(_e=>{const et=_e.loaderCallbacks;et&&(_e.loaderCallbacks=et.filter(nt=>nt.id!==j))})}function updateCallbacks(a){a.pendingCallbacksFlag||(a.pendingCallbacksFlag=!0,setTimeout(()=>{a.pendingCallbacksFlag=!1;const j=a.loaderCallbacks?a.loaderCallbacks.slice(0):[];if(!j.length)return;let _e=!1;const et=a.provider,nt=a.prefix;j.forEach(tt=>{const ot=tt.icons,ct=ot.pending.length;ot.pending=ot.pending.filter(ft=>{if(ft.prefix!==nt)return!0;const ht=ft.name;if(a.icons[ht])ot.loaded.push({provider:et,prefix:nt,name:ht});else if(a.missing.has(ht))ot.missing.push({provider:et,prefix:nt,name:ht});else return _e=!0,!0;return!1}),ot.pending.length!==ct&&(_e||removeCallback([a],tt.id),tt.callback(ot.loaded.slice(0),ot.missing.slice(0),ot.pending.slice(0),tt.abort))})}))}let idCounter=0;function storeCallback(a,j,_e){const et=idCounter++,nt=removeCallback.bind(null,_e,et);if(!j.pending.length)return nt;const tt={id:et,icons:j,callback:a,abort:nt};return _e.forEach(ot=>{(ot.loaderCallbacks||(ot.loaderCallbacks=[])).push(tt)}),nt}function listToIcons(a,j=!0,_e=!1){const et=[];return a.forEach(nt=>{const tt=typeof nt=="string"?stringToIcon(nt,j,_e):nt;tt&&et.push(tt)}),et}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(a,j,_e,et){const nt=a.resources.length,tt=a.random?Math.floor(Math.random()*nt):a.index;let ot;if(a.random){let jt=a.resources.slice(0);for(ot=[];jt.length>1;){const Gt=Math.floor(Math.random()*jt.length);ot.push(jt[Gt]),jt=jt.slice(0,Gt).concat(jt.slice(Gt+1))}ot=ot.concat(jt)}else ot=a.resources.slice(tt).concat(a.resources.slice(0,tt));const ct=Date.now();let ft="pending",ht=0,dt,vt=null,$t=[],xt=[];typeof et=="function"&&xt.push(et);function At(){vt&&(clearTimeout(vt),vt=null)}function wt(){ft==="pending"&&(ft="aborted"),At(),$t.forEach(jt=>{jt.status==="pending"&&(jt.status="aborted")}),$t=[]}function Ct(jt,Gt){Gt&&(xt=[]),typeof jt=="function"&&xt.push(jt)}function Rt(){return{startTime:ct,payload:j,status:ft,queriesSent:ht,queriesPending:$t.length,subscribe:Ct,abort:wt}}function It(){ft="failed",xt.forEach(jt=>{jt(void 0,dt)})}function Mt(){$t.forEach(jt=>{jt.status==="pending"&&(jt.status="aborted")}),$t=[]}function Ot(jt,Gt,Jt){const Xt=Gt!=="success";switch($t=$t.filter(dn=>dn!==jt),ft){case"pending":break;case"failed":if(Xt||!a.dataAfterTimeout)return;break;default:return}if(Gt==="abort"){dt=Jt,It();return}if(Xt){dt=Jt,$t.length||(ot.length?zt():It());return}if(At(),Mt(),!a.random){const dn=a.resources.indexOf(jt.resource);dn!==-1&&dn!==a.index&&(a.index=dn)}ft="completed",xt.forEach(dn=>{dn(Jt)})}function zt(){if(ft!=="pending")return;At();const jt=ot.shift();if(jt===void 0){if($t.length){vt=setTimeout(()=>{At(),ft==="pending"&&(Mt(),It())},a.timeout);return}It();return}const Gt={status:"pending",resource:jt,callback:(Jt,Xt)=>{Ot(Gt,Jt,Xt)}};$t.push(Gt),ht++,vt=setTimeout(zt,a.rotate),_e(jt,j,Gt.callback)}return setTimeout(zt),Rt}function initRedundancy(a){const j={...defaultConfig,...a};let _e=[];function et(){_e=_e.filter(ct=>ct().status==="pending")}function nt(ct,ft,ht){const dt=sendQuery(j,ct,ft,(vt,$t)=>{et(),ht&&ht(vt,$t)});return _e.push(dt),dt}function tt(ct){return _e.find(ft=>ct(ft))||null}return{query:nt,find:tt,setIndex:ct=>{j.index=ct},getIndex:()=>j.index,cleanup:et}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(a){if(!redundancyCache[a]){const j=getAPIConfig(a);if(!j)return;const _e=initRedundancy(j),et={config:j,redundancy:_e};redundancyCache[a]=et}return redundancyCache[a]}function sendAPIQuery(a,j,_e){let et,nt;if(typeof a=="string"){const tt=getAPIModule(a);if(!tt)return _e(void 0,424),emptyCallback$1;nt=tt.send;const ot=getRedundancyCache(a);ot&&(et=ot.redundancy)}else{const tt=createAPIConfig(a);if(tt){et=initRedundancy(tt);const ot=a.resources?a.resources[0]:"",ct=getAPIModule(ot);ct&&(nt=ct.send)}}return!et||!nt?(_e(void 0,424),emptyCallback$1):et.query(j,nt,_e)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(a,j){try{return a.getItem(j)}catch{}}function setStoredItem(a,j,_e){try{return a.setItem(j,_e),!0}catch{}}function removeStoredItem(a,j){try{a.removeItem(j)}catch{}}function setBrowserStorageItemsCount(a,j){return setStoredItem(a,browserCacheCountKey,j.toString())}function getBrowserStorageItemsCount(a){return parseInt(getStoredItem(a,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(a){browserStorageStatus=a}let _window=typeof window>"u"?{}:window;function getBrowserStorage(a){const j=a+"Storage";try{if(_window&&_window[j]&&typeof _window[j].length=="number")return _window[j]}catch{}browserStorageConfig[a]=!1}function iterateBrowserStorage(a,j){const _e=getBrowserStorage(a);if(!_e)return;const et=getStoredItem(_e,browserCacheVersionKey);if(et!==browserCacheVersion){if(et){const ct=getBrowserStorageItemsCount(_e);for(let ft=0;ft<ct;ft++)removeStoredItem(_e,browserCachePrefix+ft.toString())}setStoredItem(_e,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(_e,0);return}const nt=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,tt=ct=>{const ft=browserCachePrefix+ct.toString(),ht=getStoredItem(_e,ft);if(typeof ht=="string"){try{const dt=JSON.parse(ht);if(typeof dt=="object"&&typeof dt.cached=="number"&&dt.cached>nt&&typeof dt.provider=="string"&&typeof dt.data=="object"&&typeof dt.data.prefix=="string"&&j(dt,ct))return!0}catch{}removeStoredItem(_e,ft)}};let ot=getBrowserStorageItemsCount(_e);for(let ct=ot-1;ct>=0;ct--)tt(ct)||(ct===ot-1?(ot--,setBrowserStorageItemsCount(_e,ot)):browserStorageEmptyItems[a].add(ct))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const a in browserStorageConfig)iterateBrowserStorage(a,j=>{const _e=j.data,et=j.provider,nt=_e.prefix,tt=getStorage(et,nt);if(!addIconSet(tt,_e).length)return!1;const ot=_e.lastModified||-1;return tt.lastModifiedCached=tt.lastModifiedCached?Math.min(tt.lastModifiedCached,ot):ot,!0})}}function updateLastModified(a,j){const _e=a.lastModifiedCached;if(_e&&_e>=j)return _e===j;if(a.lastModifiedCached=j,_e)for(const et in browserStorageConfig)iterateBrowserStorage(et,nt=>{const tt=nt.data;return nt.provider!==a.provider||tt.prefix!==a.prefix||tt.lastModified===j});return!0}function storeInBrowserStorage(a,j){browserStorageStatus||initBrowserStorage();function _e(et){let nt;if(!browserStorageConfig[et]||!(nt=getBrowserStorage(et)))return;const tt=browserStorageEmptyItems[et];let ot;if(tt.size)tt.delete(ot=Array.from(tt).shift());else if(ot=getBrowserStorageItemsCount(nt),!setBrowserStorageItemsCount(nt,ot+1))return;const ct={cached:Math.floor(Date.now()/browserStorageHour),provider:a.provider,data:j};return setStoredItem(nt,browserCachePrefix+ot.toString(),JSON.stringify(ct))}j.lastModified&&!updateLastModified(a,j.lastModified)||Object.keys(j.icons).length&&(j.not_found&&(j=Object.assign({},j),delete j.not_found),_e("local")||_e("session"))}function emptyCallback(){}function loadedNewIcons(a){a.iconsLoaderFlag||(a.iconsLoaderFlag=!0,setTimeout(()=>{a.iconsLoaderFlag=!1,updateCallbacks(a)}))}function loadNewIcons(a,j){a.iconsToLoad?a.iconsToLoad=a.iconsToLoad.concat(j).sort():a.iconsToLoad=j,a.iconsQueueFlag||(a.iconsQueueFlag=!0,setTimeout(()=>{a.iconsQueueFlag=!1;const{provider:_e,prefix:et}=a,nt=a.iconsToLoad;delete a.iconsToLoad;let tt;if(!nt||!(tt=getAPIModule(_e)))return;tt.prepare(_e,et,nt).forEach(ct=>{sendAPIQuery(_e,ct,ft=>{if(typeof ft!="object")ct.icons.forEach(ht=>{a.missing.add(ht)});else try{const ht=addIconSet(a,ft);if(!ht.length)return;const dt=a.pendingIcons;dt&&ht.forEach(vt=>{dt.delete(vt)}),storeInBrowserStorage(a,ft)}catch(ht){console.error(ht)}loadedNewIcons(a)})})}))}const loadIcons=(a,j)=>{const _e=listToIcons(a,!0,allowSimpleNames()),et=sortIcons(_e);if(!et.pending.length){let ft=!0;return j&&setTimeout(()=>{ft&&j(et.loaded,et.missing,et.pending,emptyCallback)}),()=>{ft=!1}}const nt=Object.create(null),tt=[];let ot,ct;return et.pending.forEach(ft=>{const{provider:ht,prefix:dt}=ft;if(dt===ct&&ht===ot)return;ot=ht,ct=dt,tt.push(getStorage(ht,dt));const vt=nt[ht]||(nt[ht]=Object.create(null));vt[dt]||(vt[dt]=[])}),et.pending.forEach(ft=>{const{provider:ht,prefix:dt,name:vt}=ft,$t=getStorage(ht,dt),xt=$t.pendingIcons||($t.pendingIcons=new Set);xt.has(vt)||(xt.add(vt),nt[ht][dt].push(vt))}),tt.forEach(ft=>{const{provider:ht,prefix:dt}=ft;nt[ht][dt].length&&loadNewIcons(ft,nt[ht][dt])}),j?storeCallback(j,et,tt):emptyCallback},loadIcon=a=>new Promise((j,_e)=>{const et=typeof a=="string"?stringToIcon(a,!0):a;if(!et){_e(a);return}loadIcons([et||a],nt=>{if(nt.length&&et){const tt=getIconData(et);if(tt){j({...defaultIconProps,...tt});return}}_e(a)})});function mergeCustomisations(a,j){const _e={...a};for(const et in j){const nt=j[et],tt=typeof nt;et in defaultIconSizeCustomisations?(nt===null||nt&&(tt==="string"||tt==="number"))&&(_e[et]=nt):tt===typeof _e[et]&&(_e[et]=et==="rotate"?nt%4:nt)}return _e}const separator=/[\s,]+/;function flipFromString(a,j){j.split(separator).forEach(_e=>{switch(_e.trim()){case"horizontal":a.hFlip=!0;break;case"vertical":a.vFlip=!0;break}})}function rotateFromString(a,j=0){const _e=a.replace(/^-?[0-9.]*/,"");function et(nt){for(;nt<0;)nt+=4;return nt%4}if(_e===""){const nt=parseInt(a);return isNaN(nt)?0:et(nt)}else if(_e!==a){let nt=0;switch(_e){case"%":nt=25;break;case"deg":nt=90}if(nt){let tt=parseFloat(a.slice(0,a.length-_e.length));return isNaN(tt)?0:(tt=tt/nt,tt%1===0?et(tt):0)}}return j}function iconToHTML(a,j){let _e=a.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const et in j)_e+=" "+et+'="'+j[et]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+_e+">"+a+"</svg>"}function encodeSVGforURL(a){return a.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(a){return"data:image/svg+xml,"+encodeSVGforURL(a)}function svgToURL(a){return'url("'+svgToData(a)+'")'}let policy;function createPolicy(){try{policy=window.trustedTypes.createPolicy("iconify",{createHTML:a=>a})}catch{policy=null}}function cleanUpInnerHTML(a){return policy===void 0&&createPolicy(),policy?policy.createHTML(a):a}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={WebkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const a in propsToAddTo){const j=propsToAddTo[a];for(const _e in propsToAdd)j[a+_e]=propsToAdd[_e]}const inlineDefaults={...defaultExtendedIconCustomisations,inline:!0};function fixSize(a){return a+(a.match(/^[-0-9.]+$/)?"px":"")}const render=(a,j,_e,et)=>{const nt=_e?inlineDefaults:defaultExtendedIconCustomisations,tt=mergeCustomisations(nt,j),ot=j.mode||"svg",ct={},ft=j.style||{},ht={...ot==="svg"?svgDefaults:{},ref:et};for(let Rt in j){const It=j[Rt];if(It!==void 0)switch(Rt){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":tt[Rt]=It===!0||It==="true"||It===1;break;case"flip":typeof It=="string"&&flipFromString(tt,It);break;case"color":ct.color=It;break;case"rotate":typeof It=="string"?tt[Rt]=rotateFromString(It):typeof It=="number"&&(tt[Rt]=It);break;case"ariaHidden":case"aria-hidden":It!==!0&&It!=="true"&&delete ht["aria-hidden"];break;default:nt[Rt]===void 0&&(ht[Rt]=It)}}const dt=iconToSVG(a,tt),vt=dt.attributes;if(tt.inline&&(ct.verticalAlign="-0.125em"),ot==="svg"){ht.style={...ct,...ft},Object.assign(ht,vt);let Rt=0,It=j.id;return typeof It=="string"&&(It=It.replace(/-/g,"_")),ht.dangerouslySetInnerHTML={__html:cleanUpInnerHTML(replaceIDs(dt.body,It?()=>It+"ID"+Rt++:"iconifyReact"))},React$2.createElement("svg",ht)}const{body:$t,width:xt,height:At}=a,wt=ot==="mask"||(ot==="bg"?!1:$t.indexOf("currentColor")!==-1),Ct=iconToHTML($t,{...vt,width:xt+"",height:At+""});return ht.style={...ct,"--svg":svgToURL(Ct),width:fixSize(vt.width),height:fixSize(vt.height),...commonProps,...wt?monotoneProps:coloredProps,...ft},React$2.createElement("span",ht)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const a=window;if(a.IconifyPreload!==void 0){const j=a.IconifyPreload,_e="Invalid IconifyPreload syntax.";typeof j=="object"&&j!==null&&(j instanceof Array?j:[j]).forEach(et=>{try{(typeof et!="object"||et===null||et instanceof Array||typeof et.icons!="object"||typeof et.prefix!="string"||!addCollection(et))&&console.error(_e)}catch{console.error(_e)}})}if(a.IconifyProviders!==void 0){const j=a.IconifyProviders;if(typeof j=="object"&&j!==null)for(let _e in j){const et="IconifyProviders["+_e+"] is invalid.";try{const nt=j[_e];if(typeof nt!="object"||!nt||nt.resources===void 0)continue;addAPIProvider(_e,nt)||console.error(et)}catch{console.error(et)}}}}class IconComponent extends React$2.Component{constructor(j){super(j),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(j){this.state.icon!==j&&this.setState({icon:j})}_checkIcon(j){const _e=this.state,et=this.props.icon;if(typeof et=="object"&&et!==null&&typeof et.body=="string"){this._icon="",this._abortLoading(),(j||_e.icon===null)&&this._setData({data:et});return}let nt;if(typeof et!="string"||(nt=stringToIcon(et,!1,!0))===null){this._abortLoading(),this._setData(null);return}const tt=getIconData(nt);if(!tt){(!this._loading||this._loading.name!==et)&&(this._abortLoading(),this._icon="",this._setData(null),tt!==null&&(this._loading={name:et,abort:loadIcons([nt],this._checkIcon.bind(this,!1))}));return}if(this._icon!==et||_e.icon===null){this._abortLoading(),this._icon=et;const ot=["iconify"];nt.prefix!==""&&ot.push("iconify--"+nt.prefix),nt.provider!==""&&ot.push("iconify--"+nt.provider),this._setData({data:tt,classes:ot}),this.props.onLoad&&this.props.onLoad(et)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(j){j.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const j=this.props,_e=this.state.icon;if(_e===null)return j.children?j.children:React$2.createElement("span",{});let et=j;return _e.classes&&(et={...j,className:(typeof j.className=="string"?j.className+" ":"")+_e.classes.join(" ")}),render({...defaultIconProps,..._e.data},et,j._inline,j._ref)}}const Icon=React$2.forwardRef(function(j,_e){const et={...j,_ref:_e,_inline:!1};return React$2.createElement(IconComponent,et)});React$2.forwardRef(function(j,_e){const et={...j,_ref:_e,_inline:!0};return React$2.createElement(IconComponent,et)});const data$w={width:24,height:24,body:'<path fill="currentColor" d="M9.575 12L5.7 8.1q-.275-.275-.288-.688T5.7 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.062.375t-.213.325l-4.6 4.6q-.275.275-.687.288T5.7 17.3q-.275-.275-.275-.7t.275-.7L9.575 12Zm6.6 0L12.3 8.1q-.275-.275-.288-.688T12.3 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.6 4.6q-.275.275-.687.288T12.3 17.3q-.275-.275-.275-.7t.275-.7l3.875-3.9Z"/>'};var appleIphone=/iPhone/i,appleIpod=/iPod/i,appleTablet=/iPad/i,appleUniversal=/\biOS-universal(?:.+)Mac\b/i,androidPhone=/\bAndroid(?:.+)Mobile\b/i,androidTablet=/Android/i,amazonPhone=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,amazonTablet=/Silk/i,windowsPhone=/Windows Phone/i,windowsTablet=/\bWindows(?:.+)ARM\b/i,otherBlackBerry=/BlackBerry/i,otherBlackBerry10=/BB10/i,otherOpera=/Opera Mini/i,otherChrome=/\b(CriOS|Chrome)(?:.+)Mobile/i,otherFirefox=/Mobile(?:.+)Firefox\b/i,isAppleTabletOnIos13=function(a){return typeof a<"u"&&a.platform==="MacIntel"&&typeof a.maxTouchPoints=="number"&&a.maxTouchPoints>1&&typeof MSStream>"u"};function createMatch(a){return function(j){return j.test(a)}}function isMobile(a){var j={userAgent:"",platform:"",maxTouchPoints:0};!a&&typeof navigator<"u"?j={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof a=="string"?j.userAgent=a:a&&a.userAgent&&(j={userAgent:a.userAgent,platform:a.platform,maxTouchPoints:a.maxTouchPoints||0});var _e=j.userAgent,et=_e.split("[FBAN");typeof et[1]<"u"&&(_e=et[0]),et=_e.split("Twitter"),typeof et[1]<"u"&&(_e=et[0]);var nt=createMatch(_e),tt={apple:{phone:nt(appleIphone)&&!nt(windowsPhone),ipod:nt(appleIpod),tablet:!nt(appleIphone)&&(nt(appleTablet)||isAppleTabletOnIos13(j))&&!nt(windowsPhone),universal:nt(appleUniversal),device:(nt(appleIphone)||nt(appleIpod)||nt(appleTablet)||nt(appleUniversal)||isAppleTabletOnIos13(j))&&!nt(windowsPhone)},amazon:{phone:nt(amazonPhone),tablet:!nt(amazonPhone)&&nt(amazonTablet),device:nt(amazonPhone)||nt(amazonTablet)},android:{phone:!nt(windowsPhone)&&nt(amazonPhone)||!nt(windowsPhone)&&nt(androidPhone),tablet:!nt(windowsPhone)&&!nt(amazonPhone)&&!nt(androidPhone)&&(nt(amazonTablet)||nt(androidTablet)),device:!nt(windowsPhone)&&(nt(amazonPhone)||nt(amazonTablet)||nt(androidPhone)||nt(androidTablet))||nt(/\bokhttp\b/i)},windows:{phone:nt(windowsPhone),tablet:nt(windowsTablet),device:nt(windowsPhone)||nt(windowsTablet)},other:{blackberry:nt(otherBlackBerry),blackberry10:nt(otherBlackBerry10),opera:nt(otherOpera),firefox:nt(otherFirefox),chrome:nt(otherChrome),device:nt(otherBlackBerry)||nt(otherBlackBerry10)||nt(otherOpera)||nt(otherFirefox)||nt(otherChrome)},any:!1,phone:!1,tablet:!1};return tt.any=tt.apple.device||tt.android.device||tt.windows.device||tt.other.device,tt.phone=tt.apple.phone||tt.android.phone||tt.windows.phone,tt.tablet=tt.apple.tablet||tt.android.tablet||tt.windows.tablet,tt}const DID_WALLET_TAG="ABTWallet",ARC_SPHERE_TAG="ArcSphere";function getDIDWalletVersion(a){var nt;const _e=new RegExp(`${DID_WALLET_TAG}/(?<version>[0-9.]+)`,"g").exec(a);return(nt=_e==null?void 0:_e.groups)==null?void 0:nt.version}function useBrowser(){var _e;const a=(_e=window==null?void 0:window.navigator)==null?void 0:_e.userAgent,[j]=reactExports.useState({wallet:a.indexOf(DID_WALLET_TAG)>-1||a.indexOf(ARC_SPHERE_TAG)>-1,walletVersion:getDIDWalletVersion(a),wechat:/MicroMessenger/i.test(a),mobile:{apple:{phone:!1,ipod:!1,tablet:!1,device:!1},amazon:{phone:!1,tablet:!1,device:!1},android:{phone:!1,tablet:!1,device:!1},windows:{phone:!1,tablet:!1,device:!1},other:{blackberry:!1,blackberry10:!1,opera:!1,firefox:!1,chrome:!1,device:!1},phone:!1,tablet:!1,any:!1,...isMobile(a)}});return j}const extendedColors={did:{contained:{backgroundColor:colors$2.did.primary,color:colors$2.common.white},outlined:{borderColor:colors$2.did.primary,color:colors$2.did.primary}},reverse:{contained:{backgroundColor:"rgba(255, 255, 255, 0.9)",color:colors$2.grey[900]},outlined:{borderColor:colors$2.grey[900],color:colors$2.grey[900]}}};function wrap$1(a){function j(_e){const et=mergeProps(_e,j,["style"]),{children:nt,rounded:tt,loading:ot,disabled:ct,style:ft,forwardedRef:ht,color:dt,...vt}=et,$t=ct||ot;let xt=16;switch(vt.size){case"small":xt=14;break;case"large":xt=18;break}const At=extendedColors[dt]&&extendedColors[dt][vt.variant],wt=Object.assign({},{boxShadow:"none",textTransform:"capitalize",...At},ft);let Ct=vt;return At||(Ct={...Ct,color:dt}),tt&&(wt.borderRadius="100vw"),jsxRuntimeExports.jsxs(a,{style:wt,ref:ht,disabled:$t,...Ct,children:[ot&&jsxRuntimeExports.jsx(CircularProgress,{size:xt,style:{marginRight:5}}),nt]})}return j.propTypes={children:PropTypes.any.isRequired,style:PropTypes.oneOfType([PropTypes.object,PropTypes.string]),size:PropTypes.oneOf(["large","medium","small"]),forwardedRef:PropTypes.any,rounded:PropTypes.bool},j.defaultProps={rounded:!1,size:"medium",forwardedRef:null,style:{}},reactExports.forwardRef((_e,et)=>jsxRuntimeExports.jsx(j,{..._e,forwardedRef:et}))}const ButtonComponent=wrap$1(Button$1);function Dialog({children:a,title:j,prepend:_e,toolbar:et,actions:nt,showCloseButton:tt,actionsPosition:ot,PaperProps:ct,slotProps:ft,...ht}){const dt=useTheme$1(),vt=useMediaQuery(dt.breakpoints.down("md")),$t=j||tt||et,xt=(wt,Ct)=>{const{onClose:Rt}=ht;Rt&&Rt(wt,Ct)};ct.style=Object.assign({minWidth:300,minHeight:300},ct.style);const At=jsxRuntimeExports.jsx(IconButton,{className:"ux-dialog_closeButton",onClick:wt=>xt(wt,"closeButton"),children:jsxRuntimeExports.jsx(default_1$7,{})});return jsxRuntimeExports.jsxs(StyledMuiDialog,{fullScreen:vt,onClose:xt,PaperProps:ct,...ht,children:[$t&&jsxRuntimeExports.jsxs(Header$1,{...ft.header,className:"ux-dialog_header",isMobile:vt,children:[jsxRuntimeExports.jsxs("div",{className:"ux-dialog_left",children:[tt&&vt&&At,_e&&jsxRuntimeExports.jsx("div",{className:"ux-dialog_prepend",children:_e}),j&&jsxRuntimeExports.jsx(Typography,{variant:"h6",className:"ux-dialog_title",children:j})]}),jsxRuntimeExports.jsxs("div",{className:"ux-dialog_right",children:[jsxRuntimeExports.jsx("div",{className:"ux-dialog_toolbar",children:et}),tt&&!vt&&At]})]}),jsxRuntimeExports.jsx(DialogContent,{...ft.content,children:a}),nt&&jsxRuntimeExports.jsx(DialogActions,{className:`ux-dialog_actions--${ot}`,children:nt})]})}Dialog.propTypes={children:PropTypes.node.isRequired,title:PropTypes.node,prepend:PropTypes.node,toolbar:PropTypes.node,actions:PropTypes.node,showCloseButton:PropTypes.bool,actionsPosition:PropTypes.oneOf(["left","center","right"]),PaperProps:PropTypes.object,slotProps:PropTypes.shape({content:PropTypes.object,header:PropTypes.object}),onClose:PropTypes.func};Dialog.defaultProps={title:"",prepend:null,toolbar:null,actions:null,showCloseButton:!0,actionsPosition:"right",PaperProps:{},slotProps:{},onClose:void 0};const StyledMuiDialog=styled(Dialog$1)`
|
|
262
262
|
.MuiDialog-paper {
|
|
263
263
|
${a=>a.fullScreen?"border-radius: 0;":""};
|
|
264
264
|
}
|
|
@@ -314,7 +314,7 @@ object-assign
|
|
|
314
314
|
transform: rotate(90deg);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
`;function Confirm({title:a,children:j,onConfirm:_e,onCancel:et,showCloseButton:nt,showCancelButton:tt,fullScreen:ot,confirmButton:ct,cancelButton:ft,PaperProps:ht,...dt}){ht.style=Object.assign({minHeight:0},ht.style);const vt=useMemoizedFn(($t,xt)=>{["backdropClick","escapeKeyDown"].includes(xt)||($t.stopPropagation(),et($t,xt))});return jsxRuntimeExports.jsx(Dialog,{title:a,PaperProps:ht,...dt,onClose:vt,showCloseButton:nt,fullScreen:ot,slotProps:{header:{sx:{".ux-dialog_title":{lineHeight:1}}},content:{sx:{paddingTop:"0!important",border:"none!important"}}},actions:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[tt&&jsxRuntimeExports.jsx(ButtonComponent,{onClick:$t=>{$t.stopPropagation(),et($t,"closeButton")},color:"primary",...ft.props,children:ft.text}),jsxRuntimeExports.jsx(ButtonComponent,{onClick:$t=>{$t.stopPropagation(),_e($t)},color:"primary",autoFocus:!0,...ct.props,children:ct.text})]}),children:j})}Confirm.propTypes={title:PropTypes.node.isRequired,open:PropTypes.bool.isRequired,onConfirm:PropTypes.func.isRequired,onCancel:PropTypes.func.isRequired,children:PropTypes.node,showCancelButton:PropTypes.bool,showCloseButton:PropTypes.bool,fullScreen:PropTypes.bool,confirmButton:PropTypes.shape({text:PropTypes.string.isRequired,props:PropTypes.object}),cancelButton:PropTypes.shape({text:PropTypes.string.isRequired,props:PropTypes.object}),PaperProps:PropTypes.object};Confirm.defaultProps={showCancelButton:!0,showCloseButton:!0,fullScreen:!1,confirmButton:{text:"Confirm"},cancelButton:{text:"Cancel"},PaperProps:{}};const ConfirmHolder=reactExports.forwardRef((a,j)=>{const[_e,et]=reactExports.useState(""),[nt,tt]=reactExports.useState(""),ot=useReactive({show:!1,title:"",content:"",onConfirm:noop$6,onCancel:noop$6,loading:!1,showCancelButton:!0,showCloseButton:!0,confirmButtonText:"Confirm",confirmButtonProps:{},cancelButtonText:"Cancel",cancelButtonProps:{}}),ct=useMemoizedFn((wt={})=>{reactExports.isValidElement(wt.title)?(et(wt.title),ot.title=""):(et(""),ot.title=wt.title),reactExports.isValidElement(wt.content)?(tt(wt.content),ot.content=""):(tt(""),ot.content=wt.content),ot.onConfirm=wt.onConfirm||noop$6,ot.onCancel=wt.onCancel||noop$6,ot.showCloseButton=wt.showCloseButton??!0,ot.showCancelButton=wt.showCancelButton??!0,wt.confirmButtonText&&(ot.confirmButtonText=wt.confirmButtonText),wt.confirmButtonProps&&(ot.confirmButtonProps=wt.confirmButtonProps),wt.cancelButtonText&&(ot.cancelButtonText=wt.cancelButtonText),wt.cancelButtonProps&&(ot.cancelButtonProps=wt.cancelButtonProps),ot.loading=!1,ot.show=!0}),ft=useMemoizedFn(()=>{et(""),tt(""),ot.title="",ot.content="",ot.onConfirm=noop$6,ot.onCancel=noop$6,ot.confirmButtonText="Confirm",ot.confirmButtonProps={},ot.cancelButtonText="Cancel",ot.cancelButtonProps={}}),ht=useMemoizedFn(()=>{ot.show=!1,setTimeout(()=>{ft()},300)}),dt=useMemoizedFn(wt=>{wt.title&&(reactExports.isValidElement(wt.title)?(et(wt.title),ot.title=""):(et(""),ot.title=wt.title)),wt.content&&(reactExports.isValidElement(wt.content)?(tt(wt.content),ot.content=""):(tt(""),ot.content=wt.content))}),vt=useMemoizedFn((wt,Ct)=>{ht(),ot==null||ot.onCancel(wt,Ct)}),$t=useMemoizedFn(async wt=>{ot.loading=!0;try{await(ot==null?void 0:ot.onConfirm(ht,wt))}finally{ot.loading=!1}});reactExports.useImperativeHandle(j,()=>({open:ct,close:ht,update:dt}),[ct,ht,dt]);const xt=_e||ot.title,At=nt||ot.content;return jsxRuntimeExports.jsx(Confirm,{...a,open:ot.show,title:xt,onConfirm:$t,onCancel:vt,confirmButton:{text:ot.confirmButtonText,props:{variant:"contained",color:"primary",loading:ot.loading,...ot.confirmButtonProps}},showCloseButton:ot.showCloseButton,showCancelButton:ot.showCancelButton,cancelButton:{text:ot.cancelButtonText,props:{variant:"outlined",color:"primary",...ot.cancelButtonProps}},children:At instanceof Function?At():At})});function useConfirm(a={}){const j=reactExports.useRef(null),_e=useMemoizedFn((...ot)=>{var ct;(ct=j.current)==null||ct.open(...ot)}),et=useMemoizedFn((...ot)=>{var ct;(ct=j.current)==null||ct.close(...ot)}),nt=useMemoizedFn((...ot)=>{var ct;(ct=j.current)==null||ct.update(...ot)}),tt={open:_e,close:et,update:nt};return{confirmHolder:jsxRuntimeExports.jsx(ConfirmHolder,{...a,ref:j}),confirmApi:tt}}var lib$5={};function getDefaultExportFromCjs(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var browser$i={exports:{}},process$1=browser$i.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(a){if(cachedSetTimeout===setTimeout)return setTimeout(a,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(a,0);try{return cachedSetTimeout(a,0)}catch{try{return cachedSetTimeout.call(null,a,0)}catch{return cachedSetTimeout.call(this,a,0)}}}function runClearTimeout(a){if(cachedClearTimeout===clearTimeout)return clearTimeout(a);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(a);try{return cachedClearTimeout(a)}catch{try{return cachedClearTimeout.call(null,a)}catch{return cachedClearTimeout.call(this,a)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var a=runTimeout(cleanUpNextTick);draining=!0;for(var j=queue.length;j;){for(currentQueue=queue,queue=[];++queueIndex<j;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,j=queue.length}currentQueue=null,draining=!1,runClearTimeout(a)}}process$1.nextTick=function(a){var j=new Array(arguments.length-1);if(arguments.length>1)for(var _e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];queue.push(new Item(a,j)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(a,j){this.fun=a,this.array=j}Item.prototype.run=function(){this.fun.apply(null,this.array)};process$1.title="browser";process$1.browser=!0;process$1.env={};process$1.argv=[];process$1.version="";process$1.versions={};function noop$4(){}process$1.on=noop$4;process$1.addListener=noop$4;process$1.once=noop$4;process$1.off=noop$4;process$1.removeListener=noop$4;process$1.removeAllListeners=noop$4;process$1.emit=noop$4;process$1.prependListener=noop$4;process$1.prependOnceListener=noop$4;process$1.listeners=function(a){return[]};process$1.binding=function(a){throw new Error("process.binding is not supported")};process$1.cwd=function(){return"/"};process$1.chdir=function(a){throw new Error("process.chdir is not supported")};process$1.umask=function(){return 0};var browserExports$2=browser$i.exports;const process$1$1=getDefaultExportFromCjs(browserExports$2);var browser$h={exports:{}},safeBuffer$1={exports:{}},buffer$1={},base64Js={};base64Js.byteLength=byteLength;base64Js.toByteArray=toByteArray;base64Js.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;revLookup[45]=62;revLookup[95]=63;function getLens(a){var j=a.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var _e=a.indexOf("=");_e===-1&&(_e=j);var et=_e===j?0:4-_e%4;return[_e,et]}function byteLength(a){var j=getLens(a),_e=j[0],et=j[1];return(_e+et)*3/4-et}function _byteLength(a,j,_e){return(j+_e)*3/4-_e}function toByteArray(a){var j,_e=getLens(a),et=_e[0],nt=_e[1],tt=new Arr(_byteLength(a,et,nt)),ot=0,ct=nt>0?et-4:et,ft;for(ft=0;ft<ct;ft+=4)j=revLookup[a.charCodeAt(ft)]<<18|revLookup[a.charCodeAt(ft+1)]<<12|revLookup[a.charCodeAt(ft+2)]<<6|revLookup[a.charCodeAt(ft+3)],tt[ot++]=j>>16&255,tt[ot++]=j>>8&255,tt[ot++]=j&255;return nt===2&&(j=revLookup[a.charCodeAt(ft)]<<2|revLookup[a.charCodeAt(ft+1)]>>4,tt[ot++]=j&255),nt===1&&(j=revLookup[a.charCodeAt(ft)]<<10|revLookup[a.charCodeAt(ft+1)]<<4|revLookup[a.charCodeAt(ft+2)]>>2,tt[ot++]=j>>8&255,tt[ot++]=j&255),tt}function tripletToBase64(a){return lookup[a>>18&63]+lookup[a>>12&63]+lookup[a>>6&63]+lookup[a&63]}function encodeChunk(a,j,_e){for(var et,nt=[],tt=j;tt<_e;tt+=3)et=(a[tt]<<16&16711680)+(a[tt+1]<<8&65280)+(a[tt+2]&255),nt.push(tripletToBase64(et));return nt.join("")}function fromByteArray(a){for(var j,_e=a.length,et=_e%3,nt=[],tt=16383,ot=0,ct=_e-et;ot<ct;ot+=tt)nt.push(encodeChunk(a,ot,ot+tt>ct?ct:ot+tt));return et===1?(j=a[_e-1],nt.push(lookup[j>>2]+lookup[j<<4&63]+"==")):et===2&&(j=(a[_e-2]<<8)+a[_e-1],nt.push(lookup[j>>10]+lookup[j>>4&63]+lookup[j<<2&63]+"=")),nt.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754.read=function(a,j,_e,et,nt){var tt,ot,ct=nt*8-et-1,ft=(1<<ct)-1,ht=ft>>1,dt=-7,vt=_e?nt-1:0,$t=_e?-1:1,xt=a[j+vt];for(vt+=$t,tt=xt&(1<<-dt)-1,xt>>=-dt,dt+=ct;dt>0;tt=tt*256+a[j+vt],vt+=$t,dt-=8);for(ot=tt&(1<<-dt)-1,tt>>=-dt,dt+=et;dt>0;ot=ot*256+a[j+vt],vt+=$t,dt-=8);if(tt===0)tt=1-ht;else{if(tt===ft)return ot?NaN:(xt?-1:1)*(1/0);ot=ot+Math.pow(2,et),tt=tt-ht}return(xt?-1:1)*ot*Math.pow(2,tt-et)};ieee754.write=function(a,j,_e,et,nt,tt){var ot,ct,ft,ht=tt*8-nt-1,dt=(1<<ht)-1,vt=dt>>1,$t=nt===23?Math.pow(2,-24)-Math.pow(2,-77):0,xt=et?0:tt-1,At=et?1:-1,wt=j<0||j===0&&1/j<0?1:0;for(j=Math.abs(j),isNaN(j)||j===1/0?(ct=isNaN(j)?1:0,ot=dt):(ot=Math.floor(Math.log(j)/Math.LN2),j*(ft=Math.pow(2,-ot))<1&&(ot--,ft*=2),ot+vt>=1?j+=$t/ft:j+=$t*Math.pow(2,1-vt),j*ft>=2&&(ot++,ft/=2),ot+vt>=dt?(ct=0,ot=dt):ot+vt>=1?(ct=(j*ft-1)*Math.pow(2,nt),ot=ot+vt):(ct=j*Math.pow(2,vt-1)*Math.pow(2,nt),ot=0));nt>=8;a[_e+xt]=ct&255,xt+=At,ct/=256,nt-=8);for(ot=ot<<nt|ct,ht+=nt;ht>0;a[_e+xt]=ot&255,xt+=At,ot/=256,ht-=8);a[_e+xt-At]|=wt*128};/*!
|
|
317
|
+
`;function Confirm({title:a,children:j,onConfirm:_e,onCancel:et,showCloseButton:nt,showCancelButton:tt,fullScreen:ot,confirmButton:ct,cancelButton:ft,PaperProps:ht,...dt}){ht.style=Object.assign({minHeight:0},ht.style);const vt=useMemoizedFn(($t,xt)=>{["backdropClick","escapeKeyDown"].includes(xt)||($t.stopPropagation(),et($t,xt))});return jsxRuntimeExports.jsx(Dialog,{title:a,PaperProps:ht,...dt,onClose:vt,showCloseButton:nt,fullScreen:ot,slotProps:{header:{sx:{".ux-dialog_title":{lineHeight:1}}},content:{sx:{paddingTop:"0!important",border:"none!important"}}},actions:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[tt&&jsxRuntimeExports.jsx(ButtonComponent,{onClick:$t=>{$t.stopPropagation(),et($t,"closeButton")},color:"primary",...ft.props,children:ft.text}),jsxRuntimeExports.jsx(ButtonComponent,{onClick:$t=>{$t.stopPropagation(),_e($t)},color:"primary",autoFocus:!0,...ct.props,children:ct.text})]}),children:j})}Confirm.propTypes={title:PropTypes.node.isRequired,open:PropTypes.bool.isRequired,onConfirm:PropTypes.func.isRequired,onCancel:PropTypes.func.isRequired,children:PropTypes.node,showCancelButton:PropTypes.bool,showCloseButton:PropTypes.bool,fullScreen:PropTypes.bool,confirmButton:PropTypes.shape({text:PropTypes.node.isRequired,props:PropTypes.object}),cancelButton:PropTypes.shape({text:PropTypes.node.isRequired,props:PropTypes.object}),PaperProps:PropTypes.object};Confirm.defaultProps={showCancelButton:!0,showCloseButton:!0,fullScreen:!1,confirmButton:{text:"Confirm"},cancelButton:{text:"Cancel"},PaperProps:{}};const ConfirmHolder=reactExports.forwardRef((a,j)=>{const[_e,et]=reactExports.useState(""),[nt,tt]=reactExports.useState(""),ot=useReactive({show:!1,title:"",content:"",onConfirm:noop$6,onCancel:noop$6,loading:!1,showCancelButton:!0,showCloseButton:!0,confirmButtonText:"Confirm",confirmButtonProps:{},cancelButtonText:"Cancel",cancelButtonProps:{}}),ct=useMemoizedFn((wt={})=>{reactExports.isValidElement(wt.title)?(et(wt.title),ot.title=""):(et(""),ot.title=wt.title),reactExports.isValidElement(wt.content)?(tt(wt.content),ot.content=""):(tt(""),ot.content=wt.content),ot.onConfirm=wt.onConfirm||noop$6,ot.onCancel=wt.onCancel||noop$6,ot.showCloseButton=wt.showCloseButton??!0,ot.showCancelButton=wt.showCancelButton??!0,wt.confirmButtonText&&(ot.confirmButtonText=wt.confirmButtonText),wt.confirmButtonProps&&(ot.confirmButtonProps=wt.confirmButtonProps),wt.cancelButtonText&&(ot.cancelButtonText=wt.cancelButtonText),wt.cancelButtonProps&&(ot.cancelButtonProps=wt.cancelButtonProps),ot.loading=!1,ot.show=!0}),ft=useMemoizedFn(()=>{et(""),tt(""),ot.title="",ot.content="",ot.onConfirm=noop$6,ot.onCancel=noop$6,ot.confirmButtonText="Confirm",ot.confirmButtonProps={},ot.cancelButtonText="Cancel",ot.cancelButtonProps={}}),ht=useMemoizedFn(()=>{ot.show=!1,setTimeout(()=>{ft()},300)}),dt=useMemoizedFn(wt=>{wt.title&&(reactExports.isValidElement(wt.title)?(et(wt.title),ot.title=""):(et(""),ot.title=wt.title)),wt.content&&(reactExports.isValidElement(wt.content)?(tt(wt.content),ot.content=""):(tt(""),ot.content=wt.content))}),vt=useMemoizedFn((wt,Ct)=>{ht(),ot==null||ot.onCancel(wt,Ct)}),$t=useMemoizedFn(async wt=>{ot.loading=!0;try{await(ot==null?void 0:ot.onConfirm(ht,wt))}finally{ot.loading=!1}});reactExports.useImperativeHandle(j,()=>({open:ct,close:ht,update:dt}),[ct,ht,dt]);const xt=_e||ot.title,At=nt||ot.content;return jsxRuntimeExports.jsx(Confirm,{...a,open:ot.show,title:xt,onConfirm:$t,onCancel:vt,confirmButton:{text:ot.confirmButtonText,props:{variant:"contained",color:"primary",loading:ot.loading,...ot.confirmButtonProps}},showCloseButton:ot.showCloseButton,showCancelButton:ot.showCancelButton,cancelButton:{text:ot.cancelButtonText,props:{variant:"outlined",color:"primary",...ot.cancelButtonProps}},children:At instanceof Function?At():At})});function useConfirm(a={}){const j=reactExports.useRef(null),_e=useMemoizedFn((...ot)=>{var ct;(ct=j.current)==null||ct.open(...ot)}),et=useMemoizedFn((...ot)=>{var ct;(ct=j.current)==null||ct.close(...ot)}),nt=useMemoizedFn((...ot)=>{var ct;(ct=j.current)==null||ct.update(...ot)}),tt={open:_e,close:et,update:nt};return{confirmHolder:jsxRuntimeExports.jsx(ConfirmHolder,{...a,ref:j}),confirmApi:tt}}var lib$5={};function getDefaultExportFromCjs(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var browser$i={exports:{}},process$1=browser$i.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(a){if(cachedSetTimeout===setTimeout)return setTimeout(a,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(a,0);try{return cachedSetTimeout(a,0)}catch{try{return cachedSetTimeout.call(null,a,0)}catch{return cachedSetTimeout.call(this,a,0)}}}function runClearTimeout(a){if(cachedClearTimeout===clearTimeout)return clearTimeout(a);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(a);try{return cachedClearTimeout(a)}catch{try{return cachedClearTimeout.call(null,a)}catch{return cachedClearTimeout.call(this,a)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var a=runTimeout(cleanUpNextTick);draining=!0;for(var j=queue.length;j;){for(currentQueue=queue,queue=[];++queueIndex<j;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,j=queue.length}currentQueue=null,draining=!1,runClearTimeout(a)}}process$1.nextTick=function(a){var j=new Array(arguments.length-1);if(arguments.length>1)for(var _e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];queue.push(new Item(a,j)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(a,j){this.fun=a,this.array=j}Item.prototype.run=function(){this.fun.apply(null,this.array)};process$1.title="browser";process$1.browser=!0;process$1.env={};process$1.argv=[];process$1.version="";process$1.versions={};function noop$4(){}process$1.on=noop$4;process$1.addListener=noop$4;process$1.once=noop$4;process$1.off=noop$4;process$1.removeListener=noop$4;process$1.removeAllListeners=noop$4;process$1.emit=noop$4;process$1.prependListener=noop$4;process$1.prependOnceListener=noop$4;process$1.listeners=function(a){return[]};process$1.binding=function(a){throw new Error("process.binding is not supported")};process$1.cwd=function(){return"/"};process$1.chdir=function(a){throw new Error("process.chdir is not supported")};process$1.umask=function(){return 0};var browserExports$2=browser$i.exports;const process$1$1=getDefaultExportFromCjs(browserExports$2);var browser$h={exports:{}},safeBuffer$1={exports:{}},buffer$1={},base64Js={};base64Js.byteLength=byteLength;base64Js.toByteArray=toByteArray;base64Js.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;revLookup[45]=62;revLookup[95]=63;function getLens(a){var j=a.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var _e=a.indexOf("=");_e===-1&&(_e=j);var et=_e===j?0:4-_e%4;return[_e,et]}function byteLength(a){var j=getLens(a),_e=j[0],et=j[1];return(_e+et)*3/4-et}function _byteLength(a,j,_e){return(j+_e)*3/4-_e}function toByteArray(a){var j,_e=getLens(a),et=_e[0],nt=_e[1],tt=new Arr(_byteLength(a,et,nt)),ot=0,ct=nt>0?et-4:et,ft;for(ft=0;ft<ct;ft+=4)j=revLookup[a.charCodeAt(ft)]<<18|revLookup[a.charCodeAt(ft+1)]<<12|revLookup[a.charCodeAt(ft+2)]<<6|revLookup[a.charCodeAt(ft+3)],tt[ot++]=j>>16&255,tt[ot++]=j>>8&255,tt[ot++]=j&255;return nt===2&&(j=revLookup[a.charCodeAt(ft)]<<2|revLookup[a.charCodeAt(ft+1)]>>4,tt[ot++]=j&255),nt===1&&(j=revLookup[a.charCodeAt(ft)]<<10|revLookup[a.charCodeAt(ft+1)]<<4|revLookup[a.charCodeAt(ft+2)]>>2,tt[ot++]=j>>8&255,tt[ot++]=j&255),tt}function tripletToBase64(a){return lookup[a>>18&63]+lookup[a>>12&63]+lookup[a>>6&63]+lookup[a&63]}function encodeChunk(a,j,_e){for(var et,nt=[],tt=j;tt<_e;tt+=3)et=(a[tt]<<16&16711680)+(a[tt+1]<<8&65280)+(a[tt+2]&255),nt.push(tripletToBase64(et));return nt.join("")}function fromByteArray(a){for(var j,_e=a.length,et=_e%3,nt=[],tt=16383,ot=0,ct=_e-et;ot<ct;ot+=tt)nt.push(encodeChunk(a,ot,ot+tt>ct?ct:ot+tt));return et===1?(j=a[_e-1],nt.push(lookup[j>>2]+lookup[j<<4&63]+"==")):et===2&&(j=(a[_e-2]<<8)+a[_e-1],nt.push(lookup[j>>10]+lookup[j>>4&63]+lookup[j<<2&63]+"=")),nt.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754.read=function(a,j,_e,et,nt){var tt,ot,ct=nt*8-et-1,ft=(1<<ct)-1,ht=ft>>1,dt=-7,vt=_e?nt-1:0,$t=_e?-1:1,xt=a[j+vt];for(vt+=$t,tt=xt&(1<<-dt)-1,xt>>=-dt,dt+=ct;dt>0;tt=tt*256+a[j+vt],vt+=$t,dt-=8);for(ot=tt&(1<<-dt)-1,tt>>=-dt,dt+=et;dt>0;ot=ot*256+a[j+vt],vt+=$t,dt-=8);if(tt===0)tt=1-ht;else{if(tt===ft)return ot?NaN:(xt?-1:1)*(1/0);ot=ot+Math.pow(2,et),tt=tt-ht}return(xt?-1:1)*ot*Math.pow(2,tt-et)};ieee754.write=function(a,j,_e,et,nt,tt){var ot,ct,ft,ht=tt*8-nt-1,dt=(1<<ht)-1,vt=dt>>1,$t=nt===23?Math.pow(2,-24)-Math.pow(2,-77):0,xt=et?0:tt-1,At=et?1:-1,wt=j<0||j===0&&1/j<0?1:0;for(j=Math.abs(j),isNaN(j)||j===1/0?(ct=isNaN(j)?1:0,ot=dt):(ot=Math.floor(Math.log(j)/Math.LN2),j*(ft=Math.pow(2,-ot))<1&&(ot--,ft*=2),ot+vt>=1?j+=$t/ft:j+=$t*Math.pow(2,1-vt),j*ft>=2&&(ot++,ft/=2),ot+vt>=dt?(ct=0,ot=dt):ot+vt>=1?(ct=(j*ft-1)*Math.pow(2,nt),ot=ot+vt):(ct=j*Math.pow(2,vt-1)*Math.pow(2,nt),ot=0));nt>=8;a[_e+xt]=ct&255,xt+=At,ct/=256,nt-=8);for(ot=ot<<nt|ct,ht+=nt;ht>0;a[_e+xt]=ot&255,xt+=At,ot/=256,ht-=8);a[_e+xt-At]|=wt*128};/*!
|
|
318
318
|
* The buffer module from node.js, for the browser.
|
|
319
319
|
*
|
|
320
320
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
@@ -429,7 +429,7 @@ ${et.length}`,ot=Buffer$3.from(tt),ct=Buffer$3.concat([ot,nt]);return hash_1.def
|
|
|
429
429
|
`):" "+renderReason(tt[0]):"as no adapter specified";throw new AxiosError$1("There is no suitable adapter to dispatch the request "+ot,"ERR_NOT_SUPPORT")}return et},adapters:knownAdapters};function throwIfCancellationRequested(a){if(a.cancelToken&&a.cancelToken.throwIfRequested(),a.signal&&a.signal.aborted)throw new CanceledError$1(null,a)}function dispatchRequest(a){return throwIfCancellationRequested(a),a.headers=AxiosHeaders$1.from(a.headers),a.data=transformData.call(a,a.transformRequest),["post","put","patch"].indexOf(a.method)!==-1&&a.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(a.adapter||defaults$1.adapter)(a).then(function(et){return throwIfCancellationRequested(a),et.data=transformData.call(a,a.transformResponse,et),et.headers=AxiosHeaders$1.from(et.headers),et},function(et){return isCancel$1(et)||(throwIfCancellationRequested(a),et&&et.response&&(et.response.data=transformData.call(a,a.transformResponse,et.response),et.response.headers=AxiosHeaders$1.from(et.response.headers))),Promise.reject(et)})}const VERSION$1="1.7.7",validators$1={};["object","boolean","number","function","string","symbol"].forEach((a,j)=>{validators$1[a]=function(et){return typeof et===a||"a"+(j<1?"n ":" ")+a}});const deprecatedWarnings={};validators$1.transitional=function a(j,_e,et){function nt(tt,ot){return"[Axios v"+VERSION$1+"] Transitional option '"+tt+"'"+ot+(et?". "+et:"")}return(tt,ot,ct)=>{if(j===!1)throw new AxiosError$1(nt(ot," has been removed"+(_e?" in "+_e:"")),AxiosError$1.ERR_DEPRECATED);return _e&&!deprecatedWarnings[ot]&&(deprecatedWarnings[ot]=!0,console.warn(nt(ot," has been deprecated since v"+_e+" and will be removed in the near future"))),j?j(tt,ot,ct):!0}};function assertOptions(a,j,_e){if(typeof a!="object")throw new AxiosError$1("options must be an object",AxiosError$1.ERR_BAD_OPTION_VALUE);const et=Object.keys(a);let nt=et.length;for(;nt-- >0;){const tt=et[nt],ot=j[tt];if(ot){const ct=a[tt],ft=ct===void 0||ot(ct,tt,a);if(ft!==!0)throw new AxiosError$1("option "+tt+" must be "+ft,AxiosError$1.ERR_BAD_OPTION_VALUE);continue}if(_e!==!0)throw new AxiosError$1("Unknown option "+tt,AxiosError$1.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;let Axios$1=class{constructor(j){this.defaults=j,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(j,_e){try{return await this._request(j,_e)}catch(et){if(et instanceof Error){let nt;Error.captureStackTrace?Error.captureStackTrace(nt={}):nt=new Error;const tt=nt.stack?nt.stack.replace(/^.+\n/,""):"";try{et.stack?tt&&!String(et.stack).endsWith(tt.replace(/^.+\n.+\n/,""))&&(et.stack+=`
|
|
430
430
|
`+tt):et.stack=tt}catch{}}throw et}}_request(j,_e){typeof j=="string"?(_e=_e||{},_e.url=j):_e=j||{},_e=mergeConfig$1(this.defaults,_e);const{transitional:et,paramsSerializer:nt,headers:tt}=_e;et!==void 0&&validator.assertOptions(et,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),nt!=null&&(utils$1.isFunction(nt)?_e.paramsSerializer={serialize:nt}:validator.assertOptions(nt,{encode:validators.function,serialize:validators.function},!0)),_e.method=(_e.method||this.defaults.method||"get").toLowerCase();let ot=tt&&utils$1.merge(tt.common,tt[_e.method]);tt&&utils$1.forEach(["delete","get","head","post","put","patch","common"],At=>{delete tt[At]}),_e.headers=AxiosHeaders$1.concat(ot,tt);const ct=[];let ft=!0;this.interceptors.request.forEach(function(wt){typeof wt.runWhen=="function"&&wt.runWhen(_e)===!1||(ft=ft&&wt.synchronous,ct.unshift(wt.fulfilled,wt.rejected))});const ht=[];this.interceptors.response.forEach(function(wt){ht.push(wt.fulfilled,wt.rejected)});let dt,vt=0,$t;if(!ft){const At=[dispatchRequest.bind(this),void 0];for(At.unshift.apply(At,ct),At.push.apply(At,ht),$t=At.length,dt=Promise.resolve(_e);vt<$t;)dt=dt.then(At[vt++],At[vt++]);return dt}$t=ct.length;let xt=_e;for(vt=0;vt<$t;){const At=ct[vt++],wt=ct[vt++];try{xt=At(xt)}catch(Ct){wt.call(this,Ct);break}}try{dt=dispatchRequest.call(this,xt)}catch(At){return Promise.reject(At)}for(vt=0,$t=ht.length;vt<$t;)dt=dt.then(ht[vt++],ht[vt++]);return dt}getUri(j){j=mergeConfig$1(this.defaults,j);const _e=buildFullPath(j.baseURL,j.url);return buildURL(_e,j.params,j.paramsSerializer)}};utils$1.forEach(["delete","get","head","options"],function a(j){Axios$1.prototype[j]=function(_e,et){return this.request(mergeConfig$1(et||{},{method:j,url:_e,data:(et||{}).data}))}});utils$1.forEach(["post","put","patch"],function a(j){function _e(et){return function(tt,ot,ct){return this.request(mergeConfig$1(ct||{},{method:j,headers:et?{"Content-Type":"multipart/form-data"}:{},url:tt,data:ot}))}}Axios$1.prototype[j]=_e(),Axios$1.prototype[j+"Form"]=_e(!0)});let CancelToken$1=class vo{constructor(j){if(typeof j!="function")throw new TypeError("executor must be a function.");let _e;this.promise=new Promise(function(tt){_e=tt});const et=this;this.promise.then(nt=>{if(!et._listeners)return;let tt=et._listeners.length;for(;tt-- >0;)et._listeners[tt](nt);et._listeners=null}),this.promise.then=nt=>{let tt;const ot=new Promise(ct=>{et.subscribe(ct),tt=ct}).then(nt);return ot.cancel=function(){et.unsubscribe(tt)},ot},j(function(tt,ot,ct){et.reason||(et.reason=new CanceledError$1(tt,ot,ct),_e(et.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(j){if(this.reason){j(this.reason);return}this._listeners?this._listeners.push(j):this._listeners=[j]}unsubscribe(j){if(!this._listeners)return;const _e=this._listeners.indexOf(j);_e!==-1&&this._listeners.splice(_e,1)}toAbortSignal(){const j=new AbortController,_e=et=>{j.abort(et)};return this.subscribe(_e),j.signal.unsubscribe=()=>this.unsubscribe(_e),j.signal}static source(){let j;return{token:new vo(function(nt){j=nt}),cancel:j}}};function spread$1(a){return function(_e){return a.apply(null,_e)}}function isAxiosError$1(a){return utils$1.isObject(a)&&a.isAxiosError===!0}const HttpStatusCode$1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode$1).forEach(([a,j])=>{HttpStatusCode$1[j]=a});function createInstance(a){const j=new Axios$1(a),_e=bind(Axios$1.prototype.request,j);return utils$1.extend(_e,Axios$1.prototype,j,{allOwnKeys:!0}),utils$1.extend(_e,j,null,{allOwnKeys:!0}),_e.create=function(nt){return createInstance(mergeConfig$1(a,nt))},_e}const axios$4=createInstance(defaults$1);axios$4.Axios=Axios$1;axios$4.CanceledError=CanceledError$1;axios$4.CancelToken=CancelToken$1;axios$4.isCancel=isCancel$1;axios$4.VERSION=VERSION$1;axios$4.toFormData=toFormData$1;axios$4.AxiosError=AxiosError$1;axios$4.Cancel=axios$4.CanceledError;axios$4.all=function a(j){return Promise.all(j)};axios$4.spread=spread$1;axios$4.isAxiosError=isAxiosError$1;axios$4.mergeConfig=mergeConfig$1;axios$4.AxiosHeaders=AxiosHeaders$1;axios$4.formToJSON=a=>formDataToJSON(utils$1.isHTMLForm(a)?new FormData(a):a);axios$4.getAdapter=adapters.getAdapter;axios$4.HttpStatusCode=HttpStatusCode$1;axios$4.default=axios$4;const{Axios,AxiosError,CanceledError,isCancel,CancelToken,VERSION,all,Cancel,isAxiosError,spread,toFormData,AxiosHeaders,HttpStatusCode,formToJSON,getAdapter,mergeConfig}=axios$4,axios$3=Object.freeze(Object.defineProperty({__proto__:null,Axios,AxiosError,AxiosHeaders,Cancel,CancelToken,CanceledError,HttpStatusCode,VERSION,all,default:axios$4,formToJSON,getAdapter,isAxiosError,isCancel,mergeConfig,spread,toFormData},Symbol.toStringTag,{value:"Module"}));var __defProp$3=Object.defineProperty,__defNormalProp$3=(a,j,_e)=>j in a?__defProp$3(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$3=(a,j,_e)=>(__defNormalProp$3(a,j+"",_e),_e);class AuthService{constructor({api:j}){__publicField$3(this,"api"),this.api=j}async getUserPublicInfo({did:j}){const{data:_e}=await this.api.get("/api/user",{params:{did:j}});return _e}async getUserPrivacyConfig({did:j}){const{data:_e}=await this.api.get("/api/user/privacy/config",{params:{did:j}});return _e}async saveUserPrivacyConfig(j){const{data:_e}=await this.api.post("/api/user/privacy/config",j);return _e}async getUserNotificationConfig(){const{data:j}=await this.api.get("/api/user/notification/config");return j}async saveUserNotificationConfig(j){const{data:_e}=await this.api.post("/api/user/notification/config",j);return _e}async testNotificationWebhook(j){const{data:_e}=await this.api.put("/api/user/notification/webhook",j);return _e}async getProfileUrl({did:j,locale:_e}){const et=`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user`;return withQuery(et,{did:j,locale:_e})}async getProfile(){const{data:j}=await this.api.get("/api/user/profile");return j}async refreshProfile(){await this.api.put("/api/user/refreshProfile")}async saveProfile({locale:j,inviter:_e}){const{data:et}=await this.api.put("/api/user/profile",{locale:j,inviter:_e});return et}async updateDidSpace({spaceGateway:j}){await this.api.put("/api/user/updateDidSpace",{spaceGateway:j})}async logout({visitorId:j}){const{data:_e}=await this.api.post("/api/user/logout",{visitorId:j});return _e}}class TokenService{getSessionToken(){return api$4.get(constant$3.SESSION_TOKEN_STORAGE_KEY)}setSessionToken(j){api$4.set(constant$3.SESSION_TOKEN_STORAGE_KEY,j)}removeSessionToken(){api$4.remove(constant$3.SESSION_TOKEN_STORAGE_KEY)}getRefreshToken(){return localStorage.getItem(constant$3.REFRESH_TOKEN_STORAGE_KEY)}setRefreshToken(j){localStorage.setItem(constant$3.REFRESH_TOKEN_STORAGE_KEY,j)}removeRefreshToken(){localStorage.removeItem(constant$3.REFRESH_TOKEN_STORAGE_KEY)}}const blockletCache=new QuickLRU({maxSize:30,maxAge:60*1e3});class BlockletService{async getBlocklet(j,_e=!1){if(!j){if(typeof window>"u"||typeof document>"u")throw new Error("Cannot get blocklet in server side without baseUrl");return window.blocklet}if(!_e&&blockletCache.has(j))return blockletCache.get(j);const et=withQuery(joinURL(j,"__blocklet__.js"),{type:"json",t:Date.now()}),tt=await(await fetch(et)).json();return blockletCache.set(j,tt),tt}async loadBlocklet(){return new Promise((j,_e)=>{if(typeof window>"u"||typeof document>"u"){_e();return}const et=document.createElement("script");let nt="/";window.blocklet&&window.blocklet.prefix&&(nt=window.blocklet.prefix),et.src=withQuery(joinURL(nt,"__blocklet__.js"),{t:Date.now()}),et.onload=()=>{j()},et.onerror=()=>{_e()},document.head.append(et)})}getPrefix(j){var _e;return j?(j==null?void 0:j.prefix)||"/":typeof window>"u"||typeof document>"u"?null:((_e=window.blocklet)==null?void 0:_e.prefix)||"/"}}var __defProp$2=Object.defineProperty,__defNormalProp$2=(a,j,_e)=>j in a?__defProp$2(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$2=(a,j,_e)=>(__defNormalProp$2(a,typeof j!="symbol"?j+"":j,_e),_e);class UserSessionService{constructor({api:j,blocklet:_e}){__publicField$2(this,"api"),__publicField$2(this,"blocklet"),this.api=j,this.blocklet=_e||new BlockletService}getBaseUrl(j){return j?joinURL(j,constant$3.WELLKNOWN_SERVICE_PATH_PREFIX):void 0}async getUserSessions({did:j,appUrl:_e}){const et=this.getBaseUrl(_e),nt=await this.blocklet.getBlocklet(),{data:tt}=await this.api.get("/api/user-session",{baseURL:et,params:{userDid:j,appPid:nt.appPid}});return tt}async loginByUserSession({appPid:j,userDid:_e,visitorId:et,passportId:nt,appUrl:tt}){const ot=this.getBaseUrl(tt),{data:ct}=await this.api.post("/api/user-session/login",{appPid:j,userDid:_e,visitorId:et,passportId:nt},{baseURL:ot});return ct}}var __defProp$1=Object.defineProperty,__defNormalProp$1=(a,j,_e)=>j in a?__defProp$1(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$1=(a,j,_e)=>(__defNormalProp$1(a,j+"",_e),_e);class ComponentService{constructor({blocklet:j=window.blocklet}={}){__publicField$1(this,"blocklet"),this.blocklet=j}getComponent(j){var nt;return(((nt=this.blocklet)==null?void 0:nt.componentMountPoints)||[]).find(tt=>[tt.title,tt.name,tt.did].includes(j))}getComponentMountPoint(j){const _e=this.getComponent(j);return(_e==null?void 0:_e.mountPoint)||""}getUrl(j,..._e){var tt;const et=this.getComponentMountPoint(j),nt=((tt=this.blocklet)==null?void 0:tt.appUrl)||"";return joinURL(nt,et,..._e)}}const version$3="1.16.33",sleep$2=(a=0)=>new Promise(j=>{setTimeout(()=>{j()},a)}),getBearerToken=a=>`Bearer ${encodeURIComponent(a)}`,visitorIdKey="__visitor_id",getVisitorId$1=()=>localStorage.getItem(visitorIdKey);function getCSRFToken(){return api$4.get("x-csrf-token")}async function sleepForLoading(a,j=300){a.metaData.endTime=+new Date;const{startTime:_e,endTime:et}=a.metaData,nt=et-_e;nt<j&&await sleep$2(j-nt),delete a.metaData}const createAxios$1=(a,j)=>{const _e={...a==null?void 0:a.headers,"x-blocklet-js-sdk-version":version$3},et=new ComponentService,nt=getVisitorId$1();[void 0,null].includes(nt)||(_e["x-blocklet-visitor-id"]=nt);const tt=axios$4.create({...a,headers:_e});return j!=null&&j.lazy&&(tt.interceptors.request.use(ot=>(ot.metaData={startTime:+new Date},ot),ot=>Promise.reject(ot)),tt.interceptors.response.use(async ot=>(ot.config&&await sleepForLoading(ot.config,j==null?void 0:j.lazyTime),ot),async ot=>(ot.response&&await sleepForLoading(ot.response.config,j==null?void 0:j.lazyTime),Promise.reject(ot)))),tt.interceptors.request.use(ot=>{var ft,ht;const ct=(j==null?void 0:j.componentDid)??((ht=(ft=window.blocklet)==null?void 0:ft.componentId)==null?void 0:ht.split("/").pop());return ot.baseURL=ot.baseURL||et.getComponentMountPoint(ct),ot.timeout=ot.timeout||20*1e3,ot.headers["x-csrf-token"]=getCSRFToken(),ot},ot=>Promise.reject(ot)),tt};async function renewRefreshToken$1(a){if(!a)throw new Error("Refresh token not found");const j=createAxios$1({baseURL:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,timeout:10*1e3,headers:{authorization:getBearerToken(a)}}),{data:_e}=await j.post("/api/did/refreshSession");return _e}function createRequest$1({getSessionToken:a,setSessionToken:j,removeSessionToken:_e,getRefreshToken:et,setRefreshToken:nt,removeRefreshToken:tt,onRefreshTokenError:ot,onRefreshTokenSuccess:ct},ft,ht){let dt=null;const vt=createAxios$1({timeout:30*1e3,...ft},ht);return vt.interceptors.request.use(async $t=>{if(!api$4.get(constant$3.SESSION_TOKEN_STORAGE_KEY)){const xt=a();xt&&($t.headers.authorization=getBearerToken(xt))}return dt&&await dt,$t},$t=>Promise.reject($t)),vt.interceptors.response.use($t=>$t,async $t=>{var At;const xt=$t.config;if(xt&&(xt.headers=xt!=null&&xt.headers?{...xt.headers}:{},((At=$t==null?void 0:$t.response)==null?void 0:At.status)===401&&!xt._retry)){xt._retry=!0;try{dt||(dt=renewRefreshToken$1(et()));const wt=await dt;return j(wt.nextToken),nt(wt.nextRefreshToken),typeof ct=="function"&&ct(wt),vt(xt)}catch(wt){return _e(),tt(),typeof ot=="function"&&ot(wt),Promise.reject($t)}finally{dt=null}}return Promise.reject($t)}),vt}var __defProp$4=Object.defineProperty,__defNormalProp=(a,j,_e)=>j in a?__defProp$4(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField=(a,j,_e)=>(__defNormalProp(a,typeof j!="symbol"?j+"":j,_e),_e);class BlockletSDK{constructor(){__publicField(this,"api"),__publicField(this,"user"),__publicField(this,"userSession"),__publicField(this,"token"),__publicField(this,"blocklet");const j=new TokenService,_e=createRequest$1({getSessionToken:j.getSessionToken,setSessionToken:j.setSessionToken,removeSessionToken:j.removeSessionToken,getRefreshToken:j.getRefreshToken,setRefreshToken:j.setRefreshToken,removeRefreshToken:j.removeRefreshToken,onRefreshTokenError:()=>{console.error("Failed to refresh token")},onRefreshTokenSuccess:()=>{}},{baseURL:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX});this.user=new AuthService({api:_e});const et=new BlockletService;this.userSession=new UserSessionService({api:_e,blocklet:et}),this.token=j,this.api=_e,this.blocklet=et}}function createAxios$2(a={},j={}){const _e=new TokenService;return createRequest$1({getSessionToken:_e.getSessionToken,setSessionToken:_e.setSessionToken,removeSessionToken:_e.removeSessionToken,getRefreshToken:_e.getRefreshToken,setRefreshToken:_e.setRefreshToken,removeRefreshToken:_e.removeRefreshToken,onRefreshTokenError:()=>{console.error("Failed to refresh token")},onRefreshTokenSuccess:()=>{}},a,j)}var lib$3={},dsbridge={};Object.defineProperty(dsbridge,"__esModule",{value:!0});dsbridge.default=void 0;var bridge={call:function a(j,_e,et){var nt="";typeof _e=="function"&&(et=_e,_e={});var tt={data:_e===void 0?null:_e};if(typeof et=="function"){var ot="dscb"+window.dscb++;window[ot]=et,tt._dscbstub=ot}return tt=JSON.stringify(tt),window._dsbridge?nt=_dsbridge.call(j,tt):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(nt=prompt("_dsbridge="+j,tt)),JSON.parse(nt||"{}").data},register:function a(j,_e,et){var nt=et?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){bridge.call("_dsb.dsinit")},0)),typeof _e=="object"?nt._obs[j]=_e:nt[j]=_e},registerAsyn:function a(j,_e){this.register(j,_e,!0)},hasNativeMethod:function a(j,_e){return this.call("_dsb.hasNativeMethod",{name:j,type:_e||"all"})},disableJavascriptDialogBlock:function a(j){this.call("_dsb.disableJavascriptDialogBlock",{disable:j!==!1})},canUseBridge(){return!!(window._dsbridge||window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)}};(function(){if(!bridge.canUseBridge()||window._dsf)return;const a=window.close;var j={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:bridge,close:function(){bridge.call("_dsb.closePage"),a()},_handleMessageFromNative:function(nt){var tt=JSON.parse(nt.data),ot={id:nt.callbackId,complete:!0},ct=this._dsf[nt.method],ft=this._dsaf[nt.method],ht=function(It,Mt){ot.data=It.apply(Mt,tt),bridge.call("_dsb.returnValue",ot)},dt=function(It,Mt){tt.push(function(Ot,zt){ot.data=Ot,ot.complete=zt!==!1,bridge.call("_dsb.returnValue",ot)}),It.apply(Mt,tt)};if(ct)ht(ct,this._dsf);else if(ft)dt(ft,this._dsaf);else{var vt=nt.method.split(".");if(vt.length<2)return;var $t=vt.pop(),xt=vt.join("."),At=this._dsf._obs,wt=At[xt]||{},Ct=wt[$t];if(Ct&&typeof Ct=="function"){ht(Ct,wt);return}if(At=this._dsaf._obs,wt=At[xt]||{},Ct=wt[$t],Ct&&typeof Ct=="function"){dt(Ct,wt);return}}}};for(var _e in j)window[_e]=j[_e];bridge.register("_hasJavascriptMethod",function(et,nt){var tt=et.split(".");if(tt.length<2)return!!(_dsf[tt]||_dsaf[tt]);var et=tt.pop(),ot=tt.join("."),ct=_dsf._obs[ot]||_dsaf._obs[ot];return ct&&!!ct[et]})})();dsbridge.default=bridge;Object.defineProperty(lib$3,"__esModule",{value:!0});var default_1$4=lib$3.default=void 0,_dsbridge$1=_interopRequireDefault$4(dsbridge);function _interopRequireDefault$4(a){return a&&a.__esModule?a:{default:a}}default_1$4=lib$3.default={register(){_dsbridge$1.default.canUseBridge()?_dsbridge$1.default.register(...arguments):console.warn("dsbridge is not available")},registerAsyn(){_dsbridge$1.default.canUseBridge()?_dsbridge$1.default.registerAsyn(...arguments):console.warn("dsbridge is not available")},call(){_dsbridge$1.default.call(...arguments)},asyncCall(){for(var a=arguments.length,j=new Array(a),_e=0;_e<a;_e++)j[_e]=arguments[_e];return new Promise((et,nt)=>{_dsbridge$1.default.call(...j,tt=>{try{const ot=JSON.parse(tt);if(ot.code===0){const ct=JSON.parse(ot.data);et(ct)}else nt(new Error(ot.error))}catch{et(tt)}})})},shareMessage(a){const{content:j,imgUrl:_e,success:et,fail:nt}=a;if(!j&&!_e){nt("params error");return}_dsbridge$1.default.call("arcShare",JSON.stringify({content:j,imgUrl:_e}),tt=>{const ot=JSON.parse(tt);ot&&ot.code===0?typeof et=="function"&&et(tt):typeof nt=="function"&&nt(tt)})},showLoading(){_dsbridge$1.default.call("arcShowLoading")},hideLoading(){_dsbridge$1.default.call("arcHideLoading")},showToast(a){a&&typeof a=="string"&&_dsbridge$1.default.call("arcToast",a)},chooseImgs(a){const{limit:j,success:_e,fail:et}=a;_dsbridge$1.default.call("arcChooseImgs",JSON.stringify({limit:j}),nt=>{const tt=JSON.parse(nt);tt&&tt.code===0?typeof _e=="function"&&_e(nt):typeof et=="function"&&et(nt)})},previewImgs(a){const{imgs:j}=a;!j||j.length===0||_dsbridge$1.default.call("arcPreviewImgs",JSON.stringify(a))},isSetPWD(a){const{success:j,fail:_e}=a;_dsbridge$1.default.call("arcIsSetPWD","",et=>{const nt=JSON.parse(et);nt&&nt.code===0?typeof j=="function"&&j(et):typeof _e=="function"&&_e(et)})},isCodeABOk(a){const{success:j,fail:_e}=a;_dsbridge$1.default.call("arcIsCodeABOk","",et=>{const nt=JSON.parse(et);nt&&nt.code===0?typeof j=="function"&&j(et):typeof _e=="function"&&_e(et)})}};class CookieStorageEngine{constructor(j,_e){this.storageKey=j,this.options=_e||{}}setToken(j){return Cookie.set(this.storageKey,j,{...getCookieOptions(this.options)})}getToken(){return Cookie.get(this.storageKey)}removeToken(){return Cookie.remove(this.storageKey,getCookieOptions(this.options))}}function e(a){this.message=a}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(a){var j=String(a).replace(/=+$/,"");if(j.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var _e,et,nt=0,tt=0,ot="";et=j.charAt(tt++);~et&&(_e=nt%4?64*_e+et:et,nt++%4)?ot+=String.fromCharCode(255&_e>>(-2*nt&6)):0)et="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(et);return ot};function t$2(a){var j=a.replace(/-/g,"+").replace(/_/g,"/");switch(j.length%4){case 0:break;case 2:j+="==";break;case 3:j+="=";break;default:throw"Illegal base64url string!"}try{return function(_e){return decodeURIComponent(r(_e).replace(/(.)/g,function(et,nt){var tt=nt.charCodeAt(0).toString(16).toUpperCase();return tt.length<2&&(tt="0"+tt),"%"+tt}))}(j)}catch{return r(j)}}function n(a){this.message=a}function o(a,j){if(typeof a!="string")throw new n("Invalid token specified");var _e=(j=j||{}).header===!0?0:1;try{return JSON.parse(t$2(a.split(".")[_e]))}catch(et){throw new n("Invalid token specified: "+et.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";class LocalStorageEngine{constructor(j){this.storageKey=j}setToken(j){if(!(typeof window>"u"||typeof window.localStorage>"u"))return localStorage.setItem(this.storageKey,j)}getToken(){if(typeof window>"u"||typeof window.localStorage>"u")return;const j=localStorage.getItem(this.storageKey);let _e,et;try{if({value:_e,exp:et}=JSON.parse(j),et===void 0||_e===void 0)return j}catch{_e=j}try{et=o(_e).exp}catch{return}if(!(new Date().getTime()>et*1e3))return _e}removeToken(){if(!(typeof window>"u"||typeof window.localStorage>"u"))return localStorage.removeItem(this.storageKey)}}function createStorage(a="did.auth.token",j="ls",_e={}){if(!a)throw new Error("storageKey must be specified to create a storage");let et=null;if(j==="ls")et=new LocalStorageEngine(a);else if(j==="cookie")et=new CookieStorageEngine(a,_e);else throw new Error("storageEngine must be ls or cookie");return{getToken:et.getToken.bind(et),setToken:et.setToken.bind(et),removeToken:et.removeToken.bind(et),engine:j,key:a}}const overheadLength=tweetnacl.box.publicKeyLength+tweetnacl.box.overheadLength,ERROR_MSG_INPUT="Input must be an string, Buffer or Uint8Array";function normalizeInput(a){let j;if(a instanceof Uint8Array)j=a;else if(typeof a=="string")j=new TextEncoder().encode(a);else throw new Error(ERROR_MSG_INPUT);return j}function toHex(a){return Array.prototype.map.call(a,function(j){return(j<16?"0":"")+j.toString(16)}).join("")}function uint32ToHex(a){return(4294967296+a).toString(16).substring(1)}function debugPrint(a,j,_e){let et=`
|
|
431
431
|
`+a+" = ";for(let nt=0;nt<j.length;nt+=2){if(_e===32)et+=uint32ToHex(j[nt]).toUpperCase(),et+=" ",et+=uint32ToHex(j[nt+1]).toUpperCase();else if(_e===64)et+=uint32ToHex(j[nt+1]).toUpperCase(),et+=uint32ToHex(j[nt]).toUpperCase();else throw new Error("Invalid size "+_e);nt%6===4?et+=`
|
|
432
|
-
`+new Array(a.length+4).join(" "):nt<j.length-2&&(et+=" ")}console.log(et)}function testSpeed(a,j,_e){let et=new Date().getTime();const nt=new Uint8Array(j);for(let ot=0;ot<j;ot++)nt[ot]=ot%256;const tt=new Date().getTime();console.log("Generated random input in "+(tt-et)+"ms"),et=tt;for(let ot=0;ot<_e;ot++){const ct=a(nt),ft=new Date().getTime(),ht=ft-et;et=ft,console.log("Hashed in "+ht+"ms: "+ct.substring(0,20)+"..."),console.log(Math.round(j/(1<<20)/(ht/1e3)*100)/100+" MB PER SECOND")}}var util$5={normalizeInput,toHex,debugPrint,testSpeed};const util$4=util$5;function ADD64AA(a,j,_e){const et=a[j]+a[_e];let nt=a[j+1]+a[_e+1];et>=4294967296&&nt++,a[j]=et,a[j+1]=nt}function ADD64AC(a,j,_e,et){let nt=a[j]+_e;_e<0&&(nt+=4294967296);let tt=a[j+1]+et;nt>=4294967296&&tt++,a[j]=nt,a[j+1]=tt}function B2B_GET32(a,j){return a[j]^a[j+1]<<8^a[j+2]<<16^a[j+3]<<24}function B2B_G(a,j,_e,et,nt,tt){const ot=m$1[nt],ct=m$1[nt+1],ft=m$1[tt],ht=m$1[tt+1];ADD64AA(v,a,j),ADD64AC(v,a,ot,ct);let dt=v[et]^v[a],vt=v[et+1]^v[a+1];v[et]=vt,v[et+1]=dt,ADD64AA(v,_e,et),dt=v[j]^v[_e],vt=v[j+1]^v[_e+1],v[j]=dt>>>24^vt<<8,v[j+1]=vt>>>24^dt<<8,ADD64AA(v,a,j),ADD64AC(v,a,ft,ht),dt=v[et]^v[a],vt=v[et+1]^v[a+1],v[et]=dt>>>16^vt<<16,v[et+1]=vt>>>16^dt<<16,ADD64AA(v,_e,et),dt=v[j]^v[_e],vt=v[j+1]^v[_e+1],v[j]=vt>>>31^dt<<1,v[j+1]=dt>>>31^vt<<1}const BLAKE2B_IV32=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),SIGMA8=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],SIGMA82=new Uint8Array(SIGMA8.map(function(a){return a*2})),v=new Uint32Array(32),m$1=new Uint32Array(32);function blake2bCompress(a,j){let _e=0;for(_e=0;_e<16;_e++)v[_e]=a.h[_e],v[_e+16]=BLAKE2B_IV32[_e];for(v[24]=v[24]^a.t,v[25]=v[25]^a.t/4294967296,j&&(v[28]=~v[28],v[29]=~v[29]),_e=0;_e<32;_e++)m$1[_e]=B2B_GET32(a.b,4*_e);for(_e=0;_e<12;_e++)B2B_G(0,8,16,24,SIGMA82[_e*16+0],SIGMA82[_e*16+1]),B2B_G(2,10,18,26,SIGMA82[_e*16+2],SIGMA82[_e*16+3]),B2B_G(4,12,20,28,SIGMA82[_e*16+4],SIGMA82[_e*16+5]),B2B_G(6,14,22,30,SIGMA82[_e*16+6],SIGMA82[_e*16+7]),B2B_G(0,10,20,30,SIGMA82[_e*16+8],SIGMA82[_e*16+9]),B2B_G(2,12,22,24,SIGMA82[_e*16+10],SIGMA82[_e*16+11]),B2B_G(4,14,16,26,SIGMA82[_e*16+12],SIGMA82[_e*16+13]),B2B_G(6,8,18,28,SIGMA82[_e*16+14],SIGMA82[_e*16+15]);for(_e=0;_e<16;_e++)a.h[_e]=a.h[_e]^v[_e]^v[_e+16]}const parameterBlock=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function blake2bInit(a,j,_e,et){if(a===0||a>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(j&&j.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(_e&&_e.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(et&&et.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const nt={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:a};parameterBlock.fill(0),parameterBlock[0]=a,j&&(parameterBlock[1]=j.length),parameterBlock[2]=1,parameterBlock[3]=1,_e&¶meterBlock.set(_e,32),et&¶meterBlock.set(et,48);for(let tt=0;tt<16;tt++)nt.h[tt]=BLAKE2B_IV32[tt]^B2B_GET32(parameterBlock,tt*4);return j&&(blake2bUpdate(nt,j),nt.c=128),nt}function blake2bUpdate(a,j){for(let _e=0;_e<j.length;_e++)a.c===128&&(a.t+=a.c,blake2bCompress(a,!1),a.c=0),a.b[a.c++]=j[_e]}function blake2bFinal(a){for(a.t+=a.c;a.c<128;)a.b[a.c++]=0;blake2bCompress(a,!0);const j=new Uint8Array(a.outlen);for(let _e=0;_e<a.outlen;_e++)j[_e]=a.h[_e>>2]>>8*(_e&3);return j}function blake2b(a,j,_e,et,nt){_e=_e||64,a=util$4.normalizeInput(a),et&&(et=util$4.normalizeInput(et)),nt&&(nt=util$4.normalizeInput(nt));const tt=blake2bInit(_e,j,et,nt);return blake2bUpdate(tt,a),blake2bFinal(tt)}function blake2bHex(a,j,_e,et,nt){const tt=blake2b(a,j,_e,et,nt);return util$4.toHex(tt)}var blake2b_1={blake2b,blake2bHex,blake2bInit,blake2bUpdate,blake2bFinal};const blake=getDefaultExportFromCjs$1(blake2b_1);function nonce(a,j){var _e=blake.blake2bInit(tweetnacl.box.nonceLength,null);return blake.blake2bUpdate(_e,a),blake.blake2bUpdate(_e,j),blake.blake2bFinal(_e)}function zero(a){for(var j=0;j<a.length;j++)a[j]=0}function seal(a,j){var _e=new Uint8Array(overheadLength+a.length),et=tweetnacl.box.keyPair();_e.set(et.publicKey);var nt=nonce(et.publicKey,j),tt=tweetnacl.box(a,nt,j,et.secretKey);return _e.set(tt,et.publicKey.length),zero(et.secretKey),_e}function open(a,j,_e){var et=a.subarray(0,tweetnacl.box.publicKeyLength),nt=nonce(et,j),tt=a.subarray(tweetnacl.box.publicKeyLength);return tweetnacl.box.open(tt,nt,et,_e)}const SealedBox={seal,open};function isNil(a){return a==null}var isNil_1=isNil;const isNil$1=getDefaultExportFromCjs$1(isNil_1);var lib$2={},type={},HASH_UNDEFINED$2="__lodash_hash_undefined__";function setCacheAdd$1(a){return this.__data__.set(a,HASH_UNDEFINED$2),this}var _setCacheAdd=setCacheAdd$1;function setCacheHas$1(a){return this.__data__.has(a)}var _setCacheHas=setCacheHas$1,MapCache$2=_MapCache,setCacheAdd=_setCacheAdd,setCacheHas=_setCacheHas;function SetCache$3(a){var j=-1,_e=a==null?0:a.length;for(this.__data__=new MapCache$2;++j<_e;)this.add(a[j])}SetCache$3.prototype.add=SetCache$3.prototype.push=setCacheAdd;SetCache$3.prototype.has=setCacheHas;var _SetCache=SetCache$3;function arraySome$1(a,j){for(var _e=-1,et=a==null?0:a.length;++_e<et;)if(j(a[_e],_e,a))return!0;return!1}var _arraySome=arraySome$1;function cacheHas$3(a,j){return a.has(j)}var _cacheHas=cacheHas$3,SetCache$2=_SetCache,arraySome=_arraySome,cacheHas$2=_cacheHas,COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays$2(a,j,_e,et,nt,tt){var ot=_e&COMPARE_PARTIAL_FLAG$5,ct=a.length,ft=j.length;if(ct!=ft&&!(ot&&ft>ct))return!1;var ht=tt.get(a),dt=tt.get(j);if(ht&&dt)return ht==j&&dt==a;var vt=-1,$t=!0,xt=_e&COMPARE_UNORDERED_FLAG$3?new SetCache$2:void 0;for(tt.set(a,j),tt.set(j,a);++vt<ct;){var At=a[vt],wt=j[vt];if(et)var Ct=ot?et(wt,At,vt,j,a,tt):et(At,wt,vt,a,j,tt);if(Ct!==void 0){if(Ct)continue;$t=!1;break}if(xt){if(!arraySome(j,function(Rt,It){if(!cacheHas$2(xt,It)&&(At===Rt||nt(At,Rt,_e,et,tt)))return xt.push(It)})){$t=!1;break}}else if(!(At===wt||nt(At,wt,_e,et,tt))){$t=!1;break}}return tt.delete(a),tt.delete(j),$t}var _equalArrays=equalArrays$2;function mapToArray$1(a){var j=-1,_e=Array(a.size);return a.forEach(function(et,nt){_e[++j]=[nt,et]}),_e}var _mapToArray=mapToArray$1;function setToArray$3(a){var j=-1,_e=Array(a.size);return a.forEach(function(et){_e[++j]=et}),_e}var _setToArray=setToArray$3,Symbol$4=_Symbol,Uint8Array$1=_Uint8Array,eq$5=eq_1$1,equalArrays$1=_equalArrays,mapToArray=_mapToArray,setToArray$2=_setToArray,COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag$1="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag$1="[object Set]",stringTag="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto$2=Symbol$4?Symbol$4.prototype:void 0,symbolValueOf=symbolProto$2?symbolProto$2.valueOf:void 0;function equalByTag$1(a,j,_e,et,nt,tt,ot){switch(_e){case dataViewTag:if(a.byteLength!=j.byteLength||a.byteOffset!=j.byteOffset)return!1;a=a.buffer,j=j.buffer;case arrayBufferTag:return!(a.byteLength!=j.byteLength||!tt(new Uint8Array$1(a),new Uint8Array$1(j)));case boolTag:case dateTag:case numberTag:return eq$5(+a,+j);case errorTag:return a.name==j.name&&a.message==j.message;case regexpTag:case stringTag:return a==j+"";case mapTag$1:var ct=mapToArray;case setTag$1:var ft=et&COMPARE_PARTIAL_FLAG$4;if(ct||(ct=setToArray$2),a.size!=j.size&&!ft)return!1;var ht=ot.get(a);if(ht)return ht==j;et|=COMPARE_UNORDERED_FLAG$2,ot.set(a,j);var dt=equalArrays$1(ct(a),ct(j),et,nt,tt,ot);return ot.delete(a),dt;case symbolTag$2:if(symbolValueOf)return symbolValueOf.call(a)==symbolValueOf.call(j)}return!1}var _equalByTag=equalByTag$1,getAllKeys=_getAllKeys,COMPARE_PARTIAL_FLAG$3=1,objectProto$4=Object.prototype,hasOwnProperty$7=objectProto$4.hasOwnProperty;function equalObjects$1(a,j,_e,et,nt,tt){var ot=_e&COMPARE_PARTIAL_FLAG$3,ct=getAllKeys(a),ft=ct.length,ht=getAllKeys(j),dt=ht.length;if(ft!=dt&&!ot)return!1;for(var vt=ft;vt--;){var $t=ct[vt];if(!(ot?$t in j:hasOwnProperty$7.call(j,$t)))return!1}var xt=tt.get(a),At=tt.get(j);if(xt&&At)return xt==j&&At==a;var wt=!0;tt.set(a,j),tt.set(j,a);for(var Ct=ot;++vt<ft;){$t=ct[vt];var Rt=a[$t],It=j[$t];if(et)var Mt=ot?et(It,Rt,$t,j,a,tt):et(Rt,It,$t,a,j,tt);if(!(Mt===void 0?Rt===It||nt(Rt,It,_e,et,tt):Mt)){wt=!1;break}Ct||(Ct=$t=="constructor")}if(wt&&!Ct){var Ot=a.constructor,zt=j.constructor;Ot!=zt&&"constructor"in a&&"constructor"in j&&!(typeof Ot=="function"&&Ot instanceof Ot&&typeof zt=="function"&&zt instanceof zt)&&(wt=!1)}return tt.delete(a),tt.delete(j),wt}var _equalObjects=equalObjects$1,Stack$1=_Stack,equalArrays=_equalArrays,equalByTag=_equalByTag,equalObjects=_equalObjects,getTag$1=_getTag,isArray$8=isArray_1,isBuffer$1=isBufferExports,isTypedArray$1=isTypedArray_1,COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto$3=Object.prototype,hasOwnProperty$6=objectProto$3.hasOwnProperty;function baseIsEqualDeep$1(a,j,_e,et,nt,tt){var ot=isArray$8(a),ct=isArray$8(j),ft=ot?arrayTag:getTag$1(a),ht=ct?arrayTag:getTag$1(j);ft=ft==argsTag?objectTag:ft,ht=ht==argsTag?objectTag:ht;var dt=ft==objectTag,vt=ht==objectTag,$t=ft==ht;if($t&&isBuffer$1(a)){if(!isBuffer$1(j))return!1;ot=!0,dt=!1}if($t&&!dt)return tt||(tt=new Stack$1),ot||isTypedArray$1(a)?equalArrays(a,j,_e,et,nt,tt):equalByTag(a,j,ft,_e,et,nt,tt);if(!(_e&COMPARE_PARTIAL_FLAG$2)){var xt=dt&&hasOwnProperty$6.call(a,"__wrapped__"),At=vt&&hasOwnProperty$6.call(j,"__wrapped__");if(xt||At){var wt=xt?a.value():a,Ct=At?j.value():j;return tt||(tt=new Stack$1),nt(wt,Ct,_e,et,tt)}}return $t?(tt||(tt=new Stack$1),equalObjects(a,j,_e,et,nt,tt)):!1}var _baseIsEqualDeep=baseIsEqualDeep$1,baseIsEqualDeep=_baseIsEqualDeep,isObjectLike$3=isObjectLike_1;function baseIsEqual$3(a,j,_e,et,nt){return a===j?!0:a==null||j==null||!isObjectLike$3(a)&&!isObjectLike$3(j)?a!==a&&j!==j:baseIsEqualDeep(a,j,_e,et,baseIsEqual$3,nt)}var _baseIsEqual=baseIsEqual$3,baseIsEqual$2=_baseIsEqual;function isEqual(a,j){return baseIsEqual$2(a,j)}var isEqual_1$1=isEqual;const isEqual$1=getDefaultExportFromCjs$1(isEqual_1$1);var util$3={},__importDefault$4=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(util$3,"__esModule",{value:!0});util$3.toStrictHex=util$3.toBytes=util$3.toBits=util$3.DID_PREFIX=void 0;const padStart_1=__importDefault$4(padStart_1$1),util_1$2=lib$4,DID_PREFIX="did:abt:";util$3.DID_PREFIX=DID_PREFIX;const toBytes=a=>{try{if((0,util_1$2.isHexStrict)(a))return Buffer$3.from((0,util_1$2.stripHexPrefix)(a),"hex");let j=(0,util_1$2.fromBase58)(a.replace(DID_PREFIX,""));for(;j.length<26;)j=Buffer$3.concat([Buffer$3.from([0]),j]);return j}catch(j){throw new Error(`Cannot convert DID string to byte array: ${j.message}`)}};util$3.toBytes=toBytes;const toBits=(a,j)=>(0,padStart_1.default)((0,util_1$2.toBN)(a).toString(2),j,"0");util$3.toBits=toBits;const toStrictHex=(a,j)=>{const _e=a.replace(/^0x/i,"");return typeof j=="number"&&j%2===0?(0,padStart_1.default)(a,j,"0"):_e.length%2===0?_e:`0${_e}`};util$3.toStrictHex=toStrictHex;var __importDefault$3=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(type,"__esModule",{value:!0});type.DidType=type.toChecksumAddress=type.isEthereumDid=type.isEthereumType=type.toTypeInfoStr=type.toTypeInfo=type.fromTypeInfo=type.DID_TYPE_ETHEREUM=type.DID_TYPE_ARCBLOCK=void 0;const util_1$1=lib$4,upperFirst_1=__importDefault$3(upperFirst_1$1),isEqual_1=__importDefault$3(isEqual_1$1),pick_1=__importDefault$3(pick_1$1),mcrypto_1$1=lib$5,util_2=util$3,mapping={pk:"key",address:"encoding"},DID_TYPE_ARCBLOCK={role:mcrypto_1$1.types.RoleType.ROLE_ACCOUNT,pk:mcrypto_1$1.types.KeyType.ED25519,hash:mcrypto_1$1.types.HashType.SHA3,address:mcrypto_1$1.types.EncodingType.BASE58};type.DID_TYPE_ARCBLOCK=DID_TYPE_ARCBLOCK;const DID_TYPE_ETHEREUM={role:mcrypto_1$1.types.RoleType.ROLE_ACCOUNT,pk:mcrypto_1$1.types.KeyType.ETHEREUM,hash:mcrypto_1$1.types.HashType.KECCAK,address:mcrypto_1$1.types.EncodingType.BASE16};type.DID_TYPE_ETHEREUM=DID_TYPE_ETHEREUM;const isEthereumType=a=>{const j=["pk","hash","address"];return(0,isEqual_1.default)((0,pick_1.default)(a,j),(0,pick_1.default)(DID_TYPE_ETHEREUM,j))};type.isEthereumType=isEthereumType;const isEthereumDid=a=>{const j=(0,util_1$1.toAddress)(a);return/^(0x)?[0-9a-f]{40}$/i.test(j)?/^(0x|0X)?[0-9a-f]{40}$/.test(j)||/^(0x|0X)?[0-9A-F]{40}$/.test(j)?!0:checkAddressChecksum(j):!1};type.isEthereumDid=isEthereumDid;const checkAddressChecksum=a=>{const j=a.replace(/^0x/i,""),_e=mcrypto_1$1.Hasher.Keccak.hash256(j.toLowerCase()).replace(/^0x/i,"");for(let et=0;et<40;et++)if(parseInt(_e[et],16)>7&&j[et].toUpperCase()!==j[et]||parseInt(_e[et],16)<=7&&j[et].toLowerCase()!==j[et])return!1;return!0},toChecksumAddress=a=>{if(typeof a>"u")return"";if(!/^(0x)?[0-9a-f]{40}$/i.test(a))throw new Error(`Given address "${a}" is not a valid Ethereum address.`);const j=a.toLowerCase().replace(/^0x/i,""),_e=mcrypto_1$1.Hasher.Keccak.hash256(j).replace(/^0x/i,"");let et="0x";for(let nt=0;nt<j.length;nt++)parseInt(_e[nt],16)>7?et+=j[nt].toUpperCase():et+=j[nt];return et};type.toChecksumAddress=toChecksumAddress;function DidType(a={}){let j={};["default","arcblock"].includes(a)?j=DID_TYPE_ARCBLOCK:["eth","ethereum"].includes(a)?j=DID_TYPE_ETHEREUM:j={...DID_TYPE_ARCBLOCK,...a};const{role:_e,pk:et,hash:nt,address:tt}=j;Object.keys(j).forEach(ct=>{const ft=(0,upperFirst_1.default)(`${mapping[ct]||ct}Type`);if(Object.values(mcrypto_1$1.types[ft]).includes(j[ct])===!1)throw new Error(`Unsupported ${ct} type: ${j[ct]}`)});const ot={role:_e,pk:et,hash:nt,address:tt};return isEthereumType(ot)===!1&&[mcrypto_1$1.types.RoleType.ROLE_NODE,mcrypto_1$1.types.RoleType.ROLE_VALIDATOR,mcrypto_1$1.types.RoleType.ROLE_TETHER,mcrypto_1$1.types.RoleType.ROLE_SWAP].includes(ot.role)&&(ot.hash=mcrypto_1$1.types.HashType.SHA2),ot}type.DidType=DidType;DidType.toJSON=a=>Object.keys(a).reduce((j,_e)=>{const et=(0,upperFirst_1.default)(`${mapping[_e]||_e}Type`),nt=Object.keys(mcrypto_1$1.types[et]),tt=Object.values(mcrypto_1$1.types[et]);return j[_e]=nt[tt.indexOf(a[_e])],j},{});DidType.fromJSON=a=>Object.keys(a).reduce((j,_e)=>{const et=(0,upperFirst_1.default)(`${mapping[_e]||_e}Type`),nt=Object.keys(mcrypto_1$1.types[et]),tt=Object.values(mcrypto_1$1.types[et]);return j[_e]=tt[nt.indexOf(a[_e])],j},{});const fromTypeInfo=a=>{const j=DidType(a),_e=(0,util_2.toBits)(j.role,6),et=(0,util_2.toBits)(j.pk,5),nt=(0,util_2.toBits)(j.hash,5),tt=`${_e}${et}${nt}`,ot=(0,util_1$1.stripHexPrefix)((0,util_1$1.numberToHex)(parseInt(tt,2)));return(0,util_2.toStrictHex)(ot,4)};type.fromTypeInfo=fromTypeInfo;const toTypeInfo=a=>{let j={};try{if(isEthereumDid(a))j=DID_TYPE_ETHEREUM;else{const et=(0,util_2.toBytes)(a).slice(0,2),nt=(0,util_2.toStrictHex)(Buffer$3.from(et).toString("hex")),tt=(0,util_2.toBits)(new util_1$1.BN(nt,16),16),ot=tt.slice(0,6),ct=tt.slice(6,11),ft=tt.slice(11,16);j={role:parseInt(ot,2),pk:parseInt(ct,2),hash:parseInt(ft,2),address:(0,util_1$1.isHex)((0,util_1$1.toAddress)(a))?mcrypto_1$1.types.EncodingType.BASE16:mcrypto_1$1.types.EncodingType.BASE58}}return Object.keys(j).forEach(_e=>{Object.values(mcrypto_1$1.types[`${(0,upperFirst_1.default)(mapping[_e]||_e)}Type`]).includes(j[_e])===!1&&delete j[_e]}),j}catch{return j}};type.toTypeInfo=toTypeInfo;const toTypeInfoStr=a=>{const j=toTypeInfo(a);return Object.keys(j).reduce((_e,et)=>{const nt=mcrypto_1$1.types[`${(0,upperFirst_1.default)(mapping[et]||et)}Type`];return _e[et]=Object.keys(nt).find(tt=>nt[tt]===j[et]),_e},{})};type.toTypeInfoStr=toTypeInfoStr;(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a.DID_TYPE_ETHEREUM=a.DID_TYPE_ARCBLOCK=a.DID_PREFIX=a.DidType=a.fromTypeInfo=a.toTypeInfoStr=a.toTypeInfo=a.isEthereumType=a.isEthereumDid=a.isValid=a.isFromPublicKey=a.toDid=a.toAddress=a.fromHash=a.fromPublicKeyHash=a.fromPublicKey=a.fromSecretKey=a.toStrictHex=a.types=void 0;const j=lib$5;Object.defineProperty(a,"types",{enumerable:!0,get:function(){return j.types}});const _e=lib$4;Object.defineProperty(a,"toAddress",{enumerable:!0,get:function(){return _e.toAddress}}),Object.defineProperty(a,"toDid",{enumerable:!0,get:function(){return _e.toDid}});const et=type;Object.defineProperty(a,"DidType",{enumerable:!0,get:function(){return et.DidType}}),Object.defineProperty(a,"DID_TYPE_ARCBLOCK",{enumerable:!0,get:function(){return et.DID_TYPE_ARCBLOCK}}),Object.defineProperty(a,"DID_TYPE_ETHEREUM",{enumerable:!0,get:function(){return et.DID_TYPE_ETHEREUM}}),Object.defineProperty(a,"fromTypeInfo",{enumerable:!0,get:function(){return et.fromTypeInfo}}),Object.defineProperty(a,"isEthereumDid",{enumerable:!0,get:function(){return et.isEthereumDid}}),Object.defineProperty(a,"isEthereumType",{enumerable:!0,get:function(){return et.isEthereumType}}),Object.defineProperty(a,"toTypeInfo",{enumerable:!0,get:function(){return et.toTypeInfo}}),Object.defineProperty(a,"toTypeInfoStr",{enumerable:!0,get:function(){return et.toTypeInfoStr}});const nt=util$3;Object.defineProperty(a,"DID_PREFIX",{enumerable:!0,get:function(){return nt.DID_PREFIX}}),Object.defineProperty(a,"toStrictHex",{enumerable:!0,get:function(){return nt.toStrictHex}});const tt=(vt,$t)=>{const xt=(0,et.DidType)($t),At=(0,j.getSigner)(xt.pk).getPublicKey(vt);return ot(At.indexOf("0x")===0?At:`0x${At}`,xt)};a.fromSecretKey=tt;const ot=(vt,$t)=>{const xt=(0,et.DidType)($t),wt=(0,j.getHasher)(xt.hash)(vt,1);return ct(wt,xt)};a.fromPublicKey=ot;const ct=(vt,$t)=>{const xt=(0,et.DidType)($t),At=(0,_e.stripHexPrefix)(vt).slice(0,40),wt=(0,j.getHasher)(xt.hash),Ct=(0,et.fromTypeInfo)(xt),Rt=(0,_e.stripHexPrefix)(wt(`0x${Ct}${At}`,1)).slice(0,8),It=`0x${Ct}${At}${Rt}`;return(0,et.isEthereumType)(xt)?(0,et.toChecksumAddress)(`0x${vt.slice(-40)}`):xt.address===j.types.EncodingType.BASE58?(0,_e.toBase58)(It):It};a.fromPublicKeyHash=ct;const ft=(vt,$t=j.types.RoleType.ROLE_ACCOUNT)=>{const xt=Object.keys(j.types.RoleType),At=Object.values(j.types.RoleType);if(At.indexOf($t)===-1)throw new Error(`Unsupported role type ${$t} when gen ddi from hash`);const wt=(0,et.DidType)({role:j.types.RoleType[xt[At.indexOf($t)]]});return ct(vt,wt)};a.fromHash=ft;const ht=(vt,$t)=>{if(dt(vt)===!1)return!1;const xt=(0,et.toTypeInfo)(vt),At=ot($t,xt),wt=vt.replace(nt.DID_PREFIX,"");return At===wt};a.isFromPublicKey=ht;const dt=vt=>{if(!vt)return!1;const $t=(0,_e.toAddress)(String(vt)),{hash:xt}=(0,et.toTypeInfo)($t);if(typeof xt>"u")return!1;if((0,et.isEthereumDid)($t))return!0;const At=(0,j.getHasher)(xt),wt=(0,nt.toBytes)($t),Ct=(0,nt.toStrictHex)(Buffer$3.from(wt.slice(0,22)).toString("hex")),Rt=(0,nt.toStrictHex)(Buffer$3.from(wt.slice(22,26)).toString("hex")),It=(0,_e.stripHexPrefix)(At(`0x${Ct}`,1)).slice(0,8);return Rt===It};a.isValid=dt})(lib$2);const name="@arcblock/did-connect",version$2="2.10.71",description="Client side library to work with DID Connect by ArcBlock.",keywords=["react","arcblock","component"],author="wangshijun<wangshijun2010@gmail.com>",homepage="https://github.com/ArcBlock/ux#readme",license="Apache-2.0",main$1="lib/index.js",module$1="lib/index.js",repository={type:"git",url:"git+https://github.com/ArcBlock/ux.git"},scripts={lint:"eslint src tests --ext js --ext jsx","lint:fix":"npm run lint -- --fix",build:"babel --config-file ./babel.config.es.js src --out-dir lib --copy-files --no-copy-ignored",autoexports:"node tools/auto-exports.js",watch:"babel --config-file ./babel.config.es.js src --out-dir lib -w --copy-files --no-copy-ignored",precommit:"CI=1 npm run lint",prepush:"CI=1 npm run lint",prepublish:"npm run build",test:"node tools/jest.js",coverage:"npm run test -- --coverage"},bugs={url:"https://github.com/ArcBlock/ux/issues"},dependencies={"@arcblock/bridge":"^2.10.71","@arcblock/did":"^1.18.150","@arcblock/icons":"^2.10.71","@arcblock/react-hooks":"^2.10.71","@arcblock/ws":"^1.18.150","@fontsource/lexend":"^5.1.1","@iconify-icons/logos":"^1.2.36","@iconify-icons/material-symbols":"^1.2.58","@iconify/react":"^4.1.1",ahooks:"^3.7.10",axios:"^1.7.5",buffer:"^6.0.3","core-js":"^3.25.5",eventemitter3:"^5.0.1","js-cookie":"^2.2.1","jwt-decode":"^3.1.2",lodash:"^4.17.21","mdi-material-ui":"^7.5.0","p-queue":"^6.6.2","p-wait-for":"^5.0.2","path-to-regexp":"^1.8.0",semver:"^7.6.3",tweetnacl:"^1.0.3","tweetnacl-sealedbox-js":"^1.2.0",ufo:"^1.5.3"},peerDependencies={"@arcblock/ux":"^2.9.79","@blocklet/js-sdk":"^1.16.30","@emotion/react":"^11.10.4","@emotion/styled":"^11.10.4","@mui/material":"^5.15.0",react:"^18.2.0","react-dom":"^18.2.0"},publishConfig={access:"public"},devDependencies={"@babel/cli":"^7.19.3","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@babel/preset-react":"^7.18.6","eslint-plugin-react-hooks":"^4.6.0",glob:"^10.3.3",jest:"^29.7.0"},gitHead="65592faac533183e4e94e2e1f17eeb3852e2085f",pkg={name,version:version$2,description,keywords,author,homepage,license,main:main$1,module:module$1,repository,scripts,bugs,dependencies,peerDependencies,publishConfig,devDependencies,gitHead},DEFAULT_TIMEOUT$1=5*60,DEFAULT_WINDOW_TIMEOUT=30*60,AUTH_SERVICE_PREFIX="/.well-known/service",SESSION_TOKEN_STORAGE_KEY="login_token",REFRESH_TOKEN_STORAGE_KEY="refresh_token",RELAY_SOCKET_PREFIX="/.well-known/service",API_DID_PREFIX="/api/did",DEFAULT_NAME="DID Connect",DID_CONNECT_URL_PARAMS_NAME="__did-connect__";class NotOpenError extends Error{constructor(){super("Failed to open popup")}}const providerName="wallet_url",getWebWalletUrl$1=()=>{var a,j;return window.localStorage.getItem(providerName)||((a=window.env)==null?void 0:a.webWalletUrl)||((j=window.blocklet)==null?void 0:j.webWalletUrl)||"https://web.abtwallet.io/"},checkSameProtocol=a=>{const{protocol:j}=window.location;let _e="";try{_e=new URL(a).protocol}catch{_e=""}return j===_e},{version:version$1}=pkg;function unescape$1(a){return(a+"===".slice((a.length+3)%4)).replace(/-/g,"+").replace(/_/g,"/")}function escape$1(a){return a.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const decodeConnectUrl=a=>window.atob(unescape$1(a)),parseTokenFromConnectUrl=a=>{const j=new URL(a),_e=decodeURIComponent(j.searchParams.get("url"));return new URL(_e).searchParams.get("_t_")},getAppId$1=(a,j)=>{var et,nt,tt;let _e=j==null?void 0:j.publisher;if(!_e){if(a!=null&&a.agentDid)return a.agentDid;_e=a==null?void 0:a.publisher}return _e?_e.replace("did:abt:",""):((et=globalThis.blocklet)==null?void 0:et.appPid)||((nt=globalThis.blocklet)==null?void 0:nt.appId)||((tt=globalThis.env)==null?void 0:tt.appId)||""},getConnectedInfo=a=>{var _e;const j={connected_did:a.did||"",connected_pk:a.pk||"",connected_app:getAppId$1(a.appInfo,a.memberAppInfo)};return(_e=a==null?void 0:a.connectedWallet)!=null&&_e.os&&(j.connected_wallet_os=a.connectedWallet.os),j},updateConnectedInfo=(a,j=!1)=>{if(!a)return;j||(a=getConnectedInfo(a));const _e=getCookieOptions({expireInDays:7,returnDomain:!1});!isNil$1(a.connected_did)&&!isNil$1(a.connected_pk)&&lib$2.isValid(a.connected_did)&&lib$2.isFromPublicKey(a.connected_did,a.connected_pk)&&(Cookie.set("connected_did",a.connected_did,_e),Cookie.set("connected_pk",a.connected_pk,_e)),!isNil$1(a.connected_app)&&lib$2.isValid(a.connected_app)&&Cookie.set("connected_app",a.connected_app,_e),a.connected_wallet_os&&Cookie.set("connected_wallet_os",a.connected_wallet_os,_e)},encodeKey=a=>escape$1(Buffer$1$1.from(a).toString("base64")),decodeKey=a=>Uint8Array.from(Buffer$1$1.from(unescape$1(a),"base64")),decrypt$1=(a,j,_e)=>{const et=SealedBox.open(Uint8Array.from(Buffer$1$1.from(a,"base64")),decodeKey(j),decodeKey(_e));return JSON.parse(Buffer$1$1.from(et).toString("utf8"))},encrypt=(a,j)=>Buffer$1$1.from(SealedBox.seal(Uint8Array.from(Buffer$1$1.from(a)),decodeKey(j))).toString("base64"),parseNextWorkflow=(a,j="_t_")=>{const _e=new URL(a),et={baseUrl:_e.origin,prefix:_e.pathname.replace(/\/auth$/,""),token:_e.searchParams.get(j)||""};if(!et.baseUrl)throw new Error("Invalid next workflow: origin empty");if(!et.token)throw new Error("Invalid next workflow: token not found");return et},getApiErrorMessage=(a,j)=>{var et;let _e=a.message;return a.response&&(_e=((et=a.response)==null?void 0:et.data)||j),_e},createAxios=(a={},{lazy:j=!1,lazyTime:_e=300}={})=>createAxios$2({...a,headers:{...a.headers,"x-did-connect-version":version$1}},{lazy:j,lazyTime:_e}),sleep$1=(a=0)=>new Promise(j=>{setTimeout(()=>{j()},a)});function getBrowserLang(){if(typeof window>"u")return null;const a=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null;return{"zh-CN":"zh","zh-TW":"zh",zh:"zh",en:"en"}[a]||"en"}async function decodeUrlParams(){const a=window.location.href;try{const j=new URL(a),_e=j.searchParams.get(DID_CONNECT_URL_PARAMS_NAME);if(_e){j.searchParams.delete(DID_CONNECT_URL_PARAMS_NAME);const et=JSON.parse(Buffer$1$1.from(_e,"base64").toString("utf-8"));if(isString$2(et.forceConnected)&&isUndefined$2(et.sourceAppPid)){const tt=await new BlockletSDK().user.getUserPublicInfo({did:et.forceConnected});isUndefined$2(tt==null?void 0:tt.sourceAppPid)||(et.sourceAppPid=tt.sourceAppPid)}return{params:et,url:j.href}}}catch{console.warn("Failed to decode did-connect url params")}return{params:null,url:a}}const openPopup=(a,{width:j=600,height:_e=700,name:et="did-connect:popup"}={})=>{const nt=window.screenX+(window.innerWidth-j)/2,tt=window.screenY+(window.innerHeight-_e)/2,ot=[`left=${nt}`,`top=${tt}`,`width=${j}`,`height=${_e}`,"resizable=no","scrollbars=yes","status=yes","popup=yes"],ct=window.open("",et,ot.join(","));if(ct===null)throw new NotOpenError;return ct.location.href=withQuery(a,{opener:window.location.origin}),ct},runPopup=a=>new Promise((j,_e)=>{let et,nt;const tt=({data:ot})=>{if(ot&&ot.type==="authorization_response"){if(ot!=null&&ot.error){console.error(ot.error);return}setTimeout(()=>{var ct;(ct=a.popup)==null||ct.close(),clearTimeout(nt),clearInterval(et),window.removeEventListener("message",tt,!1),j(ot)},a.closeTimeout||0)}};nt=setTimeout(()=>{clearInterval(et),_e(new Error("Timeout")),window.removeEventListener("message",tt,!1)},(a.timeoutInSeconds||DEFAULT_WINDOW_TIMEOUT)*1e3),et=setInterval(()=>{var ot;(ot=a.popup)!=null&&ot.closed&&(clearInterval(et),clearTimeout(nt),window.removeEventListener("message",tt,!1),_e(new Error("Popup closed")))},1e3),window.addEventListener("message",tt)});function WindowFocusAware({callback:a}){const j=useDebounceFn(a),_e=useMemoizedFn(()=>{document.hidden||j.run()});return reactExports.useEffect(()=>(window.addEventListener("focus",j.run),document.addEventListener("visibilitychange",_e),()=>{window.removeEventListener("focus",j.run),document.removeEventListener("visibilitychange",_e)}),[]),null}WindowFocusAware.propTypes={callback:PropTypes.func.isRequired};function CardSelector({list:a=[],width:j=300,height:_e=400,cardSpace:et=40,onSelect:nt=noop$6,defaultIndex:tt=0}){const[ot,ct]=reactExports.useState(0),[ft,ht]=reactExports.useState(0),dt=reactExports.useRef(null),vt=wt=>{if(!(wt<0||wt>a.length-1)){if(ct(wt),dt.current){const Ct=dt.current.clientWidth;ht(wt*(j+et)-(Ct-j)/2+et*.5)}nt(wt)}};reactExports.useEffect(()=>{var wt;vt(tt),(wt=dt.current)==null||wt.addEventListener("touchmove",Ct=>Ct.preventDefault(),{passive:!1})},[]);let $t;const xt=wt=>{$t=wt.touches[0].clientX},At=wt=>{const Ct=wt.changedTouches[0],Rt=$t-Ct.clientX;Math.abs(Rt)>60&&(Rt>0?vt(ot+1):vt(ot-1))};return jsxRuntimeExports.jsx(Container,{ref:dt,onTouchStart:xt,onTouchEnd:At,children:jsxRuntimeExports.jsx("div",{className:"card-container",style:{transform:`translate(${-ft}px, 0)`},children:a.map((wt,Ct)=>wt instanceof Function?jsxRuntimeExports.jsx("div",{className:`card-item ${Ct===ot?"selected":""}`,style:{width:j,height:_e,margin:et/2},onClick:()=>vt(Ct),children:wt(Ct)},Ct):jsxRuntimeExports.jsx("div",{className:`card-item ${Ct===ot?"selected":""}`,style:{width:j,height:_e,margin:et/2},onClick:()=>vt(Ct),children:jsxRuntimeExports.jsx("img",{src:wt.src,alt:wt.name})},Ct))})})}const Container=newStyled.div`
|
|
432
|
+
`+new Array(a.length+4).join(" "):nt<j.length-2&&(et+=" ")}console.log(et)}function testSpeed(a,j,_e){let et=new Date().getTime();const nt=new Uint8Array(j);for(let ot=0;ot<j;ot++)nt[ot]=ot%256;const tt=new Date().getTime();console.log("Generated random input in "+(tt-et)+"ms"),et=tt;for(let ot=0;ot<_e;ot++){const ct=a(nt),ft=new Date().getTime(),ht=ft-et;et=ft,console.log("Hashed in "+ht+"ms: "+ct.substring(0,20)+"..."),console.log(Math.round(j/(1<<20)/(ht/1e3)*100)/100+" MB PER SECOND")}}var util$5={normalizeInput,toHex,debugPrint,testSpeed};const util$4=util$5;function ADD64AA(a,j,_e){const et=a[j]+a[_e];let nt=a[j+1]+a[_e+1];et>=4294967296&&nt++,a[j]=et,a[j+1]=nt}function ADD64AC(a,j,_e,et){let nt=a[j]+_e;_e<0&&(nt+=4294967296);let tt=a[j+1]+et;nt>=4294967296&&tt++,a[j]=nt,a[j+1]=tt}function B2B_GET32(a,j){return a[j]^a[j+1]<<8^a[j+2]<<16^a[j+3]<<24}function B2B_G(a,j,_e,et,nt,tt){const ot=m$1[nt],ct=m$1[nt+1],ft=m$1[tt],ht=m$1[tt+1];ADD64AA(v,a,j),ADD64AC(v,a,ot,ct);let dt=v[et]^v[a],vt=v[et+1]^v[a+1];v[et]=vt,v[et+1]=dt,ADD64AA(v,_e,et),dt=v[j]^v[_e],vt=v[j+1]^v[_e+1],v[j]=dt>>>24^vt<<8,v[j+1]=vt>>>24^dt<<8,ADD64AA(v,a,j),ADD64AC(v,a,ft,ht),dt=v[et]^v[a],vt=v[et+1]^v[a+1],v[et]=dt>>>16^vt<<16,v[et+1]=vt>>>16^dt<<16,ADD64AA(v,_e,et),dt=v[j]^v[_e],vt=v[j+1]^v[_e+1],v[j]=vt>>>31^dt<<1,v[j+1]=dt>>>31^vt<<1}const BLAKE2B_IV32=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),SIGMA8=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],SIGMA82=new Uint8Array(SIGMA8.map(function(a){return a*2})),v=new Uint32Array(32),m$1=new Uint32Array(32);function blake2bCompress(a,j){let _e=0;for(_e=0;_e<16;_e++)v[_e]=a.h[_e],v[_e+16]=BLAKE2B_IV32[_e];for(v[24]=v[24]^a.t,v[25]=v[25]^a.t/4294967296,j&&(v[28]=~v[28],v[29]=~v[29]),_e=0;_e<32;_e++)m$1[_e]=B2B_GET32(a.b,4*_e);for(_e=0;_e<12;_e++)B2B_G(0,8,16,24,SIGMA82[_e*16+0],SIGMA82[_e*16+1]),B2B_G(2,10,18,26,SIGMA82[_e*16+2],SIGMA82[_e*16+3]),B2B_G(4,12,20,28,SIGMA82[_e*16+4],SIGMA82[_e*16+5]),B2B_G(6,14,22,30,SIGMA82[_e*16+6],SIGMA82[_e*16+7]),B2B_G(0,10,20,30,SIGMA82[_e*16+8],SIGMA82[_e*16+9]),B2B_G(2,12,22,24,SIGMA82[_e*16+10],SIGMA82[_e*16+11]),B2B_G(4,14,16,26,SIGMA82[_e*16+12],SIGMA82[_e*16+13]),B2B_G(6,8,18,28,SIGMA82[_e*16+14],SIGMA82[_e*16+15]);for(_e=0;_e<16;_e++)a.h[_e]=a.h[_e]^v[_e]^v[_e+16]}const parameterBlock=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function blake2bInit(a,j,_e,et){if(a===0||a>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(j&&j.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(_e&&_e.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(et&&et.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const nt={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:a};parameterBlock.fill(0),parameterBlock[0]=a,j&&(parameterBlock[1]=j.length),parameterBlock[2]=1,parameterBlock[3]=1,_e&¶meterBlock.set(_e,32),et&¶meterBlock.set(et,48);for(let tt=0;tt<16;tt++)nt.h[tt]=BLAKE2B_IV32[tt]^B2B_GET32(parameterBlock,tt*4);return j&&(blake2bUpdate(nt,j),nt.c=128),nt}function blake2bUpdate(a,j){for(let _e=0;_e<j.length;_e++)a.c===128&&(a.t+=a.c,blake2bCompress(a,!1),a.c=0),a.b[a.c++]=j[_e]}function blake2bFinal(a){for(a.t+=a.c;a.c<128;)a.b[a.c++]=0;blake2bCompress(a,!0);const j=new Uint8Array(a.outlen);for(let _e=0;_e<a.outlen;_e++)j[_e]=a.h[_e>>2]>>8*(_e&3);return j}function blake2b(a,j,_e,et,nt){_e=_e||64,a=util$4.normalizeInput(a),et&&(et=util$4.normalizeInput(et)),nt&&(nt=util$4.normalizeInput(nt));const tt=blake2bInit(_e,j,et,nt);return blake2bUpdate(tt,a),blake2bFinal(tt)}function blake2bHex(a,j,_e,et,nt){const tt=blake2b(a,j,_e,et,nt);return util$4.toHex(tt)}var blake2b_1={blake2b,blake2bHex,blake2bInit,blake2bUpdate,blake2bFinal};const blake=getDefaultExportFromCjs$1(blake2b_1);function nonce(a,j){var _e=blake.blake2bInit(tweetnacl.box.nonceLength,null);return blake.blake2bUpdate(_e,a),blake.blake2bUpdate(_e,j),blake.blake2bFinal(_e)}function zero(a){for(var j=0;j<a.length;j++)a[j]=0}function seal(a,j){var _e=new Uint8Array(overheadLength+a.length),et=tweetnacl.box.keyPair();_e.set(et.publicKey);var nt=nonce(et.publicKey,j),tt=tweetnacl.box(a,nt,j,et.secretKey);return _e.set(tt,et.publicKey.length),zero(et.secretKey),_e}function open(a,j,_e){var et=a.subarray(0,tweetnacl.box.publicKeyLength),nt=nonce(et,j),tt=a.subarray(tweetnacl.box.publicKeyLength);return tweetnacl.box.open(tt,nt,et,_e)}const SealedBox={seal,open};function isNil(a){return a==null}var isNil_1=isNil;const isNil$1=getDefaultExportFromCjs$1(isNil_1);var lib$2={},type={},HASH_UNDEFINED$2="__lodash_hash_undefined__";function setCacheAdd$1(a){return this.__data__.set(a,HASH_UNDEFINED$2),this}var _setCacheAdd=setCacheAdd$1;function setCacheHas$1(a){return this.__data__.has(a)}var _setCacheHas=setCacheHas$1,MapCache$2=_MapCache,setCacheAdd=_setCacheAdd,setCacheHas=_setCacheHas;function SetCache$3(a){var j=-1,_e=a==null?0:a.length;for(this.__data__=new MapCache$2;++j<_e;)this.add(a[j])}SetCache$3.prototype.add=SetCache$3.prototype.push=setCacheAdd;SetCache$3.prototype.has=setCacheHas;var _SetCache=SetCache$3;function arraySome$1(a,j){for(var _e=-1,et=a==null?0:a.length;++_e<et;)if(j(a[_e],_e,a))return!0;return!1}var _arraySome=arraySome$1;function cacheHas$3(a,j){return a.has(j)}var _cacheHas=cacheHas$3,SetCache$2=_SetCache,arraySome=_arraySome,cacheHas$2=_cacheHas,COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays$2(a,j,_e,et,nt,tt){var ot=_e&COMPARE_PARTIAL_FLAG$5,ct=a.length,ft=j.length;if(ct!=ft&&!(ot&&ft>ct))return!1;var ht=tt.get(a),dt=tt.get(j);if(ht&&dt)return ht==j&&dt==a;var vt=-1,$t=!0,xt=_e&COMPARE_UNORDERED_FLAG$3?new SetCache$2:void 0;for(tt.set(a,j),tt.set(j,a);++vt<ct;){var At=a[vt],wt=j[vt];if(et)var Ct=ot?et(wt,At,vt,j,a,tt):et(At,wt,vt,a,j,tt);if(Ct!==void 0){if(Ct)continue;$t=!1;break}if(xt){if(!arraySome(j,function(Rt,It){if(!cacheHas$2(xt,It)&&(At===Rt||nt(At,Rt,_e,et,tt)))return xt.push(It)})){$t=!1;break}}else if(!(At===wt||nt(At,wt,_e,et,tt))){$t=!1;break}}return tt.delete(a),tt.delete(j),$t}var _equalArrays=equalArrays$2;function mapToArray$1(a){var j=-1,_e=Array(a.size);return a.forEach(function(et,nt){_e[++j]=[nt,et]}),_e}var _mapToArray=mapToArray$1;function setToArray$3(a){var j=-1,_e=Array(a.size);return a.forEach(function(et){_e[++j]=et}),_e}var _setToArray=setToArray$3,Symbol$4=_Symbol,Uint8Array$1=_Uint8Array,eq$5=eq_1$1,equalArrays$1=_equalArrays,mapToArray=_mapToArray,setToArray$2=_setToArray,COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag$1="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag$1="[object Set]",stringTag="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto$2=Symbol$4?Symbol$4.prototype:void 0,symbolValueOf=symbolProto$2?symbolProto$2.valueOf:void 0;function equalByTag$1(a,j,_e,et,nt,tt,ot){switch(_e){case dataViewTag:if(a.byteLength!=j.byteLength||a.byteOffset!=j.byteOffset)return!1;a=a.buffer,j=j.buffer;case arrayBufferTag:return!(a.byteLength!=j.byteLength||!tt(new Uint8Array$1(a),new Uint8Array$1(j)));case boolTag:case dateTag:case numberTag:return eq$5(+a,+j);case errorTag:return a.name==j.name&&a.message==j.message;case regexpTag:case stringTag:return a==j+"";case mapTag$1:var ct=mapToArray;case setTag$1:var ft=et&COMPARE_PARTIAL_FLAG$4;if(ct||(ct=setToArray$2),a.size!=j.size&&!ft)return!1;var ht=ot.get(a);if(ht)return ht==j;et|=COMPARE_UNORDERED_FLAG$2,ot.set(a,j);var dt=equalArrays$1(ct(a),ct(j),et,nt,tt,ot);return ot.delete(a),dt;case symbolTag$2:if(symbolValueOf)return symbolValueOf.call(a)==symbolValueOf.call(j)}return!1}var _equalByTag=equalByTag$1,getAllKeys=_getAllKeys,COMPARE_PARTIAL_FLAG$3=1,objectProto$4=Object.prototype,hasOwnProperty$7=objectProto$4.hasOwnProperty;function equalObjects$1(a,j,_e,et,nt,tt){var ot=_e&COMPARE_PARTIAL_FLAG$3,ct=getAllKeys(a),ft=ct.length,ht=getAllKeys(j),dt=ht.length;if(ft!=dt&&!ot)return!1;for(var vt=ft;vt--;){var $t=ct[vt];if(!(ot?$t in j:hasOwnProperty$7.call(j,$t)))return!1}var xt=tt.get(a),At=tt.get(j);if(xt&&At)return xt==j&&At==a;var wt=!0;tt.set(a,j),tt.set(j,a);for(var Ct=ot;++vt<ft;){$t=ct[vt];var Rt=a[$t],It=j[$t];if(et)var Mt=ot?et(It,Rt,$t,j,a,tt):et(Rt,It,$t,a,j,tt);if(!(Mt===void 0?Rt===It||nt(Rt,It,_e,et,tt):Mt)){wt=!1;break}Ct||(Ct=$t=="constructor")}if(wt&&!Ct){var Ot=a.constructor,zt=j.constructor;Ot!=zt&&"constructor"in a&&"constructor"in j&&!(typeof Ot=="function"&&Ot instanceof Ot&&typeof zt=="function"&&zt instanceof zt)&&(wt=!1)}return tt.delete(a),tt.delete(j),wt}var _equalObjects=equalObjects$1,Stack$1=_Stack,equalArrays=_equalArrays,equalByTag=_equalByTag,equalObjects=_equalObjects,getTag$1=_getTag,isArray$8=isArray_1,isBuffer$1=isBufferExports,isTypedArray$1=isTypedArray_1,COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto$3=Object.prototype,hasOwnProperty$6=objectProto$3.hasOwnProperty;function baseIsEqualDeep$1(a,j,_e,et,nt,tt){var ot=isArray$8(a),ct=isArray$8(j),ft=ot?arrayTag:getTag$1(a),ht=ct?arrayTag:getTag$1(j);ft=ft==argsTag?objectTag:ft,ht=ht==argsTag?objectTag:ht;var dt=ft==objectTag,vt=ht==objectTag,$t=ft==ht;if($t&&isBuffer$1(a)){if(!isBuffer$1(j))return!1;ot=!0,dt=!1}if($t&&!dt)return tt||(tt=new Stack$1),ot||isTypedArray$1(a)?equalArrays(a,j,_e,et,nt,tt):equalByTag(a,j,ft,_e,et,nt,tt);if(!(_e&COMPARE_PARTIAL_FLAG$2)){var xt=dt&&hasOwnProperty$6.call(a,"__wrapped__"),At=vt&&hasOwnProperty$6.call(j,"__wrapped__");if(xt||At){var wt=xt?a.value():a,Ct=At?j.value():j;return tt||(tt=new Stack$1),nt(wt,Ct,_e,et,tt)}}return $t?(tt||(tt=new Stack$1),equalObjects(a,j,_e,et,nt,tt)):!1}var _baseIsEqualDeep=baseIsEqualDeep$1,baseIsEqualDeep=_baseIsEqualDeep,isObjectLike$3=isObjectLike_1;function baseIsEqual$3(a,j,_e,et,nt){return a===j?!0:a==null||j==null||!isObjectLike$3(a)&&!isObjectLike$3(j)?a!==a&&j!==j:baseIsEqualDeep(a,j,_e,et,baseIsEqual$3,nt)}var _baseIsEqual=baseIsEqual$3,baseIsEqual$2=_baseIsEqual;function isEqual(a,j){return baseIsEqual$2(a,j)}var isEqual_1$1=isEqual;const isEqual$1=getDefaultExportFromCjs$1(isEqual_1$1);var util$3={},__importDefault$4=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(util$3,"__esModule",{value:!0});util$3.toStrictHex=util$3.toBytes=util$3.toBits=util$3.DID_PREFIX=void 0;const padStart_1=__importDefault$4(padStart_1$1),util_1$2=lib$4,DID_PREFIX="did:abt:";util$3.DID_PREFIX=DID_PREFIX;const toBytes=a=>{try{if((0,util_1$2.isHexStrict)(a))return Buffer$3.from((0,util_1$2.stripHexPrefix)(a),"hex");let j=(0,util_1$2.fromBase58)(a.replace(DID_PREFIX,""));for(;j.length<26;)j=Buffer$3.concat([Buffer$3.from([0]),j]);return j}catch(j){throw new Error(`Cannot convert DID string to byte array: ${j.message}`)}};util$3.toBytes=toBytes;const toBits=(a,j)=>(0,padStart_1.default)((0,util_1$2.toBN)(a).toString(2),j,"0");util$3.toBits=toBits;const toStrictHex=(a,j)=>{const _e=a.replace(/^0x/i,"");return typeof j=="number"&&j%2===0?(0,padStart_1.default)(a,j,"0"):_e.length%2===0?_e:`0${_e}`};util$3.toStrictHex=toStrictHex;var __importDefault$3=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(type,"__esModule",{value:!0});type.DidType=type.toChecksumAddress=type.isEthereumDid=type.isEthereumType=type.toTypeInfoStr=type.toTypeInfo=type.fromTypeInfo=type.DID_TYPE_ETHEREUM=type.DID_TYPE_ARCBLOCK=void 0;const util_1$1=lib$4,upperFirst_1=__importDefault$3(upperFirst_1$1),isEqual_1=__importDefault$3(isEqual_1$1),pick_1=__importDefault$3(pick_1$1),mcrypto_1$1=lib$5,util_2=util$3,mapping={pk:"key",address:"encoding"},DID_TYPE_ARCBLOCK={role:mcrypto_1$1.types.RoleType.ROLE_ACCOUNT,pk:mcrypto_1$1.types.KeyType.ED25519,hash:mcrypto_1$1.types.HashType.SHA3,address:mcrypto_1$1.types.EncodingType.BASE58};type.DID_TYPE_ARCBLOCK=DID_TYPE_ARCBLOCK;const DID_TYPE_ETHEREUM={role:mcrypto_1$1.types.RoleType.ROLE_ACCOUNT,pk:mcrypto_1$1.types.KeyType.ETHEREUM,hash:mcrypto_1$1.types.HashType.KECCAK,address:mcrypto_1$1.types.EncodingType.BASE16};type.DID_TYPE_ETHEREUM=DID_TYPE_ETHEREUM;const isEthereumType=a=>{const j=["pk","hash","address"];return(0,isEqual_1.default)((0,pick_1.default)(a,j),(0,pick_1.default)(DID_TYPE_ETHEREUM,j))};type.isEthereumType=isEthereumType;const isEthereumDid=a=>{const j=(0,util_1$1.toAddress)(a);return/^(0x)?[0-9a-f]{40}$/i.test(j)?/^(0x|0X)?[0-9a-f]{40}$/.test(j)||/^(0x|0X)?[0-9A-F]{40}$/.test(j)?!0:checkAddressChecksum(j):!1};type.isEthereumDid=isEthereumDid;const checkAddressChecksum=a=>{const j=a.replace(/^0x/i,""),_e=mcrypto_1$1.Hasher.Keccak.hash256(j.toLowerCase()).replace(/^0x/i,"");for(let et=0;et<40;et++)if(parseInt(_e[et],16)>7&&j[et].toUpperCase()!==j[et]||parseInt(_e[et],16)<=7&&j[et].toLowerCase()!==j[et])return!1;return!0},toChecksumAddress=a=>{if(typeof a>"u")return"";if(!/^(0x)?[0-9a-f]{40}$/i.test(a))throw new Error(`Given address "${a}" is not a valid Ethereum address.`);const j=a.toLowerCase().replace(/^0x/i,""),_e=mcrypto_1$1.Hasher.Keccak.hash256(j).replace(/^0x/i,"");let et="0x";for(let nt=0;nt<j.length;nt++)parseInt(_e[nt],16)>7?et+=j[nt].toUpperCase():et+=j[nt];return et};type.toChecksumAddress=toChecksumAddress;function DidType(a={}){let j={};["default","arcblock"].includes(a)?j=DID_TYPE_ARCBLOCK:["eth","ethereum"].includes(a)?j=DID_TYPE_ETHEREUM:j={...DID_TYPE_ARCBLOCK,...a};const{role:_e,pk:et,hash:nt,address:tt}=j;Object.keys(j).forEach(ct=>{const ft=(0,upperFirst_1.default)(`${mapping[ct]||ct}Type`);if(Object.values(mcrypto_1$1.types[ft]).includes(j[ct])===!1)throw new Error(`Unsupported ${ct} type: ${j[ct]}`)});const ot={role:_e,pk:et,hash:nt,address:tt};return isEthereumType(ot)===!1&&[mcrypto_1$1.types.RoleType.ROLE_NODE,mcrypto_1$1.types.RoleType.ROLE_VALIDATOR,mcrypto_1$1.types.RoleType.ROLE_TETHER,mcrypto_1$1.types.RoleType.ROLE_SWAP].includes(ot.role)&&(ot.hash=mcrypto_1$1.types.HashType.SHA2),ot}type.DidType=DidType;DidType.toJSON=a=>Object.keys(a).reduce((j,_e)=>{const et=(0,upperFirst_1.default)(`${mapping[_e]||_e}Type`),nt=Object.keys(mcrypto_1$1.types[et]),tt=Object.values(mcrypto_1$1.types[et]);return j[_e]=nt[tt.indexOf(a[_e])],j},{});DidType.fromJSON=a=>Object.keys(a).reduce((j,_e)=>{const et=(0,upperFirst_1.default)(`${mapping[_e]||_e}Type`),nt=Object.keys(mcrypto_1$1.types[et]),tt=Object.values(mcrypto_1$1.types[et]);return j[_e]=tt[nt.indexOf(a[_e])],j},{});const fromTypeInfo=a=>{const j=DidType(a),_e=(0,util_2.toBits)(j.role,6),et=(0,util_2.toBits)(j.pk,5),nt=(0,util_2.toBits)(j.hash,5),tt=`${_e}${et}${nt}`,ot=(0,util_1$1.stripHexPrefix)((0,util_1$1.numberToHex)(parseInt(tt,2)));return(0,util_2.toStrictHex)(ot,4)};type.fromTypeInfo=fromTypeInfo;const toTypeInfo=a=>{let j={};try{if(isEthereumDid(a))j=DID_TYPE_ETHEREUM;else{const et=(0,util_2.toBytes)(a).slice(0,2),nt=(0,util_2.toStrictHex)(Buffer$3.from(et).toString("hex")),tt=(0,util_2.toBits)(new util_1$1.BN(nt,16),16),ot=tt.slice(0,6),ct=tt.slice(6,11),ft=tt.slice(11,16);j={role:parseInt(ot,2),pk:parseInt(ct,2),hash:parseInt(ft,2),address:(0,util_1$1.isHex)((0,util_1$1.toAddress)(a))?mcrypto_1$1.types.EncodingType.BASE16:mcrypto_1$1.types.EncodingType.BASE58}}return Object.keys(j).forEach(_e=>{Object.values(mcrypto_1$1.types[`${(0,upperFirst_1.default)(mapping[_e]||_e)}Type`]).includes(j[_e])===!1&&delete j[_e]}),j}catch{return j}};type.toTypeInfo=toTypeInfo;const toTypeInfoStr=a=>{const j=toTypeInfo(a);return Object.keys(j).reduce((_e,et)=>{const nt=mcrypto_1$1.types[`${(0,upperFirst_1.default)(mapping[et]||et)}Type`];return _e[et]=Object.keys(nt).find(tt=>nt[tt]===j[et]),_e},{})};type.toTypeInfoStr=toTypeInfoStr;(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a.DID_TYPE_ETHEREUM=a.DID_TYPE_ARCBLOCK=a.DID_PREFIX=a.DidType=a.fromTypeInfo=a.toTypeInfoStr=a.toTypeInfo=a.isEthereumType=a.isEthereumDid=a.isValid=a.isFromPublicKey=a.toDid=a.toAddress=a.fromHash=a.fromPublicKeyHash=a.fromPublicKey=a.fromSecretKey=a.toStrictHex=a.types=void 0;const j=lib$5;Object.defineProperty(a,"types",{enumerable:!0,get:function(){return j.types}});const _e=lib$4;Object.defineProperty(a,"toAddress",{enumerable:!0,get:function(){return _e.toAddress}}),Object.defineProperty(a,"toDid",{enumerable:!0,get:function(){return _e.toDid}});const et=type;Object.defineProperty(a,"DidType",{enumerable:!0,get:function(){return et.DidType}}),Object.defineProperty(a,"DID_TYPE_ARCBLOCK",{enumerable:!0,get:function(){return et.DID_TYPE_ARCBLOCK}}),Object.defineProperty(a,"DID_TYPE_ETHEREUM",{enumerable:!0,get:function(){return et.DID_TYPE_ETHEREUM}}),Object.defineProperty(a,"fromTypeInfo",{enumerable:!0,get:function(){return et.fromTypeInfo}}),Object.defineProperty(a,"isEthereumDid",{enumerable:!0,get:function(){return et.isEthereumDid}}),Object.defineProperty(a,"isEthereumType",{enumerable:!0,get:function(){return et.isEthereumType}}),Object.defineProperty(a,"toTypeInfo",{enumerable:!0,get:function(){return et.toTypeInfo}}),Object.defineProperty(a,"toTypeInfoStr",{enumerable:!0,get:function(){return et.toTypeInfoStr}});const nt=util$3;Object.defineProperty(a,"DID_PREFIX",{enumerable:!0,get:function(){return nt.DID_PREFIX}}),Object.defineProperty(a,"toStrictHex",{enumerable:!0,get:function(){return nt.toStrictHex}});const tt=(vt,$t)=>{const xt=(0,et.DidType)($t),At=(0,j.getSigner)(xt.pk).getPublicKey(vt);return ot(At.indexOf("0x")===0?At:`0x${At}`,xt)};a.fromSecretKey=tt;const ot=(vt,$t)=>{const xt=(0,et.DidType)($t),wt=(0,j.getHasher)(xt.hash)(vt,1);return ct(wt,xt)};a.fromPublicKey=ot;const ct=(vt,$t)=>{const xt=(0,et.DidType)($t),At=(0,_e.stripHexPrefix)(vt).slice(0,40),wt=(0,j.getHasher)(xt.hash),Ct=(0,et.fromTypeInfo)(xt),Rt=(0,_e.stripHexPrefix)(wt(`0x${Ct}${At}`,1)).slice(0,8),It=`0x${Ct}${At}${Rt}`;return(0,et.isEthereumType)(xt)?(0,et.toChecksumAddress)(`0x${vt.slice(-40)}`):xt.address===j.types.EncodingType.BASE58?(0,_e.toBase58)(It):It};a.fromPublicKeyHash=ct;const ft=(vt,$t=j.types.RoleType.ROLE_ACCOUNT)=>{const xt=Object.keys(j.types.RoleType),At=Object.values(j.types.RoleType);if(At.indexOf($t)===-1)throw new Error(`Unsupported role type ${$t} when gen ddi from hash`);const wt=(0,et.DidType)({role:j.types.RoleType[xt[At.indexOf($t)]]});return ct(vt,wt)};a.fromHash=ft;const ht=(vt,$t)=>{if(dt(vt)===!1)return!1;const xt=(0,et.toTypeInfo)(vt),At=ot($t,xt),wt=vt.replace(nt.DID_PREFIX,"");return At===wt};a.isFromPublicKey=ht;const dt=vt=>{if(!vt)return!1;const $t=(0,_e.toAddress)(String(vt)),{hash:xt}=(0,et.toTypeInfo)($t);if(typeof xt>"u")return!1;if((0,et.isEthereumDid)($t))return!0;const At=(0,j.getHasher)(xt),wt=(0,nt.toBytes)($t),Ct=(0,nt.toStrictHex)(Buffer$3.from(wt.slice(0,22)).toString("hex")),Rt=(0,nt.toStrictHex)(Buffer$3.from(wt.slice(22,26)).toString("hex")),It=(0,_e.stripHexPrefix)(At(`0x${Ct}`,1)).slice(0,8);return Rt===It};a.isValid=dt})(lib$2);const name="@arcblock/did-connect",version$2="2.10.74",description="Client side library to work with DID Connect by ArcBlock.",keywords=["react","arcblock","component"],author="wangshijun<wangshijun2010@gmail.com>",homepage="https://github.com/ArcBlock/ux#readme",license="Apache-2.0",main$1="lib/index.js",module$1="lib/index.js",repository={type:"git",url:"git+https://github.com/ArcBlock/ux.git"},scripts={lint:"eslint src tests --ext js --ext jsx","lint:fix":"npm run lint -- --fix",build:"babel --config-file ./babel.config.es.js src --out-dir lib --copy-files --no-copy-ignored",autoexports:"node tools/auto-exports.js",watch:"babel --config-file ./babel.config.es.js src --out-dir lib -w --copy-files --no-copy-ignored",precommit:"CI=1 npm run lint",prepush:"CI=1 npm run lint",prepublish:"npm run build",test:"node tools/jest.js",coverage:"npm run test -- --coverage"},bugs={url:"https://github.com/ArcBlock/ux/issues"},dependencies={"@arcblock/bridge":"^2.10.74","@arcblock/did":"^1.18.150","@arcblock/icons":"^2.10.74","@arcblock/react-hooks":"^2.10.74","@arcblock/ws":"^1.18.150","@fontsource/lexend":"^5.1.1","@iconify-icons/logos":"^1.2.36","@iconify-icons/material-symbols":"^1.2.58","@iconify/react":"^4.1.1",ahooks:"^3.7.10",axios:"^1.7.5",buffer:"^6.0.3","core-js":"^3.25.5",eventemitter3:"^5.0.1","js-cookie":"^2.2.1","jwt-decode":"^3.1.2",lodash:"^4.17.21","mdi-material-ui":"^7.5.0","p-queue":"^6.6.2","p-wait-for":"^5.0.2","path-to-regexp":"^1.8.0",semver:"^7.6.3",tweetnacl:"^1.0.3","tweetnacl-sealedbox-js":"^1.2.0",ufo:"^1.5.3"},peerDependencies={"@arcblock/ux":"^2.9.79","@blocklet/js-sdk":"^1.16.30","@emotion/react":"^11.10.4","@emotion/styled":"^11.10.4","@mui/material":"^5.15.0",react:"^18.2.0","react-dom":"^18.2.0"},publishConfig={access:"public"},devDependencies={"@babel/cli":"^7.19.3","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@babel/preset-react":"^7.18.6","eslint-plugin-react-hooks":"^4.6.0",glob:"^10.3.3",jest:"^29.7.0"},gitHead="e9ebc573e8c38bc82a6c2a1ff58bae932dd59ec6",pkg={name,version:version$2,description,keywords,author,homepage,license,main:main$1,module:module$1,repository,scripts,bugs,dependencies,peerDependencies,publishConfig,devDependencies,gitHead},DEFAULT_TIMEOUT$1=5*60,DEFAULT_WINDOW_TIMEOUT=30*60,AUTH_SERVICE_PREFIX="/.well-known/service",SESSION_TOKEN_STORAGE_KEY="login_token",REFRESH_TOKEN_STORAGE_KEY="refresh_token",RELAY_SOCKET_PREFIX="/.well-known/service",API_DID_PREFIX="/api/did",DEFAULT_NAME="DID Connect",DID_CONNECT_URL_PARAMS_NAME="__did-connect__";class NotOpenError extends Error{constructor(){super("Failed to open popup")}}const providerName="wallet_url",getWebWalletUrl$1=()=>{var a,j;return window.localStorage.getItem(providerName)||((a=window.env)==null?void 0:a.webWalletUrl)||((j=window.blocklet)==null?void 0:j.webWalletUrl)||"https://web.abtwallet.io/"},checkSameProtocol=a=>{const{protocol:j}=window.location;let _e="";try{_e=new URL(a).protocol}catch{_e=""}return j===_e},{version:version$1}=pkg;function unescape$1(a){return(a+"===".slice((a.length+3)%4)).replace(/-/g,"+").replace(/_/g,"/")}function escape$1(a){return a.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const decodeConnectUrl=a=>window.atob(unescape$1(a)),parseTokenFromConnectUrl=a=>{const j=new URL(a),_e=decodeURIComponent(j.searchParams.get("url"));return new URL(_e).searchParams.get("_t_")},getAppId$1=(a,j)=>{var et,nt,tt;let _e=j==null?void 0:j.publisher;if(!_e){if(a!=null&&a.agentDid)return a.agentDid;_e=a==null?void 0:a.publisher}return _e?_e.replace("did:abt:",""):((et=globalThis.blocklet)==null?void 0:et.appPid)||((nt=globalThis.blocklet)==null?void 0:nt.appId)||((tt=globalThis.env)==null?void 0:tt.appId)||""},getConnectedInfo=a=>{var _e;const j={connected_did:a.did||"",connected_pk:a.pk||"",connected_app:getAppId$1(a.appInfo,a.memberAppInfo)};return(_e=a==null?void 0:a.connectedWallet)!=null&&_e.os&&(j.connected_wallet_os=a.connectedWallet.os),j},updateConnectedInfo=(a,j=!1)=>{if(!a)return;j||(a=getConnectedInfo(a));const _e=getCookieOptions({expireInDays:7,returnDomain:!1});!isNil$1(a.connected_did)&&!isNil$1(a.connected_pk)&&lib$2.isValid(a.connected_did)&&lib$2.isFromPublicKey(a.connected_did,a.connected_pk)&&(Cookie.set("connected_did",a.connected_did,_e),Cookie.set("connected_pk",a.connected_pk,_e)),!isNil$1(a.connected_app)&&lib$2.isValid(a.connected_app)&&Cookie.set("connected_app",a.connected_app,_e),a.connected_wallet_os&&Cookie.set("connected_wallet_os",a.connected_wallet_os,_e)},encodeKey=a=>escape$1(Buffer$1$1.from(a).toString("base64")),decodeKey=a=>Uint8Array.from(Buffer$1$1.from(unescape$1(a),"base64")),decrypt$1=(a,j,_e)=>{const et=SealedBox.open(Uint8Array.from(Buffer$1$1.from(a,"base64")),decodeKey(j),decodeKey(_e));return JSON.parse(Buffer$1$1.from(et).toString("utf8"))},encrypt=(a,j)=>Buffer$1$1.from(SealedBox.seal(Uint8Array.from(Buffer$1$1.from(a)),decodeKey(j))).toString("base64"),parseNextWorkflow=(a,j="_t_")=>{const _e=new URL(a),et={baseUrl:_e.origin,prefix:_e.pathname.replace(/\/auth$/,""),token:_e.searchParams.get(j)||""};if(!et.baseUrl)throw new Error("Invalid next workflow: origin empty");if(!et.token)throw new Error("Invalid next workflow: token not found");return et},getApiErrorMessage=(a,j)=>{var et;let _e=a.message;return a.response&&(_e=((et=a.response)==null?void 0:et.data)||j),_e},createAxios=(a={},{lazy:j=!1,lazyTime:_e=300}={})=>createAxios$2({...a,headers:{...a.headers,"x-did-connect-version":version$1}},{lazy:j,lazyTime:_e}),sleep$1=(a=0)=>new Promise(j=>{setTimeout(()=>{j()},a)});function getBrowserLang(){if(typeof window>"u")return null;const a=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null;return{"zh-CN":"zh","zh-TW":"zh",zh:"zh",en:"en"}[a]||"en"}async function decodeUrlParams(){const a=window.location.href;try{const j=new URL(a),_e=j.searchParams.get(DID_CONNECT_URL_PARAMS_NAME);if(_e){j.searchParams.delete(DID_CONNECT_URL_PARAMS_NAME);const et=JSON.parse(Buffer$1$1.from(_e,"base64").toString("utf-8"));if(isString$2(et.forceConnected)&&isUndefined$2(et.sourceAppPid)){const tt=await new BlockletSDK().user.getUserPublicInfo({did:et.forceConnected});isUndefined$2(tt==null?void 0:tt.sourceAppPid)||(et.sourceAppPid=tt.sourceAppPid)}return{params:et,url:j.href}}}catch{console.warn("Failed to decode did-connect url params")}return{params:null,url:a}}const openPopup=(a,{width:j=600,height:_e=700,name:et="did-connect:popup"}={})=>{const nt=window.screenX+(window.innerWidth-j)/2,tt=window.screenY+(window.innerHeight-_e)/2,ot=[`left=${nt}`,`top=${tt}`,`width=${j}`,`height=${_e}`,"resizable=no","scrollbars=yes","status=yes","popup=yes"],ct=window.open("",et,ot.join(","));if(ct===null)throw new NotOpenError;return ct.location.href=withQuery(a,{opener:window.location.origin}),ct},runPopup=a=>new Promise((j,_e)=>{let et,nt;const tt=({data:ot})=>{if(ot&&ot.type==="authorization_response"){if(ot!=null&&ot.error){console.error(ot.error);return}setTimeout(()=>{var ct;(ct=a.popup)==null||ct.close(),clearTimeout(nt),clearInterval(et),window.removeEventListener("message",tt,!1),j(ot)},a.closeTimeout||0)}};nt=setTimeout(()=>{clearInterval(et),_e(new Error("Timeout")),window.removeEventListener("message",tt,!1)},(a.timeoutInSeconds||DEFAULT_WINDOW_TIMEOUT)*1e3),et=setInterval(()=>{var ot;(ot=a.popup)!=null&&ot.closed&&(clearInterval(et),clearTimeout(nt),window.removeEventListener("message",tt,!1),_e(new Error("Popup closed")))},1e3),window.addEventListener("message",tt)});function WindowFocusAware({callback:a}){const j=useDebounceFn(a),_e=useMemoizedFn(()=>{document.hidden||j.run()});return reactExports.useEffect(()=>(window.addEventListener("focus",j.run),document.addEventListener("visibilitychange",_e),()=>{window.removeEventListener("focus",j.run),document.removeEventListener("visibilitychange",_e)}),[]),null}WindowFocusAware.propTypes={callback:PropTypes.func.isRequired};function CardSelector({list:a=[],width:j=300,height:_e=400,cardSpace:et=40,onSelect:nt=noop$6,defaultIndex:tt=0}){const[ot,ct]=reactExports.useState(0),[ft,ht]=reactExports.useState(0),dt=reactExports.useRef(null),vt=wt=>{if(!(wt<0||wt>a.length-1)){if(ct(wt),dt.current){const Ct=dt.current.clientWidth;ht(wt*(j+et)-(Ct-j)/2+et*.5)}nt(wt)}};reactExports.useEffect(()=>{var wt;vt(tt),(wt=dt.current)==null||wt.addEventListener("touchmove",Ct=>Ct.preventDefault(),{passive:!1})},[]);let $t;const xt=wt=>{$t=wt.touches[0].clientX},At=wt=>{const Ct=wt.changedTouches[0],Rt=$t-Ct.clientX;Math.abs(Rt)>60&&(Rt>0?vt(ot+1):vt(ot-1))};return jsxRuntimeExports.jsx(Container,{ref:dt,onTouchStart:xt,onTouchEnd:At,children:jsxRuntimeExports.jsx("div",{className:"card-container",style:{transform:`translate(${-ft}px, 0)`},children:a.map((wt,Ct)=>wt instanceof Function?jsxRuntimeExports.jsx("div",{className:`card-item ${Ct===ot?"selected":""}`,style:{width:j,height:_e,margin:et/2},onClick:()=>vt(Ct),children:wt(Ct)},Ct):jsxRuntimeExports.jsx("div",{className:`card-item ${Ct===ot?"selected":""}`,style:{width:j,height:_e,margin:et/2},onClick:()=>vt(Ct),children:jsxRuntimeExports.jsx("img",{src:wt.src,alt:wt.name})},Ct))})})}const Container=newStyled.div`
|
|
433
433
|
overflow: hidden;
|
|
434
434
|
mask-image: linear-gradient(to left, transparent, black 3%, black 97%, transparent);
|
|
435
435
|
overflow: hidden;
|
|
@@ -463,7 +463,7 @@ ${et.length}`,ot=Buffer$3.from(tt),ct=Buffer$3.concat([ot,nt]);return hash_1.def
|
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
`;var baseKeys=_baseKeys,getTag=_getTag,isArguments$1=isArguments_1,isArray$7=isArray_1,isArrayLike$2=isArrayLike_1,isBuffer=isBufferExports,isPrototype=_isPrototype,isTypedArray=isTypedArray_1,mapTag="[object Map]",setTag="[object Set]",objectProto$2=Object.prototype,hasOwnProperty$5=objectProto$2.hasOwnProperty;function isEmpty(a){if(a==null)return!0;if(isArrayLike$2(a)&&(isArray$7(a)||typeof a=="string"||typeof a.splice=="function"||isBuffer(a)||isTypedArray(a)||isArguments$1(a)))return!a.length;var j=getTag(a);if(j==mapTag||j==setTag)return!a.size;if(isPrototype(a))return!baseKeys(a).length;for(var _e in a)if(hasOwnProperty$5.call(a,_e))return!1;return!0}var isEmpty_1=isEmpty;const isEmpty$1=getDefaultExportFromCjs$1(isEmpty_1);function getMaster(a=window.blocklet){var _e;return(((_e=a==null?void 0:a.settings)==null?void 0:_e.federated)||{}).master}function getConfig(a=window.blocklet){var _e;return(((_e=a==null?void 0:a.settings)==null?void 0:_e.federated)||{}).config}function getFederatedEnabled(a=window.blocklet){const j=getConfig(a);return(j==null?void 0:j.status)==="approved"}function getFederatedApp(a=window.blocklet){const j=getMaster(a);return!isEmpty$1(j)?{appId:j.appId,appName:j.appName,appDescription:j.appDescription,appLogo:j.appLogo,appPid:j.appPid,appUrl:j.appUrl,version:j.version,sourceAppPid:j.appPid,provider:"wallet"}:null}function getCurrentApp(a=window.blocklet){return a?{appId:a.appId,appName:a.appName,appDescription:a.appDescription,appLogo:a.appLogo,appPid:a.appPid,appUrl:a.appUrl,currentAppUrl:a===window.blocklet?window.location.origin:void 0,version:a.version,sourceAppPid:null,provider:"wallet"}:window.env?(a=window.env,{appId:a.appId,appName:a.appName,appDescription:a.appDescription,appUrl:a.baseUrl,currentAppUrl:window.location.origin,sourceAppPid:null,provider:"wallet",type:"server"}):null}function getApps(a){const j=[],_e=getFederatedApp(a),et=getCurrentApp(a),nt=getFederatedEnabled(a);return et&&j.push(et),_e&&(_e==null?void 0:_e.appId)!==(et==null?void 0:et.appId)&&nt&&j.push(_e),j.reverse()}async function getBlockletData(a){try{const j=new URL("__blocklet__.js",a);return j.searchParams.set("type","json"),await(await fetch(j.href)).json()}catch(j){return console.error(`Failed to get blocklet data: ${a}`,j),null}}const SvgGuest=a=>reactExports.createElement("svg",{width:420,height:475,viewBox:"0 0 420 475",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},reactExports.createElement("rect",{x:1,y:1,width:418,height:473,rx:19,fill:"#FBFBFB"}),reactExports.createElement("g",{clipPath:"url(#clip0_8323_86657)"},reactExports.createElement("rect",{opacity:.7,y:100,width:420,height:168,fill:"#DDDDDD"})),reactExports.createElement("circle",{cx:210,cy:248,r:60,fill:"#C4C5CA"}),reactExports.createElement("path",{d:"M181 284L188.2 276.8L195.4 284L202.6 273.2L209.8 284L217 273.2L224.2 284L231.4 276.8L238.6 284V240.8C238.6 224.893 225.707 212 209.8 212C193.893 212 181 224.893 181 240.8V284Z",fill:"#C4C5CA",stroke:"white",strokeWidth:5,strokeLinejoin:"round"}),reactExports.createElement("path",{d:"M200.797 240.812H204.397H200.797ZM222.397 240.812H225.997H222.397Z",fill:"#C4C5CA"}),reactExports.createElement("path",{d:"M200.797 240.812H204.397M222.397 240.812H225.997",stroke:"white",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"}),reactExports.createElement("path",{opacity:.7,d:"M24 29H213V69H24V29Z",fill:"#C4C5CA"}),reactExports.createElement("rect",{opacity:.42,x:313,y:24,width:83,height:14,fill:"#C4C5CA"}),reactExports.createElement("rect",{opacity:.7,x:291,y:50,width:105,height:26,fill:"#C4C5CA"}),reactExports.createElement("path",{d:"M177.388 388.4C175.655 388.4 174.068 388.187 172.628 387.76C171.215 387.333 169.948 386.707 168.828 385.88C167.735 385.053 166.748 384.053 165.868 382.88L169.628 378.6C170.935 380.413 172.228 381.653 173.508 382.32C174.815 382.96 176.228 383.28 177.748 383.28C178.575 383.28 179.308 383.173 179.948 382.96C180.615 382.72 181.135 382.387 181.508 381.96C181.881 381.533 182.068 381.027 182.068 380.44C182.068 380.013 181.975 379.627 181.788 379.28C181.601 378.907 181.335 378.587 180.988 378.32C180.641 378.027 180.228 377.773 179.748 377.56C179.268 377.32 178.735 377.12 178.148 376.96C177.561 376.773 176.921 376.627 176.228 376.52C174.735 376.173 173.428 375.76 172.308 375.28C171.188 374.773 170.255 374.16 169.508 373.44C168.761 372.693 168.201 371.853 167.828 370.92C167.481 369.987 167.308 368.933 167.308 367.76C167.308 366.56 167.575 365.453 168.108 364.44C168.641 363.4 169.375 362.507 170.308 361.76C171.268 361.013 172.361 360.44 173.588 360.04C174.841 359.64 176.161 359.44 177.548 359.44C179.255 359.44 180.748 359.64 182.028 360.04C183.308 360.413 184.415 360.96 185.348 361.68C186.308 362.4 187.108 363.28 187.748 364.32L183.948 368C183.388 367.253 182.775 366.627 182.108 366.12C181.468 365.613 180.761 365.24 179.988 365C179.241 364.733 178.468 364.6 177.668 364.6C176.788 364.6 176.028 364.72 175.388 364.96C174.748 365.173 174.241 365.493 173.868 365.92C173.521 366.347 173.348 366.867 173.348 367.48C173.348 367.96 173.468 368.387 173.708 368.76C173.948 369.133 174.295 369.467 174.748 369.76C175.201 370.027 175.748 370.267 176.388 370.48C177.028 370.693 177.735 370.88 178.508 371.04C179.975 371.333 181.295 371.72 182.468 372.2C183.641 372.68 184.641 373.267 185.468 373.96C186.321 374.627 186.975 375.427 187.428 376.36C187.881 377.267 188.108 378.293 188.108 379.44C188.108 381.333 187.655 382.947 186.748 384.28C185.841 385.613 184.588 386.64 182.988 387.36C181.388 388.053 179.521 388.4 177.388 388.4ZM194.782 388V361.48H200.462V388H194.782ZM190.822 371.92V366.84H204.782V371.92H190.822ZM216.209 388.4C214.449 388.4 212.863 387.92 211.449 386.96C210.036 386 208.916 384.693 208.089 383.04C207.263 381.387 206.849 379.493 206.849 377.36C206.849 375.227 207.263 373.347 208.089 371.72C208.943 370.067 210.089 368.773 211.529 367.84C212.969 366.88 214.609 366.4 216.449 366.4C217.489 366.4 218.436 366.56 219.289 366.88C220.169 367.173 220.929 367.587 221.569 368.12C222.236 368.653 222.796 369.267 223.249 369.96C223.703 370.653 224.023 371.4 224.209 372.2L223.009 372V366.84H228.649V388H222.929V382.92L224.209 382.8C223.996 383.547 223.649 384.253 223.169 384.92C222.689 385.587 222.089 386.187 221.369 386.72C220.676 387.227 219.889 387.64 219.009 387.96C218.129 388.253 217.196 388.4 216.209 388.4ZM217.769 383.48C218.836 383.48 219.769 383.227 220.569 382.72C221.369 382.213 221.983 381.507 222.409 380.6C222.863 379.667 223.089 378.587 223.089 377.36C223.089 376.16 222.863 375.107 222.409 374.2C221.983 373.293 221.369 372.587 220.569 372.08C219.769 371.547 218.836 371.28 217.769 371.28C216.729 371.28 215.809 371.547 215.009 372.08C214.236 372.587 213.623 373.293 213.169 374.2C212.716 375.107 212.489 376.16 212.489 377.36C212.489 378.587 212.716 379.667 213.169 380.6C213.623 381.507 214.236 382.213 215.009 382.72C215.809 383.227 216.729 383.48 217.769 383.48ZM236.835 397.2L241.475 386.32L241.555 389.6L231.235 366.84H237.675L242.835 379.04C243.048 379.493 243.248 380.027 243.435 380.64C243.648 381.227 243.822 381.8 243.955 382.36L242.995 382.76C243.155 382.307 243.342 381.787 243.555 381.2C243.768 380.613 243.982 379.987 244.195 379.32L248.635 366.84H255.115L246.235 388L242.595 397.2H236.835ZM92.8005 438L103.76 410H109.12L120.04 438H113.88L108.24 422.92C108.08 422.493 107.88 421.947 107.64 421.28C107.427 420.613 107.2 419.907 106.96 419.16C106.72 418.413 106.494 417.707 106.28 417.04C106.067 416.347 105.907 415.773 105.8 415.32L106.88 415.28C106.72 415.893 106.534 416.533 106.32 417.2C106.134 417.84 105.934 418.507 105.72 419.2C105.507 419.867 105.28 420.52 105.04 421.16C104.8 421.8 104.574 422.427 104.36 423.04L98.7205 438H92.8005ZM97.8805 432.12L99.8405 427.28H112.68L114.68 432.12H97.8805ZM123.172 438V416.84H128.612L128.772 421.16L127.652 421.64C127.945 420.68 128.465 419.813 129.212 419.04C129.985 418.24 130.905 417.6 131.972 417.12C133.039 416.64 134.159 416.4 135.332 416.4C136.932 416.4 138.265 416.72 139.332 417.36C140.425 418 141.239 418.973 141.772 420.28C142.332 421.56 142.612 423.147 142.612 425.04V438H136.932V425.48C136.932 424.52 136.799 423.72 136.532 423.08C136.265 422.44 135.852 421.973 135.292 421.68C134.759 421.36 134.092 421.227 133.292 421.28C132.652 421.28 132.052 421.387 131.492 421.6C130.959 421.787 130.492 422.067 130.092 422.44C129.719 422.813 129.412 423.24 129.172 423.72C128.959 424.2 128.852 424.72 128.852 425.28V438H126.052C125.439 438 124.892 438 124.412 438C123.932 438 123.519 438 123.172 438ZM157.895 438.4C155.735 438.4 153.802 437.933 152.095 437C150.415 436.04 149.082 434.733 148.095 433.08C147.135 431.427 146.655 429.533 146.655 427.4C146.655 425.267 147.135 423.387 148.095 421.76C149.082 420.107 150.415 418.8 152.095 417.84C153.802 416.88 155.735 416.4 157.895 416.4C160.028 416.4 161.935 416.88 163.615 417.84C165.322 418.8 166.655 420.107 167.615 421.76C168.575 423.387 169.055 425.267 169.055 427.4C169.055 429.533 168.575 431.427 167.615 433.08C166.655 434.733 165.322 436.04 163.615 437C161.935 437.933 160.028 438.4 157.895 438.4ZM157.895 433.44C158.935 433.44 159.868 433.187 160.695 432.68C161.522 432.147 162.162 431.427 162.615 430.52C163.095 429.587 163.335 428.547 163.335 427.4C163.335 426.227 163.095 425.187 162.615 424.28C162.162 423.347 161.522 422.627 160.695 422.12C159.868 421.587 158.935 421.32 157.895 421.32C156.828 421.32 155.882 421.587 155.055 422.12C154.228 422.653 153.575 423.373 153.095 424.28C152.615 425.187 152.388 426.227 152.415 427.4C152.388 428.547 152.615 429.587 153.095 430.52C153.575 431.427 154.228 432.147 155.055 432.68C155.882 433.187 156.828 433.44 157.895 433.44ZM173.328 438V416.84H178.768L178.928 421.16L177.808 421.64C178.102 420.68 178.622 419.813 179.368 419.04C180.142 418.24 181.062 417.6 182.128 417.12C183.195 416.64 184.315 416.4 185.488 416.4C187.088 416.4 188.422 416.72 189.488 417.36C190.582 418 191.395 418.973 191.928 420.28C192.488 421.56 192.768 423.147 192.768 425.04V438H187.088V425.48C187.088 424.52 186.955 423.72 186.688 423.08C186.422 422.44 186.008 421.973 185.448 421.68C184.915 421.36 184.248 421.227 183.448 421.28C182.808 421.28 182.208 421.387 181.648 421.6C181.115 421.787 180.648 422.067 180.248 422.44C179.875 422.813 179.568 423.24 179.328 423.72C179.115 424.2 179.008 424.72 179.008 425.28V438H176.208C175.595 438 175.048 438 174.568 438C174.088 438 173.675 438 173.328 438ZM200.976 447.2L205.616 436.32L205.696 439.6L195.376 416.84H201.816L206.976 429.04C207.189 429.493 207.389 430.027 207.576 430.64C207.789 431.227 207.962 431.8 208.096 432.36L207.136 432.76C207.296 432.307 207.482 431.787 207.696 431.2C207.909 430.613 208.122 429.987 208.336 429.32L212.776 416.84H219.256L210.376 438L206.736 447.2H200.976ZM222.273 438V416.84H227.753L227.873 420.88L227.033 421.04C227.326 420.347 227.713 419.72 228.193 419.16C228.673 418.6 229.233 418.12 229.873 417.72C230.539 417.32 231.233 417.013 231.953 416.8C232.673 416.56 233.393 416.44 234.113 416.44C235.206 416.44 236.193 416.613 237.073 416.96C237.953 417.307 238.699 417.853 239.313 418.6C239.926 419.32 240.406 420.28 240.753 421.48L239.873 421.4L240.153 420.76C240.499 420.12 240.939 419.547 241.473 419.04C242.006 418.507 242.606 418.053 243.273 417.68C243.939 417.28 244.633 416.973 245.353 416.76C246.073 416.547 246.779 416.44 247.473 416.44C249.126 416.44 250.499 416.773 251.593 417.44C252.686 418.08 253.499 419.053 254.033 420.36C254.593 421.667 254.873 423.267 254.873 425.16V438H249.193V425.56C249.193 424.6 249.059 423.813 248.793 423.2C248.526 422.587 248.139 422.133 247.633 421.84C247.126 421.52 246.473 421.36 245.673 421.36C245.059 421.36 244.486 421.467 243.953 421.68C243.446 421.867 242.993 422.147 242.593 422.52C242.219 422.867 241.926 423.28 241.713 423.76C241.499 424.24 241.393 424.773 241.393 425.36V438H235.713V425.52C235.713 424.64 235.566 423.893 235.273 423.28C235.006 422.64 234.619 422.16 234.113 421.84C233.606 421.52 232.979 421.36 232.233 421.36C231.619 421.36 231.046 421.467 230.513 421.68C230.006 421.867 229.566 422.147 229.193 422.52C228.819 422.867 228.513 423.28 228.273 423.76C228.059 424.24 227.953 424.76 227.953 425.32V438H222.273ZM270.121 438.4C267.961 438.4 266.028 437.933 264.321 437C262.641 436.04 261.308 434.733 260.321 433.08C259.361 431.427 258.881 429.533 258.881 427.4C258.881 425.267 259.361 423.387 260.321 421.76C261.308 420.107 262.641 418.8 264.321 417.84C266.028 416.88 267.961 416.4 270.121 416.4C272.255 416.4 274.161 416.88 275.841 417.84C277.548 418.8 278.881 420.107 279.841 421.76C280.801 423.387 281.281 425.267 281.281 427.4C281.281 429.533 280.801 431.427 279.841 433.08C278.881 434.733 277.548 436.04 275.841 437C274.161 437.933 272.255 438.4 270.121 438.4ZM270.121 433.44C271.161 433.44 272.095 433.187 272.921 432.68C273.748 432.147 274.388 431.427 274.841 430.52C275.321 429.587 275.561 428.547 275.561 427.4C275.561 426.227 275.321 425.187 274.841 424.28C274.388 423.347 273.748 422.627 272.921 422.12C272.095 421.587 271.161 421.32 270.121 421.32C269.055 421.32 268.108 421.587 267.281 422.12C266.455 422.653 265.801 423.373 265.321 424.28C264.841 425.187 264.615 426.227 264.641 427.4C264.615 428.547 264.841 429.587 265.321 430.52C265.801 431.427 266.455 432.147 267.281 432.68C268.108 433.187 269.055 433.44 270.121 433.44ZM292.835 438.4C291.288 438.4 289.955 438.067 288.835 437.4C287.742 436.707 286.888 435.733 286.275 434.48C285.688 433.2 285.395 431.667 285.395 429.88V416.84H291.075V428.96C291.075 429.92 291.235 430.76 291.555 431.48C291.875 432.173 292.328 432.707 292.915 433.08C293.502 433.453 294.222 433.64 295.075 433.64C295.688 433.64 296.262 433.547 296.795 433.36C297.328 433.147 297.782 432.853 298.155 432.48C298.528 432.107 298.822 431.667 299.035 431.16C299.248 430.653 299.355 430.107 299.355 429.52V416.84H305.035V438H299.635L299.435 433.64L300.475 433.16C300.155 434.147 299.622 435.04 298.875 435.84C298.128 436.64 297.235 437.267 296.195 437.72C295.155 438.173 294.035 438.4 292.835 438.4ZM317.87 438.4C315.897 438.4 314.137 438.08 312.59 437.44C311.07 436.773 309.843 435.867 308.91 434.72L312.43 431.68C313.257 432.56 314.177 433.2 315.19 433.6C316.203 433.973 317.217 434.16 318.23 434.16C318.63 434.16 318.99 434.12 319.31 434.04C319.657 433.933 319.95 433.8 320.19 433.64C320.43 433.453 320.603 433.24 320.71 433C320.843 432.733 320.91 432.453 320.91 432.16C320.91 431.573 320.67 431.107 320.19 430.76C319.923 430.627 319.51 430.467 318.95 430.28C318.39 430.067 317.67 429.84 316.79 429.6C315.43 429.253 314.27 428.853 313.31 428.4C312.377 427.92 311.63 427.387 311.07 426.8C310.59 426.24 310.217 425.64 309.95 425C309.71 424.333 309.59 423.6 309.59 422.8C309.59 421.84 309.803 420.973 310.23 420.2C310.657 419.4 311.243 418.72 311.99 418.16C312.763 417.6 313.643 417.173 314.63 416.88C315.617 416.56 316.657 416.4 317.75 416.4C318.843 416.4 319.91 416.533 320.95 416.8C321.99 417.067 322.95 417.453 323.83 417.96C324.737 418.44 325.523 419.013 326.19 419.68L323.15 423.04C322.67 422.587 322.123 422.173 321.51 421.8C320.923 421.427 320.31 421.133 319.67 420.92C319.03 420.707 318.457 420.6 317.95 420.6C317.497 420.6 317.083 420.64 316.71 420.72C316.363 420.8 316.07 420.92 315.83 421.08C315.59 421.24 315.403 421.453 315.27 421.72C315.163 421.96 315.11 422.227 315.11 422.52C315.11 422.813 315.177 423.093 315.31 423.36C315.47 423.627 315.683 423.853 315.95 424.04C316.243 424.2 316.67 424.387 317.23 424.6C317.817 424.813 318.603 425.053 319.59 425.32C320.87 425.667 321.95 426.053 322.83 426.48C323.737 426.907 324.457 427.4 324.99 427.96C325.443 428.44 325.777 428.987 325.99 429.6C326.203 430.213 326.31 430.893 326.31 431.64C326.31 432.947 325.937 434.12 325.19 435.16C324.47 436.173 323.47 436.973 322.19 437.56C320.91 438.12 319.47 438.4 317.87 438.4Z",fill:"#25292F"}),reactExports.createElement("rect",{x:1,y:1,width:418,height:558,rx:19,stroke:"#DDDDDD",strokeWidth:2}),reactExports.createElement("defs",null,reactExports.createElement("clipPath",{id:"clip0_8323_86657"},reactExports.createElement("rect",{width:420,height:168,fill:"white",transform:"translate(0 100)"})))),OAuthContext=reactExports.createContext({}),{Provider:Provider$7,Consumer:OAuthConsumer}=OAuthContext,prefix$3=`${AUTH_SERVICE_PREFIX}/api/oauth`,parseResponse=a=>a?typeof a=="string"?{sessionToken:a}:pick$2(a,["sessionToken","refreshToken","visitorId"]):{},translations$5={zh:{bindOAuth:"绑定第三方登录",bind:"绑定",noneOAuth:"未配置第三方登录方式",bindOAuthSucceed:"绑定 {provider} 成功",unbindOAuthSucceed:"解绑 {provider} 成功",loginOAuthFailed:"登录 {provider} 失败",bindOAuthFailed:"绑定 {provider} 失败",unbindOAuthFailed:"绑定 {provider} 失败",switchPassport:"切换通行证",switchPassportFailed:"切换通行证失败",switchPassportSucceed:"切换通行证成功",choosePassport:"请选择一个通行证",switch:"切换",cancel:"取消",currentRole:"当前角色:",passport:"通行证",noPassports:"没有可更换的通行证",getPassportFailed:"获取通行证失败",loginRequired:"授权请求被拒绝",cancelAuth:"取消授权"},en:{bindOAuth:"Bind third party login",bind:"Bind ",noneOAuth:"Third party login is not configured",bindOAuthSucceed:"Bind {provider} succeed",unbindOAuthSucceed:"Unbind {provider} succeed",loginOAuthFailed:"Login {provider} failed",bindOAuthFailed:"Bind {provider} failed",unbindOAuthFailed:"Unbind {provider} failed",switchPassport:"Switch passport",switchPassportFailed:"Switch passport failed",switchPassportSucceed:"Switch passport succeed",choosePassport:"Select a passport to switch",switch:"Switch",cancel:"Cancel",currentRole:"Current role: ",passport:"Passport",noPassports:"No passport to switch",getPassportFailed:"Get passports failed",loginRequired:"You have declined the authentication request",cancelAuth:"Cancel authentication"}};function OAuthProvider({children:a,locale:j,onBindOAuth:_e,onUnbindOAuth:et,onSwitchPassport:nt}){var zt;const tt=useReactive({baseUrl:"/",bindFnSession:void 0,bindAuthLoading:!1,unbindAuthLoading:!1}),ot=useReactive({open:!1,currentUser:null,passports:[],choosePassport:void 0,reset(){ot.open=!1,ot.currentUser=null,ot.passports=[],ot.choosePassport=void 0}}),ct=useReactive({user:null,checking:!1,loading:!1,error:"",status:"",reset(){ct.loading=!1,ct.checking=!1,ct.error="",ct.status=""}}),ft=useMemoizedFn((jt,Gt={})=>translate(translations$5,jt,j,"en",Gt)),ht=useCreation(()=>createAxios({baseURL:joinURL(tt.baseUrl,prefix$3)}),[tt.baseUrl,prefix$3]),dt=useMemoizedFn(async()=>{if(tt.baseUrl==="/")return window.blocklet;try{if(new URL(tt.baseUrl).host===window.location.host)return window.blocklet}catch{}return await getBlockletData(tt.baseUrl)}),vt=useMemoizedFn(async({sourceAppPid:jt}={})=>{var dn,St;const Gt=await dt(),Jt=getFederatedEnabled(Gt),Xt=getMaster(Gt);if(Jt&&(Xt!=null&&Xt.appPid)&&jt===(Xt==null?void 0:Xt.appPid)){const rt=await getBlockletData(Xt.appUrl);return((dn=rt==null?void 0:rt.settings)==null?void 0:dn.oauth)||{}}return((St=Gt==null?void 0:Gt.settings)==null?void 0:St.oauth)||{}}),$t=useMemoizedFn(async({sourceAppPid:jt}={})=>{const Gt=await vt({sourceAppPid:jt});return Object.entries(Gt).map(([Xt,dn])=>({...dn,provider:Xt})).filter(Xt=>Xt.enabled).sort((Xt,dn)=>(Xt==null?void 0:Xt.order)!==void 0&&(dn==null?void 0:dn.order)!==void 0?Xt.order-dn.order:(Xt==null?void 0:Xt.order)!==void 0?-1:1)}),xt=useMemoizedFn(async({provider:jt}={})=>{var Jt;const Gt=openPopup(joinURL(tt.baseUrl,WELLKNOWN_SERVICE_PATH_PREFIX,"/oauth/login",jt),{name:"oauth-login:popup"});try{const Xt=await runPopup({popup:Gt,closeTimeout:0});return Xt!=null&&Xt.response?(Jt=Xt.response)==null?void 0:Jt.code:null}catch(Xt){throw(Xt==null?void 0:Xt.message)==="Popup closed"?new Error(ft("cancelAuth")):Xt}}),At=async({session:jt,oauthItem:Gt}={})=>{var Jt,Xt;tt.bindFnSession=jt,tt.bindAuthLoading=!0;try{const dn=await xt(Gt),St=(Xt=(Jt=tt.bindFnSession)==null?void 0:Jt.user)==null?void 0:Xt.sourceAppPid;await ht.post("/bind",{locale:j,provider:Gt.provider,code:dn,sourceAppPid:St}),Toast$1.success(ft("bindOAuthSucceed",{provider:OAUTH_PROVIDER[Gt.provider]})),_e(Gt)}catch(dn){Toast$1.error(getApiErrorMessage(dn,ft("bindOAuthFailed",{provider:OAUTH_PROVIDER[Gt.provider]})))}finally{tt.bindAuthLoading=!1}},wt=async({session:jt,connectedAccount:Gt})=>{var Jt;tt.unbindAuthLoading=!0;try{const Xt=(Jt=jt==null?void 0:jt.user)==null?void 0:Jt.sourceAppPid;await ht.post("/unbind",{locale:j,connectedAccount:omit$1(Gt,["showProvider"]),sourceAppPid:Xt}),Toast$1.success(ft("unbindOAuthSucceed",{provider:OAUTH_PROVIDER[Gt.showProvider||Gt.provider]})),et(Gt)}catch(Xt){Toast$1.error(getApiErrorMessage(Xt,ft("unbindOAuthFailed",{provider:OAUTH_PROVIDER[Gt.showProvider||Gt.provider]})))}finally{tt.unbindAuthLoading=!1}},Ct=async(jt={})=>{try{const{data:Gt}=await ht.get("/passports");Gt.length?(ot.open=!0,ot.currentUser=jt,ot.passports=Gt||[]):Toast$1.error(ft("noPassports"))}catch(Gt){Toast$1.error(Gt.message||ft("getPassportFailed"))}},Rt=async()=>{try{const{data:jt}=await ht.post("/switch",{passportId:ot.choosePassport}),{sessionToken:Gt,refreshToken:Jt}=parseResponse(jt);nt({sessionToken:Gt,refreshToken:Jt}),Toast$1.success(ft("switchPassportSucceed"))}catch(jt){Toast$1.error(jt.message||ft("switchPassportFailed"))}},It=jt=>{tt.baseUrl=jt||"/"},Mt=useMemoizedFn(async({provider:jt}={},{action:Gt="login",...Jt}={})=>{var St,rt,st;const Xt=tt.baseUrl;if((Jt==null?void 0:Jt.sourceAppPid)===((St=window.blocklet)==null?void 0:St.appPid))tt.baseUrl=((rt=window.blocklet)==null?void 0:rt.appUrl)||"/";else if(Jt!=null&&Jt.sourceAppPid){const ut=await dt(),pt=getFederatedEnabled(ut),mt=getMaster(ut);pt&&(mt!=null&&mt.appPid)&&(Jt==null?void 0:Jt.sourceAppPid)===(mt==null?void 0:mt.appPid)&&(tt.baseUrl=mt.appUrl)}const dn=(st=window==null?void 0:window.blocklet)==null?void 0:st.componentId;try{const ut=await xt({provider:jt});if(ut){const pt={...Jt,action:Gt,locale:j,code:ut,provider:jt,componentId:dn,visitorId:getVisitorId$2()};isUndefined$2(pt.inviter)&&window.localStorage.getItem("inviter")&&(pt.inviter=window.localStorage.getItem("inviter"));const{data:mt}=await ht.post("/login",pt);return parseResponse(mt)}return tt.baseUrl=Xt,null}catch(ut){const pt=getApiErrorMessage(ut,ft("loginOAuthFailed",{provider:OAUTH_PROVIDER[jt]}));throw tt.baseUrl=Xt,new Error(pt)}}),Ot=useMemoizedFn(()=>{});return jsxRuntimeExports.jsxs(Provider$7,{value:{locale:j,getOAuthConfigs:vt,getOAuthConfigList:$t,bindOAuth:At,unbindOAuth:wt,loginOAuth:Mt,logoutOAuth:Ot,switchOAuthPassport:Ct,baseUrl:tt.baseUrl,setBaseUrl:It,oauthState:ct,unbindAuthLoading:tt.unbindAuthLoading,bindAuthLoading:tt.bindAuthLoading,t:ft},children:[a,jsxRuntimeExports.jsxs(Confirm,{open:ot.open,title:ft("switchPassport"),onConfirm:Rt,onCancel:()=>ot.reset,confirmButton:{text:ft("switch"),props:{variant:"contained",color:"primary"}},cancelButton:{text:ft("cancel"),props:{color:"inherit"}},PaperProps:{style:{width:600}},children:[jsxRuntimeExports.jsxs(Box,{mb:2,children:[ft("currentRole"),(zt=ot.currentUser)==null?void 0:zt.role]}),jsxRuntimeExports.jsx(CardSelector,{width:160,height:240,cardSpace:24,list:[()=>jsxRuntimeExports.jsx(SvgGuest,{}),...ot.passports.map(jt=>({src:jt.display,name:jt.title}))],onSelect:jt=>{ot.choosePassport=jt>0?ot.passports[jt-1].id:void 0},defaultIndex:0})]})]})}function useOAuth(){const a=reactExports.useContext(OAuthContext);return omit$1(a,["locale","getToken"])}OAuthProvider.propTypes={children:PropTypes.node.isRequired,locale:PropTypes.string,onBindOAuth:PropTypes.func,onUnbindOAuth:PropTypes.func,onSwitchPassport:PropTypes.func};OAuthProvider.defaultProps={locale:"en",onBindOAuth:noop$6,onUnbindOAuth:noop$6,onSwitchPassport:noop$6};function getPermanentDid(a){return a==null?void 0:a.did}function getConnectedAccounts(a){var j;return(a==null?void 0:a.connectedAccounts)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.connectedAccounts)||[]}function getSourceProvider(a){var j;return(a==null?void 0:a.sourceProvider)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.sourceProvider)||"wallet"}function getSourceProviders(a){return getConnectedAccounts(a).map(_e=>_e.provider)}function getConnectedDids(a){return getConnectedAccounts(a).map(et=>et.did)}function getWallet(a){return getConnectedAccounts(a).find(et=>et.provider==="wallet")}function getWalletDid(a){const j=getWallet(a);return j==null?void 0:j.did}function useDid({session:a}){const[j,_e]=reactExports.useState({did:"",wallet:"",walletDid:"",permanentDid:"",connectedDids:[],connectedAccounts:[],sourceProvider:"",sourceProviders:[]});return reactExports.useEffect(()=>{if(a!=null&&a.user){const et=getPermanentDid(a.user),nt=getWalletDid(a.user),tt=getConnectedAccounts(a.user),ot=getConnectedDids(a.user),ct=getWallet(a.user),ft=getSourceProvider(a.user),ht=getSourceProviders(a.user);_e({did:et,wallet:ct,walletDid:nt,permanentDid:et,connectedDids:ot,connectedAccounts:tt,sourceProvider:ft,sourceProviders:ht})}},[a==null?void 0:a.user]),j}function WrapDid({session:a,children:j}){const _e=useDid({session:a});return j instanceof Function?j(_e):null}WrapDid.propTypes={session:PropTypes.object.isRequired,children:PropTypes.func.isRequired};const api$3=createAxios();async function getMasterToken(){const a=joinURL(AUTH_SERVICE_PREFIX,"/api/federated/loginMaster"),{data:j}=await api$3.post(a);return j}async function mountFederatedIframe({mode:a,refreshToken:j="",blocklet:_e}){const et=getMaster(_e);return new Promise(nt=>{if(!["login","logout"].includes(a)){nt();return}const tt=document.createElement("iframe");tt.style.display="none",tt.onload=async()=>{await sleep$1(500),document.body.removeChild(tt),nt()},tt.src=joinURL(et.appUrl,AUTH_SERVICE_PREFIX,`functional/federated?mode=${a}&refreshToken=${j}`),document.body.appendChild(tt)})}async function loginFederatedMaster(a={},{fetchToken:j=!0,blocklet:_e}={}){if(!getFederatedEnabled())return console.warn("Federated not enabled"),null;let nt,tt;j&&({sessionToken:nt,refreshToken:tt}=await getMasterToken());const ot=getMaster(_e),ct=joinURL(ot.appUrl,AUTH_SERVICE_PREFIX,"/api/federated/login"),ft={withCredentials:!0};nt&&(ft.headers={Authorization:`Bearer ${nt}`});const{data:ht}=await api$3.post(ct,a,ft);return tt&&await mountFederatedIframe({mode:"login",refreshToken:tt,blocklet:_e}),ht}const translations$4={zh:{notFoundFederatedInfo:"未发现统一登录的信息",autoLoginFederatedFailed:"自动登录统一登录账号失败",manualLoginFederatedFailed:"手动登录统一登录账号失败"},en:{notFoundFederatedInfo:"No federated login info detected",autoLoginFederatedFailed:"Auto login federated account failed",manualLoginFederatedFailed:"Manual login federated account failed"}};function useFederated({locale:a,handleLoginResult:j,login:_e,handleRefreshUser:et}){const nt=useReactive({federatedMaster:null}),tt=getFederatedEnabled(),ot=getMaster(),ct=getConfig(),ft=useMemoizedFn(async(ht=noop$6,dt={},vt={})=>{var At,wt;typeof vt=="string"&&(vt={origin:vt});let{mode:$t="auto",...xt}=dt;if(vt.mode&&($t=vt.mode),$t==="auto"){if(!tt)throw new Error(translations$4[a].notFoundFederatedInfo);try{const Ct=await loginFederatedMaster({appId:globalThis.blocklet.appId},{fetchToken:!1});j({...Ct,encrypted:!1}),await et({showProgress:!0}),ht()}catch(Ct){const Rt=Ct!=null&&Ct.response?(At=Ct.response)==null?void 0:At.data:Ct==null?void 0:Ct.message;ht(Rt||translations$4[a].autoLoginFederatedFailed)}}else if($t==="manual")try{_e(async()=>{await loginFederatedMaster({appId:globalThis.blocklet.appId,onlyWriteCookie:!0}),ht()},{...xt},vt)}catch(Ct){const Rt=Ct!=null&&Ct.response?(wt=Ct.response)==null?void 0:wt.data:Ct==null?void 0:Ct.message;ht(Rt||translations$4[a].autoLoginFederatedFailed)}});return{master:ot,config:ct,federatedMaster:nt.federatedMaster,federatedEnabled:tt,loginFederated:ft,loginFederatedMaster}}async function renewRefreshToken(a,{authServicePrefix:j,serviceHost:_e}){if(!a)throw new Error("Refresh token not found");const et=createAxios({baseURL:_e,timeout:10*1e3,headers:{authorization:`Bearer ${encodeURIComponent(a)}`}}),{data:nt}=await et.post(joinURL(j,"/refreshSession"));return nt}function createService({refreshTokenStorage:a,sessionTokenStorage:j,serviceHost:_e,authServicePrefix:et,onRefreshTokenError:nt,onRefreshTokenSuccess:tt},ot={}){let ct=null;const ft=createAxios({baseURL:_e,timeout:30*1e3,...ot}),{getToken:ht,setToken:dt,removeToken:vt}=j,{getToken:$t,setToken:xt,removeToken:At}=a;return ft.interceptors.request.use(async wt=>{if(j.engine==="ls"){const Ct=ht();Ct&&(wt.headers.authorization=`Bearer ${encodeURIComponent(Ct)}`)}return ct&&await ct,wt},wt=>Promise.reject(wt)),ft.interceptors.response.use(wt=>wt,async wt=>{var Rt;const Ct=wt.config;if(Ct.headers={...Ct==null?void 0:Ct.headers},((Rt=wt==null?void 0:wt.response)==null?void 0:Rt.status)===401&&!Ct._retry){Ct._retry=!0,ct||(ct=renewRefreshToken($t(),{serviceHost:_e,authServicePrefix:et}));try{const It=await ct;return dt(It.nextToken),xt(It.nextRefreshToken),typeof tt=="function"&&tt(It),ft(Ct)}catch(It){return vt(),At(),typeof nt=="function"&&nt(),Promise.reject(It)}finally{ct=null}}return Promise.reject(wt)}),ft}class ErrorToken extends Error{}const LANG_COOKIE_NAME="nf_lang",INTERVAL_TIME=1e3,MAX_RETRY_COUNT=10,decrypt=a=>decrypt$1(a,localStorage.getItem("__encKey"),localStorage.getItem("__decKey"));function useSessionToken({state:a,pageState:j,serviceHost:_e,sessionTokenStorage:et,refreshTokenStorage:nt,lazyRefreshToken:tt,apiOptions:ot={}}){const[ct,ft]=reactExports.useState(0),[ht,dt]=reactExports.useState(INTERVAL_TIME),{getToken:vt,setToken:$t,removeToken:xt}=et,{getToken:At,setToken:wt,removeToken:Ct}=nt,Rt=useCreation(()=>createAxios({baseURL:_e,timeout:10*1e3}),[_e]),It=()=>{xt(),Ct()},Mt=useCreation(()=>createService({sessionTokenStorage:et,refreshTokenStorage:nt,serviceHost:_e,authServicePrefix:j.prefix,onRefreshTokenError(){It(),a.user&&(a.user=null)}},ot),[_e,j.prefix]),Ot=()=>{const rt=getCookieOptions({returnDomain:!1});Cookie.remove("connected_did",rt),Cookie.remove("connected_pk",rt),Cookie.remove("connected_app",rt),Cookie.remove("connected_wallet_os",rt),It()},zt=useMemoizedFn(()=>{const rt=Cookie.get(LANG_COOKIE_NAME)||getBrowserLang();rt!==j.currentLocale&&(j.currentLocale=rt)}),jt=useMemoizedFn(async({showProgress:rt=!1,requestFn:st=null,onlyRefreshToken:ut=!1})=>{var pt;try{if(a.loading)return console.warn("SessionProvider.refresh is currently in progress, call it will be noop"),{loading:!0};rt&&(a.loading=!0);const{data:mt,status:Et}=await st();if(Et===400&&(It(),a.user=null,a.error=""),mt.error)throw a.error=mt.error,a.open=!1,new Error(mt.error);if(mt.user)mt.nextToken&&($t(mt.nextToken),mt.nextRefreshToken&&wt(mt.nextRefreshToken)),ut||(a.open=!1,a.user=mt.user,a.provider=mt.provider,a.walletOS=mt.walletOS),vt()||(Toast$1.error("Can't write session token, please use https url to access this page"),It());else throw rt&&(a.loading=j.autoConnect),a.open=j.autoConnect,a.user=null,a.provider="",a.walletOS="",new ErrorToken("Invalid token");return{data:mt,status:Et}}catch(mt){throw console.error("SessionProvider.refresh error",mt),a.open=!1,a.error=mt.message,((pt=mt==null?void 0:mt.response)==null?void 0:pt.status)===400?new ErrorToken("Invalid token"):mt}finally{rt&&(a.loading=!1)}}),Gt=useMemoizedFn(async(rt=!1,st=!1)=>{const ut=getVisitorId$2()||"",pt=()=>Rt.post(withQuery(joinURL(j.prefix,"/refreshSession"),{visitorId:ut}),null,{headers:{authorization:`Bearer ${encodeURIComponent(At())}`}});dt(void 0);try{await jt({showProgress:rt,requestFn:pt,onlyRefreshToken:st}),ft(0),dt(INTERVAL_TIME)}catch(mt){mt instanceof ErrorToken?(console.warn("refresh token failed, remove all tokens"),ft(0),It(),dt(INTERVAL_TIME)):(console.error("refresh token failed, unexpected error:",mt),ft(ct+1),await sleep$1(INTERVAL_TIME),ct>=MAX_RETRY_COUNT?(ft(0),dt(void 0)):dt(INTERVAL_TIME))}}),Jt=useMemoizedFn((rt=!1)=>{if(tt)return;const st=vt();let ut=rt;const pt=new Date().getTime();if(st)try{const{exp:mt,iat:Et}=o(st);mt*1e3-pt<pt-Et*1e3&&(ut=!0)}catch{ut=!0}else ut=!0;ut&&(At()?Gt(!1,!0):(Ot(),a.user&&(a.user=null)))}),Xt=useMemoizedFn(async({showProgress:rt=!1,forceRefreshToken:st=!1}={})=>{const ut=getVisitorId$2()||"",pt=()=>Mt.get(withQuery(joinURL(j.prefix,"/session"),{visitorId:ut}));try{if(st)throw new ErrorToken("need force refresh token");await jt({showProgress:rt,requestFn:pt})}catch(mt){mt instanceof ErrorToken&&(console.warn("try to refresh token"),await Gt())}}),dn=useMemoizedFn(()=>{if(a.initialized&&a.user)try{Jt()}catch{}}),St=useMemoizedFn(rt=>{const st=Array.isArray(rt)?rt[0]:rt,{loginToken:ut,sessionToken:pt,refreshToken:mt,visitorId:Et,encrypted:Tt=!0}=st,yt=ut||pt;yt&&($t(Tt?decrypt(yt):yt),mt&&wt(Tt?decrypt(mt):mt)),Et&&setVisitorId(Tt?decrypt(Et):Et)});return useInterval$1(()=>{zt(),Jt()},ht,{immediate:!0}),{renewToken:dn,handleRefreshUser:Xt,handleRefreshToken:Gt,handleLoginResult:St,decrypt,removeToken:It,clearSession:Ot,getSessionToken:vt,getRefreshToken:At,setRefreshToken:wt,setSessionToken:$t,service:Mt}}var pathToRegexp$2={exports:{}},isarray$2=Array.isArray||function(a){return Object.prototype.toString.call(a)=="[object Array]"},isarray$1=isarray$2;pathToRegexp$2.exports=pathToRegexp;pathToRegexp$2.exports.parse=parse$f;pathToRegexp$2.exports.compile=compile;pathToRegexp$2.exports.tokensToFunction=tokensToFunction;pathToRegexp$2.exports.tokensToRegExp=tokensToRegExp;var PATH_REGEXP=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse$f(a,j){for(var _e=[],et=0,nt=0,tt="",ot=j&&j.delimiter||"/",ct;(ct=PATH_REGEXP.exec(a))!=null;){var ft=ct[0],ht=ct[1],dt=ct.index;if(tt+=a.slice(nt,dt),nt=dt+ft.length,ht){tt+=ht[1];continue}var vt=a[nt],$t=ct[2],xt=ct[3],At=ct[4],wt=ct[5],Ct=ct[6],Rt=ct[7];tt&&(_e.push(tt),tt="");var It=$t!=null&&vt!=null&&vt!==$t,Mt=Ct==="+"||Ct==="*",Ot=Ct==="?"||Ct==="*",zt=$t||ot,jt=At||wt,Gt=$t||(typeof _e[_e.length-1]=="string"?_e[_e.length-1]:"");_e.push({name:xt||et++,prefix:$t||"",delimiter:zt,optional:Ot,repeat:Mt,partial:It,asterisk:!!Rt,pattern:jt?escapeGroup(jt):Rt?".*":restrictBacktrack(zt,Gt)})}return nt<a.length&&(tt+=a.substr(nt)),tt&&_e.push(tt),_e}function restrictBacktrack(a,j){return!j||j.indexOf(a)>-1?"[^"+escapeString(a)+"]+?":escapeString(j)+"|(?:(?!"+escapeString(j)+")[^"+escapeString(a)+"])+?"}function compile(a,j){return tokensToFunction(parse$f(a,j),j)}function encodeURIComponentPretty(a){return encodeURI(a).replace(/[\/?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function encodeAsterisk(a){return encodeURI(a).replace(/[?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function tokensToFunction(a,j){for(var _e=new Array(a.length),et=0;et<a.length;et++)typeof a[et]=="object"&&(_e[et]=new RegExp("^(?:"+a[et].pattern+")$",flags(j)));return function(nt,tt){for(var ot="",ct=nt||{},ft=tt||{},ht=ft.pretty?encodeURIComponentPretty:encodeURIComponent,dt=0;dt<a.length;dt++){var vt=a[dt];if(typeof vt=="string"){ot+=vt;continue}var $t=ct[vt.name],xt;if($t==null)if(vt.optional){vt.partial&&(ot+=vt.prefix);continue}else throw new TypeError('Expected "'+vt.name+'" to be defined');if(isarray$1($t)){if(!vt.repeat)throw new TypeError('Expected "'+vt.name+'" to not repeat, but received `'+JSON.stringify($t)+"`");if($t.length===0){if(vt.optional)continue;throw new TypeError('Expected "'+vt.name+'" to not be empty')}for(var At=0;At<$t.length;At++){if(xt=ht($t[At]),!_e[dt].test(xt))throw new TypeError('Expected all "'+vt.name+'" to match "'+vt.pattern+'", but received `'+JSON.stringify(xt)+"`");ot+=(At===0?vt.prefix:vt.delimiter)+xt}continue}if(xt=vt.asterisk?encodeAsterisk($t):ht($t),!_e[dt].test(xt))throw new TypeError('Expected "'+vt.name+'" to match "'+vt.pattern+'", but received "'+xt+'"');ot+=vt.prefix+xt}return ot}}function escapeString(a){return a.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function escapeGroup(a){return a.replace(/([=!:$\/()])/g,"\\$1")}function attachKeys(a,j){return a.keys=j,a}function flags(a){return a&&a.sensitive?"":"i"}function regexpToRegexp(a,j){var _e=a.source.match(/\((?!\?)/g);if(_e)for(var et=0;et<_e.length;et++)j.push({name:et,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return attachKeys(a,j)}function arrayToRegexp(a,j,_e){for(var et=[],nt=0;nt<a.length;nt++)et.push(pathToRegexp(a[nt],j,_e).source);var tt=new RegExp("(?:"+et.join("|")+")",flags(_e));return attachKeys(tt,j)}function stringToRegexp(a,j,_e){return tokensToRegExp(parse$f(a,_e),j,_e)}function tokensToRegExp(a,j,_e){isarray$1(j)||(_e=j||_e,j=[]),_e=_e||{};for(var et=_e.strict,nt=_e.end!==!1,tt="",ot=0;ot<a.length;ot++){var ct=a[ot];if(typeof ct=="string")tt+=escapeString(ct);else{var ft=escapeString(ct.prefix),ht="(?:"+ct.pattern+")";j.push(ct),ct.repeat&&(ht+="(?:"+ft+ht+")*"),ct.optional?ct.partial?ht=ft+"("+ht+")?":ht="(?:"+ft+"("+ht+"))?":ht=ft+"("+ht+")",tt+=ht}}var dt=escapeString(_e.delimiter||"/"),vt=tt.slice(-dt.length)===dt;return et||(tt=(vt?tt.slice(0,-dt.length):tt)+"(?:"+dt+"(?=$))?"),nt?tt+="$":tt+=et&&vt?"":"(?="+dt+"|$)",attachKeys(new RegExp("^"+tt,flags(_e)),j)}function pathToRegexp(a,j,_e){return isarray$1(j)||(_e=j||_e,j=[]),_e=_e||{},a instanceof RegExp?regexpToRegexp(a,j):isarray$1(a)?arrayToRegexp(a,j,_e):stringToRegexp(a,j,_e)}var pathToRegexpExports=pathToRegexp$2.exports;const pathToRegexp$1=getDefaultExportFromCjs$1(pathToRegexpExports);function useProtectedRoutes({protectedRoutes:a=[]}){const j=useCreation(()=>a.map(et=>pathToRegexp$1(et,[])),[a]);return{checkMatch:useMemoizedFn((et=window.location.pathname)=>j.some(nt=>nt.exec(et)))}}const SessionContext$1=reactExports.createContext();var dist$1={},eventemitter3={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function nt(ft,ht,dt){this.fn=ft,this.context=ht,this.once=dt||!1}function tt(ft,ht,dt,vt,$t){if(typeof dt!="function")throw new TypeError("The listener must be a function");var xt=new nt(dt,vt||ft,$t),At=_e?_e+ht:ht;return ft._events[At]?ft._events[At].fn?ft._events[At]=[ft._events[At],xt]:ft._events[At].push(xt):(ft._events[At]=xt,ft._eventsCount++),ft}function ot(ft,ht){--ft._eventsCount===0?ft._events=new et:delete ft._events[ht]}function ct(){this._events=new et,this._eventsCount=0}ct.prototype.eventNames=function(){var ht=[],dt,vt;if(this._eventsCount===0)return ht;for(vt in dt=this._events)j.call(dt,vt)&&ht.push(_e?vt.slice(1):vt);return Object.getOwnPropertySymbols?ht.concat(Object.getOwnPropertySymbols(dt)):ht},ct.prototype.listeners=function(ht){var dt=_e?_e+ht:ht,vt=this._events[dt];if(!vt)return[];if(vt.fn)return[vt.fn];for(var $t=0,xt=vt.length,At=new Array(xt);$t<xt;$t++)At[$t]=vt[$t].fn;return At},ct.prototype.listenerCount=function(ht){var dt=_e?_e+ht:ht,vt=this._events[dt];return vt?vt.fn?1:vt.length:0},ct.prototype.emit=function(ht,dt,vt,$t,xt,At){var wt=_e?_e+ht:ht;if(!this._events[wt])return!1;var Ct=this._events[wt],Rt=arguments.length,It,Mt;if(Ct.fn){switch(Ct.once&&this.removeListener(ht,Ct.fn,void 0,!0),Rt){case 1:return Ct.fn.call(Ct.context),!0;case 2:return Ct.fn.call(Ct.context,dt),!0;case 3:return Ct.fn.call(Ct.context,dt,vt),!0;case 4:return Ct.fn.call(Ct.context,dt,vt,$t),!0;case 5:return Ct.fn.call(Ct.context,dt,vt,$t,xt),!0;case 6:return Ct.fn.call(Ct.context,dt,vt,$t,xt,At),!0}for(Mt=1,It=new Array(Rt-1);Mt<Rt;Mt++)It[Mt-1]=arguments[Mt];Ct.fn.apply(Ct.context,It)}else{var Ot=Ct.length,zt;for(Mt=0;Mt<Ot;Mt++)switch(Ct[Mt].once&&this.removeListener(ht,Ct[Mt].fn,void 0,!0),Rt){case 1:Ct[Mt].fn.call(Ct[Mt].context);break;case 2:Ct[Mt].fn.call(Ct[Mt].context,dt);break;case 3:Ct[Mt].fn.call(Ct[Mt].context,dt,vt);break;case 4:Ct[Mt].fn.call(Ct[Mt].context,dt,vt,$t);break;default:if(!It)for(zt=1,It=new Array(Rt-1);zt<Rt;zt++)It[zt-1]=arguments[zt];Ct[Mt].fn.apply(Ct[Mt].context,It)}}return!0},ct.prototype.on=function(ht,dt,vt){return tt(this,ht,dt,vt,!1)},ct.prototype.once=function(ht,dt,vt){return tt(this,ht,dt,vt,!0)},ct.prototype.removeListener=function(ht,dt,vt,$t){var xt=_e?_e+ht:ht;if(!this._events[xt])return this;if(!dt)return ot(this,xt),this;var At=this._events[xt];if(At.fn)At.fn===dt&&(!$t||At.once)&&(!vt||At.context===vt)&&ot(this,xt);else{for(var wt=0,Ct=[],Rt=At.length;wt<Rt;wt++)(At[wt].fn!==dt||$t&&!At[wt].once||vt&&At[wt].context!==vt)&&Ct.push(At[wt]);Ct.length?this._events[xt]=Ct.length===1?Ct[0]:Ct:ot(this,xt)}return this},ct.prototype.removeAllListeners=function(ht){var dt;return ht?(dt=_e?_e+ht:ht,this._events[dt]&&ot(this,dt)):(this._events=new et,this._eventsCount=0),this},ct.prototype.off=ct.prototype.removeListener,ct.prototype.addListener=ct.prototype.on,ct.prefixed=_e,ct.EventEmitter=ct,a.exports=ct})(eventemitter3);var eventemitter3Exports=eventemitter3.exports,priorityQueue={},lowerBound$1={};Object.defineProperty(lowerBound$1,"__esModule",{value:!0});function lowerBound(a,j,_e){let et=0,nt=a.length;for(;nt>0;){const tt=nt/2|0;let ot=et+tt;_e(a[ot],j)<=0?(et=++ot,nt-=tt+1):nt=tt}return et}lowerBound$1.default=lowerBound;Object.defineProperty(priorityQueue,"__esModule",{value:!0});const lower_bound_1=lowerBound$1;class PriorityQueue{constructor(){this._queue=[]}enqueue(j,_e){_e=Object.assign({priority:0},_e);const et={priority:_e.priority,run:j};if(this.size&&this._queue[this.size-1].priority>=_e.priority){this._queue.push(et);return}const nt=lower_bound_1.default(this._queue,et,(tt,ot)=>ot.priority-tt.priority);this._queue.splice(nt,0,et)}dequeue(){const j=this._queue.shift();return j==null?void 0:j.run}filter(j){return this._queue.filter(_e=>_e.priority===j.priority).map(_e=>_e.run)}get size(){return this._queue.length}}priorityQueue.default=PriorityQueue;Object.defineProperty(dist$1,"__esModule",{value:!0});const EventEmitter$4=eventemitter3Exports,p_timeout_1=pTimeoutExports,priority_queue_1=priorityQueue,empty=()=>{},timeoutError=new p_timeout_1.TimeoutError;class PQueue extends EventEmitter$4{constructor(j){var _e,et,nt,tt;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=empty,this._resolveIdle=empty,j=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:priority_queue_1.default},j),!(typeof j.intervalCap=="number"&&j.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(et=(_e=j.intervalCap)===null||_e===void 0?void 0:_e.toString())!==null&&et!==void 0?et:""}\` (${typeof j.intervalCap})`);if(j.interval===void 0||!(Number.isFinite(j.interval)&&j.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(tt=(nt=j.interval)===null||nt===void 0?void 0:nt.toString())!==null&&tt!==void 0?tt:""}\` (${typeof j.interval})`);this._carryoverConcurrencyCount=j.carryoverConcurrencyCount,this._isIntervalIgnored=j.intervalCap===1/0||j.interval===0,this._intervalCap=j.intervalCap,this._interval=j.interval,this._queue=new j.queueClass,this._queueClass=j.queueClass,this.concurrency=j.concurrency,this._timeout=j.timeout,this._throwOnTimeout=j.throwOnTimeout===!0,this._isPaused=j.autoStart===!1}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=empty,this._pendingCount===0&&(this._resolveIdle(),this._resolveIdle=empty,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){const j=Date.now();if(this._intervalId===void 0){const _e=this._intervalEnd-j;if(_e<0)this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;else return this._timeoutId===void 0&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},_e)),!0}return!1}_tryToStartAnother(){if(this._queue.size===0)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const j=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const _e=this._queue.dequeue();return _e?(this.emit("active"),_e(),j&&this._initializeIntervalIfNeeded(),!0):!1}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||this._intervalId!==void 0||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){this._intervalCount===0&&this._pendingCount===0&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(j){if(!(typeof j=="number"&&j>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${j}\` (${typeof j})`);this._concurrency=j,this._processQueue()}async add(j,_e={}){return new Promise((et,nt)=>{const tt=async()=>{this._pendingCount++,this._intervalCount++;try{const ot=this._timeout===void 0&&_e.timeout===void 0?j():p_timeout_1.default(Promise.resolve(j()),_e.timeout===void 0?this._timeout:_e.timeout,()=>{(_e.throwOnTimeout===void 0?this._throwOnTimeout:_e.throwOnTimeout)&&nt(timeoutError)});et(await ot)}catch(ot){nt(ot)}this._next()};this._queue.enqueue(tt,_e),this._tryToStartAnother(),this.emit("add")})}async addAll(j,_e){return Promise.all(j.map(async et=>this.add(et,_e)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size!==0)return new Promise(j=>{const _e=this._resolveEmpty;this._resolveEmpty=()=>{_e(),j()}})}async onIdle(){if(!(this._pendingCount===0&&this._queue.size===0))return new Promise(j=>{const _e=this._resolveIdle;this._resolveIdle=()=>{_e(),j()}})}get size(){return this._queue.size}sizeBy(j){return this._queue.filter(j).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(j){this._timeout=j}}var _default$1=dist$1.default=PQueue;const data$s={width:24,height:24,body:'<path fill="currentColor" d="M10 22L0 12L10 2l1.775 1.775L3.55 12l8.225 8.225L10 22Z"/>'},data$r={width:24,height:24,body:'<path fill="currentColor" d="m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275q-.275-.275-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7q.275-.275.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275q.275.275.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7q-.275.275-.7.275t-.7-.275L12 13.4Z"/>'},Transition=reactExports.forwardRef(function a(j,_e){return jsxRuntimeExports.jsx(Slide,{direction:"up",ref:_e,...j})}),BackdropWrap=reactExports.memo(reactExports.forwardRef((a,j)=>reactExports.createElement(Backdrop,{ref:j,style:{backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(3px)",touchAction:"none"},...a,key:"background"})));function withDialog(a){function j({popup:_e,open:et,dialogStyle:nt,responsive:tt,...ot}){const ct=useMediaQuery("(max-width:640px)"),ft=reactExports.useRef(null);if(!_e&&!tt)return jsxRuntimeExports.jsx(a,{...ot});const ht=(vt,$t)=>{["backdropClick","escapeKeyDown"].includes($t)||ot==null||ot.onClose()},dt=tt?!0:et;return ct?jsxRuntimeExports.jsxs(SwipeableDrawer,{disableSwipeToOpen:!0,open:dt,anchor:"bottom",drawerDragger:ft.current,onClose:ht,slots:{backdrop:BackdropWrap},PaperProps:{sx:{boxShadow:"0px -2px 16px 0px rgba(0, 0, 0, 0.08)",borderRadius:3,borderBottomLeftRadius:0,borderBottomRightRadius:0}},children:[jsxRuntimeExports.jsx(Box,{ref:ft,sx:{padding:"16px 32px",margin:"-8px auto -16px",zIndex:1},children:jsxRuntimeExports.jsx(Box,{sx:{width:"48px",height:"4px",borderRadius:"100vw",backgroundColor:"rgba(0, 0, 0, 0.2)"}})}),jsxRuntimeExports.jsx(Box,{sx:{touchAction:"none",maxWidth:"100%",width:ct?"100%":500,height:ct?"100%":"auto"},children:jsxRuntimeExports.jsx(a,{...ot,hideCloseButton:!0,isFullScreen:ct,mode:"dialog"})})]}):jsxRuntimeExports.jsx(Dialog$1,{open:dt,fullScreen:ct,slots:{backdrop:BackdropWrap},maxWidth:"lg",sx:[{height:"auto"},ct?{top:"unset"}:{}],onClose:ht,...ct?{TransitionComponent:Transition,PaperProps:{boxShadow:"0px -2px 16px 0px rgba(0, 0, 0, 0.08)",sx:{borderRadius:3,borderBottomLeftRadius:0,borderBottomRightRadius:0}}}:{PaperProps:{boxShadow:"0px -2px 16px 0px rgba(0, 0, 0, 0.08)",sx:{borderRadius:3}}},children:jsxRuntimeExports.jsx(DialogContent,{sx:{maxWidth:"100%",maxHeight:"100%",p:"0px !important"},children:jsxRuntimeExports.jsx(Box,{sx:{maxWidth:"100%",width:ct?"100%":500,height:ct?"100%":"auto"},children:jsxRuntimeExports.jsx(a,{...ot,hideCloseButton:(ot==null?void 0:ot.hideCloseButton)??!1,isFullScreen:ct,mode:"dialog"})})})})}return j.propTypes={responsive:PropTypes.bool,popup:PropTypes.bool,open:PropTypes.bool,dialogStyle:PropTypes.object},j.defaultProps={responsive:!1,popup:!1,open:!1,dialogStyle:{}},j}const BlockletContext$1=reactExports.createContext(null),{Provider:Provider$6,Consumer:Consumer$6}=BlockletContext$1;function BlockletProvider$1({children:a,baseUrl:j="",loading:_e=null}){const[et,nt]=reactExports.useState(null),tt=useMemoizedFn(async()=>{if(!j||window.location.href.startsWith(j))throw new Error("no blocklet data");const ot=new URL("__blocklet__.js",j);return ot.searchParams.set("type","json"),await(await fetch(ot.href)).json()});return useAsyncEffect(async()=>{try{const ot=await tt();nt(ot)}catch{const ot=globalThis.blocklet||globalThis.env;nt(ot)}},[j]),jsxRuntimeExports.jsx(Provider$6,{value:et,children:et?a:_e||null})}function useBlockletContext$2(){return{blocklet:reactExports.useContext(BlockletContext$1)}}function Loading({size:a=92.5,loadingSize:j=30}){return jsxRuntimeExports.jsx(Box,{sx:{height:"100%",minWidth:a,minHeight:a,display:"flex",justifyContent:"center",alignItems:"center"},children:jsxRuntimeExports.jsx(CircularProgress,{size:j,sx:{color:colors$1.foregroundsFgInteractive}})})}Loading.propTypes={size:PropTypes.number,loadingSize:PropTypes.number};function withBlocklet(a){function j({...et}){const{blocklet:nt}=useBlockletContext$2();return jsxRuntimeExports.jsx(a,{...et,blocklet:nt})}function _e({baseUrl:et,...nt}){return jsxRuntimeExports.jsx(BlockletProvider$1,{baseUrl:et,loading:jsxRuntimeExports.jsx(Loading,{}),children:jsxRuntimeExports.jsx(j,{baseUrl:et,...nt})})}return _e}const keyPair=tweetnacl.box.keyPair();function useSecurity(){const[a,j]=useLocalStorageState("__encKey",{defaultValue:encodeKey(keyPair.publicKey),deserializer:ot=>ot,serializer:ot=>ot}),[_e,et]=useLocalStorageState("__decKey",{defaultValue:encodeKey(keyPair.secretKey),deserializer:ot=>ot,serializer:ot=>ot});return reactExports.useEffect(()=>{localStorage.getItem("__encKey")||j(encodeKey(keyPair.publicKey)),localStorage.getItem("__decKey")||et(encodeKey(keyPair.secretKey))},[]),{encryptKey:a,decryptKey:_e,decrypt:(ot,ct=a,ft=_e)=>decrypt$1(ot,ct,ft),encrypt:(ot,ct=a)=>encrypt(ot,ct)}}function useApps({blocklet:a,action:j,sourceAppPid:_e,connectState:et,enableSwitchApp:nt}){var ht,dt;const tt=reactExports.useContext(SessionContext$1),ot=useCreation(()=>{var vt;return nt===!0?!0:!(nt===!1||(vt=tt==null?void 0:tt.session)!=null&&vt.user&&!["login"].includes(j))},[j,(ht=tt==null?void 0:tt.session)==null?void 0:ht.user]),ct=useCreation(()=>{if(isUndefined$2(_e)){const vt=getFederatedEnabled(a),$t=getMaster(a);if(vt&&($t!=null&&$t.appPid))return $t.appPid}return _e},[_e]);return{appInfoList:useCreation(()=>getApps(a).filter($t=>{var xt;return ot?!0:isUndefined$2(_e)?isUndefined$2(et.sourceAppPid)?(xt=tt==null?void 0:tt.session)!=null&&xt.user?$t.sourceAppPid===tt.session.user.sourceAppPid:$t.sourceAppPid===ct:$t.sourceAppPid===et.sourceAppPid:$t.sourceAppPid===_e}),[ot,_e,et.sourceAppPid,ct,(dt=tt==null?void 0:tt.session)==null?void 0:dt.user]),autoGenerateSourceAppPid:ct,canSwitchApp:ot}}const translations$3={en:{generateError:"Request new qrcode failed",checkError:"Status check failed!",scanned:"Use your wallet to continue operation...",mfaCode:"We sent you a verification request on your DID Wallet, enter the digits below to confirm.",refresh:"Refresh",open:"Open in DID Wallet",openDidConnect:"Open DID Connect",error:"We encountered some errors when processing the request",invalidSessionStatus:"Invalid session status",success:"Success",wait:"Wait a second",waiting:"Waiting for next workflow to complete...",failed:"Failed",oops:"Oops",forbidden:"Login user and wallet user mismatch, please logout, then login to retry",webWallet:"Auth with Web Wallet",cancel:"Cancel",close:"Close",retry:"Retry",retryForbidden:"Please start this workflow from the beginning",getWallet:"Don't have the DID Wallet? Get it now.",back:"Back",connect:"Use the following to connect",connecting:"Connecting to your",connectingSuffix:"Or use the following to connect",connected:"Connected to your",busyTitle:"Busy",busyDesc:"Busy processing another DID Connect request",loginWithBefore:"Login with ",loginWithAfter:"",bindOAuth:"Bind third party login",bind:"Bind ",loginOAuthFailed:"Login with third party failed",loginWithAnotherAccount:"Login with another account",quickLoginDescription:"The following accounts have been detected in the current unified login environment. Click the following accounts to log in quickly.",quickLogin:"Login {appName} with {masterAppName} account",sessionFrom:"Session founded from {appName} blocklet",loginWithThisAccount:"Click to login with this account",chooseAccount:"Choose an account",lostPassport:"Lost your passport?",lostPassportTips:"If you have lost your passport, you can click here to claim back.",download:"Download",downloadTips:"Don't have DID Wallet ?",scanWithWallet:"Easy Login with QR Code Scanning",openInWallet:"Open in DID Wallet",webExtension:"Web Wallet Extension",connectButton:"Connect",switch:"Switch",requestConnect:"Requesting Connection",continueInWallet:"Please continue in the DID Wallet",loginWithBelow:"Login using the following methods",otherAccount:"Other account"},zh:{generateError:"二维码生成失败",checkError:"扫码状态检查失败",scanned:"请到您的钱包上继续操作……",mfaCode:"我们给你的 DID 钱包发送了一个二次验证请求,请输入下面的数字完成验证",refresh:"刷新",open:"在 DID 钱包中打开",openDidConnect:"打开 DID Connect",error:"服务器开小差了!",invalidSessionStatus:"无效的会话状态",success:"成功",failed:"失败",wait:"请稍候",waiting:"正在等待下个流程完成...",forbidden:"登录用户和扫码用户不匹配,为保障安全,请退出后重新登录",oops:"哎呀",webWallet:"使用 Web Wallet 验证",cancel:"取消",close:"关闭",retry:"重试",retryForbidden:"请关闭当前弹窗并重新开始当前流程",getWallet:"还没有 DID Wallet? 现在下载.",back:"返回",connect:"请选择以下方式之一连接",connecting:"正在自动连接您的",connectingSuffix:"或选择以下方式手动连接",connected:"已连接您的",busyTitle:"钱包繁忙",busyDesc:"正在处理其他请求",loginWithBefore:"使用",loginWithAfter:"登录",bindOAuth:"绑定第三方登录",bind:"绑定",loginOAuthFailed:"第三方登录失败",loginWithAnotherAccount:"使用其他账户登录",quickLoginDescription:"检测到当前统一登录环境中已存在下列账户,点击以下账户,进行快捷登录",quickLogin:"使用 {masterAppName} 账户登录 {appName}",sessionFrom:"发现自 {appName} 应用",loginWithThisAccount:"点击使用此账号登录",chooseAccount:"选择一个账号",lostPassport:"找回通行证",lostPassportTips:"如果您丢失了登录通行证,您可以点击这里来找回。",download:"下载",downloadTips:"没有 DID Wallet ?",scanWithWallet:"使用 DID Wallet 扫码二维码",openInWallet:"使用 DID Wallet 打开",webExtension:"浏览器插件",connectButton:"连接",switch:"切换",requestConnect:"正在请求连接",continueInWallet:"请在 DID Wallet 中继续完成您的操作",loginWithBelow:"使用以下方式进行登录",otherAccount:"其他账号"}},StateContext=reactExports.createContext({isWalletWebview:!1,isMobile:!1,matchSmallScreen:!1}),{Provider:Provider$5,Consumer:Consumer$5}=StateContext;function StateProvider({children:a,blocklet:j,action:_e,extraParams:et,locale:nt,...tt}){var Ot;useWhyDidYouUpdate("StateProvider",{children:a,blocklet:j,action:_e,extraParams:et,locale:nt,...tt});const ot=useMemoizedFn((zt,jt={})=>translate(translations$3,zt,nt,"en",jt)),ct=reactExports.useContext(SessionContext$1),ft=useReactive({sourceAppPid:void 0,status:"created",autoActiveWebview:!0}),ht=reactExports.useRef({cancelCount:0}),dt=useBrowser(),{appInfoList:vt,autoGenerateSourceAppPid:$t,canSwitchApp:xt}=useApps({blocklet:j,connectState:ft,action:_e,sourceAppPid:et==null?void 0:et.sourceAppPid,enableSwitchApp:(et==null?void 0:et.forceSwitch)||(et==null?void 0:et.enableSwitchApp)}),At=reactExports.useRef(null),wt=useSize(At),Ct=useCreation(()=>((wt==null?void 0:wt.width)||0)<500,[wt==null?void 0:wt.width]),Rt=useCreation(()=>{var zt,jt;return xt?{...et,sourceAppPid:isUndefined$2(ft.sourceAppPid)?$t:ft.sourceAppPid}:(zt=ct==null?void 0:ct.session)!=null&&zt.user?isUndefined$2(et==null?void 0:et.sourceAppPid)?{...et,sourceAppPid:(jt=ct.session.user)==null?void 0:jt.sourceAppPid}:et:{...et,sourceAppPid:$t}},[xt,et,ft.sourceAppPid,_e,$t,(Ot=ct==null?void 0:ct.session)==null?void 0:Ot.user]),It=useMemoizedFn(zt=>{ft.status=zt||"created"}),Mt=useCreation(()=>({isWalletWebview:dt.wallet,isMobile:dt.mobile.any,matchSmallScreen:Ct,connectState:ft,staticState:ht,reactiveState:ft,appInfoList:vt,extraParams:Rt,blocklet:j,t:ot,locale:nt,changeStatus:It}),[dt,Ct,ft,ht,vt,Rt,j,ot,nt]);return useWhyDidYouUpdate("ttt",{size:wt}),jsxRuntimeExports.jsx(Provider$5,{value:Mt,children:jsxRuntimeExports.jsx(Box,{...tt,ref:At,children:a})})}StateProvider.propTypes={children:PropTypes.any.isRequired,blocklet:PropTypes.object.isRequired,action:PropTypes.string.isRequired,sourceAppPid:PropTypes.string,extraParams:PropTypes.object,locale:PropTypes.string};StateProvider.defaultProps={sourceAppPid:void 0,extraParams:{},locale:"en"};function useStateContext(){return reactExports.useContext(StateContext)}const data$q={width:24,height:24,hidden:!0,body:'<path fill="currentColor" d="M12 11q.825 0 1.413-.588Q14 9.825 14 9t-.587-1.413Q12.825 7 12 7q-.825 0-1.412.587Q10 8.175 10 9q0 .825.588 1.412Q11.175 11 12 11Zm0 2q-1.65 0-2.825-1.175Q8 10.65 8 9q0-1.65 1.175-2.825Q10.35 5 12 5q1.65 0 2.825 1.175Q16 7.35 16 9q0 1.65-1.175 2.825Q13.65 13 12 13Zm0 11q-2.475 0-4.662-.938q-2.188-.937-3.825-2.574Q1.875 18.85.938 16.663Q0 14.475 0 12t.938-4.663q.937-2.187 2.575-3.825Q5.15 1.875 7.338.938Q9.525 0 12 0t4.663.938q2.187.937 3.825 2.574q1.637 1.638 2.574 3.825Q24 9.525 24 12t-.938 4.663q-.937 2.187-2.574 3.825q-1.638 1.637-3.825 2.574Q14.475 24 12 24Zm0-2q1.8 0 3.375-.575T18.25 19.8q-.825-.925-2.425-1.612q-1.6-.688-3.825-.688t-3.825.688q-1.6.687-2.425 1.612q1.3 1.05 2.875 1.625T12 22Zm-7.7-3.6q1.2-1.3 3.225-2.1q2.025-.8 4.475-.8q2.45 0 4.463.8q2.012.8 3.212 2.1q1.1-1.325 1.713-2.95Q22 13.825 22 12q0-2.075-.788-3.887q-.787-1.813-2.15-3.175q-1.362-1.363-3.175-2.151Q14.075 2 12 2q-2.05 0-3.875.787q-1.825.788-3.187 2.151Q3.575 6.3 2.788 8.113Q2 9.925 2 12q0 1.825.6 3.463q.6 1.637 1.7 2.937Z"/>'},data$p={width:24,height:24,body:'<path fill="currentColor" d="M16.15 13H5q-.425 0-.713-.288T4 12q0-.425.288-.713T5 11h11.15L13.3 8.15q-.3-.3-.288-.7t.288-.7q.3-.3.713-.313t.712.288L19.3 11.3q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.575 4.575q-.3.3-.712.288t-.713-.313q-.275-.3-.288-.7t.288-.7L16.15 13Z"/>'};var zhCn={exports:{}};(function(a,j){(function(_e,et){a.exports=et(dayjs_minExports)})(commonjsGlobal,function(_e){function et(ot){return ot&&typeof ot=="object"&&"default"in ot?ot:{default:ot}}var nt=et(_e),tt={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(ot,ct){return ct==="W"?ot+"周":ot+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(ot,ct){var ft=100*ot+ct;return ft<600?"凌晨":ft<900?"早上":ft<1100?"上午":ft<1300?"中午":ft<1800?"下午":"晚上"}};return nt.default.locale(tt,null,!0),tt})})(zhCn);var updateLocale$1={exports:{}};(function(a,j){(function(_e,et){a.exports=et()})(commonjsGlobal,function(){return function(_e,et,nt){nt.updateLocale=function(tt,ot){var ct=nt.Ls[tt];if(ct)return(ot?Object.keys(ot):[]).forEach(function(ft){ct[ft]=ot[ft]}),ct}}})})(updateLocale$1);var updateLocaleExports=updateLocale$1.exports;const updateLocale=getDefaultExportFromCjs$1(updateLocaleExports);defaultDayjs.extend(localizedFormatPlugin);defaultDayjs.extend(utc$1);defaultDayjs.extend(timezone$1);defaultDayjs.extend(updateLocale);defaultDayjs.extend(relativeTime$1);defaultDayjs.updateLocale("zh-cn",{relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"}});setDateTool(defaultDayjs);function RelativeTime({value:a,locale:j="en",withoutSuffix:_e=!1,from:et="",to:nt="",type:tt="relative",tz:ot,relativeRange:ct,...ft}){if(!a)return"-";const ht=j==="zh"?"zh-cn":"en-us",dt=defaultDayjs(a).locale(ht);ot&&dt.tz(ot);const vt=formatToDatetime$1(a.toString(),{locale:ht,tz:ot});let $t;if(et)$t=dt.from(et,_e);else if(nt)$t=dt.to(nt,_e);else if(ct){const wt=dt.diff(defaultDayjs());Math.abs(wt)>ct&&($t=vt)}$t||($t=dt.fromNow(_e));let xt=$t,At=vt;return tt==="absolute"&&(xt=vt,At=$t),jsxRuntimeExports.jsx(Tooltip,{title:At,placement:"top-end",enterTouchDelay:0,children:jsxRuntimeExports.jsx("span",{...ft,children:xt})})}const data$o={width:24,height:24,body:'<path fill="currentColor" d="M7 7H5a2 2 0 0 0-2 2v8h2v-4h2v4h2V9a2 2 0 0 0-2-2m0 4H5V9h2m7-2h-4v10h2v-4h2a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2m0 4h-2V9h2m6 0v6h1v2h-4v-2h1V9h-1V7h4v2Z"/>'},data$n={width:24,height:24,body:'<path fill="currentColor" d="M5 17q-.425 0-.713-.288T4 16v-4q0-.425.288-.713T5 11q.425 0 .713.288T6 12v4q0 .425-.288.713T5 17Zm4 0q-.825 0-1.413-.588T7 15V9q0-.825.588-1.413T9 7h2q.825 0 1.413.588T13 9v6q0 .825-.588 1.413T11 17H9Zm0-2h2V9H9v6Zm6 2q-.425 0-.713-.288T14 16q0-.425.288-.713T15 15h3v-2h-2q-.825 0-1.413-.588T14 11V9q0-.825.588-1.413T16 7h3q.425 0 .713.288T20 8q0 .425-.288.713T19 9h-3v2h2q.825 0 1.413.588T20 13v2q0 .825-.588 1.413T18 17h-3ZM5 9q-.425 0-.713-.288T4 8q0-.425.288-.713T5 7q.425 0 .713.288T6 8q0 .425-.288.713T5 9Z"/>'},data$m={width:24,height:24,body:'<path fill="currentColor" d="M12 22q-2.05 0-3.875-.788t-3.188-2.15q-1.362-1.362-2.15-3.187T2 12q0-2.075.788-3.888t2.15-3.174Q6.3 3.575 8.124 2.788T12 2q2.075 0 3.888.788t3.174 2.15q1.363 1.362 2.15 3.175T22 12q0 2.05-.788 3.875t-2.15 3.188q-1.362 1.362-3.175 2.15T12 22Zm0-2.05q.65-.9 1.125-1.875T13.9 16h-3.8q.3 1.1.775 2.075T12 19.95Zm-2.6-.4q-.45-.825-.788-1.713T8.05 16H5.1q.725 1.25 1.813 2.175T9.4 19.55Zm5.2 0q1.4-.45 2.488-1.375T18.9 16h-2.95q-.225.95-.562 1.838T14.6 19.55ZM4.25 14h3.4q-.075-.5-.113-.988T7.5 12q0-.525.038-1.012T7.65 10h-3.4q-.125.5-.188.988T4 12q0 .525.063 1.012T4.25 14Zm5.4 0h4.7q.075-.5.113-.988T14.5 12q0-.525-.038-1.012T14.35 10h-4.7q-.075.5-.113.988T9.5 12q0 .525.038 1.012T9.65 14Zm6.7 0h3.4q.125-.5.188-.988T20 12q0-.525-.063-1.012T19.75 10h-3.4q.075.5.113.988T16.5 12q0 .525-.038 1.012T16.35 14Zm-.4-6h2.95q-.725-1.25-1.812-2.175T14.6 4.45q.45.825.788 1.713T15.95 8ZM10.1 8h3.8q-.3-1.1-.775-2.075T12 4.05q-.65.9-1.125 1.875T10.1 8Zm-5 0h2.95q.225-.95.563-1.838T9.4 4.45Q8 4.9 6.912 5.825T5.1 8Z"/>'},data$l={width:24,height:24,body:'<path fill="currentColor" d="M1 18q.225-2.675 1.638-4.925T6.4 9.5L4.55 6.3q-.15-.225-.075-.475T4.8 5.45q.2-.125.45-.05t.4.3L7.5 8.9Q9.65 8 12 8t4.5.9l1.85-3.2q.15-.225.4-.3t.45.05q.25.125.325.375t-.075.475L17.6 9.5q2.35 1.325 3.762 3.575T23 18H1Zm6-2.75q.525 0 .888-.363T8.25 14q0-.525-.363-.888T7 12.75q-.525 0-.888.363T5.75 14q0 .525.363.888T7 15.25Zm10 0q.525 0 .888-.363T18.25 14q0-.525-.363-.888T17 12.75q-.525 0-.888.363T15.75 14q0 .525.363.888t.887.362Z"/>'},data$k={width:24,height:24,body:'<path fill="currentColor" d="M14.6 8.075q0-1.075-.712-1.725T12 5.7q-.725 0-1.313.313t-1.012.912q-.4.575-1.088.663T7.4 7.225q-.35-.325-.388-.8t.238-.9q.8-1.2 2.038-1.863T12 3q2.425 0 3.938 1.375t1.512 3.6q0 1.125-.475 2.025t-1.75 2.125q-.925.875-1.25 1.363T13.55 14.6q-.1.6-.513 1t-.987.4q-.575 0-.988-.388t-.412-.962q0-.975.425-1.788T12.5 11.15q1.275-1.125 1.688-1.738t.412-1.337ZM12 22q-.825 0-1.413-.588T10 20q0-.825.588-1.413T12 18q.825 0 1.413.588T14 20q0 .825-.588 1.413T12 22Z"/>'},data$j={width:24,height:24,body:'<path fill="currentColor" d="M4 20q-.825 0-1.413-.588T2 18V6q0-.825.588-1.413T4 4h16q.825 0 1.413.588T22 6v12q0 .825-.588 1.413T20 20H4ZM20 8l-7.475 4.675q-.125.075-.263.113t-.262.037q-.125 0-.263-.037t-.262-.113L4 8v10h16V8Zm-8 3l8-5H4l8 5ZM4 8v.25v-1.475v.025V6v.8v-.012V8.25V8v10V8Z"/>'};function WalletOSIcon({loading:a=!1,walletOS:j,provider:_e,color:et="black"}){return a?jsxRuntimeExports.jsx(Icon,{icon:data$k,style:{color:"transparent"}}):_e===LOGIN_PROVIDER$1.AUTH0?jsxRuntimeExports.jsx(Icon,{icon:data$j,style:{color:et,transform:"scale(0.85)"}}):j==="ios"?jsxRuntimeExports.jsx(Icon,{icon:data$n,style:{color:et,transform:"scale(1.1)"}}):j==="android"?jsxRuntimeExports.jsx(Icon,{icon:data$l,style:{color:et}}):j==="web"?jsxRuntimeExports.jsx(Icon,{icon:data$m,style:{color:et}}):j==="api"?jsxRuntimeExports.jsx(Icon,{icon:data$o,style:{color:et,transform:"scale(1.05)"}}):null}function ItemWrap({children:a,...j}){return jsxRuntimeExports.jsx(Box,{...j,sx:{borderRadius:2,backgroundColor:colors$1.backgroundsBgSubtile,p:2,transition:"background-color 0.5s","&:hover, &:active":{backgroundColor:colors$1.backgroundsBgSubtileHover},...j.sx},children:a})}ItemWrap.propTypes={children:PropTypes.any.isRequired};const data$i={width:24,height:24,body:'<path fill="currentColor" d="M8 20h8v-3q0-1.65-1.175-2.825T12 13q-1.65 0-2.825 1.175T8 17v3Zm4-9q1.65 0 2.825-1.175T16 7V4H8v3q0 1.65 1.175 2.825T12 11ZM5 22q-.425 0-.713-.288T4 21q0-.425.288-.713T5 20h1v-3q0-1.525.713-2.863T8.7 12q-1.275-.8-1.987-2.138T6 7V4H5q-.425 0-.713-.288T4 3q0-.425.288-.713T5 2h14q.425 0 .713.288T20 3q0 .425-.288.713T19 4h-1v3q0 1.525-.713 2.863T15.3 12q1.275.8 1.988 2.138T18 17v3h1q.425 0 .713.288T20 21q0 .425-.288.713T19 22H5Z"/>'},data$h={width:24,height:24,body:'<path fill="currentColor" d="m5.75 18l-.4-.35q-1.3-1.15-1.825-2.625T3 12.05Q3 9.7 4.187 7.787T7.4 4.85q.35-.2.75-.025t.525.575q.125.375-.013.75t-.487.575q-1.45.8-2.313 2.213T5 12.05q0 1.125.425 2.188T6.75 16.2l.25.25V15q0-.425.288-.713T8 14q.425 0 .713.288T9 15v4q0 .425-.288.713T8 20H4q-.425 0-.713-.288T3 19q0-.425.288-.713T4 18h1.75ZM17 7.55V9q0 .425-.288.713T16 10q-.425 0-.713-.288T15 9V5q0-.425.288-.713T16 4h4q.425 0 .713.288T21 5q0 .425-.288.713T20 6h-1.75l.4.35q1.025 1.05 1.575 2.225t.7 2.425H18.9q-.125-.875-.537-1.675T17.25 7.8L17 7.55ZM17.4 23q-.2 0-.313-.113t-.162-.287l-.225-1.1q-.3-.125-.563-.263T15.6 20.9l-1.075.325q-.175.05-.325-.013T13.95 21l-.6-1q-.1-.15-.05-.325t.175-.3l.825-.725q-.05-.35-.05-.65t.05-.65l-.825-.725q-.125-.125-.175-.3t.05-.325l.6-1q.1-.15.25-.212t.325-.013l1.075.325q.275-.2.538-.337t.562-.263l.225-1.1q.05-.175.163-.288T17.4 13h1.2q.2 0 .313.113t.162.287l.225 1.1q.3.125.563.275t.537.375l1.05-.375q.175-.05.338.013t.262.212l.6 1.05q.1.15.063.325t-.163.3l-.85.725q.05.3.05.625t-.05.625l.825.725q.125.125.175.3t-.05.325l-.6 1q-.1.15-.25.213t-.325.012L20.4 20.9q-.275.2-.537.338t-.563.262l-.225 1.1q-.05.175-.163.288T18.6 23h-1.2Zm.6-3q.825 0 1.413-.588T20 18q0-.825-.588-1.413T18 16q-.825 0-1.413.588T16 18q0 .825.588 1.413T18 20Z"/>'};function LoadingMask({size:a=64,padding:j,borderWidth:_e,borderRadius:et,duration:nt,children:tt}){const ot=a,ct=et??ot/8,ft=_e??ot/32,ht=j??ot*.25-ft,dt=nt??2.5;return jsxRuntimeExports.jsxs(Box,{sx:{display:"inline-flex",justifyContent:"center",alignItems:"center",width:ot,height:ot,position:"relative"},children:[jsxRuntimeExports.jsx(Box,{sx:{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center",width:ot,height:ot,overflow:"hidden",borderRadius:`${ct}px`,backgroundColor:colors$1.strokeBorderBase,"&::before,&::after":{content:'""',position:"absolute",top:0,bottom:0,left:0,right:0,pointerEvents:"none"},"&::after":{left:ft,right:ft,top:ft,bottom:ft,backgroundColor:"white",borderRadius:`${ct-ft}px`},"&::before":{background:`conic-gradient(from 45deg, ${colors$1.foregroundsFgInteractiveTransparent} 0%, ${colors$1.foregroundsFgInteractiveTransparent} 50%, ${colors$1.foregroundsFgInteractive} 90%, ${colors$1.foregroundsFgInteractive} 100%)`,transform:"scale(100)",animation:`rotate ${dt}s linear infinite`,"@keyframes rotate":{"0%":{transform:"scale(100) rotate(0deg)"},"100%":{transform:"scale(100) rotate(360deg)"}}}}}),jsxRuntimeExports.jsx(Box,{sx:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",width:ot-ht-ft,height:ot-ht-ft},children:tt})]})}var DidWallet={};Object.defineProperty(DidWallet,"__esModule",{value:!0});var default_1$3=DidWallet.default=void 0;_interopRequireDefault$3(reactExports);var _jsxRuntime$3=jsxRuntimeExports;function _interopRequireDefault$3(a){return a&&a.__esModule?a:{default:a}}function ownKeys$3(a,j){var _e=Object.keys(a);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(a);j&&(et=et.filter(function(nt){return Object.getOwnPropertyDescriptor(a,nt).enumerable})),_e.push.apply(_e,et)}return _e}function _objectSpread$1(a){for(var j=1;j<arguments.length;j++){var _e=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$3(Object(_e),!0).forEach(function(et){_defineProperty$1(a,et,_e[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(_e)):ownKeys$3(Object(_e)).forEach(function(et){Object.defineProperty(a,et,Object.getOwnPropertyDescriptor(_e,et))})}return a}function _defineProperty$1(a,j,_e){return(j=_toPropertyKey$1(j))in a?Object.defineProperty(a,j,{value:_e,enumerable:!0,configurable:!0,writable:!0}):a[j]=_e,a}function _toPropertyKey$1(a){var j=_toPrimitive$1(a,"string");return typeof j=="symbol"?j:j+""}function _toPrimitive$1(a,j){if(typeof a!="object"||!a)return a;var _e=a[Symbol.toPrimitive];if(_e!==void 0){var et=_e.call(a,j||"default");if(typeof et!="object")return et;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(a)}var Component$1=function a(j){return(0,_jsxRuntime$3.jsxs)("svg",_objectSpread$1(_objectSpread$1({},j),{},{children:[(0,_jsxRuntime$3.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,_jsxRuntime$3.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"url(#paint0_linear)"}),(0,_jsxRuntime$3.jsx)("g",{filter:"url(#filter0_i)",children:(0,_jsxRuntime$3.jsx)("path",{d:"M3.52002 7.35999C3.52002 5.94614 4.66617 4.79999 6.08002 4.79999H25.92C27.3339 4.79999 28.48 5.94614 28.48 7.35999V19.52C28.48 20.9338 27.3339 22.08 25.92 22.08H6.08002C4.66617 22.08 3.52002 20.9338 3.52002 19.52V7.35999Z",fill:"#9FCBFF"})}),(0,_jsxRuntime$3.jsx)("g",{filter:"url(#filter1_d)",children:(0,_jsxRuntime$3.jsx)("path",{d:"M2.56 9.27997C2.56 7.86612 3.70615 6.71997 5.12 6.71997H26.88C28.2938 6.71997 29.44 7.86612 29.44 9.27997V22.88C29.44 24.2938 28.2938 25.44 26.88 25.44H5.12C3.70615 25.44 2.56 24.2938 2.56 22.88V9.27997Z",fill:"url(#paint1_linear)"})}),(0,_jsxRuntime$3.jsx)("g",{filter:"url(#filter2_d)",children:(0,_jsxRuntime$3.jsx)("path",{d:"M0 22.32L32 16.16V32H0V22.32Z",fill:"url(#paint2_linear)"})}),(0,_jsxRuntime$3.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.53603 9.24802H13.8239C14.2322 9.24802 14.5632 9.54889 14.5632 9.92002V14.56C14.5632 14.9312 14.2322 15.232 13.8239 15.232H5.53603C5.12776 15.232 4.79679 14.9312 4.79679 14.56V14.5208C4.79679 14.4333 4.72587 14.3624 4.63839 14.3624C4.5509 14.3624 4.47998 14.4333 4.47998 14.5208V14.56C4.47998 15.0902 4.95279 15.52 5.53603 15.52H13.8239C14.4072 15.52 14.88 15.0902 14.88 14.56V9.92002C14.88 9.38983 14.4072 8.96002 13.8239 8.96002H5.53603C4.95279 8.96002 4.47998 9.38983 4.47998 9.92002V9.95926C4.47998 10.0467 4.5509 10.1177 4.63839 10.1177C4.72587 10.1177 4.79679 10.0467 4.79679 9.95926V9.92002C4.79679 9.54889 5.12776 9.24802 5.53603 9.24802ZM4.51346 13.8864C4.53897 13.9088 4.56767 13.92 4.59956 13.92H5.86713C6.33909 13.92 6.69783 13.8128 6.94338 13.5984C7.19211 13.3808 7.32444 13.0496 7.34039 12.6048C7.34358 12.5152 7.34517 12.3936 7.34517 12.24C7.34517 12.0864 7.34358 11.9632 7.34039 11.8704C7.32763 11.4448 7.19211 11.12 6.93381 10.896C6.67551 10.672 6.31198 10.56 5.84322 10.56H4.59956C4.56767 10.56 4.53897 10.5712 4.51346 10.5936C4.49114 10.616 4.47998 10.6448 4.47998 10.68V13.8C4.47998 13.832 4.49114 13.8608 4.51346 13.8864ZM6.3072 13.08C6.20834 13.1792 6.05368 13.2288 5.84322 13.2288H5.34097V11.2512H5.8193C6.02977 11.2512 6.18762 11.3024 6.29285 11.4048C6.40127 11.5072 6.45867 11.6656 6.46505 11.88C6.47142 11.9696 6.47461 12.088 6.47461 12.2352C6.47461 12.3824 6.47142 12.5024 6.46505 12.5952C6.45867 12.816 6.40605 12.9776 6.3072 13.08ZM7.93744 13.8864C7.96295 13.9088 7.99165 13.92 8.02354 13.92H8.6645C8.69958 13.92 8.72828 13.9088 8.7506 13.8864C8.77611 13.864 8.78887 13.8352 8.78887 13.8V10.68C8.78887 10.6448 8.77611 10.616 8.7506 10.5936C8.72828 10.5712 8.69958 10.56 8.6645 10.56H8.02354C7.99165 10.56 7.96295 10.5712 7.93744 10.5936C7.91512 10.616 7.90396 10.6448 7.90396 10.68V13.8C7.90396 13.832 7.91512 13.8608 7.93744 13.8864ZM9.57437 13.92C9.54248 13.92 9.51378 13.9088 9.48827 13.8864C9.46595 13.8608 9.45479 13.832 9.45479 13.8V10.68C9.45479 10.6448 9.46595 10.616 9.48827 10.5936C9.51378 10.5712 9.54248 10.56 9.57437 10.56H10.818C11.2868 10.56 11.6503 10.672 11.9086 10.896C12.1669 11.12 12.3024 11.4448 12.3152 11.8704C12.3184 11.9632 12.32 12.0864 12.32 12.24C12.32 12.3936 12.3184 12.5152 12.3152 12.6048C12.2993 13.0496 12.1669 13.3808 11.9182 13.5984C11.6726 13.8128 11.3139 13.92 10.8419 13.92H9.57437ZM10.818 13.2288C11.0285 13.2288 11.1832 13.1792 11.282 13.08C11.3809 12.9776 11.4335 12.816 11.4399 12.5952C11.4462 12.5024 11.4494 12.3824 11.4494 12.2352C11.4494 12.088 11.4462 11.9696 11.4399 11.88C11.4335 11.6656 11.3761 11.5072 11.2677 11.4048C11.1624 11.3024 11.0046 11.2512 10.7941 11.2512H10.3158V13.2288H10.818ZM13.2858 11.8474C13.1278 11.8474 12.9976 11.7193 12.9976 11.5614C12.9976 11.4034 13.1278 11.2753 13.2858 11.2753C13.4438 11.2753 13.574 11.4034 13.574 11.5614C13.574 11.7193 13.4438 11.8474 13.2858 11.8474ZM13.2858 13.3425C13.1278 13.3425 12.9976 13.2144 12.9976 13.0565C12.9976 12.8985 13.1278 12.7704 13.2858 12.7704C13.4438 12.7704 13.574 12.8985 13.574 13.0565C13.574 13.2144 13.4438 13.3425 13.2858 13.3425Z",fill:"#4598FA"})]}),(0,_jsxRuntime$3.jsxs)("defs",{children:[(0,_jsxRuntime$3.jsxs)("filter",{id:"filter0_i",x:"3.52002",y:"1.79999",width:"24.96",height:"20.28",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,_jsxRuntime$3.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,_jsxRuntime$3.jsx)("feOffset",{dy:"-3"}),(0,_jsxRuntime$3.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,_jsxRuntime$3.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 0"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow"})]}),(0,_jsxRuntime$3.jsxs)("filter",{id:"filter1_d",x:"-1.44",y:"1.71997",width:"34.88",height:"26.72",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,_jsxRuntime$3.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,_jsxRuntime$3.jsx)("feOffset",{dy:"-1"}),(0,_jsxRuntime$3.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.220767 0 0 0 0 0.470803 0 0 0 0 0.701605 0 0 0 0.18 0"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,_jsxRuntime$3.jsxs)("filter",{id:"filter2_d",x:"-5",y:"11.16",width:"42",height:"25.84",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,_jsxRuntime$3.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,_jsxRuntime$3.jsx)("feOffset",{}),(0,_jsxRuntime$3.jsx)("feGaussianBlur",{stdDeviation:"2.5"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.14382 0 0 0 0 0.205065 0 0 0 0 0.522634 0 0 0 0.25 0"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,_jsxRuntime$3.jsxs)("linearGradient",{id:"paint0_linear",x1:"16",y1:"0",x2:"16",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,_jsxRuntime$3.jsx)("stop",{stopColor:"#4F9DF6"}),(0,_jsxRuntime$3.jsx)("stop",{offset:"1",stopColor:"#0A79F8"})]}),(0,_jsxRuntime$3.jsxs)("linearGradient",{id:"paint1_linear",x1:"16",y1:"6.71997",x2:"16",y2:"25.44",gradientUnits:"userSpaceOnUse",children:[(0,_jsxRuntime$3.jsx)("stop",{stopColor:"white"}),(0,_jsxRuntime$3.jsx)("stop",{offset:"1",stopColor:"#ECEFFF"})]}),(0,_jsxRuntime$3.jsxs)("linearGradient",{id:"paint2_linear",x1:"16",y1:"19.2",x2:"18.48",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,_jsxRuntime$3.jsx)("stop",{offset:"0.00694981",stopColor:"#77B2F6"}),(0,_jsxRuntime$3.jsx)("stop",{offset:"0.055083",stopColor:"#4F9DF6"}),(0,_jsxRuntime$3.jsx)("stop",{offset:"1",stopColor:"#4598FA"})]}),(0,_jsxRuntime$3.jsx)("clipPath",{id:"clip0",children:(0,_jsxRuntime$3.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"white"})})]})]}))};Component$1.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$1.displayName="did-wallet";default_1$3=DidWallet.default=Component$1;function Success({size:a=64,backgroundColor:j="white",borderWidth:_e=4}){const et=a-_e*2;return jsxRuntimeExports.jsxs(Box,{className:"check-icon",sx:{width:et,height:et,position:"relative",borderRadius:"100%","&, *, *::before, *::after":{boxSizing:"content-box !important"},border:nt=>`${_e}px solid ${nt.palette.success.light}`,"&::before, &::after":{content:'""',height:"125%",position:"absolute",background:j,transform:"rotate(-45deg)"},"&::before":{top:`${_e/2+1}px`,left:`-${_e/2}px`,width:`calc(32.5% + ${_e}px)`,transformOrigin:"100% 50%",borderRadius:"100% 0 0 100%"},"&::after":{top:0,left:"37.5%",width:`calc(70% + ${_e}px)`,transformOrigin:"0 50%",borderRadius:"0 100% 100% 0",animation:"rotate-circle 4.25s ease-in"},".icon-line":{height:`${_e+1}px`,backgroundColor:nt=>nt.palette.success.light,display:"block",borderRadius:"100vw",position:"absolute",zIndex:10},"@keyframes rotate-circle":{"0%":{transform:"rotate(-45deg)"},"5%":{transform:"rotate(-45deg)"},"12%":{transform:"rotate(-405deg)"},"100%":{transform:"rotate(-405deg)"}}},children:[jsxRuntimeExports.jsx(Box,{component:"span",className:"icon-line line-tip",sx:{top:"57.5%",left:"17.5%",width:"31.25%",transform:"rotate(45deg)",animation:"icon-line-tip 0.75s","@keyframes icon-line-tip":{"0%":{width:"0",left:"1px",top:"23.75%"},"54%":{width:"0",left:"1px",top:"23.75%"},"70%":{width:"62.5%",left:"-10%",top:"46.25%"},"84%":{width:"21.25%",left:"26.25%",top:"60%"},"100%":{width:"31.25",left:"17.5%",top:"56.25%"}}}}),jsxRuntimeExports.jsx(Box,{component:"span",className:"icon-line line-long",sx:{top:"47.5%",right:"10%",width:"58.75%",transform:"rotate(-45deg)",animation:"icon-line-long 0.75s","@keyframes icon-line-long":{"0%":{width:"0",right:"57.5%",top:"67.5%"},"65%":{width:"0",right:"57.5%",top:"67.5%"},"84%":{width:"68.75%",right:"0px",top:"43.75%"},"100%":{width:"58.75%",right:"10%",top:"47.5%"}}}}),jsxRuntimeExports.jsx(Box,{className:"icon-circle",sx:{top:`-${_e}px`,left:`-${_e}px`,zIndex:10,width:et,height:et,borderRadius:"100%",position:"absolute",boxSizing:"contentBox",border:`${_e}px solid rgba(76, 175, 80, 0.63)`}}),jsxRuntimeExports.jsx(Box,{className:"icon-fix",sx:{top:`calc(8% - ${Math.sqrt(_e)}px)`,width:_e+1,left:`calc(32% - ${Math.sqrt(_e)}px)`,zIndex:1,height:et+_e*2,position:"absolute",transform:"rotate(-45deg)",backgroundColor:j}})]})}function Button({...a}){return jsxRuntimeExports.jsx(Button$1,{variant:"outlined",color:"inherit",...a,sx:{borderRadius:2,borderColor:colors$1.strokeBorderBase,color:colors$1.foregroundsFgBase,backgroundColor:"#fff",fontWeight:500,boxShadow:`0 0 0 1px ${colors$1.strokeBorderBase}`,fontSize:12,border:"0px !important",...a.sx}})}function BaseStatus({icon:a,title:j,color:_e,description:et,extraContent:nt,actions:tt}){return jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:1.5},children:[reactExports.isValidElement(a)?a:jsxRuntimeExports.jsx(Box,{sx:{backgroundColor:_e,borderRadius:"100%",fontSize:0},children:jsxRuntimeExports.jsx(Icon,{icon:a,fontSize:52,style:{transform:"scale(0.7)",color:"white"}})}),jsxRuntimeExports.jsxs(Box,{sx:{textAlign:"center"},children:[jsxRuntimeExports.jsx(Typography,{variant:"h6",sx:{fontWeight:500,color:_e},children:j}),jsxRuntimeExports.jsx(Typography,{variant:"body2",sx:{color:colors$1.foregroundsFgSubtile,overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":"3",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:et})]}),nt,jsxRuntimeExports.jsx(Box,{children:tt})]})}BaseStatus.propTypes={icon:PropTypes.node,title:PropTypes.string,color:PropTypes.string,description:PropTypes.string,extraContent:PropTypes.node,actions:PropTypes.node};BaseStatus.defaultProps={icon:null,title:"",color:colors$1.foregroundsFgBase,description:"",extraContent:null,actions:null};function MfaCode({title:a,mfaCode:j}){return jsxRuntimeExports.jsxs(Box,{className:"status-mfa",sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",border:`1px solid ${colors$1.strokeBorderBase}`,borderRadius:2,maxWidth:"360px",backgroundColor:"transparent",p:1},children:[jsxRuntimeExports.jsx(Box,{className:"status-mfa-tip",sx:{textAlign:"center",textWrap:"balance"},children:a}),jsxRuntimeExports.jsx(Typography,{className:"status-mfa-code",sx:{mt:1,lineHeight:1,fontSize:"36px",fontWeight:700,letterSpacing:1},children:j})]})}MfaCode.propTypes={title:PropTypes.string,mfaCode:PropTypes.number};MfaCode.defaultProps={title:"",mfaCode:0};function ConnectStatus({status:a,nextWorkflow:j,mfaCode:_e,onCancel:et,onRetry:nt,onClose:tt,messages:ot,locale:ct,isFullScreen:ft,...ht}){const dt=translations$3[ct]||translations$3.en;return jsxRuntimeExports.jsxs(Box,{...ht,sx:{py:2,minHeight:200,...ht.sx},children:[a==="scanned"&&!j&&jsxRuntimeExports.jsx(BaseStatus,{icon:jsxRuntimeExports.jsx(LoadingMask,{size:52,borderRadius:12,children:jsxRuntimeExports.jsx(default_1$3,{style:{width:"100%",height:"100%"}})}),title:dt.requestConnect,description:dt.continueInWallet,extraContent:_e>0&&jsxRuntimeExports.jsx(MfaCode,{mfaCode:_e,title:dt.mfaCode}),actions:jsxRuntimeExports.jsx(Button,{onClick:et,children:dt.back})}),a==="scanned"&&!!j&&jsxRuntimeExports.jsx(BaseStatus,{color:colors$1.foregroundsFgInteractive,icon:data$i,title:dt.wait,description:dt.waiting,extraContent:_e>0&&jsxRuntimeExports.jsx(MfaCode,{mfaCode:_e,title:dt.mfaCode}),actions:jsxRuntimeExports.jsx(Button,{onClick:et,children:dt.back})}),a==="succeed"&&jsxRuntimeExports.jsx(BaseStatus,{color:"success.light",icon:jsxRuntimeExports.jsx(Success,{size:52,borderWidth:3}),title:dt.success,description:ot.success,actions:ft?null:jsxRuntimeExports.jsx(Button,{onClick:tt,children:dt.close})}),a==="error"&&jsxRuntimeExports.jsx(BaseStatus,{color:colors$1.buttonsButtonDanger,icon:data$r,title:dt.failed,description:ot.error||dt.error,actions:jsxRuntimeExports.jsx(Button,{onClick:nt,children:dt.retry})}),a==="busy"&&jsxRuntimeExports.jsx(BaseStatus,{color:"warning.main",icon:data$h,title:dt.busyTitle,description:ot.error||dt.busyDesc,actions:jsxRuntimeExports.jsx(Button,{onClick:nt,children:dt.retry})})]})}ConnectStatus.propTypes={status:PropTypes.string,nextWorkflow:PropTypes.string,mfaCode:PropTypes.number,onCancel:PropTypes.func,onRetry:PropTypes.func,onClose:PropTypes.func,messages:PropTypes.shape({confirm:PropTypes.string.isRequired,success:PropTypes.any.isRequired,error:PropTypes.any.isRequired}).isRequired,locale:PropTypes.oneOf(["en","zh"]),isFullScreen:PropTypes.bool};ConnectStatus.defaultProps={status:"",nextWorkflow:"",mfaCode:0,onCancel:noop$6,onRetry:noop$6,onClose:noop$6,locale:"en",isFullScreen:!1};function QuickLoginItem({userSession:a,locale:j}){var et,nt,tt,ot;const _e=getSourceProvider(a==null?void 0:a.user)==="wallet";return jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer","&:hover":{backgroundColor:colors$1.surfacePrimarySubtitle}},children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1.5,flex:1,overflow:"hidden"},children:[jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{src:a.user.avatar,did:a.user.did,size:48,variant:"circle",shape:"circle"}),jsxRuntimeExports.jsxs(Box,{sx:{flex:1,overflow:"hidden"},children:[jsxRuntimeExports.jsxs(Typography,{sx:{fontSize:"16px",fontWeight:"bold",display:"flex",alignItems:"center",gap:1,color:colors$1.textBase},children:[a.user.fullName,jsxRuntimeExports.jsx(Chip,{label:((et=a.user)==null?void 0:et.roleTitle)||((nt=a.user)==null?void 0:nt.role),size:"small",variant:"outlined",sx:()=>({height:"auto",fontWeight:"bold",fontSize:"12px",borderColor:colors$1.lineBorderStrong,color:colors$1.textSubtitle})})]}),_e?jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[jsxRuntimeExports.jsx(WalletOSIcon,{provider:(tt=a==null?void 0:a.extra)==null?void 0:tt.provider,walletOS:(ot=a==null?void 0:a.extra)==null?void 0:ot.walletOS,color:colors$1.textSubtitle}),jsxRuntimeExports.jsx(DID,{did:a.user.did,size:12,sx:{lineHeight:1,fontSize:"12px",mt:.5},responsive:!0})]}):jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"12px",color:colors$1.textSubtitle},children:a.user.email})]})]}),a.updatedAt&&jsxRuntimeExports.jsx(Box,{component:"span",sx:{color:colors$1.textMuted,fontSize:"12px",flexShrink:0},children:jsxRuntimeExports.jsx(RelativeTime,{value:a.updatedAt,locale:j})})]})}QuickLoginItem.propTypes={userSession:PropTypes.shape({user:PropTypes.shape({avatar:PropTypes.string,did:PropTypes.string,fullName:PropTypes.string,role:PropTypes.string,roleTitle:PropTypes.string,email:PropTypes.string}),extra:PropTypes.shape({walletOS:PropTypes.string,provider:PropTypes.string}),updatedAt:PropTypes.string}).isRequired,locale:PropTypes.string};QuickLoginItem.defaultProps={locale:"en"};function QuickConnect({userSessions:a,onLogin:j,onClose:_e,messages:et,onRetry:nt,onLoginAnother:tt,isFullScreen:ot}){const{t:ct,locale:ft,changeStatus:ht,blocklet:dt}=useStateContext(),vt=ct("otherAccount"),$t=useReactive({loadingId:null,status:"created",messages:{confirm:et.confirm,success:et.success,error:""},reset(){this.loadingId=null,this.status="created",this.messages.error=""}}),xt=useMemoizedFn(async wt=>{$t.loadingId=wt.id;try{await j({...wt,appPid:dt==null?void 0:dt.appPid}),$t.status="succeed"}catch(Ct){$t.status="error",$t.messages.error=Ct.messages}finally{$t.loadingId=null}}),At=useMemoizedFn(()=>{$t.reset(),nt()});return reactExports.useEffect(()=>{ht($t.status)},[ht,$t.status]),$t.status!=="created"?jsxRuntimeExports.jsx(ConnectStatus,{status:$t.status,onRetry:At,onClose:_e,messages:$t.messages,locale:ft,className:"auth-status",isFullScreen:ot}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[a.map(wt=>{var Ct;return jsxRuntimeExports.jsx(Tooltip,{title:ct("loginWithThisAccount"),arrow:!0,placement:"top",children:jsxRuntimeExports.jsxs(Box,{sx:{position:"relative"},onClick:()=>xt(wt),children:[$t.loadingId===wt.id?jsxRuntimeExports.jsx(LinearProgress,{sx:{height:"2px",position:"absolute",top:0,left:0,right:0}}):null,jsxRuntimeExports.jsx(QuickLoginItem,{userSession:wt,locale:ft})]})},(Ct=wt==null?void 0:wt.user)==null?void 0:Ct.did)}),jsxRuntimeExports.jsx(Tooltip,{title:ct("loginWithAnotherAccount"),arrow:!0,placement:"top",children:jsxRuntimeExports.jsx(Box,{children:jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer","&:hover":{backgroundColor:colors$1.surfacePrimarySubtitle},color:colors$1.textBase},onClick:tt,children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(Box,{sx:{fontSize:0,p:.5},children:jsxRuntimeExports.jsx(Icon,{icon:data$q,fontSize:"40px"})}),jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"16px",fontWeight:"bold"},children:vt})]}),jsxRuntimeExports.jsx(Icon,{className:"other-item-icon",icon:data$p,fontSize:"24px"})]})})})]})}QuickConnect.propTypes={userSessions:PropTypes.array.isRequired,onLogin:PropTypes.func.isRequired,onRetry:PropTypes.func.isRequired,onClose:PropTypes.func.isRequired,onLoginAnother:PropTypes.func.isRequired,messages:PropTypes.object,isFullScreen:PropTypes.bool};QuickConnect.defaultProps={messages:{},isFullScreen:!1};function baseFindIndex$1(a,j,_e,et){for(var nt=a.length,tt=_e+(et?1:-1);et?tt--:++tt<nt;)if(j(a[tt],tt,a))return tt;return-1}var _baseFindIndex=baseFindIndex$1;function baseIsNaN$1(a){return a!==a}var _baseIsNaN=baseIsNaN$1;function strictIndexOf$1(a,j,_e){for(var et=_e-1,nt=a.length;++et<nt;)if(a[et]===j)return et;return-1}var _strictIndexOf=strictIndexOf$1,baseFindIndex=_baseFindIndex,baseIsNaN=_baseIsNaN,strictIndexOf=_strictIndexOf;function baseIndexOf$2(a,j,_e){return j===j?strictIndexOf(a,j,_e):baseFindIndex(a,baseIsNaN,_e)}var _baseIndexOf=baseIndexOf$2,baseIndexOf$1=_baseIndexOf;function arrayIncludes$3(a,j){var _e=a==null?0:a.length;return!!_e&&baseIndexOf$1(a,j,0)>-1}var _arrayIncludes=arrayIncludes$3;function arrayIncludesWith$2(a,j,_e){for(var et=-1,nt=a==null?0:a.length;++et<nt;)if(_e(j,a[et]))return!0;return!1}var _arrayIncludesWith=arrayIncludesWith$2,SetCache$1=_SetCache,arrayIncludes$2=_arrayIncludes,arrayIncludesWith$1=_arrayIncludesWith,arrayMap$3=_arrayMap,baseUnary$1=_baseUnary,cacheHas$1=_cacheHas,nativeMin=Math.min;function baseIntersection$1(a,j,_e){for(var et=_e?arrayIncludesWith$1:arrayIncludes$2,nt=a[0].length,tt=a.length,ot=tt,ct=Array(tt),ft=1/0,ht=[];ot--;){var dt=a[ot];ot&&j&&(dt=arrayMap$3(dt,baseUnary$1(j))),ft=nativeMin(dt.length,ft),ct[ot]=!_e&&(j||nt>=120&&dt.length>=120)?new SetCache$1(ot&&dt):void 0}dt=a[0];var vt=-1,$t=ct[0];e:for(;++vt<nt&&ht.length<ft;){var xt=dt[vt],At=j?j(xt):xt;if(xt=_e||xt!==0?xt:0,!($t?cacheHas$1($t,At):et(ht,At,_e))){for(ot=tt;--ot;){var wt=ct[ot];if(!(wt?cacheHas$1(wt,At):et(a[ot],At,_e)))continue e}$t&&$t.push(At),ht.push(xt)}}return ht}var _baseIntersection=baseIntersection$1,isArrayLikeObject$1=isArrayLikeObject_1;function castArrayLikeObject$1(a){return isArrayLikeObject$1(a)?a:[]}var _castArrayLikeObject=castArrayLikeObject$1,arrayMap$2=_arrayMap,baseIntersection=_baseIntersection,baseRest$2=_baseRest,castArrayLikeObject=_castArrayLikeObject,intersection=baseRest$2(function(a){var j=arrayMap$2(a,castArrayLikeObject);return j.length&&j[0]===a[0]?baseIntersection(j):[]}),intersection_1=intersection;const intersection$1=getDefaultExportFromCjs$1(intersection_1),data$g={width:24,height:24,body:'<path fill="currentColor" d="M19 21q-.975 0-1.75-.563T16.175 19H11q-1.65 0-2.825-1.175T7 15q0-1.65 1.175-2.825T11 11h2q.825 0 1.413-.588T15 9q0-.825-.588-1.413T13 7H7.825q-.325.875-1.088 1.438T5 9q-1.25 0-2.125-.875T2 6q0-1.25.875-2.125T5 3q.975 0 1.738.563T7.824 5H13q1.65 0 2.825 1.175T17 9q0 1.65-1.175 2.825T13 13h-2q-.825 0-1.413.588T9 15q0 .825.588 1.413T11 17h5.175q.325-.875 1.088-1.438T19 15q1.25 0 2.125.875T22 18q0 1.25-.875 2.125T19 21ZM5 7q.425 0 .713-.288T6 6q0-.425-.288-.713T5 5q-.425 0-.713.288T4 6q0 .425.288.713T5 7Z"/>'},chromeExtDownloadUrl="https://chromewebstore.google.com/detail/did-wallet/ibjflpbmadchofnbpppegdbnifdgincp",edgeExtDownloadUrl="https://microsoftedge.microsoft.com/addons/detail/did-wallet/hjgoblidjnnnamdkinbichnfbmghmafd";function WebLoginItem({tokenState:a,locale:j,webWalletUrl:_e}){const et=detectWalletExtension(),{t:nt}=useStateContext(),tt=useReactive({loading:!1}),ot=useMemoizedFn(xt=>{xt.preventDefault(),tt.loading=!0;const At=openWebWallet({webWalletUrl:_e,url:a.url,locale:j,appInfo:a.appInfo,memberAppInfo:a.memberAppInfo});(At==null?void 0:At.type)==="web"?tt.loading=!1:setTimeout(()=>{tt.loading=!1},2e3)}),ct=useCreation(()=>{var At;const xt=(At=window==null?void 0:window.navigator)==null?void 0:At.userAgent;return xt.indexOf("Edge")>-1||xt.indexOf("Edg")>-1?"edge":xt.indexOf("Chrome")>-1?"chrome":"unknown"},[]),ft=useCreation(()=>ct==="edge"?edgeExtDownloadUrl:ct==="chrome"?chromeExtDownloadUrl:null,[ct]),ht=useCreation(()=>et?{onClick:ot}:ft?{component:"a",href:ft,target:"_blank",rel:"noopener"}:{onClick:ot},[ot]),dt=useCreation(()=>et||ft?"Web Wallet Extension":"Web Wallet",[et,ft]),vt=useCreation(()=>!et&&!ft?new URL(_e).hostname:null,[_e,ft]),$t=useCreation(()=>et?null:ft?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["You can also use"," ",jsxRuntimeExports.jsx(Box,{onClick:ot,component:"span",sx:{lineHeight:1,color:colors$1.foregroundsFgInteractive,cursor:"pointer","&:hover":{textDecoration:"underline dashed"}},children:"Web Wallet"})]}):null,[et,ft]);return jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",textDecoration:"none",color:"inherit",py:1.563},...ht,children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(default_1$3,{width:"24px",height:"24px"}),jsxRuntimeExports.jsxs(Box,{children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"14px",fontWeight:500,lineHeight:1,mb:.5},children:dt}),vt?jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"12px",color:colors$1.textMuted,lineHeight:1},children:vt}):null]}),$t?jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"12px",color:colors$1.textMuted,lineHeight:1},children:$t}):null]})]}),jsxRuntimeExports.jsx(Button,{startIcon:tt.loading?jsxRuntimeExports.jsx(CircularProgress,{color:"inherit",size:15}):jsxRuntimeExports.jsx(Icon,{icon:data$g}),disabled:tt.loading,children:nt("connectButton")})]})}WebLoginItem.propTypes={tokenState:PropTypes.object.isRequired,locale:PropTypes.string,webWalletUrl:PropTypes.string.isRequired};WebLoginItem.defaultProps={locale:"en"};var qrCodeStyling={exports:{}};(function(a,j){(function(_e,et){a.exports=et()})(commonjsGlobal,function(){return(()=>{var _e={192:(tt,ot)=>{var ct,ft,ht=function(){var dt=function(st,ut){var pt=st,mt=Ct[ut],Et=null,Tt=0,yt=null,it=[],bt={},kt=function(qt,Pt){Et=function(Ht){for(var nn=new Array(Ht),Zt=0;Zt<Ht;Zt+=1){nn[Zt]=new Array(Ht);for(var fn=0;fn<Ht;fn+=1)nn[Zt][fn]=null}return nn}(Tt=4*pt+17),Dt(0,0),Dt(Tt-7,0),Dt(0,Tt-7),Lt(),Ut(),Nt(qt,Pt),pt>=7&&Vt(qt),yt==null&&(yt=tn(pt,mt,it)),Yt(yt,Pt)},Dt=function(qt,Pt){for(var Ht=-1;Ht<=7;Ht+=1)if(!(qt+Ht<=-1||Tt<=qt+Ht))for(var nn=-1;nn<=7;nn+=1)Pt+nn<=-1||Tt<=Pt+nn||(Et[qt+Ht][Pt+nn]=0<=Ht&&Ht<=6&&(nn==0||nn==6)||0<=nn&&nn<=6&&(Ht==0||Ht==6)||2<=Ht&&Ht<=4&&2<=nn&&nn<=4)},Ut=function(){for(var qt=8;qt<Tt-8;qt+=1)Et[qt][6]==null&&(Et[qt][6]=qt%2==0);for(var Pt=8;Pt<Tt-8;Pt+=1)Et[6][Pt]==null&&(Et[6][Pt]=Pt%2==0)},Lt=function(){for(var qt=Rt.getPatternPosition(pt),Pt=0;Pt<qt.length;Pt+=1)for(var Ht=0;Ht<qt.length;Ht+=1){var nn=qt[Pt],Zt=qt[Ht];if(Et[nn][Zt]==null)for(var fn=-2;fn<=2;fn+=1)for(var yn=-2;yn<=2;yn+=1)Et[nn+fn][Zt+yn]=fn==-2||fn==2||yn==-2||yn==2||fn==0&&yn==0}},Vt=function(qt){for(var Pt=Rt.getBCHTypeNumber(pt),Ht=0;Ht<18;Ht+=1){var nn=!qt&&(Pt>>Ht&1)==1;Et[Math.floor(Ht/3)][Ht%3+Tt-8-3]=nn}for(Ht=0;Ht<18;Ht+=1)nn=!qt&&(Pt>>Ht&1)==1,Et[Ht%3+Tt-8-3][Math.floor(Ht/3)]=nn},Nt=function(qt,Pt){for(var Ht=mt<<3|Pt,nn=Rt.getBCHTypeInfo(Ht),Zt=0;Zt<15;Zt+=1){var fn=!qt&&(nn>>Zt&1)==1;Zt<6?Et[Zt][8]=fn:Zt<8?Et[Zt+1][8]=fn:Et[Tt-15+Zt][8]=fn}for(Zt=0;Zt<15;Zt+=1)fn=!qt&&(nn>>Zt&1)==1,Zt<8?Et[8][Tt-Zt-1]=fn:Zt<9?Et[8][15-Zt-1+1]=fn:Et[8][15-Zt-1]=fn;Et[Tt-8][8]=!qt},Yt=function(qt,Pt){for(var Ht=-1,nn=Tt-1,Zt=7,fn=0,yn=Rt.getMaskFunction(Pt),on=Tt-1;on>0;on-=2)for(on==6&&(on-=1);;){for(var cn=0;cn<2;cn+=1)if(Et[nn][on-cn]==null){var In=!1;fn<qt.length&&(In=(qt[fn]>>>Zt&1)==1),yn(nn,on-cn)&&(In=!In),Et[nn][on-cn]=In,(Zt-=1)==-1&&(fn+=1,Zt=7)}if((nn+=Ht)<0||Tt<=nn){nn-=Ht,Ht=-Ht;break}}},tn=function(qt,Pt,Ht){for(var nn=Ot.getRSBlocks(qt,Pt),Zt=zt(),fn=0;fn<Ht.length;fn+=1){var yn=Ht[fn];Zt.put(yn.getMode(),4),Zt.put(yn.getLength(),Rt.getLengthInBits(yn.getMode(),qt)),yn.write(Zt)}var on=0;for(fn=0;fn<nn.length;fn+=1)on+=nn[fn].dataCount;if(Zt.getLengthInBits()>8*on)throw"code length overflow. ("+Zt.getLengthInBits()+">"+8*on+")";for(Zt.getLengthInBits()+4<=8*on&&Zt.put(0,4);Zt.getLengthInBits()%8!=0;)Zt.putBit(!1);for(;!(Zt.getLengthInBits()>=8*on||(Zt.put(236,8),Zt.getLengthInBits()>=8*on));)Zt.put(17,8);return function(cn,In){for(var gn=0,xn=0,En=0,hn=new Array(In.length),mn=new Array(In.length),Pn=0;Pn<In.length;Pn+=1){var _n=In[Pn].dataCount,Rn=In[Pn].totalCount-_n;xn=Math.max(xn,_n),En=Math.max(En,Rn),hn[Pn]=new Array(_n);for(var On=0;On<hn[Pn].length;On+=1)hn[Pn][On]=255&cn.getBuffer()[On+gn];gn+=_n;var rn=Rt.getErrorCorrectPolynomial(Rn),Ft=Mt(hn[Pn],rn.getLength()-1).mod(rn);for(mn[Pn]=new Array(rn.getLength()-1),On=0;On<mn[Pn].length;On+=1){var Kt=On+Ft.getLength()-mn[Pn].length;mn[Pn][On]=Kt>=0?Ft.getAt(Kt):0}}var un=0;for(On=0;On<In.length;On+=1)un+=In[On].totalCount;var vn=new Array(un),Mn=0;for(On=0;On<xn;On+=1)for(Pn=0;Pn<In.length;Pn+=1)On<hn[Pn].length&&(vn[Mn]=hn[Pn][On],Mn+=1);for(On=0;On<En;On+=1)for(Pn=0;Pn<In.length;Pn+=1)On<mn[Pn].length&&(vn[Mn]=mn[Pn][On],Mn+=1);return vn}(Zt,nn)};bt.addData=function(qt,Pt){var Ht=null;switch(Pt=Pt||"Byte"){case"Numeric":Ht=jt(qt);break;case"Alphanumeric":Ht=Gt(qt);break;case"Byte":Ht=Jt(qt);break;case"Kanji":Ht=Xt(qt);break;default:throw"mode:"+Pt}it.push(Ht),yt=null},bt.isDark=function(qt,Pt){if(qt<0||Tt<=qt||Pt<0||Tt<=Pt)throw qt+","+Pt;return Et[qt][Pt]},bt.getModuleCount=function(){return Tt},bt.make=function(){if(pt<1){for(var qt=1;qt<40;qt++){for(var Pt=Ot.getRSBlocks(qt,mt),Ht=zt(),nn=0;nn<it.length;nn++){var Zt=it[nn];Ht.put(Zt.getMode(),4),Ht.put(Zt.getLength(),Rt.getLengthInBits(Zt.getMode(),qt)),Zt.write(Ht)}var fn=0;for(nn=0;nn<Pt.length;nn++)fn+=Pt[nn].dataCount;if(Ht.getLengthInBits()<=8*fn)break}pt=qt}kt(!1,function(){for(var yn=0,on=0,cn=0;cn<8;cn+=1){kt(!0,cn);var In=Rt.getLostPoint(bt);(cn==0||yn>In)&&(yn=In,on=cn)}return on}())},bt.createTableTag=function(qt,Pt){qt=qt||2;var Ht="";Ht+='<table style="',Ht+=" border-width: 0px; border-style: none;",Ht+=" border-collapse: collapse;",Ht+=" padding: 0px; margin: "+(Pt=Pt===void 0?4*qt:Pt)+"px;",Ht+='">',Ht+="<tbody>";for(var nn=0;nn<bt.getModuleCount();nn+=1){Ht+="<tr>";for(var Zt=0;Zt<bt.getModuleCount();Zt+=1)Ht+='<td style="',Ht+=" border-width: 0px; border-style: none;",Ht+=" border-collapse: collapse;",Ht+=" padding: 0px; margin: 0px;",Ht+=" width: "+qt+"px;",Ht+=" height: "+qt+"px;",Ht+=" background-color: ",Ht+=bt.isDark(nn,Zt)?"#000000":"#ffffff",Ht+=";",Ht+='"/>';Ht+="</tr>"}return(Ht+="</tbody>")+"</table>"},bt.createSvgTag=function(qt,Pt,Ht,nn){var Zt={};typeof arguments[0]=="object"&&(qt=(Zt=arguments[0]).cellSize,Pt=Zt.margin,Ht=Zt.alt,nn=Zt.title),qt=qt||2,Pt=Pt===void 0?4*qt:Pt,(Ht=typeof Ht=="string"?{text:Ht}:Ht||{}).text=Ht.text||null,Ht.id=Ht.text?Ht.id||"qrcode-description":null,(nn=typeof nn=="string"?{text:nn}:nn||{}).text=nn.text||null,nn.id=nn.text?nn.id||"qrcode-title":null;var fn,yn,on,cn,In=bt.getModuleCount()*qt+2*Pt,gn="";for(cn="l"+qt+",0 0,"+qt+" -"+qt+",0 0,-"+qt+"z ",gn+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',gn+=Zt.scalable?"":' width="'+In+'px" height="'+In+'px"',gn+=' viewBox="0 0 '+In+" "+In+'" ',gn+=' preserveAspectRatio="xMinYMin meet"',gn+=nn.text||Ht.text?' role="img" aria-labelledby="'+an([nn.id,Ht.id].join(" ").trim())+'"':"",gn+=">",gn+=nn.text?'<title id="'+an(nn.id)+'">'+an(nn.text)+"</title>":"",gn+=Ht.text?'<description id="'+an(Ht.id)+'">'+an(Ht.text)+"</description>":"",gn+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',gn+='<path d="',yn=0;yn<bt.getModuleCount();yn+=1)for(on=yn*qt+Pt,fn=0;fn<bt.getModuleCount();fn+=1)bt.isDark(yn,fn)&&(gn+="M"+(fn*qt+Pt)+","+on+cn);return(gn+='" stroke="transparent" fill="black"/>')+"</svg>"},bt.createDataURL=function(qt,Pt){qt=qt||2,Pt=Pt===void 0?4*qt:Pt;var Ht=bt.getModuleCount()*qt+2*Pt,nn=Pt,Zt=Ht-Pt;return rt(Ht,Ht,function(fn,yn){if(nn<=fn&&fn<Zt&&nn<=yn&&yn<Zt){var on=Math.floor((fn-nn)/qt),cn=Math.floor((yn-nn)/qt);return bt.isDark(cn,on)?0:1}return 1})},bt.createImgTag=function(qt,Pt,Ht){qt=qt||2,Pt=Pt===void 0?4*qt:Pt;var nn=bt.getModuleCount()*qt+2*Pt,Zt="";return Zt+="<img",Zt+=' src="',Zt+=bt.createDataURL(qt,Pt),Zt+='"',Zt+=' width="',Zt+=nn,Zt+='"',Zt+=' height="',Zt+=nn,Zt+='"',Ht&&(Zt+=' alt="',Zt+=an(Ht),Zt+='"'),Zt+"/>"};var an=function(qt){for(var Pt="",Ht=0;Ht<qt.length;Ht+=1){var nn=qt.charAt(Ht);switch(nn){case"<":Pt+="<";break;case">":Pt+=">";break;case"&":Pt+="&";break;case'"':Pt+=""";break;default:Pt+=nn}}return Pt};return bt.createASCII=function(qt,Pt){if((qt=qt||1)<2)return function(hn){hn=hn===void 0?2:hn;var mn,Pn,_n,Rn,On,rn=1*bt.getModuleCount()+2*hn,Ft=hn,Kt=rn-hn,un={"██":"█","█ ":"▀"," █":"▄"," ":" "},vn={"██":"▀","█ ":"▀"," █":" "," ":" "},Mn="";for(mn=0;mn<rn;mn+=2){for(_n=Math.floor((mn-Ft)/1),Rn=Math.floor((mn+1-Ft)/1),Pn=0;Pn<rn;Pn+=1)On="█",Ft<=Pn&&Pn<Kt&&Ft<=mn&&mn<Kt&&bt.isDark(_n,Math.floor((Pn-Ft)/1))&&(On=" "),Ft<=Pn&&Pn<Kt&&Ft<=mn+1&&mn+1<Kt&&bt.isDark(Rn,Math.floor((Pn-Ft)/1))?On+=" ":On+="█",Mn+=hn<1&&mn+1>=Kt?vn[On]:un[On];Mn+=`
|
|
466
|
+
`;var baseKeys=_baseKeys,getTag=_getTag,isArguments$1=isArguments_1,isArray$7=isArray_1,isArrayLike$2=isArrayLike_1,isBuffer=isBufferExports,isPrototype=_isPrototype,isTypedArray=isTypedArray_1,mapTag="[object Map]",setTag="[object Set]",objectProto$2=Object.prototype,hasOwnProperty$5=objectProto$2.hasOwnProperty;function isEmpty(a){if(a==null)return!0;if(isArrayLike$2(a)&&(isArray$7(a)||typeof a=="string"||typeof a.splice=="function"||isBuffer(a)||isTypedArray(a)||isArguments$1(a)))return!a.length;var j=getTag(a);if(j==mapTag||j==setTag)return!a.size;if(isPrototype(a))return!baseKeys(a).length;for(var _e in a)if(hasOwnProperty$5.call(a,_e))return!1;return!0}var isEmpty_1=isEmpty;const isEmpty$1=getDefaultExportFromCjs$1(isEmpty_1);function getMaster(a=window.blocklet){var _e;return(((_e=a==null?void 0:a.settings)==null?void 0:_e.federated)||{}).master}function getConfig(a=window.blocklet){var _e;return(((_e=a==null?void 0:a.settings)==null?void 0:_e.federated)||{}).config}function getFederatedEnabled(a=window.blocklet){const j=getConfig(a);return(j==null?void 0:j.status)==="approved"}function getFederatedApp(a=window.blocklet){const j=getMaster(a);return!isEmpty$1(j)?{appId:j.appId,appName:j.appName,appDescription:j.appDescription,appLogo:j.appLogo,appPid:j.appPid,appUrl:j.appUrl,version:j.version,sourceAppPid:j.appPid,provider:"wallet"}:null}function getCurrentApp(a=window.blocklet){return a?{appId:a.appId,appName:a.appName,appDescription:a.appDescription,appLogo:a.appLogo,appPid:a.appPid,appUrl:a.appUrl,currentAppUrl:a===window.blocklet?window.location.origin:void 0,version:a.version,sourceAppPid:null,provider:"wallet"}:window.env?(a=window.env,{appId:a.appId,appName:a.appName,appDescription:a.appDescription,appUrl:a.baseUrl,currentAppUrl:window.location.origin,sourceAppPid:null,provider:"wallet",type:"server"}):null}function getApps(a){const j=[],_e=getFederatedApp(a),et=getCurrentApp(a),nt=getFederatedEnabled(a);return et&&j.push(et),_e&&(_e==null?void 0:_e.appId)!==(et==null?void 0:et.appId)&&nt&&j.push(_e),j.reverse()}async function getBlockletData(a){try{const j=new URL("__blocklet__.js",a);return j.searchParams.set("type","json"),await(await fetch(j.href)).json()}catch(j){return console.error(`Failed to get blocklet data: ${a}`,j),null}}const SvgGuest=a=>reactExports.createElement("svg",{width:420,height:475,viewBox:"0 0 420 475",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},reactExports.createElement("rect",{x:1,y:1,width:418,height:473,rx:19,fill:"#FBFBFB"}),reactExports.createElement("g",{clipPath:"url(#clip0_8323_86657)"},reactExports.createElement("rect",{opacity:.7,y:100,width:420,height:168,fill:"#DDDDDD"})),reactExports.createElement("circle",{cx:210,cy:248,r:60,fill:"#C4C5CA"}),reactExports.createElement("path",{d:"M181 284L188.2 276.8L195.4 284L202.6 273.2L209.8 284L217 273.2L224.2 284L231.4 276.8L238.6 284V240.8C238.6 224.893 225.707 212 209.8 212C193.893 212 181 224.893 181 240.8V284Z",fill:"#C4C5CA",stroke:"white",strokeWidth:5,strokeLinejoin:"round"}),reactExports.createElement("path",{d:"M200.797 240.812H204.397H200.797ZM222.397 240.812H225.997H222.397Z",fill:"#C4C5CA"}),reactExports.createElement("path",{d:"M200.797 240.812H204.397M222.397 240.812H225.997",stroke:"white",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"}),reactExports.createElement("path",{opacity:.7,d:"M24 29H213V69H24V29Z",fill:"#C4C5CA"}),reactExports.createElement("rect",{opacity:.42,x:313,y:24,width:83,height:14,fill:"#C4C5CA"}),reactExports.createElement("rect",{opacity:.7,x:291,y:50,width:105,height:26,fill:"#C4C5CA"}),reactExports.createElement("path",{d:"M177.388 388.4C175.655 388.4 174.068 388.187 172.628 387.76C171.215 387.333 169.948 386.707 168.828 385.88C167.735 385.053 166.748 384.053 165.868 382.88L169.628 378.6C170.935 380.413 172.228 381.653 173.508 382.32C174.815 382.96 176.228 383.28 177.748 383.28C178.575 383.28 179.308 383.173 179.948 382.96C180.615 382.72 181.135 382.387 181.508 381.96C181.881 381.533 182.068 381.027 182.068 380.44C182.068 380.013 181.975 379.627 181.788 379.28C181.601 378.907 181.335 378.587 180.988 378.32C180.641 378.027 180.228 377.773 179.748 377.56C179.268 377.32 178.735 377.12 178.148 376.96C177.561 376.773 176.921 376.627 176.228 376.52C174.735 376.173 173.428 375.76 172.308 375.28C171.188 374.773 170.255 374.16 169.508 373.44C168.761 372.693 168.201 371.853 167.828 370.92C167.481 369.987 167.308 368.933 167.308 367.76C167.308 366.56 167.575 365.453 168.108 364.44C168.641 363.4 169.375 362.507 170.308 361.76C171.268 361.013 172.361 360.44 173.588 360.04C174.841 359.64 176.161 359.44 177.548 359.44C179.255 359.44 180.748 359.64 182.028 360.04C183.308 360.413 184.415 360.96 185.348 361.68C186.308 362.4 187.108 363.28 187.748 364.32L183.948 368C183.388 367.253 182.775 366.627 182.108 366.12C181.468 365.613 180.761 365.24 179.988 365C179.241 364.733 178.468 364.6 177.668 364.6C176.788 364.6 176.028 364.72 175.388 364.96C174.748 365.173 174.241 365.493 173.868 365.92C173.521 366.347 173.348 366.867 173.348 367.48C173.348 367.96 173.468 368.387 173.708 368.76C173.948 369.133 174.295 369.467 174.748 369.76C175.201 370.027 175.748 370.267 176.388 370.48C177.028 370.693 177.735 370.88 178.508 371.04C179.975 371.333 181.295 371.72 182.468 372.2C183.641 372.68 184.641 373.267 185.468 373.96C186.321 374.627 186.975 375.427 187.428 376.36C187.881 377.267 188.108 378.293 188.108 379.44C188.108 381.333 187.655 382.947 186.748 384.28C185.841 385.613 184.588 386.64 182.988 387.36C181.388 388.053 179.521 388.4 177.388 388.4ZM194.782 388V361.48H200.462V388H194.782ZM190.822 371.92V366.84H204.782V371.92H190.822ZM216.209 388.4C214.449 388.4 212.863 387.92 211.449 386.96C210.036 386 208.916 384.693 208.089 383.04C207.263 381.387 206.849 379.493 206.849 377.36C206.849 375.227 207.263 373.347 208.089 371.72C208.943 370.067 210.089 368.773 211.529 367.84C212.969 366.88 214.609 366.4 216.449 366.4C217.489 366.4 218.436 366.56 219.289 366.88C220.169 367.173 220.929 367.587 221.569 368.12C222.236 368.653 222.796 369.267 223.249 369.96C223.703 370.653 224.023 371.4 224.209 372.2L223.009 372V366.84H228.649V388H222.929V382.92L224.209 382.8C223.996 383.547 223.649 384.253 223.169 384.92C222.689 385.587 222.089 386.187 221.369 386.72C220.676 387.227 219.889 387.64 219.009 387.96C218.129 388.253 217.196 388.4 216.209 388.4ZM217.769 383.48C218.836 383.48 219.769 383.227 220.569 382.72C221.369 382.213 221.983 381.507 222.409 380.6C222.863 379.667 223.089 378.587 223.089 377.36C223.089 376.16 222.863 375.107 222.409 374.2C221.983 373.293 221.369 372.587 220.569 372.08C219.769 371.547 218.836 371.28 217.769 371.28C216.729 371.28 215.809 371.547 215.009 372.08C214.236 372.587 213.623 373.293 213.169 374.2C212.716 375.107 212.489 376.16 212.489 377.36C212.489 378.587 212.716 379.667 213.169 380.6C213.623 381.507 214.236 382.213 215.009 382.72C215.809 383.227 216.729 383.48 217.769 383.48ZM236.835 397.2L241.475 386.32L241.555 389.6L231.235 366.84H237.675L242.835 379.04C243.048 379.493 243.248 380.027 243.435 380.64C243.648 381.227 243.822 381.8 243.955 382.36L242.995 382.76C243.155 382.307 243.342 381.787 243.555 381.2C243.768 380.613 243.982 379.987 244.195 379.32L248.635 366.84H255.115L246.235 388L242.595 397.2H236.835ZM92.8005 438L103.76 410H109.12L120.04 438H113.88L108.24 422.92C108.08 422.493 107.88 421.947 107.64 421.28C107.427 420.613 107.2 419.907 106.96 419.16C106.72 418.413 106.494 417.707 106.28 417.04C106.067 416.347 105.907 415.773 105.8 415.32L106.88 415.28C106.72 415.893 106.534 416.533 106.32 417.2C106.134 417.84 105.934 418.507 105.72 419.2C105.507 419.867 105.28 420.52 105.04 421.16C104.8 421.8 104.574 422.427 104.36 423.04L98.7205 438H92.8005ZM97.8805 432.12L99.8405 427.28H112.68L114.68 432.12H97.8805ZM123.172 438V416.84H128.612L128.772 421.16L127.652 421.64C127.945 420.68 128.465 419.813 129.212 419.04C129.985 418.24 130.905 417.6 131.972 417.12C133.039 416.64 134.159 416.4 135.332 416.4C136.932 416.4 138.265 416.72 139.332 417.36C140.425 418 141.239 418.973 141.772 420.28C142.332 421.56 142.612 423.147 142.612 425.04V438H136.932V425.48C136.932 424.52 136.799 423.72 136.532 423.08C136.265 422.44 135.852 421.973 135.292 421.68C134.759 421.36 134.092 421.227 133.292 421.28C132.652 421.28 132.052 421.387 131.492 421.6C130.959 421.787 130.492 422.067 130.092 422.44C129.719 422.813 129.412 423.24 129.172 423.72C128.959 424.2 128.852 424.72 128.852 425.28V438H126.052C125.439 438 124.892 438 124.412 438C123.932 438 123.519 438 123.172 438ZM157.895 438.4C155.735 438.4 153.802 437.933 152.095 437C150.415 436.04 149.082 434.733 148.095 433.08C147.135 431.427 146.655 429.533 146.655 427.4C146.655 425.267 147.135 423.387 148.095 421.76C149.082 420.107 150.415 418.8 152.095 417.84C153.802 416.88 155.735 416.4 157.895 416.4C160.028 416.4 161.935 416.88 163.615 417.84C165.322 418.8 166.655 420.107 167.615 421.76C168.575 423.387 169.055 425.267 169.055 427.4C169.055 429.533 168.575 431.427 167.615 433.08C166.655 434.733 165.322 436.04 163.615 437C161.935 437.933 160.028 438.4 157.895 438.4ZM157.895 433.44C158.935 433.44 159.868 433.187 160.695 432.68C161.522 432.147 162.162 431.427 162.615 430.52C163.095 429.587 163.335 428.547 163.335 427.4C163.335 426.227 163.095 425.187 162.615 424.28C162.162 423.347 161.522 422.627 160.695 422.12C159.868 421.587 158.935 421.32 157.895 421.32C156.828 421.32 155.882 421.587 155.055 422.12C154.228 422.653 153.575 423.373 153.095 424.28C152.615 425.187 152.388 426.227 152.415 427.4C152.388 428.547 152.615 429.587 153.095 430.52C153.575 431.427 154.228 432.147 155.055 432.68C155.882 433.187 156.828 433.44 157.895 433.44ZM173.328 438V416.84H178.768L178.928 421.16L177.808 421.64C178.102 420.68 178.622 419.813 179.368 419.04C180.142 418.24 181.062 417.6 182.128 417.12C183.195 416.64 184.315 416.4 185.488 416.4C187.088 416.4 188.422 416.72 189.488 417.36C190.582 418 191.395 418.973 191.928 420.28C192.488 421.56 192.768 423.147 192.768 425.04V438H187.088V425.48C187.088 424.52 186.955 423.72 186.688 423.08C186.422 422.44 186.008 421.973 185.448 421.68C184.915 421.36 184.248 421.227 183.448 421.28C182.808 421.28 182.208 421.387 181.648 421.6C181.115 421.787 180.648 422.067 180.248 422.44C179.875 422.813 179.568 423.24 179.328 423.72C179.115 424.2 179.008 424.72 179.008 425.28V438H176.208C175.595 438 175.048 438 174.568 438C174.088 438 173.675 438 173.328 438ZM200.976 447.2L205.616 436.32L205.696 439.6L195.376 416.84H201.816L206.976 429.04C207.189 429.493 207.389 430.027 207.576 430.64C207.789 431.227 207.962 431.8 208.096 432.36L207.136 432.76C207.296 432.307 207.482 431.787 207.696 431.2C207.909 430.613 208.122 429.987 208.336 429.32L212.776 416.84H219.256L210.376 438L206.736 447.2H200.976ZM222.273 438V416.84H227.753L227.873 420.88L227.033 421.04C227.326 420.347 227.713 419.72 228.193 419.16C228.673 418.6 229.233 418.12 229.873 417.72C230.539 417.32 231.233 417.013 231.953 416.8C232.673 416.56 233.393 416.44 234.113 416.44C235.206 416.44 236.193 416.613 237.073 416.96C237.953 417.307 238.699 417.853 239.313 418.6C239.926 419.32 240.406 420.28 240.753 421.48L239.873 421.4L240.153 420.76C240.499 420.12 240.939 419.547 241.473 419.04C242.006 418.507 242.606 418.053 243.273 417.68C243.939 417.28 244.633 416.973 245.353 416.76C246.073 416.547 246.779 416.44 247.473 416.44C249.126 416.44 250.499 416.773 251.593 417.44C252.686 418.08 253.499 419.053 254.033 420.36C254.593 421.667 254.873 423.267 254.873 425.16V438H249.193V425.56C249.193 424.6 249.059 423.813 248.793 423.2C248.526 422.587 248.139 422.133 247.633 421.84C247.126 421.52 246.473 421.36 245.673 421.36C245.059 421.36 244.486 421.467 243.953 421.68C243.446 421.867 242.993 422.147 242.593 422.52C242.219 422.867 241.926 423.28 241.713 423.76C241.499 424.24 241.393 424.773 241.393 425.36V438H235.713V425.52C235.713 424.64 235.566 423.893 235.273 423.28C235.006 422.64 234.619 422.16 234.113 421.84C233.606 421.52 232.979 421.36 232.233 421.36C231.619 421.36 231.046 421.467 230.513 421.68C230.006 421.867 229.566 422.147 229.193 422.52C228.819 422.867 228.513 423.28 228.273 423.76C228.059 424.24 227.953 424.76 227.953 425.32V438H222.273ZM270.121 438.4C267.961 438.4 266.028 437.933 264.321 437C262.641 436.04 261.308 434.733 260.321 433.08C259.361 431.427 258.881 429.533 258.881 427.4C258.881 425.267 259.361 423.387 260.321 421.76C261.308 420.107 262.641 418.8 264.321 417.84C266.028 416.88 267.961 416.4 270.121 416.4C272.255 416.4 274.161 416.88 275.841 417.84C277.548 418.8 278.881 420.107 279.841 421.76C280.801 423.387 281.281 425.267 281.281 427.4C281.281 429.533 280.801 431.427 279.841 433.08C278.881 434.733 277.548 436.04 275.841 437C274.161 437.933 272.255 438.4 270.121 438.4ZM270.121 433.44C271.161 433.44 272.095 433.187 272.921 432.68C273.748 432.147 274.388 431.427 274.841 430.52C275.321 429.587 275.561 428.547 275.561 427.4C275.561 426.227 275.321 425.187 274.841 424.28C274.388 423.347 273.748 422.627 272.921 422.12C272.095 421.587 271.161 421.32 270.121 421.32C269.055 421.32 268.108 421.587 267.281 422.12C266.455 422.653 265.801 423.373 265.321 424.28C264.841 425.187 264.615 426.227 264.641 427.4C264.615 428.547 264.841 429.587 265.321 430.52C265.801 431.427 266.455 432.147 267.281 432.68C268.108 433.187 269.055 433.44 270.121 433.44ZM292.835 438.4C291.288 438.4 289.955 438.067 288.835 437.4C287.742 436.707 286.888 435.733 286.275 434.48C285.688 433.2 285.395 431.667 285.395 429.88V416.84H291.075V428.96C291.075 429.92 291.235 430.76 291.555 431.48C291.875 432.173 292.328 432.707 292.915 433.08C293.502 433.453 294.222 433.64 295.075 433.64C295.688 433.64 296.262 433.547 296.795 433.36C297.328 433.147 297.782 432.853 298.155 432.48C298.528 432.107 298.822 431.667 299.035 431.16C299.248 430.653 299.355 430.107 299.355 429.52V416.84H305.035V438H299.635L299.435 433.64L300.475 433.16C300.155 434.147 299.622 435.04 298.875 435.84C298.128 436.64 297.235 437.267 296.195 437.72C295.155 438.173 294.035 438.4 292.835 438.4ZM317.87 438.4C315.897 438.4 314.137 438.08 312.59 437.44C311.07 436.773 309.843 435.867 308.91 434.72L312.43 431.68C313.257 432.56 314.177 433.2 315.19 433.6C316.203 433.973 317.217 434.16 318.23 434.16C318.63 434.16 318.99 434.12 319.31 434.04C319.657 433.933 319.95 433.8 320.19 433.64C320.43 433.453 320.603 433.24 320.71 433C320.843 432.733 320.91 432.453 320.91 432.16C320.91 431.573 320.67 431.107 320.19 430.76C319.923 430.627 319.51 430.467 318.95 430.28C318.39 430.067 317.67 429.84 316.79 429.6C315.43 429.253 314.27 428.853 313.31 428.4C312.377 427.92 311.63 427.387 311.07 426.8C310.59 426.24 310.217 425.64 309.95 425C309.71 424.333 309.59 423.6 309.59 422.8C309.59 421.84 309.803 420.973 310.23 420.2C310.657 419.4 311.243 418.72 311.99 418.16C312.763 417.6 313.643 417.173 314.63 416.88C315.617 416.56 316.657 416.4 317.75 416.4C318.843 416.4 319.91 416.533 320.95 416.8C321.99 417.067 322.95 417.453 323.83 417.96C324.737 418.44 325.523 419.013 326.19 419.68L323.15 423.04C322.67 422.587 322.123 422.173 321.51 421.8C320.923 421.427 320.31 421.133 319.67 420.92C319.03 420.707 318.457 420.6 317.95 420.6C317.497 420.6 317.083 420.64 316.71 420.72C316.363 420.8 316.07 420.92 315.83 421.08C315.59 421.24 315.403 421.453 315.27 421.72C315.163 421.96 315.11 422.227 315.11 422.52C315.11 422.813 315.177 423.093 315.31 423.36C315.47 423.627 315.683 423.853 315.95 424.04C316.243 424.2 316.67 424.387 317.23 424.6C317.817 424.813 318.603 425.053 319.59 425.32C320.87 425.667 321.95 426.053 322.83 426.48C323.737 426.907 324.457 427.4 324.99 427.96C325.443 428.44 325.777 428.987 325.99 429.6C326.203 430.213 326.31 430.893 326.31 431.64C326.31 432.947 325.937 434.12 325.19 435.16C324.47 436.173 323.47 436.973 322.19 437.56C320.91 438.12 319.47 438.4 317.87 438.4Z",fill:"#25292F"}),reactExports.createElement("rect",{x:1,y:1,width:418,height:558,rx:19,stroke:"#DDDDDD",strokeWidth:2}),reactExports.createElement("defs",null,reactExports.createElement("clipPath",{id:"clip0_8323_86657"},reactExports.createElement("rect",{width:420,height:168,fill:"white",transform:"translate(0 100)"})))),OAuthContext=reactExports.createContext({}),{Provider:Provider$7,Consumer:OAuthConsumer}=OAuthContext,prefix$3=`${AUTH_SERVICE_PREFIX}/api/oauth`,parseResponse=a=>a?typeof a=="string"?{sessionToken:a}:pick$2(a,["sessionToken","refreshToken","visitorId"]):{},translations$5={zh:{bindOAuth:"绑定第三方登录",bind:"绑定",noneOAuth:"未配置第三方登录方式",bindOAuthSucceed:"绑定 {provider} 成功",unbindOAuthSucceed:"解绑 {provider} 成功",loginOAuthFailed:"登录 {provider} 失败",bindOAuthFailed:"绑定 {provider} 失败",unbindOAuthFailed:"绑定 {provider} 失败",switchPassport:"切换通行证",switchPassportFailed:"切换通行证失败",switchPassportSucceed:"切换通行证成功",choosePassport:"请选择一个通行证",switch:"切换",cancel:"取消",currentRole:"当前角色:",passport:"通行证",noPassports:"没有可更换的通行证",getPassportFailed:"获取通行证失败",loginRequired:"授权请求被拒绝",cancelAuth:"取消授权"},en:{bindOAuth:"Bind third party login",bind:"Bind ",noneOAuth:"Third party login is not configured",bindOAuthSucceed:"Bind {provider} succeed",unbindOAuthSucceed:"Unbind {provider} succeed",loginOAuthFailed:"Login {provider} failed",bindOAuthFailed:"Bind {provider} failed",unbindOAuthFailed:"Unbind {provider} failed",switchPassport:"Switch passport",switchPassportFailed:"Switch passport failed",switchPassportSucceed:"Switch passport succeed",choosePassport:"Select a passport to switch",switch:"Switch",cancel:"Cancel",currentRole:"Current role: ",passport:"Passport",noPassports:"No passport to switch",getPassportFailed:"Get passports failed",loginRequired:"You have declined the authentication request",cancelAuth:"Cancel authentication"}};function OAuthProvider({children:a,locale:j,onBindOAuth:_e,onUnbindOAuth:et,onSwitchPassport:nt}){var zt;const tt=useReactive({baseUrl:"/",bindFnSession:void 0,bindAuthLoading:!1,unbindAuthLoading:!1}),ot=useReactive({open:!1,currentUser:null,passports:[],choosePassport:void 0,reset(){ot.open=!1,ot.currentUser=null,ot.passports=[],ot.choosePassport=void 0}}),ct=useReactive({user:null,checking:!1,loading:!1,error:"",status:"",reset(){ct.loading=!1,ct.checking=!1,ct.error="",ct.status=""}}),ft=useMemoizedFn((jt,Gt={})=>translate(translations$5,jt,j,"en",Gt)),ht=useCreation(()=>createAxios({baseURL:joinURL(tt.baseUrl,prefix$3)}),[tt.baseUrl,prefix$3]),dt=useMemoizedFn(async()=>{if(tt.baseUrl==="/")return window.blocklet;try{if(new URL(tt.baseUrl).host===window.location.host)return window.blocklet}catch{}return await getBlockletData(tt.baseUrl)}),vt=useMemoizedFn(async({sourceAppPid:jt}={})=>{var dn,St;const Gt=await dt(),Jt=getFederatedEnabled(Gt),Xt=getMaster(Gt);if(Jt&&(Xt!=null&&Xt.appPid)&&jt===(Xt==null?void 0:Xt.appPid)){const rt=await getBlockletData(Xt.appUrl);return((dn=rt==null?void 0:rt.settings)==null?void 0:dn.oauth)||{}}return((St=Gt==null?void 0:Gt.settings)==null?void 0:St.oauth)||{}}),$t=useMemoizedFn(async({sourceAppPid:jt}={})=>{const Gt=await vt({sourceAppPid:jt});return Object.entries(Gt).map(([Xt,dn])=>({...dn,provider:Xt})).filter(Xt=>Xt.enabled).sort((Xt,dn)=>(Xt==null?void 0:Xt.order)!==void 0&&(dn==null?void 0:dn.order)!==void 0?Xt.order-dn.order:(Xt==null?void 0:Xt.order)!==void 0?-1:1)}),xt=useMemoizedFn(async({provider:jt}={})=>{var Jt;const Gt=openPopup(joinURL(tt.baseUrl,WELLKNOWN_SERVICE_PATH_PREFIX,"/oauth/login",jt),{name:"oauth-login:popup"});try{const Xt=await runPopup({popup:Gt,closeTimeout:0});return Xt!=null&&Xt.response?(Jt=Xt.response)==null?void 0:Jt.code:null}catch(Xt){throw(Xt==null?void 0:Xt.message)==="Popup closed"?new Error(ft("cancelAuth")):Xt}}),At=async({session:jt,oauthItem:Gt}={})=>{var Jt,Xt;tt.bindFnSession=jt,tt.bindAuthLoading=!0;try{const dn=await xt(Gt),St=(Xt=(Jt=tt.bindFnSession)==null?void 0:Jt.user)==null?void 0:Xt.sourceAppPid;await ht.post("/bind",{locale:j,provider:Gt.provider,code:dn,sourceAppPid:St}),Toast$1.success(ft("bindOAuthSucceed",{provider:OAUTH_PROVIDER[Gt.provider]})),_e(Gt)}catch(dn){Toast$1.error(getApiErrorMessage(dn,ft("bindOAuthFailed",{provider:OAUTH_PROVIDER[Gt.provider]})))}finally{tt.bindAuthLoading=!1}},wt=async({session:jt,connectedAccount:Gt})=>{var Jt;tt.unbindAuthLoading=!0;try{const Xt=(Jt=jt==null?void 0:jt.user)==null?void 0:Jt.sourceAppPid;await ht.post("/unbind",{locale:j,connectedAccount:omit$1(Gt,["showProvider"]),sourceAppPid:Xt}),Toast$1.success(ft("unbindOAuthSucceed",{provider:OAUTH_PROVIDER[Gt.showProvider||Gt.provider]})),et(Gt)}catch(Xt){Toast$1.error(getApiErrorMessage(Xt,ft("unbindOAuthFailed",{provider:OAUTH_PROVIDER[Gt.showProvider||Gt.provider]})))}finally{tt.unbindAuthLoading=!1}},Ct=async(jt={})=>{try{const{data:Gt}=await ht.get("/passports");Gt.length?(ot.open=!0,ot.currentUser=jt,ot.passports=Gt||[]):Toast$1.error(ft("noPassports"))}catch(Gt){Toast$1.error(Gt.message||ft("getPassportFailed"))}},Rt=async()=>{try{const{data:jt}=await ht.post("/switch",{passportId:ot.choosePassport}),{sessionToken:Gt,refreshToken:Jt}=parseResponse(jt);nt({sessionToken:Gt,refreshToken:Jt}),Toast$1.success(ft("switchPassportSucceed"))}catch(jt){Toast$1.error(jt.message||ft("switchPassportFailed"))}},It=jt=>{tt.baseUrl=jt||"/"},Mt=useMemoizedFn(async({provider:jt}={},{action:Gt="login",...Jt}={})=>{var St,rt,st;const Xt=tt.baseUrl;if((Jt==null?void 0:Jt.sourceAppPid)===((St=window.blocklet)==null?void 0:St.appPid))tt.baseUrl=((rt=window.blocklet)==null?void 0:rt.appUrl)||"/";else if(Jt!=null&&Jt.sourceAppPid){const ut=await dt(),pt=getFederatedEnabled(ut),mt=getMaster(ut);pt&&(mt!=null&&mt.appPid)&&(Jt==null?void 0:Jt.sourceAppPid)===(mt==null?void 0:mt.appPid)&&(tt.baseUrl=mt.appUrl)}const dn=(st=window==null?void 0:window.blocklet)==null?void 0:st.componentId;try{const ut=await xt({provider:jt});if(ut){const pt={...Jt,action:Gt,locale:j,code:ut,provider:jt,componentId:dn,visitorId:getVisitorId$2()};isUndefined$2(pt.inviter)&&window.localStorage.getItem("inviter")&&(pt.inviter=window.localStorage.getItem("inviter"));const{data:mt}=await ht.post("/login",pt);return parseResponse(mt)}return tt.baseUrl=Xt,null}catch(ut){const pt=getApiErrorMessage(ut,ft("loginOAuthFailed",{provider:OAUTH_PROVIDER[jt]}));throw tt.baseUrl=Xt,new Error(pt)}}),Ot=useMemoizedFn(()=>{});return jsxRuntimeExports.jsxs(Provider$7,{value:{locale:j,getOAuthConfigs:vt,getOAuthConfigList:$t,bindOAuth:At,unbindOAuth:wt,loginOAuth:Mt,logoutOAuth:Ot,switchOAuthPassport:Ct,baseUrl:tt.baseUrl,setBaseUrl:It,oauthState:ct,unbindAuthLoading:tt.unbindAuthLoading,bindAuthLoading:tt.bindAuthLoading,t:ft},children:[a,jsxRuntimeExports.jsxs(Confirm,{open:ot.open,title:ft("switchPassport"),onConfirm:Rt,onCancel:()=>ot.reset,confirmButton:{text:ft("switch"),props:{variant:"contained",color:"primary"}},cancelButton:{text:ft("cancel"),props:{color:"inherit"}},PaperProps:{style:{width:600}},children:[jsxRuntimeExports.jsxs(Box,{mb:2,children:[ft("currentRole"),(zt=ot.currentUser)==null?void 0:zt.role]}),jsxRuntimeExports.jsx(CardSelector,{width:160,height:240,cardSpace:24,list:[()=>jsxRuntimeExports.jsx(SvgGuest,{}),...ot.passports.map(jt=>({src:jt.display,name:jt.title}))],onSelect:jt=>{ot.choosePassport=jt>0?ot.passports[jt-1].id:void 0},defaultIndex:0})]})]})}function useOAuth(){const a=reactExports.useContext(OAuthContext);return omit$1(a,["locale","getToken"])}OAuthProvider.propTypes={children:PropTypes.node.isRequired,locale:PropTypes.string,onBindOAuth:PropTypes.func,onUnbindOAuth:PropTypes.func,onSwitchPassport:PropTypes.func};OAuthProvider.defaultProps={locale:"en",onBindOAuth:noop$6,onUnbindOAuth:noop$6,onSwitchPassport:noop$6};function getPermanentDid(a){return a==null?void 0:a.did}function getConnectedAccounts(a){var j;return(a==null?void 0:a.connectedAccounts)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.connectedAccounts)||[]}function getSourceProvider(a){var j;return(a==null?void 0:a.sourceProvider)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.sourceProvider)||"wallet"}function getSourceProviders(a){return getConnectedAccounts(a).map(_e=>_e.provider)}function getConnectedDids(a){return getConnectedAccounts(a).map(et=>et.did)}function getWallet(a){return getConnectedAccounts(a).find(et=>et.provider==="wallet")}function getWalletDid(a){const j=getWallet(a);return j==null?void 0:j.did}function useDid({session:a}){const[j,_e]=reactExports.useState({did:"",wallet:"",walletDid:"",permanentDid:"",connectedDids:[],connectedAccounts:[],sourceProvider:"",sourceProviders:[]});return reactExports.useEffect(()=>{if(a!=null&&a.user){const et=getPermanentDid(a.user),nt=getWalletDid(a.user),tt=getConnectedAccounts(a.user),ot=getConnectedDids(a.user),ct=getWallet(a.user),ft=getSourceProvider(a.user),ht=getSourceProviders(a.user);_e({did:et,wallet:ct,walletDid:nt,permanentDid:et,connectedDids:ot,connectedAccounts:tt,sourceProvider:ft,sourceProviders:ht})}},[a==null?void 0:a.user]),j}function WrapDid({session:a,children:j}){const _e=useDid({session:a});return j instanceof Function?j(_e):null}WrapDid.propTypes={session:PropTypes.object.isRequired,children:PropTypes.func.isRequired};const api$3=createAxios();async function getMasterToken(){const a=joinURL(AUTH_SERVICE_PREFIX,"/api/federated/loginMaster"),{data:j}=await api$3.post(a);return j}async function mountFederatedIframe({mode:a,refreshToken:j="",blocklet:_e}){const et=getMaster(_e);return new Promise(nt=>{if(!["login","logout"].includes(a)){nt();return}const tt=document.createElement("iframe");tt.style.display="none",tt.onload=async()=>{await sleep$1(500),document.body.removeChild(tt),nt()},tt.src=joinURL(et.appUrl,AUTH_SERVICE_PREFIX,`functional/federated?mode=${a}&refreshToken=${j}`),document.body.appendChild(tt)})}async function loginFederatedMaster(a={},{fetchToken:j=!0,blocklet:_e}={}){if(!getFederatedEnabled())return console.warn("Federated not enabled"),null;let nt,tt;j&&({sessionToken:nt,refreshToken:tt}=await getMasterToken());const ot=getMaster(_e),ct=joinURL(ot.appUrl,AUTH_SERVICE_PREFIX,"/api/federated/login"),ft={withCredentials:!0};nt&&(ft.headers={Authorization:`Bearer ${nt}`});const{data:ht}=await api$3.post(ct,a,ft);return tt&&await mountFederatedIframe({mode:"login",refreshToken:tt,blocklet:_e}),ht}const translations$4={zh:{notFoundFederatedInfo:"未发现统一登录的信息",autoLoginFederatedFailed:"自动登录统一登录账号失败",manualLoginFederatedFailed:"手动登录统一登录账号失败"},en:{notFoundFederatedInfo:"No federated login info detected",autoLoginFederatedFailed:"Auto login federated account failed",manualLoginFederatedFailed:"Manual login federated account failed"}};function useFederated({locale:a,handleLoginResult:j,login:_e,handleRefreshUser:et}){const nt=useReactive({federatedMaster:null}),tt=getFederatedEnabled(),ot=getMaster(),ct=getConfig(),ft=useMemoizedFn(async(ht=noop$6,dt={},vt={})=>{var At,wt;typeof vt=="string"&&(vt={origin:vt});let{mode:$t="auto",...xt}=dt;if(vt.mode&&($t=vt.mode),$t==="auto"){if(!tt)throw new Error(translations$4[a].notFoundFederatedInfo);try{const Ct=await loginFederatedMaster({appId:globalThis.blocklet.appId},{fetchToken:!1});j({...Ct,encrypted:!1}),await et({showProgress:!0}),ht()}catch(Ct){const Rt=Ct!=null&&Ct.response?(At=Ct.response)==null?void 0:At.data:Ct==null?void 0:Ct.message;ht(Rt||translations$4[a].autoLoginFederatedFailed)}}else if($t==="manual")try{_e(async()=>{await loginFederatedMaster({appId:globalThis.blocklet.appId,onlyWriteCookie:!0}),ht()},{...xt},vt)}catch(Ct){const Rt=Ct!=null&&Ct.response?(wt=Ct.response)==null?void 0:wt.data:Ct==null?void 0:Ct.message;ht(Rt||translations$4[a].autoLoginFederatedFailed)}});return{master:ot,config:ct,federatedMaster:nt.federatedMaster,federatedEnabled:tt,loginFederated:ft,loginFederatedMaster}}async function renewRefreshToken(a,{authServicePrefix:j,serviceHost:_e}){if(!a)throw new Error("Refresh token not found");const et=createAxios({baseURL:_e,timeout:10*1e3,headers:{authorization:`Bearer ${encodeURIComponent(a)}`}}),{data:nt}=await et.post(joinURL(j,"/refreshSession"));return nt}function createService({refreshTokenStorage:a,sessionTokenStorage:j,serviceHost:_e,authServicePrefix:et,onRefreshTokenError:nt,onRefreshTokenSuccess:tt},ot={}){let ct=null;const ft=createAxios({baseURL:_e,timeout:30*1e3,...ot}),{getToken:ht,setToken:dt,removeToken:vt}=j,{getToken:$t,setToken:xt,removeToken:At}=a;return ft.interceptors.request.use(async wt=>{if(j.engine==="ls"){const Ct=ht();Ct&&(wt.headers.authorization=`Bearer ${encodeURIComponent(Ct)}`)}return ct&&await ct,wt},wt=>Promise.reject(wt)),ft.interceptors.response.use(wt=>wt,async wt=>{var Rt;const Ct=wt.config;if(Ct.headers={...Ct==null?void 0:Ct.headers},((Rt=wt==null?void 0:wt.response)==null?void 0:Rt.status)===401&&!Ct._retry){Ct._retry=!0,ct||(ct=renewRefreshToken($t(),{serviceHost:_e,authServicePrefix:et}));try{const It=await ct;return dt(It.nextToken),xt(It.nextRefreshToken),typeof tt=="function"&&tt(It),ft(Ct)}catch(It){return vt(),At(),typeof nt=="function"&&nt(),Promise.reject(It)}finally{ct=null}}return Promise.reject(wt)}),ft}class ErrorToken extends Error{}const LANG_COOKIE_NAME="nf_lang",INTERVAL_TIME=1e3,MAX_RETRY_COUNT=10,decrypt=a=>decrypt$1(a,localStorage.getItem("__encKey"),localStorage.getItem("__decKey"));function useSessionToken({state:a,pageState:j,serviceHost:_e,sessionTokenStorage:et,refreshTokenStorage:nt,lazyRefreshToken:tt,apiOptions:ot={}}){const[ct,ft]=reactExports.useState(0),[ht,dt]=reactExports.useState(INTERVAL_TIME),{getToken:vt,setToken:$t,removeToken:xt}=et,{getToken:At,setToken:wt,removeToken:Ct}=nt,Rt=useCreation(()=>createAxios({baseURL:_e,timeout:10*1e3}),[_e]),It=()=>{xt(),Ct()},Mt=useCreation(()=>createService({sessionTokenStorage:et,refreshTokenStorage:nt,serviceHost:_e,authServicePrefix:j.prefix,onRefreshTokenError(){It(),a.user&&(a.user=null)}},ot),[_e,j.prefix]),Ot=()=>{const rt=getCookieOptions({returnDomain:!1});Cookie.remove("connected_did",rt),Cookie.remove("connected_pk",rt),Cookie.remove("connected_app",rt),Cookie.remove("connected_wallet_os",rt),It()},zt=useMemoizedFn(()=>{const rt=Cookie.get(LANG_COOKIE_NAME)||getBrowserLang();rt!==j.currentLocale&&(j.currentLocale=rt)}),jt=useMemoizedFn(async({showProgress:rt=!1,requestFn:st=null,onlyRefreshToken:ut=!1})=>{var pt;try{if(a.loading)return console.warn("SessionProvider.refresh is currently in progress, call it will be noop"),{loading:!0};rt&&(a.loading=!0);const{data:mt,status:Et}=await st();if(Et===400&&(It(),a.user=null,a.error=""),mt.error)throw a.error=mt.error,a.open=!1,new Error(mt.error);if(mt.user)mt.nextToken&&($t(mt.nextToken),mt.nextRefreshToken&&wt(mt.nextRefreshToken)),ut||(a.open=!1,a.user=mt.user,a.provider=mt.provider,a.walletOS=mt.walletOS),vt()||(Toast$1.error("Can't write session token, please use https url to access this page"),It());else throw rt&&(a.loading=j.autoConnect),a.open=j.autoConnect,a.user=null,a.provider="",a.walletOS="",new ErrorToken("Invalid token");return{data:mt,status:Et}}catch(mt){throw console.error("SessionProvider.refresh error",mt),a.open=!1,a.error=mt.message,((pt=mt==null?void 0:mt.response)==null?void 0:pt.status)===400?new ErrorToken("Invalid token"):mt}finally{rt&&(a.loading=!1)}}),Gt=useMemoizedFn(async(rt=!1,st=!1)=>{const ut=getVisitorId$2()||"",pt=()=>Rt.post(withQuery(joinURL(j.prefix,"/refreshSession"),{visitorId:ut}),null,{headers:{authorization:`Bearer ${encodeURIComponent(At())}`}});dt(void 0);try{await jt({showProgress:rt,requestFn:pt,onlyRefreshToken:st}),ft(0),dt(INTERVAL_TIME)}catch(mt){mt instanceof ErrorToken?(console.warn("refresh token failed, remove all tokens"),ft(0),It(),dt(INTERVAL_TIME)):(console.error("refresh token failed, unexpected error:",mt),ft(ct+1),await sleep$1(INTERVAL_TIME),ct>=MAX_RETRY_COUNT?(ft(0),dt(void 0)):dt(INTERVAL_TIME))}}),Jt=useMemoizedFn((rt=!1)=>{if(tt)return;const st=vt();let ut=rt;const pt=new Date().getTime();if(st)try{const{exp:mt,iat:Et}=o(st);mt*1e3-pt<pt-Et*1e3&&(ut=!0)}catch{ut=!0}else ut=!0;ut&&(At()?Gt(!1,!0):(Ot(),a.user&&(a.user=null)))}),Xt=useMemoizedFn(async({showProgress:rt=!1,forceRefreshToken:st=!1}={})=>{const ut=getVisitorId$2()||"",pt=()=>Mt.get(withQuery(joinURL(j.prefix,"/session"),{visitorId:ut}));try{if(st)throw new ErrorToken("need force refresh token");await jt({showProgress:rt,requestFn:pt})}catch(mt){mt instanceof ErrorToken&&(console.warn("try to refresh token"),await Gt())}}),dn=useMemoizedFn(()=>{if(a.initialized&&a.user)try{Jt()}catch{}}),St=useMemoizedFn(rt=>{const st=Array.isArray(rt)?rt[0]:rt,{loginToken:ut,sessionToken:pt,refreshToken:mt,visitorId:Et,encrypted:Tt=!0}=st,yt=ut||pt;yt&&($t(Tt?decrypt(yt):yt),mt&&wt(Tt?decrypt(mt):mt)),Et&&setVisitorId(Tt?decrypt(Et):Et)});return useInterval$1(()=>{zt(),Jt()},ht,{immediate:!0}),{renewToken:dn,handleRefreshUser:Xt,handleRefreshToken:Gt,handleLoginResult:St,decrypt,removeToken:It,clearSession:Ot,getSessionToken:vt,getRefreshToken:At,setRefreshToken:wt,setSessionToken:$t,service:Mt}}var pathToRegexp$2={exports:{}},isarray$2=Array.isArray||function(a){return Object.prototype.toString.call(a)=="[object Array]"},isarray$1=isarray$2;pathToRegexp$2.exports=pathToRegexp;pathToRegexp$2.exports.parse=parse$f;pathToRegexp$2.exports.compile=compile;pathToRegexp$2.exports.tokensToFunction=tokensToFunction;pathToRegexp$2.exports.tokensToRegExp=tokensToRegExp;var PATH_REGEXP=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse$f(a,j){for(var _e=[],et=0,nt=0,tt="",ot=j&&j.delimiter||"/",ct;(ct=PATH_REGEXP.exec(a))!=null;){var ft=ct[0],ht=ct[1],dt=ct.index;if(tt+=a.slice(nt,dt),nt=dt+ft.length,ht){tt+=ht[1];continue}var vt=a[nt],$t=ct[2],xt=ct[3],At=ct[4],wt=ct[5],Ct=ct[6],Rt=ct[7];tt&&(_e.push(tt),tt="");var It=$t!=null&&vt!=null&&vt!==$t,Mt=Ct==="+"||Ct==="*",Ot=Ct==="?"||Ct==="*",zt=$t||ot,jt=At||wt,Gt=$t||(typeof _e[_e.length-1]=="string"?_e[_e.length-1]:"");_e.push({name:xt||et++,prefix:$t||"",delimiter:zt,optional:Ot,repeat:Mt,partial:It,asterisk:!!Rt,pattern:jt?escapeGroup(jt):Rt?".*":restrictBacktrack(zt,Gt)})}return nt<a.length&&(tt+=a.substr(nt)),tt&&_e.push(tt),_e}function restrictBacktrack(a,j){return!j||j.indexOf(a)>-1?"[^"+escapeString(a)+"]+?":escapeString(j)+"|(?:(?!"+escapeString(j)+")[^"+escapeString(a)+"])+?"}function compile(a,j){return tokensToFunction(parse$f(a,j),j)}function encodeURIComponentPretty(a){return encodeURI(a).replace(/[\/?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function encodeAsterisk(a){return encodeURI(a).replace(/[?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function tokensToFunction(a,j){for(var _e=new Array(a.length),et=0;et<a.length;et++)typeof a[et]=="object"&&(_e[et]=new RegExp("^(?:"+a[et].pattern+")$",flags(j)));return function(nt,tt){for(var ot="",ct=nt||{},ft=tt||{},ht=ft.pretty?encodeURIComponentPretty:encodeURIComponent,dt=0;dt<a.length;dt++){var vt=a[dt];if(typeof vt=="string"){ot+=vt;continue}var $t=ct[vt.name],xt;if($t==null)if(vt.optional){vt.partial&&(ot+=vt.prefix);continue}else throw new TypeError('Expected "'+vt.name+'" to be defined');if(isarray$1($t)){if(!vt.repeat)throw new TypeError('Expected "'+vt.name+'" to not repeat, but received `'+JSON.stringify($t)+"`");if($t.length===0){if(vt.optional)continue;throw new TypeError('Expected "'+vt.name+'" to not be empty')}for(var At=0;At<$t.length;At++){if(xt=ht($t[At]),!_e[dt].test(xt))throw new TypeError('Expected all "'+vt.name+'" to match "'+vt.pattern+'", but received `'+JSON.stringify(xt)+"`");ot+=(At===0?vt.prefix:vt.delimiter)+xt}continue}if(xt=vt.asterisk?encodeAsterisk($t):ht($t),!_e[dt].test(xt))throw new TypeError('Expected "'+vt.name+'" to match "'+vt.pattern+'", but received "'+xt+'"');ot+=vt.prefix+xt}return ot}}function escapeString(a){return a.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function escapeGroup(a){return a.replace(/([=!:$\/()])/g,"\\$1")}function attachKeys(a,j){return a.keys=j,a}function flags(a){return a&&a.sensitive?"":"i"}function regexpToRegexp(a,j){var _e=a.source.match(/\((?!\?)/g);if(_e)for(var et=0;et<_e.length;et++)j.push({name:et,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return attachKeys(a,j)}function arrayToRegexp(a,j,_e){for(var et=[],nt=0;nt<a.length;nt++)et.push(pathToRegexp(a[nt],j,_e).source);var tt=new RegExp("(?:"+et.join("|")+")",flags(_e));return attachKeys(tt,j)}function stringToRegexp(a,j,_e){return tokensToRegExp(parse$f(a,_e),j,_e)}function tokensToRegExp(a,j,_e){isarray$1(j)||(_e=j||_e,j=[]),_e=_e||{};for(var et=_e.strict,nt=_e.end!==!1,tt="",ot=0;ot<a.length;ot++){var ct=a[ot];if(typeof ct=="string")tt+=escapeString(ct);else{var ft=escapeString(ct.prefix),ht="(?:"+ct.pattern+")";j.push(ct),ct.repeat&&(ht+="(?:"+ft+ht+")*"),ct.optional?ct.partial?ht=ft+"("+ht+")?":ht="(?:"+ft+"("+ht+"))?":ht=ft+"("+ht+")",tt+=ht}}var dt=escapeString(_e.delimiter||"/"),vt=tt.slice(-dt.length)===dt;return et||(tt=(vt?tt.slice(0,-dt.length):tt)+"(?:"+dt+"(?=$))?"),nt?tt+="$":tt+=et&&vt?"":"(?="+dt+"|$)",attachKeys(new RegExp("^"+tt,flags(_e)),j)}function pathToRegexp(a,j,_e){return isarray$1(j)||(_e=j||_e,j=[]),_e=_e||{},a instanceof RegExp?regexpToRegexp(a,j):isarray$1(a)?arrayToRegexp(a,j,_e):stringToRegexp(a,j,_e)}var pathToRegexpExports=pathToRegexp$2.exports;const pathToRegexp$1=getDefaultExportFromCjs$1(pathToRegexpExports);function useProtectedRoutes({protectedRoutes:a=[]}){const j=useCreation(()=>a.map(et=>pathToRegexp$1(et,[])),[a]);return{checkMatch:useMemoizedFn((et=window.location.pathname)=>j.some(nt=>nt.exec(et)))}}const SessionContext$1=reactExports.createContext();var dist$1={},eventemitter3={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function nt(ft,ht,dt){this.fn=ft,this.context=ht,this.once=dt||!1}function tt(ft,ht,dt,vt,$t){if(typeof dt!="function")throw new TypeError("The listener must be a function");var xt=new nt(dt,vt||ft,$t),At=_e?_e+ht:ht;return ft._events[At]?ft._events[At].fn?ft._events[At]=[ft._events[At],xt]:ft._events[At].push(xt):(ft._events[At]=xt,ft._eventsCount++),ft}function ot(ft,ht){--ft._eventsCount===0?ft._events=new et:delete ft._events[ht]}function ct(){this._events=new et,this._eventsCount=0}ct.prototype.eventNames=function(){var ht=[],dt,vt;if(this._eventsCount===0)return ht;for(vt in dt=this._events)j.call(dt,vt)&&ht.push(_e?vt.slice(1):vt);return Object.getOwnPropertySymbols?ht.concat(Object.getOwnPropertySymbols(dt)):ht},ct.prototype.listeners=function(ht){var dt=_e?_e+ht:ht,vt=this._events[dt];if(!vt)return[];if(vt.fn)return[vt.fn];for(var $t=0,xt=vt.length,At=new Array(xt);$t<xt;$t++)At[$t]=vt[$t].fn;return At},ct.prototype.listenerCount=function(ht){var dt=_e?_e+ht:ht,vt=this._events[dt];return vt?vt.fn?1:vt.length:0},ct.prototype.emit=function(ht,dt,vt,$t,xt,At){var wt=_e?_e+ht:ht;if(!this._events[wt])return!1;var Ct=this._events[wt],Rt=arguments.length,It,Mt;if(Ct.fn){switch(Ct.once&&this.removeListener(ht,Ct.fn,void 0,!0),Rt){case 1:return Ct.fn.call(Ct.context),!0;case 2:return Ct.fn.call(Ct.context,dt),!0;case 3:return Ct.fn.call(Ct.context,dt,vt),!0;case 4:return Ct.fn.call(Ct.context,dt,vt,$t),!0;case 5:return Ct.fn.call(Ct.context,dt,vt,$t,xt),!0;case 6:return Ct.fn.call(Ct.context,dt,vt,$t,xt,At),!0}for(Mt=1,It=new Array(Rt-1);Mt<Rt;Mt++)It[Mt-1]=arguments[Mt];Ct.fn.apply(Ct.context,It)}else{var Ot=Ct.length,zt;for(Mt=0;Mt<Ot;Mt++)switch(Ct[Mt].once&&this.removeListener(ht,Ct[Mt].fn,void 0,!0),Rt){case 1:Ct[Mt].fn.call(Ct[Mt].context);break;case 2:Ct[Mt].fn.call(Ct[Mt].context,dt);break;case 3:Ct[Mt].fn.call(Ct[Mt].context,dt,vt);break;case 4:Ct[Mt].fn.call(Ct[Mt].context,dt,vt,$t);break;default:if(!It)for(zt=1,It=new Array(Rt-1);zt<Rt;zt++)It[zt-1]=arguments[zt];Ct[Mt].fn.apply(Ct[Mt].context,It)}}return!0},ct.prototype.on=function(ht,dt,vt){return tt(this,ht,dt,vt,!1)},ct.prototype.once=function(ht,dt,vt){return tt(this,ht,dt,vt,!0)},ct.prototype.removeListener=function(ht,dt,vt,$t){var xt=_e?_e+ht:ht;if(!this._events[xt])return this;if(!dt)return ot(this,xt),this;var At=this._events[xt];if(At.fn)At.fn===dt&&(!$t||At.once)&&(!vt||At.context===vt)&&ot(this,xt);else{for(var wt=0,Ct=[],Rt=At.length;wt<Rt;wt++)(At[wt].fn!==dt||$t&&!At[wt].once||vt&&At[wt].context!==vt)&&Ct.push(At[wt]);Ct.length?this._events[xt]=Ct.length===1?Ct[0]:Ct:ot(this,xt)}return this},ct.prototype.removeAllListeners=function(ht){var dt;return ht?(dt=_e?_e+ht:ht,this._events[dt]&&ot(this,dt)):(this._events=new et,this._eventsCount=0),this},ct.prototype.off=ct.prototype.removeListener,ct.prototype.addListener=ct.prototype.on,ct.prefixed=_e,ct.EventEmitter=ct,a.exports=ct})(eventemitter3);var eventemitter3Exports=eventemitter3.exports,priorityQueue={},lowerBound$1={};Object.defineProperty(lowerBound$1,"__esModule",{value:!0});function lowerBound(a,j,_e){let et=0,nt=a.length;for(;nt>0;){const tt=nt/2|0;let ot=et+tt;_e(a[ot],j)<=0?(et=++ot,nt-=tt+1):nt=tt}return et}lowerBound$1.default=lowerBound;Object.defineProperty(priorityQueue,"__esModule",{value:!0});const lower_bound_1=lowerBound$1;class PriorityQueue{constructor(){this._queue=[]}enqueue(j,_e){_e=Object.assign({priority:0},_e);const et={priority:_e.priority,run:j};if(this.size&&this._queue[this.size-1].priority>=_e.priority){this._queue.push(et);return}const nt=lower_bound_1.default(this._queue,et,(tt,ot)=>ot.priority-tt.priority);this._queue.splice(nt,0,et)}dequeue(){const j=this._queue.shift();return j==null?void 0:j.run}filter(j){return this._queue.filter(_e=>_e.priority===j.priority).map(_e=>_e.run)}get size(){return this._queue.length}}priorityQueue.default=PriorityQueue;Object.defineProperty(dist$1,"__esModule",{value:!0});const EventEmitter$4=eventemitter3Exports,p_timeout_1=pTimeoutExports,priority_queue_1=priorityQueue,empty=()=>{},timeoutError=new p_timeout_1.TimeoutError;class PQueue extends EventEmitter$4{constructor(j){var _e,et,nt,tt;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=empty,this._resolveIdle=empty,j=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:priority_queue_1.default},j),!(typeof j.intervalCap=="number"&&j.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(et=(_e=j.intervalCap)===null||_e===void 0?void 0:_e.toString())!==null&&et!==void 0?et:""}\` (${typeof j.intervalCap})`);if(j.interval===void 0||!(Number.isFinite(j.interval)&&j.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(tt=(nt=j.interval)===null||nt===void 0?void 0:nt.toString())!==null&&tt!==void 0?tt:""}\` (${typeof j.interval})`);this._carryoverConcurrencyCount=j.carryoverConcurrencyCount,this._isIntervalIgnored=j.intervalCap===1/0||j.interval===0,this._intervalCap=j.intervalCap,this._interval=j.interval,this._queue=new j.queueClass,this._queueClass=j.queueClass,this.concurrency=j.concurrency,this._timeout=j.timeout,this._throwOnTimeout=j.throwOnTimeout===!0,this._isPaused=j.autoStart===!1}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=empty,this._pendingCount===0&&(this._resolveIdle(),this._resolveIdle=empty,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){const j=Date.now();if(this._intervalId===void 0){const _e=this._intervalEnd-j;if(_e<0)this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;else return this._timeoutId===void 0&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},_e)),!0}return!1}_tryToStartAnother(){if(this._queue.size===0)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const j=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const _e=this._queue.dequeue();return _e?(this.emit("active"),_e(),j&&this._initializeIntervalIfNeeded(),!0):!1}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||this._intervalId!==void 0||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){this._intervalCount===0&&this._pendingCount===0&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(j){if(!(typeof j=="number"&&j>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${j}\` (${typeof j})`);this._concurrency=j,this._processQueue()}async add(j,_e={}){return new Promise((et,nt)=>{const tt=async()=>{this._pendingCount++,this._intervalCount++;try{const ot=this._timeout===void 0&&_e.timeout===void 0?j():p_timeout_1.default(Promise.resolve(j()),_e.timeout===void 0?this._timeout:_e.timeout,()=>{(_e.throwOnTimeout===void 0?this._throwOnTimeout:_e.throwOnTimeout)&&nt(timeoutError)});et(await ot)}catch(ot){nt(ot)}this._next()};this._queue.enqueue(tt,_e),this._tryToStartAnother(),this.emit("add")})}async addAll(j,_e){return Promise.all(j.map(async et=>this.add(et,_e)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size!==0)return new Promise(j=>{const _e=this._resolveEmpty;this._resolveEmpty=()=>{_e(),j()}})}async onIdle(){if(!(this._pendingCount===0&&this._queue.size===0))return new Promise(j=>{const _e=this._resolveIdle;this._resolveIdle=()=>{_e(),j()}})}get size(){return this._queue.size}sizeBy(j){return this._queue.filter(j).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(j){this._timeout=j}}var _default$1=dist$1.default=PQueue;const data$s={width:24,height:24,body:'<path fill="currentColor" d="M10 22L0 12L10 2l1.775 1.775L3.55 12l8.225 8.225L10 22Z"/>'},data$r={width:24,height:24,body:'<path fill="currentColor" d="m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275q-.275-.275-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7q.275-.275.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275q.275.275.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7q-.275.275-.7.275t-.7-.275L12 13.4Z"/>'},Transition=reactExports.forwardRef(function a(j,_e){return jsxRuntimeExports.jsx(Slide,{direction:"up",ref:_e,...j})}),BackdropWrap=reactExports.memo(reactExports.forwardRef((a,j)=>reactExports.createElement(Backdrop,{ref:j,style:{backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(3px)",touchAction:"none"},...a,key:"background"})));function withDialog(a){function j({popup:_e,open:et,dialogStyle:nt,responsive:tt,...ot}){const ct=useMediaQuery("(max-width:640px)"),ft=reactExports.useRef(null);if(!_e&&!tt)return jsxRuntimeExports.jsx(a,{...ot});const ht=(vt,$t)=>{["backdropClick","escapeKeyDown"].includes($t)||ot==null||ot.onClose()},dt=tt?!0:et;return ct?jsxRuntimeExports.jsxs(SwipeableDrawer,{disableSwipeToOpen:!0,open:dt,anchor:"bottom",drawerDragger:ft.current,onClose:ht,slots:{backdrop:BackdropWrap},PaperProps:{sx:{boxShadow:"0px -2px 16px 0px rgba(0, 0, 0, 0.08)",borderRadius:3,borderBottomLeftRadius:0,borderBottomRightRadius:0}},children:[jsxRuntimeExports.jsx(Box,{ref:ft,sx:{padding:"16px 32px",margin:"-8px auto -16px",zIndex:1},children:jsxRuntimeExports.jsx(Box,{sx:{width:"48px",height:"4px",borderRadius:"100vw",backgroundColor:"rgba(0, 0, 0, 0.2)"}})}),jsxRuntimeExports.jsx(Box,{sx:{touchAction:"none",maxWidth:"100%",width:ct?"100%":500,height:ct?"100%":"auto"},children:jsxRuntimeExports.jsx(a,{...ot,hideCloseButton:!0,isFullScreen:ct,mode:"dialog"})})]}):jsxRuntimeExports.jsx(Dialog$1,{open:dt,fullScreen:ct,slots:{backdrop:BackdropWrap},maxWidth:"lg",sx:[{height:"auto"},ct?{top:"unset"}:{}],onClose:ht,...ct?{TransitionComponent:Transition,PaperProps:{boxShadow:"0px -2px 16px 0px rgba(0, 0, 0, 0.08)",sx:{borderRadius:3,borderBottomLeftRadius:0,borderBottomRightRadius:0}}}:{PaperProps:{boxShadow:"0px -2px 16px 0px rgba(0, 0, 0, 0.08)",sx:{borderRadius:3}}},children:jsxRuntimeExports.jsx(DialogContent,{sx:{maxWidth:"100%",maxHeight:"100%",p:"0px !important"},children:jsxRuntimeExports.jsx(Box,{sx:{maxWidth:"100%",width:ct?"100%":500,height:ct?"100%":"auto"},children:jsxRuntimeExports.jsx(a,{...ot,hideCloseButton:(ot==null?void 0:ot.hideCloseButton)??!1,isFullScreen:ct,mode:"dialog"})})})})}return j.propTypes={responsive:PropTypes.bool,popup:PropTypes.bool,open:PropTypes.bool,dialogStyle:PropTypes.object},j.defaultProps={responsive:!1,popup:!1,open:!1,dialogStyle:{}},j}const BlockletContext$1=reactExports.createContext(null),{Provider:Provider$6,Consumer:Consumer$6}=BlockletContext$1;function BlockletProvider$1({children:a,baseUrl:j="",loading:_e=null}){const[et,nt]=reactExports.useState(null),tt=useMemoizedFn(async()=>{if(!j||window.location.href.startsWith(j))throw new Error("no blocklet data");const ot=new URL("__blocklet__.js",j);return ot.searchParams.set("type","json"),await(await fetch(ot.href)).json()});return useAsyncEffect(async()=>{try{const ot=await tt();nt(ot)}catch{const ot=globalThis.blocklet||globalThis.env;nt(ot)}},[j]),jsxRuntimeExports.jsx(Provider$6,{value:et,children:et?a:_e||null})}function useBlockletContext$2(){return{blocklet:reactExports.useContext(BlockletContext$1)}}function Loading({size:a=92.5,loadingSize:j=30}){return jsxRuntimeExports.jsx(Box,{sx:{height:"100%",minWidth:a,minHeight:a,display:"flex",justifyContent:"center",alignItems:"center"},children:jsxRuntimeExports.jsx(CircularProgress,{size:j,sx:{color:colors$1.foregroundsFgInteractive}})})}Loading.propTypes={size:PropTypes.number,loadingSize:PropTypes.number};function withBlocklet(a){function j({...et}){const{blocklet:nt}=useBlockletContext$2();return jsxRuntimeExports.jsx(a,{...et,blocklet:nt})}function _e({baseUrl:et,...nt}){return jsxRuntimeExports.jsx(BlockletProvider$1,{baseUrl:et,loading:jsxRuntimeExports.jsx(Loading,{}),children:jsxRuntimeExports.jsx(j,{baseUrl:et,...nt})})}return _e}const keyPair=tweetnacl.box.keyPair();function useSecurity(){const[a,j]=useLocalStorageState("__encKey",{defaultValue:encodeKey(keyPair.publicKey),deserializer:ot=>ot,serializer:ot=>ot}),[_e,et]=useLocalStorageState("__decKey",{defaultValue:encodeKey(keyPair.secretKey),deserializer:ot=>ot,serializer:ot=>ot});return reactExports.useEffect(()=>{localStorage.getItem("__encKey")||j(encodeKey(keyPair.publicKey)),localStorage.getItem("__decKey")||et(encodeKey(keyPair.secretKey))},[]),{encryptKey:a,decryptKey:_e,decrypt:(ot,ct=a,ft=_e)=>decrypt$1(ot,ct,ft),encrypt:(ot,ct=a)=>encrypt(ot,ct)}}function useApps({blocklet:a,action:j,sourceAppPid:_e,connectState:et,enableSwitchApp:nt}){var ht,dt;const tt=reactExports.useContext(SessionContext$1),ot=useCreation(()=>{var vt;return nt===!0?!0:!(nt===!1||(vt=tt==null?void 0:tt.session)!=null&&vt.user&&!["login"].includes(j))},[j,(ht=tt==null?void 0:tt.session)==null?void 0:ht.user]),ct=useCreation(()=>{if(isUndefined$2(_e)){const vt=getFederatedEnabled(a),$t=getMaster(a);if(vt&&($t!=null&&$t.appPid))return $t.appPid}return _e},[_e]);return{appInfoList:useCreation(()=>getApps(a).filter($t=>{var xt;return ot?!0:isUndefined$2(_e)?isUndefined$2(et.sourceAppPid)?(xt=tt==null?void 0:tt.session)!=null&&xt.user?$t.sourceAppPid===tt.session.user.sourceAppPid:$t.sourceAppPid===ct:$t.sourceAppPid===et.sourceAppPid:$t.sourceAppPid===_e}),[ot,_e,et.sourceAppPid,ct,(dt=tt==null?void 0:tt.session)==null?void 0:dt.user]),autoGenerateSourceAppPid:ct,canSwitchApp:ot}}const translations$3={en:{generateError:"Request new qrcode failed",checkError:"Status check failed!",scanned:"Use your wallet to continue operation...",mfaCode:"We sent you a verification request on your DID Wallet, enter the digits below to confirm.",refresh:"Refresh",open:"Open in DID Wallet",openDidConnect:"Open DID Connect",error:"We encountered some errors when processing the request",invalidSessionStatus:"Invalid session status",success:"Success",wait:"Wait a second",waiting:"Waiting for next workflow to complete...",failed:"Failed",oops:"Oops",forbidden:"Login user and wallet user mismatch, please logout, then login to retry",webWallet:"Auth with Web Wallet",cancel:"Cancel",close:"Close",retry:"Retry",retryForbidden:"Please start this workflow from the beginning",getWallet:"Don't have the DID Wallet? Get it now.",back:"Back",connect:"Use the following to connect",connecting:"Connecting to your",connectingSuffix:"Or use the following to connect",connected:"Connected to your",busyTitle:"Busy",busyDesc:"Busy processing another DID Connect request",loginWithBefore:"Login with ",loginWithAfter:"",bindOAuth:"Bind third party login",bind:"Bind ",loginOAuthFailed:"Login with third party failed",loginWithAnotherAccount:"Login with another account",quickLoginDescription:"The following accounts have been detected in the current unified login environment. Click the following accounts to log in quickly.",quickLogin:"Login {appName} with {masterAppName} account",sessionFrom:"Session founded from {appName} blocklet",loginWithThisAccount:"Click to login with this account",chooseAccount:"Choose an account",lostPassport:"Lost your passport?",lostPassportTips:"If you have lost your passport, you can click here to claim back.",download:"Download",downloadTips:"Don't have DID Wallet ?",scanWithWallet:"Easy Login with QR Code Scanning",openInWallet:"Open in DID Wallet",webExtension:"Web Wallet Extension",connectButton:"Connect",switch:"Switch",requestConnect:"Requesting Connection",continueInWallet:"Please continue in the DID Wallet",loginWithBelow:"Login using the following methods",otherAccount:"Other account"},zh:{generateError:"二维码生成失败",checkError:"扫码状态检查失败",scanned:"请到您的钱包上继续操作……",mfaCode:"我们给你的 DID 钱包发送了一个二次验证请求,请输入下面的数字完成验证",refresh:"刷新",open:"在 DID 钱包中打开",openDidConnect:"打开 DID Connect",error:"服务器开小差了!",invalidSessionStatus:"无效的会话状态",success:"成功",failed:"失败",wait:"请稍候",waiting:"正在等待下个流程完成...",forbidden:"登录用户和扫码用户不匹配,为保障安全,请退出后重新登录",oops:"哎呀",webWallet:"使用 Web Wallet 验证",cancel:"取消",close:"关闭",retry:"重试",retryForbidden:"请关闭当前弹窗并重新开始当前流程",getWallet:"还没有 DID Wallet? 现在下载.",back:"返回",connect:"请选择以下方式之一连接",connecting:"正在自动连接您的",connectingSuffix:"或选择以下方式手动连接",connected:"已连接您的",busyTitle:"钱包繁忙",busyDesc:"正在处理其他请求",loginWithBefore:"使用",loginWithAfter:"登录",bindOAuth:"绑定第三方登录",bind:"绑定",loginOAuthFailed:"第三方登录失败",loginWithAnotherAccount:"使用其他账户登录",quickLoginDescription:"检测到当前统一登录环境中已存在下列账户,点击以下账户,进行快捷登录",quickLogin:"使用 {masterAppName} 账户登录 {appName}",sessionFrom:"发现自 {appName} 应用",loginWithThisAccount:"点击使用此账号登录",chooseAccount:"选择一个账号",lostPassport:"找回通行证",lostPassportTips:"如果您丢失了登录通行证,您可以点击这里来找回。",download:"下载",downloadTips:"没有 DID Wallet ?",scanWithWallet:"使用 DID Wallet 扫码二维码",openInWallet:"使用 DID Wallet 打开",webExtension:"浏览器插件",connectButton:"连接",switch:"切换",requestConnect:"正在请求连接",continueInWallet:"请在 DID Wallet 中继续完成您的操作",loginWithBelow:"使用以下方式进行登录",otherAccount:"其他账号"}},StateContext=reactExports.createContext({isWalletWebview:!1,isMobile:!1,matchSmallScreen:!1}),{Provider:Provider$5,Consumer:Consumer$5}=StateContext;function StateProvider({children:a,blocklet:j,action:_e,extraParams:et,locale:nt,...tt}){var Ot;const ot=useMemoizedFn((zt,jt={})=>translate(translations$3,zt,nt,"en",jt)),ct=reactExports.useContext(SessionContext$1),ft=useReactive({sourceAppPid:void 0,status:"created",autoActiveWebview:!0}),ht=reactExports.useRef({cancelCount:0}),dt=useBrowser(),{appInfoList:vt,autoGenerateSourceAppPid:$t,canSwitchApp:xt}=useApps({blocklet:j,connectState:ft,action:_e,sourceAppPid:et==null?void 0:et.sourceAppPid,enableSwitchApp:(et==null?void 0:et.forceSwitch)||(et==null?void 0:et.enableSwitchApp)}),At=reactExports.useRef(null),wt=useSize(At),Ct=useCreation(()=>((wt==null?void 0:wt.width)||0)<500,[wt==null?void 0:wt.width]),Rt=useCreation(()=>{var zt,jt;return xt?{...et,sourceAppPid:isUndefined$2(ft.sourceAppPid)?$t:ft.sourceAppPid}:(zt=ct==null?void 0:ct.session)!=null&&zt.user?isUndefined$2(et==null?void 0:et.sourceAppPid)?{...et,sourceAppPid:(jt=ct.session.user)==null?void 0:jt.sourceAppPid}:et:{...et,sourceAppPid:$t}},[xt,et,ft.sourceAppPid,_e,$t,(Ot=ct==null?void 0:ct.session)==null?void 0:Ot.user]),It=useMemoizedFn(zt=>{ft.status=zt||"created"}),Mt=useCreation(()=>({isWalletWebview:dt.wallet,isMobile:dt.mobile.any,matchSmallScreen:Ct,connectState:ft,staticState:ht,reactiveState:ft,appInfoList:vt,extraParams:Rt,blocklet:j,t:ot,locale:nt,changeStatus:It}),[dt,Ct,ft,ht,vt,Rt,j,ot,nt]);return jsxRuntimeExports.jsx(Provider$5,{value:Mt,children:jsxRuntimeExports.jsx(Box,{...tt,ref:At,children:a})})}StateProvider.propTypes={children:PropTypes.any.isRequired,blocklet:PropTypes.object.isRequired,action:PropTypes.string.isRequired,sourceAppPid:PropTypes.string,extraParams:PropTypes.object,locale:PropTypes.string};StateProvider.defaultProps={sourceAppPid:void 0,extraParams:{},locale:"en"};function useStateContext(){return reactExports.useContext(StateContext)}const data$q={width:24,height:24,hidden:!0,body:'<path fill="currentColor" d="M12 11q.825 0 1.413-.588Q14 9.825 14 9t-.587-1.413Q12.825 7 12 7q-.825 0-1.412.587Q10 8.175 10 9q0 .825.588 1.412Q11.175 11 12 11Zm0 2q-1.65 0-2.825-1.175Q8 10.65 8 9q0-1.65 1.175-2.825Q10.35 5 12 5q1.65 0 2.825 1.175Q16 7.35 16 9q0 1.65-1.175 2.825Q13.65 13 12 13Zm0 11q-2.475 0-4.662-.938q-2.188-.937-3.825-2.574Q1.875 18.85.938 16.663Q0 14.475 0 12t.938-4.663q.937-2.187 2.575-3.825Q5.15 1.875 7.338.938Q9.525 0 12 0t4.663.938q2.187.937 3.825 2.574q1.637 1.638 2.574 3.825Q24 9.525 24 12t-.938 4.663q-.937 2.187-2.574 3.825q-1.638 1.637-3.825 2.574Q14.475 24 12 24Zm0-2q1.8 0 3.375-.575T18.25 19.8q-.825-.925-2.425-1.612q-1.6-.688-3.825-.688t-3.825.688q-1.6.687-2.425 1.612q1.3 1.05 2.875 1.625T12 22Zm-7.7-3.6q1.2-1.3 3.225-2.1q2.025-.8 4.475-.8q2.45 0 4.463.8q2.012.8 3.212 2.1q1.1-1.325 1.713-2.95Q22 13.825 22 12q0-2.075-.788-3.887q-.787-1.813-2.15-3.175q-1.362-1.363-3.175-2.151Q14.075 2 12 2q-2.05 0-3.875.787q-1.825.788-3.187 2.151Q3.575 6.3 2.788 8.113Q2 9.925 2 12q0 1.825.6 3.463q.6 1.637 1.7 2.937Z"/>'},data$p={width:24,height:24,body:'<path fill="currentColor" d="M16.15 13H5q-.425 0-.713-.288T4 12q0-.425.288-.713T5 11h11.15L13.3 8.15q-.3-.3-.288-.7t.288-.7q.3-.3.713-.313t.712.288L19.3 11.3q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.575 4.575q-.3.3-.712.288t-.713-.313q-.275-.3-.288-.7t.288-.7L16.15 13Z"/>'};var zhCn={exports:{}};(function(a,j){(function(_e,et){a.exports=et(dayjs_minExports)})(commonjsGlobal,function(_e){function et(ot){return ot&&typeof ot=="object"&&"default"in ot?ot:{default:ot}}var nt=et(_e),tt={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(ot,ct){return ct==="W"?ot+"周":ot+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(ot,ct){var ft=100*ot+ct;return ft<600?"凌晨":ft<900?"早上":ft<1100?"上午":ft<1300?"中午":ft<1800?"下午":"晚上"}};return nt.default.locale(tt,null,!0),tt})})(zhCn);var updateLocale$1={exports:{}};(function(a,j){(function(_e,et){a.exports=et()})(commonjsGlobal,function(){return function(_e,et,nt){nt.updateLocale=function(tt,ot){var ct=nt.Ls[tt];if(ct)return(ot?Object.keys(ot):[]).forEach(function(ft){ct[ft]=ot[ft]}),ct}}})})(updateLocale$1);var updateLocaleExports=updateLocale$1.exports;const updateLocale=getDefaultExportFromCjs$1(updateLocaleExports);defaultDayjs.extend(localizedFormatPlugin);defaultDayjs.extend(utc$1);defaultDayjs.extend(timezone$1);defaultDayjs.extend(updateLocale);defaultDayjs.extend(relativeTime$1);defaultDayjs.updateLocale("zh-cn",{relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"}});setDateTool(defaultDayjs);function RelativeTime({value:a,locale:j="en",withoutSuffix:_e=!1,from:et="",to:nt="",type:tt="relative",tz:ot,relativeRange:ct,...ft}){if(!a)return"-";const ht=j==="zh"?"zh-cn":"en-us",dt=defaultDayjs(a).locale(ht);ot&&dt.tz(ot);const vt=formatToDatetime$1(a.toString(),{locale:ht,tz:ot});let $t;if(et)$t=dt.from(et,_e);else if(nt)$t=dt.to(nt,_e);else if(ct){const wt=dt.diff(defaultDayjs());Math.abs(wt)>ct&&($t=vt)}$t||($t=dt.fromNow(_e));let xt=$t,At=vt;return tt==="absolute"&&(xt=vt,At=$t),jsxRuntimeExports.jsx(Tooltip,{title:At,placement:"top-end",enterTouchDelay:0,children:jsxRuntimeExports.jsx("span",{...ft,children:xt})})}const data$o={width:24,height:24,body:'<path fill="currentColor" d="M7 7H5a2 2 0 0 0-2 2v8h2v-4h2v4h2V9a2 2 0 0 0-2-2m0 4H5V9h2m7-2h-4v10h2v-4h2a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2m0 4h-2V9h2m6 0v6h1v2h-4v-2h1V9h-1V7h4v2Z"/>'},data$n={width:24,height:24,body:'<path fill="currentColor" d="M5 17q-.425 0-.713-.288T4 16v-4q0-.425.288-.713T5 11q.425 0 .713.288T6 12v4q0 .425-.288.713T5 17Zm4 0q-.825 0-1.413-.588T7 15V9q0-.825.588-1.413T9 7h2q.825 0 1.413.588T13 9v6q0 .825-.588 1.413T11 17H9Zm0-2h2V9H9v6Zm6 2q-.425 0-.713-.288T14 16q0-.425.288-.713T15 15h3v-2h-2q-.825 0-1.413-.588T14 11V9q0-.825.588-1.413T16 7h3q.425 0 .713.288T20 8q0 .425-.288.713T19 9h-3v2h2q.825 0 1.413.588T20 13v2q0 .825-.588 1.413T18 17h-3ZM5 9q-.425 0-.713-.288T4 8q0-.425.288-.713T5 7q.425 0 .713.288T6 8q0 .425-.288.713T5 9Z"/>'},data$m={width:24,height:24,body:'<path fill="currentColor" d="M12 22q-2.05 0-3.875-.788t-3.188-2.15q-1.362-1.362-2.15-3.187T2 12q0-2.075.788-3.888t2.15-3.174Q6.3 3.575 8.124 2.788T12 2q2.075 0 3.888.788t3.174 2.15q1.363 1.362 2.15 3.175T22 12q0 2.05-.788 3.875t-2.15 3.188q-1.362 1.362-3.175 2.15T12 22Zm0-2.05q.65-.9 1.125-1.875T13.9 16h-3.8q.3 1.1.775 2.075T12 19.95Zm-2.6-.4q-.45-.825-.788-1.713T8.05 16H5.1q.725 1.25 1.813 2.175T9.4 19.55Zm5.2 0q1.4-.45 2.488-1.375T18.9 16h-2.95q-.225.95-.562 1.838T14.6 19.55ZM4.25 14h3.4q-.075-.5-.113-.988T7.5 12q0-.525.038-1.012T7.65 10h-3.4q-.125.5-.188.988T4 12q0 .525.063 1.012T4.25 14Zm5.4 0h4.7q.075-.5.113-.988T14.5 12q0-.525-.038-1.012T14.35 10h-4.7q-.075.5-.113.988T9.5 12q0 .525.038 1.012T9.65 14Zm6.7 0h3.4q.125-.5.188-.988T20 12q0-.525-.063-1.012T19.75 10h-3.4q.075.5.113.988T16.5 12q0 .525-.038 1.012T16.35 14Zm-.4-6h2.95q-.725-1.25-1.812-2.175T14.6 4.45q.45.825.788 1.713T15.95 8ZM10.1 8h3.8q-.3-1.1-.775-2.075T12 4.05q-.65.9-1.125 1.875T10.1 8Zm-5 0h2.95q.225-.95.563-1.838T9.4 4.45Q8 4.9 6.912 5.825T5.1 8Z"/>'},data$l={width:24,height:24,body:'<path fill="currentColor" d="M1 18q.225-2.675 1.638-4.925T6.4 9.5L4.55 6.3q-.15-.225-.075-.475T4.8 5.45q.2-.125.45-.05t.4.3L7.5 8.9Q9.65 8 12 8t4.5.9l1.85-3.2q.15-.225.4-.3t.45.05q.25.125.325.375t-.075.475L17.6 9.5q2.35 1.325 3.762 3.575T23 18H1Zm6-2.75q.525 0 .888-.363T8.25 14q0-.525-.363-.888T7 12.75q-.525 0-.888.363T5.75 14q0 .525.363.888T7 15.25Zm10 0q.525 0 .888-.363T18.25 14q0-.525-.363-.888T17 12.75q-.525 0-.888.363T15.75 14q0 .525.363.888t.887.362Z"/>'},data$k={width:24,height:24,body:'<path fill="currentColor" d="M14.6 8.075q0-1.075-.712-1.725T12 5.7q-.725 0-1.313.313t-1.012.912q-.4.575-1.088.663T7.4 7.225q-.35-.325-.388-.8t.238-.9q.8-1.2 2.038-1.863T12 3q2.425 0 3.938 1.375t1.512 3.6q0 1.125-.475 2.025t-1.75 2.125q-.925.875-1.25 1.363T13.55 14.6q-.1.6-.513 1t-.987.4q-.575 0-.988-.388t-.412-.962q0-.975.425-1.788T12.5 11.15q1.275-1.125 1.688-1.738t.412-1.337ZM12 22q-.825 0-1.413-.588T10 20q0-.825.588-1.413T12 18q.825 0 1.413.588T14 20q0 .825-.588 1.413T12 22Z"/>'},data$j={width:24,height:24,body:'<path fill="currentColor" d="M4 20q-.825 0-1.413-.588T2 18V6q0-.825.588-1.413T4 4h16q.825 0 1.413.588T22 6v12q0 .825-.588 1.413T20 20H4ZM20 8l-7.475 4.675q-.125.075-.263.113t-.262.037q-.125 0-.263-.037t-.262-.113L4 8v10h16V8Zm-8 3l8-5H4l8 5ZM4 8v.25v-1.475v.025V6v.8v-.012V8.25V8v10V8Z"/>'};function WalletOSIcon({loading:a=!1,walletOS:j,provider:_e,color:et="black"}){return a?jsxRuntimeExports.jsx(Icon,{icon:data$k,style:{color:"transparent"}}):_e===LOGIN_PROVIDER$1.AUTH0?jsxRuntimeExports.jsx(Icon,{icon:data$j,style:{color:et,transform:"scale(0.85)"}}):j==="ios"?jsxRuntimeExports.jsx(Icon,{icon:data$n,style:{color:et,transform:"scale(1.1)"}}):j==="android"?jsxRuntimeExports.jsx(Icon,{icon:data$l,style:{color:et}}):j==="web"?jsxRuntimeExports.jsx(Icon,{icon:data$m,style:{color:et}}):j==="api"?jsxRuntimeExports.jsx(Icon,{icon:data$o,style:{color:et,transform:"scale(1.05)"}}):null}function ItemWrap({children:a,...j}){return jsxRuntimeExports.jsx(Box,{...j,sx:{borderRadius:2,backgroundColor:colors$1.backgroundsBgSubtile,p:2,transition:"background-color 0.5s","&:hover, &:active":{backgroundColor:colors$1.backgroundsBgSubtileHover},...j.sx},children:a})}ItemWrap.propTypes={children:PropTypes.any.isRequired};const data$i={width:24,height:24,body:'<path fill="currentColor" d="M8 20h8v-3q0-1.65-1.175-2.825T12 13q-1.65 0-2.825 1.175T8 17v3Zm4-9q1.65 0 2.825-1.175T16 7V4H8v3q0 1.65 1.175 2.825T12 11ZM5 22q-.425 0-.713-.288T4 21q0-.425.288-.713T5 20h1v-3q0-1.525.713-2.863T8.7 12q-1.275-.8-1.987-2.138T6 7V4H5q-.425 0-.713-.288T4 3q0-.425.288-.713T5 2h14q.425 0 .713.288T20 3q0 .425-.288.713T19 4h-1v3q0 1.525-.713 2.863T15.3 12q1.275.8 1.988 2.138T18 17v3h1q.425 0 .713.288T20 21q0 .425-.288.713T19 22H5Z"/>'},data$h={width:24,height:24,body:'<path fill="currentColor" d="m5.75 18l-.4-.35q-1.3-1.15-1.825-2.625T3 12.05Q3 9.7 4.187 7.787T7.4 4.85q.35-.2.75-.025t.525.575q.125.375-.013.75t-.487.575q-1.45.8-2.313 2.213T5 12.05q0 1.125.425 2.188T6.75 16.2l.25.25V15q0-.425.288-.713T8 14q.425 0 .713.288T9 15v4q0 .425-.288.713T8 20H4q-.425 0-.713-.288T3 19q0-.425.288-.713T4 18h1.75ZM17 7.55V9q0 .425-.288.713T16 10q-.425 0-.713-.288T15 9V5q0-.425.288-.713T16 4h4q.425 0 .713.288T21 5q0 .425-.288.713T20 6h-1.75l.4.35q1.025 1.05 1.575 2.225t.7 2.425H18.9q-.125-.875-.537-1.675T17.25 7.8L17 7.55ZM17.4 23q-.2 0-.313-.113t-.162-.287l-.225-1.1q-.3-.125-.563-.263T15.6 20.9l-1.075.325q-.175.05-.325-.013T13.95 21l-.6-1q-.1-.15-.05-.325t.175-.3l.825-.725q-.05-.35-.05-.65t.05-.65l-.825-.725q-.125-.125-.175-.3t.05-.325l.6-1q.1-.15.25-.212t.325-.013l1.075.325q.275-.2.538-.337t.562-.263l.225-1.1q.05-.175.163-.288T17.4 13h1.2q.2 0 .313.113t.162.287l.225 1.1q.3.125.563.275t.537.375l1.05-.375q.175-.05.338.013t.262.212l.6 1.05q.1.15.063.325t-.163.3l-.85.725q.05.3.05.625t-.05.625l.825.725q.125.125.175.3t-.05.325l-.6 1q-.1.15-.25.213t-.325.012L20.4 20.9q-.275.2-.537.338t-.563.262l-.225 1.1q-.05.175-.163.288T18.6 23h-1.2Zm.6-3q.825 0 1.413-.588T20 18q0-.825-.588-1.413T18 16q-.825 0-1.413.588T16 18q0 .825.588 1.413T18 20Z"/>'};function LoadingMask({size:a=64,padding:j,borderWidth:_e,borderRadius:et,duration:nt,children:tt}){const ot=a,ct=et??ot/8,ft=_e??ot/32,ht=j??ot*.25-ft,dt=nt??2.5;return jsxRuntimeExports.jsxs(Box,{sx:{display:"inline-flex",justifyContent:"center",alignItems:"center",width:ot,height:ot,position:"relative"},children:[jsxRuntimeExports.jsx(Box,{sx:{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center",width:ot,height:ot,overflow:"hidden",borderRadius:`${ct}px`,backgroundColor:colors$1.strokeBorderBase,"&::before,&::after":{content:'""',position:"absolute",top:0,bottom:0,left:0,right:0,pointerEvents:"none"},"&::after":{left:ft,right:ft,top:ft,bottom:ft,backgroundColor:"white",borderRadius:`${ct-ft}px`},"&::before":{background:`conic-gradient(from 45deg, ${colors$1.foregroundsFgInteractiveTransparent} 0%, ${colors$1.foregroundsFgInteractiveTransparent} 50%, ${colors$1.foregroundsFgInteractive} 90%, ${colors$1.foregroundsFgInteractive} 100%)`,transform:"scale(100)",animation:`rotate ${dt}s linear infinite`,"@keyframes rotate":{"0%":{transform:"scale(100) rotate(0deg)"},"100%":{transform:"scale(100) rotate(360deg)"}}}}}),jsxRuntimeExports.jsx(Box,{sx:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",width:ot-ht-ft,height:ot-ht-ft},children:tt})]})}var DidWallet={};Object.defineProperty(DidWallet,"__esModule",{value:!0});var default_1$3=DidWallet.default=void 0;_interopRequireDefault$3(reactExports);var _jsxRuntime$3=jsxRuntimeExports;function _interopRequireDefault$3(a){return a&&a.__esModule?a:{default:a}}function ownKeys$3(a,j){var _e=Object.keys(a);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(a);j&&(et=et.filter(function(nt){return Object.getOwnPropertyDescriptor(a,nt).enumerable})),_e.push.apply(_e,et)}return _e}function _objectSpread$1(a){for(var j=1;j<arguments.length;j++){var _e=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$3(Object(_e),!0).forEach(function(et){_defineProperty$1(a,et,_e[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(_e)):ownKeys$3(Object(_e)).forEach(function(et){Object.defineProperty(a,et,Object.getOwnPropertyDescriptor(_e,et))})}return a}function _defineProperty$1(a,j,_e){return(j=_toPropertyKey$1(j))in a?Object.defineProperty(a,j,{value:_e,enumerable:!0,configurable:!0,writable:!0}):a[j]=_e,a}function _toPropertyKey$1(a){var j=_toPrimitive$1(a,"string");return typeof j=="symbol"?j:j+""}function _toPrimitive$1(a,j){if(typeof a!="object"||!a)return a;var _e=a[Symbol.toPrimitive];if(_e!==void 0){var et=_e.call(a,j||"default");if(typeof et!="object")return et;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(a)}var Component$1=function a(j){return(0,_jsxRuntime$3.jsxs)("svg",_objectSpread$1(_objectSpread$1({},j),{},{children:[(0,_jsxRuntime$3.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,_jsxRuntime$3.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"url(#paint0_linear)"}),(0,_jsxRuntime$3.jsx)("g",{filter:"url(#filter0_i)",children:(0,_jsxRuntime$3.jsx)("path",{d:"M3.52002 7.35999C3.52002 5.94614 4.66617 4.79999 6.08002 4.79999H25.92C27.3339 4.79999 28.48 5.94614 28.48 7.35999V19.52C28.48 20.9338 27.3339 22.08 25.92 22.08H6.08002C4.66617 22.08 3.52002 20.9338 3.52002 19.52V7.35999Z",fill:"#9FCBFF"})}),(0,_jsxRuntime$3.jsx)("g",{filter:"url(#filter1_d)",children:(0,_jsxRuntime$3.jsx)("path",{d:"M2.56 9.27997C2.56 7.86612 3.70615 6.71997 5.12 6.71997H26.88C28.2938 6.71997 29.44 7.86612 29.44 9.27997V22.88C29.44 24.2938 28.2938 25.44 26.88 25.44H5.12C3.70615 25.44 2.56 24.2938 2.56 22.88V9.27997Z",fill:"url(#paint1_linear)"})}),(0,_jsxRuntime$3.jsx)("g",{filter:"url(#filter2_d)",children:(0,_jsxRuntime$3.jsx)("path",{d:"M0 22.32L32 16.16V32H0V22.32Z",fill:"url(#paint2_linear)"})}),(0,_jsxRuntime$3.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.53603 9.24802H13.8239C14.2322 9.24802 14.5632 9.54889 14.5632 9.92002V14.56C14.5632 14.9312 14.2322 15.232 13.8239 15.232H5.53603C5.12776 15.232 4.79679 14.9312 4.79679 14.56V14.5208C4.79679 14.4333 4.72587 14.3624 4.63839 14.3624C4.5509 14.3624 4.47998 14.4333 4.47998 14.5208V14.56C4.47998 15.0902 4.95279 15.52 5.53603 15.52H13.8239C14.4072 15.52 14.88 15.0902 14.88 14.56V9.92002C14.88 9.38983 14.4072 8.96002 13.8239 8.96002H5.53603C4.95279 8.96002 4.47998 9.38983 4.47998 9.92002V9.95926C4.47998 10.0467 4.5509 10.1177 4.63839 10.1177C4.72587 10.1177 4.79679 10.0467 4.79679 9.95926V9.92002C4.79679 9.54889 5.12776 9.24802 5.53603 9.24802ZM4.51346 13.8864C4.53897 13.9088 4.56767 13.92 4.59956 13.92H5.86713C6.33909 13.92 6.69783 13.8128 6.94338 13.5984C7.19211 13.3808 7.32444 13.0496 7.34039 12.6048C7.34358 12.5152 7.34517 12.3936 7.34517 12.24C7.34517 12.0864 7.34358 11.9632 7.34039 11.8704C7.32763 11.4448 7.19211 11.12 6.93381 10.896C6.67551 10.672 6.31198 10.56 5.84322 10.56H4.59956C4.56767 10.56 4.53897 10.5712 4.51346 10.5936C4.49114 10.616 4.47998 10.6448 4.47998 10.68V13.8C4.47998 13.832 4.49114 13.8608 4.51346 13.8864ZM6.3072 13.08C6.20834 13.1792 6.05368 13.2288 5.84322 13.2288H5.34097V11.2512H5.8193C6.02977 11.2512 6.18762 11.3024 6.29285 11.4048C6.40127 11.5072 6.45867 11.6656 6.46505 11.88C6.47142 11.9696 6.47461 12.088 6.47461 12.2352C6.47461 12.3824 6.47142 12.5024 6.46505 12.5952C6.45867 12.816 6.40605 12.9776 6.3072 13.08ZM7.93744 13.8864C7.96295 13.9088 7.99165 13.92 8.02354 13.92H8.6645C8.69958 13.92 8.72828 13.9088 8.7506 13.8864C8.77611 13.864 8.78887 13.8352 8.78887 13.8V10.68C8.78887 10.6448 8.77611 10.616 8.7506 10.5936C8.72828 10.5712 8.69958 10.56 8.6645 10.56H8.02354C7.99165 10.56 7.96295 10.5712 7.93744 10.5936C7.91512 10.616 7.90396 10.6448 7.90396 10.68V13.8C7.90396 13.832 7.91512 13.8608 7.93744 13.8864ZM9.57437 13.92C9.54248 13.92 9.51378 13.9088 9.48827 13.8864C9.46595 13.8608 9.45479 13.832 9.45479 13.8V10.68C9.45479 10.6448 9.46595 10.616 9.48827 10.5936C9.51378 10.5712 9.54248 10.56 9.57437 10.56H10.818C11.2868 10.56 11.6503 10.672 11.9086 10.896C12.1669 11.12 12.3024 11.4448 12.3152 11.8704C12.3184 11.9632 12.32 12.0864 12.32 12.24C12.32 12.3936 12.3184 12.5152 12.3152 12.6048C12.2993 13.0496 12.1669 13.3808 11.9182 13.5984C11.6726 13.8128 11.3139 13.92 10.8419 13.92H9.57437ZM10.818 13.2288C11.0285 13.2288 11.1832 13.1792 11.282 13.08C11.3809 12.9776 11.4335 12.816 11.4399 12.5952C11.4462 12.5024 11.4494 12.3824 11.4494 12.2352C11.4494 12.088 11.4462 11.9696 11.4399 11.88C11.4335 11.6656 11.3761 11.5072 11.2677 11.4048C11.1624 11.3024 11.0046 11.2512 10.7941 11.2512H10.3158V13.2288H10.818ZM13.2858 11.8474C13.1278 11.8474 12.9976 11.7193 12.9976 11.5614C12.9976 11.4034 13.1278 11.2753 13.2858 11.2753C13.4438 11.2753 13.574 11.4034 13.574 11.5614C13.574 11.7193 13.4438 11.8474 13.2858 11.8474ZM13.2858 13.3425C13.1278 13.3425 12.9976 13.2144 12.9976 13.0565C12.9976 12.8985 13.1278 12.7704 13.2858 12.7704C13.4438 12.7704 13.574 12.8985 13.574 13.0565C13.574 13.2144 13.4438 13.3425 13.2858 13.3425Z",fill:"#4598FA"})]}),(0,_jsxRuntime$3.jsxs)("defs",{children:[(0,_jsxRuntime$3.jsxs)("filter",{id:"filter0_i",x:"3.52002",y:"1.79999",width:"24.96",height:"20.28",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,_jsxRuntime$3.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,_jsxRuntime$3.jsx)("feOffset",{dy:"-3"}),(0,_jsxRuntime$3.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,_jsxRuntime$3.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 0"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow"})]}),(0,_jsxRuntime$3.jsxs)("filter",{id:"filter1_d",x:"-1.44",y:"1.71997",width:"34.88",height:"26.72",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,_jsxRuntime$3.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,_jsxRuntime$3.jsx)("feOffset",{dy:"-1"}),(0,_jsxRuntime$3.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.220767 0 0 0 0 0.470803 0 0 0 0 0.701605 0 0 0 0.18 0"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,_jsxRuntime$3.jsxs)("filter",{id:"filter2_d",x:"-5",y:"11.16",width:"42",height:"25.84",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,_jsxRuntime$3.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,_jsxRuntime$3.jsx)("feOffset",{}),(0,_jsxRuntime$3.jsx)("feGaussianBlur",{stdDeviation:"2.5"}),(0,_jsxRuntime$3.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.14382 0 0 0 0 0.205065 0 0 0 0 0.522634 0 0 0 0.25 0"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,_jsxRuntime$3.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,_jsxRuntime$3.jsxs)("linearGradient",{id:"paint0_linear",x1:"16",y1:"0",x2:"16",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,_jsxRuntime$3.jsx)("stop",{stopColor:"#4F9DF6"}),(0,_jsxRuntime$3.jsx)("stop",{offset:"1",stopColor:"#0A79F8"})]}),(0,_jsxRuntime$3.jsxs)("linearGradient",{id:"paint1_linear",x1:"16",y1:"6.71997",x2:"16",y2:"25.44",gradientUnits:"userSpaceOnUse",children:[(0,_jsxRuntime$3.jsx)("stop",{stopColor:"white"}),(0,_jsxRuntime$3.jsx)("stop",{offset:"1",stopColor:"#ECEFFF"})]}),(0,_jsxRuntime$3.jsxs)("linearGradient",{id:"paint2_linear",x1:"16",y1:"19.2",x2:"18.48",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,_jsxRuntime$3.jsx)("stop",{offset:"0.00694981",stopColor:"#77B2F6"}),(0,_jsxRuntime$3.jsx)("stop",{offset:"0.055083",stopColor:"#4F9DF6"}),(0,_jsxRuntime$3.jsx)("stop",{offset:"1",stopColor:"#4598FA"})]}),(0,_jsxRuntime$3.jsx)("clipPath",{id:"clip0",children:(0,_jsxRuntime$3.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"white"})})]})]}))};Component$1.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$1.displayName="did-wallet";default_1$3=DidWallet.default=Component$1;function Success({size:a=64,backgroundColor:j="white",borderWidth:_e=4}){const et=a-_e*2;return jsxRuntimeExports.jsxs(Box,{className:"check-icon",sx:{width:et,height:et,position:"relative",borderRadius:"100%","&, *, *::before, *::after":{boxSizing:"content-box !important"},border:nt=>`${_e}px solid ${nt.palette.success.light}`,"&::before, &::after":{content:'""',height:"125%",position:"absolute",background:j,transform:"rotate(-45deg)"},"&::before":{top:`${_e/2+1}px`,left:`-${_e/2}px`,width:`calc(32.5% + ${_e}px)`,transformOrigin:"100% 50%",borderRadius:"100% 0 0 100%"},"&::after":{top:0,left:"37.5%",width:`calc(70% + ${_e}px)`,transformOrigin:"0 50%",borderRadius:"0 100% 100% 0",animation:"rotate-circle 4.25s ease-in"},".icon-line":{height:`${_e+1}px`,backgroundColor:nt=>nt.palette.success.light,display:"block",borderRadius:"100vw",position:"absolute",zIndex:10},"@keyframes rotate-circle":{"0%":{transform:"rotate(-45deg)"},"5%":{transform:"rotate(-45deg)"},"12%":{transform:"rotate(-405deg)"},"100%":{transform:"rotate(-405deg)"}}},children:[jsxRuntimeExports.jsx(Box,{component:"span",className:"icon-line line-tip",sx:{top:"57.5%",left:"17.5%",width:"31.25%",transform:"rotate(45deg)",animation:"icon-line-tip 0.75s","@keyframes icon-line-tip":{"0%":{width:"0",left:"1px",top:"23.75%"},"54%":{width:"0",left:"1px",top:"23.75%"},"70%":{width:"62.5%",left:"-10%",top:"46.25%"},"84%":{width:"21.25%",left:"26.25%",top:"60%"},"100%":{width:"31.25",left:"17.5%",top:"56.25%"}}}}),jsxRuntimeExports.jsx(Box,{component:"span",className:"icon-line line-long",sx:{top:"47.5%",right:"10%",width:"58.75%",transform:"rotate(-45deg)",animation:"icon-line-long 0.75s","@keyframes icon-line-long":{"0%":{width:"0",right:"57.5%",top:"67.5%"},"65%":{width:"0",right:"57.5%",top:"67.5%"},"84%":{width:"68.75%",right:"0px",top:"43.75%"},"100%":{width:"58.75%",right:"10%",top:"47.5%"}}}}),jsxRuntimeExports.jsx(Box,{className:"icon-circle",sx:{top:`-${_e}px`,left:`-${_e}px`,zIndex:10,width:et,height:et,borderRadius:"100%",position:"absolute",boxSizing:"contentBox",border:`${_e}px solid rgba(76, 175, 80, 0.63)`}}),jsxRuntimeExports.jsx(Box,{className:"icon-fix",sx:{top:`calc(8% - ${Math.sqrt(_e)}px)`,width:_e+1,left:`calc(32% - ${Math.sqrt(_e)}px)`,zIndex:1,height:et+_e*2,position:"absolute",transform:"rotate(-45deg)",backgroundColor:j}})]})}function Button({...a}){return jsxRuntimeExports.jsx(Button$1,{variant:"outlined",color:"inherit",...a,sx:{borderRadius:2,borderColor:colors$1.strokeBorderBase,color:colors$1.foregroundsFgBase,backgroundColor:"#fff",fontWeight:500,boxShadow:`0 0 0 1px ${colors$1.strokeBorderBase}`,fontSize:12,border:"0px !important",...a.sx}})}function BaseStatus({icon:a,title:j,color:_e,description:et,extraContent:nt,actions:tt}){return jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:1.5},children:[reactExports.isValidElement(a)?a:jsxRuntimeExports.jsx(Box,{sx:{backgroundColor:_e,borderRadius:"100%",fontSize:0},children:jsxRuntimeExports.jsx(Icon,{icon:a,fontSize:52,style:{transform:"scale(0.7)",color:"white"}})}),jsxRuntimeExports.jsxs(Box,{sx:{textAlign:"center"},children:[jsxRuntimeExports.jsx(Typography,{variant:"h6",sx:{fontWeight:500,color:_e},children:j}),jsxRuntimeExports.jsx(Typography,{variant:"body2",sx:{color:colors$1.foregroundsFgSubtile,overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":"3",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:et})]}),nt,jsxRuntimeExports.jsx(Box,{children:tt})]})}BaseStatus.propTypes={icon:PropTypes.node,title:PropTypes.string,color:PropTypes.string,description:PropTypes.string,extraContent:PropTypes.node,actions:PropTypes.node};BaseStatus.defaultProps={icon:null,title:"",color:colors$1.foregroundsFgBase,description:"",extraContent:null,actions:null};function MfaCode({title:a,mfaCode:j}){return jsxRuntimeExports.jsxs(Box,{className:"status-mfa",sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",border:`1px solid ${colors$1.strokeBorderBase}`,borderRadius:2,maxWidth:"360px",backgroundColor:"transparent",p:1},children:[jsxRuntimeExports.jsx(Box,{className:"status-mfa-tip",sx:{textAlign:"center",textWrap:"balance"},children:a}),jsxRuntimeExports.jsx(Typography,{className:"status-mfa-code",sx:{mt:1,lineHeight:1,fontSize:"36px",fontWeight:700,letterSpacing:1},children:j})]})}MfaCode.propTypes={title:PropTypes.string,mfaCode:PropTypes.number};MfaCode.defaultProps={title:"",mfaCode:0};function ConnectStatus({status:a,nextWorkflow:j,mfaCode:_e,onCancel:et,onRetry:nt,onClose:tt,messages:ot,locale:ct,isFullScreen:ft,...ht}){const dt=translations$3[ct]||translations$3.en;return jsxRuntimeExports.jsxs(Box,{...ht,sx:{py:2,minHeight:200,...ht.sx},children:[a==="scanned"&&!j&&jsxRuntimeExports.jsx(BaseStatus,{icon:jsxRuntimeExports.jsx(LoadingMask,{size:52,borderRadius:12,children:jsxRuntimeExports.jsx(default_1$3,{style:{width:"100%",height:"100%"}})}),title:dt.requestConnect,description:dt.continueInWallet,extraContent:_e>0&&jsxRuntimeExports.jsx(MfaCode,{mfaCode:_e,title:dt.mfaCode}),actions:jsxRuntimeExports.jsx(Button,{onClick:et,children:dt.back})}),a==="scanned"&&!!j&&jsxRuntimeExports.jsx(BaseStatus,{color:colors$1.foregroundsFgInteractive,icon:data$i,title:dt.wait,description:dt.waiting,extraContent:_e>0&&jsxRuntimeExports.jsx(MfaCode,{mfaCode:_e,title:dt.mfaCode}),actions:jsxRuntimeExports.jsx(Button,{onClick:et,children:dt.back})}),a==="succeed"&&jsxRuntimeExports.jsx(BaseStatus,{color:"success.light",icon:jsxRuntimeExports.jsx(Success,{size:52,borderWidth:3}),title:dt.success,description:ot.success,actions:ft?null:jsxRuntimeExports.jsx(Button,{onClick:tt,children:dt.close})}),a==="error"&&jsxRuntimeExports.jsx(BaseStatus,{color:colors$1.buttonsButtonDanger,icon:data$r,title:dt.failed,description:ot.error||dt.error,actions:jsxRuntimeExports.jsx(Button,{onClick:nt,children:dt.retry})}),a==="busy"&&jsxRuntimeExports.jsx(BaseStatus,{color:"warning.main",icon:data$h,title:dt.busyTitle,description:ot.error||dt.busyDesc,actions:jsxRuntimeExports.jsx(Button,{onClick:nt,children:dt.retry})})]})}ConnectStatus.propTypes={status:PropTypes.string,nextWorkflow:PropTypes.string,mfaCode:PropTypes.number,onCancel:PropTypes.func,onRetry:PropTypes.func,onClose:PropTypes.func,messages:PropTypes.shape({confirm:PropTypes.string.isRequired,success:PropTypes.any.isRequired,error:PropTypes.any.isRequired}).isRequired,locale:PropTypes.oneOf(["en","zh"]),isFullScreen:PropTypes.bool};ConnectStatus.defaultProps={status:"",nextWorkflow:"",mfaCode:0,onCancel:noop$6,onRetry:noop$6,onClose:noop$6,locale:"en",isFullScreen:!1};function QuickLoginItem({userSession:a,locale:j}){var et,nt,tt,ot;const _e=getSourceProvider(a==null?void 0:a.user)==="wallet";return jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer","&:hover":{backgroundColor:colors$1.surfacePrimarySubtitle}},children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1.5,flex:1,overflow:"hidden"},children:[jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{src:a.user.avatar,did:a.user.did,size:48,variant:"circle",shape:"circle"}),jsxRuntimeExports.jsxs(Box,{sx:{flex:1,overflow:"hidden"},children:[jsxRuntimeExports.jsxs(Typography,{sx:{fontSize:"16px",fontWeight:"bold",display:"flex",alignItems:"center",gap:1,color:colors$1.textBase},children:[a.user.fullName,jsxRuntimeExports.jsx(Chip,{label:((et=a.user)==null?void 0:et.roleTitle)||((nt=a.user)==null?void 0:nt.role),size:"small",variant:"outlined",sx:()=>({height:"auto",fontWeight:"bold",fontSize:"12px",borderColor:colors$1.lineBorderStrong,color:colors$1.textSubtitle})})]}),_e?jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[jsxRuntimeExports.jsx(WalletOSIcon,{provider:(tt=a==null?void 0:a.extra)==null?void 0:tt.provider,walletOS:(ot=a==null?void 0:a.extra)==null?void 0:ot.walletOS,color:colors$1.textSubtitle}),jsxRuntimeExports.jsx(DID,{did:a.user.did,size:12,sx:{lineHeight:1,fontSize:"12px",mt:.5},responsive:!0})]}):jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"12px",color:colors$1.textSubtitle},children:a.user.email})]})]}),a.updatedAt&&jsxRuntimeExports.jsx(Box,{component:"span",sx:{color:colors$1.textMuted,fontSize:"12px",flexShrink:0},children:jsxRuntimeExports.jsx(RelativeTime,{value:a.updatedAt,locale:j})})]})}QuickLoginItem.propTypes={userSession:PropTypes.shape({user:PropTypes.shape({avatar:PropTypes.string,did:PropTypes.string,fullName:PropTypes.string,role:PropTypes.string,roleTitle:PropTypes.string,email:PropTypes.string}),extra:PropTypes.shape({walletOS:PropTypes.string,provider:PropTypes.string}),updatedAt:PropTypes.string}).isRequired,locale:PropTypes.string};QuickLoginItem.defaultProps={locale:"en"};function QuickConnect({userSessions:a,onLogin:j,onClose:_e,messages:et,onRetry:nt,onLoginAnother:tt,isFullScreen:ot}){const{t:ct,locale:ft,changeStatus:ht,blocklet:dt}=useStateContext(),vt=ct("otherAccount"),$t=useReactive({loadingId:null,status:"created",messages:{confirm:et.confirm,success:et.success,error:""},reset(){this.loadingId=null,this.status="created",this.messages.error=""}}),xt=useMemoizedFn(async wt=>{$t.loadingId=wt.id;try{await j({...wt,appPid:dt==null?void 0:dt.appPid}),$t.status="succeed"}catch(Ct){$t.status="error",$t.messages.error=Ct.messages}finally{$t.loadingId=null}}),At=useMemoizedFn(()=>{$t.reset(),nt()});return reactExports.useEffect(()=>{ht($t.status)},[ht,$t.status]),$t.status!=="created"?jsxRuntimeExports.jsx(ConnectStatus,{status:$t.status,onRetry:At,onClose:_e,messages:$t.messages,locale:ft,className:"auth-status",isFullScreen:ot}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[a.map(wt=>{var Ct;return jsxRuntimeExports.jsx(Tooltip,{title:ct("loginWithThisAccount"),arrow:!0,placement:"top",children:jsxRuntimeExports.jsxs(Box,{sx:{position:"relative"},onClick:()=>xt(wt),children:[$t.loadingId===wt.id?jsxRuntimeExports.jsx(LinearProgress,{sx:{height:"2px",position:"absolute",top:0,left:0,right:0}}):null,jsxRuntimeExports.jsx(QuickLoginItem,{userSession:wt,locale:ft})]})},(Ct=wt==null?void 0:wt.user)==null?void 0:Ct.did)}),jsxRuntimeExports.jsx(Tooltip,{title:ct("loginWithAnotherAccount"),arrow:!0,placement:"top",children:jsxRuntimeExports.jsx(Box,{children:jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer","&:hover":{backgroundColor:colors$1.surfacePrimarySubtitle},color:colors$1.textBase},onClick:tt,children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(Box,{sx:{fontSize:0,p:.5},children:jsxRuntimeExports.jsx(Icon,{icon:data$q,fontSize:"40px"})}),jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"16px",fontWeight:"bold"},children:vt})]}),jsxRuntimeExports.jsx(Icon,{className:"other-item-icon",icon:data$p,fontSize:"24px"})]})})})]})}QuickConnect.propTypes={userSessions:PropTypes.array.isRequired,onLogin:PropTypes.func.isRequired,onRetry:PropTypes.func.isRequired,onClose:PropTypes.func.isRequired,onLoginAnother:PropTypes.func.isRequired,messages:PropTypes.object,isFullScreen:PropTypes.bool};QuickConnect.defaultProps={messages:{},isFullScreen:!1};function baseFindIndex$1(a,j,_e,et){for(var nt=a.length,tt=_e+(et?1:-1);et?tt--:++tt<nt;)if(j(a[tt],tt,a))return tt;return-1}var _baseFindIndex=baseFindIndex$1;function baseIsNaN$1(a){return a!==a}var _baseIsNaN=baseIsNaN$1;function strictIndexOf$1(a,j,_e){for(var et=_e-1,nt=a.length;++et<nt;)if(a[et]===j)return et;return-1}var _strictIndexOf=strictIndexOf$1,baseFindIndex=_baseFindIndex,baseIsNaN=_baseIsNaN,strictIndexOf=_strictIndexOf;function baseIndexOf$2(a,j,_e){return j===j?strictIndexOf(a,j,_e):baseFindIndex(a,baseIsNaN,_e)}var _baseIndexOf=baseIndexOf$2,baseIndexOf$1=_baseIndexOf;function arrayIncludes$3(a,j){var _e=a==null?0:a.length;return!!_e&&baseIndexOf$1(a,j,0)>-1}var _arrayIncludes=arrayIncludes$3;function arrayIncludesWith$2(a,j,_e){for(var et=-1,nt=a==null?0:a.length;++et<nt;)if(_e(j,a[et]))return!0;return!1}var _arrayIncludesWith=arrayIncludesWith$2,SetCache$1=_SetCache,arrayIncludes$2=_arrayIncludes,arrayIncludesWith$1=_arrayIncludesWith,arrayMap$3=_arrayMap,baseUnary$1=_baseUnary,cacheHas$1=_cacheHas,nativeMin=Math.min;function baseIntersection$1(a,j,_e){for(var et=_e?arrayIncludesWith$1:arrayIncludes$2,nt=a[0].length,tt=a.length,ot=tt,ct=Array(tt),ft=1/0,ht=[];ot--;){var dt=a[ot];ot&&j&&(dt=arrayMap$3(dt,baseUnary$1(j))),ft=nativeMin(dt.length,ft),ct[ot]=!_e&&(j||nt>=120&&dt.length>=120)?new SetCache$1(ot&&dt):void 0}dt=a[0];var vt=-1,$t=ct[0];e:for(;++vt<nt&&ht.length<ft;){var xt=dt[vt],At=j?j(xt):xt;if(xt=_e||xt!==0?xt:0,!($t?cacheHas$1($t,At):et(ht,At,_e))){for(ot=tt;--ot;){var wt=ct[ot];if(!(wt?cacheHas$1(wt,At):et(a[ot],At,_e)))continue e}$t&&$t.push(At),ht.push(xt)}}return ht}var _baseIntersection=baseIntersection$1,isArrayLikeObject$1=isArrayLikeObject_1;function castArrayLikeObject$1(a){return isArrayLikeObject$1(a)?a:[]}var _castArrayLikeObject=castArrayLikeObject$1,arrayMap$2=_arrayMap,baseIntersection=_baseIntersection,baseRest$2=_baseRest,castArrayLikeObject=_castArrayLikeObject,intersection=baseRest$2(function(a){var j=arrayMap$2(a,castArrayLikeObject);return j.length&&j[0]===a[0]?baseIntersection(j):[]}),intersection_1=intersection;const intersection$1=getDefaultExportFromCjs$1(intersection_1),data$g={width:24,height:24,body:'<path fill="currentColor" d="M19 21q-.975 0-1.75-.563T16.175 19H11q-1.65 0-2.825-1.175T7 15q0-1.65 1.175-2.825T11 11h2q.825 0 1.413-.588T15 9q0-.825-.588-1.413T13 7H7.825q-.325.875-1.088 1.438T5 9q-1.25 0-2.125-.875T2 6q0-1.25.875-2.125T5 3q.975 0 1.738.563T7.824 5H13q1.65 0 2.825 1.175T17 9q0 1.65-1.175 2.825T13 13h-2q-.825 0-1.413.588T9 15q0 .825.588 1.413T11 17h5.175q.325-.875 1.088-1.438T19 15q1.25 0 2.125.875T22 18q0 1.25-.875 2.125T19 21ZM5 7q.425 0 .713-.288T6 6q0-.425-.288-.713T5 5q-.425 0-.713.288T4 6q0 .425.288.713T5 7Z"/>'},chromeExtDownloadUrl="https://chromewebstore.google.com/detail/did-wallet/ibjflpbmadchofnbpppegdbnifdgincp",edgeExtDownloadUrl="https://microsoftedge.microsoft.com/addons/detail/did-wallet/hjgoblidjnnnamdkinbichnfbmghmafd";function WebLoginItem({tokenState:a,locale:j,webWalletUrl:_e}){const et=detectWalletExtension(),{t:nt}=useStateContext(),tt=useReactive({loading:!1}),ot=useMemoizedFn(xt=>{xt.preventDefault(),tt.loading=!0;const At=openWebWallet({webWalletUrl:_e,url:a.url,locale:j,appInfo:a.appInfo,memberAppInfo:a.memberAppInfo});(At==null?void 0:At.type)==="web"?tt.loading=!1:setTimeout(()=>{tt.loading=!1},2e3)}),ct=useCreation(()=>{var At;const xt=(At=window==null?void 0:window.navigator)==null?void 0:At.userAgent;return xt.indexOf("Edge")>-1||xt.indexOf("Edg")>-1?"edge":xt.indexOf("Chrome")>-1?"chrome":"unknown"},[]),ft=useCreation(()=>ct==="edge"?edgeExtDownloadUrl:ct==="chrome"?chromeExtDownloadUrl:null,[ct]),ht=useCreation(()=>et?{onClick:ot}:ft?{component:"a",href:ft,target:"_blank",rel:"noopener"}:{onClick:ot},[ot]),dt=useCreation(()=>et||ft?"Web Wallet Extension":"Web Wallet",[et,ft]),vt=useCreation(()=>!et&&!ft?new URL(_e).hostname:null,[_e,ft]),$t=useCreation(()=>et?null:ft?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["You can also use"," ",jsxRuntimeExports.jsx(Box,{onClick:ot,component:"span",sx:{lineHeight:1,color:colors$1.foregroundsFgInteractive,cursor:"pointer","&:hover":{textDecoration:"underline dashed"}},children:"Web Wallet"})]}):null,[et,ft]);return jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",textDecoration:"none",color:"inherit",py:1.563},...ht,children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(default_1$3,{width:"24px",height:"24px"}),jsxRuntimeExports.jsxs(Box,{children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"14px",fontWeight:500,lineHeight:1,mb:.5},children:dt}),vt?jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"12px",color:colors$1.textMuted,lineHeight:1},children:vt}):null]}),$t?jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"12px",color:colors$1.textMuted,lineHeight:1},children:$t}):null]})]}),jsxRuntimeExports.jsx(Button,{startIcon:tt.loading?jsxRuntimeExports.jsx(CircularProgress,{color:"inherit",size:15}):jsxRuntimeExports.jsx(Icon,{icon:data$g}),disabled:tt.loading,children:nt("connectButton")})]})}WebLoginItem.propTypes={tokenState:PropTypes.object.isRequired,locale:PropTypes.string,webWalletUrl:PropTypes.string.isRequired};WebLoginItem.defaultProps={locale:"en"};var qrCodeStyling={exports:{}};(function(a,j){(function(_e,et){a.exports=et()})(commonjsGlobal,function(){return(()=>{var _e={192:(tt,ot)=>{var ct,ft,ht=function(){var dt=function(st,ut){var pt=st,mt=Ct[ut],Et=null,Tt=0,yt=null,it=[],bt={},kt=function(qt,Pt){Et=function(Ht){for(var nn=new Array(Ht),Zt=0;Zt<Ht;Zt+=1){nn[Zt]=new Array(Ht);for(var fn=0;fn<Ht;fn+=1)nn[Zt][fn]=null}return nn}(Tt=4*pt+17),Dt(0,0),Dt(Tt-7,0),Dt(0,Tt-7),Lt(),Ut(),Nt(qt,Pt),pt>=7&&Vt(qt),yt==null&&(yt=tn(pt,mt,it)),Yt(yt,Pt)},Dt=function(qt,Pt){for(var Ht=-1;Ht<=7;Ht+=1)if(!(qt+Ht<=-1||Tt<=qt+Ht))for(var nn=-1;nn<=7;nn+=1)Pt+nn<=-1||Tt<=Pt+nn||(Et[qt+Ht][Pt+nn]=0<=Ht&&Ht<=6&&(nn==0||nn==6)||0<=nn&&nn<=6&&(Ht==0||Ht==6)||2<=Ht&&Ht<=4&&2<=nn&&nn<=4)},Ut=function(){for(var qt=8;qt<Tt-8;qt+=1)Et[qt][6]==null&&(Et[qt][6]=qt%2==0);for(var Pt=8;Pt<Tt-8;Pt+=1)Et[6][Pt]==null&&(Et[6][Pt]=Pt%2==0)},Lt=function(){for(var qt=Rt.getPatternPosition(pt),Pt=0;Pt<qt.length;Pt+=1)for(var Ht=0;Ht<qt.length;Ht+=1){var nn=qt[Pt],Zt=qt[Ht];if(Et[nn][Zt]==null)for(var fn=-2;fn<=2;fn+=1)for(var yn=-2;yn<=2;yn+=1)Et[nn+fn][Zt+yn]=fn==-2||fn==2||yn==-2||yn==2||fn==0&&yn==0}},Vt=function(qt){for(var Pt=Rt.getBCHTypeNumber(pt),Ht=0;Ht<18;Ht+=1){var nn=!qt&&(Pt>>Ht&1)==1;Et[Math.floor(Ht/3)][Ht%3+Tt-8-3]=nn}for(Ht=0;Ht<18;Ht+=1)nn=!qt&&(Pt>>Ht&1)==1,Et[Ht%3+Tt-8-3][Math.floor(Ht/3)]=nn},Nt=function(qt,Pt){for(var Ht=mt<<3|Pt,nn=Rt.getBCHTypeInfo(Ht),Zt=0;Zt<15;Zt+=1){var fn=!qt&&(nn>>Zt&1)==1;Zt<6?Et[Zt][8]=fn:Zt<8?Et[Zt+1][8]=fn:Et[Tt-15+Zt][8]=fn}for(Zt=0;Zt<15;Zt+=1)fn=!qt&&(nn>>Zt&1)==1,Zt<8?Et[8][Tt-Zt-1]=fn:Zt<9?Et[8][15-Zt-1+1]=fn:Et[8][15-Zt-1]=fn;Et[Tt-8][8]=!qt},Yt=function(qt,Pt){for(var Ht=-1,nn=Tt-1,Zt=7,fn=0,yn=Rt.getMaskFunction(Pt),on=Tt-1;on>0;on-=2)for(on==6&&(on-=1);;){for(var cn=0;cn<2;cn+=1)if(Et[nn][on-cn]==null){var In=!1;fn<qt.length&&(In=(qt[fn]>>>Zt&1)==1),yn(nn,on-cn)&&(In=!In),Et[nn][on-cn]=In,(Zt-=1)==-1&&(fn+=1,Zt=7)}if((nn+=Ht)<0||Tt<=nn){nn-=Ht,Ht=-Ht;break}}},tn=function(qt,Pt,Ht){for(var nn=Ot.getRSBlocks(qt,Pt),Zt=zt(),fn=0;fn<Ht.length;fn+=1){var yn=Ht[fn];Zt.put(yn.getMode(),4),Zt.put(yn.getLength(),Rt.getLengthInBits(yn.getMode(),qt)),yn.write(Zt)}var on=0;for(fn=0;fn<nn.length;fn+=1)on+=nn[fn].dataCount;if(Zt.getLengthInBits()>8*on)throw"code length overflow. ("+Zt.getLengthInBits()+">"+8*on+")";for(Zt.getLengthInBits()+4<=8*on&&Zt.put(0,4);Zt.getLengthInBits()%8!=0;)Zt.putBit(!1);for(;!(Zt.getLengthInBits()>=8*on||(Zt.put(236,8),Zt.getLengthInBits()>=8*on));)Zt.put(17,8);return function(cn,In){for(var gn=0,xn=0,En=0,hn=new Array(In.length),mn=new Array(In.length),Pn=0;Pn<In.length;Pn+=1){var _n=In[Pn].dataCount,Rn=In[Pn].totalCount-_n;xn=Math.max(xn,_n),En=Math.max(En,Rn),hn[Pn]=new Array(_n);for(var On=0;On<hn[Pn].length;On+=1)hn[Pn][On]=255&cn.getBuffer()[On+gn];gn+=_n;var rn=Rt.getErrorCorrectPolynomial(Rn),Ft=Mt(hn[Pn],rn.getLength()-1).mod(rn);for(mn[Pn]=new Array(rn.getLength()-1),On=0;On<mn[Pn].length;On+=1){var Kt=On+Ft.getLength()-mn[Pn].length;mn[Pn][On]=Kt>=0?Ft.getAt(Kt):0}}var un=0;for(On=0;On<In.length;On+=1)un+=In[On].totalCount;var vn=new Array(un),Mn=0;for(On=0;On<xn;On+=1)for(Pn=0;Pn<In.length;Pn+=1)On<hn[Pn].length&&(vn[Mn]=hn[Pn][On],Mn+=1);for(On=0;On<En;On+=1)for(Pn=0;Pn<In.length;Pn+=1)On<mn[Pn].length&&(vn[Mn]=mn[Pn][On],Mn+=1);return vn}(Zt,nn)};bt.addData=function(qt,Pt){var Ht=null;switch(Pt=Pt||"Byte"){case"Numeric":Ht=jt(qt);break;case"Alphanumeric":Ht=Gt(qt);break;case"Byte":Ht=Jt(qt);break;case"Kanji":Ht=Xt(qt);break;default:throw"mode:"+Pt}it.push(Ht),yt=null},bt.isDark=function(qt,Pt){if(qt<0||Tt<=qt||Pt<0||Tt<=Pt)throw qt+","+Pt;return Et[qt][Pt]},bt.getModuleCount=function(){return Tt},bt.make=function(){if(pt<1){for(var qt=1;qt<40;qt++){for(var Pt=Ot.getRSBlocks(qt,mt),Ht=zt(),nn=0;nn<it.length;nn++){var Zt=it[nn];Ht.put(Zt.getMode(),4),Ht.put(Zt.getLength(),Rt.getLengthInBits(Zt.getMode(),qt)),Zt.write(Ht)}var fn=0;for(nn=0;nn<Pt.length;nn++)fn+=Pt[nn].dataCount;if(Ht.getLengthInBits()<=8*fn)break}pt=qt}kt(!1,function(){for(var yn=0,on=0,cn=0;cn<8;cn+=1){kt(!0,cn);var In=Rt.getLostPoint(bt);(cn==0||yn>In)&&(yn=In,on=cn)}return on}())},bt.createTableTag=function(qt,Pt){qt=qt||2;var Ht="";Ht+='<table style="',Ht+=" border-width: 0px; border-style: none;",Ht+=" border-collapse: collapse;",Ht+=" padding: 0px; margin: "+(Pt=Pt===void 0?4*qt:Pt)+"px;",Ht+='">',Ht+="<tbody>";for(var nn=0;nn<bt.getModuleCount();nn+=1){Ht+="<tr>";for(var Zt=0;Zt<bt.getModuleCount();Zt+=1)Ht+='<td style="',Ht+=" border-width: 0px; border-style: none;",Ht+=" border-collapse: collapse;",Ht+=" padding: 0px; margin: 0px;",Ht+=" width: "+qt+"px;",Ht+=" height: "+qt+"px;",Ht+=" background-color: ",Ht+=bt.isDark(nn,Zt)?"#000000":"#ffffff",Ht+=";",Ht+='"/>';Ht+="</tr>"}return(Ht+="</tbody>")+"</table>"},bt.createSvgTag=function(qt,Pt,Ht,nn){var Zt={};typeof arguments[0]=="object"&&(qt=(Zt=arguments[0]).cellSize,Pt=Zt.margin,Ht=Zt.alt,nn=Zt.title),qt=qt||2,Pt=Pt===void 0?4*qt:Pt,(Ht=typeof Ht=="string"?{text:Ht}:Ht||{}).text=Ht.text||null,Ht.id=Ht.text?Ht.id||"qrcode-description":null,(nn=typeof nn=="string"?{text:nn}:nn||{}).text=nn.text||null,nn.id=nn.text?nn.id||"qrcode-title":null;var fn,yn,on,cn,In=bt.getModuleCount()*qt+2*Pt,gn="";for(cn="l"+qt+",0 0,"+qt+" -"+qt+",0 0,-"+qt+"z ",gn+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',gn+=Zt.scalable?"":' width="'+In+'px" height="'+In+'px"',gn+=' viewBox="0 0 '+In+" "+In+'" ',gn+=' preserveAspectRatio="xMinYMin meet"',gn+=nn.text||Ht.text?' role="img" aria-labelledby="'+an([nn.id,Ht.id].join(" ").trim())+'"':"",gn+=">",gn+=nn.text?'<title id="'+an(nn.id)+'">'+an(nn.text)+"</title>":"",gn+=Ht.text?'<description id="'+an(Ht.id)+'">'+an(Ht.text)+"</description>":"",gn+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',gn+='<path d="',yn=0;yn<bt.getModuleCount();yn+=1)for(on=yn*qt+Pt,fn=0;fn<bt.getModuleCount();fn+=1)bt.isDark(yn,fn)&&(gn+="M"+(fn*qt+Pt)+","+on+cn);return(gn+='" stroke="transparent" fill="black"/>')+"</svg>"},bt.createDataURL=function(qt,Pt){qt=qt||2,Pt=Pt===void 0?4*qt:Pt;var Ht=bt.getModuleCount()*qt+2*Pt,nn=Pt,Zt=Ht-Pt;return rt(Ht,Ht,function(fn,yn){if(nn<=fn&&fn<Zt&&nn<=yn&&yn<Zt){var on=Math.floor((fn-nn)/qt),cn=Math.floor((yn-nn)/qt);return bt.isDark(cn,on)?0:1}return 1})},bt.createImgTag=function(qt,Pt,Ht){qt=qt||2,Pt=Pt===void 0?4*qt:Pt;var nn=bt.getModuleCount()*qt+2*Pt,Zt="";return Zt+="<img",Zt+=' src="',Zt+=bt.createDataURL(qt,Pt),Zt+='"',Zt+=' width="',Zt+=nn,Zt+='"',Zt+=' height="',Zt+=nn,Zt+='"',Ht&&(Zt+=' alt="',Zt+=an(Ht),Zt+='"'),Zt+"/>"};var an=function(qt){for(var Pt="",Ht=0;Ht<qt.length;Ht+=1){var nn=qt.charAt(Ht);switch(nn){case"<":Pt+="<";break;case">":Pt+=">";break;case"&":Pt+="&";break;case'"':Pt+=""";break;default:Pt+=nn}}return Pt};return bt.createASCII=function(qt,Pt){if((qt=qt||1)<2)return function(hn){hn=hn===void 0?2:hn;var mn,Pn,_n,Rn,On,rn=1*bt.getModuleCount()+2*hn,Ft=hn,Kt=rn-hn,un={"██":"█","█ ":"▀"," █":"▄"," ":" "},vn={"██":"▀","█ ":"▀"," █":" "," ":" "},Mn="";for(mn=0;mn<rn;mn+=2){for(_n=Math.floor((mn-Ft)/1),Rn=Math.floor((mn+1-Ft)/1),Pn=0;Pn<rn;Pn+=1)On="█",Ft<=Pn&&Pn<Kt&&Ft<=mn&&mn<Kt&&bt.isDark(_n,Math.floor((Pn-Ft)/1))&&(On=" "),Ft<=Pn&&Pn<Kt&&Ft<=mn+1&&mn+1<Kt&&bt.isDark(Rn,Math.floor((Pn-Ft)/1))?On+=" ":On+="█",Mn+=hn<1&&mn+1>=Kt?vn[On]:un[On];Mn+=`
|
|
467
467
|
`}return rn%2&&hn>0?Mn.substring(0,Mn.length-rn-1)+Array(rn+1).join("▀"):Mn.substring(0,Mn.length-1)}(Pt);qt-=1,Pt=Pt===void 0?2*qt:Pt;var Ht,nn,Zt,fn,yn=bt.getModuleCount()*qt+2*Pt,on=Pt,cn=yn-Pt,In=Array(qt+1).join("██"),gn=Array(qt+1).join(" "),xn="",En="";for(Ht=0;Ht<yn;Ht+=1){for(Zt=Math.floor((Ht-on)/qt),En="",nn=0;nn<yn;nn+=1)fn=1,on<=nn&&nn<cn&&on<=Ht&&Ht<cn&&bt.isDark(Zt,Math.floor((nn-on)/qt))&&(fn=0),En+=fn?In:gn;for(Zt=0;Zt<qt;Zt+=1)xn+=En+`
|
|
468
468
|
`}return xn.substring(0,xn.length-1)},bt.renderTo2dContext=function(qt,Pt){Pt=Pt||2;for(var Ht=bt.getModuleCount(),nn=0;nn<Ht;nn++)for(var Zt=0;Zt<Ht;Zt++)qt.fillStyle=bt.isDark(nn,Zt)?"black":"white",qt.fillRect(nn*Pt,Zt*Pt,Pt,Pt)},bt};dt.stringToBytes=(dt.stringToBytesFuncs={default:function(st){for(var ut=[],pt=0;pt<st.length;pt+=1){var mt=st.charCodeAt(pt);ut.push(255&mt)}return ut}}).default,dt.createStringToBytes=function(st,ut){var pt=function(){for(var Et=St(st),Tt=function(){var Ut=Et.read();if(Ut==-1)throw"eof";return Ut},yt=0,it={};;){var bt=Et.read();if(bt==-1)break;var kt=Tt(),Dt=Tt()<<8|Tt();it[String.fromCharCode(bt<<8|kt)]=Dt,yt+=1}if(yt!=ut)throw yt+" != "+ut;return it}(),mt=63;return function(Et){for(var Tt=[],yt=0;yt<Et.length;yt+=1){var it=Et.charCodeAt(yt);if(it<128)Tt.push(it);else{var bt=pt[Et.charAt(yt)];typeof bt=="number"?(255&bt)==bt?Tt.push(bt):(Tt.push(bt>>>8),Tt.push(255&bt)):Tt.push(mt)}}return Tt}};var vt,$t,xt,At,wt,Ct={L:1,M:0,Q:3,H:2},Rt=(vt=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],$t=1335,xt=7973,wt=function(st){for(var ut=0;st!=0;)ut+=1,st>>>=1;return ut},(At={}).getBCHTypeInfo=function(st){for(var ut=st<<10;wt(ut)-wt($t)>=0;)ut^=$t<<wt(ut)-wt($t);return 21522^(st<<10|ut)},At.getBCHTypeNumber=function(st){for(var ut=st<<12;wt(ut)-wt(xt)>=0;)ut^=xt<<wt(ut)-wt(xt);return st<<12|ut},At.getPatternPosition=function(st){return vt[st-1]},At.getMaskFunction=function(st){switch(st){case 0:return function(ut,pt){return(ut+pt)%2==0};case 1:return function(ut,pt){return ut%2==0};case 2:return function(ut,pt){return pt%3==0};case 3:return function(ut,pt){return(ut+pt)%3==0};case 4:return function(ut,pt){return(Math.floor(ut/2)+Math.floor(pt/3))%2==0};case 5:return function(ut,pt){return ut*pt%2+ut*pt%3==0};case 6:return function(ut,pt){return(ut*pt%2+ut*pt%3)%2==0};case 7:return function(ut,pt){return(ut*pt%3+(ut+pt)%2)%2==0};default:throw"bad maskPattern:"+st}},At.getErrorCorrectPolynomial=function(st){for(var ut=Mt([1],0),pt=0;pt<st;pt+=1)ut=ut.multiply(Mt([1,It.gexp(pt)],0));return ut},At.getLengthInBits=function(st,ut){if(1<=ut&&ut<10)switch(st){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+st}else if(ut<27)switch(st){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+st}else{if(!(ut<41))throw"type:"+ut;switch(st){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+st}}},At.getLostPoint=function(st){for(var ut=st.getModuleCount(),pt=0,mt=0;mt<ut;mt+=1)for(var Et=0;Et<ut;Et+=1){for(var Tt=0,yt=st.isDark(mt,Et),it=-1;it<=1;it+=1)if(!(mt+it<0||ut<=mt+it))for(var bt=-1;bt<=1;bt+=1)Et+bt<0||ut<=Et+bt||it==0&&bt==0||yt==st.isDark(mt+it,Et+bt)&&(Tt+=1);Tt>5&&(pt+=3+Tt-5)}for(mt=0;mt<ut-1;mt+=1)for(Et=0;Et<ut-1;Et+=1){var kt=0;st.isDark(mt,Et)&&(kt+=1),st.isDark(mt+1,Et)&&(kt+=1),st.isDark(mt,Et+1)&&(kt+=1),st.isDark(mt+1,Et+1)&&(kt+=1),kt!=0&&kt!=4||(pt+=3)}for(mt=0;mt<ut;mt+=1)for(Et=0;Et<ut-6;Et+=1)st.isDark(mt,Et)&&!st.isDark(mt,Et+1)&&st.isDark(mt,Et+2)&&st.isDark(mt,Et+3)&&st.isDark(mt,Et+4)&&!st.isDark(mt,Et+5)&&st.isDark(mt,Et+6)&&(pt+=40);for(Et=0;Et<ut;Et+=1)for(mt=0;mt<ut-6;mt+=1)st.isDark(mt,Et)&&!st.isDark(mt+1,Et)&&st.isDark(mt+2,Et)&&st.isDark(mt+3,Et)&&st.isDark(mt+4,Et)&&!st.isDark(mt+5,Et)&&st.isDark(mt+6,Et)&&(pt+=40);var Dt=0;for(Et=0;Et<ut;Et+=1)for(mt=0;mt<ut;mt+=1)st.isDark(mt,Et)&&(Dt+=1);return pt+Math.abs(100*Dt/ut/ut-50)/5*10},At),It=function(){for(var st=new Array(256),ut=new Array(256),pt=0;pt<8;pt+=1)st[pt]=1<<pt;for(pt=8;pt<256;pt+=1)st[pt]=st[pt-4]^st[pt-5]^st[pt-6]^st[pt-8];for(pt=0;pt<255;pt+=1)ut[st[pt]]=pt;return{glog:function(mt){if(mt<1)throw"glog("+mt+")";return ut[mt]},gexp:function(mt){for(;mt<0;)mt+=255;for(;mt>=256;)mt-=255;return st[mt]}}}();function Mt(st,ut){if(st.length===void 0)throw st.length+"/"+ut;var pt=function(){for(var Et=0;Et<st.length&&st[Et]==0;)Et+=1;for(var Tt=new Array(st.length-Et+ut),yt=0;yt<st.length-Et;yt+=1)Tt[yt]=st[yt+Et];return Tt}(),mt={getAt:function(Et){return pt[Et]},getLength:function(){return pt.length},multiply:function(Et){for(var Tt=new Array(mt.getLength()+Et.getLength()-1),yt=0;yt<mt.getLength();yt+=1)for(var it=0;it<Et.getLength();it+=1)Tt[yt+it]^=It.gexp(It.glog(mt.getAt(yt))+It.glog(Et.getAt(it)));return Mt(Tt,0)},mod:function(Et){if(mt.getLength()-Et.getLength()<0)return mt;for(var Tt=It.glog(mt.getAt(0))-It.glog(Et.getAt(0)),yt=new Array(mt.getLength()),it=0;it<mt.getLength();it+=1)yt[it]=mt.getAt(it);for(it=0;it<Et.getLength();it+=1)yt[it]^=It.gexp(It.glog(Et.getAt(it))+Tt);return Mt(yt,0).mod(Et)}};return mt}var Ot=function(){var st=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],ut=function(mt,Et){var Tt={};return Tt.totalCount=mt,Tt.dataCount=Et,Tt},pt={getRSBlocks:function(mt,Et){var Tt=function(Vt,Nt){switch(Nt){case Ct.L:return st[4*(Vt-1)+0];case Ct.M:return st[4*(Vt-1)+1];case Ct.Q:return st[4*(Vt-1)+2];case Ct.H:return st[4*(Vt-1)+3];default:return}}(mt,Et);if(Tt===void 0)throw"bad rs block @ typeNumber:"+mt+"/errorCorrectionLevel:"+Et;for(var yt=Tt.length/3,it=[],bt=0;bt<yt;bt+=1)for(var kt=Tt[3*bt+0],Dt=Tt[3*bt+1],Ut=Tt[3*bt+2],Lt=0;Lt<kt;Lt+=1)it.push(ut(Dt,Ut));return it}};return pt}(),zt=function(){var st=[],ut=0,pt={getBuffer:function(){return st},getAt:function(mt){var Et=Math.floor(mt/8);return(st[Et]>>>7-mt%8&1)==1},put:function(mt,Et){for(var Tt=0;Tt<Et;Tt+=1)pt.putBit((mt>>>Et-Tt-1&1)==1)},getLengthInBits:function(){return ut},putBit:function(mt){var Et=Math.floor(ut/8);st.length<=Et&&st.push(0),mt&&(st[Et]|=128>>>ut%8),ut+=1}};return pt},jt=function(st){var ut=st,pt={getMode:function(){return 1},getLength:function(Tt){return ut.length},write:function(Tt){for(var yt=ut,it=0;it+2<yt.length;)Tt.put(mt(yt.substring(it,it+3)),10),it+=3;it<yt.length&&(yt.length-it==1?Tt.put(mt(yt.substring(it,it+1)),4):yt.length-it==2&&Tt.put(mt(yt.substring(it,it+2)),7))}},mt=function(Tt){for(var yt=0,it=0;it<Tt.length;it+=1)yt=10*yt+Et(Tt.charAt(it));return yt},Et=function(Tt){if("0"<=Tt&&Tt<="9")return Tt.charCodeAt(0)-48;throw"illegal char :"+Tt};return pt},Gt=function(st){var ut=st,pt={getMode:function(){return 2},getLength:function(Et){return ut.length},write:function(Et){for(var Tt=ut,yt=0;yt+1<Tt.length;)Et.put(45*mt(Tt.charAt(yt))+mt(Tt.charAt(yt+1)),11),yt+=2;yt<Tt.length&&Et.put(mt(Tt.charAt(yt)),6)}},mt=function(Et){if("0"<=Et&&Et<="9")return Et.charCodeAt(0)-48;if("A"<=Et&&Et<="Z")return Et.charCodeAt(0)-65+10;switch(Et){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+Et}};return pt},Jt=function(st){var ut=dt.stringToBytes(st);return{getMode:function(){return 4},getLength:function(pt){return ut.length},write:function(pt){for(var mt=0;mt<ut.length;mt+=1)pt.put(ut[mt],8)}}},Xt=function(st){var ut=dt.stringToBytesFuncs.SJIS;if(!ut)throw"sjis not supported.";(function(Et,Tt){var yt=ut("友");if(yt.length!=2||(yt[0]<<8|yt[1])!=38726)throw"sjis not supported."})();var pt=ut(st),mt={getMode:function(){return 8},getLength:function(Et){return~~(pt.length/2)},write:function(Et){for(var Tt=pt,yt=0;yt+1<Tt.length;){var it=(255&Tt[yt])<<8|255&Tt[yt+1];if(33088<=it&&it<=40956)it-=33088;else{if(!(57408<=it&&it<=60351))throw"illegal char at "+(yt+1)+"/"+it;it-=49472}it=192*(it>>>8&255)+(255&it),Et.put(it,13),yt+=2}if(yt<Tt.length)throw"illegal char at "+(yt+1)}};return mt},dn=function(){var st=[],ut={writeByte:function(pt){st.push(255&pt)},writeShort:function(pt){ut.writeByte(pt),ut.writeByte(pt>>>8)},writeBytes:function(pt,mt,Et){mt=mt||0,Et=Et||pt.length;for(var Tt=0;Tt<Et;Tt+=1)ut.writeByte(pt[Tt+mt])},writeString:function(pt){for(var mt=0;mt<pt.length;mt+=1)ut.writeByte(pt.charCodeAt(mt))},toByteArray:function(){return st},toString:function(){var pt="";pt+="[";for(var mt=0;mt<st.length;mt+=1)mt>0&&(pt+=","),pt+=st[mt];return pt+"]"}};return ut},St=function(st){var ut=st,pt=0,mt=0,Et=0,Tt={read:function(){for(;Et<8;){if(pt>=ut.length){if(Et==0)return-1;throw"unexpected end of file./"+Et}var it=ut.charAt(pt);if(pt+=1,it=="=")return Et=0,-1;it.match(/^\s$/)||(mt=mt<<6|yt(it.charCodeAt(0)),Et+=6)}var bt=mt>>>Et-8&255;return Et-=8,bt}},yt=function(it){if(65<=it&&it<=90)return it-65;if(97<=it&&it<=122)return it-97+26;if(48<=it&&it<=57)return it-48+52;if(it==43)return 62;if(it==47)return 63;throw"c:"+it};return Tt},rt=function(st,ut,pt){for(var mt=function(Dt,Ut){var Lt=Dt,Vt=Ut,Nt=new Array(Dt*Ut),Yt={setPixel:function(qt,Pt,Ht){Nt[Pt*Lt+qt]=Ht},write:function(qt){qt.writeString("GIF87a"),qt.writeShort(Lt),qt.writeShort(Vt),qt.writeByte(128),qt.writeByte(0),qt.writeByte(0),qt.writeByte(0),qt.writeByte(0),qt.writeByte(0),qt.writeByte(255),qt.writeByte(255),qt.writeByte(255),qt.writeString(","),qt.writeShort(0),qt.writeShort(0),qt.writeShort(Lt),qt.writeShort(Vt),qt.writeByte(0);var Pt=tn(2);qt.writeByte(2);for(var Ht=0;Pt.length-Ht>255;)qt.writeByte(255),qt.writeBytes(Pt,Ht,255),Ht+=255;qt.writeByte(Pt.length-Ht),qt.writeBytes(Pt,Ht,Pt.length-Ht),qt.writeByte(0),qt.writeString(";")}},tn=function(qt){for(var Pt=1<<qt,Ht=1+(1<<qt),nn=qt+1,Zt=an(),fn=0;fn<Pt;fn+=1)Zt.add(String.fromCharCode(fn));Zt.add(String.fromCharCode(Pt)),Zt.add(String.fromCharCode(Ht));var yn,on,cn,In=dn(),gn=(yn=In,on=0,cn=0,{write:function(mn,Pn){if(mn>>>Pn)throw"length over";for(;on+Pn>=8;)yn.writeByte(255&(mn<<on|cn)),Pn-=8-on,mn>>>=8-on,cn=0,on=0;cn|=mn<<on,on+=Pn},flush:function(){on>0&&yn.writeByte(cn)}});gn.write(Pt,nn);var xn=0,En=String.fromCharCode(Nt[xn]);for(xn+=1;xn<Nt.length;){var hn=String.fromCharCode(Nt[xn]);xn+=1,Zt.contains(En+hn)?En+=hn:(gn.write(Zt.indexOf(En),nn),Zt.size()<4095&&(Zt.size()==1<<nn&&(nn+=1),Zt.add(En+hn)),En=hn)}return gn.write(Zt.indexOf(En),nn),gn.write(Ht,nn),gn.flush(),In.toByteArray()},an=function(){var qt={},Pt=0,Ht={add:function(nn){if(Ht.contains(nn))throw"dup key:"+nn;qt[nn]=Pt,Pt+=1},size:function(){return Pt},indexOf:function(nn){return qt[nn]},contains:function(nn){return qt[nn]!==void 0}};return Ht};return Yt}(st,ut),Et=0;Et<ut;Et+=1)for(var Tt=0;Tt<st;Tt+=1)mt.setPixel(Tt,Et,pt(Tt,Et));var yt=dn();mt.write(yt);for(var it=function(){var Dt=0,Ut=0,Lt=0,Vt="",Nt={},Yt=function(an){Vt+=String.fromCharCode(tn(63&an))},tn=function(an){if(!(an<0)){if(an<26)return 65+an;if(an<52)return an-26+97;if(an<62)return an-52+48;if(an==62)return 43;if(an==63)return 47}throw"n:"+an};return Nt.writeByte=function(an){for(Dt=Dt<<8|255&an,Ut+=8,Lt+=1;Ut>=6;)Yt(Dt>>>Ut-6),Ut-=6},Nt.flush=function(){if(Ut>0&&(Yt(Dt<<6-Ut),Dt=0,Ut=0),Lt%3!=0)for(var an=3-Lt%3,qt=0;qt<an;qt+=1)Vt+="="},Nt.toString=function(){return Vt},Nt}(),bt=yt.toByteArray(),kt=0;kt<bt.length;kt+=1)it.writeByte(bt[kt]);return it.flush(),"data:image/gif;base64,"+it};return dt}();ht.stringToBytesFuncs["UTF-8"]=function(dt){return function(vt){for(var $t=[],xt=0;xt<vt.length;xt++){var At=vt.charCodeAt(xt);At<128?$t.push(At):At<2048?$t.push(192|At>>6,128|63&At):At<55296||At>=57344?$t.push(224|At>>12,128|At>>6&63,128|63&At):(xt++,At=65536+((1023&At)<<10|1023&vt.charCodeAt(xt)),$t.push(240|At>>18,128|At>>12&63,128|At>>6&63,128|63&At))}return $t}(dt)},(ft=typeof(ct=function(){return ht})=="function"?ct.apply(ot,[]):ct)===void 0||(tt.exports=ft)},676:(tt,ot,ct)=>{ct.d(ot,{default:()=>an});const ft="Numeric",ht="Alphanumeric",dt="Byte";var vt=function(){return vt=Object.assign||function(qt){for(var Pt,Ht=1,nn=arguments.length;Ht<nn;Ht++)for(var Zt in Pt=arguments[Ht])Object.prototype.hasOwnProperty.call(Pt,Zt)&&(qt[Zt]=Pt[Zt]);return qt},vt.apply(this,arguments)},$t=function(){for(var qt=0,Pt=0,Ht=arguments.length;Pt<Ht;Pt++)qt+=arguments[Pt].length;var nn=Array(qt),Zt=0;for(Pt=0;Pt<Ht;Pt++)for(var fn=arguments[Pt],yn=0,on=fn.length;yn<on;yn++,Zt++)nn[Zt]=fn[yn];return nn},xt=function(qt){return!!qt&&typeof qt=="object"&&!Array.isArray(qt)};function At(qt){for(var Pt=[],Ht=1;Ht<arguments.length;Ht++)Pt[Ht-1]=arguments[Ht];if(!Pt.length)return qt;var nn=Pt.shift();return nn!==void 0&&xt(qt)&&xt(nn)?(qt=vt({},qt),Object.keys(nn).forEach(function(Zt){var fn=qt[Zt],yn=nn[Zt];Array.isArray(fn)&&Array.isArray(yn)?qt[Zt]=yn:xt(fn)&&xt(yn)?qt[Zt]=At(Object.assign({},fn),yn):qt[Zt]=yn}),At.apply(void 0,$t([qt],Pt))):qt}function wt(qt,Pt){var Ht=document.createElement("a");Ht.download=Pt,Ht.href=qt,document.body.appendChild(Ht),Ht.click(),document.body.removeChild(Ht)}var Ct=function(qt,Pt,Ht,nn){return new(Ht||(Ht=Promise))(function(Zt,fn){function yn(In){try{cn(nn.next(In))}catch(gn){fn(gn)}}function on(In){try{cn(nn.throw(In))}catch(gn){fn(gn)}}function cn(In){var gn;In.done?Zt(In.value):(gn=In.value,gn instanceof Ht?gn:new Ht(function(xn){xn(gn)})).then(yn,on)}cn((nn=nn.apply(qt,[])).next())})},Rt=function(qt,Pt){var Ht,nn,Zt,fn,yn={label:0,sent:function(){if(1&Zt[0])throw Zt[1];return Zt[1]},trys:[],ops:[]};return fn={next:on(0),throw:on(1),return:on(2)},typeof Symbol=="function"&&(fn[Symbol.iterator]=function(){return this}),fn;function on(cn){return function(In){return function(gn){if(Ht)throw new TypeError("Generator is already executing.");for(;yn;)try{if(Ht=1,nn&&(Zt=2&gn[0]?nn.return:gn[0]?nn.throw||((Zt=nn.return)&&Zt.call(nn),0):nn.next)&&!(Zt=Zt.call(nn,gn[1])).done)return Zt;switch(nn=0,Zt&&(gn=[2&gn[0],Zt.value]),gn[0]){case 0:case 1:Zt=gn;break;case 4:return yn.label++,{value:gn[1],done:!1};case 5:yn.label++,nn=gn[1],gn=[0];continue;case 7:gn=yn.ops.pop(),yn.trys.pop();continue;default:if(!((Zt=(Zt=yn.trys).length>0&&Zt[Zt.length-1])||gn[0]!==6&&gn[0]!==2)){yn=0;continue}if(gn[0]===3&&(!Zt||gn[1]>Zt[0]&&gn[1]<Zt[3])){yn.label=gn[1];break}if(gn[0]===6&&yn.label<Zt[1]){yn.label=Zt[1],Zt=gn;break}if(Zt&&yn.label<Zt[2]){yn.label=Zt[2],yn.ops.push(gn);break}Zt[2]&&yn.ops.pop(),yn.trys.pop();continue}gn=Pt.call(qt,yn)}catch(xn){gn=[6,xn],nn=0}finally{Ht=Zt=0}if(5&gn[0])throw gn[1];return{value:gn[0]?gn[1]:void 0,done:!0}}([cn,In])}}};function It(qt){return Ct(this,void 0,void 0,function(){return Rt(this,function(Pt){return[2,new Promise(function(Ht){var nn=new XMLHttpRequest;nn.onload=function(){var Zt=new FileReader;Zt.onloadend=function(){Ht(Zt.result)},Zt.readAsDataURL(nn.response)},nn.open("GET",qt),nn.responseType="blob",nn.send()})]})})}const Mt={L:.07,M:.15,Q:.25,H:.3};var Ot=function(){return Ot=Object.assign||function(qt){for(var Pt,Ht=1,nn=arguments.length;Ht<nn;Ht++)for(var Zt in Pt=arguments[Ht])Object.prototype.hasOwnProperty.call(Pt,Zt)&&(qt[Zt]=Pt[Zt]);return qt},Ot.apply(this,arguments)},zt=function(){function qt(Pt){var Ht=Pt.svg,nn=Pt.type;this._svg=Ht,this._type=nn}return qt.prototype.draw=function(Pt,Ht,nn,Zt){var fn;switch(this._type){case"dots":fn=this._drawDot;break;case"classy":fn=this._drawClassy;break;case"classy-rounded":fn=this._drawClassyRounded;break;case"rounded":fn=this._drawRounded;break;case"extra-rounded":fn=this._drawExtraRounded;break;default:fn=this._drawSquare}fn.call(this,{x:Pt,y:Ht,size:nn,getNeighbor:Zt})},qt.prototype._rotateFigure=function(Pt){var Ht,nn=Pt.x,Zt=Pt.y,fn=Pt.size,yn=Pt.rotation,on=yn===void 0?0:yn,cn=nn+fn/2,In=Zt+fn/2;(0,Pt.draw)(),(Ht=this._element)===null||Ht===void 0||Ht.setAttribute("transform","rotate("+180*on/Math.PI+","+cn+","+In+")")},qt.prototype._basicDot=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y;this._rotateFigure(Ot(Ot({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),Ht._element.setAttribute("cx",String(Zt+nn/2)),Ht._element.setAttribute("cy",String(fn+nn/2)),Ht._element.setAttribute("r",String(nn/2))}}))},qt.prototype._basicSquare=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y;this._rotateFigure(Ot(Ot({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),Ht._element.setAttribute("x",String(Zt)),Ht._element.setAttribute("y",String(fn)),Ht._element.setAttribute("width",String(nn)),Ht._element.setAttribute("height",String(nn))}}))},qt.prototype._basicSideRounded=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y;this._rotateFigure(Ot(Ot({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Ht._element.setAttribute("d","M "+Zt+" "+fn+"v "+nn+"h "+nn/2+"a "+nn/2+" "+nn/2+", 0, 0, 0, 0 "+-nn)}}))},qt.prototype._basicCornerRounded=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y;this._rotateFigure(Ot(Ot({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Ht._element.setAttribute("d","M "+Zt+" "+fn+"v "+nn+"h "+nn+"v "+-nn/2+"a "+nn/2+" "+nn/2+", 0, 0, 0, "+-nn/2+" "+-nn/2)}}))},qt.prototype._basicCornerExtraRounded=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y;this._rotateFigure(Ot(Ot({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Ht._element.setAttribute("d","M "+Zt+" "+fn+"v "+nn+"h "+nn+"a "+nn+" "+nn+", 0, 0, 0, "+-nn+" "+-nn)}}))},qt.prototype._basicCornersRounded=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y;this._rotateFigure(Ot(Ot({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Ht._element.setAttribute("d","M "+Zt+" "+fn+"v "+nn/2+"a "+nn/2+" "+nn/2+", 0, 0, 0, "+nn/2+" "+nn/2+"h "+nn/2+"v "+-nn/2+"a "+nn/2+" "+nn/2+", 0, 0, 0, "+-nn/2+" "+-nn/2)}}))},qt.prototype._drawDot=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size;this._basicDot({x:Ht,y:nn,size:Zt,rotation:0})},qt.prototype._drawSquare=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size;this._basicSquare({x:Ht,y:nn,size:Zt,rotation:0})},qt.prototype._drawRounded=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size,fn=Pt.getNeighbor,yn=fn?+fn(-1,0):0,on=fn?+fn(1,0):0,cn=fn?+fn(0,-1):0,In=fn?+fn(0,1):0,gn=yn+on+cn+In;if(gn!==0)if(gn>2||yn&&on||cn&&In)this._basicSquare({x:Ht,y:nn,size:Zt,rotation:0});else{if(gn===2){var xn=0;return yn&&cn?xn=Math.PI/2:cn&&on?xn=Math.PI:on&&In&&(xn=-Math.PI/2),void this._basicCornerRounded({x:Ht,y:nn,size:Zt,rotation:xn})}if(gn===1)return xn=0,cn?xn=Math.PI/2:on?xn=Math.PI:In&&(xn=-Math.PI/2),void this._basicSideRounded({x:Ht,y:nn,size:Zt,rotation:xn})}else this._basicDot({x:Ht,y:nn,size:Zt,rotation:0})},qt.prototype._drawExtraRounded=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size,fn=Pt.getNeighbor,yn=fn?+fn(-1,0):0,on=fn?+fn(1,0):0,cn=fn?+fn(0,-1):0,In=fn?+fn(0,1):0,gn=yn+on+cn+In;if(gn!==0)if(gn>2||yn&&on||cn&&In)this._basicSquare({x:Ht,y:nn,size:Zt,rotation:0});else{if(gn===2){var xn=0;return yn&&cn?xn=Math.PI/2:cn&&on?xn=Math.PI:on&&In&&(xn=-Math.PI/2),void this._basicCornerExtraRounded({x:Ht,y:nn,size:Zt,rotation:xn})}if(gn===1)return xn=0,cn?xn=Math.PI/2:on?xn=Math.PI:In&&(xn=-Math.PI/2),void this._basicSideRounded({x:Ht,y:nn,size:Zt,rotation:xn})}else this._basicDot({x:Ht,y:nn,size:Zt,rotation:0})},qt.prototype._drawClassy=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size,fn=Pt.getNeighbor,yn=fn?+fn(-1,0):0,on=fn?+fn(1,0):0,cn=fn?+fn(0,-1):0,In=fn?+fn(0,1):0;yn+on+cn+In!==0?yn||cn?on||In?this._basicSquare({x:Ht,y:nn,size:Zt,rotation:0}):this._basicCornerRounded({x:Ht,y:nn,size:Zt,rotation:Math.PI/2}):this._basicCornerRounded({x:Ht,y:nn,size:Zt,rotation:-Math.PI/2}):this._basicCornersRounded({x:Ht,y:nn,size:Zt,rotation:Math.PI/2})},qt.prototype._drawClassyRounded=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size,fn=Pt.getNeighbor,yn=fn?+fn(-1,0):0,on=fn?+fn(1,0):0,cn=fn?+fn(0,-1):0,In=fn?+fn(0,1):0;yn+on+cn+In!==0?yn||cn?on||In?this._basicSquare({x:Ht,y:nn,size:Zt,rotation:0}):this._basicCornerExtraRounded({x:Ht,y:nn,size:Zt,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:Ht,y:nn,size:Zt,rotation:-Math.PI/2}):this._basicCornersRounded({x:Ht,y:nn,size:Zt,rotation:Math.PI/2})},qt}();const jt=zt;var Gt=function(){return Gt=Object.assign||function(qt){for(var Pt,Ht=1,nn=arguments.length;Ht<nn;Ht++)for(var Zt in Pt=arguments[Ht])Object.prototype.hasOwnProperty.call(Pt,Zt)&&(qt[Zt]=Pt[Zt]);return qt},Gt.apply(this,arguments)},Jt=function(){function qt(Pt){var Ht=Pt.svg,nn=Pt.type;this._svg=Ht,this._type=nn}return qt.prototype.draw=function(Pt,Ht,nn,Zt){var fn;switch(this._type){case"square":fn=this._drawSquare;break;case"extra-rounded":fn=this._drawExtraRounded;break;default:fn=this._drawDot}fn.call(this,{x:Pt,y:Ht,size:nn,rotation:Zt})},qt.prototype._rotateFigure=function(Pt){var Ht,nn=Pt.x,Zt=Pt.y,fn=Pt.size,yn=Pt.rotation,on=yn===void 0?0:yn,cn=nn+fn/2,In=Zt+fn/2;(0,Pt.draw)(),(Ht=this._element)===null||Ht===void 0||Ht.setAttribute("transform","rotate("+180*on/Math.PI+","+cn+","+In+")")},qt.prototype._basicDot=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y,yn=nn/7;this._rotateFigure(Gt(Gt({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Ht._element.setAttribute("clip-rule","evenodd"),Ht._element.setAttribute("d","M "+(Zt+nn/2)+" "+fn+"a "+nn/2+" "+nn/2+" 0 1 0 0.1 0zm 0 "+yn+"a "+(nn/2-yn)+" "+(nn/2-yn)+" 0 1 1 -0.1 0Z")}}))},qt.prototype._basicSquare=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y,yn=nn/7;this._rotateFigure(Gt(Gt({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Ht._element.setAttribute("clip-rule","evenodd"),Ht._element.setAttribute("d","M "+Zt+" "+fn+"v "+nn+"h "+nn+"v "+-nn+"zM "+(Zt+yn)+" "+(fn+yn)+"h "+(nn-2*yn)+"v "+(nn-2*yn)+"h "+(2*yn-nn)+"z")}}))},qt.prototype._basicExtraRounded=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y,yn=nn/7;this._rotateFigure(Gt(Gt({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Ht._element.setAttribute("clip-rule","evenodd"),Ht._element.setAttribute("d","M "+Zt+" "+(fn+2.5*yn)+"v "+2*yn+"a "+2.5*yn+" "+2.5*yn+", 0, 0, 0, "+2.5*yn+" "+2.5*yn+"h "+2*yn+"a "+2.5*yn+" "+2.5*yn+", 0, 0, 0, "+2.5*yn+" "+2.5*-yn+"v "+-2*yn+"a "+2.5*yn+" "+2.5*yn+", 0, 0, 0, "+2.5*-yn+" "+2.5*-yn+"h "+-2*yn+"a "+2.5*yn+" "+2.5*yn+", 0, 0, 0, "+2.5*-yn+" "+2.5*yn+"M "+(Zt+2.5*yn)+" "+(fn+yn)+"h "+2*yn+"a "+1.5*yn+" "+1.5*yn+", 0, 0, 1, "+1.5*yn+" "+1.5*yn+"v "+2*yn+"a "+1.5*yn+" "+1.5*yn+", 0, 0, 1, "+1.5*-yn+" "+1.5*yn+"h "+-2*yn+"a "+1.5*yn+" "+1.5*yn+", 0, 0, 1, "+1.5*-yn+" "+1.5*-yn+"v "+-2*yn+"a "+1.5*yn+" "+1.5*yn+", 0, 0, 1, "+1.5*yn+" "+1.5*-yn)}}))},qt.prototype._drawDot=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size,fn=Pt.rotation;this._basicDot({x:Ht,y:nn,size:Zt,rotation:fn})},qt.prototype._drawSquare=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size,fn=Pt.rotation;this._basicSquare({x:Ht,y:nn,size:Zt,rotation:fn})},qt.prototype._drawExtraRounded=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size,fn=Pt.rotation;this._basicExtraRounded({x:Ht,y:nn,size:Zt,rotation:fn})},qt}();const Xt=Jt;var dn=function(){return dn=Object.assign||function(qt){for(var Pt,Ht=1,nn=arguments.length;Ht<nn;Ht++)for(var Zt in Pt=arguments[Ht])Object.prototype.hasOwnProperty.call(Pt,Zt)&&(qt[Zt]=Pt[Zt]);return qt},dn.apply(this,arguments)},St=function(){function qt(Pt){var Ht=Pt.svg,nn=Pt.type;this._svg=Ht,this._type=nn}return qt.prototype.draw=function(Pt,Ht,nn,Zt){(this._type==="square"?this._drawSquare:this._drawDot).call(this,{x:Pt,y:Ht,size:nn,rotation:Zt})},qt.prototype._rotateFigure=function(Pt){var Ht,nn=Pt.x,Zt=Pt.y,fn=Pt.size,yn=Pt.rotation,on=yn===void 0?0:yn,cn=nn+fn/2,In=Zt+fn/2;(0,Pt.draw)(),(Ht=this._element)===null||Ht===void 0||Ht.setAttribute("transform","rotate("+180*on/Math.PI+","+cn+","+In+")")},qt.prototype._basicDot=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y;this._rotateFigure(dn(dn({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),Ht._element.setAttribute("cx",String(Zt+nn/2)),Ht._element.setAttribute("cy",String(fn+nn/2)),Ht._element.setAttribute("r",String(nn/2))}}))},qt.prototype._basicSquare=function(Pt){var Ht=this,nn=Pt.size,Zt=Pt.x,fn=Pt.y;this._rotateFigure(dn(dn({},Pt),{draw:function(){Ht._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),Ht._element.setAttribute("x",String(Zt)),Ht._element.setAttribute("y",String(fn)),Ht._element.setAttribute("width",String(nn)),Ht._element.setAttribute("height",String(nn))}}))},qt.prototype._drawDot=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size,fn=Pt.rotation;this._basicDot({x:Ht,y:nn,size:Zt,rotation:fn})},qt.prototype._drawSquare=function(Pt){var Ht=Pt.x,nn=Pt.y,Zt=Pt.size,fn=Pt.rotation;this._basicSquare({x:Ht,y:nn,size:Zt,rotation:fn})},qt}();const rt=St,st="circle";var ut=function(qt,Pt,Ht,nn){return new(Ht||(Ht=Promise))(function(Zt,fn){function yn(In){try{cn(nn.next(In))}catch(gn){fn(gn)}}function on(In){try{cn(nn.throw(In))}catch(gn){fn(gn)}}function cn(In){var gn;In.done?Zt(In.value):(gn=In.value,gn instanceof Ht?gn:new Ht(function(xn){xn(gn)})).then(yn,on)}cn((nn=nn.apply(qt,[])).next())})},pt=function(qt,Pt){var Ht,nn,Zt,fn,yn={label:0,sent:function(){if(1&Zt[0])throw Zt[1];return Zt[1]},trys:[],ops:[]};return fn={next:on(0),throw:on(1),return:on(2)},typeof Symbol=="function"&&(fn[Symbol.iterator]=function(){return this}),fn;function on(cn){return function(In){return function(gn){if(Ht)throw new TypeError("Generator is already executing.");for(;yn;)try{if(Ht=1,nn&&(Zt=2&gn[0]?nn.return:gn[0]?nn.throw||((Zt=nn.return)&&Zt.call(nn),0):nn.next)&&!(Zt=Zt.call(nn,gn[1])).done)return Zt;switch(nn=0,Zt&&(gn=[2&gn[0],Zt.value]),gn[0]){case 0:case 1:Zt=gn;break;case 4:return yn.label++,{value:gn[1],done:!1};case 5:yn.label++,nn=gn[1],gn=[0];continue;case 7:gn=yn.ops.pop(),yn.trys.pop();continue;default:if(!((Zt=(Zt=yn.trys).length>0&&Zt[Zt.length-1])||gn[0]!==6&&gn[0]!==2)){yn=0;continue}if(gn[0]===3&&(!Zt||gn[1]>Zt[0]&&gn[1]<Zt[3])){yn.label=gn[1];break}if(gn[0]===6&&yn.label<Zt[1]){yn.label=Zt[1],Zt=gn;break}if(Zt&&yn.label<Zt[2]){yn.label=Zt[2],yn.ops.push(gn);break}Zt[2]&&yn.ops.pop(),yn.trys.pop();continue}gn=Pt.call(qt,yn)}catch(xn){gn=[6,xn],nn=0}finally{Ht=Zt=0}if(5&gn[0])throw gn[1];return{value:gn[0]?gn[1]:void 0,done:!0}}([cn,In])}}},mt=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],Et=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];const Tt=function(){function qt(Pt){this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(Pt.width)),this._element.setAttribute("height",String(Pt.height)),this._defs=document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._instanceId=qt.instanceCount++,this._options=Pt}return Object.defineProperty(qt.prototype,"width",{get:function(){return this._options.width},enumerable:!1,configurable:!0}),Object.defineProperty(qt.prototype,"height",{get:function(){return this._options.height},enumerable:!1,configurable:!0}),qt.prototype.getElement=function(){return this._element},qt.prototype.drawQR=function(Pt){return ut(this,void 0,void 0,function(){var Ht,nn,Zt,fn,yn,on,cn,In,gn,xn,En=this;return pt(this,function(hn){switch(hn.label){case 0:return Ht=Pt.getModuleCount(),nn=Math.min(this._options.width,this._options.height)-2*this._options.margin,Zt=this._options.shape===st?nn/Math.sqrt(2):nn,fn=Zt/Ht,yn={hideXDots:0,hideYDots:0,width:0,height:0},this._qr=Pt,this._options.image?[4,this.loadImage()]:[3,2];case 1:if(hn.sent(),!this._image)return[2];on=this._options,cn=on.imageOptions,In=on.qrOptions,gn=cn.imageSize*Mt[In.errorCorrectionLevel],xn=Math.floor(gn*Ht*Ht),yn=function(mn){var Pn=mn.originalHeight,_n=mn.originalWidth,Rn=mn.maxHiddenDots,On=mn.maxHiddenAxisDots,rn=mn.dotSize,Ft={x:0,y:0},Kt={x:0,y:0};if(Pn<=0||_n<=0||Rn<=0||rn<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};var un=Pn/_n;return Ft.x=Math.floor(Math.sqrt(Rn/un)),Ft.x<=0&&(Ft.x=1),On&&On<Ft.x&&(Ft.x=On),Ft.x%2==0&&Ft.x--,Kt.x=Ft.x*rn,Ft.y=1+2*Math.ceil((Ft.x*un-1)/2),Kt.y=Math.round(Kt.x*un),(Ft.y*Ft.x>Rn||On&&On<Ft.y)&&(On&&On<Ft.y?(Ft.y=On,Ft.y%2==0&&Ft.x--):Ft.y-=2,Kt.y=Ft.y*rn,Ft.x=1+2*Math.ceil((Ft.y/un-1)/2),Kt.x=Math.round(Kt.y/un)),{height:Kt.y,width:Kt.x,hideYDots:Ft.y,hideXDots:Ft.x}}({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:xn,maxHiddenAxisDots:Ht-14,dotSize:fn}),hn.label=2;case 2:return this.drawBackground(),this.drawDots(function(mn,Pn){var _n,Rn,On,rn,Ft,Kt;return!(En._options.imageOptions.hideBackgroundDots&&mn>=(Ht-yn.hideXDots)/2&&mn<(Ht+yn.hideXDots)/2&&Pn>=(Ht-yn.hideYDots)/2&&Pn<(Ht+yn.hideYDots)/2||!((_n=mt[mn])===null||_n===void 0)&&_n[Pn]||!((Rn=mt[mn-Ht+7])===null||Rn===void 0)&&Rn[Pn]||!((On=mt[mn])===null||On===void 0)&&On[Pn-Ht+7]||!((rn=Et[mn])===null||rn===void 0)&&rn[Pn]||!((Ft=Et[mn-Ht+7])===null||Ft===void 0)&&Ft[Pn]||!((Kt=Et[mn])===null||Kt===void 0)&&Kt[Pn-Ht+7])}),this.drawCorners(),this._options.image?[4,this.drawImage({width:yn.width,height:yn.height,count:Ht,dotSize:fn})]:[3,4];case 3:hn.sent(),hn.label=4;case 4:return[2]}})})},qt.prototype.drawBackground=function(){var Pt,Ht,nn,Zt=this._element,fn=this._options;if(Zt){var yn=(Pt=fn.backgroundOptions)===null||Pt===void 0?void 0:Pt.gradient,on=(Ht=fn.backgroundOptions)===null||Ht===void 0?void 0:Ht.color;if((yn||on)&&this._createColor({options:yn,color:on,additionalRotation:0,x:0,y:0,height:fn.height,width:fn.width,name:"background-color"}),(nn=fn.backgroundOptions)===null||nn===void 0?void 0:nn.round){var cn=Math.min(fn.width,fn.height),In=document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id","clip-path-background-color"),this._defs.appendChild(this._backgroundClipPath),In.setAttribute("x",String((fn.width-cn)/2)),In.setAttribute("y",String((fn.height-cn)/2)),In.setAttribute("width",String(cn)),In.setAttribute("height",String(cn)),In.setAttribute("rx",String(cn/2*fn.backgroundOptions.round)),this._backgroundClipPath.appendChild(In)}}},qt.prototype.drawDots=function(Pt){var Ht,nn,Zt=this;if(!this._qr)throw"QR code is not defined";var fn=this._options,yn=this._qr.getModuleCount();if(yn>fn.width||yn>fn.height)throw"The canvas is too small.";var on=Math.min(fn.width,fn.height)-2*fn.margin,cn=(fn.shape===st?on/Math.sqrt(2):on)/yn,In=(fn.width-yn*cn)/2,gn=(fn.height-yn*cn)/2,xn=new jt({svg:this._element,type:fn.dotsOptions.type});this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color-"+this._instanceId),this._defs.appendChild(this._dotsClipPath),this._createColor({options:(Ht=fn.dotsOptions)===null||Ht===void 0?void 0:Ht.gradient,color:fn.dotsOptions.color,additionalRotation:0,x:0,y:0,height:fn.height,width:fn.width,name:"dot-color-"+this._instanceId});for(var En=function(Mn){for(var Tn=function(Fn){return Pt&&!Pt(Mn,Fn)?"continue":!((nn=hn._qr)===null||nn===void 0)&&nn.isDark(Mn,Fn)?(xn.draw(In+Mn*cn,gn+Fn*cn,cn,function(An,kn){return!(Mn+An<0||Fn+kn<0||Mn+An>=yn||Fn+kn>=yn)&&!(Pt&&!Pt(Mn+An,Fn+kn))&&!!Zt._qr&&Zt._qr.isDark(Mn+An,Fn+kn)}),void(xn._element&&hn._dotsClipPath&&hn._dotsClipPath.appendChild(xn._element))):"continue"},Sn=0;Sn<yn;Sn++)Tn(Sn)},hn=this,mn=0;mn<yn;mn++)En(mn);if(fn.shape===st){var Pn=Math.floor((on/cn-yn)/2),_n=yn+2*Pn,Rn=In-Pn*cn,On=gn-Pn*cn,rn=[],Ft=Math.floor(_n/2);for(mn=0;mn<_n;mn++){rn[mn]=[];for(var Kt=0;Kt<_n;Kt++)mn>=Pn-1&&mn<=_n-Pn&&Kt>=Pn-1&&Kt<=_n-Pn||Math.sqrt((mn-Ft)*(mn-Ft)+(Kt-Ft)*(Kt-Ft))>Ft?rn[mn][Kt]=0:rn[mn][Kt]=this._qr.isDark(Kt-2*Pn<0?Kt:Kt>=yn?Kt-2*Pn:Kt-Pn,mn-2*Pn<0?mn:mn>=yn?mn-2*Pn:mn-Pn)?1:0}var un=function(Mn){for(var Tn=function(Fn){if(!rn[Mn][Fn])return"continue";xn.draw(Rn+Mn*cn,On+Fn*cn,cn,function(An,kn){var Qn;return!!(!((Qn=rn[Mn+An])===null||Qn===void 0)&&Qn[Fn+kn])}),xn._element&&vn._dotsClipPath&&vn._dotsClipPath.appendChild(xn._element)},Sn=0;Sn<_n;Sn++)Tn(Sn)},vn=this;for(mn=0;mn<_n;mn++)un(mn)}},qt.prototype.drawCorners=function(){var Pt=this;if(!this._qr)throw"QR code is not defined";var Ht=this._element,nn=this._options;if(!Ht)throw"Element code is not defined";var Zt=this._qr.getModuleCount(),fn=Math.min(nn.width,nn.height)-2*nn.margin,yn=(nn.shape===st?fn/Math.sqrt(2):fn)/Zt,on=7*yn,cn=3*yn,In=(nn.width-Zt*yn)/2,gn=(nn.height-Zt*yn)/2;[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(function(xn){var En,hn,mn,Pn,_n,Rn,On,rn,Ft,Kt,un,vn,Mn=xn[0],Tn=xn[1],Sn=xn[2],Fn=In+Mn*yn*(Zt-7),An=gn+Tn*yn*(Zt-7),kn=Pt._dotsClipPath,Qn=Pt._dotsClipPath;if((!((En=nn.cornersSquareOptions)===null||En===void 0)&&En.gradient||!((hn=nn.cornersSquareOptions)===null||hn===void 0)&&hn.color)&&((kn=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-square-color-"+Mn+"-"+Tn),Pt._defs.appendChild(kn),Pt._cornersSquareClipPath=Pt._cornersDotClipPath=Qn=kn,Pt._createColor({options:(mn=nn.cornersSquareOptions)===null||mn===void 0?void 0:mn.gradient,color:(Pn=nn.cornersSquareOptions)===null||Pn===void 0?void 0:Pn.color,additionalRotation:Sn,x:Fn,y:An,height:on,width:on,name:"corners-square-color-"+Mn+"-"+Tn})),(_n=nn.cornersSquareOptions)===null||_n===void 0?void 0:_n.type){var Ln=new Xt({svg:Pt._element,type:nn.cornersSquareOptions.type});Ln.draw(Fn,An,on,Sn),Ln._element&&kn&&kn.appendChild(Ln._element)}else for(var Hn=new jt({svg:Pt._element,type:nn.dotsOptions.type}),br=function(jn){for(var zn=function(Nn){if(!(!((Rn=mt[jn])===null||Rn===void 0)&&Rn[Nn]))return"continue";Hn.draw(Fn+jn*yn,An+Nn*yn,yn,function(Wn,ln){var sn;return!!(!((sn=mt[jn+Wn])===null||sn===void 0)&&sn[Nn+ln])}),Hn._element&&kn&&kn.appendChild(Hn._element)},yr=0;yr<mt[jn].length;yr++)zn(yr)},Bn=0;Bn<mt.length;Bn++)br(Bn);if((!((On=nn.cornersDotOptions)===null||On===void 0)&&On.gradient||!((rn=nn.cornersDotOptions)===null||rn===void 0)&&rn.color)&&((Qn=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-dot-color-"+Mn+"-"+Tn),Pt._defs.appendChild(Qn),Pt._cornersDotClipPath=Qn,Pt._createColor({options:(Ft=nn.cornersDotOptions)===null||Ft===void 0?void 0:Ft.gradient,color:(Kt=nn.cornersDotOptions)===null||Kt===void 0?void 0:Kt.color,additionalRotation:Sn,x:Fn+2*yn,y:An+2*yn,height:cn,width:cn,name:"corners-dot-color-"+Mn+"-"+Tn})),(un=nn.cornersDotOptions)===null||un===void 0?void 0:un.type){var qn=new rt({svg:Pt._element,type:nn.cornersDotOptions.type});qn.draw(Fn+2*yn,An+2*yn,cn,Sn),qn._element&&Qn&&Qn.appendChild(qn._element)}else{Hn=new jt({svg:Pt._element,type:nn.dotsOptions.type});var Er=function(jn){for(var zn=function(Nn){if(!(!((vn=Et[jn])===null||vn===void 0)&&vn[Nn]))return"continue";Hn.draw(Fn+jn*yn,An+Nn*yn,yn,function(Wn,ln){var sn;return!!(!((sn=Et[jn+Wn])===null||sn===void 0)&&sn[Nn+ln])}),Hn._element&&Qn&&Qn.appendChild(Hn._element)},yr=0;yr<Et[jn].length;yr++)zn(yr)};for(Bn=0;Bn<Et.length;Bn++)Er(Bn)}})},qt.prototype.loadImage=function(){var Pt=this;return new Promise(function(Ht,nn){var Zt=Pt._options,fn=new Image;if(!Zt.image)return nn("Image is not defined");typeof Zt.imageOptions.crossOrigin=="string"&&(fn.crossOrigin=Zt.imageOptions.crossOrigin),Pt._image=fn,fn.onload=function(){Ht()},fn.src=Zt.image})},qt.prototype.drawImage=function(Pt){var Ht=Pt.width,nn=Pt.height,Zt=Pt.count,fn=Pt.dotSize;return ut(this,void 0,void 0,function(){var yn,on,cn,In,gn,xn,En,hn,mn;return pt(this,function(Pn){switch(Pn.label){case 0:return yn=this._options,on=(yn.width-Zt*fn)/2,cn=(yn.height-Zt*fn)/2,In=on+yn.imageOptions.margin+(Zt*fn-Ht)/2,gn=cn+yn.imageOptions.margin+(Zt*fn-nn)/2,xn=Ht-2*yn.imageOptions.margin,En=nn-2*yn.imageOptions.margin,(hn=document.createElementNS("http://www.w3.org/2000/svg","image")).setAttribute("x",String(In)),hn.setAttribute("y",String(gn)),hn.setAttribute("width",xn+"px"),hn.setAttribute("height",En+"px"),[4,It(yn.image||"")];case 1:return mn=Pn.sent(),hn.setAttribute("href",mn||""),this._element.appendChild(hn),[2]}})})},qt.prototype._createColor=function(Pt){var Ht=Pt.options,nn=Pt.color,Zt=Pt.additionalRotation,fn=Pt.x,yn=Pt.y,on=Pt.height,cn=Pt.width,In=Pt.name,gn=cn>on?cn:on,xn=document.createElementNS("http://www.w3.org/2000/svg","rect");if(xn.setAttribute("x",String(fn)),xn.setAttribute("y",String(yn)),xn.setAttribute("height",String(on)),xn.setAttribute("width",String(cn)),xn.setAttribute("clip-path","url('#clip-path-"+In+"')"),Ht){var En;if(Ht.type==="radial")(En=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",In),En.setAttribute("gradientUnits","userSpaceOnUse"),En.setAttribute("fx",String(fn+cn/2)),En.setAttribute("fy",String(yn+on/2)),En.setAttribute("cx",String(fn+cn/2)),En.setAttribute("cy",String(yn+on/2)),En.setAttribute("r",String(gn/2));else{var hn=((Ht.rotation||0)+Zt)%(2*Math.PI),mn=(hn+2*Math.PI)%(2*Math.PI),Pn=fn+cn/2,_n=yn+on/2,Rn=fn+cn/2,On=yn+on/2;mn>=0&&mn<=.25*Math.PI||mn>1.75*Math.PI&&mn<=2*Math.PI?(Pn-=cn/2,_n-=on/2*Math.tan(hn),Rn+=cn/2,On+=on/2*Math.tan(hn)):mn>.25*Math.PI&&mn<=.75*Math.PI?(_n-=on/2,Pn-=cn/2/Math.tan(hn),On+=on/2,Rn+=cn/2/Math.tan(hn)):mn>.75*Math.PI&&mn<=1.25*Math.PI?(Pn+=cn/2,_n+=on/2*Math.tan(hn),Rn-=cn/2,On-=on/2*Math.tan(hn)):mn>1.25*Math.PI&&mn<=1.75*Math.PI&&(_n+=on/2,Pn+=cn/2/Math.tan(hn),On-=on/2,Rn-=cn/2/Math.tan(hn)),(En=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",In),En.setAttribute("gradientUnits","userSpaceOnUse"),En.setAttribute("x1",String(Math.round(Pn))),En.setAttribute("y1",String(Math.round(_n))),En.setAttribute("x2",String(Math.round(Rn))),En.setAttribute("y2",String(Math.round(On)))}Ht.colorStops.forEach(function(rn){var Ft=rn.offset,Kt=rn.color,un=document.createElementNS("http://www.w3.org/2000/svg","stop");un.setAttribute("offset",100*Ft+"%"),un.setAttribute("stop-color",Kt),En.appendChild(un)}),xn.setAttribute("fill","url('#"+In+"')"),this._defs.appendChild(En)}else nn&&xn.setAttribute("fill",nn);this._element.appendChild(xn)},qt.instanceCount=0,qt}(),yt="canvas";for(var it={},bt=0;bt<=40;bt++)it[bt]=bt;const kt={type:yt,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:it[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{round:0,color:"#fff"}};var Dt=function(){return Dt=Object.assign||function(qt){for(var Pt,Ht=1,nn=arguments.length;Ht<nn;Ht++)for(var Zt in Pt=arguments[Ht])Object.prototype.hasOwnProperty.call(Pt,Zt)&&(qt[Zt]=Pt[Zt]);return qt},Dt.apply(this,arguments)};function Ut(qt){var Pt=Dt({},qt);if(!Pt.colorStops||!Pt.colorStops.length)throw"Field 'colorStops' is required in gradient";return Pt.rotation?Pt.rotation=Number(Pt.rotation):Pt.rotation=0,Pt.colorStops=Pt.colorStops.map(function(Ht){return Dt(Dt({},Ht),{offset:Number(Ht.offset)})}),Pt}function Lt(qt){var Pt=Dt({},qt);return Pt.width=Number(Pt.width),Pt.height=Number(Pt.height),Pt.margin=Number(Pt.margin),Pt.imageOptions=Dt(Dt({},Pt.imageOptions),{hideBackgroundDots:!!Pt.imageOptions.hideBackgroundDots,imageSize:Number(Pt.imageOptions.imageSize),margin:Number(Pt.imageOptions.margin)}),Pt.margin>Math.min(Pt.width,Pt.height)&&(Pt.margin=Math.min(Pt.width,Pt.height)),Pt.dotsOptions=Dt({},Pt.dotsOptions),Pt.dotsOptions.gradient&&(Pt.dotsOptions.gradient=Ut(Pt.dotsOptions.gradient)),Pt.cornersSquareOptions&&(Pt.cornersSquareOptions=Dt({},Pt.cornersSquareOptions),Pt.cornersSquareOptions.gradient&&(Pt.cornersSquareOptions.gradient=Ut(Pt.cornersSquareOptions.gradient))),Pt.cornersDotOptions&&(Pt.cornersDotOptions=Dt({},Pt.cornersDotOptions),Pt.cornersDotOptions.gradient&&(Pt.cornersDotOptions.gradient=Ut(Pt.cornersDotOptions.gradient))),Pt.backgroundOptions&&(Pt.backgroundOptions=Dt({},Pt.backgroundOptions),Pt.backgroundOptions.gradient&&(Pt.backgroundOptions.gradient=Ut(Pt.backgroundOptions.gradient))),Pt}var Vt=ct(192),Nt=ct.n(Vt),Yt=function(qt,Pt,Ht,nn){return new(Ht||(Ht=Promise))(function(Zt,fn){function yn(In){try{cn(nn.next(In))}catch(gn){fn(gn)}}function on(In){try{cn(nn.throw(In))}catch(gn){fn(gn)}}function cn(In){var gn;In.done?Zt(In.value):(gn=In.value,gn instanceof Ht?gn:new Ht(function(xn){xn(gn)})).then(yn,on)}cn((nn=nn.apply(qt,[])).next())})},tn=function(qt,Pt){var Ht,nn,Zt,fn,yn={label:0,sent:function(){if(1&Zt[0])throw Zt[1];return Zt[1]},trys:[],ops:[]};return fn={next:on(0),throw:on(1),return:on(2)},typeof Symbol=="function"&&(fn[Symbol.iterator]=function(){return this}),fn;function on(cn){return function(In){return function(gn){if(Ht)throw new TypeError("Generator is already executing.");for(;yn;)try{if(Ht=1,nn&&(Zt=2&gn[0]?nn.return:gn[0]?nn.throw||((Zt=nn.return)&&Zt.call(nn),0):nn.next)&&!(Zt=Zt.call(nn,gn[1])).done)return Zt;switch(nn=0,Zt&&(gn=[2&gn[0],Zt.value]),gn[0]){case 0:case 1:Zt=gn;break;case 4:return yn.label++,{value:gn[1],done:!1};case 5:yn.label++,nn=gn[1],gn=[0];continue;case 7:gn=yn.ops.pop(),yn.trys.pop();continue;default:if(!((Zt=(Zt=yn.trys).length>0&&Zt[Zt.length-1])||gn[0]!==6&&gn[0]!==2)){yn=0;continue}if(gn[0]===3&&(!Zt||gn[1]>Zt[0]&&gn[1]<Zt[3])){yn.label=gn[1];break}if(gn[0]===6&&yn.label<Zt[1]){yn.label=Zt[1],Zt=gn;break}if(Zt&&yn.label<Zt[2]){yn.label=Zt[2],yn.ops.push(gn);break}Zt[2]&&yn.ops.pop(),yn.trys.pop();continue}gn=Pt.call(qt,yn)}catch(xn){gn=[6,xn],nn=0}finally{Ht=Zt=0}if(5&gn[0])throw gn[1];return{value:gn[0]?gn[1]:void 0,done:!0}}([cn,In])}}};const an=function(){function qt(Pt){this._options=Pt?Lt(At(kt,Pt)):kt,this.update()}return qt._clearContainer=function(Pt){Pt&&(Pt.innerHTML="")},qt.prototype._setupSvg=function(){var Pt=this;if(this._qr){var Ht=new Tt(this._options);this._svg=Ht.getElement(),this._svgDrawingPromise=Ht.drawQR(this._qr).then(function(){var nn;Pt._svg&&((nn=Pt._extension)===null||nn===void 0||nn.call(Pt,Ht.getElement(),Pt._options))})}},qt.prototype._setupCanvas=function(){var Pt,Ht=this;this._qr&&(this._canvas=document.createElement("canvas"),this._canvas.width=this._options.width,this._canvas.height=this._options.height,this._setupSvg(),this._canvasDrawingPromise=(Pt=this._svgDrawingPromise)===null||Pt===void 0?void 0:Pt.then(function(){if(Ht._svg){var nn=Ht._svg,Zt=new XMLSerializer().serializeToString(nn),fn="data:image/svg+xml;base64,"+btoa(Zt),yn=new Image;return new Promise(function(on){yn.onload=function(){var cn,In;(In=(cn=Ht._canvas)===null||cn===void 0?void 0:cn.getContext("2d"))===null||In===void 0||In.drawImage(yn,0,0),on()},yn.src=fn})}}))},qt.prototype._getElement=function(Pt){return Pt===void 0&&(Pt="png"),Yt(this,void 0,void 0,function(){return tn(this,function(Ht){switch(Ht.label){case 0:if(!this._qr)throw"QR code is empty";return Pt.toLowerCase()!=="svg"?[3,2]:(this._svg&&this._svgDrawingPromise||this._setupSvg(),[4,this._svgDrawingPromise]);case 1:return Ht.sent(),[2,this._svg];case 2:return this._canvas&&this._canvasDrawingPromise||this._setupCanvas(),[4,this._canvasDrawingPromise];case 3:return Ht.sent(),[2,this._canvas]}})})},qt.prototype.update=function(Pt){qt._clearContainer(this._container),this._options=Pt?Lt(At(this._options,Pt)):this._options,this._options.data&&(this._qr=Nt()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(Ht){switch(!0){case/^[0-9]*$/.test(Ht):return ft;case/^[0-9A-Z $%*+\-./:]*$/.test(Ht):return ht;default:return dt}}(this._options.data)),this._qr.make(),this._options.type===yt?this._setupCanvas():this._setupSvg(),this.append(this._container))},qt.prototype.append=function(Pt){if(Pt){if(typeof Pt.appendChild!="function")throw"Container should be a single DOM node";this._options.type===yt?this._canvas&&Pt.appendChild(this._canvas):this._svg&&Pt.appendChild(this._svg),this._container=Pt}},qt.prototype.applyExtension=function(Pt){if(!Pt)throw"Extension function should be defined.";this._extension=Pt,this.update()},qt.prototype.deleteExtension=function(){this._extension=void 0,this.update()},qt.prototype.getRawData=function(Pt){return Pt===void 0&&(Pt="png"),Yt(this,void 0,void 0,function(){var Ht,nn,Zt;return tn(this,function(fn){switch(fn.label){case 0:if(!this._qr)throw"QR code is empty";return[4,this._getElement(Pt)];case 1:return(Ht=fn.sent())?Pt.toLowerCase()==="svg"?(nn=new XMLSerializer,Zt=nn.serializeToString(Ht),[2,new Blob([`<?xml version="1.0" standalone="no"?>\r
|
|
469
469
|
`+Zt],{type:"image/svg+xml"})]):[2,new Promise(function(yn){return Ht.toBlob(yn,"image/"+Pt,1)})]:[2,null]}})})},qt.prototype.download=function(Pt){return Yt(this,void 0,void 0,function(){var Ht,nn,Zt,fn,yn;return tn(this,function(on){switch(on.label){case 0:if(!this._qr)throw"QR code is empty";return Ht="png",nn="qr",typeof Pt=="string"?(Ht=Pt,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof Pt=="object"&&Pt!==null&&(Pt.name&&(nn=Pt.name),Pt.extension&&(Ht=Pt.extension)),[4,this._getElement(Ht)];case 1:return(Zt=on.sent())?(Ht.toLowerCase()==="svg"?(fn=new XMLSerializer,yn=`<?xml version="1.0" standalone="no"?>\r
|
|
@@ -1349,4 +1349,4 @@ ${et.length}`,ot=Buffer$3.from(tt),ct=Buffer$3.concat([ot,nt]);return hash_1.def
|
|
|
1349
1349
|
`)&&a.flags==="s")}),fails$2=fails$d,globalThis$1=globalThis_1,$RegExp=globalThis$1.RegExp,regexpUnsupportedNcg=fails$2(function(){var a=$RegExp("(?<a>b)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$<a>c")!=="bc"}),call$4=functionCall,uncurryThis$5=functionUncurryThis,toString$3=toString$4,regexpFlags=regexpFlags$1,stickyHelpers=regexpStickyHelpers,shared=shared$4,create$1=objectCreate,getInternalState=internalState.get,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt$3=uncurryThis$5("".charAt),indexOf=uncurryThis$5("".indexOf),replace$1=uncurryThis$5("".replace),stringSlice$3=uncurryThis$5("".slice),UPDATES_LAST_INDEX_WRONG=function(){var a=/a/,j=/b*/g;return call$4(nativeExec,a,"a"),call$4(nativeExec,j,"a"),a.lastIndex!==0||j.lastIndex!==0}(),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=/()??/.exec("")[1]!==void 0,PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG;PATCH&&(patchedExec=function(j){var _e=this,et=getInternalState(_e),nt=toString$3(j),tt=et.raw,ot,ct,ft,ht,dt,vt,$t;if(tt)return tt.lastIndex=_e.lastIndex,ot=call$4(patchedExec,tt,nt),_e.lastIndex=tt.lastIndex,ot;var xt=et.groups,At=UNSUPPORTED_Y&&_e.sticky,wt=call$4(regexpFlags,_e),Ct=_e.source,Rt=0,It=nt;if(At&&(wt=replace$1(wt,"y",""),indexOf(wt,"g")===-1&&(wt+="g"),It=stringSlice$3(nt,_e.lastIndex),_e.lastIndex>0&&(!_e.multiline||_e.multiline&&charAt$3(nt,_e.lastIndex-1)!==`
|
|
1350
1350
|
`)&&(Ct="(?: "+Ct+")",It=" "+It,Rt++),ct=new RegExp("^(?:"+Ct+")",wt)),NPCG_INCLUDED&&(ct=new RegExp("^"+Ct+"$(?!\\s)",wt)),UPDATES_LAST_INDEX_WRONG&&(ft=_e.lastIndex),ht=call$4(nativeExec,At?ct:_e,It),At?ht?(ht.input=stringSlice$3(ht.input,Rt),ht[0]=stringSlice$3(ht[0],Rt),ht.index=_e.lastIndex,_e.lastIndex+=ht[0].length):_e.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&ht&&(_e.lastIndex=_e.global?ht.index+ht[0].length:ft),NPCG_INCLUDED&&ht&&ht.length>1&&call$4(nativeReplace,ht[0],ct,function(){for(dt=1;dt<arguments.length-2;dt++)arguments[dt]===void 0&&(ht[dt]=void 0)}),ht&&xt)for(ht.groups=vt=create$1(null),dt=0;dt<xt.length;dt++)$t=xt[dt],vt[$t[0]]=ht[$t[1]];return ht});var regexpExec$2=patchedExec,$$1=_export,exec=regexpExec$2;$$1({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec});var classofRaw=classofRaw$2,uncurryThis$4=functionUncurryThis,functionUncurryThisClause=function(a){if(classofRaw(a)==="Function")return uncurryThis$4(a)},isObject=isObject$6,classof$1=classofRaw$2,wellKnownSymbol$3=wellKnownSymbol$7,MATCH$1=wellKnownSymbol$3("match"),isRegexp=function(a){var j;return isObject(a)&&((j=a[MATCH$1])!==void 0?!!j:classof$1(a)==="RegExp")},isRegExp=isRegexp,$TypeError$1=TypeError,notARegexp=function(a){if(isRegExp(a))throw new $TypeError$1("The method doesn't accept regular expressions");return a},wellKnownSymbol$2=wellKnownSymbol$7,MATCH=wellKnownSymbol$2("match"),correctIsRegexpLogic=function(a){var j=/./;try{"/./"[a](j)}catch{try{return j[MATCH]=!1,"/./"[a](j)}catch{}}return!1},$=_export,uncurryThis$3=functionUncurryThisClause,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,toLength$1=toLength$3,toString$2=toString$4,notARegExp=notARegexp,requireObjectCoercible$2=requireObjectCoercible$5,correctIsRegExpLogic=correctIsRegexpLogic,slice=uncurryThis$3("".slice),min$1=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("endsWith"),MDN_POLYFILL_BUG=!CORRECT_IS_REGEXP_LOGIC&&!!function(){var a=getOwnPropertyDescriptor(String.prototype,"endsWith");return a&&!a.writable}();$({target:"String",proto:!0,forced:!MDN_POLYFILL_BUG&&!CORRECT_IS_REGEXP_LOGIC},{endsWith:function a(j){var _e=toString$2(requireObjectCoercible$2(this));notARegExp(j);var et=arguments.length>1?arguments[1]:void 0,nt=_e.length,tt=et===void 0?nt:min$1(toLength$1(et),nt),ot=toString$2(j);return slice(_e,tt-ot.length,tt)===ot}});var NATIVE_BIND=functionBindNative,FunctionPrototype=Function.prototype,apply$1=FunctionPrototype.apply,call$3=FunctionPrototype.call,functionApply=typeof Reflect=="object"&&Reflect.apply||(NATIVE_BIND?call$3.bind(apply$1):function(){return call$3.apply(apply$1,arguments)}),call$2=functionCall,defineBuiltIn=defineBuiltIn$2,regexpExec$1=regexpExec$2,fails$1=fails$d,wellKnownSymbol$1=wellKnownSymbol$7,createNonEnumerableProperty=createNonEnumerableProperty$3,SPECIES=wellKnownSymbol$1("species"),RegExpPrototype=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(a,j,_e,et){var nt=wellKnownSymbol$1(a),tt=!fails$1(function(){var ht={};return ht[nt]=function(){return 7},""[a](ht)!==7}),ot=tt&&!fails$1(function(){var ht=!1,dt=/a/;return a==="split"&&(dt={},dt.constructor={},dt.constructor[SPECIES]=function(){return dt},dt.flags="",dt[nt]=/./[nt]),dt.exec=function(){return ht=!0,null},dt[nt](""),!ht});if(!tt||!ot||_e){var ct=/./[nt],ft=j(nt,""[a],function(ht,dt,vt,$t,xt){var At=dt.exec;return At===regexpExec$1||At===RegExpPrototype.exec?tt&&!xt?{done:!0,value:call$2(ct,dt,vt,$t)}:{done:!0,value:call$2(ht,vt,dt,$t)}:{done:!1}});defineBuiltIn(String.prototype,a,ft[0]),defineBuiltIn(RegExpPrototype,nt,ft[1])}et&&createNonEnumerableProperty(RegExpPrototype[nt],"sham",!0)},uncurryThis$2=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$4,toString$1=toString$4,requireObjectCoercible$1=requireObjectCoercible$5,charAt$2=uncurryThis$2("".charAt),charCodeAt=uncurryThis$2("".charCodeAt),stringSlice$2=uncurryThis$2("".slice),createMethod=function(a){return function(j,_e){var et=toString$1(requireObjectCoercible$1(j)),nt=toIntegerOrInfinity$1(_e),tt=et.length,ot,ct;return nt<0||nt>=tt?a?"":void 0:(ot=charCodeAt(et,nt),ot<55296||ot>56319||nt+1===tt||(ct=charCodeAt(et,nt+1))<56320||ct>57343?a?charAt$2(et,nt):ot:a?stringSlice$2(et,nt,nt+2):(ot-55296<<10)+(ct-56320)+65536)}},stringMultibyte={codeAt:createMethod(!1),charAt:createMethod(!0)},charAt$1=stringMultibyte.charAt,advanceStringIndex$1=function(a,j,_e){return j+(_e?charAt$1(a,j).length:1)},uncurryThis$1=functionUncurryThis,toObject=toObject$2,floor=Math.floor,charAt=uncurryThis$1("".charAt),replace=uncurryThis$1("".replace),stringSlice$1=uncurryThis$1("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g,getSubstitution$1=function(a,j,_e,et,nt,tt){var ot=_e+a.length,ct=et.length,ft=SUBSTITUTION_SYMBOLS_NO_NAMED;return nt!==void 0&&(nt=toObject(nt),ft=SUBSTITUTION_SYMBOLS),replace(tt,ft,function(ht,dt){var vt;switch(charAt(dt,0)){case"$":return"$";case"&":return a;case"`":return stringSlice$1(j,0,_e);case"'":return stringSlice$1(j,ot);case"<":vt=nt[stringSlice$1(dt,1,-1)];break;default:var $t=+dt;if($t===0)return ht;if($t>ct){var xt=floor($t/10);return xt===0?ht:xt<=ct?et[xt-1]===void 0?charAt(dt,1):et[xt-1]+charAt(dt,1):ht}vt=et[$t-1]}return vt===void 0?"":vt})},call$1=functionCall,anObject$1=anObject$7,isCallable$1=isCallable$d,classof=classofRaw$2,regexpExec=regexpExec$2,$TypeError=TypeError,regexpExecAbstract=function(a,j){var _e=a.exec;if(isCallable$1(_e)){var et=call$1(_e,a,j);return et!==null&&anObject$1(et),et}if(classof(a)==="RegExp")return call$1(regexpExec,a,j);throw new $TypeError("RegExp#exec called on incompatible receiver")},apply=functionApply,call=functionCall,uncurryThis=functionUncurryThis,fixRegExpWellKnownSymbolLogic=fixRegexpWellKnownSymbolLogic,fails=fails$d,anObject=anObject$7,isCallable=isCallable$d,isNullOrUndefined=isNullOrUndefined$3,toIntegerOrInfinity=toIntegerOrInfinity$4,toLength=toLength$3,toString=toString$4,requireObjectCoercible=requireObjectCoercible$5,advanceStringIndex=advanceStringIndex$1,getMethod=getMethod$2,getSubstitution=getSubstitution$1,regExpExec=regexpExecAbstract,wellKnownSymbol=wellKnownSymbol$7,REPLACE=wellKnownSymbol("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),maybeToString=function(a){return a===void 0?a:String(a)},REPLACE_KEEPS_$0=function(){return"a".replace(/./,"$0")==="$0"}(),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=function(){return/./[REPLACE]?/./[REPLACE]("a","$0")==="":!1}(),REPLACE_SUPPORTS_NAMED_GROUPS=!fails(function(){var a=/./;return a.exec=function(){var j=[];return j.groups={a:"7"},j},"".replace(a,"$<a>")!=="7"});fixRegExpWellKnownSymbolLogic("replace",function(a,j,_e){var et=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(tt,ot){var ct=requireObjectCoercible(this),ft=isNullOrUndefined(tt)?void 0:getMethod(tt,REPLACE);return ft?call(ft,tt,ct,ot):call(j,toString(ct),tt,ot)},function(nt,tt){var ot=anObject(this),ct=toString(nt);if(typeof tt=="string"&&stringIndexOf(tt,et)===-1&&stringIndexOf(tt,"$<")===-1){var ft=_e(j,ot,ct,tt);if(ft.done)return ft.value}var ht=isCallable(tt);ht||(tt=toString(tt));var dt=ot.global,vt;dt&&(vt=ot.unicode,ot.lastIndex=0);for(var $t=[],xt;xt=regExpExec(ot,ct),!(xt===null||(push($t,xt),!dt));){var At=toString(xt[0]);At===""&&(ot.lastIndex=advanceStringIndex(ct,toLength(ot.lastIndex),vt))}for(var wt="",Ct=0,Rt=0;Rt<$t.length;Rt++){xt=$t[Rt];for(var It=toString(xt[0]),Mt=max(min(toIntegerOrInfinity(xt.index),ct.length),0),Ot=[],zt,jt=1;jt<xt.length;jt++)push(Ot,maybeToString(xt[jt]));var Gt=xt.groups;if(ht){var Jt=concat([It],Ot,Mt,ct);Gt!==void 0&&push(Jt,Gt),zt=toString(apply(tt,void 0,Jt))}else zt=getSubstitution(It,ct,Mt,Ot,Gt,tt);Mt>=Ct&&(wt+=stringSlice(ct,Ct,Mt)+zt,Ct=Mt+It.length)}return wt+stringSlice(ct,Ct)}]},!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);const queryType={name:"Query"},mutationType={name:"Mutation"},subscriptionType=null,types=[{kind:"SCALAR",name:"Any",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Bytes",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Float32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoBackupInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roles",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"reverse",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyQueryInput",description:null,fields:null,inputFields:[{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"securityHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cors",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"customHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"removeHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyQueryInput",description:null,fields:null,inputFields:[{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pathPattern",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"priority",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"responseHeaderPolicyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessPolicyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",ofType:null},defaultValue:null},{name:"responseHeaderPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleQueryInput",description:null,fields:null,inputFields:[{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletStoreInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"logoUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"maintainer",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cdnUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigEntryInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"validation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"secure",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"custom",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"shared",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"link",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"icon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"section",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"component",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"parent",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visible",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"userInfo",description:null,type:{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"picture",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"emailVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"sub",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extraData",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DownloadTokenInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"token",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"HashFileInput",description:null,fields:null,inputFields:[{name:"file",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"InviteSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"IssuerInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"LoginEmailSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireUnique",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustOauthProviders",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDomainBlackList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"domainBlackList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"enableDomainWhiteList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"domainWhiteList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"trustedIssuers",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"LoginPhoneSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireUnique",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustedIssuers",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null}}},defaultValue:null},{name:"enableRegionBlackList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"regionBlackList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"enableRegionWhiteList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"regionWhiteList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"NodeInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpgrade",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableWelcomePage",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"registerUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"webWalletUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletRegistryList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"BlockletStoreInput",ofType:null}}},defaultValue:null},{name:"diskAlertThreshold",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"enableBetaRelease",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"nftDomainUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enableFileSystemIsolation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDocker",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"isDockerInstalled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDockerNetwork",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PagingInput",description:null,fields:null,inputFields:[{name:"total",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageSize",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageCount",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"page",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuer",description:null,type:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"issuanceDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"expirationDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportDisplayInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"content",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PermissionInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"force",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"nftDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"chainHost",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"siteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"privateKey",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"certificate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rules",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"memberPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",description:null,fields:null,inputFields:[{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"attachDiskInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"attachRuntimeInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"getOptionalComponents",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hashFiles",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"HashFileInput",ofType:null}}},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"checkPrice",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",description:null,fields:null,inputFields:[{name:"domains",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pattern",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestComponentsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigFederatedInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoLogin",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"navigations",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"oauth",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enable",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"publicToStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedFactories",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedPassports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",description:null,fields:null,inputFields:[{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"PublishType",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletLogo",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletScreenshots",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"note",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"uploadedResource",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletResourceType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"childName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permissions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"ENUM",name:"SenderType",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"params",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"WebHookParamInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",description:null,fields:null,inputFields:[{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGatewayDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ruleId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestEndSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGatewayInput",description:null,fields:null,inputFields:[{name:"requestLimit",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLimitInput",ofType:null},defaultValue:null},{name:"cacheEnabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",description:null,fields:null,inputFields:[{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"category",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPoliciesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyQueryInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletNotificationsInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sender",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"read",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPoliciesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyQueryInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRulesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleQueryInput",ofType:null},defaultValue:null},{name:"includeDisabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",description:null,fields:null,inputFields:[{name:"useCache",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",description:null,fields:null,inputFields:[{name:"launcherSessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"launcherUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sender",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"read",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",description:null,fields:null,inputFields:[{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",description:null,fields:null,inputFields:[{name:"limit",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",description:null,fields:null,inputFields:[{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",description:null,fields:null,inputFields:[{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null},{name:"skipNavigation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"onlyRequired",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null},{name:"notify",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLimitInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"rate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"ipHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appSk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"forceRepopulate",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReadBlockletNotificationsInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",description:null,fields:null,inputFields:[{name:"owner",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blocklets",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"webhooks",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"certificates",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"accessKeys",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blockletExtras",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"routingRules",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"users",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"invitations",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",description:null,fields:null,inputFields:[{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"delegation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"password",description:null,type:{kind:"SCALAR",name:"Bytes",ofType:null},defaultValue:null},{name:"wallet",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",description:null,fields:null,inputFields:[{name:"webhookId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendPushInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestStartSessionInput",description:null,fields:null,inputFields:[{name:"data",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"profile",description:null,type:{kind:"INPUT_OBJECT",name:"UserProfileInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tag",description:null,type:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",description:null,fields:null,inputFields:[{name:"dryRun",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"INPUT_OBJECT",name:"PermissionInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"INPUT_OBJECT",name:"RoleUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"user",description:null,type:{kind:"INPUT_OBJECT",name:"UserInfoInput",ofType:null},defaultValue:null},{name:"options",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",description:null,fields:null,inputFields:[{name:"enableConnectedAccount",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",description:null,fields:null,inputFields:[{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"config",description:null,type:{kind:"INPUT_OBJECT",name:"SessionConfigInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoBackup",description:null,type:{kind:"INPUT_OBJECT",name:"AutoBackupInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoCheckUpdate",description:null,type:{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"where",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",description:null,fields:null,inputFields:[{name:"updateId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"selectedComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invite",description:null,type:{kind:"INPUT_OBJECT",name:"InviteSettingsInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantNames",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpload",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"possibleSameStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"corsAllowedOrigins",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resources",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserProfileInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUsersInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"UserQueryInput",ofType:null},defaultValue:null},{name:"sort",description:null,type:{kind:"INPUT_OBJECT",name:"UserSortInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"dids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startImmediately",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoleUpdateInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",description:null,fields:null,inputFields:[{name:"pathPrefix",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"header",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",description:null,fields:null,inputFields:[{name:"status",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"contentType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"body",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",description:null,fields:null,inputFields:[{name:"port",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"BackendServiceType",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"redirectCode",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null},{name:"interfaceName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pageGroup",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"response",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SessionConfigInput",description:null,fields:null,inputFields:[{name:"cacheTtl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"INPUT_OBJECT",name:"LoginEmailSettingsInput",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"INPUT_OBJECT",name:"LoginPhoneSettingsInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TagInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"color",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TeamInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",description:null,fields:null,inputFields:[{name:"holderDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"factoryAddress",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportInput",description:null,fields:null,inputFields:[{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mappings",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",description:null,fields:null,inputFields:[{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",description:null,fields:null,inputFields:[{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttlPolicy",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserInfoInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"PassportInput",ofType:null}}},defaultValue:null},{name:"firstLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceProvider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedAccounts",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null}}},defaultValue:null},{name:"didSpace",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"userSessions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"UserSessionInput",ofType:null}}},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"emailVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"phoneVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserProfileInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserQueryInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeUserSessions",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invitee",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ua",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSortInput",description:null,fields:null,inputFields:[{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WebHookParamInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"defaultValue",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeyPublic",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLog",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"category",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"actor",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogActor",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"env",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ip",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogActor",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnv",description:null,fields:[{name:"browser",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnvItem",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoBackup",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoCheckUpdate",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Backup",description:null,fields:[{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"strategy",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"target",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"progress",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletAccessPolicy",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"roles",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reverse",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletBackupState",description:null,fields:[{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletCapabilities",description:null,fields:[{name:"clusterMode",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceExportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletController",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftOwner",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"consumedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"OBJECT",name:"BlockletControllerStatus",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletControllerStatus",description:null,fields:[{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDiff",description:null,fields:[{name:"hasBlocklet",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"changeSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"deleteSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDist",description:null,fields:[{name:"tarball",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"integrity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletEngine",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"displayName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaInterface",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"main",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stats",description:null,args:[],type:{kind:"OBJECT",name:"BlockletStats",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"homepage",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"community",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"documentation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"support",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"screenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"keywords",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"group",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dist",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDist",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"contributors",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"repository",description:null,args:[],type:{kind:"OBJECT",name:"BlockletRepository",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"payment",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPayment",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftFactory",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastPublishedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"capabilities",description:null,args:[],type:{kind:"OBJECT",name:"BlockletCapabilities",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ChildConfig",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Environment",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"requirements",description:null,args:[],type:{kind:"OBJECT",name:"Requirement",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resource",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaOwner",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaInterface",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"prefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protocol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"services",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaService",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"cacheable",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"pageGroups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaOwner",description:null,fields:[{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaPerson",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaService",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"config",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMigrateRecord",description:null,fields:[{name:"appSk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"at",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPayment",description:null,fields:[{name:"price",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentPrice",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"share",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentShare",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentPrice",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"symbol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentShare",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPreUpdateInfo",description:null,fields:[{name:"updateId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UpdateList",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletRepository",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResource",description:null,fields:[{name:"exportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceType",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"bundles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceBundle",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceBundle",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"public",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceType",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"securityHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cors",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"customHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletSecurityRule",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pathPattern",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"priority",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletSettings",description:null,fields:[{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"whoCanAccess",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SimpleBlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publicToStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"navigations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigNavigation",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"oauth",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"notification",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"OBJECT",name:"SessionConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"federated",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoCheckUpdate",description:null,args:[],type:{kind:"OBJECT",name:"AutoCheckUpdate",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoBackup",description:null,args:[],type:{kind:"OBJECT",name:"AutoBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invite",description:null,args:[],type:{kind:"OBJECT",name:"InviteSettings",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appRuntimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"optionalComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"settings",description:null,args:[],type:{kind:"OBJECT",name:"BlockletSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"controller",description:null,args:[],type:{kind:"OBJECT",name:"BlockletController",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migratedFrom",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMigrateRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSk",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSkSource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"structVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStats",description:null,fields:[{name:"downloads",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"star",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"purchases",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStore",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cdnUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BooleanResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"result",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Certificate",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"CertificateMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"matchedSites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"MatchedSites",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateIssuer",description:null,fields:[{name:"countryName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"organizationName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commonName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateMeta",description:null,fields:[{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"CertificateIssuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sans",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"validFrom",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validTo",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprintAlg",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validityPeriod",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ChildConfig",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ComponentState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Dependent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigEntry",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigNavigation",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"link",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"icon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"section",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parent",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccount",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userInfo",description:null,args:[],type:{kind:"OBJECT",name:"ConnectedAccountInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccountInfo",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"picture",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sub",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extraData",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedStore",description:null,fields:[{name:"storeId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessToken",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerEmail",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CreateAccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeySecret",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DelegationState",description:null,fields:[{name:"delegated",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Dependent",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DiskInfo",description:null,fields:[{name:"app",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"log",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cache",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Environment",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"default",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfig",description:null,fields:[{name:"config",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfigDetail",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"FederatedConfigSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigDetail",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"delegation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoLogin",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigSite",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDid",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDomain",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appLogoRect",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appliedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Fuel",description:null,fields:[{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Gateway",description:null,fields:[{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"GeneralResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"IPInfo",description:null,fields:[{name:"internalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"internalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteInfo",description:null,fields:[{name:"inviteId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"display",description:null,args:[],type:{kind:"OBJECT",name:"PassportDisplay",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Issuer",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"KeyValue",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LauncherInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LoginEmailSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireUnique",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustOauthProviders",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDomainBlackList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainBlackList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableDomainWhiteList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainWhiteList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedIssuers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Issuer",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LoginPhoneSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireUnique",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedIssuers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Issuer",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableRegionBlackList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"regionBlackList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableRegionWhiteList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"regionWhiteList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"MatchedSites",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeEnvInfo",description:null,fields:[{name:"ip",description:null,args:[],type:{kind:"OBJECT",name:"IPInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"location",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"docker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"image",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletEngines",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletEngine",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"gitpod",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serviceMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hubMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRouting",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshotHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"adminPath",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRuntimeConfig",description:null,fields:[{name:"blockletMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeState",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nodeOwner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initializedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"routing",description:null,args:[],type:{kind:"OBJECT",name:"NodeRouting",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpgrade",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nextVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registerUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableWelcomePage",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webWalletUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletRegistryList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ownerNft",description:null,args:[],type:{kind:"OBJECT",name:"OwnerNft",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"diskAlertThreshold",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"launcher",description:null,args:[],type:{kind:"OBJECT",name:"LauncherInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didRegistry",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didDomain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableBetaRelease",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeConfig",description:null,args:[],type:{kind:"OBJECT",name:"NodeRuntimeConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftDomainUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableFileSystemIsolation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDocker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDockerInstalled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDockerNetwork",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Notification",description:null,fields:[{name:"sender",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receiver",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"read",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"severity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalComponentState",description:null,fields:[{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependencies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalDependencies",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalDependencies",description:null,fields:[{name:"parentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OwnerNft",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"holder",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Paging",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageCount",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"page",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Passport",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"Issuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"issuanceDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expirationDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"display",description:null,args:[],type:{kind:"OBJECT",name:"PassportDisplay",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportDisplay",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportIssuanceInfo",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"display",description:null,args:[],type:{kind:"OBJECT",name:"PassportDisplay",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Permission",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Project",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"PublishType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseFiles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"connectedStores",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"tenantScope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpload",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"possibleSameStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Release",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projectId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"note",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"files",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"ReleaseStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ReleaseComponent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publishedStoreIds",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uploadedResource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletResourceType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ReleaseComponent",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RequestLimit",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"rate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ipHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Requirement",description:null,fields:[{name:"server",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fuels",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Fuel",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAccessKeys",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AccessKey",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlocklet",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,args:[],type:{kind:"OBJECT",name:"BlockletState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletAccessPolicies",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletAccessPolicy",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletDiff",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDiff",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMeta",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isFree",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registryUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicies",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicy",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"history",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletSecurityRule",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"securityRule",description:null,args:[],type:{kind:"OBJECT",name:"BlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletSecurityRules",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"securityRules",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletSecurityRule",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletsFromBackup",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletBackupState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"preUpdateInfo",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPreUpdateInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckDomains",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseClearCache",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removed",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectByStudio",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"CreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreatePassportIssuance",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhook",description:null,args:[],type:{kind:"OBJECT",name:"WebHookSender",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDelegationState",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"state",description:null,args:[],type:{kind:"OBJECT",name:"DelegationState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDisconnectFromStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseFindCertificateByDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cert",description:null,args:[],type:{kind:"OBJECT",name:"Certificate",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGateway",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"gateway",description:null,args:[],type:{kind:"OBJECT",name:"Gateway",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetAuditLogs",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AuditLog",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletBackups",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Backup",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"spaceGateways",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SpaceGateway",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlocklets",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetCertificates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"certificates",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Certificate",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetDynamicComponents",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetInvitations",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invitations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"InviteInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetLauncherSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSession",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeEnv",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeEnvInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeInfo",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetPassportIssuances",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProjects",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projects",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Project",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetReleases",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"releases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Release",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingProviders",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"providers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingProvider",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSnapshot",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSelectedResources",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSnapshotSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetTrafficInsights",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrafficInsight",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCount",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"count",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"counts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"KeyValue",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseIsDidDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"history",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NodeHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermission",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permission",description:null,args:[],type:{kind:"OBJECT",name:"Permission",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermissions",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permissions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Permission",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePublishToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReadBlockletNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReadNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseResetNode",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRestartServer",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"OBJECT",name:"Role",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoles",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"roles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Role",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoutingSite",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSendMsg",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSenderList",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"senders",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookSender",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTag",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"OBJECT",name:"Tag",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTags",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"AccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUser",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"user",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUsers",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"users",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseWebHooks",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhooks",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHook",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Role",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grants",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingProvider",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"running",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRule",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleTo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleFrom",description:null,fields:[{name:"pathPrefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"header",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRuleHeader",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleHeader",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleResponse",description:null,fields:[{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"contentType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"body",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleTo",description:null,fields:[{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"BackendServiceType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"redirectCode",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageGroup",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"response",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleResponse",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSite",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainAliases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"rules",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRule",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"corsAllowedOrigins",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSnapshot",description:null,fields:[{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tree",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RuntimeInfo",description:null,fields:[{name:"pid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"memoryUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpuUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runningDocker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SessionConfig",description:null,fields:[{name:"cacheTtl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"OBJECT",name:"LoginEmailSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"OBJECT",name:"LoginPhoneSettings",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"SimpleBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SpaceGateway",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Tag",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"color",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrafficInsight",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"totalRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"failedRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generationTime",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueVisitors",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"excludedHits",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueReferrers",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueNotFound",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueStaticFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bandwidth",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedFactory",description:null,fields:[{name:"holderDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"factoryAddress",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassport",description:null,fields:[{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mappings",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassportMapping",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMapping",description:null,fields:[{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingFrom",description:null,fields:[{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingTo",description:null,fields:[{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttlPolicy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UpdateList",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approved",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"locale",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Passport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"firstLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceProvider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceAppPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectedAccounts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedAccount",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userSessions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserSession",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generation",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phoneVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserSession",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visitorId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passportId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHook",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookParam",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookSender",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"BackendServiceType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"daemon",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,isDeprecated:!1,deprecationReason:null},{name:"redirect",description:null,isDeprecated:!1,deprecationReason:null},{name:"none",description:null,isDeprecated:!1,deprecationReason:null},{name:"general_proxy",description:null,isDeprecated:!1,deprecationReason:null},{name:"direct_response",description:null,isDeprecated:!1,deprecationReason:null},{name:"rewrite",description:null,isDeprecated:!1,deprecationReason:null},{name:"component",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BackupTo",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"spaces",description:null,isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletSource",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"registry",description:null,isDeprecated:!1,deprecationReason:null},{name:"local",description:null,isDeprecated:!1,deprecationReason:null},{name:"upload",description:null,isDeprecated:!1,deprecationReason:null},{name:"url",description:null,isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"added",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloading",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloaded",description:null,isDeprecated:!1,deprecationReason:null},{name:"installing",description:null,isDeprecated:!1,deprecationReason:null},{name:"installed",description:null,isDeprecated:!1,deprecationReason:null},{name:"starting",description:null,isDeprecated:!1,deprecationReason:null},{name:"running",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopping",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopped",description:null,isDeprecated:!1,deprecationReason:null},{name:"error",description:null,isDeprecated:!1,deprecationReason:null},{name:"upgrading",description:null,isDeprecated:!1,deprecationReason:null},{name:"restarting",description:null,isDeprecated:!1,deprecationReason:null},{name:"corrupted",description:null,isDeprecated:!1,deprecationReason:null},{name:"waiting",description:null,isDeprecated:!1,deprecationReason:null},{name:"deleted",description:null,isDeprecated:!1,deprecationReason:null},{name:"unknown",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"HeaderMatchType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"exact",description:null,isDeprecated:!1,deprecationReason:null},{name:"partial",description:null,isDeprecated:!1,deprecationReason:null},{name:"regexp",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"PublishType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"resource",description:null,isDeprecated:!1,deprecationReason:null},{name:"pack",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"ReleaseStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"draft",description:null,isDeprecated:!1,deprecationReason:null},{name:"published",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"SenderType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"slack",description:null,isDeprecated:!1,deprecationReason:null},{name:"api",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"StatusCode",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"ok",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_found",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_purchased",description:null,isDeprecated:!1,deprecationReason:null},{name:"forbidden",description:null,isDeprecated:!1,deprecationReason:null},{name:"internal",description:null,isDeprecated:!1,deprecationReason:null},{name:"timeout",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"SCALAR",name:"Upload",description:"The `Upload` scalar type represents a file upload.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Mutation",description:null,fields:[{name:"installBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stopBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cancelDownloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkComponentsForUpdates",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPublicToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNavigations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configOAuth",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNotification",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendEmail",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendPush",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendPushInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"joinFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"quitFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disbandFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configFederated",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigFederatedInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"auditFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAppSessionConfig",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentTitle",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentMountPoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backupBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restoreBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migrateApplicationToStructV2",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoBackup",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoCheckUpdate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateInviteSettings",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeInfo",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"NodeInfoInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeRouting",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeNodeVersion",description:null,args:[],type:{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartServer",description:null,args:[],type:{kind:"OBJECT",name:"ResponseRestartServer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNode",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseResetNode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGateway",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"clearCache",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseClearCache",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createMemberInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTransferInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreatePassportIssuance",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedPassports",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedFactories",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserProfile",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserProfileInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserExtra",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserApproval",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuePassportToUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"switchProfile",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grantPermissionForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokePermissionFromRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermissionsForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hasPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"BooleanResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readBlockletNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadBlockletNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadBlockletNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadBlockletNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadBlockletNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadBlockletNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"takeRoutingSnapshot",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issueLetsEncryptCert",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestStartSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestEndSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disconnectFromStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDisconnectFromStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"publishToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePublishToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectByStudio",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectByStudio",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Query",description:null,fields:[{name:"getBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMetaFromUrl",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletDiff",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlocklets",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlocklets",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletsFromBackup",description:null,args:[],type:{kind:"OBJECT",name:"ResponseBlockletsFromBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDynamicComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetDynamicComponents",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeInfo",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNodeStatus",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeEnv",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkNodeVersion",description:null,args:[],type:{kind:"OBJECT",name:"ResponseCheckNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDelegationState",description:null,args:[],type:{kind:"OBJECT",name:"ResponseDelegationState",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMeta",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSnapshots",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSnapshotSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSnapshotSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingProviders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetRoutingProviders",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDidDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseIsDidDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getCertificates",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetCertificates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkDomains",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckDomains",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"findCertificateByDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseFindCertificateByDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAccessKeys",description:null,args:[],type:{kind:"OBJECT",name:"ResponseAccessKeys",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebHooks",description:null,args:[],type:{kind:"OBJECT",name:"ResponseWebHooks",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookSenders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseSenderList",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendTestMessage",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseSendMsg",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoles",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoles",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissions",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getInvitations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetInvitations",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsers",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUsersInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUsers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCount",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCount",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCountPerRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getOwner",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissionsByRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportIssuances",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetPassportIssuances",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoutUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTags",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAuditLogs",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetAuditLogs",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getLauncherSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetLauncherSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletBackups",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletBackups",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSpaceGateways",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTrafficInsights",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetTrafficInsights",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProjects",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProjects",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getReleases",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetReleases",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSelectedResources",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSecurityRules",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRulesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRules",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletResponseHeaderPolicies",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPoliciesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicies",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletAccessPolicies",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPoliciesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicies",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:[{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:"A list of all types supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"queryType",description:"The type that query operations will be rooted at.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"mutationType",description:"If this server supports mutation, the type that mutation operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"subscriptionType",description:"If this server support subscription, the type that subscription operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"directives",description:"A list of all directives supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Directive",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:[{name:"kind",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__TypeKind",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"specifiedByURL",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Field",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"possibleTypes",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enumValues",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__EnumValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"inputFields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ofType",description:null,args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"SCALAR",description:"Indicates this type is a scalar.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Indicates this type is an object. `fields` and `interfaces` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Indicates this type is a union. `possibleTypes` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Indicates this type is an enum. `enumValues` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Indicates this type is an input object. `inputFields` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"LIST",description:"Indicates this type is a list. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"NON_NULL",description:"Indicates this type is a non-null. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:"A GraphQL-formatted string representing the default value for this input value.",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
|
|
1351
1351
|
|
|
1352
|
-
In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isRepeatable",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"locations",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__DirectiveLocation",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"QUERY",description:"Location adjacent to a query operation.",isDeprecated:!1,deprecationReason:null},{name:"MUTATION",description:"Location adjacent to a mutation operation.",isDeprecated:!1,deprecationReason:null},{name:"SUBSCRIPTION",description:"Location adjacent to a subscription operation.",isDeprecated:!1,deprecationReason:null},{name:"FIELD",description:"Location adjacent to a field.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_DEFINITION",description:"Location adjacent to a fragment definition.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_SPREAD",description:"Location adjacent to a fragment spread.",isDeprecated:!1,deprecationReason:null},{name:"INLINE_FRAGMENT",description:"Location adjacent to an inline fragment.",isDeprecated:!1,deprecationReason:null},{name:"VARIABLE_DEFINITION",description:"Location adjacent to a variable definition.",isDeprecated:!1,deprecationReason:null},{name:"SCHEMA",description:"Location adjacent to a schema definition.",isDeprecated:!1,deprecationReason:null},{name:"SCALAR",description:"Location adjacent to a scalar definition.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Location adjacent to an object type definition.",isDeprecated:!1,deprecationReason:null},{name:"FIELD_DEFINITION",description:"Location adjacent to a field definition.",isDeprecated:!1,deprecationReason:null},{name:"ARGUMENT_DEFINITION",description:"Location adjacent to an argument definition.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Location adjacent to an interface definition.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Location adjacent to a union definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Location adjacent to an enum definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM_VALUE",description:"Location adjacent to an enum value definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Location adjacent to an input object type definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_FIELD_DEFINITION",description:"Location adjacent to an input object field definition.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null}],directives=[{name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Included when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Skipped when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],args:[{name:"reason",description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:'"No longer supported"'}]},{name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:["SCALAR"],args:[{name:"url",description:"The URL that specifies the behavior of this scalar.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null}]}],require$$4={queryType,mutationType,subscriptionType,types,directives},BaseClient=dist,schema=require$$4;let ABTNodeClient$1=class extends BaseClient{constructor(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"http://localhost:4000/api",_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const et={dataSource:"forge",httpEndpoint:j,socketEndpoint:()=>this._getSocketEndpoint(j),enableQuery:!0,enableSubscription:!0,enableMutation:!0,maxQueryDepth:6};super(et),this._endpoint=j,this._authToken=null,this._userAgent=_e}setAuthToken(j){this._authToken=j}_getSocketEndpoint(j){let _e=j.replace(/https?:\/\//,"ws://");return j.indexOf("https://")===0&&(_e=_e.replace("ws://","wss://")),"".concat(_e,"/socket")}_getSchema(){return schema}_getIgnoreFields(j){return[]}_getAuthHeaders(){const j={},_e=this._authToken;if(_e){const et=typeof _e=="function"?_e():_e;j.Authorization="Bearer ".concat(encodeURIComponent(et))}if(typeof window<"u"&&typeof window.location<"u"){const{hostname:et,port:nt,protocol:tt}=window.location;j["x-real-hostname"]=et,j["x-real-port"]=nt,j["x-real-protocol"]=tt.endsWith(":")?tt.substring(0,tt.length-1):tt}return this._userAgent&&(j["User-Agent"]=this._userAgent),j}};var base=ABTNodeClient$1;const EventEmitter=eventemitter3Exports,ABTNodeClient=base;class BrowserABTNodeClient extends ABTNodeClient{_getSocketOptions(){return{}}_getEventImplementation(){return EventEmitter}}var browser=BrowserABTNodeClient;const NodeClient=getDefaultExportFromCjs$1(browser),prefix$1=(window.env?window.env.apiPrefix:"/")||"/",client$1=new NodeClient(()=>`${prefix$1}/api/gql?locale=${getLocale()}`.replace(/\/+/g,"/").trim());function useSubscription$1({wsClient:a,event:j,cb:_e=()=>{},deps:et=[]}){reactExports.useEffect(()=>{const nt=a&&(!et.length||et.every(Boolean));return nt&&a.on(j,_e),()=>{nt&&a.off(j,_e)}},et)}let client;function create(){const a=(window.env&&window.env.apiPrefix?window.env.apiPrefix:"/").replace(/\/$/,""),j=`//${window.location.host}${a}/admin`;return new browser$3.WsClient(j,{heartbeatIntervalMs:100*1e3,params:()=>({token:Cookie.get("login_token")})})}function getWsClient(){return client||(client=create()),client}const useSubscription=(a,j=()=>{},_e=[])=>{a=`${window.blocklet.did}/${a}`;const{session:et}=useSessionContext();!client&&et.user&&(client=getWsClient(),client.connect()),useSubscription$1({wsClient:client,event:a,cb:j,deps:_e})};let cache=null;const fetch$1=async()=>{try{return(await api.get(`/dns-resolve?hostname=${window.location.hostname}`)).data.address}catch{return null}},getIp=()=>(cache||(cache=fetch$1()),cache),{Provider:Provider$2,Consumer:Consumer$2}=BlockletContext,parseEndpoint=(a,j)=>{const _e=/^{env\.(.+)}$/.exec(a);if(_e&&_e[1]){const et=((j==null?void 0:j.configs)||[]).find(nt=>nt.key===_e[1]);return!et&&!et.value?"":et.value}return a},getChainConfig=(()=>{const a={endpoint:"",data:{}};return async j=>{if(a.endpoint===j)return a.data;const et=await getChainClient(j).getConfig();return a.endpoint=j,a.data=et,et}})(),{did,appId}=window.env;function BlockletProvider({children:a,mode:j}){var pt;const[_e,et]=reactExports.useState(null),[nt,tt]=reactExports.useState(!1),[ot,ct]=reactExports.useState({}),[ft,ht]=reactExports.useState(),[dt,vt]=reactExports.useState(),[$t,xt]=reactExports.useState(),At=j==="setup",{loading:wt,loadingDiskInfo:Ct,loadingRuntimeInfo:Rt,error:It,blocklet:Mt,recommendedDomain:Ot,runtimeHistory:zt,actions:{refreshBlocklet:jt,refreshDomainStatus:Gt,setBlocklet:Jt}}=useBlocklet({did,client:client$1,useSubscription,getIP:getIp,useLocaleContext,getOptionalComponents:!0}),Xt=reactExports.useRef(void 0);Xt.current=(pt=Mt==null?void 0:Mt.meta)==null?void 0:pt.did;const dn=async()=>{try{tt(!0),et(null);const{data:mt}=await api.get("/blocklet/meta");ct(mt),tt(!1)}catch(mt){tt(!1),et(mt),Toast$1.error(mt.message)}},St=async({showError:mt=!0}={})=>{var Ut,Lt;if(!((Lt=(Ut=ot==null?void 0:ot.requirements)==null?void 0:Ut.fuels)!=null&&Lt.length))return null;const{endpoint:Et,value:Tt,address:yt}=ot.requirements.fuels[0],it=parseEndpoint(Et,Mt),bt=Tt;let kt=Tt;const Dt={endpoint:it,symbol:"",need:bt,current:0,owe:Number(bt)>0};try{const Vt=getChainClient(it),{config:Nt}=await getChainConfig(it),Yt=JSON.parse(Nt).token;let tn=yt;tn||(tn=Yt.address),vt({address:Yt.address,symbol:Yt.symbol,decimal:Yt.decimal});const{getAccountState:{state:an},getTokenState:{state:qt}}=await Vt.doBatchQuery({getAccountState:{address:appId},getTokenState:{address:tn}});qt&&(Dt.symbol=qt.symbol);const Pt=((an==null?void 0:an.tokens)||[]).find(Ht=>Ht.address===tn);if(Pt){const Ht=lib$4.fromTokenToUnit(bt,Pt.decimal||18);Dt.current=lib$4.fromUnitToToken(Pt.value,Pt.decimal||18),Dt.owe=Ht.gt(new lib$4.BN(Pt.value)),kt=Math.max(0,lib$4.fromUnitToToken(Ht.sub(new lib$4.BN(Pt.value)),Pt.decimal||18))}}catch(Vt){mt&&Toast$1.error(Vt.message)}return ht({...Dt,deficiency:kt}),Dt},rt=async({configs:mt,childDid:Et})=>(await client$1.configBlocklet({input:{did:[did].concat(Et).filter(Boolean),configs:mt}}),jt()),st=async mt=>{const{blocklet:Et}=await client$1.configNavigations({input:{did,navigations:mt}});Jt(Et)};reactExports.useEffect(()=>{At&&dn(),jt({showError:!1})},[]),reactExports.useEffect(()=>{var mt;(mt=Mt==null?void 0:Mt.controller)!=null&&mt.launcherSessionId&&client$1.getLauncherSession({input:{launcherSessionId:Mt.controller.launcherSessionId,launcherUrl:Mt.controller.launcherUrl}}).then(Et=>{xt(Et.launcherSession)}).catch(Et=>{console.error("get launcher session error",Et)})},[Mt==null?void 0:Mt.appPid]);const ut={loading:nt||wt,loadingDiskInfo:Ct,loadingRuntimeInfo:Rt,error:_e||It,blocklet:Mt,launcherSession:$t,did,recommendedDomain:Ot,runtimeHistory:zt,appIdList:Mt?util$1.getBlockletAppIdList(Mt):[],env:window.blocklet||{},meta:ot,gas:ft,tokenInfo:dt,client:client$1,mode:j,actions:{refreshBlocklet:jt,refreshDomainStatus:Gt,setBlocklet:Jt,refreshMeta:dn,refreshFuel:St,configBlocklet:rt,configNavigations:st}};return jsxRuntimeExports.jsx(Provider$2,{value:ut,children:a})}BlockletProvider.propTypes={children:PropTypes.any,mode:PropTypes.oneOf(["dashboard","setup"]).isRequired};BlockletProvider.defaultProps={children:null};function useBlockletContext(){return reactExports.useContext(BlockletContext)}const NodeContext=reactExports.createContext({});function useNodeContext$1(){const{node:a}=reactExports.useContext(NodeContext);return{...a,inService:a.type==="service",inDaemon:a.type==="daemon"}}const{Provider:Provider$1,Consumer:Consumer$1}=NodeContext,imgPrefix=`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images`;function NodeProvider({children:a}){const{serverDid:j,serverVersion:_e,mode:et,nftDomainUrl:nt,ownerNft:tt,launcher:ot}=window.env,ct={api:client$1,restApi:api,prefix:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,imgPrefix,getSessionInHeader:()=>({}),ws:{getWsClient,create,useSubscription},type:"service",info:{did:j,version:_e,mode:et,nftDomainUrl:nt,ownerNft:tt,launcher:ot}};return jsxRuntimeExports.jsx(Provider$1,{value:{node:ct},children:a})}function useNodeContext(){const{node:a}=reactExports.useContext(NodeContext);return a}const NotificationContext=reactExports.createContext({}),{Provider,Consumer}=NotificationContext;function NotificationProvider({children:a}){const{did:j}=window.env,[_e,et]=reactExports.useState([]),[nt,tt]=reactExports.useState({total:0,pageSize:10,pageCount:0,page:1}),[ot,ct]=reactExports.useState(!1),ft=async({page:dt=1}={})=>{if(!ot){ct(!0);try{const vt=await client$1.getBlockletNotifications({input:{paging:{page:dt},teamDid:j}});et(vt.list),tt(vt.paging),ct(!1)}catch(vt){Toast$1.error(vt.message),ct(!1)}}};reactExports.useEffect(()=>{ft()},[]),useSubscription(constant$3.EVENTS.NOTIFICATION_BLOCKLET_CREATE,dt=>{et(vt=>[dt,...vt||[]])});const ht={loading:ot,refresh:ft,data:_e||[],paging:nt,api:client$1};return jsxRuntimeExports.jsx(Provider,{value:{notifications:ht},children:a})}function useNotificationContext(){const{notifications:a}=reactExports.useContext(NotificationContext);return a}const UserLogin=reactExports.lazy(()=>__vitePreload(()=>import("./login-B9mkuN1r.js"),__vite__mapDeps([0,1,2]))),UserLoginOAuthCallback=reactExports.lazy(()=>__vitePreload(()=>import("./login-oauth-callback-B8IM5sRf.js"),__vite__mapDeps([3,4,5,6]))),Connect=reactExports.lazy(()=>__vitePreload(()=>import("./connect-DXdc9kWf.js"),__vite__mapDeps([7,8,1,9,10]))),ExchangePassport=reactExports.lazy(()=>__vitePreload(()=>import("./exchange-passport-B-EhCwOs.js"),__vite__mapDeps([11,9,10,12]))),IssuePassport=reactExports.lazy(()=>__vitePreload(()=>import("./issue-passport-QnXwWENR.js"),__vite__mapDeps([13,14,15,16,17,1,18,19,20,12,9,10]))),LostPassport=reactExports.lazy(()=>__vitePreload(()=>import("./lost-passport-okkyxvyK.js"),__vite__mapDeps([21,20,22,23,15,16,24,10,12,1,25,6,26]))),Start=reactExports.lazy(()=>__vitePreload(()=>import("./start-B6pKpEk6.js"),__vite__mapDeps([27,28,29,24,10,30,31,32,33]))),Setup=reactExports.lazy(()=>__vitePreload(()=>import("./setup-BntqqJam.js"),__vite__mapDeps([34,35,8,36,31,32,33,30,37,38,39,40]))),Invite=reactExports.lazy(()=>__vitePreload(()=>import("./invite-DPOy64nF.js"),__vite__mapDeps([41,14,15,16,17,1,18,19,20,12,9,10]))),Transfer=reactExports.lazy(()=>__vitePreload(()=>import("./transfer-D-jivKPt.js"),__vite__mapDeps([42,31,32,33,9,10,20]))),Dashboard=reactExports.lazy(()=>__vitePreload(()=>import("./dashboard-wctDSPQY.js").then(a=>a.k),__vite__mapDeps([43,44,45,46,47,48,49,50,51,5,6,52,53,28,54,55,56,25,18,57,58,59,10,60,4,61,62,63,40,64,65,32,66]))),UserCenter=reactExports.lazy(()=>__vitePreload(()=>import("./user-center-COK230kp.js"),__vite__mapDeps([67,68,4,61,62,63,40,64,46,47,48,49,65,32,69,25,6,70,71,72,8,10,39,73,74,54,51,75,76,77,78,44,79,80,81,82,83,16,84,85,86,56,87,53,88,89,15,90,91,92,5]))),StudioHome=reactExports.lazy(()=>__vitePreload(()=>import("./home-BDB4_nh_.js"),__vite__mapDeps([93,94,61,62,63,40,4,49]))),StudioPreferences=reactExports.lazy(()=>__vitePreload(()=>import("./preferences-BQUunT_2.js"),__vite__mapDeps([95,96,94,61,62,63,40,4]))),StudioBranding=reactExports.lazy(()=>__vitePreload(()=>import("./branding-ZQ4CmDsH.js"),__vite__mapDeps([97,98,99,85,83,100,94,61,62,63,40,4,49,25,6]))),StudioLocalization=reactExports.lazy(()=>__vitePreload(()=>import("./localization-D7g53qeR.js"),__vite__mapDeps([101,94,61,62,63,40,4]))),AddResource=reactExports.lazy(()=>__vitePreload(()=>import("./add-resource-BGwTxNy-.js"),__vite__mapDeps([102,103,104,105,46,47,48,49,51,75,76,77,5,6,52,106,23,98,107,108,50,18,24,10,25,54,109,83,37,38,39,40,110,111,112,90,35,8,36,113,114,115,116,117,118,119,120,53,45,121,122,65,26,123,124,125,126,71,72,73,74,69,127,4,128,129,89,79,62,87,92,130]))),Publish=reactExports.lazy(()=>__vitePreload(()=>import("./publish-resource-kR9OHRdE.js"),__vite__mapDeps([131,132,105,53,29,81,82,83,16,84,85,46,47,48,49,86,76,56,87,77,75,44,88,63,89,79,59,50,51,5,6,52,18,24,10,99,100,133,25,108,134,33,60,114,135,36,8,69,129,72,136,98,104,106,23,107,54,109,127,92,91,117,118,137,138,26,55]))),NotFoundPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-wl3skyrX.js"),[])),EmailKyc=reactExports.lazy(()=>__vitePreload(()=>import("./email-C6LgzIfO.js"),__vite__mapDeps([139,140,141,9,10,52,20,142,49,75,76,48,77]))),Unsubscribe=reactExports.lazy(()=>__vitePreload(()=>import("./unsubscribe--o-tBu4k.js"),[])),OpenWindow=reactExports.lazy(()=>__vitePreload(()=>import("./open-window-Dsehi6Pa.js"),[]));function App(){var et;const a=useLocation(),{t:j}=useLocaleContext();reactExports.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${a.pathname}${a.search}`)},[a]);const _e=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(HelmetExport,{children:jsxRuntimeExports.jsx("title",{children:j("pageTitle.dashboard")})}),jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:_e,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/open-window`,element:jsxRuntimeExports.jsx(OpenWindow,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:jsxRuntimeExports.jsx(LostPassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:jsxRuntimeExports.jsx(IssuePassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/login`,element:jsxRuntimeExports.jsx(UserLogin,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/oauth/callback/:provider`,element:jsxRuntimeExports.jsx(UserLoginOAuthCallback,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/connect`,element:jsxRuntimeExports.jsx(Connect,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:jsxRuntimeExports.jsx(ExchangePassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:jsxRuntimeExports.jsx(Invite,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/transfer`,element:jsxRuntimeExports.jsx(Transfer,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio`,element:jsxRuntimeExports.jsx(StudioHome,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/home`,element:jsxRuntimeExports.jsx(StudioHome,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,element:jsxRuntimeExports.jsx(StudioPreferences,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/branding`,element:jsxRuntimeExports.jsx(StudioBranding,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,element:jsxRuntimeExports.jsx(StudioLocalization,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/kyc/email`,element:jsxRuntimeExports.jsx(EmailKyc,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/start`,element:jsxRuntimeExports.jsx(AuthProvider,{children:jsxRuntimeExports.jsx(Start,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/setup/*`,element:jsxRuntimeExports.jsx(BlockletProvider,{mode:"setup",children:jsxRuntimeExports.jsx(Setup,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user/unsubscribe`,element:jsxRuntimeExports.jsx(Unsubscribe,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user/:tab`,element:jsxRuntimeExports.jsx(AuthProvider,{roles:["*"],children:jsxRuntimeExports.jsx(UserCenter,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user`,element:jsxRuntimeExports.jsx(AuthProvider,{roles:["*"],children:jsxRuntimeExports.jsx(UserCenter,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/:tab/*`,element:jsxRuntimeExports.jsx(NodeProvider,{children:jsxRuntimeExports.jsx(NotificationProvider,{children:jsxRuntimeExports.jsx(AuthProvider,{roles:["owner","admin","member"],children:jsxRuntimeExports.jsx(BlockletProvider,{mode:"dashboard",children:jsxRuntimeExports.jsx(Dashboard,{})})})})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`,element:jsxRuntimeExports.jsx(Navigate,{to:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/overview`,replace:!0})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/embed/resources/:componentDid/*`,element:jsxRuntimeExports.jsx(NodeProvider,{children:jsxRuntimeExports.jsx(AuthProvider,{roles:((et=window.blocklet)==null?void 0:et.tenantMode)===constant$2.BLOCKLET_TENANT_MODES.MULTIPLE?["owner","admin","guest"]:["owner","admin"],children:jsxRuntimeExports.jsx(BlockletProvider,{mode:"dashboard",children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:"add",element:jsxRuntimeExports.jsx(AddResource,{})}),jsxRuntimeExports.jsx(Route,{path:"publish/*",element:jsxRuntimeExports.jsx(Publish,{})}),jsxRuntimeExports.jsx(Route,{path:"*",element:jsxRuntimeExports.jsx(NotFoundPage,{})})]})})})})})]})})]})}function AppWrapper(){return jsxRuntimeExports.jsx(BrowserRouter,{basename:PREFIX,children:jsxRuntimeExports.jsx(Root$1,{children:jsxRuntimeExports.jsx(App,{})})})}const root=createRoot(document.getElementById("app"));root.render(jsxRuntimeExports.jsx(AppWrapper,{}));const prefix=constant$3.WELLKNOWN_SERVICE_PATH_PREFIX;{async function a(){const{register:j}=await __vitePreload(async()=>{const{register:_e}=await import("./index-DTEEl-sV.js");return{register:_e}},[]);j(`${prefix}/service-worker.js`.replace(/\/+/g,"/"),{registered(){console.info("Service worker has been registered.")},ready(){console.info("Service worker is active.")},cached(){console.info("Content has been cached for offline use.")},updatefound(){console.info("New content is downloading.")},updated(){console.info("New content is available; please refresh.")},offline(){console.info("No internet connection found. App is running in offline mode.")},error(_e){console.error("Error during service worker registration:",_e)}})}a()}export{interopRequireDefaultExports as $,AvatarWithErrorBoundary as A,Box as B,Center as C,DID as D,default_1$4 as E,useSearchParams as F,constant$3 as G,HelmetExport as H,Container$2 as I,PoweredBy as J,withHttps as K,Link as L,withHttp as M,DidConnect as N,getWebWalletUrl$1 as O,PropTypes as P,useReactive as Q,ResultWrapper as R,SessionContext as S,Typography as T,useRequest as U,createPassportSvg as V,isNumber$2 as W,useLatest as X,defaultDayjs as Y,requireCreateSvgIcon as Z,__read as _,Tooltip as a,getWalletType as a$,newStyled as a0,useMediaQuery as a1,LocaleContext as a2,ButtonComponent as a3,isFromWallet as a4,__vitePreload as a5,isFunction$8 as a6,api as a7,client$1 as a8,getManageSubscriptionURL as a9,Ie as aA,en$1 as aB,LocaleProvider as aC,useLocation as aD,IconButton as aE,SessionUser as aF,generateUtilityClasses as aG,generateUtilityClass as aH,styled$1 as aI,capitalize$3 as aJ,useDefaultProps as aK,_objectWithoutPropertiesLoose$1 as aL,_extends$2 as aM,useSlotProps as aN,clsx$1 as aO,composeClasses as aP,ListContext as aQ,useNodeContext$1 as aR,isDownloading as aS,Menu as aT,Divider as aU,MenuItem as aV,getServerUrl as aW,sleep as aX,getLogoHash as aY,isInstalling as aZ,useBlockletContext$1 as a_,util$1 as aa,Global as ab,constant$2 as ac,isSuspended as ad,Img as ae,isSuspendedByExpired as af,isSuspendedByTerminated as ag,formatToDatetime as ah,calculateRetentionDate as ai,css as aj,Paper as ak,useTheme$1 as al,useBlockletContext as am,getFromQuery as an,saveServerUrl as ao,hasRequiredEnvironments as ap,PREFIX as aq,NodeProvider as ar,Routes as as,Route as at,Navigate as au,createSvgIcon$1 as av,Dialog as aw,formatDateTime as ax,getExplorerLink as ay,patchJsxToLocale as az,Button$1 as b,LinearProgress as b$,_SetCache as b0,_arrayMap as b1,_baseUnary as b2,_arrayIncludes as b3,_arrayIncludesWith as b4,_cacheHas as b5,_baseFlatten as b6,_baseUniq as b7,_baseRest as b8,getDefaultExportFromCjs$1 as b9,isFunction$3 as bA,__assign as bB,SessionContext$1 as bC,noop$6 as bD,colors$1 as bE,Icon as bF,data$5 as bG,isEmpty$1 as bH,translate as bI,LOGIN_PROVIDER_NAME as bJ,data$j as bK,RelativeTime as bL,upperFirst$2 as bM,PASSPORT_STATUS as bN,data$a as bO,data$r as bP,getWalletDid$1 as bQ,useConfirm as bR,OAUTH_PROVIDER as bS,LOGIN_PROVIDER$1 as bT,data$f as bU,data$e as bV,data$d as bW,pick$2 as bX,useAsyncEffect as bY,getConnectedAccounts$1 as bZ,getSourceProvider$1 as b_,_arrayFilter as ba,last_1 as bb,isArrayLikeObject_1 as bc,hasOwn$8 as bd,Emotion$1 as be,createEmotionProps as bf,getSubscriptionUrlV2 as bg,Chip as bh,dayjs$1 as bi,formatPrettyMsLocale as bj,Popover as bk,formatToDate as bl,List as bm,BlockletAdminRoles as bn,Popper as bo,ClickAwayListener as bp,useNotificationContext as bq,useNodeContext as br,ErrorBoundary as bs,isServerless as bt,styled as bu,colors$2 as bv,mergeProps as bw,useSubscription as bx,getWsClient as by,useParams as bz,joinURL as c,getDialogTitleUtilityClass as c$,getQuery as c0,pWaitFor$1 as c1,cloneDeep$1 as c2,useUpdateEffect as c3,Dialog$1 as c4,axios$4 as c5,useUnmount as c6,lib$4 as c7,getDIDColor as c8,Card as c9,MenuList as cA,getColor as cB,getBackground as cC,isObject$p as cD,isString$2 as cE,merge$2 as cF,default_1$5 as cG,create$3 as cH,StyledEngineProvider as cI,ThemeProvider$1 as cJ,ThemeProvider$4 as cK,getThemeProps$1 as cL,useEnhancedEffect$1 as cM,keyframes as cN,getUnit as cO,toUnitless as cP,alpha$1 as cQ,ButtonBase as cR,debounce$4 as cS,ownerWindow as cT,useRtl as cU,useEventCallback$1 as cV,ownerDocument as cW,rootShouldForwardProp as cX,isMuiElement as cY,isHostComponent as cZ,DialogContext as c_,CardHeader as ca,CardContent as cb,CardActions as cc,o as cd,red as ce,darken_1 as cf,lighten_1 as cg,resolveComponentProps as ch,mergeSlotProps as ci,useForkRef as cj,appendOwnerState as ck,getPath$1 as cl,alpha_1 as cm,useIsFocusVisible as cn,commonjsGlobal as co,propTypesExports as cp,reactDomExports as cq,adapter as cr,get$6 as cs,Buffer$1$1 as ct,base64 as cu,BlockletSDK as cv,getAugmentedNamespace as cw,emotionReact_browser_esm as cx,emotionCache_browser_esm as cy,SvgIcon as cz,useSessionContext as d,emphasize$1 as d$,useTheme$2 as d0,DialogContent as d1,DialogActions as d2,getListItemIconUtilityClass as d3,listItemTextClasses as d4,getListItemTextUtilityClass as d5,ButtonGroupContext as d6,ButtonGroupButtonContext as d7,createChainedFunction$1 as d8,useControlled as d9,createTheme as dA,ThemeProvider as dB,withErrorBoundary as dC,omit$1 as dD,lib as dE,formatMuiErrorMessage$1 as dF,GlobalStyles$2 as dG,ThemeProvider$2 as dH,createSpacing as dI,createBreakpoints as dJ,createTheme$1 as dK,private_safeDarken_1 as dL,private_safeLighten_1 as dM,private_safeEmphasize_1 as dN,private_safeAlpha_1 as dO,private_safeColorChannel_1 as dP,defaultSxConfig as dQ,styleFunctionSx$1 as dR,getOverlayAlpha as dS,hslToRgb_1 as dT,THEME_ID as dU,createTypography as dV,createMuiTheme as dW,darken$1 as dX,decomposeColor$1 as dY,duration$2 as dZ,easing as d_,useId as da,throttle$3 as db,__spreadArray as dc,useSize as dd,Drawer as de,default_1$7 as df,NavLink as dg,matchPath as dh,Fade as di,AUTH_SERVICE_PREFIX$1 as dj,getTranslation as dk,SessionPermission as dl,NAVIGATION_URL as dm,createTheme$3 as dn,styled$2 as dp,handleBreakpoints as dq,resolveBreakpointValues as dr,createUnarySpacing as ds,deepmerge$1 as dt,mergeBreakpointsInOrder as du,extendSxProp as dv,useThemeProps as dw,getValue$4 as dx,tslib_es6$1 as dy,loadIcon as dz,useNavigate as e,require$$0$3 as e$,getContrastRatio$1 as e0,getLuminance$1 as e1,hexToRgb$1 as e2,hslToRgb$1 as e3,lighten$1 as e4,createMixins as e5,recomposeColor$1 as e6,responsiveFontSizes as e7,rgbToHex$1 as e8,getPaperUtilityClass as e9,_baseFindIndex as eA,toInteger_1 as eB,sortBy$1 as eC,global$2 as eD,hoistStatics as eE,GlobalStyles as eF,slotShouldForwardProp as eG,createAxios$2 as eH,flat as eI,AxiosError as eJ,lib$2 as eK,RELAY_SOCKET_PREFIX$1 as eL,defaultTheme$2 as eM,objectAssign$1 as eN,React$2 as eO,_inheritsLoose$2 as eP,ReactDOM as eQ,__awaiter as eR,__generator as eS,getTargetElement as eT,useEventListener as eU,Buffer$3 as eV,browser$1 as eW,get_1 as eX,uniq_1 as eY,pLimit_1 as eZ,require$$6 as e_,paperClasses as ea,getIconButtonUtilityClass as eb,iconButtonClasses as ec,getTypographyUtilityClass as ed,typographyClasses as ee,chipClasses as ef,getChipUtilityClass as eg,buttonClasses as eh,getButtonUtilityClass as ei,Grow as ej,PopoverPaper as ek,PopoverRoot as el,getOffsetLeft as em,getOffsetTop as en,getPopoverUtilityClass as eo,popoverClasses as ep,getMenuItemUtilityClass as eq,menuItemClasses as er,getTooltipUtilityClass as es,tooltipClasses as et,emotionSerialize_esm as eu,emotionUtils_browser_esm as ev,Close as ew,_baseIteratee as ex,isArrayLike_1 as ey,keys_1 as ez,useBrowser as f,checkIsWildcardDomain as f$,process$1$1 as f0,lib$5 as f1,urlPathFriendly$1 as f2,cloneDeep_1 as f3,getWebWalletUrl as f4,extractStatusUrlFromNextWorkflow as f5,hasRequiredSteps$1 as f6,getStoreList as f7,_baseOrderBy as f8,isArray_1 as f9,_baseMap as fA,isString_1 as fB,isPlainObject_1 as fC,requireObjectWithoutPropertiesLoose as fD,setRef as fE,_assertThisInitialized$1 as fF,ClickToCopy as fG,emphasize_1 as fH,Collapse as fI,getCSRFToken as fJ,axios$1 as fK,isExtracting as fL,APP_PREFIX as fM,_baseIndexOf as fN,_baseToString as fO,_baseTrim as fP,_castSlice as fQ,_charsEndIndex as fR,_stringToArray as fS,toString_1 as fT,hasRequiredSteps as fU,urlEvaluation as fV,isDidDomainOrIpEchoDomain as fW,shouldCheckDomainStatus as fX,validateDomain as fY,axios_1 as fZ,CopyButton as f_,omitBy$1 as fa,parseURL as fb,parseQuery as fc,parseFilename as fd,stringifyParsedURL as fe,useDebounceFn as ff,_t as fg,semver$1 as fh,formatRegistryLogoPath as fi,getBlockletLogoUrl as fj,formatMountPoint as fk,isNil$1 as fl,flatten$3 as fm,_default as fn,getBlockletMetaUrl as fo,isNewStoreUrl as fp,nested as fq,Check$1 as fr,createPassportSvg$2 as fs,normalizePathPrefix_1 as ft,engine as fu,camelCase$1 as fv,Confirm as fw,getPathPrefix as fx,identity_1 as fy,_baseForOwn as fz,getVisitorId$2 as g,colorChannel$1 as g$,sortDomains as g0,getSystemDomains as g1,resolveProps as g2,Cookie as g3,getAccessUrl as g4,useUpdate as g5,tmp as g6,util$7 as g7,shams$1 as g8,callBound$3 as g9,Timeout as gA,useTimeout as gB,teardown as gC,DefaultPropsProvider as gD,useDefaultProps$1 as gE,createContainer as gF,useTheme$3 as gG,GlobalStyles$1 as gH,RtlProvider as gI,backgroundColor as gJ,bgcolor as gK,blend$1 as gL,border as gM,borderBottom as gN,borderBottomColor as gO,borderColor as gP,borderLeft as gQ,borderLeftColor as gR,borderRadius as gS,borderRight as gT,borderRightColor as gU,borderTop as gV,borderTopColor as gW,borderTransform as gX,boxSizing as gY,breakpoints as gZ,color$1 as g_,objectKeys$3 as ga,hasPropertyDescriptors_1 as gb,defineDataProperty as gc,callBindExports as gd,safeBufferExports as ge,requireBrowser$9 as gf,requireElliptic as gg,requireCryptoBrowserify as gh,ripemd160 as gi,getInviteLink as gj,getIssuePassportLink as gk,getTextColor_1 as gl,isProtectedRole as gm,ms$1 as gn,getChainClient as go,compose as gp,style$1 as gq,borders as gr,grid as gs,palette as gt,sizing as gu,spacing as gv,globalStateClasses as gw,isGlobalState as gx,createBox as gy,ClassNameGenerator as gz,useSecurity as h,require$$5 as h$,columnGap as h0,createStyled$2 as h1,createUnaryUnit as h2,gap as h3,getStyleFromPropValue as h4,getStyleValue as h5,gridArea as h6,gridAutoColumns as h7,gridAutoFlow as h8,gridAutoRows as h9,sizeWidth as hA,sizingTransform as hB,systemDefaultTheme$1 as hC,unstable_createStyleFunctionSx as hD,useTheme$4 as hE,width as hF,TransitionGroup as hG,ENTERED as hH,ENTERING as hI,EXITING as hJ,TransitionGroupContext as hK,Transition$1 as hL,config$1 as hM,isRunning as hN,getTransferAppLink as hO,_copyArray as hP,DidAddressWrapper as hQ,copy$1 as hR,withTrailingSlash as hS,clsx$2 as hT,require$$1$4 as hU,require$$1$2 as hV,require$$4$3 as hW,colorManipulator as hX,require$$6$3 as hY,require$$6$2 as hZ,createStyled$1 as h_,gridColumn as ha,gridRow as hb,gridTemplateAreas as hc,gridTemplateColumns as hd,gridTemplateRows as he,height as hf,margin as hg,marginKeys as hh,maxHeight as hi,maxWidth as hj,minHeight as hk,minWidth as hl,outline as hm,outlineColor as hn,padding as ho,paddingKeys as hp,paletteTransform as hq,private_safeAlpha$1 as hr,private_safeColorChannel$1 as hs,private_safeDarken$1 as ht,private_safeEmphasize$1 as hu,private_safeLighten$1 as hv,rowGap as hw,shape as hx,shouldForwardProp$1 as hy,sizeHeight as hz,isUndefined$2 as i,isEqual$1 as i0,data$b as i1,clamp$1 as i2,extractEventHandlers as i3,forceReflow as i4,debounce_1 as i5,noop_1 as i6,formatTime as i7,hoistNonReactStatics_cjs as i8,isEqual_1$1 as i9,require$$2$1 as iA,require$$6$4 as iB,createPopper as iC,getScrollbarSize as iD,assertThisInitialized as iE,reactIsExports as iF,isValidClusterSize as iG,getBlockletUrlParams as iH,trimEnd$1 as iI,normalizePathPrefix$1 as iJ,_isIndex as iK,dialogClasses as iL,FocusTrap as iM,localizedFormatPlugin as iN,formatLocale as iO,_baseAssignValue as iP,pTimeout$2 as iQ,TimeoutError_1 as iR,uniq$1 as iS,Backdrop as iT,createRoot as iU,pick_1$1 as ia,isNil_1 as ib,omit_1 as ic,isAbsoluteUrl$1 as id,isObject_1 as ie,withoutTrailingSlash as ig,isAbsoluteUrl$2 as ih,nanoid as ii,isEqual$3 as ij,useEffectWithTarget$1 as ik,__values as il,isString$3 as im,_baseEach as io,_setPrototypeOf as ip,debounce$2 as iq,isNull$3 as ir,filesize as is,Icon$1 as it,CacheProvider as iu,createCache as iv,StyleSheet as iw,ThemeContext$1 as ix,React$3 as iy,isPlainObject$5 as iz,jsxRuntimeExports as j,useCreation as k,useMemoizedFn as l,useMount as m,CircularProgress as n,API_DID_PREFIX as o,AUTH_SERVICE_PREFIX as p,getMaster as q,reactExports as r,getFederatedEnabled as s,Toast$1 as t,useLocaleContext as u,setSessionToken as v,withQuery as w,setRefreshToken as x,setVisitorId as y,updateConnectedInfo as z};
|
|
1352
|
+
In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isRepeatable",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"locations",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__DirectiveLocation",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"QUERY",description:"Location adjacent to a query operation.",isDeprecated:!1,deprecationReason:null},{name:"MUTATION",description:"Location adjacent to a mutation operation.",isDeprecated:!1,deprecationReason:null},{name:"SUBSCRIPTION",description:"Location adjacent to a subscription operation.",isDeprecated:!1,deprecationReason:null},{name:"FIELD",description:"Location adjacent to a field.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_DEFINITION",description:"Location adjacent to a fragment definition.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_SPREAD",description:"Location adjacent to a fragment spread.",isDeprecated:!1,deprecationReason:null},{name:"INLINE_FRAGMENT",description:"Location adjacent to an inline fragment.",isDeprecated:!1,deprecationReason:null},{name:"VARIABLE_DEFINITION",description:"Location adjacent to a variable definition.",isDeprecated:!1,deprecationReason:null},{name:"SCHEMA",description:"Location adjacent to a schema definition.",isDeprecated:!1,deprecationReason:null},{name:"SCALAR",description:"Location adjacent to a scalar definition.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Location adjacent to an object type definition.",isDeprecated:!1,deprecationReason:null},{name:"FIELD_DEFINITION",description:"Location adjacent to a field definition.",isDeprecated:!1,deprecationReason:null},{name:"ARGUMENT_DEFINITION",description:"Location adjacent to an argument definition.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Location adjacent to an interface definition.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Location adjacent to a union definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Location adjacent to an enum definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM_VALUE",description:"Location adjacent to an enum value definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Location adjacent to an input object type definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_FIELD_DEFINITION",description:"Location adjacent to an input object field definition.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null}],directives=[{name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Included when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Skipped when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],args:[{name:"reason",description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:'"No longer supported"'}]},{name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:["SCALAR"],args:[{name:"url",description:"The URL that specifies the behavior of this scalar.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null}]}],require$$4={queryType,mutationType,subscriptionType,types,directives},BaseClient=dist,schema=require$$4;let ABTNodeClient$1=class extends BaseClient{constructor(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"http://localhost:4000/api",_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const et={dataSource:"forge",httpEndpoint:j,socketEndpoint:()=>this._getSocketEndpoint(j),enableQuery:!0,enableSubscription:!0,enableMutation:!0,maxQueryDepth:6};super(et),this._endpoint=j,this._authToken=null,this._userAgent=_e}setAuthToken(j){this._authToken=j}_getSocketEndpoint(j){let _e=j.replace(/https?:\/\//,"ws://");return j.indexOf("https://")===0&&(_e=_e.replace("ws://","wss://")),"".concat(_e,"/socket")}_getSchema(){return schema}_getIgnoreFields(j){return[]}_getAuthHeaders(){const j={},_e=this._authToken;if(_e){const et=typeof _e=="function"?_e():_e;j.Authorization="Bearer ".concat(encodeURIComponent(et))}if(typeof window<"u"&&typeof window.location<"u"){const{hostname:et,port:nt,protocol:tt}=window.location;j["x-real-hostname"]=et,j["x-real-port"]=nt,j["x-real-protocol"]=tt.endsWith(":")?tt.substring(0,tt.length-1):tt}return this._userAgent&&(j["User-Agent"]=this._userAgent),j}};var base=ABTNodeClient$1;const EventEmitter=eventemitter3Exports,ABTNodeClient=base;class BrowserABTNodeClient extends ABTNodeClient{_getSocketOptions(){return{}}_getEventImplementation(){return EventEmitter}}var browser=BrowserABTNodeClient;const NodeClient=getDefaultExportFromCjs$1(browser),prefix$1=(window.env?window.env.apiPrefix:"/")||"/",client$1=new NodeClient(()=>`${prefix$1}/api/gql?locale=${getLocale()}`.replace(/\/+/g,"/").trim());function useSubscription$1({wsClient:a,event:j,cb:_e=()=>{},deps:et=[]}){reactExports.useEffect(()=>{const nt=a&&(!et.length||et.every(Boolean));return nt&&a.on(j,_e),()=>{nt&&a.off(j,_e)}},et)}let client;function create(){const a=(window.env&&window.env.apiPrefix?window.env.apiPrefix:"/").replace(/\/$/,""),j=`//${window.location.host}${a}/admin`;return new browser$3.WsClient(j,{heartbeatIntervalMs:100*1e3,params:()=>({token:Cookie.get("login_token")})})}function getWsClient(){return client||(client=create()),client}const useSubscription=(a,j=()=>{},_e=[])=>{a=`${window.blocklet.did}/${a}`;const{session:et}=useSessionContext();!client&&et.user&&(client=getWsClient(),client.connect()),useSubscription$1({wsClient:client,event:a,cb:j,deps:_e})};let cache=null;const fetch$1=async()=>{try{return(await api.get(`/dns-resolve?hostname=${window.location.hostname}`)).data.address}catch{return null}},getIp=()=>(cache||(cache=fetch$1()),cache),{Provider:Provider$2,Consumer:Consumer$2}=BlockletContext,parseEndpoint=(a,j)=>{const _e=/^{env\.(.+)}$/.exec(a);if(_e&&_e[1]){const et=((j==null?void 0:j.configs)||[]).find(nt=>nt.key===_e[1]);return!et&&!et.value?"":et.value}return a},getChainConfig=(()=>{const a={endpoint:"",data:{}};return async j=>{if(a.endpoint===j)return a.data;const et=await getChainClient(j).getConfig();return a.endpoint=j,a.data=et,et}})(),{did,appId}=window.env;function BlockletProvider({children:a,mode:j}){var pt;const[_e,et]=reactExports.useState(null),[nt,tt]=reactExports.useState(!1),[ot,ct]=reactExports.useState({}),[ft,ht]=reactExports.useState(),[dt,vt]=reactExports.useState(),[$t,xt]=reactExports.useState(),At=j==="setup",{loading:wt,loadingDiskInfo:Ct,loadingRuntimeInfo:Rt,error:It,blocklet:Mt,recommendedDomain:Ot,runtimeHistory:zt,actions:{refreshBlocklet:jt,refreshDomainStatus:Gt,setBlocklet:Jt}}=useBlocklet({did,client:client$1,useSubscription,getIP:getIp,useLocaleContext,getOptionalComponents:!0}),Xt=reactExports.useRef(void 0);Xt.current=(pt=Mt==null?void 0:Mt.meta)==null?void 0:pt.did;const dn=async()=>{try{tt(!0),et(null);const{data:mt}=await api.get("/blocklet/meta");ct(mt),tt(!1)}catch(mt){tt(!1),et(mt),Toast$1.error(mt.message)}},St=async({showError:mt=!0}={})=>{var Ut,Lt;if(!((Lt=(Ut=ot==null?void 0:ot.requirements)==null?void 0:Ut.fuels)!=null&&Lt.length))return null;const{endpoint:Et,value:Tt,address:yt}=ot.requirements.fuels[0],it=parseEndpoint(Et,Mt),bt=Tt;let kt=Tt;const Dt={endpoint:it,symbol:"",need:bt,current:0,owe:Number(bt)>0};try{const Vt=getChainClient(it),{config:Nt}=await getChainConfig(it),Yt=JSON.parse(Nt).token;let tn=yt;tn||(tn=Yt.address),vt({address:Yt.address,symbol:Yt.symbol,decimal:Yt.decimal});const{getAccountState:{state:an},getTokenState:{state:qt}}=await Vt.doBatchQuery({getAccountState:{address:appId},getTokenState:{address:tn}});qt&&(Dt.symbol=qt.symbol);const Pt=((an==null?void 0:an.tokens)||[]).find(Ht=>Ht.address===tn);if(Pt){const Ht=lib$4.fromTokenToUnit(bt,Pt.decimal||18);Dt.current=lib$4.fromUnitToToken(Pt.value,Pt.decimal||18),Dt.owe=Ht.gt(new lib$4.BN(Pt.value)),kt=Math.max(0,lib$4.fromUnitToToken(Ht.sub(new lib$4.BN(Pt.value)),Pt.decimal||18))}}catch(Vt){mt&&Toast$1.error(Vt.message)}return ht({...Dt,deficiency:kt}),Dt},rt=async({configs:mt,childDid:Et})=>(await client$1.configBlocklet({input:{did:[did].concat(Et).filter(Boolean),configs:mt}}),jt()),st=async mt=>{const{blocklet:Et}=await client$1.configNavigations({input:{did,navigations:mt}});Jt(Et)};reactExports.useEffect(()=>{At&&dn(),jt({showError:!1})},[]),reactExports.useEffect(()=>{var mt;(mt=Mt==null?void 0:Mt.controller)!=null&&mt.launcherSessionId&&client$1.getLauncherSession({input:{launcherSessionId:Mt.controller.launcherSessionId,launcherUrl:Mt.controller.launcherUrl}}).then(Et=>{xt(Et.launcherSession)}).catch(Et=>{console.error("get launcher session error",Et)})},[Mt==null?void 0:Mt.appPid]);const ut={loading:nt||wt,loadingDiskInfo:Ct,loadingRuntimeInfo:Rt,error:_e||It,blocklet:Mt,launcherSession:$t,did,recommendedDomain:Ot,runtimeHistory:zt,appIdList:Mt?util$1.getBlockletAppIdList(Mt):[],env:window.blocklet||{},meta:ot,gas:ft,tokenInfo:dt,client:client$1,mode:j,actions:{refreshBlocklet:jt,refreshDomainStatus:Gt,setBlocklet:Jt,refreshMeta:dn,refreshFuel:St,configBlocklet:rt,configNavigations:st}};return jsxRuntimeExports.jsx(Provider$2,{value:ut,children:a})}BlockletProvider.propTypes={children:PropTypes.any,mode:PropTypes.oneOf(["dashboard","setup"]).isRequired};BlockletProvider.defaultProps={children:null};function useBlockletContext(){return reactExports.useContext(BlockletContext)}const NodeContext=reactExports.createContext({});function useNodeContext$1(){const{node:a}=reactExports.useContext(NodeContext);return{...a,inService:a.type==="service",inDaemon:a.type==="daemon"}}const{Provider:Provider$1,Consumer:Consumer$1}=NodeContext,imgPrefix=`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images`;function NodeProvider({children:a}){const{serverDid:j,serverVersion:_e,mode:et,nftDomainUrl:nt,ownerNft:tt,launcher:ot}=window.env,ct={api:client$1,restApi:api,prefix:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,imgPrefix,getSessionInHeader:()=>({}),ws:{getWsClient,create,useSubscription},type:"service",info:{did:j,version:_e,mode:et,nftDomainUrl:nt,ownerNft:tt,launcher:ot}};return jsxRuntimeExports.jsx(Provider$1,{value:{node:ct},children:a})}function useNodeContext(){const{node:a}=reactExports.useContext(NodeContext);return a}const NotificationContext=reactExports.createContext({}),{Provider,Consumer}=NotificationContext;function NotificationProvider({children:a}){const{did:j}=window.env,[_e,et]=reactExports.useState([]),[nt,tt]=reactExports.useState({total:0,pageSize:10,pageCount:0,page:1}),[ot,ct]=reactExports.useState(!1),ft=async({page:dt=1}={})=>{if(!ot){ct(!0);try{const vt=await client$1.getBlockletNotifications({input:{paging:{page:dt},teamDid:j}});et(vt.list),tt(vt.paging),ct(!1)}catch(vt){Toast$1.error(vt.message),ct(!1)}}};reactExports.useEffect(()=>{ft()},[]),useSubscription(constant$3.EVENTS.NOTIFICATION_BLOCKLET_CREATE,dt=>{et(vt=>[dt,...vt||[]])});const ht={loading:ot,refresh:ft,data:_e||[],paging:nt,api:client$1};return jsxRuntimeExports.jsx(Provider,{value:{notifications:ht},children:a})}function useNotificationContext(){const{notifications:a}=reactExports.useContext(NotificationContext);return a}const UserLogin=reactExports.lazy(()=>__vitePreload(()=>import("./login-DyZA9iO2.js"),__vite__mapDeps([0,1,2]))),UserLoginOAuthCallback=reactExports.lazy(()=>__vitePreload(()=>import("./login-oauth-callback-C9pBHvVm.js"),__vite__mapDeps([3,4,5,6]))),Connect=reactExports.lazy(()=>__vitePreload(()=>import("./connect-BFfXSmaa.js"),__vite__mapDeps([7,8,1,9,10]))),ExchangePassport=reactExports.lazy(()=>__vitePreload(()=>import("./exchange-passport-CGMrX_va.js"),__vite__mapDeps([11,9,10,12]))),IssuePassport=reactExports.lazy(()=>__vitePreload(()=>import("./issue-passport-BAtnRtOM.js"),__vite__mapDeps([13,14,15,16,17,18,1,19,20,21,12,9,10]))),LostPassport=reactExports.lazy(()=>__vitePreload(()=>import("./lost-passport-UDuDlY7N.js"),__vite__mapDeps([22,21,23,24,15,16,17,25,10,12,1,26,6,27]))),Start=reactExports.lazy(()=>__vitePreload(()=>import("./start-DxaM-09J.js"),__vite__mapDeps([28,29,30,25,10,31,32,33,34]))),Setup=reactExports.lazy(()=>__vitePreload(()=>import("./setup-B6L46KHj.js"),__vite__mapDeps([35,36,8,37,32,33,34,31,38,39,40,41]))),Invite=reactExports.lazy(()=>__vitePreload(()=>import("./invite-BFrJHYMn.js"),__vite__mapDeps([42,14,15,16,17,18,1,19,20,21,12,9,10]))),Transfer=reactExports.lazy(()=>__vitePreload(()=>import("./transfer-DaOZAizQ.js"),__vite__mapDeps([43,32,33,34,9,10,21]))),Dashboard=reactExports.lazy(()=>__vitePreload(()=>import("./dashboard-vLl8x6aG.js").then(a=>a.k),__vite__mapDeps([44,45,46,47,48,49,50,51,52,5,6,53,54,29,55,56,57,26,19,58,59,60,10,61,4,62,63,64,41,65,66,33,67]))),UserCenter=reactExports.lazy(()=>__vitePreload(()=>import("./user-center-BO_McZ0Z.js"),__vite__mapDeps([68,69,4,62,63,64,41,65,47,48,49,50,66,33,70,26,6,71,72,73,8,10,40,74,75,55,52,76,77,78,79,45,80,81,82,83,84,16,85,86,87,57,88,54,89,90,15,17,91,92,93,5]))),StudioHome=reactExports.lazy(()=>__vitePreload(()=>import("./home-Bd2Tx88Q.js"),__vite__mapDeps([94,95,62,63,64,41,4,50]))),StudioPreferences=reactExports.lazy(()=>__vitePreload(()=>import("./preferences-BMHmIBuj.js"),__vite__mapDeps([96,97,95,62,63,64,41,4]))),StudioBranding=reactExports.lazy(()=>__vitePreload(()=>import("./branding-CNPED9Yg.js"),__vite__mapDeps([98,99,100,86,84,101,95,62,63,64,41,4,50,26,6]))),StudioLocalization=reactExports.lazy(()=>__vitePreload(()=>import("./localization-C1hNyLvD.js"),__vite__mapDeps([102,95,62,63,64,41,4]))),AddResource=reactExports.lazy(()=>__vitePreload(()=>import("./add-resource-B4KK4ENF.js"),__vite__mapDeps([103,104,105,106,47,48,49,50,52,76,77,78,5,6,53,107,24,99,108,109,51,19,25,10,26,55,110,84,111,112,113,91,36,8,37,114,115,116,117,118,119,39,120,121,54,46,122,123,66,27,124,125,126,127,72,73,40,74,75,70,128,4,129,130,90,80,63,88,93,38,41,131]))),Publish=reactExports.lazy(()=>__vitePreload(()=>import("./publish-resource-BcJxqHgb.js"),__vite__mapDeps([132,133,106,54,30,82,83,84,16,85,86,47,48,49,50,87,77,57,88,78,76,45,89,64,90,80,60,51,52,5,6,53,19,25,10,100,101,134,26,109,135,34,61,115,136,37,8,70,130,73,137,99,105,107,24,108,55,110,128,93,92,118,119,17,138,27,56]))),NotFoundPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-CAz4oQnr.js"),[])),EmailKyc=reactExports.lazy(()=>__vitePreload(()=>import("./email-fEPnd-HL.js"),__vite__mapDeps([139,140,141,9,10,53,21,142,50,76,77,49,78]))),Unsubscribe=reactExports.lazy(()=>__vitePreload(()=>import("./unsubscribe-DtBxc6TZ.js"),[])),OpenWindow=reactExports.lazy(()=>__vitePreload(()=>import("./open-window-T5jgTpk6.js"),[]));function App(){var et;const a=useLocation(),{t:j}=useLocaleContext();reactExports.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${a.pathname}${a.search}`)},[a]);const _e=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(HelmetExport,{children:jsxRuntimeExports.jsx("title",{children:j("pageTitle.dashboard")})}),jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:_e,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/open-window`,element:jsxRuntimeExports.jsx(OpenWindow,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:jsxRuntimeExports.jsx(LostPassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:jsxRuntimeExports.jsx(IssuePassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/login`,element:jsxRuntimeExports.jsx(UserLogin,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/oauth/callback/:provider`,element:jsxRuntimeExports.jsx(UserLoginOAuthCallback,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/connect`,element:jsxRuntimeExports.jsx(Connect,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:jsxRuntimeExports.jsx(ExchangePassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:jsxRuntimeExports.jsx(Invite,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/transfer`,element:jsxRuntimeExports.jsx(Transfer,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio`,element:jsxRuntimeExports.jsx(StudioHome,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/home`,element:jsxRuntimeExports.jsx(StudioHome,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,element:jsxRuntimeExports.jsx(StudioPreferences,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/branding`,element:jsxRuntimeExports.jsx(StudioBranding,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,element:jsxRuntimeExports.jsx(StudioLocalization,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/kyc/email`,element:jsxRuntimeExports.jsx(EmailKyc,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/start`,element:jsxRuntimeExports.jsx(AuthProvider,{children:jsxRuntimeExports.jsx(Start,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/setup/*`,element:jsxRuntimeExports.jsx(BlockletProvider,{mode:"setup",children:jsxRuntimeExports.jsx(Setup,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user/unsubscribe`,element:jsxRuntimeExports.jsx(Unsubscribe,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user/:tab`,element:jsxRuntimeExports.jsx(AuthProvider,{roles:["*"],children:jsxRuntimeExports.jsx(UserCenter,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user`,element:jsxRuntimeExports.jsx(AuthProvider,{roles:["*"],children:jsxRuntimeExports.jsx(UserCenter,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/:tab/*`,element:jsxRuntimeExports.jsx(NodeProvider,{children:jsxRuntimeExports.jsx(NotificationProvider,{children:jsxRuntimeExports.jsx(AuthProvider,{roles:["owner","admin","member"],children:jsxRuntimeExports.jsx(BlockletProvider,{mode:"dashboard",children:jsxRuntimeExports.jsx(Dashboard,{})})})})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`,element:jsxRuntimeExports.jsx(Navigate,{to:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/overview`,replace:!0})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/embed/resources/:componentDid/*`,element:jsxRuntimeExports.jsx(NodeProvider,{children:jsxRuntimeExports.jsx(AuthProvider,{roles:((et=window.blocklet)==null?void 0:et.tenantMode)===constant$2.BLOCKLET_TENANT_MODES.MULTIPLE?["owner","admin","guest"]:["owner","admin"],children:jsxRuntimeExports.jsx(BlockletProvider,{mode:"dashboard",children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:"add",element:jsxRuntimeExports.jsx(AddResource,{})}),jsxRuntimeExports.jsx(Route,{path:"publish/*",element:jsxRuntimeExports.jsx(Publish,{})}),jsxRuntimeExports.jsx(Route,{path:"*",element:jsxRuntimeExports.jsx(NotFoundPage,{})})]})})})})})]})})]})}function AppWrapper(){return jsxRuntimeExports.jsx(BrowserRouter,{basename:PREFIX,children:jsxRuntimeExports.jsx(Root$1,{children:jsxRuntimeExports.jsx(App,{})})})}const root=createRoot(document.getElementById("app"));root.render(jsxRuntimeExports.jsx(AppWrapper,{}));const prefix=constant$3.WELLKNOWN_SERVICE_PATH_PREFIX;{async function a(){const{register:j}=await __vitePreload(async()=>{const{register:_e}=await import("./index-DTEEl-sV.js");return{register:_e}},[]);j(`${prefix}/service-worker.js`.replace(/\/+/g,"/"),{registered(){console.info("Service worker has been registered.")},ready(){console.info("Service worker is active.")},cached(){console.info("Content has been cached for offline use.")},updatefound(){console.info("New content is downloading.")},updated(){console.info("New content is available; please refresh.")},offline(){console.info("No internet connection found. App is running in offline mode.")},error(_e){console.error("Error during service worker registration:",_e)}})}a()}export{interopRequireDefaultExports as $,AvatarWithErrorBoundary as A,Box as B,Center as C,DID as D,default_1$4 as E,useSearchParams as F,constant$3 as G,HelmetExport as H,Container$2 as I,PoweredBy as J,withHttps as K,Link as L,withHttp as M,DidConnect as N,getWebWalletUrl$1 as O,PropTypes as P,useReactive as Q,ResultWrapper as R,SessionContext as S,Typography as T,useRequest as U,createPassportSvg as V,isNumber$2 as W,useLatest as X,defaultDayjs as Y,requireCreateSvgIcon as Z,__read as _,Tooltip as a,MenuItem as a$,newStyled as a0,useMediaQuery as a1,LocaleContext as a2,ButtonComponent as a3,isFromWallet as a4,__vitePreload as a5,isFunction$8 as a6,api as a7,client$1 as a8,getManageSubscriptionURL as a9,Navigate as aA,createSvgIcon$1 as aB,Dialog as aC,formatDateTime as aD,getExplorerLink as aE,patchJsxToLocale as aF,Ie as aG,en$1 as aH,LocaleProvider as aI,useLocation as aJ,IconButton as aK,SessionUser as aL,generateUtilityClasses as aM,generateUtilityClass as aN,styled$1 as aO,capitalize$3 as aP,useDefaultProps as aQ,_objectWithoutPropertiesLoose$1 as aR,_extends$2 as aS,useSlotProps as aT,clsx$1 as aU,composeClasses as aV,ListContext as aW,useNodeContext$1 as aX,isDownloading as aY,Menu as aZ,Divider as a_,util$1 as aa,Global as ab,constant$2 as ac,isSuspended as ad,Img as ae,isSuspendedByExpired as af,isSuspendedByTerminated as ag,formatToDatetime as ah,calculateRetentionDate as ai,css as aj,Paper as ak,default_1$5 as al,create$3 as am,isObject$p as an,StyledEngineProvider as ao,ThemeProvider$1 as ap,ThemeProvider$4 as aq,useTheme$1 as ar,useBlockletContext as as,getFromQuery as at,saveServerUrl as au,hasRequiredEnvironments as av,PREFIX as aw,NodeProvider as ax,Routes as ay,Route as az,Button$1 as b,data$e as b$,getServerUrl as b0,sleep as b1,getLogoHash as b2,isInstalling as b3,useBlockletContext$1 as b4,getWalletType as b5,_SetCache as b6,_arrayMap as b7,_baseUnary as b8,_arrayIncludes as b9,styled as bA,colors$2 as bB,mergeProps as bC,useSubscription as bD,getWsClient as bE,useParams as bF,isFunction$3 as bG,__assign as bH,SessionContext$1 as bI,noop$6 as bJ,colors$1 as bK,Icon as bL,data$5 as bM,isEmpty$1 as bN,translate as bO,LOGIN_PROVIDER_NAME as bP,data$j as bQ,RelativeTime as bR,upperFirst$2 as bS,PASSPORT_STATUS as bT,data$a as bU,data$r as bV,getWalletDid$1 as bW,useConfirm as bX,OAUTH_PROVIDER as bY,LOGIN_PROVIDER$1 as bZ,data$f as b_,_arrayIncludesWith as ba,_cacheHas as bb,_baseFlatten as bc,_baseUniq as bd,_baseRest as be,getDefaultExportFromCjs$1 as bf,_arrayFilter as bg,last_1 as bh,isArrayLikeObject_1 as bi,hasOwn$8 as bj,Emotion$1 as bk,createEmotionProps as bl,getSubscriptionUrlV2 as bm,Chip as bn,dayjs$1 as bo,formatPrettyMsLocale as bp,Popover as bq,formatToDate as br,List as bs,BlockletAdminRoles as bt,Popper as bu,ClickAwayListener as bv,useNotificationContext as bw,useNodeContext as bx,ErrorBoundary as by,isServerless as bz,joinURL as c,getDialogTitleUtilityClass as c$,data$d as c0,pick$2 as c1,useAsyncEffect as c2,getConnectedAccounts$1 as c3,getSourceProvider$1 as c4,LinearProgress as c5,getQuery as c6,pWaitFor$1 as c7,cloneDeep$1 as c8,useUpdateEffect as c9,base64 as cA,BlockletSDK as cB,getAugmentedNamespace as cC,emotionReact_browser_esm as cD,emotionCache_browser_esm as cE,SvgIcon as cF,MenuList as cG,getColor as cH,getBackground as cI,isString$2 as cJ,merge$2 as cK,getThemeProps$1 as cL,useEnhancedEffect$1 as cM,keyframes as cN,getUnit as cO,toUnitless as cP,alpha$1 as cQ,ButtonBase as cR,debounce$4 as cS,ownerWindow as cT,useRtl as cU,useEventCallback$1 as cV,ownerDocument as cW,rootShouldForwardProp as cX,isMuiElement as cY,isHostComponent as cZ,DialogContext as c_,Dialog$1 as ca,axios$4 as cb,useUnmount as cc,lib$4 as cd,getDIDColor as ce,Card as cf,CardHeader as cg,CardContent as ch,CardActions as ci,o as cj,red as ck,darken_1 as cl,lighten_1 as cm,resolveComponentProps as cn,mergeSlotProps as co,useForkRef as cp,appendOwnerState as cq,getPath$1 as cr,alpha_1 as cs,useIsFocusVisible as ct,commonjsGlobal as cu,propTypesExports as cv,reactDomExports as cw,adapter as cx,get$6 as cy,Buffer$1$1 as cz,useSessionContext as d,emphasize$1 as d$,useTheme$2 as d0,DialogContent as d1,DialogActions as d2,getListItemIconUtilityClass as d3,listItemTextClasses as d4,getListItemTextUtilityClass as d5,ButtonGroupContext as d6,ButtonGroupButtonContext as d7,createChainedFunction$1 as d8,useControlled as d9,createTheme as dA,ThemeProvider as dB,withErrorBoundary as dC,omit$1 as dD,lib as dE,formatMuiErrorMessage$1 as dF,GlobalStyles$2 as dG,ThemeProvider$2 as dH,createSpacing as dI,createBreakpoints as dJ,createTheme$1 as dK,private_safeDarken_1 as dL,private_safeLighten_1 as dM,private_safeEmphasize_1 as dN,private_safeAlpha_1 as dO,private_safeColorChannel_1 as dP,defaultSxConfig as dQ,styleFunctionSx$1 as dR,getOverlayAlpha as dS,hslToRgb_1 as dT,THEME_ID as dU,createTypography as dV,createMuiTheme as dW,darken$1 as dX,decomposeColor$1 as dY,duration$2 as dZ,easing as d_,useId as da,throttle$3 as db,__spreadArray as dc,useSize as dd,Drawer as de,default_1$7 as df,NavLink as dg,matchPath as dh,Fade as di,AUTH_SERVICE_PREFIX$1 as dj,getTranslation as dk,SessionPermission as dl,NAVIGATION_URL as dm,createTheme$3 as dn,styled$2 as dp,handleBreakpoints as dq,resolveBreakpointValues as dr,createUnarySpacing as ds,deepmerge$1 as dt,mergeBreakpointsInOrder as du,extendSxProp as dv,useThemeProps as dw,getValue$4 as dx,tslib_es6$1 as dy,loadIcon as dz,useNavigate as e,require$$0$3 as e$,getContrastRatio$1 as e0,getLuminance$1 as e1,hexToRgb$1 as e2,hslToRgb$1 as e3,lighten$1 as e4,createMixins as e5,recomposeColor$1 as e6,responsiveFontSizes as e7,rgbToHex$1 as e8,getPaperUtilityClass as e9,_baseFindIndex as eA,toInteger_1 as eB,sortBy$1 as eC,global$2 as eD,hoistStatics as eE,GlobalStyles as eF,slotShouldForwardProp as eG,createAxios$2 as eH,flat as eI,AxiosError as eJ,lib$2 as eK,RELAY_SOCKET_PREFIX$1 as eL,defaultTheme$2 as eM,objectAssign$1 as eN,React$2 as eO,_inheritsLoose$2 as eP,ReactDOM as eQ,__awaiter as eR,__generator as eS,getTargetElement as eT,useEventListener as eU,Buffer$3 as eV,browser$1 as eW,get_1 as eX,uniq_1 as eY,pLimit_1 as eZ,require$$6 as e_,paperClasses as ea,getIconButtonUtilityClass as eb,iconButtonClasses as ec,getTypographyUtilityClass as ed,typographyClasses as ee,chipClasses as ef,getChipUtilityClass as eg,buttonClasses as eh,getButtonUtilityClass as ei,Grow as ej,PopoverPaper as ek,PopoverRoot as el,getOffsetLeft as em,getOffsetTop as en,getPopoverUtilityClass as eo,popoverClasses as ep,getMenuItemUtilityClass as eq,menuItemClasses as er,getTooltipUtilityClass as es,tooltipClasses as et,emotionSerialize_esm as eu,emotionUtils_browser_esm as ev,Close as ew,_baseIteratee as ex,isArrayLike_1 as ey,keys_1 as ez,useBrowser as f,checkIsWildcardDomain as f$,process$1$1 as f0,lib$5 as f1,urlPathFriendly$1 as f2,cloneDeep_1 as f3,getWebWalletUrl as f4,extractStatusUrlFromNextWorkflow as f5,hasRequiredSteps$1 as f6,getStoreList as f7,_baseOrderBy as f8,isArray_1 as f9,_baseMap as fA,isString_1 as fB,isPlainObject_1 as fC,requireObjectWithoutPropertiesLoose as fD,setRef as fE,_assertThisInitialized$1 as fF,ClickToCopy as fG,emphasize_1 as fH,Collapse as fI,getCSRFToken as fJ,axios$1 as fK,isExtracting as fL,APP_PREFIX as fM,_baseIndexOf as fN,_baseToString as fO,_baseTrim as fP,_castSlice as fQ,_charsEndIndex as fR,_stringToArray as fS,toString_1 as fT,hasRequiredSteps as fU,urlEvaluation as fV,isDidDomainOrIpEchoDomain as fW,shouldCheckDomainStatus as fX,validateDomain as fY,axios_1 as fZ,CopyButton as f_,omitBy$1 as fa,parseURL as fb,parseQuery as fc,parseFilename as fd,stringifyParsedURL as fe,useDebounceFn as ff,_t as fg,semver$1 as fh,formatRegistryLogoPath as fi,getBlockletLogoUrl as fj,formatMountPoint as fk,isNil$1 as fl,flatten$3 as fm,_default as fn,getBlockletMetaUrl as fo,isNewStoreUrl as fp,nested as fq,Check$1 as fr,createPassportSvg$2 as fs,normalizePathPrefix_1 as ft,engine as fu,camelCase$1 as fv,Confirm as fw,getPathPrefix as fx,identity_1 as fy,_baseForOwn as fz,getVisitorId$2 as g,colorChannel$1 as g$,sortDomains as g0,getSystemDomains as g1,resolveProps as g2,Cookie as g3,getAccessUrl as g4,useUpdate as g5,tmp as g6,util$7 as g7,shams$1 as g8,callBound$3 as g9,Timeout as gA,useTimeout as gB,teardown as gC,DefaultPropsProvider as gD,useDefaultProps$1 as gE,createContainer as gF,useTheme$3 as gG,GlobalStyles$1 as gH,RtlProvider as gI,backgroundColor as gJ,bgcolor as gK,blend$1 as gL,border as gM,borderBottom as gN,borderBottomColor as gO,borderColor as gP,borderLeft as gQ,borderLeftColor as gR,borderRadius as gS,borderRight as gT,borderRightColor as gU,borderTop as gV,borderTopColor as gW,borderTransform as gX,boxSizing as gY,breakpoints as gZ,color$1 as g_,objectKeys$3 as ga,hasPropertyDescriptors_1 as gb,defineDataProperty as gc,callBindExports as gd,safeBufferExports as ge,requireBrowser$9 as gf,requireElliptic as gg,requireCryptoBrowserify as gh,ripemd160 as gi,getInviteLink as gj,getIssuePassportLink as gk,getTextColor_1 as gl,isProtectedRole as gm,ms$1 as gn,getChainClient as go,compose as gp,style$1 as gq,borders as gr,grid as gs,palette as gt,sizing as gu,spacing as gv,globalStateClasses as gw,isGlobalState as gx,createBox as gy,ClassNameGenerator as gz,useSecurity as h,require$$5 as h$,columnGap as h0,createStyled$2 as h1,createUnaryUnit as h2,gap as h3,getStyleFromPropValue as h4,getStyleValue as h5,gridArea as h6,gridAutoColumns as h7,gridAutoFlow as h8,gridAutoRows as h9,sizeWidth as hA,sizingTransform as hB,systemDefaultTheme$1 as hC,unstable_createStyleFunctionSx as hD,useTheme$4 as hE,width as hF,TransitionGroup as hG,ENTERED as hH,ENTERING as hI,EXITING as hJ,TransitionGroupContext as hK,Transition$1 as hL,config$1 as hM,isRunning as hN,getTransferAppLink as hO,_copyArray as hP,DidAddressWrapper as hQ,copy$1 as hR,withTrailingSlash as hS,clsx$2 as hT,require$$1$4 as hU,require$$1$2 as hV,require$$4$3 as hW,colorManipulator as hX,require$$6$3 as hY,require$$6$2 as hZ,createStyled$1 as h_,gridColumn as ha,gridRow as hb,gridTemplateAreas as hc,gridTemplateColumns as hd,gridTemplateRows as he,height as hf,margin as hg,marginKeys as hh,maxHeight as hi,maxWidth as hj,minHeight as hk,minWidth as hl,outline as hm,outlineColor as hn,padding as ho,paddingKeys as hp,paletteTransform as hq,private_safeAlpha$1 as hr,private_safeColorChannel$1 as hs,private_safeDarken$1 as ht,private_safeEmphasize$1 as hu,private_safeLighten$1 as hv,rowGap as hw,shape as hx,shouldForwardProp$1 as hy,sizeHeight as hz,isUndefined$2 as i,isEqual$1 as i0,data$b as i1,clamp$1 as i2,extractEventHandlers as i3,forceReflow as i4,debounce_1 as i5,noop_1 as i6,formatTime as i7,hoistNonReactStatics_cjs as i8,isEqual_1$1 as i9,require$$2$1 as iA,require$$6$4 as iB,createPopper as iC,getScrollbarSize as iD,assertThisInitialized as iE,reactIsExports as iF,isValidClusterSize as iG,getBlockletUrlParams as iH,trimEnd$1 as iI,normalizePathPrefix$1 as iJ,_isIndex as iK,dialogClasses as iL,FocusTrap as iM,localizedFormatPlugin as iN,formatLocale as iO,_baseAssignValue as iP,pTimeout$2 as iQ,TimeoutError_1 as iR,uniq$1 as iS,Backdrop as iT,createRoot as iU,pick_1$1 as ia,isNil_1 as ib,omit_1 as ic,isAbsoluteUrl$1 as id,isObject_1 as ie,withoutTrailingSlash as ig,isAbsoluteUrl$2 as ih,nanoid as ii,isEqual$3 as ij,useEffectWithTarget$1 as ik,__values as il,isString$3 as im,_baseEach as io,_setPrototypeOf as ip,debounce$2 as iq,isNull$3 as ir,filesize as is,Icon$1 as it,CacheProvider as iu,createCache as iv,StyleSheet as iw,ThemeContext$1 as ix,React$3 as iy,isPlainObject$5 as iz,jsxRuntimeExports as j,useCreation as k,useMemoizedFn as l,useMount as m,CircularProgress as n,API_DID_PREFIX as o,AUTH_SERVICE_PREFIX as p,getMaster as q,reactExports as r,getFederatedEnabled as s,Toast$1 as t,useLocaleContext as u,setSessionToken as v,withQuery as w,setRefreshToken as x,setVisitorId as y,updateConnectedInfo as z};
|