@abtnode/blocklet-services 1.16.43-beta-20250429-130236-269254ff → 1.16.43-beta-20250430-124448-4edc5502

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.
Files changed (156) hide show
  1. package/api/libs/connect/session.js +4 -2
  2. package/api/middlewares/ensure-blocklet.js +1 -1
  3. package/api/routes/user-session.js +4 -2
  4. package/api/services/auth/session.js +13 -8
  5. package/dist/assets/{AdapterDayjs-D5LoqHiU.js → AdapterDayjs-BWhMsmQP.js} +1 -1
  6. package/dist/assets/{ArrowDropDown-BCCa5uRn.js → ArrowDropDown-DUCtp8oo.js} +1 -1
  7. package/dist/assets/{CheckCircle-Bxk_pKUt.js → CheckCircle-yKW43XdV.js} +1 -1
  8. package/dist/assets/{ChevronLeft-DgTQnUwX.js → ChevronLeft-6AvuBihM.js} +1 -1
  9. package/dist/assets/{ChevronRight-C-lajCDc.js → ChevronRight-BsdsjNxw.js} +1 -1
  10. package/dist/assets/{DeleteOutline-Csdx_lih.js → DeleteOutline-D_I07sPe.js} +1 -1
  11. package/dist/assets/{Done-DjB4uf97.js → Done-DLTvHdZB.js} +1 -1
  12. package/dist/assets/{Download-CF6ZhZfD.js → Download-DKz_gZX5.js} +1 -1
  13. package/dist/assets/{Edit-C-zkyYSj.js → Edit-odNPT5GK.js} +1 -1
  14. package/dist/assets/{Error-DnzvDd2d.js → Error-js7ePZ5o.js} +1 -1
  15. package/dist/assets/{ExpandLess-DBN4huDO.js → ExpandLess-TUium4RQ.js} +1 -1
  16. package/dist/assets/{Google-VfyWFLKO.js → Google-C7d25Q5r.js} +1 -1
  17. package/dist/assets/{InfoOutlined-BMb9Zu84.js → InfoOutlined-BjII93aR.js} +1 -1
  18. package/dist/assets/{Launch-CVPYIHzD.js → Launch-ryL3I8d9.js} +1 -1
  19. package/dist/assets/{LaunchOutlined-faHvtBle.js → LaunchOutlined-D21Xchdf.js} +1 -1
  20. package/dist/assets/{MoreHoriz-CT231fLS.js → MoreHoriz-DHyMdwpT.js} +1 -1
  21. package/dist/assets/{PlayArrow-CVHX5RbU.js → PlayArrow-zDVVYX6u.js} +1 -1
  22. package/dist/assets/{TuneOutlined-DcBuSd1o.js → TuneOutlined-Bv7cSbWT.js} +1 -1
  23. package/dist/assets/{ViewList-rVo7d5VV.js → ViewList-Ca1IEB31.js} +1 -1
  24. package/dist/assets/{access-control-Cum8iIaB.js → access-control-CwSjARsN.js} +1 -1
  25. package/dist/assets/{actions-D-Helr6n.js → actions-BW0Vx00_.js} +1 -1
  26. package/dist/assets/{add-component-core-kWUUw0fB.js → add-component-core-DXp_ntZ3.js} +1 -1
  27. package/dist/assets/{add-resource-DEesv1LC.js → add-resource-CmPIp37F.js} +1 -1
  28. package/dist/assets/{addon-B5zwPHe5.js → addon-FArG2oUy.js} +1 -1
  29. package/dist/assets/{advanced-CjSPlkxp.js → advanced-mJXTlRFz.js} +2 -2
  30. package/dist/assets/api-Bf1onQOz.js +1 -0
  31. package/dist/assets/{appearance-rlMOco_Q.js → appearance-D9WrcbPF.js} +1 -1
  32. package/dist/assets/{audit-logs-BpacJ0mq.js → audit-logs-CVUuBgdy.js} +1 -1
  33. package/dist/assets/{authorize-Dup4yiJg.js → authorize-Bk0sIDAH.js} +1 -1
  34. package/dist/assets/{base32-yUUlhgnG.js → base32-C_EKY5vU.js} +1 -1
  35. package/dist/assets/{branding-BB4z7dex.js → branding-BoSHL25b.js} +2 -2
  36. package/dist/assets/{branding-3E94pu9e.js → branding-Cywl-fod.js} +4 -4
  37. package/dist/assets/{bundle-avatar-njRzpG6o.js → bundle-avatar-BXQsJw7m.js} +1 -1
  38. package/dist/assets/{button-DRqMfYjF.js → button-h00yLUET.js} +1 -1
  39. package/dist/assets/{click-to-copy-CSwBjJDI.js → click-to-copy-0s0a7Ak5.js} +1 -1
  40. package/dist/assets/{cloneDeep-Cg0h_FaY.js → cloneDeep-WT_kDeVd.js} +1 -1
  41. package/dist/assets/{complete-lhAOowgH.js → complete--raviZZ4.js} +1 -1
  42. package/dist/assets/{component-DG-t6Jac.js → component-C3maTG8x.js} +72 -69
  43. package/dist/assets/{config-Ct2icT-j.js → config-Die5cVWR.js} +1 -1
  44. package/dist/assets/{config-BWuaMoux.js → config-e3P85n7z.js} +1 -1
  45. package/dist/assets/{config-navigation-BZ3T8tYK.js → config-navigation-DhvlW96p.js} +6 -6
  46. package/dist/assets/{config-space-CKx83vmi.js → config-space-CHI2AzS5.js} +1 -1
  47. package/dist/assets/{confirm-Bj4L0Vn8.js → confirm-BqrhdaU7.js} +1 -1
  48. package/dist/assets/connect-DGOqnhoS.js +5 -0
  49. package/dist/assets/{connect-v2Zx9JEk.js → connect-cpTXz6hq.js} +1 -1
  50. package/dist/assets/{connect-to-lcfZI_0b.js → connect-to-C1xSYa-8.js} +1 -1
  51. package/dist/assets/dashboard-CvJ8cVy-.js +280 -0
  52. package/dist/assets/{delete-confirm-kpan5KFX.js → delete-confirm-CmXluMcs.js} +1 -1
  53. package/dist/assets/{did-address-CJZtrzhT.js → did-address-C6ni99I7.js} +1 -1
  54. package/dist/assets/{domain-C8nJlURa.js → domain-B7m2mZGp.js} +1 -1
  55. package/dist/assets/{domain-action-card-BZ3CFKs5.js → domain-action-card-DIGUxqW7.js} +1 -1
  56. package/dist/assets/domains-DV-Gl3-a.js +1 -0
  57. package/dist/assets/{dot-CaKxEi_0.js → dot-WAAJ-O65.js} +1 -1
  58. package/dist/assets/{email-BjCEb0WI.js → email-CxndZMem.js} +2 -2
  59. package/dist/assets/{exchange-passport-B_b6xNH8.js → exchange-passport-JjK-mItt.js} +1 -1
  60. package/dist/assets/{fuel-Dtvd1fJW.js → fuel-bktBZZhG.js} +1 -1
  61. package/dist/assets/{gen-access-key-DsGgHUvi.js → gen-access-key-CPCwDcVa.js} +1 -1
  62. package/dist/assets/{get-safe-url-BTmcSfZP.js → get-safe-url-C-CJKtkC.js} +1 -1
  63. package/dist/assets/{get-safe-url-BYr2jgRv.js → get-safe-url-cyoeQ7Mw.js} +1 -1
  64. package/dist/assets/{home-ClwQWk4f.js → home-BclSkhw2.js} +1 -1
  65. package/dist/assets/{iframe-B7H87IMw.js → iframe-DZlnwo40.js} +1 -1
  66. package/dist/assets/{index-C-rP7qS0.js → index--MMFwLMX.js} +1 -1
  67. package/dist/assets/{index-D9eW5l3E.js → index-17ov_POl.js} +1 -1
  68. package/dist/assets/index-BAstW3VS.js +137 -0
  69. package/dist/assets/{index-C1UHqpp3.js → index-Bdi900W2.js} +3 -3
  70. package/dist/assets/{index-CEmSUlto.js → index-BhX4Vx5B.js} +3 -3
  71. package/dist/assets/{index-2eL6Ndgh.js → index-BugTfB-J.js} +1 -1
  72. package/dist/assets/index-C-rU1lEd.js +10 -0
  73. package/dist/assets/{index-CVKN_Jn1.js → index-C0x4zVBW.js} +2 -2
  74. package/dist/assets/index-C4pzdyRW.js +1 -0
  75. package/dist/assets/{index-B9lBWxnt.js → index-C8EYAWok.js} +2 -2
  76. package/dist/assets/index-CLD6I2fv.js +6 -0
  77. package/dist/assets/{index-a0ZdM5aG.js → index-COTyGW2s.js} +1 -1
  78. package/dist/assets/{index-BDaAwySV.js → index-CiIQJxvH.js} +1 -1
  79. package/dist/assets/{index-Cb1OPKJL.js → index-CksPySYI.js} +86 -93
  80. package/dist/assets/{index-DHIWtN6I.js → index-DJeuTVoT.js} +7 -7
  81. package/dist/assets/{index-DyKjKMmu.js → index-DODYa3Im.js} +1 -1
  82. package/dist/assets/{index-B1ljmpu4.css → index-DOq-_YXu.css} +1 -1
  83. package/dist/assets/{index-i5c4XeO-.js → index-D_z5kVUS.js} +1 -1
  84. package/dist/assets/{index-Cx-tuAMi.js → index-DdLPuFP7.js} +1 -1
  85. package/dist/assets/{index-BUrD6xiH.js → index-DxR1P6Lh.js} +4 -4
  86. package/dist/assets/{index-BOvzhuNp.js → index-htPha6tP.js} +2 -2
  87. package/dist/assets/{invitation-DGRUoRzD.js → invitation-sucipANy.js} +8 -8
  88. package/dist/assets/{invite-uoA9amq7.js → invite-Bkpf8YcY.js} +1 -1
  89. package/dist/assets/{issue-passport-2LsCG1Ym.js → issue-passport-Dm4XKvqR.js} +1 -1
  90. package/dist/assets/{item-taL0aTyr.js → item-CCsztPdL.js} +2 -2
  91. package/dist/assets/landing-page-BJMRDSCP.js +1 -0
  92. package/dist/assets/{layout-DAempiIX.js → layout-DV03YuuA.js} +1 -1
  93. package/dist/assets/list-BgP6u-5j.js +236 -0
  94. package/dist/assets/localization-CTzQFuMS.js +1 -0
  95. package/dist/assets/{log-CL673QLU.js → log-B4LRFTNR.js} +1 -1
  96. package/dist/assets/{logger-OMyVyA8K.js → logger-8RyN9oiF.js} +1 -1
  97. package/dist/assets/{login-CsMJeMSS.js → login-B6TE3gqj.js} +1 -1
  98. package/dist/assets/{login-oauth-callback-Bh6TJ59S.js → login-oauth-callback-CPP0UVME.js} +1 -1
  99. package/dist/assets/{logo-uploader-DFGj09Gp.js → logo-uploader-DMxsEq63.js} +3 -4
  100. package/dist/assets/{lost-passport-D00cnWl_.js → lost-passport-ekwdQ24A.js} +1 -1
  101. package/dist/assets/{omit-1zyydTZL.js → omit-DNeUY6_X.js} +1 -1
  102. package/dist/assets/{open-window-xLNOSl03.js → open-window-BjXpEOv2.js} +1 -1
  103. package/dist/assets/{overview-Ds0WiSnv.js → overview-CJRHh92f.js} +1 -1
  104. package/dist/assets/{page-header-BXC_EZqA.js → page-header-MKUHlyAT.js} +1 -1
  105. package/dist/assets/{passport-item-Dpr4rKdD.js → passport-item-jrknj0MQ.js} +1 -1
  106. package/dist/assets/{permission-DDLyDuSn.js → permission-PNXSTeNL.js} +1 -1
  107. package/dist/assets/{preferences-DXw1rfcr.js → preferences-9BJlt30G.js} +1 -1
  108. package/dist/assets/{profile-embed-co2rsGfl.js → profile-embed-CIWdUuC6.js} +1 -1
  109. package/dist/assets/publish-resource-BQg2Vwb0.js +1 -0
  110. package/dist/assets/{react-beautiful-dnd.esm-CeODMcuS.js → react-beautiful-dnd.esm-C1Wt0pHO.js} +1 -1
  111. package/dist/assets/{relative-time-DlN06RKr.js → relative-time-cijkMMnc.js} +1 -1
  112. package/dist/assets/runtime-71FSw-R0.js +1 -0
  113. package/dist/assets/sdk-BXECCi1q.js +1 -0
  114. package/dist/assets/{security-CHs7ENbZ.js → security-Y5seZEn6.js} +1 -1
  115. package/dist/assets/{session-j-9KoWbs.js → session-DLQ0rbYE.js} +1 -1
  116. package/dist/assets/{setup-CGwOCqjv.js → setup-4hj9RPfM.js} +12 -7
  117. package/dist/assets/{spaces-CZHg-rr5.js → spaces-CP1iyRKS.js} +1 -1
  118. package/dist/assets/{start-Chlvxw3J.js → start-Bt5Vo3K8.js} +1 -1
  119. package/dist/assets/{starting-progress-DpqgCEFM.js → starting-progress-yIv14mT6.js} +1 -1
  120. package/dist/assets/{status-XLk6MkKv.js → status-BKlS-OSq.js} +1 -1
  121. package/dist/assets/{step-actions-hjC-pbPT.js → step-actions-DMwF4axn.js} +1 -1
  122. package/dist/assets/{studio-DrYhFxCD.js → studio-BR3c6nt5.js} +1 -1
  123. package/dist/assets/{switch-control-CqfXXgvP.js → switch-control-yJOWKqcv.js} +1 -1
  124. package/dist/assets/{traffic-Dbf1L1c0.js → traffic-BzRbyLJ-.js} +1 -1
  125. package/dist/assets/{transfer-GcIVZcyL.js → transfer-Ds9NQ12A.js} +1 -1
  126. package/dist/assets/{unsubscribe-D2dQlJJM.js → unsubscribe-hfXD8-ea.js} +1 -1
  127. package/dist/assets/use-blocklet-logo-BOYeM9RY.js +1 -0
  128. package/dist/assets/{useAsync-DXeWUWXr.js → useAsync-GjVghrwi.js} +1 -1
  129. package/dist/assets/{useLocalStorage-Cb6R1F6v.js → useLocalStorage-CXDkfohf.js} +1 -1
  130. package/dist/assets/{user-center-D7lo6m0u.js → user-center-CBh-mxjZ.js} +1 -1
  131. package/dist/assets/{util-BcFfyz6S.js → util-D-LnEy9h.js} +1 -1
  132. package/dist/assets/{util-BYQQqvk1.js → util-DJFgW-07.js} +1 -1
  133. package/dist/assets/{vendor-arcblock-CX-5Ex_f.js → vendor-arcblock-Dkhgjlzn.js} +81 -81
  134. package/dist/assets/{vendor-hooks-DpLLpTSZ.js → vendor-hooks-DXGUREV9.js} +1 -1
  135. package/dist/assets/{vendor-utils-BUwfcN20.js → vendor-utils-CjMBJT5V.js} +17 -17
  136. package/dist/assets/vendor-ux-did-connect-D4-ZeZHm.js +2292 -0
  137. package/dist/assets/{wrap-locale-CzSOEkvO.js → wrap-locale-Dob_mf2V.js} +1 -1
  138. package/dist/index.html +6 -6
  139. package/dist/service-worker.js +2 -2
  140. package/package.json +43 -43
  141. package/dist/assets/api-BkKTvlm_.js +0 -1
  142. package/dist/assets/connect-BoejDqj-.js +0 -5
  143. package/dist/assets/dashboard-0TEl6bJJ.js +0 -280
  144. package/dist/assets/domains-Cn_DfzNS.js +0 -1
  145. package/dist/assets/index-Bco7nZ5q.js +0 -6
  146. package/dist/assets/index-CjZLIV87.js +0 -10
  147. package/dist/assets/index-DAer_mWn.js +0 -137
  148. package/dist/assets/index-M6peJL7s.js +0 -1
  149. package/dist/assets/landing-page-EY5bGAu7.js +0 -1
  150. package/dist/assets/list-B1E5dxgu.js +0 -236
  151. package/dist/assets/localization-Di0I0VVv.js +0 -1
  152. package/dist/assets/publish-resource-CBR18Gc3.js +0 -1
  153. package/dist/assets/runtime-nJVx0iKJ.js +0 -1
  154. package/dist/assets/sdk-DICk2ZHP.js +0 -1
  155. package/dist/assets/use-blocklet-logo-DryhoHen.js +0 -1
  156. package/dist/assets/vendor-ux-did-connect-DVrP2LNw.js +0 -2295
