@abtnode/webapp 1.16.30-beta-958ae719 → 1.16.30-beta-b7f31b10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{Add-CdB1GTw1.js → Add-DScOIl2y.js} +1 -1
- package/dist/assets/{ArrowDropDown-cQI9feYM.js → ArrowDropDown-DcHWyX_B.js} +1 -1
- package/dist/assets/{Autocomplete-Bhg6P1T-.js → Autocomplete-CQGvBfyK.js} +1 -1
- package/dist/assets/{Breadcrumbs-zBxzGTSz.js → Breadcrumbs-9jNy6OW-.js} +1 -1
- package/dist/assets/{ButtonGroup-CEodIFRb.js → ButtonGroup-Cc4ZN23C.js} +1 -1
- package/dist/assets/{CheckCircle-D2TmcEFh.js → CheckCircle-M4w2Jw1V.js} +1 -1
- package/dist/assets/{ChevronLeft-Eu14H7S5.js → ChevronLeft-BTxZ-5kF.js} +1 -1
- package/dist/assets/{ChevronRight-Ba-Rcz-i.js → ChevronRight-DDxlbDok.js} +1 -1
- package/dist/assets/{Close-Dq2gRzdt.js → Close-D24OPEsw.js} +1 -1
- package/dist/assets/{Delete-Di-3Vxhz.js → Delete-BYMXUEW-.js} +1 -1
- package/dist/assets/{DeleteOutline-BQeXrAk8.js → DeleteOutline-1j0uX4zC.js} +1 -1
- package/dist/assets/DeleteOutline-CJf1JPjn.js +1 -0
- package/dist/assets/{Done-BiwCZjD9.js → Done-C75-esIR.js} +1 -1
- package/dist/assets/{Edit-CeoVDX9P.js → Edit-DbqBgkwQ.js} +1 -1
- package/dist/assets/{EditIcon-CIZQcG-N.js → EditIcon-BB_WHtDy.js} +1 -1
- package/dist/assets/{ExpandMore-Co2TCgMe.js → ExpandMore-DJPmctU2.js} +1 -1
- package/dist/assets/{FilterList-CtKjjq1V.js → FilterList-BSeq1JN5.js} +1 -1
- package/dist/assets/{Google-CB64yAYZ.js → Google-JXxiFLr6.js} +1 -1
- package/dist/assets/{Https-CZ8ckEIE.js → Https-Pe0n3_C2.js} +1 -1
- package/dist/assets/{InputAdornment-DAdjrwZB.js → InputAdornment-jV1oGaiq.js} +1 -1
- package/dist/assets/{InputLabel-E2n2XENL.js → InputLabel-jiyrQePY.js} +1 -1
- package/dist/assets/{LastPage-Dk3Ng8r_.js → LastPage-DreQg_mv.js} +1 -1
- package/dist/assets/{Launch-DCauoB9i.js → Launch-Bp_XfXDM.js} +1 -1
- package/dist/assets/{Link-B5_3_F5M.js → Link-ISWp7-NE.js} +1 -1
- package/dist/assets/{LoadingButton-CmY35jLm.js → LoadingButton-C_-Tq7-a.js} +1 -1
- package/dist/assets/{LockIcon-DLnWJnFU.js → LockIcon-Ctp1c_aa.js} +1 -1
- package/dist/assets/{Loop-BK2g7AZi.js → Loop-CbarjQQA.js} +1 -1
- package/dist/assets/{MoreVert-CGx6Mqxv.js → MoreVert-DxCDVcE0.js} +1 -1
- package/dist/assets/{Pagination-B4jmH7k6.js → Pagination-C0wZBxtP.js} +1 -1
- package/dist/assets/{Public-C0O-VR0x.js → Public-DTT8m-Dh.js} +1 -1
- package/dist/assets/{SchemaReference.es-CwVyx9KR.js → SchemaReference.es-D1I4jeUl.js} +1 -1
- package/dist/assets/{Search-Drx5S2Fc.js → Search-DKFOsHOn.js} +1 -1
- package/dist/assets/{Select-BAE2ztrO.js → Select-BlKQA6P8.js} +1 -1
- package/dist/assets/{Skeleton-Dg829dzN.js → Skeleton-Df7h_YJK.js} +1 -1
- package/dist/assets/{Slider-DalB8Bfa.js → Slider-CI8ItMMl.js} +1 -1
- package/dist/assets/{Stepper-CyP9t2tf.js → Stepper-C05cktk-.js} +1 -1
- package/dist/assets/{TextField-UIj7bh4L.js → TextField-0SCRdagF.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-BezYeHSt.js → ToggleButtonGroup-1kNQ6bLl.js} +1 -1
- package/dist/assets/{ViewList-BdFK3ZRI.js → ViewList-DEi1PLTg.js} +1 -1
- package/dist/assets/actions-CCipVjCq.js +11 -0
- package/dist/assets/{actions-DvMK194y.js → actions-DiDkx9ca.js} +1 -1
- package/dist/assets/{agreement-CaStPJUg.js → agreement-C0yXpzdq.js} +1 -1
- package/dist/assets/api-VKuyBqG_.js +1 -0
- package/dist/assets/{app-avatar-DMwKWgcU.js → app-avatar-C9a1HTsp.js} +1 -1
- package/dist/assets/{audit-logs-t-VHu0Dr.js → audit-logs-BdnLeEXF.js} +1 -1
- package/dist/assets/blocklet-D4MK-c5F.js +1 -0
- package/dist/assets/{brace-fold.es-CTXnLvpw.js → brace-fold.es-CeHN5ory.js} +1 -1
- package/dist/assets/{bundle-avatar-FKqqno38.js → bundle-avatar-Cg7zVRxA.js} +1 -1
- package/dist/assets/{chart-CRT8ZY2D.js → chart-CP1zmvYY.js} +1 -1
- package/dist/assets/{click-to-copy-D6fJs3Fy.js → click-to-copy-W2c5LcAJ.js} +1 -1
- package/dist/assets/{closebrackets.es-CeqttfBg.js → closebrackets.es-CibTDcUo.js} +1 -1
- package/dist/assets/{codemirror.es-DLcwUx7p.js → codemirror.es-8nYzPokV.js} +1 -1
- package/dist/assets/{comment.es-Dwlg7zZ0.js → comment.es-CNYSCodR.js} +1 -1
- package/dist/assets/{config-navigation-iOt18Gkq.js → config-navigation-DoqQAQ4r.js} +1 -1
- package/dist/assets/{delete-confirm-SB_AYHUI.js → delete-confirm-DnSskM7l.js} +1 -1
- package/dist/assets/{detail-aujfRVSm.js → detail-Ci8NiSCn.js} +3 -3
- package/dist/assets/{dialog.es-BoZ8Hndg.js → dialog.es-BMiZ64Na.js} +1 -1
- package/dist/assets/{download-DQwdlhb7.js → download-CQnrIyxI.js} +1 -1
- package/dist/assets/{foldgutter.es-C0B3TZBw.js → foldgutter.es-CwNI-HCe.js} +1 -1
- package/dist/assets/getValidReactChildren-B0k_5T4l.js +1 -0
- package/dist/assets/{hint.es-8QwfI9G8.js → hint.es-00ixgdAk.js} +1 -1
- package/dist/assets/{hint.es2-CSc3mT9h.js → hint.es2-C3-rcHrt.js} +1 -1
- package/dist/assets/{iframe-BsBQ7ohV.js → iframe-DeabHXSE.js} +1 -1
- package/dist/assets/{index-lU5qXZaf.js → index---3vtH2U.js} +1 -1
- package/dist/assets/{index-DpsnjJXZ.js → index-8NMCrB3j.js} +1 -1
- package/dist/assets/{index-B4C9ArGO.js → index-B64gaQjP.js} +1 -1
- package/dist/assets/{index-hQaQ5PJ4.js → index-B6fcUPJ3.js} +1 -1
- package/dist/assets/{index-CpTpPC7E.js → index-B7hUdMZ8.js} +1 -1
- package/dist/assets/{index-BZBRVOaw.js → index-BBP_bcfC.js} +1 -1
- package/dist/assets/{index-uXUXUKt1.js → index-BCxgtIqq.js} +1 -1
- package/dist/assets/{index-DhKEzK4G.js → index-BDrD_fHI.js} +101 -101
- package/dist/assets/{index-_7deM5fB.js → index-BFijG_KW.js} +1 -1
- package/dist/assets/{index-CEXcSiNy.js → index-BHC2lQbz.js} +1 -1
- package/dist/assets/{index-DWzRY4Xk.js → index-BIHZHqAA.js} +1 -1
- package/dist/assets/{index-B4uBhVoZ.js → index-BKiZP-oY.js} +1 -1
- package/dist/assets/{index-FEwB9kgu.js → index-BM47dpzk.js} +1 -1
- package/dist/assets/{index-lfnvzeT0.js → index-BP6HGks6.js} +1 -1
- package/dist/assets/{index-xq7hcpVR.js → index-Bd9XKKXO.js} +1 -1
- package/dist/assets/{index-B-ybRhYS.js → index-Bg-k71dl.js} +3 -3
- package/dist/assets/{index-Cp7_fpD3.js → index-BjYxa_FW.js} +1 -1
- package/dist/assets/{index-DzY48FPR.js → index-BlKmxUs2.js} +1 -1
- package/dist/assets/{index-DiVGhjwz.js → index-BvpJfkfl.js} +1 -1
- package/dist/assets/{index-vVyFVEQx.js → index-BxPq_I_q.js} +1 -1
- package/dist/assets/{index-DBmLMLK2.js → index-BxsmNFYE.js} +1 -1
- package/dist/assets/{index-Dr-mhUSe.js → index-C3qp0XVq.js} +3 -3
- package/dist/assets/{index-BTF_a0ok.js → index-CRdLjNnY.js} +1 -1
- package/dist/assets/{index-W1Roe0KR.js → index-CxnHtNtW.js} +1 -1
- package/dist/assets/{index-7Qh6jCeM.js → index-D411TEsZ.js} +1 -1
- package/dist/assets/{index-CBMSKoCT.js → index-DGmY_-cU.js} +1 -1
- package/dist/assets/{index-DBXP37Lb.js → index-DHzzHO4l.js} +1 -1
- package/dist/assets/{index-PM4c29FK.js → index-DX1h0jld.js} +1 -1
- package/dist/assets/{index-UcfhuBCV.js → index-DZYluxeV.js} +1 -1
- package/dist/assets/{index-BHylZj48.js → index-DaDSaTOb.js} +1 -1
- package/dist/assets/{index-B6-dKqLH.js → index-DaWidKpO.js} +1 -1
- package/dist/assets/{index-By1cj6yo.js → index-DaaXCB2j.js} +1 -1
- package/dist/assets/{index-C69Wt2SK.js → index-DcjlzmZZ.js} +1 -1
- package/dist/assets/{index-BaJfxzLi.js → index-DettcyNk.js} +1 -1
- package/dist/assets/{index-AmOaldrX.js → index-DgPr-SEE.js} +1 -1
- package/dist/assets/{index-GRZ7T-Vj.js → index-DwIln40v.js} +1 -1
- package/dist/assets/{index-CvB9dSIF.js → index-OU6WftK9.js} +1 -1
- package/dist/assets/{index-B_W7z3II.js → index-X1NIUYGa.js} +1 -1
- package/dist/assets/{index-BaSZHjNU.js → index-XUnPo6Zv.js} +1 -1
- package/dist/assets/{index-CKyWFL_5.js → index-fjKu7md4.js} +1 -1
- package/dist/assets/{index-Q7qqT9VL.js → index-gA4Fo01C.js} +1 -1
- package/dist/assets/{index-aGlAj0Zr.js → index-l7_dfgp9.js} +1 -1
- package/dist/assets/{index-Z-ABz1jd.js → index-loqA2a4e.js} +5 -5
- package/dist/assets/{index-BNTzqgfC.js → index-vHV5CSQZ.js} +1 -1
- package/dist/assets/{index.es-BN3JAuK7.js → index.es-CZVlvuB_.js} +1 -1
- package/dist/assets/{index.esm--UowQ839.js → index.esm-Cce9Swgy.js} +1 -1
- package/dist/assets/{info-addon.es-CTOMNSVc.js → info-addon.es-DkaaQGew.js} +1 -1
- package/dist/assets/{info.es-BrcMiDXg.js → info.es-ema0ZL-Q.js} +1 -1
- package/dist/assets/{install-from-url-CWSHHc8X.js → install-from-url-4Qs31wHB.js} +1 -1
- package/dist/assets/{invitation-VBkiv8Lw.js → invitation-C5NSy9hR.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-BRfJaTzW.js → is-path-prefix-equal-BDCXHSjQ.js} +1 -1
- package/dist/assets/{isEqual-RXiETUsF.js → isEqual-CVa3aWV3.js} +1 -1
- package/dist/assets/{item-BE4r4zK9.js → item-C97A6lh3.js} +1 -1
- package/dist/assets/{javascript.es-oUt02u-R.js → javascript.es-BhhkHlA-.js} +1 -1
- package/dist/assets/{jump-to-line.es-xeQdXXR7.js → jump-to-line.es-B9AQoVv5.js} +1 -1
- package/dist/assets/{jump.es-DoHQC_ja.js → jump.es-Bl3HHTMf.js} +1 -1
- package/dist/assets/{line-DmTazELP.js → line-Cu36WRGu.js} +3 -3
- package/dist/assets/{lint.es-CPYwltP7.js → lint.es-DAt4ltrq.js} +1 -1
- package/dist/assets/{lint.es2-6T7H8Exj.js → lint.es2-CK4KvWYS.js} +1 -1
- package/dist/assets/{lint.es3-Cz2FVjJI.js → lint.es3-CSS8OhqH.js} +1 -1
- package/dist/assets/{list-header-B6f1dZ3Q.js → list-header-BnWyPzXN.js} +1 -1
- package/dist/assets/{log-DfA15qoc.js → log-Bxt8skIs.js} +1 -1
- package/dist/assets/{lottie-C-f15GXo.js → lottie-B9uVkdkA.js} +1 -1
- package/dist/assets/{matchbrackets.es-BOyxvkba.js → matchbrackets.es-rBX3Rpp6.js} +1 -1
- package/dist/assets/{memory-BCv7wlIh.js → memory-MAYTBbXe.js} +1 -1
- package/dist/assets/{mode.es-DwFnPhPx.js → mode.es-DYwm_ZvI.js} +1 -1
- package/dist/assets/{mode.es2-BWVwRWIf.js → mode.es2-DVQIg5jy.js} +1 -1
- package/dist/assets/{mode.es3-BQDrBmo8.js → mode.es3-C77qHtQY.js} +1 -1
- package/dist/assets/{onlineParser.es-B9niO3Rc.js → onlineParser.es-Cp8jHUaE.js} +1 -1
- package/dist/assets/{overview-Cx_VZc65.js → overview-Dm_54e-_.js} +1 -1
- package/dist/assets/{react-DSqvcQYy.js → react-KceqVQPw.js} +3 -3
- package/dist/assets/{redux-BsHcI3_9.js → redux-CiBDQx-j.js} +1 -1
- package/dist/assets/{resource-dialog-DLQewgrN.js → resource-dialog-DKfH7gNO.js} +1 -1
- package/dist/assets/{runtime-851oSSvI.js → runtime-DRWcvnb9.js} +1 -1
- package/dist/assets/{schema-CHbqUY8n.js → schema-8jXZYKt1.js} +1 -1
- package/dist/assets/sdk-Czu0utu6.js +1 -0
- package/dist/assets/{search.es-BwvbmPsk.js → search.es-B3C3VlXy.js} +1 -1
- package/dist/assets/{searchcursor.es-mmx6SXwj.js → searchcursor.es-DHswSC6o.js} +1 -1
- package/dist/assets/service-B2aLyew7.js +1 -0
- package/dist/assets/{shorten-label-Zm18p2j_.js → shorten-label-DXi72gK_.js} +1 -1
- package/dist/assets/{show-hint.es-BWO21koW.js → show-hint.es-CHMuXhEP.js} +1 -1
- package/dist/assets/{slicedToArray-CSiWJNnp.js → slicedToArray-BH180jt0.js} +1 -1
- package/dist/assets/{spaces-B_PEyuiK.js → spaces-DPmn7Ixz.js} +1 -1
- package/dist/assets/{sublime.es-DbB59fDR.js → sublime.es-DPeDRZAK.js} +1 -1
- package/dist/assets/{switch-control-CVljCfLQ.js → switch-control-DgudQ7xJ.js} +1 -1
- package/dist/assets/{table-icons-DRSK9N17.js → table-icons-D2lIfhZB.js} +2 -2
- package/dist/assets/{tag-s8n8kLNC.js → tag-YDLGqrKL.js} +1 -1
- package/dist/assets/{team-DcawcK1N.js → team-B_2aJZYH.js} +1 -1
- package/dist/assets/{toUpper-Caw7x1nX.js → toUpper-BcdXOnTm.js} +1 -1
- package/dist/assets/{traffic-Cp_OUEwu.js → traffic-U-8839pE.js} +1 -1
- package/dist/assets/{url-evaluation-85NTzVAr.js → url-evaluation-CRswLKtR.js} +1 -1
- package/dist/assets/{url-join-BTiLIGs1.js → url-join-CRBY0NF3.js} +1 -1
- package/dist/assets/{use-blocklet-info-for-connect-did-spaces-B_L8zOwH.js → use-blocklet-info-for-connect-did-spaces-4EmGfNXu.js} +1 -1
- package/dist/assets/{useLocalStorage-Dkuy7Y9c.js → useLocalStorage-VWzx8b6q.js} +1 -1
- package/dist/assets/{useThemeProps-DY6u-Sl5.js → useThemeProps-Cl9QuE5d.js} +1 -1
- package/dist/assets/{util-CR7yn4Rx.js → util-HRQZ4TOP.js} +1 -1
- package/dist/assets/{wait-container-D6A_wUSz.js → wait-container-UBvRSFVU.js} +1 -1
- package/dist/assets/{withStyles-B8wbvHA2.js → withStyles-Bapg8CLX.js} +1 -1
- package/dist/assets/{wrap-locale-B0GJBc6u.js → wrap-locale-BQ1h9Vt5.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +1 -1
- package/dist/assets/DeleteOutline-CaAz8YM2.js +0 -1
- package/dist/assets/actions-ByIKLhO5.js +0 -11
- package/dist/assets/api-px2wpsj4.js +0 -1
- package/dist/assets/blocklet-BkUmmvf6.js +0 -1
- package/dist/assets/getValidReactChildren-COQgThjG.js +0 -1
- package/dist/assets/sdk-BNPz4UBQ.js +0 -1
- package/dist/assets/service-CeSZ159H.js +0 -1
package/dist/service-worker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
try{self["workbox:core:7.0.0"]&&_()}catch{}const ae=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},ne=ae;let y=class extends Error{constructor(e,t){const r=ne(e,t);super(r),this.name=e,this.details=t}};const ie=new Set,d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},N=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),ce=s=>{for(const e of Object.keys(d))s(e)},oe={updateDetails:s=>{ce(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||N(d.googleAnalytics),getPrecacheName:s=>s||N(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||N(d.runtime),getSuffix:()=>d.suffix};function $(s,e){const t=new URL(s);for(const r of e)t.searchParams.delete(r);return t.href}async function le(s,e,t,r){const a=$(e.url,t);if(e.url===a)return s.match(e,r);const i=Object.assign(Object.assign({},r),{ignoreSearch:!0}),n=await s.keys(e,i);for(const c of n){const o=$(c.url,t);if(a===o)return s.match(c,r)}}let he=class{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};async function ue(){for(const s of ie)await s()}const fe=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function de(s){return new Promise(e=>setTimeout(e,s))}function pe(){self.addEventListener("activate",()=>self.clients.claim())}try{self["workbox:core:7.0.0"]&&_()}catch{}const ge=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},me=ge;let u=class extends Error{constructor(e,t){const r=me(e,t);super(r),this.name=e,this.details=t}};const p={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},M=s=>[p.prefix,s,p.suffix].filter(e=>e&&e.length>0).join("-"),we=s=>{for(const e of Object.keys(p))s(e)},j={updateDetails:s=>{we(e=>{typeof s[e]=="string"&&(p[e]=s[e])})},getGoogleAnalyticsName:s=>s||M(p.googleAnalytics),getPrecacheName:s=>s||M(p.precache),getPrefix:()=>p.prefix,getRuntimeName:s=>s||M(p.runtime),getSuffix:()=>p.suffix};function H(s,e){const t=e();return s.waitUntil(t),t}try{self["workbox:precaching:7.0.0"]&&_()}catch{}const ye="__WB_REVISION__";function _e(s){if(!s)throw new u("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const i=new URL(s,location.href);return{cacheKey:i.href,url:i.href}}const{revision:e,url:t}=s;if(!t)throw new u("add-to-cache-list-unexpected-type",{entry:s});if(!e){const i=new URL(t,location.href);return{cacheKey:i.href,url:i.href}}const r=new URL(t,location.href),a=new URL(t,location.href);return r.searchParams.set(ye,e),{cacheKey:r.href,url:a.href}}class Re{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:r})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;r?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return r}}}class be{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:r})=>{const a=(r==null?void 0:r.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}let b;function Ce(){if(b===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),b=!0}catch{b=!1}b=!1}return b}async function xe(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 r=s.clone(),a={headers:new Headers(r.headers),status:r.status,statusText:r.statusText},i=e?e(a):a,n=Ce()?r.body:await r.blob();return new Response(n,i)}const ke=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function B(s,e){const t=new URL(s);for(const r of e)t.searchParams.delete(r);return t.href}async function Ee(s,e,t,r){const a=B(e.url,t);if(e.url===a)return s.match(e,r);const i=Object.assign(Object.assign({},r),{ignoreSearch:!0}),n=await s.keys(e,i);for(const c of n){const o=B(c.url,t);if(a===o)return s.match(c,r)}}class De{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}const Ue=new Set;async function Le(){for(const s of Ue)await s()}function Pe(s){return new Promise(e=>setTimeout(e,s))}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function D(s){return typeof s=="string"?new Request(s):s}let ve=class{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new De,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const r of this._plugins)this._pluginStateMap.set(r,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let r=D(e);if(r.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const n=await t.preloadResponse;if(n)return n}const a=this.hasCallback("fetchDidFail")?r.clone():null;try{for(const n of this.iterateCallbacks("requestWillFetch"))r=await n({request:r.clone(),event:t})}catch(n){if(n instanceof Error)throw new u("plugin-error-request-will-fetch",{thrownErrorMessage:n.message})}const i=r.clone();try{let n;n=await fetch(r,r.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))n=await c({event:t,request:i,response:n});return n}catch(n){throw a&&await this.runCallbacks("fetchDidFail",{error:n,event:t,originalRequest:a.clone(),request:i.clone()}),n}}async fetchAndCachePut(e){const t=await this.fetch(e),r=t.clone();return this.waitUntil(this.cachePut(e,r)),t}async cacheMatch(e){const t=D(e);let r;const{cacheName:a,matchOptions:i}=this._strategy,n=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},i),{cacheName:a});r=await caches.match(n,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))r=await o({cacheName:a,matchOptions:i,cachedResponse:r,request:n,event:this.event})||void 0;return r}async cachePut(e,t){const r=D(e);await Pe(0);const a=await this.getCacheKey(r,"write");if(!t)throw new u("cache-put-with-no-response",{url:ke(a.url)});const i=await this._ensureResponseSafeToCache(t);if(!i)return!1;const{cacheName:n,matchOptions:c}=this._strategy,o=await self.caches.open(n),l=this.hasCallback("cacheDidUpdate"),f=l?await Ee(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?i.clone():i)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await Le(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:n,oldResponse:f,newResponse:i.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const r=`${e.url} | ${t}`;if(!this._cacheKeys[r]){let a=e;for(const i of this.iterateCallbacks("cacheKeyWillBeUsed"))a=D(await i({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[r]=a}return this._cacheKeys[r]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const r of this.iterateCallbacks(e))await r(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const r=this._pluginStateMap.get(t);yield i=>{const n=Object.assign(Object.assign({},i),{state:r});return t[e](n)}}}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,r=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,r=!0,!t)break;return r||t&&t.status!==200&&(t=void 0),t}},Ne=class{constructor(e={}){this.cacheName=j.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,r=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,i=new ve(this,{event:t,request:r,params:a}),n=this._getResponse(i,r,t),c=this._awaitComplete(n,i,r,t);return[n,c]}async _getResponse(e,t,r){await e.runCallbacks("handlerWillStart",{event:r,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(i){if(i instanceof Error){for(const n of e.iterateCallbacks("handlerDidError"))if(a=await n({error:i,event:r,request:t}),a)break}if(!a)throw i}for(const i of e.iterateCallbacks("handlerWillRespond"))a=await i({event:r,request:t,response:a});return a}async _awaitComplete(e,t,r,a){let i,n;try{i=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:r,response:i}),await t.doneWaiting()}catch(c){c instanceof Error&&(n=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:r,response:i,error:n}),t.destroy(),n)throw n}};class w extends Ne{constructor(e={}){e.cacheName=j.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(w.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const r=await t.cacheMatch(e);return r||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let r;const a=t.params||{};if(this._fallbackToNetwork){const i=a.integrity,n=e.integrity,c=!n||n===i;r=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?n||i:void 0})),i&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,r.clone()))}else throw new u("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return r}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const r=await t.fetch(e);if(!await t.cachePut(e,r.clone()))throw new u("bad-precaching-response",{url:e.url,status:r.status});return r}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[r,a]of this.plugins.entries())a!==w.copyRedirectedCacheableResponsesPlugin&&(a===w.defaultPrecacheCacheabilityPlugin&&(e=r),a.cacheWillUpdate&&t++);t===0?this.plugins.push(w.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}w.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};w.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await xe(s):s}};class Me{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:r=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new w({cacheName:j.getPrecacheName(e),plugins:[...t,new be({precacheController:this})],fallbackToNetwork:r}),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 r of e){typeof r=="string"?t.push(r):r&&r.revision===void 0&&t.push(r.url);const{cacheKey:a,url:i}=_e(r),n=typeof r!="string"&&r.revision?"reload":"default";if(this._urlsToCacheKeys.has(i)&&this._urlsToCacheKeys.get(i)!==a)throw new u("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(i),secondEntry:a});if(typeof r!="string"&&r.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==r.integrity)throw new u("add-to-cache-list-conflicting-integrities",{url:i});this._cacheKeysToIntegrities.set(a,r.integrity)}if(this._urlsToCacheKeys.set(i,a),this._urlsToCacheModes.set(i,n),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 H(e,async()=>{const t=new Re;this.strategy.plugins.push(t);for(const[i,n]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(n),o=this._urlsToCacheModes.get(i),l=new Request(i,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:l,event:e}))}const{updatedURLs:r,notUpdatedURLs:a}=t;return{updatedURLs:r,notUpdatedURLs:a}})}activate(e){return H(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),r=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),i=[];for(const n of r)a.has(n.url)||(await t.delete(n),i.push(n.url));return{deletedURLs:i}})}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,r=this.getCacheKeyForURL(t);if(r)return(await self.caches.open(this.strategy.cacheName)).match(r)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new u("non-precached-url",{url:e});return r=>(r.request=new Request(e),r.params=Object.assign({cacheKey:t},r.params),this.strategy.handle(r))}}let T;const J=()=>(T||(T=new Me),T);try{self["workbox:routing:7.0.0"]&&_()}catch{}const z="GET",P=s=>s&&typeof s=="object"?s:{handle:s};let E=class{constructor(e,t,r=z){this.handler=P(t),this.match=e,this.method=r}setCatchHandler(e){this.catchHandler=P(e)}},Te=class extends E{constructor(e,t,r){const a=({url:i})=>{const n=e.exec(i.href);if(n&&!(i.origin!==location.origin&&n.index!==0))return n.slice(1)};super(a,t,r)}},Oe=class{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,r=this.handleRequest({request:t,event:e});r&&e.respondWith(r)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,r=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const i=new Request(...a);return this.handleRequest({request:i,event:e})}));e.waitUntil(r),e.ports&&e.ports[0]&&r.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;const a=r.origin===location.origin,{params:i,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:r});let c=n&&n.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:r,request:e,event:t,params:i})}catch(h){l=Promise.reject(h)}const f=n&&n.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:r,request:e,event:t,params:i})}catch(R){R instanceof Error&&(h=R)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:r,event:a}){const i=this._routes.get(r.method)||[];for(const n of i){let c;const o=n.match({url:e,sameOrigin:t,request:r,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:n,params:c}}return{}}setDefaultHandler(e,t=z){this._defaultHandlerMap.set(t,P(e))}setCatchHandler(e){this._catchHandler=P(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")}},C;const Se=()=>(C||(C=new Oe,C.addFetchListener(),C.addCacheListener()),C);function Ae(s,e,t){let r;if(typeof s=="string"){const i=new URL(s,location.href),n=({url:c})=>c.href===i.href;r=new E(n,e,t)}else if(s instanceof RegExp)r=new Te(s,e,t);else if(typeof s=="function")r=new E(s,e,t);else if(s instanceof E)r=s;else throw new u("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return Se().registerRoute(r),r}function Ke(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(r=>r.test(t))&&s.searchParams.delete(t);return s}function*Ie(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:r=!0,urlManipulation:a}={}){const i=new URL(s,location.href);i.hash="",yield i.href;const n=Ke(i,e);if(yield n.href,t&&n.pathname.endsWith("/")){const c=new URL(n.href);c.pathname+=t,yield c.href}if(r){const c=new URL(n.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:i});for(const o of c)yield o.href}}class We extends E{constructor(e,t){const r=({request:a})=>{const i=e.getURLsToCacheKeys();for(const n of Ie(a.url,t)){const c=i.get(n);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(r,e.strategy)}}function je(s){const e=J(),t=new We(e,s);Ae(t)}function qe(s){J().precache(s)}function $e(s,e){qe(s),je(e)}try{self["workbox:core:7.0.0"]&&_()}catch{}const He=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Be=He;class Fe extends Error{constructor(e,t){const r=Be(e,t);super(r),this.name=e,this.details=t}}function X(s){s.then(()=>{})}const Ve=(s,e)=>e.some(t=>s instanceof t);let F,V;function Ge(){return F||(F=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Qe(){return V||(V=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Y=new WeakMap,I=new WeakMap,Z=new WeakMap,O=new WeakMap,q=new WeakMap;function Je(s){const e=new Promise((t,r)=>{const a=()=>{s.removeEventListener("success",i),s.removeEventListener("error",n)},i=()=>{t(m(s.result)),a()},n=()=>{r(s.error),a()};s.addEventListener("success",i),s.addEventListener("error",n)});return e.then(t=>{t instanceof IDBCursor&&Y.set(t,s)}).catch(()=>{}),q.set(e,s),e}function ze(s){if(I.has(s))return;const e=new Promise((t,r)=>{const a=()=>{s.removeEventListener("complete",i),s.removeEventListener("error",n),s.removeEventListener("abort",n)},i=()=>{t(),a()},n=()=>{r(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",i),s.addEventListener("error",n),s.addEventListener("abort",n)});I.set(s,e)}let W={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return I.get(s);if(e==="objectStoreNames")return s.objectStoreNames||Z.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 Xe(s){W=s(W)}function Ye(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const r=s.call(S(this),e,...t);return Z.set(r,e.sort?e.sort():[e]),m(r)}:Qe().includes(s)?function(...e){return s.apply(S(this),e),m(Y.get(this))}:function(...e){return m(s.apply(S(this),e))}}function Ze(s){return typeof s=="function"?Ye(s):(s instanceof IDBTransaction&&ze(s),Ve(s,Ge())?new Proxy(s,W):s)}function m(s){if(s instanceof IDBRequest)return Je(s);if(O.has(s))return O.get(s);const e=Ze(s);return e!==s&&(O.set(s,e),q.set(e,s)),e}const S=s=>q.get(s);function et(s,e,{blocked:t,upgrade:r,blocking:a,terminated:i}={}){const n=indexedDB.open(s,e),c=m(n);return r&&n.addEventListener("upgradeneeded",o=>{r(m(n.result),o.oldVersion,o.newVersion,m(n.transaction),o)}),t&&n.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{i&&o.addEventListener("close",()=>i()),a&&o.addEventListener("versionchange",l=>a(l.oldVersion,l.newVersion,l))}).catch(()=>{}),c}function tt(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",r=>e(r.oldVersion,r)),m(t).then(()=>{})}const st=["get","getKey","getAll","getAllKeys","count"],rt=["put","add","delete","clear"],A=new Map;function G(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(A.get(e))return A.get(e);const t=e.replace(/FromIndex$/,""),r=e!==t,a=rt.includes(t);if(!(t in(r?IDBIndex:IDBObjectStore).prototype)||!(a||st.includes(t)))return;const i=async function(n,...c){const o=this.transaction(n,a?"readwrite":"readonly");let l=o.store;return r&&(l=l.index(c.shift())),(await Promise.all([l[t](...c),a&&o.done]))[0]};return A.set(e,i),i}Xe(s=>({...s,get:(e,t,r)=>G(e,t)||s.get(e,t,r),has:(e,t)=>!!G(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.0.0"]&&_()}catch{}const at="workbox-expiration",x="cache-entries",Q=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class nt{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(x,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&tt(this._cacheName)}async setTimestamp(e,t){e=Q(e);const r={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},i=(await this.getDb()).transaction(x,"readwrite",{durability:"relaxed"});await i.store.put(r),await i.done}async getTimestamp(e){const r=await(await this.getDb()).get(x,this._getId(e));return r==null?void 0:r.timestamp}async expireEntries(e,t){const r=await this.getDb();let a=await r.transaction(x).store.index("timestamp").openCursor(null,"prev");const i=[];let n=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp<e||t&&n>=t?i.push(a.value):n++),a=await a.continue()}const c=[];for(const o of i)await r.delete(x,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+Q(e)}async getDb(){return this._db||(this._db=await et(at,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class it{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 nt(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),r=await self.caches.open(this._cacheName);for(const a of t)await r.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,X(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),r=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<r:!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:""},K=s=>[g.prefix,s,g.suffix].filter(e=>e&&e.length>0).join("-"),ct=s=>{for(const e of Object.keys(g))s(e)},ot={updateDetails:s=>{ct(e=>{typeof s[e]=="string"&&(g[e]=s[e])})},getGoogleAnalyticsName:s=>s||K(g.googleAnalytics),getPrecacheName:s=>s||K(g.precache),getPrefix:()=>g.prefix,getRuntimeName:s=>s||K(g.runtime),getSuffix:()=>g.suffix},lt=new Set;function ht(s){lt.add(s)}class ut{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:r,cacheName:a,cachedResponse:i})=>{if(!i)return null;const n=this._isResponseDateFresh(i),c=this._getCacheExpiration(a);X(c.expireEntries());const o=c.updateTimestamp(r.url);if(t)try{t.waitUntil(o)}catch{}return n?i:null},this.cacheDidUpdate=async({cacheName:t,request:r})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(r.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&ht(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===ot.getRuntimeName())throw new Fe("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new it(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 r=Date.now();return t>=r-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 ee="GET",v=s=>s&&typeof s=="object"?s:{handle:s};class L{constructor(e,t,r=ee){this.handler=v(t),this.match=e,this.method=r}setCatchHandler(e){this.catchHandler=v(e)}}class ft extends L{constructor(e,t,r){const a=({url:i})=>{const n=e.exec(i.href);if(n&&!(i.origin!==location.origin&&n.index!==0))return n.slice(1)};super(a,t,r)}}class dt{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,r=this.handleRequest({request:t,event:e});r&&e.respondWith(r)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,r=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const i=new Request(...a);return this.handleRequest({request:i,event:e})}));e.waitUntil(r),e.ports&&e.ports[0]&&r.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;const a=r.origin===location.origin,{params:i,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:r});let c=n&&n.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:r,request:e,event:t,params:i})}catch(h){l=Promise.reject(h)}const f=n&&n.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:r,request:e,event:t,params:i})}catch(R){R instanceof Error&&(h=R)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:r,event:a}){const i=this._routes.get(r.method)||[];for(const n of i){let c;const o=n.match({url:e,sameOrigin:t,request:r,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:n,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 y("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 y("unregister-route-route-not-registered")}}let k;const pt=()=>(k||(k=new dt,k.addFetchListener(),k.addCacheListener()),k);function te(s,e,t){let r;if(typeof s=="string"){const i=new URL(s,location.href),n=({url:c})=>c.href===i.href;r=new L(n,e,t)}else if(s instanceof RegExp)r=new ft(s,e,t);else if(typeof s=="function")r=new L(s,e,t);else if(s instanceof L)r=s;else throw new y("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return pt().registerRoute(r),r}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function U(s){return typeof s=="string"?new Request(s):s}class gt{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new he,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const r of this._plugins)this._pluginStateMap.set(r,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let r=U(e);if(r.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const n=await t.preloadResponse;if(n)return n}const a=this.hasCallback("fetchDidFail")?r.clone():null;try{for(const n of this.iterateCallbacks("requestWillFetch"))r=await n({request:r.clone(),event:t})}catch(n){if(n instanceof Error)throw new y("plugin-error-request-will-fetch",{thrownErrorMessage:n.message})}const i=r.clone();try{let n;n=await fetch(r,r.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))n=await c({event:t,request:i,response:n});return n}catch(n){throw a&&await this.runCallbacks("fetchDidFail",{error:n,event:t,originalRequest:a.clone(),request:i.clone()}),n}}async fetchAndCachePut(e){const t=await this.fetch(e),r=t.clone();return this.waitUntil(this.cachePut(e,r)),t}async cacheMatch(e){const t=U(e);let r;const{cacheName:a,matchOptions:i}=this._strategy,n=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},i),{cacheName:a});r=await caches.match(n,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))r=await o({cacheName:a,matchOptions:i,cachedResponse:r,request:n,event:this.event})||void 0;return r}async cachePut(e,t){const r=U(e);await de(0);const a=await this.getCacheKey(r,"write");if(!t)throw new y("cache-put-with-no-response",{url:fe(a.url)});const i=await this._ensureResponseSafeToCache(t);if(!i)return!1;const{cacheName:n,matchOptions:c}=this._strategy,o=await self.caches.open(n),l=this.hasCallback("cacheDidUpdate"),f=l?await le(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?i.clone():i)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await ue(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:n,oldResponse:f,newResponse:i.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const r=`${e.url} | ${t}`;if(!this._cacheKeys[r]){let a=e;for(const i of this.iterateCallbacks("cacheKeyWillBeUsed"))a=U(await i({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[r]=a}return this._cacheKeys[r]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const r of this.iterateCallbacks(e))await r(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const r=this._pluginStateMap.get(t);yield i=>{const n=Object.assign(Object.assign({},i),{state:r});return t[e](n)}}}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,r=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,r=!0,!t)break;return r||t&&t.status!==200&&(t=void 0),t}}class se{constructor(e={}){this.cacheName=oe.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,r=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,i=new gt(this,{event:t,request:r,params:a}),n=this._getResponse(i,r,t),c=this._awaitComplete(n,i,r,t);return[n,c]}async _getResponse(e,t,r){await e.runCallbacks("handlerWillStart",{event:r,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new y("no-response",{url:t.url})}catch(i){if(i instanceof Error){for(const n of e.iterateCallbacks("handlerDidError"))if(a=await n({error:i,event:r,request:t}),a)break}if(!a)throw i}for(const i of e.iterateCallbacks("handlerWillRespond"))a=await i({event:r,request:t,response:a});return a}async _awaitComplete(e,t,r,a){let i,n;try{i=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:r,response:i}),await t.doneWaiting()}catch(c){c instanceof Error&&(n=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:r,response:i,error:n}),t.destroy(),n)throw n}}class mt extends se{async _handle(e,t){let r=await t.cacheMatch(e),a;if(!r)try{r=await t.fetchAndCachePut(e)}catch(i){i instanceof Error&&(a=i)}if(!r)throw new y("no-response",{url:e.url,error:a});return r}}const wt={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class yt extends se{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(wt)}async _handle(e,t){const r=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(r);let a=await t.cacheMatch(e),i;if(!a)try{a=await r}catch(n){n instanceof Error&&(i=n)}if(!a)throw new y("no-response",{url:e.url,error:i});return a}}$e(([{"revision":null,"url":"assets/actions-ByIKLhO5.js"},{"revision":null,"url":"assets/actions-DvMK194y.js"},{"revision":null,"url":"assets/Add-CdB1GTw1.js"},{"revision":null,"url":"assets/agreement-CaStPJUg.js"},{"revision":null,"url":"assets/api-px2wpsj4.js"},{"revision":null,"url":"assets/app-avatar-DMwKWgcU.js"},{"revision":null,"url":"assets/ar-CYspPmSu.js"},{"revision":null,"url":"assets/ar-DEFG_HSF.js"},{"revision":null,"url":"assets/ArrowDropDown-cQI9feYM.js"},{"revision":null,"url":"assets/audit-logs-t-VHu0Dr.js"},{"revision":null,"url":"assets/Autocomplete-Bhg6P1T-.js"},{"revision":null,"url":"assets/blocklet-BkUmmvf6.js"},{"revision":null,"url":"assets/brace-fold.es-CTXnLvpw.js"},{"revision":null,"url":"assets/Breadcrumbs-zBxzGTSz.js"},{"revision":null,"url":"assets/bundle-avatar-FKqqno38.js"},{"revision":null,"url":"assets/ButtonGroup-CEodIFRb.js"},{"revision":null,"url":"assets/chart-CRT8ZY2D.js"},{"revision":null,"url":"assets/CheckCircle-D2TmcEFh.js"},{"revision":null,"url":"assets/ChevronLeft-Eu14H7S5.js"},{"revision":null,"url":"assets/ChevronRight-Ba-Rcz-i.js"},{"revision":null,"url":"assets/click-to-copy-D6fJs3Fy.js"},{"revision":null,"url":"assets/Close-Dq2gRzdt.js"},{"revision":null,"url":"assets/closebrackets.es-CeqttfBg.js"},{"revision":null,"url":"assets/codemirror.es-DLcwUx7p.js"},{"revision":null,"url":"assets/comment.es-Dwlg7zZ0.js"},{"revision":null,"url":"assets/config-navigation-iOt18Gkq.js"},{"revision":null,"url":"assets/de-BXx5XWMv.js"},{"revision":null,"url":"assets/de-DIG5UukX.js"},{"revision":null,"url":"assets/delete-confirm-SB_AYHUI.js"},{"revision":null,"url":"assets/Delete-Di-3Vxhz.js"},{"revision":null,"url":"assets/DeleteOutline-BQeXrAk8.js"},{"revision":null,"url":"assets/DeleteOutline-CaAz8YM2.js"},{"revision":null,"url":"assets/detail-aujfRVSm.js"},{"revision":null,"url":"assets/dialog.es-BoZ8Hndg.js"},{"revision":null,"url":"assets/Done-BiwCZjD9.js"},{"revision":null,"url":"assets/download-D33dFtt_.css"},{"revision":null,"url":"assets/download-DQwdlhb7.js"},{"revision":null,"url":"assets/Edit-CeoVDX9P.js"},{"revision":null,"url":"assets/EditIcon-CIZQcG-N.js"},{"revision":null,"url":"assets/es-dYDfzHE0.js"},{"revision":null,"url":"assets/es-iIE-oygq.js"},{"revision":null,"url":"assets/ExpandMore-Co2TCgMe.js"},{"revision":null,"url":"assets/FilterList-CtKjjq1V.js"},{"revision":null,"url":"assets/foldgutter.es-C0B3TZBw.js"},{"revision":null,"url":"assets/forEachState.es-D8bf0zSr.js"},{"revision":null,"url":"assets/fr-D8XyKysR.js"},{"revision":null,"url":"assets/fr-DGLilU-8.js"},{"revision":null,"url":"assets/getValidReactChildren-COQgThjG.js"},{"revision":null,"url":"assets/Google-CB64yAYZ.js"},{"revision":null,"url":"assets/hi-C12r029w.js"},{"revision":null,"url":"assets/hi-EiYI5FnU.js"},{"revision":null,"url":"assets/hint.es-8QwfI9G8.js"},{"revision":null,"url":"assets/hint.es2-CSc3mT9h.js"},{"revision":null,"url":"assets/Https-CZ8ckEIE.js"},{"revision":null,"url":"assets/id-BHuBzbF-.js"},{"revision":null,"url":"assets/id-BM1nX889.js"},{"revision":null,"url":"assets/iframe-BsBQ7ohV.js"},{"revision":null,"url":"assets/index-_7deM5fB.js"},{"revision":null,"url":"assets/index-7Qh6jCeM.js"},{"revision":null,"url":"assets/index-aGlAj0Zr.js"},{"revision":null,"url":"assets/index-AmOaldrX.js"},{"revision":null,"url":"assets/index-B_W7z3II.js"},{"revision":null,"url":"assets/index-B-ybRhYS.js"},{"revision":null,"url":"assets/index-B4C9ArGO.js"},{"revision":null,"url":"assets/index-B4uBhVoZ.js"},{"revision":null,"url":"assets/index-B6-dKqLH.js"},{"revision":null,"url":"assets/index-BaJfxzLi.js"},{"revision":null,"url":"assets/index-BaSZHjNU.js"},{"revision":null,"url":"assets/index-BHylZj48.js"},{"revision":null,"url":"assets/index-BNTzqgfC.js"},{"revision":null,"url":"assets/index-BTF_a0ok.js"},{"revision":null,"url":"assets/index-By1cj6yo.js"},{"revision":null,"url":"assets/index-BZBRVOaw.js"},{"revision":null,"url":"assets/index-C69Wt2SK.js"},{"revision":null,"url":"assets/index-C7igR7se.css"},{"revision":null,"url":"assets/index-CBMSKoCT.js"},{"revision":null,"url":"assets/index-CEXcSiNy.js"},{"revision":null,"url":"assets/index-CKyWFL_5.js"},{"revision":null,"url":"assets/index-Cp7_fpD3.js"},{"revision":null,"url":"assets/index-CpTpPC7E.js"},{"revision":null,"url":"assets/index-CvB9dSIF.js"},{"revision":null,"url":"assets/index-D4PP6P2d.css"},{"revision":null,"url":"assets/index-D7K8de1w.css"},{"revision":null,"url":"assets/index-D9k2I5J1.js"},{"revision":null,"url":"assets/index-DBmLMLK2.js"},{"revision":null,"url":"assets/index-DBXP37Lb.js"},{"revision":null,"url":"assets/index-DhKEzK4G.js"},{"revision":null,"url":"assets/index-DiVGhjwz.js"},{"revision":null,"url":"assets/index-DpsnjJXZ.js"},{"revision":null,"url":"assets/index-Dr-mhUSe.js"},{"revision":null,"url":"assets/index-DU3JORH0.css"},{"revision":null,"url":"assets/index-DWzRY4Xk.js"},{"revision":null,"url":"assets/index-DzY48FPR.js"},{"revision":null,"url":"assets/index-FEwB9kgu.js"},{"revision":null,"url":"assets/index-GRZ7T-Vj.js"},{"revision":null,"url":"assets/index-hQaQ5PJ4.js"},{"revision":null,"url":"assets/index-lfnvzeT0.js"},{"revision":null,"url":"assets/index-lU5qXZaf.js"},{"revision":null,"url":"assets/index-PM4c29FK.js"},{"revision":null,"url":"assets/index-Q7qqT9VL.js"},{"revision":null,"url":"assets/index-UcfhuBCV.js"},{"revision":null,"url":"assets/index-uXUXUKt1.js"},{"revision":null,"url":"assets/index-vVyFVEQx.js"},{"revision":null,"url":"assets/index-W1Roe0KR.js"},{"revision":null,"url":"assets/index-xq7hcpVR.js"},{"revision":null,"url":"assets/index-Z-ABz1jd.js"},{"revision":null,"url":"assets/index-ZG7jWpak.js"},{"revision":null,"url":"assets/index.es-BN3JAuK7.js"},{"revision":null,"url":"assets/index.esm--UowQ839.js"},{"revision":null,"url":"assets/info-addon.es-CTOMNSVc.js"},{"revision":null,"url":"assets/info.es-BrcMiDXg.js"},{"revision":null,"url":"assets/InputAdornment-DAdjrwZB.js"},{"revision":null,"url":"assets/InputLabel-E2n2XENL.js"},{"revision":null,"url":"assets/install-from-url-CWSHHc8X.js"},{"revision":null,"url":"assets/introspection.es-CPJcz6nz.js"},{"revision":null,"url":"assets/invitation-VBkiv8Lw.js"},{"revision":null,"url":"assets/is-path-prefix-equal-BRfJaTzW.js"},{"revision":null,"url":"assets/isEqual-RXiETUsF.js"},{"revision":null,"url":"assets/item-BE4r4zK9.js"},{"revision":null,"url":"assets/item-CxkJY_14.css"},{"revision":null,"url":"assets/ja-BeNRi6CF.js"},{"revision":null,"url":"assets/ja-D8yfIRFO.js"},{"revision":null,"url":"assets/javascript.es-oUt02u-R.js"},{"revision":null,"url":"assets/jump-to-line.es-xeQdXXR7.js"},{"revision":null,"url":"assets/jump.es-DoHQC_ja.js"},{"revision":null,"url":"assets/keyboard-arrow-down-rounded-DadBVmpO.js"},{"revision":null,"url":"assets/ko-BGPBfmUw.js"},{"revision":null,"url":"assets/ko-BYDKCXC0.js"},{"revision":null,"url":"assets/LastPage-Dk3Ng8r_.js"},{"revision":null,"url":"assets/Launch-DCauoB9i.js"},{"revision":null,"url":"assets/line-DmTazELP.js"},{"revision":null,"url":"assets/Link-B5_3_F5M.js"},{"revision":null,"url":"assets/lint.es-CPYwltP7.js"},{"revision":null,"url":"assets/lint.es2-6T7H8Exj.js"},{"revision":null,"url":"assets/lint.es3-Cz2FVjJI.js"},{"revision":null,"url":"assets/list-header-B6f1dZ3Q.js"},{"revision":null,"url":"assets/LoadingButton-CmY35jLm.js"},{"revision":null,"url":"assets/LockIcon-DLnWJnFU.js"},{"revision":null,"url":"assets/log-DfA15qoc.js"},{"revision":null,"url":"assets/logo-BKA11TRi.js"},{"revision":null,"url":"assets/Loop-BK2g7AZi.js"},{"revision":null,"url":"assets/lottie-C-f15GXo.js"},{"revision":null,"url":"assets/matchbrackets.es-BOyxvkba.js"},{"revision":null,"url":"assets/memoize-one.esm-BdPwpGay.js"},{"revision":null,"url":"assets/memory-BCv7wlIh.js"},{"revision":null,"url":"assets/mode-B2dWMeTO.js"},{"revision":null,"url":"assets/mode.es-DwFnPhPx.js"},{"revision":null,"url":"assets/mode.es2-BWVwRWIf.js"},{"revision":null,"url":"assets/mode.es3-BQDrBmo8.js"},{"revision":null,"url":"assets/MoreVert-CGx6Mqxv.js"},{"revision":null,"url":"assets/onlineParser.es-B9niO3Rc.js"},{"revision":null,"url":"assets/overview-Cx_VZc65.js"},{"revision":null,"url":"assets/Pagination-B4jmH7k6.js"},{"revision":null,"url":"assets/preact.module-B1z5cdvs.js"},{"revision":null,"url":"assets/pt-B9DRiZEN.js"},{"revision":null,"url":"assets/pt-BmW9xdbz.js"},{"revision":null,"url":"assets/Public-C0O-VR0x.js"},{"revision":null,"url":"assets/Range.es-DaV7MD2W.js"},{"revision":null,"url":"assets/react-BW7E7-P9.css"},{"revision":null,"url":"assets/react-DSqvcQYy.js"},{"revision":null,"url":"assets/redux-BsHcI3_9.js"},{"revision":null,"url":"assets/resource-dialog-DLQewgrN.js"},{"revision":null,"url":"assets/ru-CUxGgO8D.js"},{"revision":null,"url":"assets/ru-DufkUHOM.js"},{"revision":null,"url":"assets/runtime-851oSSvI.js"},{"revision":null,"url":"assets/schema-CHbqUY8n.js"},{"revision":null,"url":"assets/SchemaReference.es-CwVyx9KR.js"},{"revision":null,"url":"assets/sdk-BNPz4UBQ.js"},{"revision":null,"url":"assets/Search-Drx5S2Fc.js"},{"revision":null,"url":"assets/search.es-BwvbmPsk.js"},{"revision":null,"url":"assets/searchcursor.es-mmx6SXwj.js"},{"revision":null,"url":"assets/Select-BAE2ztrO.js"},{"revision":null,"url":"assets/service-CeSZ159H.js"},{"revision":null,"url":"assets/shorten-label-Zm18p2j_.js"},{"revision":null,"url":"assets/show-hint.es-BWO21koW.js"},{"revision":null,"url":"assets/Skeleton-Dg829dzN.js"},{"revision":null,"url":"assets/slicedToArray-CSiWJNnp.js"},{"revision":null,"url":"assets/Slider-DalB8Bfa.js"},{"revision":null,"url":"assets/spaces-B_PEyuiK.js"},{"revision":null,"url":"assets/Stepper-CyP9t2tf.js"},{"revision":null,"url":"assets/sublime.es-DbB59fDR.js"},{"revision":null,"url":"assets/switch-control-CVljCfLQ.js"},{"revision":null,"url":"assets/table-icons-DRSK9N17.js"},{"revision":null,"url":"assets/tag-s8n8kLNC.js"},{"revision":null,"url":"assets/team-DcawcK1N.js"},{"revision":null,"url":"assets/TextField-UIj7bh4L.js"},{"revision":null,"url":"assets/th-D6abaOt7.js"},{"revision":null,"url":"assets/th-Dl-J4TkD.js"},{"revision":null,"url":"assets/ToggleButtonGroup-BezYeHSt.js"},{"revision":null,"url":"assets/toUpper-Caw7x1nX.js"},{"revision":null,"url":"assets/traffic-Cp_OUEwu.js"},{"revision":null,"url":"assets/url-evaluation-85NTzVAr.js"},{"revision":null,"url":"assets/url-join-BTiLIGs1.js"},{"revision":null,"url":"assets/use-blocklet-info-for-connect-did-spaces-B_L8zOwH.js"},{"revision":null,"url":"assets/useLocalStorage-Dkuy7Y9c.js"},{"revision":null,"url":"assets/useThemeProps-DY6u-Sl5.js"},{"revision":null,"url":"assets/util-CR7yn4Rx.js"},{"revision":null,"url":"assets/vi-BMeJuBa9.js"},{"revision":null,"url":"assets/vi-BsX5AAJJ.js"},{"revision":null,"url":"assets/ViewList-BdFK3ZRI.js"},{"revision":null,"url":"assets/wait-container-D6A_wUSz.js"},{"revision":null,"url":"assets/withStyles-B8wbvHA2.js"},{"revision":null,"url":"assets/wrap-locale-B0GJBc6u.js"},{"revision":null,"url":"assets/zh-BDoN11lM.js"},{"revision":null,"url":"assets/zh-BxFByN8K.js"},{"revision":null,"url":"assets/zh-tw-D7VeUoit.js"},{"revision":null,"url":"assets/zh-tw-Dg9g_7UM.js"},{"revision":"1a966ec541e09feab6e09d6a3464571a","url":"icons/css/all.css"},{"revision":"8cb29294e1259a11a4dcfc53db228c0c","url":"icons/css/brands.css"},{"revision":"e261b026495a963a3440c2cabaafffd9","url":"icons/css/brands.min.css"},{"revision":"b40c99e5b26dfdd9c49d45f550044137","url":"icons/css/fontawesome.css"},{"revision":"40af17bd614587f6c474f1d1ae9cd743","url":"icons/css/fontawesome.min.css"},{"revision":"03077cdd0957040d48261696c05e9215","url":"icons/css/light.css"},{"revision":"fe218a7af84a0e83bf616f465b9f0f4a","url":"icons/css/light.min.css"},{"revision":"663a65db85eff074b44a1d76b1794e6a","url":"index.html"},{"revision":"be6aad568a9de402ad83ef7601f9d6ce","url":"registerSW.js"},{"revision":"eee7588574d50fc529352609420cb773","url":"manifest.webmanifest"}]||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));pe();self.addEventListener("activate",()=>{console.log("Service Worker activated")});self.addEventListener("install",s=>{console.log("Service Worker installed"),s.waitUntil(self.skipWaiting())});const re=s=>!!(s.method!=="GET"||s.url.includes("/api")||s.url.includes("__meta__.js")||s.url.includes("__blocklet__.js"));te(s=>{const{request:e}=s;return re(e)?!1:e.url.includes("/static/")},new mt({cacheName:"static",plugins:[new ut({maxEntries:200})]}));te(s=>{const{request:e}=s;return re(e)?!1:e.url.includes("/images/")||e.url.includes("/icons/")},new yt);
|
|
2
|
+
This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return H(e,async()=>{const t=new Re;this.strategy.plugins.push(t);for(const[i,n]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(n),o=this._urlsToCacheModes.get(i),l=new Request(i,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:l,event:e}))}const{updatedURLs:r,notUpdatedURLs:a}=t;return{updatedURLs:r,notUpdatedURLs:a}})}activate(e){return H(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),r=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),i=[];for(const n of r)a.has(n.url)||(await t.delete(n),i.push(n.url));return{deletedURLs:i}})}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,r=this.getCacheKeyForURL(t);if(r)return(await self.caches.open(this.strategy.cacheName)).match(r)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new u("non-precached-url",{url:e});return r=>(r.request=new Request(e),r.params=Object.assign({cacheKey:t},r.params),this.strategy.handle(r))}}let T;const J=()=>(T||(T=new Me),T);try{self["workbox:routing:7.0.0"]&&_()}catch{}const z="GET",P=s=>s&&typeof s=="object"?s:{handle:s};let E=class{constructor(e,t,r=z){this.handler=P(t),this.match=e,this.method=r}setCatchHandler(e){this.catchHandler=P(e)}},Te=class extends E{constructor(e,t,r){const a=({url:i})=>{const n=e.exec(i.href);if(n&&!(i.origin!==location.origin&&n.index!==0))return n.slice(1)};super(a,t,r)}},Oe=class{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,r=this.handleRequest({request:t,event:e});r&&e.respondWith(r)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,r=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const i=new Request(...a);return this.handleRequest({request:i,event:e})}));e.waitUntil(r),e.ports&&e.ports[0]&&r.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;const a=r.origin===location.origin,{params:i,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:r});let c=n&&n.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:r,request:e,event:t,params:i})}catch(h){l=Promise.reject(h)}const f=n&&n.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:r,request:e,event:t,params:i})}catch(R){R instanceof Error&&(h=R)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:r,event:a}){const i=this._routes.get(r.method)||[];for(const n of i){let c;const o=n.match({url:e,sameOrigin:t,request:r,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:n,params:c}}return{}}setDefaultHandler(e,t=z){this._defaultHandlerMap.set(t,P(e))}setCatchHandler(e){this._catchHandler=P(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")}},C;const Se=()=>(C||(C=new Oe,C.addFetchListener(),C.addCacheListener()),C);function Ae(s,e,t){let r;if(typeof s=="string"){const i=new URL(s,location.href),n=({url:c})=>c.href===i.href;r=new E(n,e,t)}else if(s instanceof RegExp)r=new Te(s,e,t);else if(typeof s=="function")r=new E(s,e,t);else if(s instanceof E)r=s;else throw new u("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return Se().registerRoute(r),r}function Ke(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(r=>r.test(t))&&s.searchParams.delete(t);return s}function*Ie(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:r=!0,urlManipulation:a}={}){const i=new URL(s,location.href);i.hash="",yield i.href;const n=Ke(i,e);if(yield n.href,t&&n.pathname.endsWith("/")){const c=new URL(n.href);c.pathname+=t,yield c.href}if(r){const c=new URL(n.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:i});for(const o of c)yield o.href}}class We extends E{constructor(e,t){const r=({request:a})=>{const i=e.getURLsToCacheKeys();for(const n of Ie(a.url,t)){const c=i.get(n);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(r,e.strategy)}}function je(s){const e=J(),t=new We(e,s);Ae(t)}function qe(s){J().precache(s)}function $e(s,e){qe(s),je(e)}try{self["workbox:core:7.0.0"]&&_()}catch{}const He=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Be=He;class Fe extends Error{constructor(e,t){const r=Be(e,t);super(r),this.name=e,this.details=t}}function X(s){s.then(()=>{})}const Ve=(s,e)=>e.some(t=>s instanceof t);let F,V;function Ge(){return F||(F=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Qe(){return V||(V=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Y=new WeakMap,I=new WeakMap,Z=new WeakMap,O=new WeakMap,q=new WeakMap;function Je(s){const e=new Promise((t,r)=>{const a=()=>{s.removeEventListener("success",i),s.removeEventListener("error",n)},i=()=>{t(m(s.result)),a()},n=()=>{r(s.error),a()};s.addEventListener("success",i),s.addEventListener("error",n)});return e.then(t=>{t instanceof IDBCursor&&Y.set(t,s)}).catch(()=>{}),q.set(e,s),e}function ze(s){if(I.has(s))return;const e=new Promise((t,r)=>{const a=()=>{s.removeEventListener("complete",i),s.removeEventListener("error",n),s.removeEventListener("abort",n)},i=()=>{t(),a()},n=()=>{r(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",i),s.addEventListener("error",n),s.addEventListener("abort",n)});I.set(s,e)}let W={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return I.get(s);if(e==="objectStoreNames")return s.objectStoreNames||Z.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 Xe(s){W=s(W)}function Ye(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const r=s.call(S(this),e,...t);return Z.set(r,e.sort?e.sort():[e]),m(r)}:Qe().includes(s)?function(...e){return s.apply(S(this),e),m(Y.get(this))}:function(...e){return m(s.apply(S(this),e))}}function Ze(s){return typeof s=="function"?Ye(s):(s instanceof IDBTransaction&&ze(s),Ve(s,Ge())?new Proxy(s,W):s)}function m(s){if(s instanceof IDBRequest)return Je(s);if(O.has(s))return O.get(s);const e=Ze(s);return e!==s&&(O.set(s,e),q.set(e,s)),e}const S=s=>q.get(s);function et(s,e,{blocked:t,upgrade:r,blocking:a,terminated:i}={}){const n=indexedDB.open(s,e),c=m(n);return r&&n.addEventListener("upgradeneeded",o=>{r(m(n.result),o.oldVersion,o.newVersion,m(n.transaction),o)}),t&&n.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{i&&o.addEventListener("close",()=>i()),a&&o.addEventListener("versionchange",l=>a(l.oldVersion,l.newVersion,l))}).catch(()=>{}),c}function tt(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",r=>e(r.oldVersion,r)),m(t).then(()=>{})}const st=["get","getKey","getAll","getAllKeys","count"],rt=["put","add","delete","clear"],A=new Map;function G(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(A.get(e))return A.get(e);const t=e.replace(/FromIndex$/,""),r=e!==t,a=rt.includes(t);if(!(t in(r?IDBIndex:IDBObjectStore).prototype)||!(a||st.includes(t)))return;const i=async function(n,...c){const o=this.transaction(n,a?"readwrite":"readonly");let l=o.store;return r&&(l=l.index(c.shift())),(await Promise.all([l[t](...c),a&&o.done]))[0]};return A.set(e,i),i}Xe(s=>({...s,get:(e,t,r)=>G(e,t)||s.get(e,t,r),has:(e,t)=>!!G(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.0.0"]&&_()}catch{}const at="workbox-expiration",x="cache-entries",Q=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class nt{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(x,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&tt(this._cacheName)}async setTimestamp(e,t){e=Q(e);const r={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},i=(await this.getDb()).transaction(x,"readwrite",{durability:"relaxed"});await i.store.put(r),await i.done}async getTimestamp(e){const r=await(await this.getDb()).get(x,this._getId(e));return r==null?void 0:r.timestamp}async expireEntries(e,t){const r=await this.getDb();let a=await r.transaction(x).store.index("timestamp").openCursor(null,"prev");const i=[];let n=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp<e||t&&n>=t?i.push(a.value):n++),a=await a.continue()}const c=[];for(const o of i)await r.delete(x,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+Q(e)}async getDb(){return this._db||(this._db=await et(at,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class it{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 nt(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),r=await self.caches.open(this._cacheName);for(const a of t)await r.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,X(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),r=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<r:!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:""},K=s=>[g.prefix,s,g.suffix].filter(e=>e&&e.length>0).join("-"),ct=s=>{for(const e of Object.keys(g))s(e)},ot={updateDetails:s=>{ct(e=>{typeof s[e]=="string"&&(g[e]=s[e])})},getGoogleAnalyticsName:s=>s||K(g.googleAnalytics),getPrecacheName:s=>s||K(g.precache),getPrefix:()=>g.prefix,getRuntimeName:s=>s||K(g.runtime),getSuffix:()=>g.suffix},lt=new Set;function ht(s){lt.add(s)}class ut{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:r,cacheName:a,cachedResponse:i})=>{if(!i)return null;const n=this._isResponseDateFresh(i),c=this._getCacheExpiration(a);X(c.expireEntries());const o=c.updateTimestamp(r.url);if(t)try{t.waitUntil(o)}catch{}return n?i:null},this.cacheDidUpdate=async({cacheName:t,request:r})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(r.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&ht(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===ot.getRuntimeName())throw new Fe("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new it(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 r=Date.now();return t>=r-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 ee="GET",v=s=>s&&typeof s=="object"?s:{handle:s};class L{constructor(e,t,r=ee){this.handler=v(t),this.match=e,this.method=r}setCatchHandler(e){this.catchHandler=v(e)}}class ft extends L{constructor(e,t,r){const a=({url:i})=>{const n=e.exec(i.href);if(n&&!(i.origin!==location.origin&&n.index!==0))return n.slice(1)};super(a,t,r)}}class dt{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,r=this.handleRequest({request:t,event:e});r&&e.respondWith(r)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,r=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const i=new Request(...a);return this.handleRequest({request:i,event:e})}));e.waitUntil(r),e.ports&&e.ports[0]&&r.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;const a=r.origin===location.origin,{params:i,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:r});let c=n&&n.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:r,request:e,event:t,params:i})}catch(h){l=Promise.reject(h)}const f=n&&n.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:r,request:e,event:t,params:i})}catch(R){R instanceof Error&&(h=R)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:r,event:a}){const i=this._routes.get(r.method)||[];for(const n of i){let c;const o=n.match({url:e,sameOrigin:t,request:r,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:n,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 y("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 y("unregister-route-route-not-registered")}}let k;const pt=()=>(k||(k=new dt,k.addFetchListener(),k.addCacheListener()),k);function te(s,e,t){let r;if(typeof s=="string"){const i=new URL(s,location.href),n=({url:c})=>c.href===i.href;r=new L(n,e,t)}else if(s instanceof RegExp)r=new ft(s,e,t);else if(typeof s=="function")r=new L(s,e,t);else if(s instanceof L)r=s;else throw new y("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return pt().registerRoute(r),r}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function U(s){return typeof s=="string"?new Request(s):s}class gt{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new he,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const r of this._plugins)this._pluginStateMap.set(r,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let r=U(e);if(r.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const n=await t.preloadResponse;if(n)return n}const a=this.hasCallback("fetchDidFail")?r.clone():null;try{for(const n of this.iterateCallbacks("requestWillFetch"))r=await n({request:r.clone(),event:t})}catch(n){if(n instanceof Error)throw new y("plugin-error-request-will-fetch",{thrownErrorMessage:n.message})}const i=r.clone();try{let n;n=await fetch(r,r.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))n=await c({event:t,request:i,response:n});return n}catch(n){throw a&&await this.runCallbacks("fetchDidFail",{error:n,event:t,originalRequest:a.clone(),request:i.clone()}),n}}async fetchAndCachePut(e){const t=await this.fetch(e),r=t.clone();return this.waitUntil(this.cachePut(e,r)),t}async cacheMatch(e){const t=U(e);let r;const{cacheName:a,matchOptions:i}=this._strategy,n=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},i),{cacheName:a});r=await caches.match(n,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))r=await o({cacheName:a,matchOptions:i,cachedResponse:r,request:n,event:this.event})||void 0;return r}async cachePut(e,t){const r=U(e);await de(0);const a=await this.getCacheKey(r,"write");if(!t)throw new y("cache-put-with-no-response",{url:fe(a.url)});const i=await this._ensureResponseSafeToCache(t);if(!i)return!1;const{cacheName:n,matchOptions:c}=this._strategy,o=await self.caches.open(n),l=this.hasCallback("cacheDidUpdate"),f=l?await le(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?i.clone():i)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await ue(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:n,oldResponse:f,newResponse:i.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const r=`${e.url} | ${t}`;if(!this._cacheKeys[r]){let a=e;for(const i of this.iterateCallbacks("cacheKeyWillBeUsed"))a=U(await i({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[r]=a}return this._cacheKeys[r]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const r of this.iterateCallbacks(e))await r(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const r=this._pluginStateMap.get(t);yield i=>{const n=Object.assign(Object.assign({},i),{state:r});return t[e](n)}}}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,r=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,r=!0,!t)break;return r||t&&t.status!==200&&(t=void 0),t}}class se{constructor(e={}){this.cacheName=oe.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,r=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,i=new gt(this,{event:t,request:r,params:a}),n=this._getResponse(i,r,t),c=this._awaitComplete(n,i,r,t);return[n,c]}async _getResponse(e,t,r){await e.runCallbacks("handlerWillStart",{event:r,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new y("no-response",{url:t.url})}catch(i){if(i instanceof Error){for(const n of e.iterateCallbacks("handlerDidError"))if(a=await n({error:i,event:r,request:t}),a)break}if(!a)throw i}for(const i of e.iterateCallbacks("handlerWillRespond"))a=await i({event:r,request:t,response:a});return a}async _awaitComplete(e,t,r,a){let i,n;try{i=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:r,response:i}),await t.doneWaiting()}catch(c){c instanceof Error&&(n=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:r,response:i,error:n}),t.destroy(),n)throw n}}class mt extends se{async _handle(e,t){let r=await t.cacheMatch(e),a;if(!r)try{r=await t.fetchAndCachePut(e)}catch(i){i instanceof Error&&(a=i)}if(!r)throw new y("no-response",{url:e.url,error:a});return r}}const wt={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class yt extends se{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(wt)}async _handle(e,t){const r=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(r);let a=await t.cacheMatch(e),i;if(!a)try{a=await r}catch(n){n instanceof Error&&(i=n)}if(!a)throw new y("no-response",{url:e.url,error:i});return a}}$e(([{"revision":null,"url":"assets/actions-CCipVjCq.js"},{"revision":null,"url":"assets/actions-DiDkx9ca.js"},{"revision":null,"url":"assets/Add-DScOIl2y.js"},{"revision":null,"url":"assets/agreement-C0yXpzdq.js"},{"revision":null,"url":"assets/api-VKuyBqG_.js"},{"revision":null,"url":"assets/app-avatar-C9a1HTsp.js"},{"revision":null,"url":"assets/ar-CYspPmSu.js"},{"revision":null,"url":"assets/ar-DEFG_HSF.js"},{"revision":null,"url":"assets/ArrowDropDown-DcHWyX_B.js"},{"revision":null,"url":"assets/audit-logs-BdnLeEXF.js"},{"revision":null,"url":"assets/Autocomplete-CQGvBfyK.js"},{"revision":null,"url":"assets/blocklet-D4MK-c5F.js"},{"revision":null,"url":"assets/brace-fold.es-CeHN5ory.js"},{"revision":null,"url":"assets/Breadcrumbs-9jNy6OW-.js"},{"revision":null,"url":"assets/bundle-avatar-Cg7zVRxA.js"},{"revision":null,"url":"assets/ButtonGroup-Cc4ZN23C.js"},{"revision":null,"url":"assets/chart-CP1zmvYY.js"},{"revision":null,"url":"assets/CheckCircle-M4w2Jw1V.js"},{"revision":null,"url":"assets/ChevronLeft-BTxZ-5kF.js"},{"revision":null,"url":"assets/ChevronRight-DDxlbDok.js"},{"revision":null,"url":"assets/click-to-copy-W2c5LcAJ.js"},{"revision":null,"url":"assets/Close-D24OPEsw.js"},{"revision":null,"url":"assets/closebrackets.es-CibTDcUo.js"},{"revision":null,"url":"assets/codemirror.es-8nYzPokV.js"},{"revision":null,"url":"assets/comment.es-CNYSCodR.js"},{"revision":null,"url":"assets/config-navigation-DoqQAQ4r.js"},{"revision":null,"url":"assets/de-BXx5XWMv.js"},{"revision":null,"url":"assets/de-DIG5UukX.js"},{"revision":null,"url":"assets/Delete-BYMXUEW-.js"},{"revision":null,"url":"assets/delete-confirm-DnSskM7l.js"},{"revision":null,"url":"assets/DeleteOutline-1j0uX4zC.js"},{"revision":null,"url":"assets/DeleteOutline-CJf1JPjn.js"},{"revision":null,"url":"assets/detail-Ci8NiSCn.js"},{"revision":null,"url":"assets/dialog.es-BMiZ64Na.js"},{"revision":null,"url":"assets/Done-C75-esIR.js"},{"revision":null,"url":"assets/download-CQnrIyxI.js"},{"revision":null,"url":"assets/download-D33dFtt_.css"},{"revision":null,"url":"assets/Edit-DbqBgkwQ.js"},{"revision":null,"url":"assets/EditIcon-BB_WHtDy.js"},{"revision":null,"url":"assets/es-dYDfzHE0.js"},{"revision":null,"url":"assets/es-iIE-oygq.js"},{"revision":null,"url":"assets/ExpandMore-DJPmctU2.js"},{"revision":null,"url":"assets/FilterList-BSeq1JN5.js"},{"revision":null,"url":"assets/foldgutter.es-CwNI-HCe.js"},{"revision":null,"url":"assets/forEachState.es-D8bf0zSr.js"},{"revision":null,"url":"assets/fr-D8XyKysR.js"},{"revision":null,"url":"assets/fr-DGLilU-8.js"},{"revision":null,"url":"assets/getValidReactChildren-B0k_5T4l.js"},{"revision":null,"url":"assets/Google-JXxiFLr6.js"},{"revision":null,"url":"assets/hi-C12r029w.js"},{"revision":null,"url":"assets/hi-EiYI5FnU.js"},{"revision":null,"url":"assets/hint.es-00ixgdAk.js"},{"revision":null,"url":"assets/hint.es2-C3-rcHrt.js"},{"revision":null,"url":"assets/Https-Pe0n3_C2.js"},{"revision":null,"url":"assets/id-BHuBzbF-.js"},{"revision":null,"url":"assets/id-BM1nX889.js"},{"revision":null,"url":"assets/iframe-DeabHXSE.js"},{"revision":null,"url":"assets/index---3vtH2U.js"},{"revision":null,"url":"assets/index-8NMCrB3j.js"},{"revision":null,"url":"assets/index-B64gaQjP.js"},{"revision":null,"url":"assets/index-B6fcUPJ3.js"},{"revision":null,"url":"assets/index-B7hUdMZ8.js"},{"revision":null,"url":"assets/index-BBP_bcfC.js"},{"revision":null,"url":"assets/index-BCxgtIqq.js"},{"revision":null,"url":"assets/index-Bd9XKKXO.js"},{"revision":null,"url":"assets/index-BDrD_fHI.js"},{"revision":null,"url":"assets/index-BFijG_KW.js"},{"revision":null,"url":"assets/index-Bg-k71dl.js"},{"revision":null,"url":"assets/index-BHC2lQbz.js"},{"revision":null,"url":"assets/index-BIHZHqAA.js"},{"revision":null,"url":"assets/index-BjYxa_FW.js"},{"revision":null,"url":"assets/index-BKiZP-oY.js"},{"revision":null,"url":"assets/index-BlKmxUs2.js"},{"revision":null,"url":"assets/index-BM47dpzk.js"},{"revision":null,"url":"assets/index-BP6HGks6.js"},{"revision":null,"url":"assets/index-BvpJfkfl.js"},{"revision":null,"url":"assets/index-BxPq_I_q.js"},{"revision":null,"url":"assets/index-BxsmNFYE.js"},{"revision":null,"url":"assets/index-C3qp0XVq.js"},{"revision":null,"url":"assets/index-C7igR7se.css"},{"revision":null,"url":"assets/index-CRdLjNnY.js"},{"revision":null,"url":"assets/index-CxnHtNtW.js"},{"revision":null,"url":"assets/index-D411TEsZ.js"},{"revision":null,"url":"assets/index-D4PP6P2d.css"},{"revision":null,"url":"assets/index-D7K8de1w.css"},{"revision":null,"url":"assets/index-D9k2I5J1.js"},{"revision":null,"url":"assets/index-DaaXCB2j.js"},{"revision":null,"url":"assets/index-DaDSaTOb.js"},{"revision":null,"url":"assets/index-DaWidKpO.js"},{"revision":null,"url":"assets/index-DcjlzmZZ.js"},{"revision":null,"url":"assets/index-DettcyNk.js"},{"revision":null,"url":"assets/index-DGmY_-cU.js"},{"revision":null,"url":"assets/index-DgPr-SEE.js"},{"revision":null,"url":"assets/index-DHzzHO4l.js"},{"revision":null,"url":"assets/index-DU3JORH0.css"},{"revision":null,"url":"assets/index-DwIln40v.js"},{"revision":null,"url":"assets/index-DX1h0jld.js"},{"revision":null,"url":"assets/index-DZYluxeV.js"},{"revision":null,"url":"assets/index-fjKu7md4.js"},{"revision":null,"url":"assets/index-gA4Fo01C.js"},{"revision":null,"url":"assets/index-l7_dfgp9.js"},{"revision":null,"url":"assets/index-loqA2a4e.js"},{"revision":null,"url":"assets/index-OU6WftK9.js"},{"revision":null,"url":"assets/index-vHV5CSQZ.js"},{"revision":null,"url":"assets/index-X1NIUYGa.js"},{"revision":null,"url":"assets/index-XUnPo6Zv.js"},{"revision":null,"url":"assets/index-ZG7jWpak.js"},{"revision":null,"url":"assets/index.es-CZVlvuB_.js"},{"revision":null,"url":"assets/index.esm-Cce9Swgy.js"},{"revision":null,"url":"assets/info-addon.es-DkaaQGew.js"},{"revision":null,"url":"assets/info.es-ema0ZL-Q.js"},{"revision":null,"url":"assets/InputAdornment-jV1oGaiq.js"},{"revision":null,"url":"assets/InputLabel-jiyrQePY.js"},{"revision":null,"url":"assets/install-from-url-4Qs31wHB.js"},{"revision":null,"url":"assets/introspection.es-CPJcz6nz.js"},{"revision":null,"url":"assets/invitation-C5NSy9hR.js"},{"revision":null,"url":"assets/is-path-prefix-equal-BDCXHSjQ.js"},{"revision":null,"url":"assets/isEqual-CVa3aWV3.js"},{"revision":null,"url":"assets/item-C97A6lh3.js"},{"revision":null,"url":"assets/item-CxkJY_14.css"},{"revision":null,"url":"assets/ja-BeNRi6CF.js"},{"revision":null,"url":"assets/ja-D8yfIRFO.js"},{"revision":null,"url":"assets/javascript.es-BhhkHlA-.js"},{"revision":null,"url":"assets/jump-to-line.es-B9AQoVv5.js"},{"revision":null,"url":"assets/jump.es-Bl3HHTMf.js"},{"revision":null,"url":"assets/keyboard-arrow-down-rounded-DadBVmpO.js"},{"revision":null,"url":"assets/ko-BGPBfmUw.js"},{"revision":null,"url":"assets/ko-BYDKCXC0.js"},{"revision":null,"url":"assets/LastPage-DreQg_mv.js"},{"revision":null,"url":"assets/Launch-Bp_XfXDM.js"},{"revision":null,"url":"assets/line-Cu36WRGu.js"},{"revision":null,"url":"assets/Link-ISWp7-NE.js"},{"revision":null,"url":"assets/lint.es-DAt4ltrq.js"},{"revision":null,"url":"assets/lint.es2-CK4KvWYS.js"},{"revision":null,"url":"assets/lint.es3-CSS8OhqH.js"},{"revision":null,"url":"assets/list-header-BnWyPzXN.js"},{"revision":null,"url":"assets/LoadingButton-C_-Tq7-a.js"},{"revision":null,"url":"assets/LockIcon-Ctp1c_aa.js"},{"revision":null,"url":"assets/log-Bxt8skIs.js"},{"revision":null,"url":"assets/logo-BKA11TRi.js"},{"revision":null,"url":"assets/Loop-CbarjQQA.js"},{"revision":null,"url":"assets/lottie-B9uVkdkA.js"},{"revision":null,"url":"assets/matchbrackets.es-rBX3Rpp6.js"},{"revision":null,"url":"assets/memoize-one.esm-BdPwpGay.js"},{"revision":null,"url":"assets/memory-MAYTBbXe.js"},{"revision":null,"url":"assets/mode-B2dWMeTO.js"},{"revision":null,"url":"assets/mode.es-DYwm_ZvI.js"},{"revision":null,"url":"assets/mode.es2-DVQIg5jy.js"},{"revision":null,"url":"assets/mode.es3-C77qHtQY.js"},{"revision":null,"url":"assets/MoreVert-DxCDVcE0.js"},{"revision":null,"url":"assets/onlineParser.es-Cp8jHUaE.js"},{"revision":null,"url":"assets/overview-Dm_54e-_.js"},{"revision":null,"url":"assets/Pagination-C0wZBxtP.js"},{"revision":null,"url":"assets/preact.module-B1z5cdvs.js"},{"revision":null,"url":"assets/pt-B9DRiZEN.js"},{"revision":null,"url":"assets/pt-BmW9xdbz.js"},{"revision":null,"url":"assets/Public-DTT8m-Dh.js"},{"revision":null,"url":"assets/Range.es-DaV7MD2W.js"},{"revision":null,"url":"assets/react-BW7E7-P9.css"},{"revision":null,"url":"assets/react-KceqVQPw.js"},{"revision":null,"url":"assets/redux-CiBDQx-j.js"},{"revision":null,"url":"assets/resource-dialog-DKfH7gNO.js"},{"revision":null,"url":"assets/ru-CUxGgO8D.js"},{"revision":null,"url":"assets/ru-DufkUHOM.js"},{"revision":null,"url":"assets/runtime-DRWcvnb9.js"},{"revision":null,"url":"assets/schema-8jXZYKt1.js"},{"revision":null,"url":"assets/SchemaReference.es-D1I4jeUl.js"},{"revision":null,"url":"assets/sdk-Czu0utu6.js"},{"revision":null,"url":"assets/Search-DKFOsHOn.js"},{"revision":null,"url":"assets/search.es-B3C3VlXy.js"},{"revision":null,"url":"assets/searchcursor.es-DHswSC6o.js"},{"revision":null,"url":"assets/Select-BlKQA6P8.js"},{"revision":null,"url":"assets/service-B2aLyew7.js"},{"revision":null,"url":"assets/shorten-label-DXi72gK_.js"},{"revision":null,"url":"assets/show-hint.es-CHMuXhEP.js"},{"revision":null,"url":"assets/Skeleton-Df7h_YJK.js"},{"revision":null,"url":"assets/slicedToArray-BH180jt0.js"},{"revision":null,"url":"assets/Slider-CI8ItMMl.js"},{"revision":null,"url":"assets/spaces-DPmn7Ixz.js"},{"revision":null,"url":"assets/Stepper-C05cktk-.js"},{"revision":null,"url":"assets/sublime.es-DPeDRZAK.js"},{"revision":null,"url":"assets/switch-control-DgudQ7xJ.js"},{"revision":null,"url":"assets/table-icons-D2lIfhZB.js"},{"revision":null,"url":"assets/tag-YDLGqrKL.js"},{"revision":null,"url":"assets/team-B_2aJZYH.js"},{"revision":null,"url":"assets/TextField-0SCRdagF.js"},{"revision":null,"url":"assets/th-D6abaOt7.js"},{"revision":null,"url":"assets/th-Dl-J4TkD.js"},{"revision":null,"url":"assets/ToggleButtonGroup-1kNQ6bLl.js"},{"revision":null,"url":"assets/toUpper-BcdXOnTm.js"},{"revision":null,"url":"assets/traffic-U-8839pE.js"},{"revision":null,"url":"assets/url-evaluation-CRswLKtR.js"},{"revision":null,"url":"assets/url-join-CRBY0NF3.js"},{"revision":null,"url":"assets/use-blocklet-info-for-connect-did-spaces-4EmGfNXu.js"},{"revision":null,"url":"assets/useLocalStorage-VWzx8b6q.js"},{"revision":null,"url":"assets/useThemeProps-Cl9QuE5d.js"},{"revision":null,"url":"assets/util-HRQZ4TOP.js"},{"revision":null,"url":"assets/vi-BMeJuBa9.js"},{"revision":null,"url":"assets/vi-BsX5AAJJ.js"},{"revision":null,"url":"assets/ViewList-DEi1PLTg.js"},{"revision":null,"url":"assets/wait-container-UBvRSFVU.js"},{"revision":null,"url":"assets/withStyles-Bapg8CLX.js"},{"revision":null,"url":"assets/wrap-locale-BQ1h9Vt5.js"},{"revision":null,"url":"assets/zh-BDoN11lM.js"},{"revision":null,"url":"assets/zh-BxFByN8K.js"},{"revision":null,"url":"assets/zh-tw-D7VeUoit.js"},{"revision":null,"url":"assets/zh-tw-Dg9g_7UM.js"},{"revision":"1a966ec541e09feab6e09d6a3464571a","url":"icons/css/all.css"},{"revision":"8cb29294e1259a11a4dcfc53db228c0c","url":"icons/css/brands.css"},{"revision":"e261b026495a963a3440c2cabaafffd9","url":"icons/css/brands.min.css"},{"revision":"b40c99e5b26dfdd9c49d45f550044137","url":"icons/css/fontawesome.css"},{"revision":"40af17bd614587f6c474f1d1ae9cd743","url":"icons/css/fontawesome.min.css"},{"revision":"03077cdd0957040d48261696c05e9215","url":"icons/css/light.css"},{"revision":"fe218a7af84a0e83bf616f465b9f0f4a","url":"icons/css/light.min.css"},{"revision":"290ac340fbed8052f31189d8e1f9c910","url":"index.html"},{"revision":"be6aad568a9de402ad83ef7601f9d6ce","url":"registerSW.js"},{"revision":"eee7588574d50fc529352609420cb773","url":"manifest.webmanifest"}]||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));pe();self.addEventListener("activate",()=>{console.log("Service Worker activated")});self.addEventListener("install",s=>{console.log("Service Worker installed"),s.waitUntil(self.skipWaiting())});const re=s=>!!(s.method!=="GET"||s.url.includes("/api")||s.url.includes("__meta__.js")||s.url.includes("__blocklet__.js"));te(s=>{const{request:e}=s;return re(e)?!1:e.url.includes("/static/")},new mt({cacheName:"static",plugins:[new ut({maxEntries:200})]}));te(s=>{const{request:e}=s;return re(e)?!1:e.url.includes("/images/")||e.url.includes("/icons/")},new yt);
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as e}from"./index-DhKEzK4G.js";import{r as t}from"./DeleteOutline-BQeXrAk8.js";var r=t();const i=e(r);export{i as D};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import{bs as Ie,bt as Ue,bu as Oe,bv as Te,bw as qe,bx as ze,by as Ne,bz as ke,bA as He,g as Fe,bB as Ge,bC as Ve,bD as We,r as v,j as n,P as j,a1 as Ke,aK as R,aL as b,bE as Xe,n as Ze,z as Je,bl as Qe,f as pe,M as P,b as H,bF as M,a2 as Ye,a$ as et,J as tt,N as nt,bd as at,S as rt,aD as st,C as se,a8 as ot,ac as oe,B as it,F as ie,m as q,aZ as ce,A as le,a9 as ct,aQ as lt,K as ut,bG as dt,bH as mt,bI as pt}from"./index-DhKEzK4G.js";import{_ as ft}from"./useLocalStorage-Dkuy7Y9c.js";import{d as vt}from"./MoreVert-CGx6Mqxv.js";import{d as ht}from"./Delete-Di-3Vxhz.js";import{B as gt}from"./ButtonGroup-CEodIFRb.js";import{R as xt,b as ue,u as _t}from"./url-evaluation-85NTzVAr.js";var St=Ie,jt=Te,yt=qe,Dt=Ue,Rt=Oe,bt=ze,$t=200;function Ct(e,r,o,c){var s=-1,u=jt,g=!0,x=e.length,d=[],i=r.length;if(!x)return d;o&&(r=Dt(r,Rt(o))),c?(u=yt,g=!1):r.length>=$t&&(u=bt,g=!1,r=new St(r));e:for(;++s<x;){var p=e[s],f=o==null?p:o(p);if(p=c||p!==0?p:0,g&&f===f){for(var $=i;$--;)if(r[$]===f)continue e;d.push(p)}else u(r,f,c)||d.push(p)}return d}var Lt=Ct,wt=Lt,Bt=Ne,de=ke;function Pt(e,r,o){var c=e.length;if(c<2)return c?de(e[0]):[];for(var s=-1,u=Array(c);++s<c;)for(var g=e[s],x=-1;++x<c;)x!=s&&(u[s]=wt(u[s]||g,e[x],r,o));return de(Bt(u,1),r,o)}var Mt=Pt,At=Ge,Et=He,It=Mt,Ut=We,Ot=Ve,Tt=Et(function(e){var r=Ot(e);return r=typeof r=="function"?r:void 0,It(At(e,Ut),void 0,r)}),qt=Tt;const zt=Fe(qt),fe=v.createContext({});function ve({children:e,type:r}){const[o,c]=v.useState([]),s=v.useRef([]),u=d=>{if(!s.current.includes(d)){const i=[...s.current,d];c(i),s.current=i}},g=d=>{if(s.current.includes(d)){const i=s.current.filter(p=>p!==d);c(i),s.current=i}},x=d=>{const i=o.filter(f=>d.find($=>$===f));zt(i,o).forEach(f=>g(f))};return n.jsx(fe.Provider,{value:{type:r,deletingBlocklets:o,addDeletingDid:u,removeDeletingDid:g,matchDeletingDid:x},children:e})}ve.propTypes={type:j.string,children:j.node.isRequired};ve.defaultProps={type:"blocklets"};function _n(){return v.useContext(fe)}const Nt=(e,r)=>{if(!e)return"";if(!r)return e;const o=new URL(e),c=new URLSearchParams(o.searchParams),s=new URL(Ke(o.origin,r));return s.search=c.toString(),s.toString()};var F={},kt=b;Object.defineProperty(F,"__esModule",{value:!0});var he=F.default=void 0,Ht=kt(R()),Ft=n;he=F.default=(0,Ht.default)((0,Ft.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow");var G={},Gt=b;Object.defineProperty(G,"__esModule",{value:!0});var ge=G.default=void 0,Vt=Gt(R()),Wt=n;ge=G.default=(0,Vt.default)((0,Wt.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop");var V={},Kt=b;Object.defineProperty(V,"__esModule",{value:!0});var xe=V.default=void 0,Xt=Kt(R()),Zt=n;xe=V.default=(0,Xt.default)((0,Zt.jsx)("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"}),"Replay");var W={},Jt=b;Object.defineProperty(W,"__esModule",{value:!0});var _e=W.default=void 0,Qt=Jt(R()),Yt=n;_e=W.default=(0,Qt.default)((0,Yt.jsx)("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"}),"Autorenew");var K={},en=b;Object.defineProperty(K,"__esModule",{value:!0});var Se=K.default=void 0,tn=en(R()),nn=n;Se=K.default=(0,tn.default)((0,nn.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var X={},an=b;Object.defineProperty(X,"__esModule",{value:!0});var je=X.default=void 0,rn=an(R()),sn=n;je=X.default=(0,rn.default)((0,sn.jsx)("path",{d:"M18 17H6v-2h12zm0-4H6v-2h12zm0-4H6V7h12zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2z"}),"Receipt");var Z={},on=b;Object.defineProperty(Z,"__esModule",{value:!0});var ye=Z.default=void 0,cn=on(R()),ln=n;ye=Z.default=(0,cn.default)((0,ln.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group");var J={},un=b;Object.defineProperty(J,"__esModule",{value:!0});var De=J.default=void 0,dn=un(R()),mn=n;De=J.default=(0,dn.default)((0,mn.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"NotInterested");const S={Start:he,Stop:ge,Restart:xe,Reload:_e,Remove:ht,Config:Se,Log:je,Group:ye,Cancel:De,Dashboard:Xe};function Q({blocklet:e,onStart:r,onComplete:o,variant:c,hasPermission:s,getComponentUrl:u,useBlockletUrlEvaluation:g,...x}){const d=Je(),i=Qe(),[p,f]=v.useState(null),[$,Y]=v.useState(null),[A,E]=v.useState(!1),[m,z]=v.useState(null),{t:a}=v.useContext(pe),[Re]=ft("skip-blocklet-setup",!1),{loading:be,recommendedUrl:$e}=g(e),ee=P.isInProgress(e.status),[N,te]=v.useState(!1);v.useEffect(()=>{var l,y;if(!(e!=null&&e.controller))return;te(((y=(l=e==null?void 0:e.controller)==null?void 0:l.status)==null?void 0:y.value)===H.BLOCKLET_CONTROLLER_STATUS.suspended),(async()=>{var D,C,L;try{const h=await i.api.getLauncherSession({input:{launcherSessionId:(D=e==null?void 0:e.controller)==null?void 0:D.launcherSessionId,launcherUrl:(C=e==null?void 0:e.controller)==null?void 0:C.launcherUrl}});if(h!=null&&h.error){console.error("get launcher session failed",h.error);return}te([ie.LAUNCH_SESSION_STATUS.expired,ie.LAUNCH_SESSION_STATUS.terminated].includes((L=h==null?void 0:h.launcherSession)==null?void 0:L.status))}catch(h){console.error("call getLauncherSession error",h)}})()},[]);const{inService:k}=i,Ce=()=>{const t=`/${e.mountPoint||"/"}`.replace(/\/+/g,"/"),l=u==null?void 0:u({mountPoint:t,blocklet:e});window.open(Nt(l,".well-known/service/admin"))},I=(t,l,y=!1)=>async()=>{const D=async U=>{var T;r({action:t,blocklet:e}),E(!0),Y(t);let O=!1;try{if(t==="remove")await l(U);else if(t==="start"){if(!P.hasRunnableComponent(e)){le.error(a("blocklet.noComponent"));return}if(!k&&!Re&&!((T=e.settings)!=null&&T.initialized)&&e.mode!==H.BLOCKLET_MODES.DEVELOPMENT){const _=ct(i.info),re=new URL($e);re.searchParams.set("serverUrl",_),window.open(re.href),o({action:t,blocklet:e});return}const w=e.children.filter(_=>!P.isInProgress(_.status)&&_.status!=="running").map(_=>_.meta.did),B={did:e.meta.did,componentDids:w};await l({input:B})}else if(["stop","restart","reload"].includes(t)){const w=e.children.filter(_=>_.status==="running").map(_=>_.meta.did),B={did:e.meta.did,componentDids:w};await l({input:B})}else{const w={did:e.meta.did};await l({input:w})}t==="remove"?O=!0:await lt(1e3),t==="reload"&&le.success(a("blocklet.reloadSuccess")),z(null),o({action:t,blocklet:e})}catch(w){const B=`Blocklet ${t} failed: ${ut(w)}`;throw o({action:t,blocklet:e,error:new Error(B)}),new Error(B)}finally{O||E(!1)}},C=()=>{E(!1),z(null)},L=P.getDisplayName(e,!0),h=e.mode===H.BLOCKLET_MODES.DEVELOPMENT?{description:()=>n.jsx(q,{component:"div",children:n.jsx(q,{gutterBottom:!0,children:a("blocklet.action.removeApplicationDescription")})}),params:{removeType:"complete"}}:{description:(U,O)=>n.jsxs(q,{component:"div",children:[n.jsx(q,{gutterBottom:!0,children:a("blocklet.action.removeApplicationDescription")}),n.jsxs(xt,{name:"removeType",value:U.removeType,onChange:T=>O({...U,removeType:T.target.value}),children:[n.jsx(ce,{value:"backup",control:n.jsx(ue,{}),label:a("blocklet.action.removeApplicationAfterBackup")}),n.jsx(ce,{value:"complete",control:n.jsx(ue,{}),label:a("blocklet.action.removeApplicationComplete")})]})]}),params:{removeType:"backup"}},Ee={stop:{title:`${a("common.stop")} ${L}`,description:a("blocklet.action.stopDescription"),confirm:a("blocklet.action.confirmStop"),cancel:a("common.cancel"),onConfirm:D,onCancel:C},restart:{title:`${a("common.restart")} ${L}`,description:a("blocklet.action.restartDescription"),confirm:a("blocklet.action.confirmRestart"),cancel:a("common.cancel"),onConfirm:D,onCancel:C},remove:{title:`${a("common.remove")} ${L}`,confirm:a("blocklet.action.confirmRemove"),cancel:a("common.cancel"),onConfirm:D,onCancel:C,...h},cancelDownload:{title:`${a("common.cancel")}`,description:a("blocklet.action.cancelDownloadDescription",{name:L}),confirm:a("common.confirm"),cancel:a("common.cancel"),onConfirm:D,onCancel:C}};y?z(Ee[t]):await D()},Le=!!p,we=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}f(t.currentTarget)},Be=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}f(null)},ne=async(t,l)=>{try{l.stopPropagation(),l.preventDefault()}catch{}if(typeof t.handler=="function")try{E(!0),Y(t.action),await t.handler()}catch(y){console.error(`Blocklet ${t.name} failed: `,y)}finally{E(!1),f(null)}else f(null)},Pe=!k&&P.isDeletableBlocklet(e)?{action:"remove",icon:S.Remove,name:a("common.remove"),handler:I("remove",async({removeType:t})=>{t==="backup"&&await i.api.backupBlocklet({input:{appDid:e.appDid,to:"disk"}}),await i.api.deleteBlocklet({input:{did:e.meta.did,keepData:!1}})},!0),disabled:ee}:null,Me={action:"remove",icon:({sx:t,...l})=>n.jsx(S.Cancel,{sx:{...t,paddingRight:"2px",zoom:.95},...l}),name:a("common.cancel"),handler:I("cancelDownload",i.api.cancelDownloadBlocklet,!0)},Ae=P.getAppMissingConfigs(e),ae=[{action:"start",icon:S.Start,name:a("common.start"),handler:I("start",i.api.startBlocklet),disabled:N||e.children.every(t=>t.status==="running")||M(e.status)||be||ee},{action:"stop",icon:S.Stop,name:a("common.stop"),handler:I("stop",i.api.stopBlocklet,!0),disabled:!["running","starting"].includes(e.status)},{action:"restart",icon:S.Restart,name:a("common.restart"),handler:I("restart",i.api.restartBlocklet,!0),disabled:N||e.status!=="running"},M(e.status)?Me:Pe,{separator:!0},k?null:{action:"dashboard",icon:({style:t,...l})=>n.jsx(S.Dashboard,{...l,style:{...t,width:"26px",height:"26px",paddingRight:"3px"}}),name:a("sidebar.dashboard"),handler:Ce,disabled:N||e.status!=="running"},{separator:!0},{onlyInMenu:!0,action:"config",icon:S.Config,name:a("common.config"),handler:()=>{d(`/blocklets/${e.meta.did}/configuration`)},disabled:M(e.status)},{onlyInMenu:!0,action:"team",icon:S.Group,name:a("common.manageTeam"),handler:()=>{d(`/blocklets/${e.meta.did}/members`)},disabled:M(e.status)},{onlyInMenu:!0,action:"log",icon:S.Log,name:a("common.log"),handler:()=>{d(`/logs/blocklet-${e.meta.did}`)},disabled:M(e.status)}].filter(Boolean);return c==="menu"?n.jsxs(me,{"data-cy":"blocklet-actions",children:[n.jsx(Ye,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions","actions-blocklet-did":e.meta.did,onClick:we,size:"small",disabled:!s||!M(e.status)&&A,children:n.jsx(vt,{})}),n.jsxs(et,{id:"actions-menu",anchorEl:p,keepMounted:!0,open:Le,onClose:Be,PaperProps:{},children:[Ae.length>0&&n.jsxs(tt,{style:{maxWidth:"400px"},severity:"error",children:[a("blocklet.config.missingRequired"),n.jsx("br",{}),n.jsx(nt,{to:`/blocklets/${e.meta.did}/components`,children:a("blocklet.config.gotoFix")})]}),ae.map((t,l)=>t.separator?n.jsx(at,{},`separator-${l}`):n.jsxs(rt,{dense:!0,onClick:y=>ne(t,y),disabled:A||t.disabled,"data-cy":`${t.action}-blocklet`,children:[n.jsx(st,{style:{minWidth:24},children:$===t.action&&A?n.jsx(se,{size:16,sx:{marginRight:1}}):n.jsx(t.icon,{fontSize:"small"})}),n.jsx(ot,{primary:t.name})]},t.name))]}),m&&n.jsx(oe,{title:m.title,description:m.description,confirm:m.confirm,cancel:m.cancel,params:m.params,onConfirm:m.onConfirm,onCancel:m.onCancel})]}):n.jsxs(me,{"data-cy":"blocklet-actions",...x,children:[n.jsx(gt,{children:ae.filter(t=>!t.separator&&!t.onlyInMenu).map(t=>n.jsxs(it,{title:t.name,"data-cy":`${t.action}-blocklet`,onClick:()=>ne(t),disabled:!!t.disabled||A,children:[$===t.action&&A?n.jsx(se,{size:16,sx:{marginRight:1}}):n.jsx(t.icon,{}),n.jsx("span",{className:"blocklet-action-text",children:t.name})]},t.name))}),m&&n.jsx(oe,{title:m.title,description:m.description,confirm:m.confirm,cancel:m.cancel,params:m.params,onConfirm:m.onConfirm,onCancel:m.onCancel})]})}Q.propTypes={getComponentUrl:j.func,blocklet:j.object.isRequired,onStart:j.func.isRequired,onComplete:j.func.isRequired,variant:j.oneOf(["menu","group"]),hasPermission:j.bool,useBlockletUrlEvaluation:j.func};Q.defaultProps={getComponentUrl:null,variant:"menu",hasPermission:!1,useBlockletUrlEvaluation:()=>{var e;return{loading:!1,recommendedUrl:(e=window==null?void 0:window.location)==null?void 0:e.href}}};const me=Ze.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
|
|
5
|
-
@media (max-width: ${e=>e.theme.breakpoints.values.sm}px) {
|
|
6
|
-
.MuiButton-root {
|
|
7
|
-
padding: 4px;
|
|
8
|
-
font-size: 10px;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
`;function Sn({...e}){const{locale:r}=v.useContext(pe),o=dt(Q,"mutate_blocklets"),c=({mountPoint:s,blocklet:u})=>mt({blocklet:u,mountPoint:s,params:pt(u,r)});return n.jsx(o,{...e,getComponentUrl:c,useBlockletUrlEvaluation:_t})}export{Sn as B,ve as D,V as R,Lt as _,ge as a,S as b,he as c,ye as d,xe as e,_n as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{av as a}from"./index-DhKEzK4G.js";a.defaults.timeout=10*1e3;const o=a.create();export{o as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t}from"./index-DhKEzK4G.js";const e=t.createContext({});function r(){return t.useContext(e)}export{e as B,r as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r}from"./index-DhKEzK4G.js";function a(t){return r.Children.toArray(t).filter(e=>r.isValidElement(e))}export{a as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{gb as o}from"./index-DhKEzK4G.js";const t=new o,c=t;export{c as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,f as l,M as s,j as o,P as a}from"./index-DhKEzK4G.js";import{T as c,M as n,t as u}from"./table-icons-DRSK9N17.js";import"./FilterList-CtKjjq1V.js";import"./useThemeProps-DY6u-Sl5.js";import"./Select-BAE2ztrO.js";import"./Delete-Di-3Vxhz.js";import"./InputLabel-E2n2XENL.js";import"./TextField-UIj7bh4L.js";import"./LastPage-Dk3Ng8r_.js";import"./slicedToArray-CSiWJNnp.js";import"./Search-Drx5S2Fc.js";import"./actions-ByIKLhO5.js";import"./useLocalStorage-Dkuy7Y9c.js";import"./MoreVert-CGx6Mqxv.js";import"./ButtonGroup-CEodIFRb.js";import"./getValidReactChildren-COQgThjG.js";import"./url-evaluation-85NTzVAr.js";import"./tag-s8n8kLNC.js";import"./ChevronLeft-Eu14H7S5.js";import"./Edit-CeoVDX9P.js";import"./ChevronRight-Ba-Rcz-i.js";import"./DeleteOutline-BQeXrAk8.js";import"./redux-BsHcI3_9.js";import"./Skeleton-Dg829dzN.js";import"./InputAdornment-DAdjrwZB.js";import"./index-DWzRY4Xk.js";import"./memoize-one.esm-BdPwpGay.js";import"./Add-CdB1GTw1.js";import"./ArrowDropDown-cQI9feYM.js";function d({blocklet:i,...r}){const{t}=m.useContext(l),e=s.getBlockletServices(i);if(e.length===0)return o.jsx("div",{children:t("blocklet.noService")});const p=[{title:t("common.name"),field:"name"},{title:t("common.protocol"),field:"protocol"},{title:t("common.port"),field:"port"},{title:t("blocklet.upstreamPort"),field:"upstreamPort"}];return o.jsx(c,{...r,children:o.jsx(n,{columns:p,icons:{...u},options:{sorting:!1,emptyRowsWhenPaging:!1,actionsColumnIndex:-1,tableLayout:"auto",maxBodyHeight:"100%",search:!1,pageSize:1e3,pageSizeOptions:[1e3]},localization:{body:{emptyDataSourceMessage:t("blocklet.noService")}},data:e})})}d.propTypes={blocklet:a.object.isRequired};export{d as default};
|