@@ -1 +1 @@
1
- import{aC as _,L as i}from"./vendor-ux-did-connect-DVrP2LNw.js";import{_ as e}from"./vendor-arcblock-CX-5Ex_f.js";import{y as a}from"./index-Cb1OPKJL.js";import{j as r}from"./vendor-mui-core-B6POpIBB.js";const u={en:_(a),ar:()=>e(()=>import("./ar-Duy7ZH--.js"),[]).then(t=>_(t.default)),de:()=>e(()=>import("./de-jJ-wrtW1.js"),[]).then(t=>_(t.default)),es:()=>e(()=>import("./es-CoGP0eAj.js"),[]).then(t=>_(t.default)),fr:()=>e(()=>import("./fr-yctlgsrj.js"),[]).then(t=>_(t.default)),hi:()=>e(()=>import("./hi-Dh_pGPBD.js"),[]).then(t=>_(t.default)),id:()=>e(()=>import("./id-cicarMJv.js"),[]).then(t=>_(t.default)),ja:()=>e(()=>import("./ja-Bm56AvcM.js"),[]).then(t=>_(t.default)),ko:()=>e(()=>import("./ko-B0ZZ2RWO.js"),[]).then(t=>_(t.default)),pt:()=>e(()=>import("./pt-6Xqu-_a4.js"),[]).then(t=>_(t.default)),ru:()=>e(()=>import("./ru-y0N1jyVB.js"),[]).then(t=>_(t.default)),th:()=>e(()=>import("./th-CJa7646q.js"),[]).then(t=>_(t.default)),vi:()=>e(()=>import("./vi-Rc5fwdQU.js"),[]).then(t=>_(t.default)),"zh-TW":()=>e(()=>import("./zh-tw-BSUxp5LQ.js"),[]).then(t=>_(t.default)),zh:()=>e(()=>import("./zh-J32RyrWT.js"),[]).then(t=>_(t.default))};function f(t){return function(o){return r.jsx(i,{translations:u,children:r.jsx(t,{...o})})}}export{f as w};
1
+ import{aB as _,L as i}from"./vendor-ux-did-connect-D4-ZeZHm.js";import{_ as e}from"./vendor-arcblock-Dkhgjlzn.js";import{y as a}from"./index-CksPySYI.js";import{j as r}from"./vendor-mui-core-B6POpIBB.js";const u={en:_(a),ar:()=>e(()=>import("./ar-Duy7ZH--.js"),[]).then(t=>_(t.default)),de:()=>e(()=>import("./de-jJ-wrtW1.js"),[]).then(t=>_(t.default)),es:()=>e(()=>import("./es-CoGP0eAj.js"),[]).then(t=>_(t.default)),fr:()=>e(()=>import("./fr-yctlgsrj.js"),[]).then(t=>_(t.default)),hi:()=>e(()=>import("./hi-Dh_pGPBD.js"),[]).then(t=>_(t.default)),id:()=>e(()=>import("./id-cicarMJv.js"),[]).then(t=>_(t.default)),ja:()=>e(()=>import("./ja-Bm56AvcM.js"),[]).then(t=>_(t.default)),ko:()=>e(()=>import("./ko-B0ZZ2RWO.js"),[]).then(t=>_(t.default)),pt:()=>e(()=>import("./pt-6Xqu-_a4.js"),[]).then(t=>_(t.default)),ru:()=>e(()=>import("./ru-y0N1jyVB.js"),[]).then(t=>_(t.default)),th:()=>e(()=>import("./th-CJa7646q.js"),[]).then(t=>_(t.default)),vi:()=>e(()=>import("./vi-Rc5fwdQU.js"),[]).then(t=>_(t.default)),"zh-TW":()=>e(()=>import("./zh-tw-BSUxp5LQ.js"),[]).then(t=>_(t.default)),zh:()=>e(()=>import("./zh-J32RyrWT.js"),[]).then(t=>_(t.default))};function f(t){return function(o){return r.jsx(i,{translations:u,children:r.jsx(t,{...o})})}}export{f as w};
package/dist/index.html CHANGED
@@ -15,16 +15,16 @@
15
15
  background-color: transparent;
16
16
  }
17
17
  </style>
18
- <script type="module" crossorigin src="/.well-known/service/static/assets/index-Cb1OPKJL.js"></script>
18
+ <script type="module" crossorigin src="/.well-known/service/static/assets/index-CksPySYI.js"></script>
19
19
  <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-react-DEoibe3W.js">
20
20
  <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-mui-core-B6POpIBB.js">
21
- <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-utils-BUwfcN20.js">
22
- <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-hooks-DpLLpTSZ.js">
21
+ <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-utils-CjMBJT5V.js">
22
+ <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-hooks-DXGUREV9.js">
23
23
  <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/lottie-web-jYmAQWuC.js">
24
- <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-ux-did-connect-DVrP2LNw.js">
25
- <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-arcblock-CX-5Ex_f.js">
24
+ <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-ux-did-connect-D4-ZeZHm.js">
25
+ <link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-arcblock-Dkhgjlzn.js">
26
26
  <link rel="stylesheet" crossorigin href="/.well-known/service/static/assets/vendor-ux-did-connect-DpSGLE7B.css">
27
- <link rel="stylesheet" crossorigin href="/.well-known/service/static/assets/index-B1ljmpu4.css">
27
+ <link rel="stylesheet" crossorigin href="/.well-known/service/static/assets/index-DOq-_YXu.css">
28
28
  <link rel="manifest" href="/.well-known/service/static/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/.well-known/service/static/registerSW.js"></script></head>
29
29
 
30
30
  <body>
@@ -1,2 +1,2 @@
1
- try{self["workbox:core:7.0.0"]&&_()}catch{}const ue=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},fe=ue;let R=class extends Error{constructor(e,t){const n=fe(e,t);super(n),this.name=e,this.details=t}};const de=new Set,d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},M=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),pe=s=>{for(const e of Object.keys(d))s(e)},ge={updateDetails:s=>{pe(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||M(d.googleAnalytics),getPrecacheName:s=>s||M(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||M(d.runtime),getSuffix:()=>d.suffix};function q(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function me(s,e,t,n){const a=q(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=q(c.url,t);if(a===o)return s.match(c,n)}}let we=class{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};async function ye(){for(const s of de)await s()}const _e=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function Re(s){return new Promise(e=>setTimeout(e,s))}function be(){self.addEventListener("activate",()=>self.clients.claim())}try{self["workbox:core:7.0.0"]&&_()}catch{}const Ce=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},xe=Ce;let u=class extends Error{constructor(e,t){const n=xe(e,t);super(n),this.name=e,this.details=t}};const p={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},A=s=>[p.prefix,s,p.suffix].filter(e=>e&&e.length>0).join("-"),ke=s=>{for(const e of Object.keys(p))s(e)},B={updateDetails:s=>{ke(e=>{typeof s[e]=="string"&&(p[e]=s[e])})},getGoogleAnalyticsName:s=>s||A(p.googleAnalytics),getPrecacheName:s=>s||A(p.precache),getPrefix:()=>p.prefix,getRuntimeName:s=>s||A(p.runtime),getSuffix:()=>p.suffix};function V(s,e){const t=e();return s.waitUntil(t),t}try{self["workbox:precaching:7.0.0"]&&_()}catch{}const Ee="__WB_REVISION__";function De(s){if(!s)throw new u("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const r=new URL(s,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=s;if(!t)throw new u("add-to-cache-list-unexpected-type",{entry:s});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const n=new URL(t,location.href),a=new URL(t,location.href);return n.searchParams.set(Ee,e),{cacheKey:n.href,url:a.href}}class Ue{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;n?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return n}}}class Le{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const a=(n==null?void 0:n.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}let C;function Pe(){if(C===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),C=!0}catch{C=!1}C=!1}return C}async function Te(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new u("cross-origin-copy-response",{origin:t});const n=s.clone(),r={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},i=Pe()?n.body:await n.blob();return new Response(i,r)}const ve=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function G(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function Ne(s,e,t,n){const a=G(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=G(c.url,t);if(a===o)return s.match(c,n)}}class Me{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}const Ae=new Set;async function Oe(){for(const s of Ae)await s()}function Se(s){return new Promise(e=>setTimeout(e,s))}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function U(s){return typeof s=="string"?new Request(s):s}let Ie=class{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new Me,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=U(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new u("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=U(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=U(e);await Se(0);const a=await this.getCacheKey(n,"write");if(!t)throw new u("cache-put-with-no-response",{url:ve(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),l=this.hasCallback("cacheDidUpdate"),f=l?await Ne(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?r.clone():r)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await Oe(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:i,oldResponse:f,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=U(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}},Ke=class{constructor(e={}){this.cacheName=B.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new Ie(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new u("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}};class y extends Ke{constructor(e={}){e.cacheName=B.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(y.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const a=t.params||{};if(this._fallbackToNetwork){const r=a.integrity,i=e.integrity,c=!i||i===r;n=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?i||r:void 0})),r&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new u("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new u("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,a]of this.plugins.entries())a!==y.copyRedirectedCacheableResponsesPlugin&&(a===y.defaultPrecacheCacheabilityPlugin&&(e=n),a.cacheWillUpdate&&t++);t===0?this.plugins.push(y.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}y.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};y.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await Te(s):s}};class We{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new y({cacheName:B.getPrecacheName(e),plugins:[...t,new Le({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:a,url:r}=De(n),i=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==a)throw new u("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:a});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==n.integrity)throw new u("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(a,n.integrity)}if(this._urlsToCacheKeys.set(r,a),this._urlsToCacheModes.set(r,i),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")}
2
- This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return V(e,async()=>{const t=new Ue;this.strategy.plugins.push(t);for(const[r,i]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(i),o=this._urlsToCacheModes.get(r),l=new Request(r,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:l,event:e}))}const{updatedURLs:n,notUpdatedURLs:a}=t;return{updatedURLs:n,notUpdatedURLs:a}})}activate(e){return V(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(const i of n)a.has(i.url)||(await t.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new u("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let O;const Z=()=>(O||(O=new We),O);try{self["workbox:routing:7.0.0"]&&_()}catch{}const ee="GET",T=s=>s&&typeof s=="object"?s:{handle:s};let D=class{constructor(e,t,n=ee){this.handler=T(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=T(e)}},$e=class extends D{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}},je=class{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:n,request:e,event:t,params:r})}catch(h){l=Promise.reject(h)}const f=i&&i.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:n,request:e,event:t,params:r})}catch(b){b instanceof Error&&(h=b)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=ee){this._defaultHandlerMap.set(t,T(e))}setCatchHandler(e){this._catchHandler=T(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new u("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new u("unregister-route-route-not-registered")}},x;const He=()=>(x||(x=new je,x.addFetchListener(),x.addCacheListener()),x);function Be(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new D(i,e,t)}else if(s instanceof RegExp)n=new $e(s,e,t);else if(typeof s=="function")n=new D(s,e,t);else if(s instanceof D)n=s;else throw new u("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return He().registerRoute(n),n}function Fe(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*qe(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(s,location.href);r.hash="",yield r.href;const i=Fe(r,e);if(yield i.href,t&&i.pathname.endsWith("/")){const c=new URL(i.href);c.pathname+=t,yield c.href}if(n){const c=new URL(i.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:r});for(const o of c)yield o.href}}class Ve extends D{constructor(e,t){const n=({request:a})=>{const r=e.getURLsToCacheKeys();for(const i of qe(a.url,t)){const c=r.get(i);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(n,e.strategy)}}function Ge(s){const e=Z(),t=new Ve(e,s);Be(t)}function Je(s){Z().precache(s)}function Qe(s,e){Je(s),Ge(e)}try{self["workbox:core:7.0.0"]&&_()}catch{}const ze=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Ye=ze;class Xe extends Error{constructor(e,t){const n=Ye(e,t);super(n),this.name=e,this.details=t}}function te(s){s.then(()=>{})}const Ze=(s,e)=>e.some(t=>s instanceof t);let J,Q;function et(){return J||(J=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function tt(){return Q||(Q=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const se=new WeakMap,$=new WeakMap,ne=new WeakMap,S=new WeakMap,F=new WeakMap;function st(s){const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("success",r),s.removeEventListener("error",i)},r=()=>{t(m(s.result)),a()},i=()=>{n(s.error),a()};s.addEventListener("success",r),s.addEventListener("error",i)});return e.then(t=>{t instanceof IDBCursor&&se.set(t,s)}).catch(()=>{}),F.set(e,s),e}function nt(s){if($.has(s))return;const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("complete",r),s.removeEventListener("error",i),s.removeEventListener("abort",i)},r=()=>{t(),a()},i=()=>{n(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",r),s.addEventListener("error",i),s.addEventListener("abort",i)});$.set(s,e)}let j={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return $.get(s);if(e==="objectStoreNames")return s.objectStoreNames||ne.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return m(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function at(s){j=s(j)}function rt(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(I(this),e,...t);return ne.set(n,e.sort?e.sort():[e]),m(n)}:tt().includes(s)?function(...e){return s.apply(I(this),e),m(se.get(this))}:function(...e){return m(s.apply(I(this),e))}}function it(s){return typeof s=="function"?rt(s):(s instanceof IDBTransaction&&nt(s),Ze(s,et())?new Proxy(s,j):s)}function m(s){if(s instanceof IDBRequest)return st(s);if(S.has(s))return S.get(s);const e=it(s);return e!==s&&(S.set(s,e),F.set(e,s)),e}const I=s=>F.get(s);function ct(s,e,{blocked:t,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(s,e),c=m(i);return n&&i.addEventListener("upgradeneeded",o=>{n(m(i.result),o.oldVersion,o.newVersion,m(i.transaction),o)}),t&&i.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{r&&o.addEventListener("close",()=>r()),a&&o.addEventListener("versionchange",l=>a(l.oldVersion,l.newVersion,l))}).catch(()=>{}),c}function ot(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",n=>e(n.oldVersion,n)),m(t).then(()=>{})}const lt=["get","getKey","getAll","getAllKeys","count"],ht=["put","add","delete","clear"],K=new Map;function z(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(K.get(e))return K.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,a=ht.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(a||lt.includes(t)))return;const r=async function(i,...c){const o=this.transaction(i,a?"readwrite":"readonly");let l=o.store;return n&&(l=l.index(c.shift())),(await Promise.all([l[t](...c),a&&o.done]))[0]};return K.set(e,r),r}at(s=>({...s,get:(e,t,n)=>z(e,t)||s.get(e,t,n),has:(e,t)=>!!z(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.0.0"]&&_()}catch{}const ut="workbox-expiration",k="cache-entries",Y=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class ft{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(k,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&ot(this._cacheName)}async setTimestamp(e,t){e=Y(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(k,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const n=await(await this.getDb()).get(k,this._getId(e));return n==null?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let a=await n.transaction(k).store.index("timestamp").openCursor(null,"prev");const r=[];let i=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp<e||t&&i>=t?r.push(a.value):i++),a=await a.continue()}const c=[];for(const o of r)await n.delete(k,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+Y(e)}async getDb(){return this._db||(this._db=await ct(ut,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class dt{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new ft(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const a of t)await n.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,te(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<n:!0}else return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}const g={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},W=s=>[g.prefix,s,g.suffix].filter(e=>e&&e.length>0).join("-"),pt=s=>{for(const e of Object.keys(g))s(e)},gt={updateDetails:s=>{pt(e=>{typeof s[e]=="string"&&(g[e]=s[e])})},getGoogleAnalyticsName:s=>s||W(g.googleAnalytics),getPrecacheName:s=>s||W(g.precache),getPrefix:()=>g.prefix,getRuntimeName:s=>s||W(g.runtime),getSuffix:()=>g.suffix},mt=new Set;function wt(s){mt.add(s)}class yt{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:n,cacheName:a,cachedResponse:r})=>{if(!r)return null;const i=this._isResponseDateFresh(r),c=this._getCacheExpiration(a);te(c.expireEntries());const o=c.updateTimestamp(n.url);if(t)try{t.waitUntil(o)}catch{}return i?r:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(n.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&wt(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===gt.getRuntimeName())throw new Xe("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new dt(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:routing:7.0.0"]&&_()}catch{}const ae="GET",v=s=>s&&typeof s=="object"?s:{handle:s};class P{constructor(e,t,n=ae){this.handler=v(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=v(e)}}class _t extends P{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}}class Rt{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:n,request:e,event:t,params:r})}catch(h){l=Promise.reject(h)}const f=i&&i.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:n,request:e,event:t,params:r})}catch(b){b instanceof Error&&(h=b)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=ae){this._defaultHandlerMap.set(t,v(e))}setCatchHandler(e){this._catchHandler=v(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new R("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new R("unregister-route-route-not-registered")}}let E;const bt=()=>(E||(E=new Rt,E.addFetchListener(),E.addCacheListener()),E);function N(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new P(i,e,t)}else if(s instanceof RegExp)n=new _t(s,e,t);else if(typeof s=="function")n=new P(s,e,t);else if(s instanceof P)n=s;else throw new R("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return bt().registerRoute(n),n}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function L(s){return typeof s=="string"?new Request(s):s}class Ct{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new we,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=L(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new R("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=L(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=L(e);await Re(0);const a=await this.getCacheKey(n,"write");if(!t)throw new R("cache-put-with-no-response",{url:_e(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),l=this.hasCallback("cacheDidUpdate"),f=l?await me(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?r.clone():r)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await ye(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:i,oldResponse:f,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=L(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class re{constructor(e={}){this.cacheName=ge.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new Ct(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new R("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}}class ie extends re{async _handle(e,t){let n=await t.cacheMatch(e),a;if(!n)try{n=await t.fetchAndCachePut(e)}catch(r){r instanceof Error&&(a=r)}if(!n)throw new R("no-response",{url:e.url,error:a});return n}}const xt={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class ce extends re{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(xt)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let a=await t.cacheMatch(e),r;if(!a)try{a=await n}catch(i){i instanceof Error&&(r=i)}if(!a)throw new R("no-response",{url:e.url,error:r});return a}}const H="sw-update-reload-times",oe="/lastUpdateMsgTimestamps",kt=10,Et=20*1e3;let le=!1;function Dt(s,e){let t;return(...n)=>{clearTimeout(t),t=setTimeout(()=>{s.apply(this,n)},e)}}function Ut(s,e=50,t=5e3){return new Promise(n=>{const a=Date.now(),r=()=>{s()||Date.now()-a>=t?n():setTimeout(r,e)};r()})}self.addEventListener("message",s=>{s.data&&s.data.type==="CLIENT_UPDATE_READY"&&(console.log("Service Worker: client ready"),le=!0)});async function Lt(s){const t=await(await caches.open(H)).match(`${oe}-${s}`);if(t)try{const n=await t.text();return JSON.parse(n)}catch{return[]}return[]}async function Pt(s,e){const t=await caches.open(H);if((await t.keys()).length>100){await caches.delete(H);return}const a=new Response(JSON.stringify(s));await t.put(`${oe}-${e}`,a)}const Tt=Dt(async()=>{(await self.clients.matchAll()).forEach(e=>{e.postMessage({type:"SW_DOCUMENT_UPDATED"})})},100),X=/updatedAt:\s*\d+,/g,vt={cacheDidUpdate:async({request:s,oldResponse:e,newResponse:t})=>{if(e)try{let n=await e.clone().text(),a=await t.clone().text();if(s.url.includes("__blocklet__.js")&&(n=n.replace(X,"updatedAt: ,"),a=a.replace(X,"updatedAt: ,")),n!==a){const r=Date.now(),c=(await Lt(s.url)).filter(o=>r-o<Et);if(c.length>=kt){console.warn("[SW] update too frequent, skip:",s.url);return}await Ut(()=>le),await Pt(c,s.url),console.log("[SW] document version or session updated",s.url),Tt()}}catch(n){console.error("[SW] Error comparing document responses:",n)}}};Qe(([{"revision":null,"url":"assets/access-control-Cum8iIaB.js"},{"revision":null,"url":"assets/actions-D-Helr6n.js"},{"revision":null,"url":"assets/AdapterDayjs-D5LoqHiU.js"},{"revision":null,"url":"assets/add-component-core-D-IRi6XF.css"},{"revision":null,"url":"assets/add-component-core-kWUUw0fB.js"},{"revision":null,"url":"assets/add-resource-DEesv1LC.js"},{"revision":null,"url":"assets/addon-B5zwPHe5.js"},{"revision":null,"url":"assets/advanced-CjSPlkxp.js"},{"revision":null,"url":"assets/api-BkKTvlm_.js"},{"revision":null,"url":"assets/appearance-rlMOco_Q.js"},{"revision":null,"url":"assets/ar-BRKjvO8p.js"},{"revision":null,"url":"assets/ar-Duy7ZH--.js"},{"revision":null,"url":"assets/ArrowDropDown-BCCa5uRn.js"},{"revision":null,"url":"assets/audit-logs-BpacJ0mq.js"},{"revision":null,"url":"assets/authorize-Dup4yiJg.js"},{"revision":null,"url":"assets/base32-yUUlhgnG.js"},{"revision":null,"url":"assets/branding-3E94pu9e.js"},{"revision":null,"url":"assets/branding-BB4z7dex.js"},{"revision":null,"url":"assets/bundle-avatar-njRzpG6o.js"},{"revision":null,"url":"assets/button-DRqMfYjF.js"},{"revision":null,"url":"assets/CheckCircle-Bxk_pKUt.js"},{"revision":null,"url":"assets/ChevronLeft-DgTQnUwX.js"},{"revision":null,"url":"assets/ChevronRight-C-lajCDc.js"},{"revision":null,"url":"assets/click-to-copy-CSwBjJDI.js"},{"revision":null,"url":"assets/cloneDeep-Cg0h_FaY.js"},{"revision":null,"url":"assets/Community-DathqRsd.js"},{"revision":null,"url":"assets/complete-lhAOowgH.js"},{"revision":null,"url":"assets/component-DG-t6Jac.js"},{"revision":null,"url":"assets/config-BWuaMoux.js"},{"revision":null,"url":"assets/config-Ct2icT-j.js"},{"revision":null,"url":"assets/config-navigation-BZ3T8tYK.js"},{"revision":null,"url":"assets/config-space-CKx83vmi.js"},{"revision":null,"url":"assets/confirm-Bj4L0Vn8.js"},{"revision":null,"url":"assets/connect-BoejDqj-.js"},{"revision":null,"url":"assets/connect-to-lcfZI_0b.js"},{"revision":null,"url":"assets/connect-v2Zx9JEk.js"},{"revision":null,"url":"assets/content-layout-C3Yd4mK9.js"},{"revision":null,"url":"assets/dashboard-0TEl6bJJ.js"},{"revision":null,"url":"assets/de-D3cg0t9f.js"},{"revision":null,"url":"assets/de-jJ-wrtW1.js"},{"revision":null,"url":"assets/delete-confirm-kpan5KFX.js"},{"revision":null,"url":"assets/DeleteOutline-Csdx_lih.js"},{"revision":null,"url":"assets/did-address-CJZtrzhT.js"},{"revision":null,"url":"assets/domain-action-card-BZ3CFKs5.js"},{"revision":null,"url":"assets/domain-C8nJlURa.js"},{"revision":null,"url":"assets/domains-Cn_DfzNS.js"},{"revision":null,"url":"assets/Done-DjB4uf97.js"},{"revision":null,"url":"assets/dot-CaKxEi_0.js"},{"revision":null,"url":"assets/Download-CF6ZhZfD.js"},{"revision":null,"url":"assets/Edit-C-zkyYSj.js"},{"revision":null,"url":"assets/EditIcon-DWRQ3fi6.js"},{"revision":null,"url":"assets/Email-B0n6rLUZ.js"},{"revision":null,"url":"assets/email-BjCEb0WI.js"},{"revision":null,"url":"assets/empty-spinner-BYUFR95o.js"},{"revision":null,"url":"assets/Error-DnzvDd2d.js"},{"revision":null,"url":"assets/es-CoGP0eAj.js"},{"revision":null,"url":"assets/es-DPjqApVE.js"},{"revision":null,"url":"assets/exchange-passport-B_b6xNH8.js"},{"revision":null,"url":"assets/ExpandLess-DBN4huDO.js"},{"revision":null,"url":"assets/format-error-BrmqJs5a.js"},{"revision":null,"url":"assets/fr-Dscs9WsP.js"},{"revision":null,"url":"assets/fr-yctlgsrj.js"},{"revision":null,"url":"assets/fuel-Dtvd1fJW.js"},{"revision":null,"url":"assets/gen-access-key-DsGgHUvi.js"},{"revision":null,"url":"assets/get-safe-url-BTmcSfZP.js"},{"revision":null,"url":"assets/get-safe-url-BYr2jgRv.js"},{"revision":null,"url":"assets/Google-VfyWFLKO.js"},{"revision":null,"url":"assets/hi-B8D3j6bs.js"},{"revision":null,"url":"assets/hi-Dh_pGPBD.js"},{"revision":null,"url":"assets/Holiday-BkY6LMfd.js"},{"revision":null,"url":"assets/home-ClwQWk4f.js"},{"revision":null,"url":"assets/id-cicarMJv.js"},{"revision":null,"url":"assets/id-DWMMQI0G.js"},{"revision":null,"url":"assets/iframe-B7H87IMw.js"},{"revision":null,"url":"assets/index-2eL6Ndgh.js"},{"revision":null,"url":"assets/index-a0ZdM5aG.js"},{"revision":null,"url":"assets/index-AgKpYdvC.css"},{"revision":null,"url":"assets/index-B1ljmpu4.css"},{"revision":null,"url":"assets/index-B9lBWxnt.js"},{"revision":null,"url":"assets/index-Bco7nZ5q.js"},{"revision":null,"url":"assets/index-BDaAwySV.js"},{"revision":null,"url":"assets/index-BOvzhuNp.js"},{"revision":null,"url":"assets/index-Bt7GP-dU.js"},{"revision":null,"url":"assets/index-BUHlfcy3.js"},{"revision":null,"url":"assets/index-BUrD6xiH.js"},{"revision":null,"url":"assets/index-C-rP7qS0.js"},{"revision":null,"url":"assets/index-C0Iiqot3.css"},{"revision":null,"url":"assets/index-C1UHqpp3.js"},{"revision":null,"url":"assets/index-Cb1OPKJL.js"},{"revision":null,"url":"assets/index-CEmSUlto.js"},{"revision":null,"url":"assets/index-CjZLIV87.js"},{"revision":null,"url":"assets/index-CMFOn8T3.js"},{"revision":null,"url":"assets/index-CPE8Apzb.js"},{"revision":null,"url":"assets/index-CVKN_Jn1.js"},{"revision":null,"url":"assets/index-Cx-tuAMi.js"},{"revision":null,"url":"assets/index-D9eW5l3E.js"},{"revision":null,"url":"assets/index-DAer_mWn.js"},{"revision":null,"url":"assets/index-DHIWtN6I.js"},{"revision":null,"url":"assets/index-DIe9psLc.js"},{"revision":null,"url":"assets/index-DVQCgvFb.js"},{"revision":null,"url":"assets/index-DyKjKMmu.js"},{"revision":null,"url":"assets/index-i5c4XeO-.js"},{"revision":null,"url":"assets/index-M6peJL7s.js"},{"revision":null,"url":"assets/InfoOutlined-BMb9Zu84.js"},{"revision":null,"url":"assets/invitation-DGRUoRzD.js"},{"revision":null,"url":"assets/invite-uoA9amq7.js"},{"revision":null,"url":"assets/issue-passport-2LsCG1Ym.js"},{"revision":null,"url":"assets/item-taL0aTyr.js"},{"revision":null,"url":"assets/ja-3LoBq68U.js"},{"revision":null,"url":"assets/ja-Bm56AvcM.js"},{"revision":null,"url":"assets/keyboard-arrow-down-rounded-DadBVmpO.js"},{"revision":null,"url":"assets/ko-B0ZZ2RWO.js"},{"revision":null,"url":"assets/ko-B2dxwXDl.js"},{"revision":null,"url":"assets/landing-page-EY5bGAu7.js"},{"revision":null,"url":"assets/Launch-CVPYIHzD.js"},{"revision":null,"url":"assets/launch-result-message-B_fS-f90.js"},{"revision":null,"url":"assets/LaunchOutlined-faHvtBle.js"},{"revision":null,"url":"assets/layout-DAempiIX.js"},{"revision":null,"url":"assets/list-B1E5dxgu.js"},{"revision":null,"url":"assets/list-header-8k1_C0K0.js"},{"revision":null,"url":"assets/localization-Di0I0VVv.js"},{"revision":null,"url":"assets/Location-BQhEvGNL.js"},{"revision":null,"url":"assets/LockIcon-Bd69pSJI.js"},{"revision":null,"url":"assets/log-CL673QLU.js"},{"revision":null,"url":"assets/log-D33dFtt_.css"},{"revision":null,"url":"assets/logger-OMyVyA8K.js"},{"revision":null,"url":"assets/login-CsMJeMSS.js"},{"revision":null,"url":"assets/login-oauth-callback-Bh6TJ59S.js"},{"revision":null,"url":"assets/logo-uploader-DFGj09Gp.js"},{"revision":null,"url":"assets/lost-passport-D00cnWl_.js"},{"revision":null,"url":"assets/lottie-error-CMOXHtBH.js"},{"revision":null,"url":"assets/lottie-loading-o-GBrhM9.js"},{"revision":null,"url":"assets/lottie-react.esm-D2t-u0YU.js"},{"revision":null,"url":"assets/lottie-web-jYmAQWuC.js"},{"revision":null,"url":"assets/lottie-welcome-C9B95FIi.js"},{"revision":null,"url":"assets/Meeting-BW-_XtSL.js"},{"revision":null,"url":"assets/MoreHoriz-CT231fLS.js"},{"revision":null,"url":"assets/OffSick-9I8vBA8l.js"},{"revision":null,"url":"assets/omit-1zyydTZL.js"},{"revision":null,"url":"assets/open-window-xLNOSl03.js"},{"revision":null,"url":"assets/overview-Ds0WiSnv.js"},{"revision":null,"url":"assets/page-header-BXC_EZqA.js"},{"revision":null,"url":"assets/passport-item-Dpr4rKdD.js"},{"revision":null,"url":"assets/permission-DDLyDuSn.js"},{"revision":null,"url":"assets/Phone-CKzC4712.js"},{"revision":null,"url":"assets/PlayArrow-CVHX5RbU.js"},{"revision":null,"url":"assets/preferences-DXw1rfcr.js"},{"revision":null,"url":"assets/profile-embed-co2rsGfl.js"},{"revision":null,"url":"assets/pt-6Xqu-_a4.js"},{"revision":null,"url":"assets/pt-eei1_Z4R.js"},{"revision":null,"url":"assets/publish-resource-CBR18Gc3.js"},{"revision":null,"url":"assets/QuestionMarkCircle-DpFFQWud.js"},{"revision":null,"url":"assets/raf-schd.esm-B3j6BePR.js"},{"revision":null,"url":"assets/react-beautiful-dnd.esm-CeODMcuS.js"},{"revision":null,"url":"assets/relative-time-DlN06RKr.js"},{"revision":null,"url":"assets/ru-y0N1jyVB.js"},{"revision":null,"url":"assets/ru-ZKgT6XdU.js"},{"revision":null,"url":"assets/runtime-nJVx0iKJ.js"},{"revision":null,"url":"assets/sdk-DICk2ZHP.js"},{"revision":null,"url":"assets/security-CHs7ENbZ.js"},{"revision":null,"url":"assets/ServerLogo-AfxVBRdi.js"},{"revision":null,"url":"assets/session-j-9KoWbs.js"},{"revision":null,"url":"assets/setup-CGwOCqjv.js"},{"revision":null,"url":"assets/shorten-label-SbKUBkvs.js"},{"revision":null,"url":"assets/simple-select-CLc0Q9sm.js"},{"revision":null,"url":"assets/slicedToArray-C0YDCVwK.js"},{"revision":null,"url":"assets/spaces-CZHg-rr5.js"},{"revision":null,"url":"assets/start-Chlvxw3J.js"},{"revision":null,"url":"assets/starting-progress-DpqgCEFM.js"},{"revision":null,"url":"assets/status-XLk6MkKv.js"},{"revision":null,"url":"assets/step-actions-hjC-pbPT.js"},{"revision":null,"url":"assets/studio-DrYhFxCD.js"},{"revision":null,"url":"assets/switch-control-CqfXXgvP.js"},{"revision":null,"url":"assets/th-CG5eLRZo.js"},{"revision":null,"url":"assets/th-CJa7646q.js"},{"revision":null,"url":"assets/Timezone-C3hiNX6j.js"},{"revision":null,"url":"assets/traffic-Dbf1L1c0.js"},{"revision":null,"url":"assets/transfer-GcIVZcyL.js"},{"revision":null,"url":"assets/TuneOutlined-DcBuSd1o.js"},{"revision":null,"url":"assets/unsubscribe-D2dQlJJM.js"},{"revision":null,"url":"assets/use-blocklet-logo-DryhoHen.js"},{"revision":null,"url":"assets/use-mobile-BKvZ6hcv.js"},{"revision":null,"url":"assets/use-mobile-BNUwcWCH.js"},{"revision":null,"url":"assets/use-passport-id-B-b-_oYF.js"},{"revision":null,"url":"assets/useAsync-DXeWUWXr.js"},{"revision":null,"url":"assets/useLocalStorage-Cb6R1F6v.js"},{"revision":null,"url":"assets/user-center-D7lo6m0u.js"},{"revision":null,"url":"assets/useSetState-CWq0AVWn.js"},{"revision":null,"url":"assets/util-BcFfyz6S.js"},{"revision":null,"url":"assets/util-BYQQqvk1.js"},{"revision":null,"url":"assets/vendor-arcblock-CX-5Ex_f.js"},{"revision":null,"url":"assets/vendor-hooks-DpLLpTSZ.js"},{"revision":null,"url":"assets/vendor-mui-core-B6POpIBB.js"},{"revision":null,"url":"assets/vendor-mui-x-CATHW1QL.js"},{"revision":null,"url":"assets/vendor-react-DEoibe3W.js"},{"revision":null,"url":"assets/vendor-utils-BUwfcN20.js"},{"revision":null,"url":"assets/vendor-ux-did-connect-DpSGLE7B.css"},{"revision":null,"url":"assets/vendor-ux-did-connect-DVrP2LNw.js"},{"revision":null,"url":"assets/vi-CoZs3B42.js"},{"revision":null,"url":"assets/vi-Rc5fwdQU.js"},{"revision":null,"url":"assets/ViewList-rVo7d5VV.js"},{"revision":null,"url":"assets/WorkingRemotely-CHzRY2CT.js"},{"revision":null,"url":"assets/wrap-locale-CzSOEkvO.js"},{"revision":null,"url":"assets/zh-CgkeS2I3.js"},{"revision":null,"url":"assets/zh-J32RyrWT.js"},{"revision":null,"url":"assets/zh-tw-BSUxp5LQ.js"},{"revision":null,"url":"assets/zh-tw-CuakNRcW.js"},{"revision":"7f3c12318282f4c59ac4e7c58474bcb4","url":"index.html"},{"revision":"629a14a7e3397a134f5a30b5dc735183","url":"registerSW.js"},{"revision":"07a287e43ae8e959a20d6b367a581667","url":"router-template-styles/styles.css"},{"revision":"686e8f496bdfe711854779cc8efa6311","url":"share/shared-bridge.html"},{"revision":"3c1549cff96a2d2baec44397663c083e","url":"share/shared-service-worker.js"},{"revision":"19d4c6a99cb8ed11e68209a612e7ec44","url":"share/workbox-v7.3.0/workbox-background-sync.prod.js"},{"revision":"d9d631014689e2b4b0e343c129671749","url":"share/workbox-v7.3.0/workbox-broadcast-update.prod.js"},{"revision":"bdb39ceb7380dcb1483c543e8856242b","url":"share/workbox-v7.3.0/workbox-cacheable-response.prod.js"},{"revision":"b84dd900eb18e8bc842666bbb740604e","url":"share/workbox-v7.3.0/workbox-core.prod.js"},{"revision":"c582a61c037234d8283eea0b97693b1b","url":"share/workbox-v7.3.0/workbox-expiration.prod.js"},{"revision":"866ba7d03bd871fa990976e4db312ab3","url":"share/workbox-v7.3.0/workbox-navigation-preload.prod.js"},{"revision":"0c55bb581ea7ce5ebfac1ce95cdda21f","url":"share/workbox-v7.3.0/workbox-offline-ga.prod.js"},{"revision":"770d183cf1f189a1ceb11ba8b5d808fa","url":"share/workbox-v7.3.0/workbox-precaching.prod.js"},{"revision":"295decbe1eb3b073a2a8d67cfbdf5692","url":"share/workbox-v7.3.0/workbox-range-requests.prod.js"},{"revision":"0bcb90677f3508ebc8a3571d14194478","url":"share/workbox-v7.3.0/workbox-recipes.prod.js"},{"revision":"4af96b70b2d20b041e2edd7ef1a8ef27","url":"share/workbox-v7.3.0/workbox-routing.prod.js"},{"revision":"c78c21b4058a1134ad3e12286c57cb2f","url":"share/workbox-v7.3.0/workbox-strategies.prod.js"},{"revision":"7eeb2d820d409221e076d31951fdcf79","url":"share/workbox-v7.3.0/workbox-streams.prod.js"},{"revision":"aa7368887577b9719a46b585d5dcc7a5","url":"share/workbox-v7.3.0/workbox-sw.js"},{"revision":"e768668db4eeefde11b58542900ab2ad","url":"share/workbox-v7.3.0/workbox-window.prod.umd.js"},{"revision":"f272d080151aa40322ce1603c6261ec1","url":"manifest.webmanifest"}]||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));be();self.addEventListener("activate",()=>{console.log("Service Worker activated")});self.addEventListener("install",s=>{console.log("Service Worker installed"),s.waitUntil(self.skipWaiting())});const he=s=>!!(s.method!=="GET"||s.url.includes("/api")||s.url.includes("__meta__.js")||s.url.includes("__blocklet__.js"));N(({request:s})=>he(s)?!1:s.url.includes("/static/"),new ie({cacheName:`static-${self.registration.scope}`,plugins:[new yt({maxEntries:200})]}));N(({request:s,url:e})=>{var t,n;return(n=(t=self.blocklet)==null?void 0:t.canCache)!=null&&n.call(t,{url:e})?["image","font","style","script"].includes(s.destination):!1},new ie({cacheName:`static-resources-${self.registration.scope}`}));N(({request:s})=>he(s)?!1:s.url.includes("/images/")||s.url.includes("/router/-template-styles/"),new ce({cacheName:`StaleWhileRevalidate-${self.registration.scope}`}));const Nt={cacheKeyWillBeUsed({request:s}){const e=new URL(s.url);return s.destination==="document"&&e.pathname.startsWith("/.well-known/service/admin")?(e.pathname="/.well-known/service/admin",e.search="",e.toString()):s.url}},w={};N(({request:s})=>["document"].includes(s.destination)?(Object.keys(w).forEach(e=>delete w[e]),!0):!w.env&&s.url.includes(".well-known/service/api/env")?(w.env=!0,!0):!w.session&&s.url.includes(".well-known/service/api/did/session")?(w.session=!0,!0):!w.blocklet&&s.url.endsWith("__blocklet__.js")?(w.blocklet=!0,!0):!1,new ce({cacheName:`documents-${self.registration.scope}`,plugins:[vt,Nt]}));
1
+ try{self["workbox:core:7.0.0"]&&_()}catch{}const ue=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},fe=ue;let R=class extends Error{constructor(e,t){const n=fe(e,t);super(n),this.name=e,this.details=t}};const de=new Set,d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},M=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),pe=s=>{for(const e of Object.keys(d))s(e)},ge={updateDetails:s=>{pe(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||M(d.googleAnalytics),getPrecacheName:s=>s||M(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||M(d.runtime),getSuffix:()=>d.suffix};function q(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function me(s,e,t,n){const a=q(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=q(c.url,t);if(a===o)return s.match(c,n)}}let we=class{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};async function ye(){for(const s of de)await s()}const _e=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function Re(s){return new Promise(e=>setTimeout(e,s))}function be(){self.addEventListener("activate",()=>self.clients.claim())}try{self["workbox:core:7.0.0"]&&_()}catch{}const Ce=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},xe=Ce;let u=class extends Error{constructor(e,t){const n=xe(e,t);super(n),this.name=e,this.details=t}};const p={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},A=s=>[p.prefix,s,p.suffix].filter(e=>e&&e.length>0).join("-"),ke=s=>{for(const e of Object.keys(p))s(e)},B={updateDetails:s=>{ke(e=>{typeof s[e]=="string"&&(p[e]=s[e])})},getGoogleAnalyticsName:s=>s||A(p.googleAnalytics),getPrecacheName:s=>s||A(p.precache),getPrefix:()=>p.prefix,getRuntimeName:s=>s||A(p.runtime),getSuffix:()=>p.suffix};function V(s,e){const t=e();return s.waitUntil(t),t}try{self["workbox:precaching:7.0.0"]&&_()}catch{}const Ee="__WB_REVISION__";function De(s){if(!s)throw new u("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const r=new URL(s,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=s;if(!t)throw new u("add-to-cache-list-unexpected-type",{entry:s});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const n=new URL(t,location.href),a=new URL(t,location.href);return n.searchParams.set(Ee,e),{cacheKey:n.href,url:a.href}}class Ue{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;n?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return n}}}class Le{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const a=(n==null?void 0:n.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}let C;function Pe(){if(C===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),C=!0}catch{C=!1}C=!1}return C}async function ve(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new u("cross-origin-copy-response",{origin:t});const n=s.clone(),r={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},i=Pe()?n.body:await n.blob();return new Response(i,r)}const Te=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function G(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function Ne(s,e,t,n){const a=G(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=G(c.url,t);if(a===o)return s.match(c,n)}}class Me{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}const Ae=new Set;async function Oe(){for(const s of Ae)await s()}function Se(s){return new Promise(e=>setTimeout(e,s))}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function U(s){return typeof s=="string"?new Request(s):s}let Ie=class{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new Me,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=U(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new u("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=U(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=U(e);await Se(0);const a=await this.getCacheKey(n,"write");if(!t)throw new u("cache-put-with-no-response",{url:Te(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),l=this.hasCallback("cacheDidUpdate"),f=l?await Ne(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?r.clone():r)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await Oe(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:i,oldResponse:f,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=U(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}},Ke=class{constructor(e={}){this.cacheName=B.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new Ie(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new u("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}};class y extends Ke{constructor(e={}){e.cacheName=B.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(y.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const a=t.params||{};if(this._fallbackToNetwork){const r=a.integrity,i=e.integrity,c=!i||i===r;n=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?i||r:void 0})),r&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new u("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new u("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,a]of this.plugins.entries())a!==y.copyRedirectedCacheableResponsesPlugin&&(a===y.defaultPrecacheCacheabilityPlugin&&(e=n),a.cacheWillUpdate&&t++);t===0?this.plugins.push(y.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}y.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};y.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await ve(s):s}};class We{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new y({cacheName:B.getPrecacheName(e),plugins:[...t,new Le({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:a,url:r}=De(n),i=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==a)throw new u("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:a});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==n.integrity)throw new u("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(a,n.integrity)}if(this._urlsToCacheKeys.set(r,a),this._urlsToCacheModes.set(r,i),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")}
2
+ This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return V(e,async()=>{const t=new Ue;this.strategy.plugins.push(t);for(const[r,i]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(i),o=this._urlsToCacheModes.get(r),l=new Request(r,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:l,event:e}))}const{updatedURLs:n,notUpdatedURLs:a}=t;return{updatedURLs:n,notUpdatedURLs:a}})}activate(e){return V(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(const i of n)a.has(i.url)||(await t.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new u("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let O;const Z=()=>(O||(O=new We),O);try{self["workbox:routing:7.0.0"]&&_()}catch{}const ee="GET",v=s=>s&&typeof s=="object"?s:{handle:s};let D=class{constructor(e,t,n=ee){this.handler=v(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=v(e)}},$e=class extends D{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}},je=class{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:n,request:e,event:t,params:r})}catch(h){l=Promise.reject(h)}const f=i&&i.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:n,request:e,event:t,params:r})}catch(b){b instanceof Error&&(h=b)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=ee){this._defaultHandlerMap.set(t,v(e))}setCatchHandler(e){this._catchHandler=v(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new u("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new u("unregister-route-route-not-registered")}},x;const He=()=>(x||(x=new je,x.addFetchListener(),x.addCacheListener()),x);function Be(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new D(i,e,t)}else if(s instanceof RegExp)n=new $e(s,e,t);else if(typeof s=="function")n=new D(s,e,t);else if(s instanceof D)n=s;else throw new u("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return He().registerRoute(n),n}function Fe(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*qe(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(s,location.href);r.hash="",yield r.href;const i=Fe(r,e);if(yield i.href,t&&i.pathname.endsWith("/")){const c=new URL(i.href);c.pathname+=t,yield c.href}if(n){const c=new URL(i.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:r});for(const o of c)yield o.href}}class Ve extends D{constructor(e,t){const n=({request:a})=>{const r=e.getURLsToCacheKeys();for(const i of qe(a.url,t)){const c=r.get(i);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(n,e.strategy)}}function Ge(s){const e=Z(),t=new Ve(e,s);Be(t)}function Je(s){Z().precache(s)}function Qe(s,e){Je(s),Ge(e)}try{self["workbox:core:7.0.0"]&&_()}catch{}const ze=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Ye=ze;class Xe extends Error{constructor(e,t){const n=Ye(e,t);super(n),this.name=e,this.details=t}}function te(s){s.then(()=>{})}const Ze=(s,e)=>e.some(t=>s instanceof t);let J,Q;function et(){return J||(J=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function tt(){return Q||(Q=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const se=new WeakMap,$=new WeakMap,ne=new WeakMap,S=new WeakMap,F=new WeakMap;function st(s){const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("success",r),s.removeEventListener("error",i)},r=()=>{t(m(s.result)),a()},i=()=>{n(s.error),a()};s.addEventListener("success",r),s.addEventListener("error",i)});return e.then(t=>{t instanceof IDBCursor&&se.set(t,s)}).catch(()=>{}),F.set(e,s),e}function nt(s){if($.has(s))return;const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("complete",r),s.removeEventListener("error",i),s.removeEventListener("abort",i)},r=()=>{t(),a()},i=()=>{n(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",r),s.addEventListener("error",i),s.addEventListener("abort",i)});$.set(s,e)}let j={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return $.get(s);if(e==="objectStoreNames")return s.objectStoreNames||ne.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return m(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function at(s){j=s(j)}function rt(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(I(this),e,...t);return ne.set(n,e.sort?e.sort():[e]),m(n)}:tt().includes(s)?function(...e){return s.apply(I(this),e),m(se.get(this))}:function(...e){return m(s.apply(I(this),e))}}function it(s){return typeof s=="function"?rt(s):(s instanceof IDBTransaction&&nt(s),Ze(s,et())?new Proxy(s,j):s)}function m(s){if(s instanceof IDBRequest)return st(s);if(S.has(s))return S.get(s);const e=it(s);return e!==s&&(S.set(s,e),F.set(e,s)),e}const I=s=>F.get(s);function ct(s,e,{blocked:t,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(s,e),c=m(i);return n&&i.addEventListener("upgradeneeded",o=>{n(m(i.result),o.oldVersion,o.newVersion,m(i.transaction),o)}),t&&i.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{r&&o.addEventListener("close",()=>r()),a&&o.addEventListener("versionchange",l=>a(l.oldVersion,l.newVersion,l))}).catch(()=>{}),c}function ot(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",n=>e(n.oldVersion,n)),m(t).then(()=>{})}const lt=["get","getKey","getAll","getAllKeys","count"],ht=["put","add","delete","clear"],K=new Map;function z(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(K.get(e))return K.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,a=ht.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(a||lt.includes(t)))return;const r=async function(i,...c){const o=this.transaction(i,a?"readwrite":"readonly");let l=o.store;return n&&(l=l.index(c.shift())),(await Promise.all([l[t](...c),a&&o.done]))[0]};return K.set(e,r),r}at(s=>({...s,get:(e,t,n)=>z(e,t)||s.get(e,t,n),has:(e,t)=>!!z(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.0.0"]&&_()}catch{}const ut="workbox-expiration",k="cache-entries",Y=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class ft{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(k,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&ot(this._cacheName)}async setTimestamp(e,t){e=Y(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(k,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const n=await(await this.getDb()).get(k,this._getId(e));return n==null?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let a=await n.transaction(k).store.index("timestamp").openCursor(null,"prev");const r=[];let i=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp<e||t&&i>=t?r.push(a.value):i++),a=await a.continue()}const c=[];for(const o of r)await n.delete(k,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+Y(e)}async getDb(){return this._db||(this._db=await ct(ut,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class dt{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new ft(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const a of t)await n.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,te(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<n:!0}else return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}const g={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},W=s=>[g.prefix,s,g.suffix].filter(e=>e&&e.length>0).join("-"),pt=s=>{for(const e of Object.keys(g))s(e)},gt={updateDetails:s=>{pt(e=>{typeof s[e]=="string"&&(g[e]=s[e])})},getGoogleAnalyticsName:s=>s||W(g.googleAnalytics),getPrecacheName:s=>s||W(g.precache),getPrefix:()=>g.prefix,getRuntimeName:s=>s||W(g.runtime),getSuffix:()=>g.suffix},mt=new Set;function wt(s){mt.add(s)}class yt{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:n,cacheName:a,cachedResponse:r})=>{if(!r)return null;const i=this._isResponseDateFresh(r),c=this._getCacheExpiration(a);te(c.expireEntries());const o=c.updateTimestamp(n.url);if(t)try{t.waitUntil(o)}catch{}return i?r:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(n.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&wt(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===gt.getRuntimeName())throw new Xe("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new dt(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:routing:7.0.0"]&&_()}catch{}const ae="GET",T=s=>s&&typeof s=="object"?s:{handle:s};class P{constructor(e,t,n=ae){this.handler=T(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=T(e)}}class _t extends P{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}}class Rt{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:n,request:e,event:t,params:r})}catch(h){l=Promise.reject(h)}const f=i&&i.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:n,request:e,event:t,params:r})}catch(b){b instanceof Error&&(h=b)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=ae){this._defaultHandlerMap.set(t,T(e))}setCatchHandler(e){this._catchHandler=T(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new R("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new R("unregister-route-route-not-registered")}}let E;const bt=()=>(E||(E=new Rt,E.addFetchListener(),E.addCacheListener()),E);function N(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new P(i,e,t)}else if(s instanceof RegExp)n=new _t(s,e,t);else if(typeof s=="function")n=new P(s,e,t);else if(s instanceof P)n=s;else throw new R("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return bt().registerRoute(n),n}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function L(s){return typeof s=="string"?new Request(s):s}class Ct{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new we,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=L(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new R("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=L(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=L(e);await Re(0);const a=await this.getCacheKey(n,"write");if(!t)throw new R("cache-put-with-no-response",{url:_e(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),l=this.hasCallback("cacheDidUpdate"),f=l?await me(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?r.clone():r)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await ye(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:i,oldResponse:f,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=L(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class re{constructor(e={}){this.cacheName=ge.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new Ct(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new R("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}}class ie extends re{async _handle(e,t){let n=await t.cacheMatch(e),a;if(!n)try{n=await t.fetchAndCachePut(e)}catch(r){r instanceof Error&&(a=r)}if(!n)throw new R("no-response",{url:e.url,error:a});return n}}const xt={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class ce extends re{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(xt)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let a=await t.cacheMatch(e),r;if(!a)try{a=await n}catch(i){i instanceof Error&&(r=i)}if(!a)throw new R("no-response",{url:e.url,error:r});return a}}const H="sw-update-reload-times",oe="/lastUpdateMsgTimestamps",kt=10,Et=20*1e3;let le=!1;function Dt(s,e){let t;return(...n)=>{clearTimeout(t),t=setTimeout(()=>{s.apply(this,n)},e)}}function Ut(s,e=50,t=5e3){return new Promise(n=>{const a=Date.now(),r=()=>{s()||Date.now()-a>=t?n():setTimeout(r,e)};r()})}self.addEventListener("message",s=>{s.data&&s.data.type==="CLIENT_UPDATE_READY"&&(console.log("Service Worker: client ready"),le=!0)});async function Lt(s){const t=await(await caches.open(H)).match(`${oe}-${s}`);if(t)try{const n=await t.text();return JSON.parse(n)}catch{return[]}return[]}async function Pt(s,e){const t=await caches.open(H);if((await t.keys()).length>100){await caches.delete(H);return}const a=new Response(JSON.stringify(s));await t.put(`${oe}-${e}`,a)}const vt=Dt(async()=>{(await self.clients.matchAll()).forEach(e=>{e.postMessage({type:"SW_DOCUMENT_UPDATED"})})},100),X=/updatedAt:\s*\d+,/g,Tt={cacheDidUpdate:async({request:s,oldResponse:e,newResponse:t})=>{if(e)try{let n=await e.clone().text(),a=await t.clone().text();if(s.url.includes("__blocklet__.js")&&(n=n.replace(X,"updatedAt: ,"),a=a.replace(X,"updatedAt: ,")),n!==a){const r=Date.now(),c=(await Lt(s.url)).filter(o=>r-o<Et);if(c.length>=kt){console.warn("[SW] update too frequent, skip:",s.url);return}await Ut(()=>le),await Pt(c,s.url),console.log("[SW] document version or session updated",s.url),vt()}}catch(n){console.error("[SW] Error comparing document responses:",n)}}};Qe(([{"revision":null,"url":"assets/access-control-CwSjARsN.js"},{"revision":null,"url":"assets/actions-BW0Vx00_.js"},{"revision":null,"url":"assets/AdapterDayjs-BWhMsmQP.js"},{"revision":null,"url":"assets/add-component-core-D-IRi6XF.css"},{"revision":null,"url":"assets/add-component-core-DXp_ntZ3.js"},{"revision":null,"url":"assets/add-resource-CmPIp37F.js"},{"revision":null,"url":"assets/addon-FArG2oUy.js"},{"revision":null,"url":"assets/advanced-mJXTlRFz.js"},{"revision":null,"url":"assets/api-Bf1onQOz.js"},{"revision":null,"url":"assets/appearance-D9WrcbPF.js"},{"revision":null,"url":"assets/ar-BRKjvO8p.js"},{"revision":null,"url":"assets/ar-Duy7ZH--.js"},{"revision":null,"url":"assets/ArrowDropDown-DUCtp8oo.js"},{"revision":null,"url":"assets/audit-logs-CVUuBgdy.js"},{"revision":null,"url":"assets/authorize-Bk0sIDAH.js"},{"revision":null,"url":"assets/base32-C_EKY5vU.js"},{"revision":null,"url":"assets/branding-BoSHL25b.js"},{"revision":null,"url":"assets/branding-Cywl-fod.js"},{"revision":null,"url":"assets/bundle-avatar-BXQsJw7m.js"},{"revision":null,"url":"assets/button-h00yLUET.js"},{"revision":null,"url":"assets/CheckCircle-yKW43XdV.js"},{"revision":null,"url":"assets/ChevronLeft-6AvuBihM.js"},{"revision":null,"url":"assets/ChevronRight-BsdsjNxw.js"},{"revision":null,"url":"assets/click-to-copy-0s0a7Ak5.js"},{"revision":null,"url":"assets/cloneDeep-WT_kDeVd.js"},{"revision":null,"url":"assets/Community-DathqRsd.js"},{"revision":null,"url":"assets/complete--raviZZ4.js"},{"revision":null,"url":"assets/component-C3maTG8x.js"},{"revision":null,"url":"assets/config-Die5cVWR.js"},{"revision":null,"url":"assets/config-e3P85n7z.js"},{"revision":null,"url":"assets/config-navigation-DhvlW96p.js"},{"revision":null,"url":"assets/config-space-CHI2AzS5.js"},{"revision":null,"url":"assets/confirm-BqrhdaU7.js"},{"revision":null,"url":"assets/connect-cpTXz6hq.js"},{"revision":null,"url":"assets/connect-DGOqnhoS.js"},{"revision":null,"url":"assets/connect-to-C1xSYa-8.js"},{"revision":null,"url":"assets/content-layout-C3Yd4mK9.js"},{"revision":null,"url":"assets/dashboard-CvJ8cVy-.js"},{"revision":null,"url":"assets/de-D3cg0t9f.js"},{"revision":null,"url":"assets/de-jJ-wrtW1.js"},{"revision":null,"url":"assets/delete-confirm-CmXluMcs.js"},{"revision":null,"url":"assets/DeleteOutline-D_I07sPe.js"},{"revision":null,"url":"assets/did-address-C6ni99I7.js"},{"revision":null,"url":"assets/domain-action-card-DIGUxqW7.js"},{"revision":null,"url":"assets/domain-B7m2mZGp.js"},{"revision":null,"url":"assets/domains-DV-Gl3-a.js"},{"revision":null,"url":"assets/Done-DLTvHdZB.js"},{"revision":null,"url":"assets/dot-WAAJ-O65.js"},{"revision":null,"url":"assets/Download-DKz_gZX5.js"},{"revision":null,"url":"assets/Edit-odNPT5GK.js"},{"revision":null,"url":"assets/EditIcon-DWRQ3fi6.js"},{"revision":null,"url":"assets/Email-B0n6rLUZ.js"},{"revision":null,"url":"assets/email-CxndZMem.js"},{"revision":null,"url":"assets/empty-spinner-BYUFR95o.js"},{"revision":null,"url":"assets/Error-js7ePZ5o.js"},{"revision":null,"url":"assets/es-CoGP0eAj.js"},{"revision":null,"url":"assets/es-DPjqApVE.js"},{"revision":null,"url":"assets/exchange-passport-JjK-mItt.js"},{"revision":null,"url":"assets/ExpandLess-TUium4RQ.js"},{"revision":null,"url":"assets/format-error-BrmqJs5a.js"},{"revision":null,"url":"assets/fr-Dscs9WsP.js"},{"revision":null,"url":"assets/fr-yctlgsrj.js"},{"revision":null,"url":"assets/fuel-bktBZZhG.js"},{"revision":null,"url":"assets/gen-access-key-CPCwDcVa.js"},{"revision":null,"url":"assets/get-safe-url-C-CJKtkC.js"},{"revision":null,"url":"assets/get-safe-url-cyoeQ7Mw.js"},{"revision":null,"url":"assets/Google-C7d25Q5r.js"},{"revision":null,"url":"assets/hi-B8D3j6bs.js"},{"revision":null,"url":"assets/hi-Dh_pGPBD.js"},{"revision":null,"url":"assets/Holiday-BkY6LMfd.js"},{"revision":null,"url":"assets/home-BclSkhw2.js"},{"revision":null,"url":"assets/id-cicarMJv.js"},{"revision":null,"url":"assets/id-DWMMQI0G.js"},{"revision":null,"url":"assets/iframe-DZlnwo40.js"},{"revision":null,"url":"assets/index--MMFwLMX.js"},{"revision":null,"url":"assets/index-17ov_POl.js"},{"revision":null,"url":"assets/index-AgKpYdvC.css"},{"revision":null,"url":"assets/index-BAstW3VS.js"},{"revision":null,"url":"assets/index-Bdi900W2.js"},{"revision":null,"url":"assets/index-BhX4Vx5B.js"},{"revision":null,"url":"assets/index-Bt7GP-dU.js"},{"revision":null,"url":"assets/index-BugTfB-J.js"},{"revision":null,"url":"assets/index-BUHlfcy3.js"},{"revision":null,"url":"assets/index-C-rU1lEd.js"},{"revision":null,"url":"assets/index-C0Iiqot3.css"},{"revision":null,"url":"assets/index-C0x4zVBW.js"},{"revision":null,"url":"assets/index-C4pzdyRW.js"},{"revision":null,"url":"assets/index-C8EYAWok.js"},{"revision":null,"url":"assets/index-CiIQJxvH.js"},{"revision":null,"url":"assets/index-CksPySYI.js"},{"revision":null,"url":"assets/index-CLD6I2fv.js"},{"revision":null,"url":"assets/index-CMFOn8T3.js"},{"revision":null,"url":"assets/index-COTyGW2s.js"},{"revision":null,"url":"assets/index-CPE8Apzb.js"},{"revision":null,"url":"assets/index-D_z5kVUS.js"},{"revision":null,"url":"assets/index-DdLPuFP7.js"},{"revision":null,"url":"assets/index-DIe9psLc.js"},{"revision":null,"url":"assets/index-DJeuTVoT.js"},{"revision":null,"url":"assets/index-DODYa3Im.js"},{"revision":null,"url":"assets/index-DOq-_YXu.css"},{"revision":null,"url":"assets/index-DVQCgvFb.js"},{"revision":null,"url":"assets/index-DxR1P6Lh.js"},{"revision":null,"url":"assets/index-htPha6tP.js"},{"revision":null,"url":"assets/InfoOutlined-BjII93aR.js"},{"revision":null,"url":"assets/invitation-sucipANy.js"},{"revision":null,"url":"assets/invite-Bkpf8YcY.js"},{"revision":null,"url":"assets/issue-passport-Dm4XKvqR.js"},{"revision":null,"url":"assets/item-CCsztPdL.js"},{"revision":null,"url":"assets/ja-3LoBq68U.js"},{"revision":null,"url":"assets/ja-Bm56AvcM.js"},{"revision":null,"url":"assets/keyboard-arrow-down-rounded-DadBVmpO.js"},{"revision":null,"url":"assets/ko-B0ZZ2RWO.js"},{"revision":null,"url":"assets/ko-B2dxwXDl.js"},{"revision":null,"url":"assets/landing-page-BJMRDSCP.js"},{"revision":null,"url":"assets/launch-result-message-B_fS-f90.js"},{"revision":null,"url":"assets/Launch-ryL3I8d9.js"},{"revision":null,"url":"assets/LaunchOutlined-D21Xchdf.js"},{"revision":null,"url":"assets/layout-DV03YuuA.js"},{"revision":null,"url":"assets/list-BgP6u-5j.js"},{"revision":null,"url":"assets/list-header-8k1_C0K0.js"},{"revision":null,"url":"assets/localization-CTzQFuMS.js"},{"revision":null,"url":"assets/Location-BQhEvGNL.js"},{"revision":null,"url":"assets/LockIcon-Bd69pSJI.js"},{"revision":null,"url":"assets/log-B4LRFTNR.js"},{"revision":null,"url":"assets/log-D33dFtt_.css"},{"revision":null,"url":"assets/logger-8RyN9oiF.js"},{"revision":null,"url":"assets/login-B6TE3gqj.js"},{"revision":null,"url":"assets/login-oauth-callback-CPP0UVME.js"},{"revision":null,"url":"assets/logo-uploader-DMxsEq63.js"},{"revision":null,"url":"assets/lost-passport-ekwdQ24A.js"},{"revision":null,"url":"assets/lottie-error-CMOXHtBH.js"},{"revision":null,"url":"assets/lottie-loading-o-GBrhM9.js"},{"revision":null,"url":"assets/lottie-react.esm-D2t-u0YU.js"},{"revision":null,"url":"assets/lottie-web-jYmAQWuC.js"},{"revision":null,"url":"assets/lottie-welcome-C9B95FIi.js"},{"revision":null,"url":"assets/Meeting-BW-_XtSL.js"},{"revision":null,"url":"assets/MoreHoriz-DHyMdwpT.js"},{"revision":null,"url":"assets/OffSick-9I8vBA8l.js"},{"revision":null,"url":"assets/omit-DNeUY6_X.js"},{"revision":null,"url":"assets/open-window-BjXpEOv2.js"},{"revision":null,"url":"assets/overview-CJRHh92f.js"},{"revision":null,"url":"assets/page-header-MKUHlyAT.js"},{"revision":null,"url":"assets/passport-item-jrknj0MQ.js"},{"revision":null,"url":"assets/permission-PNXSTeNL.js"},{"revision":null,"url":"assets/Phone-CKzC4712.js"},{"revision":null,"url":"assets/PlayArrow-zDVVYX6u.js"},{"revision":null,"url":"assets/preferences-9BJlt30G.js"},{"revision":null,"url":"assets/profile-embed-CIWdUuC6.js"},{"revision":null,"url":"assets/pt-6Xqu-_a4.js"},{"revision":null,"url":"assets/pt-eei1_Z4R.js"},{"revision":null,"url":"assets/publish-resource-BQg2Vwb0.js"},{"revision":null,"url":"assets/QuestionMarkCircle-DpFFQWud.js"},{"revision":null,"url":"assets/raf-schd.esm-B3j6BePR.js"},{"revision":null,"url":"assets/react-beautiful-dnd.esm-C1Wt0pHO.js"},{"revision":null,"url":"assets/relative-time-cijkMMnc.js"},{"revision":null,"url":"assets/ru-y0N1jyVB.js"},{"revision":null,"url":"assets/ru-ZKgT6XdU.js"},{"revision":null,"url":"assets/runtime-71FSw-R0.js"},{"revision":null,"url":"assets/sdk-BXECCi1q.js"},{"revision":null,"url":"assets/security-Y5seZEn6.js"},{"revision":null,"url":"assets/ServerLogo-AfxVBRdi.js"},{"revision":null,"url":"assets/session-DLQ0rbYE.js"},{"revision":null,"url":"assets/setup-4hj9RPfM.js"},{"revision":null,"url":"assets/shorten-label-SbKUBkvs.js"},{"revision":null,"url":"assets/simple-select-CLc0Q9sm.js"},{"revision":null,"url":"assets/slicedToArray-C0YDCVwK.js"},{"revision":null,"url":"assets/spaces-CP1iyRKS.js"},{"revision":null,"url":"assets/start-Bt5Vo3K8.js"},{"revision":null,"url":"assets/starting-progress-yIv14mT6.js"},{"revision":null,"url":"assets/status-BKlS-OSq.js"},{"revision":null,"url":"assets/step-actions-DMwF4axn.js"},{"revision":null,"url":"assets/studio-BR3c6nt5.js"},{"revision":null,"url":"assets/switch-control-yJOWKqcv.js"},{"revision":null,"url":"assets/th-CG5eLRZo.js"},{"revision":null,"url":"assets/th-CJa7646q.js"},{"revision":null,"url":"assets/Timezone-C3hiNX6j.js"},{"revision":null,"url":"assets/traffic-BzRbyLJ-.js"},{"revision":null,"url":"assets/transfer-Ds9NQ12A.js"},{"revision":null,"url":"assets/TuneOutlined-Bv7cSbWT.js"},{"revision":null,"url":"assets/unsubscribe-hfXD8-ea.js"},{"revision":null,"url":"assets/use-blocklet-logo-BOYeM9RY.js"},{"revision":null,"url":"assets/use-mobile-BKvZ6hcv.js"},{"revision":null,"url":"assets/use-mobile-BNUwcWCH.js"},{"revision":null,"url":"assets/use-passport-id-B-b-_oYF.js"},{"revision":null,"url":"assets/useAsync-GjVghrwi.js"},{"revision":null,"url":"assets/useLocalStorage-CXDkfohf.js"},{"revision":null,"url":"assets/user-center-CBh-mxjZ.js"},{"revision":null,"url":"assets/useSetState-CWq0AVWn.js"},{"revision":null,"url":"assets/util-D-LnEy9h.js"},{"revision":null,"url":"assets/util-DJFgW-07.js"},{"revision":null,"url":"assets/vendor-arcblock-Dkhgjlzn.js"},{"revision":null,"url":"assets/vendor-hooks-DXGUREV9.js"},{"revision":null,"url":"assets/vendor-mui-core-B6POpIBB.js"},{"revision":null,"url":"assets/vendor-mui-x-CATHW1QL.js"},{"revision":null,"url":"assets/vendor-react-DEoibe3W.js"},{"revision":null,"url":"assets/vendor-utils-CjMBJT5V.js"},{"revision":null,"url":"assets/vendor-ux-did-connect-D4-ZeZHm.js"},{"revision":null,"url":"assets/vendor-ux-did-connect-DpSGLE7B.css"},{"revision":null,"url":"assets/vi-CoZs3B42.js"},{"revision":null,"url":"assets/vi-Rc5fwdQU.js"},{"revision":null,"url":"assets/ViewList-Ca1IEB31.js"},{"revision":null,"url":"assets/WorkingRemotely-CHzRY2CT.js"},{"revision":null,"url":"assets/wrap-locale-Dob_mf2V.js"},{"revision":null,"url":"assets/zh-CgkeS2I3.js"},{"revision":null,"url":"assets/zh-J32RyrWT.js"},{"revision":null,"url":"assets/zh-tw-BSUxp5LQ.js"},{"revision":null,"url":"assets/zh-tw-CuakNRcW.js"},{"revision":"57ffb462b18e1e08f64e053dcca0bce5","url":"index.html"},{"revision":"629a14a7e3397a134f5a30b5dc735183","url":"registerSW.js"},{"revision":"07a287e43ae8e959a20d6b367a581667","url":"router-template-styles/styles.css"},{"revision":"686e8f496bdfe711854779cc8efa6311","url":"share/shared-bridge.html"},{"revision":"3c1549cff96a2d2baec44397663c083e","url":"share/shared-service-worker.js"},{"revision":"19d4c6a99cb8ed11e68209a612e7ec44","url":"share/workbox-v7.3.0/workbox-background-sync.prod.js"},{"revision":"d9d631014689e2b4b0e343c129671749","url":"share/workbox-v7.3.0/workbox-broadcast-update.prod.js"},{"revision":"bdb39ceb7380dcb1483c543e8856242b","url":"share/workbox-v7.3.0/workbox-cacheable-response.prod.js"},{"revision":"b84dd900eb18e8bc842666bbb740604e","url":"share/workbox-v7.3.0/workbox-core.prod.js"},{"revision":"c582a61c037234d8283eea0b97693b1b","url":"share/workbox-v7.3.0/workbox-expiration.prod.js"},{"revision":"866ba7d03bd871fa990976e4db312ab3","url":"share/workbox-v7.3.0/workbox-navigation-preload.prod.js"},{"revision":"0c55bb581ea7ce5ebfac1ce95cdda21f","url":"share/workbox-v7.3.0/workbox-offline-ga.prod.js"},{"revision":"770d183cf1f189a1ceb11ba8b5d808fa","url":"share/workbox-v7.3.0/workbox-precaching.prod.js"},{"revision":"295decbe1eb3b073a2a8d67cfbdf5692","url":"share/workbox-v7.3.0/workbox-range-requests.prod.js"},{"revision":"0bcb90677f3508ebc8a3571d14194478","url":"share/workbox-v7.3.0/workbox-recipes.prod.js"},{"revision":"4af96b70b2d20b041e2edd7ef1a8ef27","url":"share/workbox-v7.3.0/workbox-routing.prod.js"},{"revision":"c78c21b4058a1134ad3e12286c57cb2f","url":"share/workbox-v7.3.0/workbox-strategies.prod.js"},{"revision":"7eeb2d820d409221e076d31951fdcf79","url":"share/workbox-v7.3.0/workbox-streams.prod.js"},{"revision":"aa7368887577b9719a46b585d5dcc7a5","url":"share/workbox-v7.3.0/workbox-sw.js"},{"revision":"e768668db4eeefde11b58542900ab2ad","url":"share/workbox-v7.3.0/workbox-window.prod.umd.js"},{"revision":"f272d080151aa40322ce1603c6261ec1","url":"manifest.webmanifest"}]||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));be();self.addEventListener("activate",()=>{console.log("Service Worker activated")});self.addEventListener("install",s=>{console.log("Service Worker installed"),s.waitUntil(self.skipWaiting())});const he=s=>!!(s.method!=="GET"||s.url.includes("/api")||s.url.includes("__meta__.js")||s.url.includes("__blocklet__.js"));N(({request:s})=>he(s)?!1:s.url.includes("/static/"),new ie({cacheName:`static-${self.registration.scope}`,plugins:[new yt({maxEntries:200})]}));N(({request:s,url:e})=>{var t,n;return(n=(t=self.blocklet)==null?void 0:t.canCache)!=null&&n.call(t,{url:e})?["image","font","style","script"].includes(s.destination):!1},new ie({cacheName:`static-resources-${self.registration.scope}`}));N(({request:s})=>he(s)?!1:s.url.includes("/images/")||s.url.includes("/router/-template-styles/"),new ce({cacheName:`StaleWhileRevalidate-${self.registration.scope}`}));const Nt={cacheKeyWillBeUsed({request:s}){const e=new URL(s.url);return s.destination==="document"&&e.pathname.startsWith("/.well-known/service/admin")?(e.pathname="/.well-known/service/admin",e.search="",e.toString()):s.url}},w={};N(({request:s})=>{const e=new URL(s.url);return s.destination==="document"&&e.pathname.startsWith("/.well-known/service/admin")?(Object.keys(w).forEach(t=>delete w[t]),!0):!w.env&&s.url.includes(".well-known/service/api/env")?(w.env=!0,!0):!w.session&&s.url.includes(".well-known/service/api/did/session")?(w.session=!0,!0):!w.blocklet&&s.url.endsWith("__blocklet__.js")?(w.blocklet=!0,!0):!1},new ce({cacheName:`documents-${self.registration.scope}`,plugins:[Tt,Nt]}));
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.43-beta-20250429-130236-269254ff",
6
+ "version": "1.16.43-beta-20250430-124448-4edc5502",
7
7
  "description": "Provide unified services for every blocklet",
8
8
  "main": "api/index.js",
9
9
  "files": [
@@ -33,47 +33,47 @@
33
33
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@abtnode/analytics": "1.16.43-beta-20250429-130236-269254ff",
37
- "@abtnode/auth": "1.16.43-beta-20250429-130236-269254ff",
38
- "@abtnode/client": "1.16.43-beta-20250429-130236-269254ff",
39
- "@abtnode/connect-storage": "1.16.43-beta-20250429-130236-269254ff",
40
- "@abtnode/constant": "1.16.43-beta-20250429-130236-269254ff",
41
- "@abtnode/core": "1.16.43-beta-20250429-130236-269254ff",
42
- "@abtnode/cron": "1.16.43-beta-20250429-130236-269254ff",
43
- "@abtnode/logger": "1.16.43-beta-20250429-130236-269254ff",
44
- "@abtnode/models": "1.16.43-beta-20250429-130236-269254ff",
45
- "@abtnode/router-templates": "1.16.43-beta-20250429-130236-269254ff",
46
- "@abtnode/util": "1.16.43-beta-20250429-130236-269254ff",
47
- "@arcblock/did": "^1.20.2",
48
- "@arcblock/did-auth": "1.20.2",
49
- "@arcblock/did-ext": "^1.20.2",
50
- "@arcblock/did-util": "^1.20.2",
51
- "@arcblock/event-hub": "1.20.2",
36
+ "@abtnode/analytics": "1.16.43-beta-20250430-124448-4edc5502",
37
+ "@abtnode/auth": "1.16.43-beta-20250430-124448-4edc5502",
38
+ "@abtnode/client": "1.16.43-beta-20250430-124448-4edc5502",
39
+ "@abtnode/connect-storage": "1.16.43-beta-20250430-124448-4edc5502",
40
+ "@abtnode/constant": "1.16.43-beta-20250430-124448-4edc5502",
41
+ "@abtnode/core": "1.16.43-beta-20250430-124448-4edc5502",
42
+ "@abtnode/cron": "1.16.43-beta-20250430-124448-4edc5502",
43
+ "@abtnode/logger": "1.16.43-beta-20250430-124448-4edc5502",
44
+ "@abtnode/models": "1.16.43-beta-20250430-124448-4edc5502",
45
+ "@abtnode/router-templates": "1.16.43-beta-20250430-124448-4edc5502",
46
+ "@abtnode/util": "1.16.43-beta-20250430-124448-4edc5502",
47
+ "@arcblock/did": "1.20.4",
48
+ "@arcblock/did-auth": "1.20.4",
49
+ "@arcblock/did-ext": "1.20.4",
50
+ "@arcblock/did-util": "1.20.4",
51
+ "@arcblock/event-hub": "1.20.4",
52
52
  "@arcblock/http-proxy": "^1.19.1",
53
- "@arcblock/jwt": "1.20.2",
54
- "@arcblock/validator": "^1.20.2",
55
- "@arcblock/ws": "1.20.2",
56
- "@blocklet/constant": "1.16.43-beta-20250429-130236-269254ff",
53
+ "@arcblock/jwt": "1.20.4",
54
+ "@arcblock/validator": "1.20.4",
55
+ "@arcblock/ws": "1.20.4",
56
+ "@blocklet/constant": "1.16.43-beta-20250430-124448-4edc5502",
57
57
  "@blocklet/dbhub": "^0.2.9",
58
58
  "@blocklet/did-space-js": "^1.0.48",
59
- "@blocklet/env": "1.16.43-beta-20250429-130236-269254ff",
59
+ "@blocklet/env": "1.16.43-beta-20250430-124448-4edc5502",
60
60
  "@blocklet/form-builder": "^0.1.11",
61
61
  "@blocklet/form-collector": "^0.1.8",
62
- "@blocklet/images": "1.16.43-beta-20250429-130236-269254ff",
63
- "@blocklet/js-sdk": "1.16.43-beta-20250429-130236-269254ff",
62
+ "@blocklet/images": "1.16.43-beta-20250430-124448-4edc5502",
63
+ "@blocklet/js-sdk": "1.16.43-beta-20250430-124448-4edc5502",
64
64
  "@blocklet/mcp": "^1.10.2",
65
- "@blocklet/meta": "1.16.43-beta-20250429-130236-269254ff",
66
- "@blocklet/sdk": "1.16.43-beta-20250429-130236-269254ff",
67
- "@blocklet/theme": "^2.13.14",
68
- "@blocklet/theme-builder": "^0.1.12",
65
+ "@blocklet/meta": "1.16.43-beta-20250430-124448-4edc5502",
66
+ "@blocklet/sdk": "1.16.43-beta-20250430-124448-4edc5502",
67
+ "@blocklet/theme": "^2.13.19",
68
+ "@blocklet/theme-builder": "^0.1.13",
69
69
  "@blocklet/uploader-server": "^0.1.96",
70
70
  "@blocklet/xss": "^0.1.33",
71
71
  "@did-connect/authenticator": "^2.2.7",
72
72
  "@did-connect/relay-adapter-express": "^2.2.7",
73
73
  "@iconify-icons/material-symbols": "^1.2.58",
74
74
  "@iconify/react": "^5.2.1",
75
- "@ocap/client": "1.20.2",
76
- "@ocap/util": "1.20.2",
75
+ "@ocap/client": "1.20.4",
76
+ "@ocap/util": "1.20.4",
77
77
  "@react-email/components": "^0.0.34",
78
78
  "auth0": "^3.3.0",
79
79
  "body-parser": "^2.2.0",
@@ -119,16 +119,16 @@
119
119
  "whatwg-url": "14.0.0"
120
120
  },
121
121
  "devDependencies": {
122
- "@abtnode/ux": "1.16.43-beta-20250429-130236-269254ff",
123
- "@arcblock/bridge": "^2.13.14",
124
- "@arcblock/did-connect": "^2.13.14",
125
- "@arcblock/icons": "^2.13.14",
126
- "@arcblock/react-hooks": "^2.13.14",
127
- "@arcblock/ux": "^2.13.14",
128
- "@blocklet/launcher-layout": "^2.13.14",
129
- "@blocklet/payment-react": "^1.18.37",
130
- "@blocklet/tracker": "1.16.43-beta-20250429-130236-269254ff",
131
- "@blocklet/ui-react": "^2.13.14",
122
+ "@abtnode/ux": "1.16.43-beta-20250430-124448-4edc5502",
123
+ "@arcblock/bridge": "^2.13.19",
124
+ "@arcblock/did-connect": "^2.13.19",
125
+ "@arcblock/icons": "^2.13.19",
126
+ "@arcblock/react-hooks": "^2.13.19",
127
+ "@arcblock/ux": "^2.13.19",
128
+ "@blocklet/launcher-layout": "^2.13.19",
129
+ "@blocklet/payment-react": "^1.18.38",
130
+ "@blocklet/tracker": "1.16.43-beta-20250430-124448-4edc5502",
131
+ "@blocklet/ui-react": "^2.13.19",
132
132
  "@blocklet/uploader": "^0.1.84",
133
133
  "@emotion/react": "^11.11.4",
134
134
  "@emotion/styled": "^11.11.5",
@@ -136,8 +136,8 @@
136
136
  "@mui/icons-material": "^5.15.19",
137
137
  "@mui/material": "^5.15.19",
138
138
  "@mui/styles": "^5.15.19",
139
- "@ocap/mcrypto": "1.20.2",
140
- "@ocap/wallet": "1.20.2",
139
+ "@ocap/mcrypto": "1.20.4",
140
+ "@ocap/wallet": "1.20.4",
141
141
  "@vitejs/plugin-react": "^4.3.0",
142
142
  "ahooks": "^3.8.0",
143
143
  "axios": "^1.7.9",
@@ -205,5 +205,5 @@
205
205
  "url": "https://github.com/ArcBlock/blocklet-server/issues",
206
206
  "email": "shijun@arcblock.io"
207
207
  },
208
- "gitHead": "0826633a53695ac92965f8993e46985259adb65f"
208
+ "gitHead": "9b59264b5dc2c9450161be5a0ee4cdb981687cd7"
209
209
  }
@@ -1 +0,0 @@
1
- import{E as a}from"./vendor-utils-BUwfcN20.js";a.defaults.timeout=10*1e3;const o=a.create();export{o as a};
@@ -1,5 +0,0 @@
1
- import{j as r,ab as f,T as h,H as y,ah as x}from"./vendor-mui-core-B6POpIBB.js";import"./vendor-react-DEoibe3W.js";import{A as g}from"./vendor-utils-BUwfcN20.js";import{_ as w}from"./useAsync-DXeWUWXr.js";import{u as C,aU as T,G as i,b5 as j,a2 as k,at as U}from"./vendor-ux-did-connect-DVrP2LNw.js";import{u as v,s as P}from"./index-Cb1OPKJL.js";import"./vendor-hooks-DpLLpTSZ.js";import"./lottie-web-jYmAQWuC.js";import"./vendor-arcblock-CX-5Ex_f.js";function S({children:p}){const{t:n,locale:u}=C(),{api:c,session:o}=v(),{encryptKey:l,decrypt:m}=T(),s=w(async()=>{var t;const e=new URL(window.location.href);e.pathname=g(((t=window==null?void 0:window.env)==null?void 0:t.apiPrefix)??"/","/api/did/setup/token"),e.searchParams.set("_ek_",l);const{data:a}=await c.get(e.href);return a}),d=async e=>{const a=Array.isArray(e)?e.find(t=>t.sessionToken):e;P(m(a.sessionToken));try{await o.refresh()}catch(t){k.error(t.message)}};return!s.value||s.loading||o.loading?r.jsx(i,{relative:"parent",children:r.jsx(f,{})}):o.user?p:s.error?r.jsx(i,{relative:"parent",children:r.jsx(h,{children:s.error.message})}):r.jsx(b,{popup:!0,open:!0,hideCloseButton:!0,action:"pre-setup",checkFn:c.get,checkTimeout:10*60*1e3,webWalletUrl:j(),onSuccess:d,locale:u,messages:{title:n("setup.connect.title"),scan:n("setup.connect.scan"),confirm:n("setup.connect.confirm"),success:n("setup.connect.success")},extraParams:{setup:!0,nw:s.value.url}})}S.propTypes={children:y.any.isRequired};const b=x(U)`
2
- .action-info-desc {
3
- padding: 0 72px;
4
- }
5
- `;export{S as default};