@abtnode/blocklet-services 1.16.39-beta-20250213-123635-cabff5af → 1.16.39-beta-20250215-130252-43410928
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{access-control-Bi0VTaOk.js → access-control-DeqFMOm5.js} +1 -1
- package/dist/assets/{add-component-core-BEey6wbp.js → add-component-core-BnP0_g-C.js} +1 -1
- package/dist/assets/{add-resource-FReSj-BV.js → add-resource-B26HHRU4.js} +1 -1
- package/dist/assets/{analytics-Ca_QfsU9.js → analytics-DPn53GmC.js} +1 -1
- package/dist/assets/audit-logs-C1oUmr2S.js +35 -0
- package/dist/assets/{branding-CPKpYWoE.js → branding-DFfBkuOI.js} +2 -2
- package/dist/assets/{bundle-avatar-fBOGFPuw.js → bundle-avatar-Cv2R2iWI.js} +1 -1
- package/dist/assets/{complete-DV_B2Akx.js → complete-Cz6Vt9yr.js} +1 -1
- package/dist/assets/{component-BFuSJ7_N.js → component-BOGOOyWw.js} +1 -1
- package/dist/assets/{config-DjP6h0XJ.js → config-CE9eJ5Ce.js} +1 -1
- package/dist/assets/{config-navigation-ObpJPhkA.js → config-navigation-ZGyHDU_V.js} +3 -3
- package/dist/assets/{config-space-BbJdWcbl.js → config-space-Bgt2MtPU.js} +1 -1
- package/dist/assets/{confirm-BGxdRdSL.js → confirm-f60NfF3X.js} +1 -1
- package/dist/assets/{connect-CVdbQs_b.js → connect-B2VVyCQY.js} +1 -1
- package/dist/assets/{connect-Clh-D5g-.js → connect-D9S16wyT.js} +1 -1
- package/dist/assets/{connect-to-QEsnDZMk.js → connect-to-BSmtnPV9.js} +1 -1
- package/dist/assets/{dashboard-7MqA_6AS.js → dashboard-BoV1-CrH.js} +3 -3
- package/dist/assets/{domain-DwtXLEdV.js → domain-DLGsAByD.js} +1 -1
- package/dist/assets/{domain-list-D-ZZFmEQ.js → domain-list-BLV11Y6_.js} +1 -1
- package/dist/assets/{email-BmLIq6Hu.js → email-Fgr58FLV.js} +1 -1
- package/dist/assets/{exchange-passport-C8_WcBsP.js → exchange-passport-CcsLEfpo.js} +1 -1
- package/dist/assets/{form-text-input-DM0E2BGK.js → form-text-input-CbMAGh7u.js} +1 -1
- package/dist/assets/{fuel-B78lL2Fn.js → fuel-B8r20ueU.js} +1 -1
- package/dist/assets/{index-Bg0fGJqy.js → index-4zAH1uuX.js} +1 -1
- package/dist/assets/{index-DaNBEDBM.js → index-B6CyLMos.js} +2 -2
- package/dist/assets/{index-JiEuwDJt.js → index-BkZLaapf.js} +3 -3
- package/dist/assets/{index-CYDwuSY3.js → index-C-yw0A3M.js} +1 -1
- package/dist/assets/{index-DZevAS4q.js → index-CM-Ew9KZ.js} +1 -1
- package/dist/assets/{index-DnUMPb7W.js → index-DFM7u7wl.js} +1 -1
- package/dist/assets/{index-BaTH8sfn.js → index-EDdyNc1F.js} +1 -1
- package/dist/assets/{index-BnU6Au83.js → index-EIsfexf1.js} +1 -1
- package/dist/assets/{index-BXJDCni0.js → index-RoF9rzF3.js} +1 -1
- package/dist/assets/{index-DbZgctRe.js → index-U8kTDDEm.js} +4 -4
- package/dist/assets/{index-xzyguKIp.js → index-j5s7Rpz_.js} +1 -1
- package/dist/assets/{index-BGAIEQ8H.js → index-r2Lf0YIw.js} +3 -3
- package/dist/assets/{index-p_TKo4z5.js → index-uSZNIR4c.js} +1 -1
- package/dist/assets/{invitation-CLUC3FWC.js → invitation-ZW3n52Yc.js} +1 -1
- package/dist/assets/{invite-upfjzZhU.js → invite-B8cpjqrT.js} +1 -1
- package/dist/assets/{issue-passport-a41Odi7S.js → issue-passport-DrbTLcdD.js} +1 -1
- package/dist/assets/{item-DFHyV0HY.js → item-BVrq9ZQD.js} +1 -1
- package/dist/assets/{layout-Ctv3Y3ew.js → layout-Dw2Qx7hs.js} +1 -1
- package/dist/assets/{list-eFeJihdG.js → list-BwH5q_Zc.js} +1 -1
- package/dist/assets/{log-BsBzWP3w.js → log-Ba7iTEJj.js} +1 -1
- package/dist/assets/{login-m03_Nf1G.js → login-BewdlPwi.js} +1 -1
- package/dist/assets/{logo-uploader-CMRcZtFG.js → logo-uploader-CneV6CnS.js} +3 -3
- package/dist/assets/{lost-passport-PcFxL_2W.js → lost-passport-CNuZ281r.js} +1 -1
- package/dist/assets/{overview-O8Z47dUY.js → overview-giDiT6rf.js} +1 -1
- package/dist/assets/{publish-resource-HnBr77fP.js → publish-resource-CQLawfAh.js} +1 -1
- package/dist/assets/{relative-time-BcL7VB-n.js → relative-time-Bt6RtG4o.js} +1 -1
- package/dist/assets/{setup-DcoLUEuM.js → setup-BdFkCCIb.js} +3 -3
- package/dist/assets/{start-iucPKmSu.js → start-Cy0MNYb6.js} +1 -1
- package/dist/assets/{step-actions-DXTmms_Q.js → step-actions-CPEQpBG3.js} +1 -1
- package/dist/assets/{traffic-Dg0xCbfH.js → traffic-BQRcq8gg.js} +1 -1
- package/dist/assets/{transfer-DW5JevxW.js → transfer-DhNfOwE1.js} +1 -1
- package/dist/assets/{unsubscribe-BxmY3IWn.js → unsubscribe-C0PztwA5.js} +1 -1
- package/dist/assets/{user-center-BSOPivqw.js → user-center-BshF32Jc.js} +1 -1
- package/dist/assets/util-BPubgk5p.js +1 -0
- package/dist/assets/{util-7Hs7DKO_.js → util-CWVLbRLp.js} +1 -1
- package/dist/assets/{wrap-locale--wnFaGbc.js → wrap-locale-DrPh3OVK.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +21 -21
- package/dist/assets/audit-logs-97b1Xxh-.js +0 -18
- package/dist/assets/util-BtA4vTl6.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 q(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=q(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=q(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(),i={headers:new Headers(r.headers),status:r.status,statusText:r.statusText},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 $e(s){J().precache(s)}function qe(s,e){$e(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,$=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(()=>{}),$.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),$.set(e,s)),e}const S=s=>$.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}}qe(([{"revision":null,"url":"assets/access-control-Bi0VTaOk.js"},{"revision":null,"url":"assets/actions-DP_Rm54e.js"},{"revision":null,"url":"assets/add-component-core-BEey6wbp.js"},{"revision":null,"url":"assets/add-component-core-D-IRi6XF.css"},{"revision":null,"url":"assets/add-resource-FReSj-BV.js"},{"revision":null,"url":"assets/Add-TglZpKpw.js"},{"revision":null,"url":"assets/addon-DH34oI6i.js"},{"revision":null,"url":"assets/analytics-Ca_QfsU9.js"},{"revision":null,"url":"assets/api-K65cLqol.js"},{"revision":null,"url":"assets/ar-BJD4HTM3.js"},{"revision":null,"url":"assets/ar-DoIWDL3Q.js"},{"revision":null,"url":"assets/ArrowDropDown-DCM27ed6.js"},{"revision":null,"url":"assets/audit-logs-97b1Xxh-.js"},{"revision":null,"url":"assets/base32-CwwDjweV.js"},{"revision":null,"url":"assets/branding-CPKpYWoE.js"},{"revision":null,"url":"assets/bundle-avatar-fBOGFPuw.js"},{"revision":null,"url":"assets/button-4qfNeG4u.js"},{"revision":null,"url":"assets/CheckCircle-CH8SYy4d.js"},{"revision":null,"url":"assets/ChevronLeft-B7m8AFzR.js"},{"revision":null,"url":"assets/ChevronRight-DeRklga5.js"},{"revision":null,"url":"assets/click-to-copy-886R1sA9.js"},{"revision":null,"url":"assets/cloneDeep-BRiLvZjr.js"},{"revision":null,"url":"assets/complete-DV_B2Akx.js"},{"revision":null,"url":"assets/component-BFuSJ7_N.js"},{"revision":null,"url":"assets/config-BBRmjpUL.js"},{"revision":null,"url":"assets/config-DjP6h0XJ.js"},{"revision":null,"url":"assets/config-navigation-ObpJPhkA.js"},{"revision":null,"url":"assets/config-space-BbJdWcbl.js"},{"revision":null,"url":"assets/confirm-BGxdRdSL.js"},{"revision":null,"url":"assets/connect-Clh-D5g-.js"},{"revision":null,"url":"assets/connect-CVdbQs_b.js"},{"revision":null,"url":"assets/connect-to-QEsnDZMk.js"},{"revision":null,"url":"assets/content-layout-cWwRTmIc.js"},{"revision":null,"url":"assets/dashboard-7MqA_6AS.js"},{"revision":null,"url":"assets/de-BVgb1fEg.js"},{"revision":null,"url":"assets/de-CaPBInxb.js"},{"revision":null,"url":"assets/DeleteOutline-DZA1YKE4.js"},{"revision":null,"url":"assets/did-address-CgDvtQbT.js"},{"revision":null,"url":"assets/domain-DwtXLEdV.js"},{"revision":null,"url":"assets/domain-list-D-ZZFmEQ.js"},{"revision":null,"url":"assets/Done-CVdTMvGH.js"},{"revision":null,"url":"assets/Download-DECMRaRC.js"},{"revision":null,"url":"assets/EditIcon-BOr0kf6I.js"},{"revision":null,"url":"assets/email-BmLIq6Hu.js"},{"revision":null,"url":"assets/Error-B61ZB0Rr.js"},{"revision":null,"url":"assets/es-CWcVPAna.js"},{"revision":null,"url":"assets/es-hhXhgxGX.js"},{"revision":null,"url":"assets/exchange-passport-C8_WcBsP.js"},{"revision":null,"url":"assets/form-text-input-DM0E2BGK.js"},{"revision":null,"url":"assets/format-error-C0Ke3VXF.js"},{"revision":null,"url":"assets/fr-BwQvAhhM.js"},{"revision":null,"url":"assets/fr-C8Jr_C8u.js"},{"revision":null,"url":"assets/fuel-B78lL2Fn.js"},{"revision":null,"url":"assets/fullpage-DLk_Ap1u.js"},{"revision":null,"url":"assets/get-safe-url-BzE2b8Zw.js"},{"revision":null,"url":"assets/get-safe-url-C2hTfmjV.js"},{"revision":null,"url":"assets/Google-D_UbrpMW.js"},{"revision":null,"url":"assets/hi-CRWmR5oy.js"},{"revision":null,"url":"assets/hi-DTqZQNNB.js"},{"revision":null,"url":"assets/home-B30MMEWW.js"},{"revision":null,"url":"assets/id-CUsGyKYW.js"},{"revision":null,"url":"assets/id-Dlr6Q1sk.js"},{"revision":null,"url":"assets/iframe-DvysnY8O.js"},{"revision":null,"url":"assets/index-AgKpYdvC.css"},{"revision":null,"url":"assets/index-B4_ve2gt.js"},{"revision":null,"url":"assets/index-BaTH8sfn.js"},{"revision":null,"url":"assets/index-Bg0fGJqy.js"},{"revision":null,"url":"assets/index-BGAIEQ8H.js"},{"revision":null,"url":"assets/index-BnU6Au83.js"},{"revision":null,"url":"assets/index-BXJDCni0.js"},{"revision":null,"url":"assets/index-C-D-nCB1.js"},{"revision":null,"url":"assets/index-C2fPoxDR.js"},{"revision":null,"url":"assets/index-CHFvfli7.js"},{"revision":null,"url":"assets/index-ChSPqVLh.js"},{"revision":null,"url":"assets/index-CYDwuSY3.js"},{"revision":null,"url":"assets/index-D4PP6P2d.css"},{"revision":null,"url":"assets/index-DaNBEDBM.js"},{"revision":null,"url":"assets/index-DbZgctRe.js"},{"revision":null,"url":"assets/index-DcfIKM1A.js"},{"revision":null,"url":"assets/index-DnUMPb7W.js"},{"revision":null,"url":"assets/index-DoZ2YM4T.js"},{"revision":null,"url":"assets/index-DtwN19zv.js"},{"revision":null,"url":"assets/index-DVYdq7IA.js"},{"revision":null,"url":"assets/index-DZevAS4q.js"},{"revision":null,"url":"assets/index-JiEuwDJt.js"},{"revision":null,"url":"assets/index-p_TKo4z5.js"},{"revision":null,"url":"assets/index-V7v6XM-s.js"},{"revision":null,"url":"assets/index-xzyguKIp.js"},{"revision":null,"url":"assets/InfoOutlined-QBw5AmWP.js"},{"revision":null,"url":"assets/invitation-CLUC3FWC.js"},{"revision":null,"url":"assets/invite-upfjzZhU.js"},{"revision":null,"url":"assets/isEmail-BWNRBSAy.js"},{"revision":null,"url":"assets/issue-passport-a41Odi7S.js"},{"revision":null,"url":"assets/item-DFHyV0HY.js"},{"revision":null,"url":"assets/ja-B0U7M2t1.js"},{"revision":null,"url":"assets/ja-CmKylH6K.js"},{"revision":null,"url":"assets/keyboard-arrow-down-rounded-DadBVmpO.js"},{"revision":null,"url":"assets/ko-Blp8936a.js"},{"revision":null,"url":"assets/ko-CpDA9JjF.js"},{"revision":null,"url":"assets/Launch-Cpp3LVnV.js"},{"revision":null,"url":"assets/launch-result-message-keU5grqY.js"},{"revision":null,"url":"assets/LaunchOutlined-WdAKKV2H.js"},{"revision":null,"url":"assets/layout-Ctv3Y3ew.js"},{"revision":null,"url":"assets/list-eFeJihdG.js"},{"revision":null,"url":"assets/list-header-BBHpD8dC.js"},{"revision":null,"url":"assets/localization-Ciwo-y3M.js"},{"revision":null,"url":"assets/LockIcon-D-W4Rph6.js"},{"revision":null,"url":"assets/log-BsBzWP3w.js"},{"revision":null,"url":"assets/log-D33dFtt_.css"},{"revision":null,"url":"assets/login-m03_Nf1G.js"},{"revision":null,"url":"assets/login-oauth-callback-D_bP2yYx.js"},{"revision":null,"url":"assets/logo-uploader-CMRcZtFG.js"},{"revision":null,"url":"assets/Loop-CbPhaPlF.js"},{"revision":null,"url":"assets/lost-passport-PcFxL_2W.js"},{"revision":null,"url":"assets/lottie-react.esm-CHpXrEmm.js"},{"revision":null,"url":"assets/MoreHoriz-BsTY94ce.js"},{"revision":null,"url":"assets/open-window-Q0PVNWdu.js"},{"revision":null,"url":"assets/overview-O8Z47dUY.js"},{"revision":null,"url":"assets/page-header-BDwGXuEW.js"},{"revision":null,"url":"assets/permission-Cqed8iP-.js"},{"revision":null,"url":"assets/PlayArrow-BgVzxA9Q.js"},{"revision":null,"url":"assets/preferences-CBm0eML7.js"},{"revision":null,"url":"assets/pt-7r06GaNd.js"},{"revision":null,"url":"assets/pt-BbwAvpfn.js"},{"revision":null,"url":"assets/publish-resource-HnBr77fP.js"},{"revision":null,"url":"assets/QuestionMarkCircle-BvUTckGB.js"},{"revision":null,"url":"assets/raf-schd.esm-Cxhj8umC.js"},{"revision":null,"url":"assets/react-beautiful-dnd.esm-BTWrOgJp.js"},{"revision":null,"url":"assets/relative-time-BcL7VB-n.js"},{"revision":null,"url":"assets/ru-DgfLeWul.js"},{"revision":null,"url":"assets/ru-MS-ksi2g.js"},{"revision":null,"url":"assets/sdk-B4wNFenI.js"},{"revision":null,"url":"assets/ServerLogo-BDEZRDcg.js"},{"revision":null,"url":"assets/session-BKdZFtFw.js"},{"revision":null,"url":"assets/setup-DcoLUEuM.js"},{"revision":null,"url":"assets/shorten-label-J69eHfMN.js"},{"revision":null,"url":"assets/simple-select-D06JmA0a.js"},{"revision":null,"url":"assets/slicedToArray-CXBLQZX4.js"},{"revision":null,"url":"assets/start-iucPKmSu.js"},{"revision":null,"url":"assets/step-actions-DXTmms_Q.js"},{"revision":null,"url":"assets/studio-BzK2t7MU.js"},{"revision":null,"url":"assets/switch-control-BSKk9hbF.js"},{"revision":null,"url":"assets/th-DXRi_ppC.js"},{"revision":null,"url":"assets/th-gcuRSNHo.js"},{"revision":null,"url":"assets/traffic-Dg0xCbfH.js"},{"revision":null,"url":"assets/transfer-DW5JevxW.js"},{"revision":null,"url":"assets/unsubscribe-BxmY3IWn.js"},{"revision":null,"url":"assets/use-mobile-DnWfrhc7.js"},{"revision":null,"url":"assets/use-passport-id-B-b-_oYF.js"},{"revision":null,"url":"assets/useAsync-Ua5iss51.js"},{"revision":null,"url":"assets/useAsyncRetry-Bmo6a1Zp.js"},{"revision":null,"url":"assets/useLocalStorage-Bx8dJwZw.js"},{"revision":null,"url":"assets/user-center-BSOPivqw.js"},{"revision":null,"url":"assets/useSetState-Crt4S51m.js"},{"revision":null,"url":"assets/util-7Hs7DKO_.js"},{"revision":null,"url":"assets/util-BtA4vTl6.js"},{"revision":null,"url":"assets/vendor-arcblock-DhgPdlEj.css"},{"revision":null,"url":"assets/vendor-arcblock-HzAExiTd.js"},{"revision":null,"url":"assets/vendor-hooks-BKxTDk_P.js"},{"revision":null,"url":"assets/vendor-mui-core-xF5F4eT7.js"},{"revision":null,"url":"assets/vendor-mui-x-CSUdon8K.js"},{"revision":null,"url":"assets/vendor-react-D-afvo_7.js"},{"revision":null,"url":"assets/vendor-utils-5TjOM6td.js"},{"revision":null,"url":"assets/vi-CGYOhf_R.js"},{"revision":null,"url":"assets/vi-nO7JrO24.js"},{"revision":null,"url":"assets/ViewList-DBUe2NSG.js"},{"revision":null,"url":"assets/wrap-locale--wnFaGbc.js"},{"revision":null,"url":"assets/zh-BYS_9r4v.js"},{"revision":null,"url":"assets/zh-CEvYioAt.js"},{"revision":null,"url":"assets/zh-tw-BjfRYnXu.js"},{"revision":null,"url":"assets/zh-tw-BR5CO3an.js"},{"revision":"a42bdf82a078469e305657c18b2f1e5c","url":"index.html"},{"revision":"629a14a7e3397a134f5a30b5dc735183","url":"registerSW.js"},{"revision":"07a287e43ae8e959a20d6b367a581667","url":"router-template-styles/styles.css"},{"revision":"3c1549cff96a2d2baec44397663c083e","url":"share/shared-service-worker.js"},{"revision":"19d4c6a99cb8ed11e68209a612e7ec44","url":"share/workbox-v7.3.0/workbox-background-sync.prod.js"},{"revision":"d9d631014689e2b4b0e343c129671749","url":"share/workbox-v7.3.0/workbox-broadcast-update.prod.js"},{"revision":"bdb39ceb7380dcb1483c543e8856242b","url":"share/workbox-v7.3.0/workbox-cacheable-response.prod.js"},{"revision":"b84dd900eb18e8bc842666bbb740604e","url":"share/workbox-v7.3.0/workbox-core.prod.js"},{"revision":"c582a61c037234d8283eea0b97693b1b","url":"share/workbox-v7.3.0/workbox-expiration.prod.js"},{"revision":"866ba7d03bd871fa990976e4db312ab3","url":"share/workbox-v7.3.0/workbox-navigation-preload.prod.js"},{"revision":"0c55bb581ea7ce5ebfac1ce95cdda21f","url":"share/workbox-v7.3.0/workbox-offline-ga.prod.js"},{"revision":"770d183cf1f189a1ceb11ba8b5d808fa","url":"share/workbox-v7.3.0/workbox-precaching.prod.js"},{"revision":"295decbe1eb3b073a2a8d67cfbdf5692","url":"share/workbox-v7.3.0/workbox-range-requests.prod.js"},{"revision":"0bcb90677f3508ebc8a3571d14194478","url":"share/workbox-v7.3.0/workbox-recipes.prod.js"},{"revision":"4af96b70b2d20b041e2edd7ef1a8ef27","url":"share/workbox-v7.3.0/workbox-routing.prod.js"},{"revision":"c78c21b4058a1134ad3e12286c57cb2f","url":"share/workbox-v7.3.0/workbox-strategies.prod.js"},{"revision":"7eeb2d820d409221e076d31951fdcf79","url":"share/workbox-v7.3.0/workbox-streams.prod.js"},{"revision":"aa7368887577b9719a46b585d5dcc7a5","url":"share/workbox-v7.3.0/workbox-sw.js"},{"revision":"e768668db4eeefde11b58542900ab2ad","url":"share/workbox-v7.3.0/workbox-window.prod.umd.js"},{"revision":"f272d080151aa40322ce1603c6261ec1","url":"manifest.webmanifest"}]||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));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(({request:s})=>re(s)?!1:s.url.includes("/static/"),new mt({cacheName:`static-${self.registration.scope}`,plugins:[new ut({maxEntries:200})]}));te(({request:s})=>re(s)?!1:s.url.includes("/images/")||s.url.includes("/router/-template-styles/"),new yt({cacheName:`StaleWhileRevalidate-${self.registration.scope}`}));
|
|
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 $e(s){J().precache(s)}function qe(s,e){$e(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,$=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(()=>{}),$.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),$.set(e,s)),e}const S=s=>$.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}}qe(([{"revision":null,"url":"assets/access-control-DeqFMOm5.js"},{"revision":null,"url":"assets/actions-DP_Rm54e.js"},{"revision":null,"url":"assets/add-component-core-BnP0_g-C.js"},{"revision":null,"url":"assets/add-component-core-D-IRi6XF.css"},{"revision":null,"url":"assets/add-resource-B26HHRU4.js"},{"revision":null,"url":"assets/Add-TglZpKpw.js"},{"revision":null,"url":"assets/addon-DH34oI6i.js"},{"revision":null,"url":"assets/analytics-DPn53GmC.js"},{"revision":null,"url":"assets/api-K65cLqol.js"},{"revision":null,"url":"assets/ar-BJD4HTM3.js"},{"revision":null,"url":"assets/ar-DoIWDL3Q.js"},{"revision":null,"url":"assets/ArrowDropDown-DCM27ed6.js"},{"revision":null,"url":"assets/audit-logs-C1oUmr2S.js"},{"revision":null,"url":"assets/base32-CwwDjweV.js"},{"revision":null,"url":"assets/branding-DFfBkuOI.js"},{"revision":null,"url":"assets/bundle-avatar-Cv2R2iWI.js"},{"revision":null,"url":"assets/button-4qfNeG4u.js"},{"revision":null,"url":"assets/CheckCircle-CH8SYy4d.js"},{"revision":null,"url":"assets/ChevronLeft-B7m8AFzR.js"},{"revision":null,"url":"assets/ChevronRight-DeRklga5.js"},{"revision":null,"url":"assets/click-to-copy-886R1sA9.js"},{"revision":null,"url":"assets/cloneDeep-BRiLvZjr.js"},{"revision":null,"url":"assets/complete-Cz6Vt9yr.js"},{"revision":null,"url":"assets/component-BOGOOyWw.js"},{"revision":null,"url":"assets/config-BBRmjpUL.js"},{"revision":null,"url":"assets/config-CE9eJ5Ce.js"},{"revision":null,"url":"assets/config-navigation-ZGyHDU_V.js"},{"revision":null,"url":"assets/config-space-Bgt2MtPU.js"},{"revision":null,"url":"assets/confirm-f60NfF3X.js"},{"revision":null,"url":"assets/connect-B2VVyCQY.js"},{"revision":null,"url":"assets/connect-D9S16wyT.js"},{"revision":null,"url":"assets/connect-to-BSmtnPV9.js"},{"revision":null,"url":"assets/content-layout-cWwRTmIc.js"},{"revision":null,"url":"assets/dashboard-BoV1-CrH.js"},{"revision":null,"url":"assets/de-BVgb1fEg.js"},{"revision":null,"url":"assets/de-CaPBInxb.js"},{"revision":null,"url":"assets/DeleteOutline-DZA1YKE4.js"},{"revision":null,"url":"assets/did-address-CgDvtQbT.js"},{"revision":null,"url":"assets/domain-DLGsAByD.js"},{"revision":null,"url":"assets/domain-list-BLV11Y6_.js"},{"revision":null,"url":"assets/Done-CVdTMvGH.js"},{"revision":null,"url":"assets/Download-DECMRaRC.js"},{"revision":null,"url":"assets/EditIcon-BOr0kf6I.js"},{"revision":null,"url":"assets/email-Fgr58FLV.js"},{"revision":null,"url":"assets/Error-B61ZB0Rr.js"},{"revision":null,"url":"assets/es-CWcVPAna.js"},{"revision":null,"url":"assets/es-hhXhgxGX.js"},{"revision":null,"url":"assets/exchange-passport-CcsLEfpo.js"},{"revision":null,"url":"assets/form-text-input-CbMAGh7u.js"},{"revision":null,"url":"assets/format-error-C0Ke3VXF.js"},{"revision":null,"url":"assets/fr-BwQvAhhM.js"},{"revision":null,"url":"assets/fr-C8Jr_C8u.js"},{"revision":null,"url":"assets/fuel-B8r20ueU.js"},{"revision":null,"url":"assets/fullpage-DLk_Ap1u.js"},{"revision":null,"url":"assets/get-safe-url-BzE2b8Zw.js"},{"revision":null,"url":"assets/get-safe-url-C2hTfmjV.js"},{"revision":null,"url":"assets/Google-D_UbrpMW.js"},{"revision":null,"url":"assets/hi-CRWmR5oy.js"},{"revision":null,"url":"assets/hi-DTqZQNNB.js"},{"revision":null,"url":"assets/home-B30MMEWW.js"},{"revision":null,"url":"assets/id-CUsGyKYW.js"},{"revision":null,"url":"assets/id-Dlr6Q1sk.js"},{"revision":null,"url":"assets/iframe-DvysnY8O.js"},{"revision":null,"url":"assets/index-4zAH1uuX.js"},{"revision":null,"url":"assets/index-AgKpYdvC.css"},{"revision":null,"url":"assets/index-B4_ve2gt.js"},{"revision":null,"url":"assets/index-B6CyLMos.js"},{"revision":null,"url":"assets/index-BkZLaapf.js"},{"revision":null,"url":"assets/index-C-D-nCB1.js"},{"revision":null,"url":"assets/index-C-yw0A3M.js"},{"revision":null,"url":"assets/index-C2fPoxDR.js"},{"revision":null,"url":"assets/index-CHFvfli7.js"},{"revision":null,"url":"assets/index-ChSPqVLh.js"},{"revision":null,"url":"assets/index-CM-Ew9KZ.js"},{"revision":null,"url":"assets/index-D4PP6P2d.css"},{"revision":null,"url":"assets/index-DcfIKM1A.js"},{"revision":null,"url":"assets/index-DFM7u7wl.js"},{"revision":null,"url":"assets/index-DoZ2YM4T.js"},{"revision":null,"url":"assets/index-DtwN19zv.js"},{"revision":null,"url":"assets/index-DVYdq7IA.js"},{"revision":null,"url":"assets/index-EDdyNc1F.js"},{"revision":null,"url":"assets/index-EIsfexf1.js"},{"revision":null,"url":"assets/index-j5s7Rpz_.js"},{"revision":null,"url":"assets/index-r2Lf0YIw.js"},{"revision":null,"url":"assets/index-RoF9rzF3.js"},{"revision":null,"url":"assets/index-U8kTDDEm.js"},{"revision":null,"url":"assets/index-uSZNIR4c.js"},{"revision":null,"url":"assets/index-V7v6XM-s.js"},{"revision":null,"url":"assets/InfoOutlined-QBw5AmWP.js"},{"revision":null,"url":"assets/invitation-ZW3n52Yc.js"},{"revision":null,"url":"assets/invite-B8cpjqrT.js"},{"revision":null,"url":"assets/isEmail-BWNRBSAy.js"},{"revision":null,"url":"assets/issue-passport-DrbTLcdD.js"},{"revision":null,"url":"assets/item-BVrq9ZQD.js"},{"revision":null,"url":"assets/ja-B0U7M2t1.js"},{"revision":null,"url":"assets/ja-CmKylH6K.js"},{"revision":null,"url":"assets/keyboard-arrow-down-rounded-DadBVmpO.js"},{"revision":null,"url":"assets/ko-Blp8936a.js"},{"revision":null,"url":"assets/ko-CpDA9JjF.js"},{"revision":null,"url":"assets/Launch-Cpp3LVnV.js"},{"revision":null,"url":"assets/launch-result-message-keU5grqY.js"},{"revision":null,"url":"assets/LaunchOutlined-WdAKKV2H.js"},{"revision":null,"url":"assets/layout-Dw2Qx7hs.js"},{"revision":null,"url":"assets/list-BwH5q_Zc.js"},{"revision":null,"url":"assets/list-header-BBHpD8dC.js"},{"revision":null,"url":"assets/localization-Ciwo-y3M.js"},{"revision":null,"url":"assets/LockIcon-D-W4Rph6.js"},{"revision":null,"url":"assets/log-Ba7iTEJj.js"},{"revision":null,"url":"assets/log-D33dFtt_.css"},{"revision":null,"url":"assets/login-BewdlPwi.js"},{"revision":null,"url":"assets/login-oauth-callback-D_bP2yYx.js"},{"revision":null,"url":"assets/logo-uploader-CneV6CnS.js"},{"revision":null,"url":"assets/Loop-CbPhaPlF.js"},{"revision":null,"url":"assets/lost-passport-CNuZ281r.js"},{"revision":null,"url":"assets/lottie-react.esm-CHpXrEmm.js"},{"revision":null,"url":"assets/MoreHoriz-BsTY94ce.js"},{"revision":null,"url":"assets/open-window-Q0PVNWdu.js"},{"revision":null,"url":"assets/overview-giDiT6rf.js"},{"revision":null,"url":"assets/page-header-BDwGXuEW.js"},{"revision":null,"url":"assets/permission-Cqed8iP-.js"},{"revision":null,"url":"assets/PlayArrow-BgVzxA9Q.js"},{"revision":null,"url":"assets/preferences-CBm0eML7.js"},{"revision":null,"url":"assets/pt-7r06GaNd.js"},{"revision":null,"url":"assets/pt-BbwAvpfn.js"},{"revision":null,"url":"assets/publish-resource-CQLawfAh.js"},{"revision":null,"url":"assets/QuestionMarkCircle-BvUTckGB.js"},{"revision":null,"url":"assets/raf-schd.esm-Cxhj8umC.js"},{"revision":null,"url":"assets/react-beautiful-dnd.esm-BTWrOgJp.js"},{"revision":null,"url":"assets/relative-time-Bt6RtG4o.js"},{"revision":null,"url":"assets/ru-DgfLeWul.js"},{"revision":null,"url":"assets/ru-MS-ksi2g.js"},{"revision":null,"url":"assets/sdk-B4wNFenI.js"},{"revision":null,"url":"assets/ServerLogo-BDEZRDcg.js"},{"revision":null,"url":"assets/session-BKdZFtFw.js"},{"revision":null,"url":"assets/setup-BdFkCCIb.js"},{"revision":null,"url":"assets/shorten-label-J69eHfMN.js"},{"revision":null,"url":"assets/simple-select-D06JmA0a.js"},{"revision":null,"url":"assets/slicedToArray-CXBLQZX4.js"},{"revision":null,"url":"assets/start-Cy0MNYb6.js"},{"revision":null,"url":"assets/step-actions-CPEQpBG3.js"},{"revision":null,"url":"assets/studio-BzK2t7MU.js"},{"revision":null,"url":"assets/switch-control-BSKk9hbF.js"},{"revision":null,"url":"assets/th-DXRi_ppC.js"},{"revision":null,"url":"assets/th-gcuRSNHo.js"},{"revision":null,"url":"assets/traffic-BQRcq8gg.js"},{"revision":null,"url":"assets/transfer-DhNfOwE1.js"},{"revision":null,"url":"assets/unsubscribe-C0PztwA5.js"},{"revision":null,"url":"assets/use-mobile-DnWfrhc7.js"},{"revision":null,"url":"assets/use-passport-id-B-b-_oYF.js"},{"revision":null,"url":"assets/useAsync-Ua5iss51.js"},{"revision":null,"url":"assets/useAsyncRetry-Bmo6a1Zp.js"},{"revision":null,"url":"assets/useLocalStorage-Bx8dJwZw.js"},{"revision":null,"url":"assets/user-center-BshF32Jc.js"},{"revision":null,"url":"assets/useSetState-Crt4S51m.js"},{"revision":null,"url":"assets/util-BPubgk5p.js"},{"revision":null,"url":"assets/util-CWVLbRLp.js"},{"revision":null,"url":"assets/vendor-arcblock-DhgPdlEj.css"},{"revision":null,"url":"assets/vendor-arcblock-HzAExiTd.js"},{"revision":null,"url":"assets/vendor-hooks-BKxTDk_P.js"},{"revision":null,"url":"assets/vendor-mui-core-xF5F4eT7.js"},{"revision":null,"url":"assets/vendor-mui-x-CSUdon8K.js"},{"revision":null,"url":"assets/vendor-react-D-afvo_7.js"},{"revision":null,"url":"assets/vendor-utils-5TjOM6td.js"},{"revision":null,"url":"assets/vi-CGYOhf_R.js"},{"revision":null,"url":"assets/vi-nO7JrO24.js"},{"revision":null,"url":"assets/ViewList-DBUe2NSG.js"},{"revision":null,"url":"assets/wrap-locale-DrPh3OVK.js"},{"revision":null,"url":"assets/zh-BYS_9r4v.js"},{"revision":null,"url":"assets/zh-CEvYioAt.js"},{"revision":null,"url":"assets/zh-tw-BjfRYnXu.js"},{"revision":null,"url":"assets/zh-tw-BR5CO3an.js"},{"revision":"93b5158645e4cb88d98365502683ceb8","url":"index.html"},{"revision":"629a14a7e3397a134f5a30b5dc735183","url":"registerSW.js"},{"revision":"07a287e43ae8e959a20d6b367a581667","url":"router-template-styles/styles.css"},{"revision":"3c1549cff96a2d2baec44397663c083e","url":"share/shared-service-worker.js"},{"revision":"19d4c6a99cb8ed11e68209a612e7ec44","url":"share/workbox-v7.3.0/workbox-background-sync.prod.js"},{"revision":"d9d631014689e2b4b0e343c129671749","url":"share/workbox-v7.3.0/workbox-broadcast-update.prod.js"},{"revision":"bdb39ceb7380dcb1483c543e8856242b","url":"share/workbox-v7.3.0/workbox-cacheable-response.prod.js"},{"revision":"b84dd900eb18e8bc842666bbb740604e","url":"share/workbox-v7.3.0/workbox-core.prod.js"},{"revision":"c582a61c037234d8283eea0b97693b1b","url":"share/workbox-v7.3.0/workbox-expiration.prod.js"},{"revision":"866ba7d03bd871fa990976e4db312ab3","url":"share/workbox-v7.3.0/workbox-navigation-preload.prod.js"},{"revision":"0c55bb581ea7ce5ebfac1ce95cdda21f","url":"share/workbox-v7.3.0/workbox-offline-ga.prod.js"},{"revision":"770d183cf1f189a1ceb11ba8b5d808fa","url":"share/workbox-v7.3.0/workbox-precaching.prod.js"},{"revision":"295decbe1eb3b073a2a8d67cfbdf5692","url":"share/workbox-v7.3.0/workbox-range-requests.prod.js"},{"revision":"0bcb90677f3508ebc8a3571d14194478","url":"share/workbox-v7.3.0/workbox-recipes.prod.js"},{"revision":"4af96b70b2d20b041e2edd7ef1a8ef27","url":"share/workbox-v7.3.0/workbox-routing.prod.js"},{"revision":"c78c21b4058a1134ad3e12286c57cb2f","url":"share/workbox-v7.3.0/workbox-strategies.prod.js"},{"revision":"7eeb2d820d409221e076d31951fdcf79","url":"share/workbox-v7.3.0/workbox-streams.prod.js"},{"revision":"aa7368887577b9719a46b585d5dcc7a5","url":"share/workbox-v7.3.0/workbox-sw.js"},{"revision":"e768668db4eeefde11b58542900ab2ad","url":"share/workbox-v7.3.0/workbox-window.prod.umd.js"},{"revision":"f272d080151aa40322ce1603c6261ec1","url":"manifest.webmanifest"}]||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));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(({request:s})=>re(s)?!1:s.url.includes("/static/"),new mt({cacheName:`static-${self.registration.scope}`,plugins:[new ut({maxEntries:200})]}));te(({request:s})=>re(s)?!1:s.url.includes("/images/")||s.url.includes("/router/-template-styles/"),new yt({cacheName:`StaleWhileRevalidate-${self.registration.scope}`}));
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.39-beta-
|
|
6
|
+
"version": "1.16.39-beta-20250215-130252-43410928",
|
|
7
7
|
"description": "Provide unified services for every blocklet",
|
|
8
8
|
"main": "api/index.js",
|
|
9
9
|
"files": [
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@abtnode/analytics": "1.16.39-beta-
|
|
37
|
-
"@abtnode/auth": "1.16.39-beta-
|
|
38
|
-
"@abtnode/client": "1.16.39-beta-
|
|
39
|
-
"@abtnode/connect-storage": "1.16.39-beta-
|
|
40
|
-
"@abtnode/constant": "1.16.39-beta-
|
|
41
|
-
"@abtnode/core": "1.16.39-beta-
|
|
42
|
-
"@abtnode/cron": "1.16.39-beta-
|
|
43
|
-
"@abtnode/logger": "1.16.39-beta-
|
|
44
|
-
"@abtnode/models": "1.16.39-beta-
|
|
45
|
-
"@abtnode/router-templates": "1.16.39-beta-
|
|
46
|
-
"@abtnode/util": "1.16.39-beta-
|
|
36
|
+
"@abtnode/analytics": "1.16.39-beta-20250215-130252-43410928",
|
|
37
|
+
"@abtnode/auth": "1.16.39-beta-20250215-130252-43410928",
|
|
38
|
+
"@abtnode/client": "1.16.39-beta-20250215-130252-43410928",
|
|
39
|
+
"@abtnode/connect-storage": "1.16.39-beta-20250215-130252-43410928",
|
|
40
|
+
"@abtnode/constant": "1.16.39-beta-20250215-130252-43410928",
|
|
41
|
+
"@abtnode/core": "1.16.39-beta-20250215-130252-43410928",
|
|
42
|
+
"@abtnode/cron": "1.16.39-beta-20250215-130252-43410928",
|
|
43
|
+
"@abtnode/logger": "1.16.39-beta-20250215-130252-43410928",
|
|
44
|
+
"@abtnode/models": "1.16.39-beta-20250215-130252-43410928",
|
|
45
|
+
"@abtnode/router-templates": "1.16.39-beta-20250215-130252-43410928",
|
|
46
|
+
"@abtnode/util": "1.16.39-beta-20250215-130252-43410928",
|
|
47
47
|
"@arcblock/did": "^1.19.9",
|
|
48
48
|
"@arcblock/did-auth": "1.19.9",
|
|
49
49
|
"@arcblock/did-ext": "^1.19.9",
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"@arcblock/jwt": "1.19.9",
|
|
54
54
|
"@arcblock/validator": "^1.19.9",
|
|
55
55
|
"@arcblock/ws": "1.19.9",
|
|
56
|
-
"@blocklet/constant": "1.16.39-beta-
|
|
56
|
+
"@blocklet/constant": "1.16.39-beta-20250215-130252-43410928",
|
|
57
57
|
"@blocklet/did-space-js": "^1.0.12",
|
|
58
|
-
"@blocklet/env": "1.16.39-beta-
|
|
58
|
+
"@blocklet/env": "1.16.39-beta-20250215-130252-43410928",
|
|
59
59
|
"@blocklet/form-builder": "^0.1.11",
|
|
60
60
|
"@blocklet/form-collector": "^0.1.8",
|
|
61
|
-
"@blocklet/images": "1.16.39-beta-
|
|
62
|
-
"@blocklet/js-sdk": "1.16.39-beta-
|
|
63
|
-
"@blocklet/meta": "1.16.39-beta-
|
|
64
|
-
"@blocklet/sdk": "1.16.39-beta-
|
|
61
|
+
"@blocklet/images": "1.16.39-beta-20250215-130252-43410928",
|
|
62
|
+
"@blocklet/js-sdk": "1.16.39-beta-20250215-130252-43410928",
|
|
63
|
+
"@blocklet/meta": "1.16.39-beta-20250215-130252-43410928",
|
|
64
|
+
"@blocklet/sdk": "1.16.39-beta-20250215-130252-43410928",
|
|
65
65
|
"@blocklet/uploader-server": "^0.1.78",
|
|
66
66
|
"@did-connect/authenticator": "^2.2.7",
|
|
67
67
|
"@did-connect/relay-adapter-express": "^2.2.7",
|
|
@@ -110,14 +110,14 @@
|
|
|
110
110
|
"whatwg-url": "14.0.0"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@abtnode/ux": "1.16.39-beta-
|
|
113
|
+
"@abtnode/ux": "1.16.39-beta-20250215-130252-43410928",
|
|
114
114
|
"@arcblock/bridge": "^2.11.34",
|
|
115
115
|
"@arcblock/did-connect": "^2.11.34",
|
|
116
116
|
"@arcblock/icons": "^2.11.34",
|
|
117
117
|
"@arcblock/react-hooks": "^2.11.34",
|
|
118
118
|
"@arcblock/ux": "^2.11.34",
|
|
119
119
|
"@blocklet/launcher-layout": "^2.11.34",
|
|
120
|
-
"@blocklet/tracker": "1.16.39-beta-
|
|
120
|
+
"@blocklet/tracker": "1.16.39-beta-20250215-130252-43410928",
|
|
121
121
|
"@blocklet/ui-react": "^2.11.34",
|
|
122
122
|
"@blocklet/uploader": "^0.1.66",
|
|
123
123
|
"@emotion/react": "^11.11.4",
|
|
@@ -195,5 +195,5 @@
|
|
|
195
195
|
"url": "https://github.com/ArcBlock/blocklet-server/issues",
|
|
196
196
|
"email": "shijun@arcblock.io"
|
|
197
197
|
},
|
|
198
|
-
"gitHead": "
|
|
198
|
+
"gitHead": "83b35e2f9759a3f1aa0343c112aedaddf79a8e55"
|
|
199
199
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{j as D,a0 as U,bz as W,aw as N,e as E,bA as H,av as Z,b as F}from"./vendor-arcblock-HzAExiTd.js";import{p as G}from"./util-BtA4vTl6.js";import{r as l,L as q}from"./vendor-react-D-afvo_7.js";import{_ as K}from"./useLocalStorage-Bx8dJwZw.js";import{z as I}from"./index-BGAIEQ8H.js";import{j as e,a1 as J,a3 as d,aM as Q,T as j,a4 as X,I as k,a2 as Y,bH as ee,bI as te,aP as re,al as ae,bG as oe}from"./vendor-mui-core-xF5F4eT7.js";import{M as A}from"./index-ChSPqVLh.js";import{d as se}from"./InfoOutlined-QBw5AmWP.js";import{R as ne}from"./relative-time-BcL7VB-n.js";import{S as M}from"./shorten-label-J69eHfMN.js";import{d as ie}from"./vendor-utils-5TjOM6td.js";import{r as $}from"./index-DtwN19zv.js";import{u as le}from"./dashboard-7MqA_6AS.js";import"./vendor-hooks-BKxTDk_P.js";import"./index-CYDwuSY3.js";import"./confirm-BGxdRdSL.js";import"./format-error-C0Ke3VXF.js";import"./PlayArrow-BgVzxA9Q.js";import"./get-safe-url-C2hTfmjV.js";import"./session-BKdZFtFw.js";import"./useAsyncRetry-Bmo6a1Zp.js";import"./useAsync-Ua5iss51.js";import"./useSetState-Crt4S51m.js";const V=l.createContext({}),{Provider:ce,Consumer:Ne}=V;function de(){return localStorage.getItem("audit-log-page-size")&&Number(localStorage.getItem("audit-log-page-size"))||10}function pe({children:t,scope:a="",categories:n=[],showScope:c,scopeFormatter:g}){const{api:u,info:v}=I(),[m,x]=l.useState([]),[o,L]=l.useState({total:0,pageSize:de(),pageCount:0,page:1}),[h,f]=l.useState(!1),[r,i]=l.useState(""),[p,y]=K(`audit-log-category-${a}`,"all"),s=[{value:"all",label:"All",description:""},{value:"blocklet",label:"Blocklet Management",description:""},{value:"server",label:"Server Management",description:""},{value:"team",label:"Team Management",description:""},{value:"security",label:"Security",description:""},{value:"certificates",label:"Certificate Management",description:""},{value:"integrations",label:"Integration Management",description:""},{value:"gateway",label:"Gateway",description:""}].filter(z=>n.length?z.value==="all"||n.includes(z.value):!0),C=async({page:z=1,pageSize:B=20,silent:R=!0}={})=>{if(!h){R||f(!0);try{const S=await u.getAuditLogs({input:{paging:{page:z,pageSize:B},category:p==="all"?"":p,scope:a,actionOrContent:r}});c&&(S.list||[]).forEach(P=>{P.scope!==v.did&&(P.link=`/blocklets/${P.scope}/components`)}),x(S.list),L(S.paging),f(!1)}catch(S){D.error(S.message),f(!1)}}};l.useEffect(()=>{localStorage.setItem("audit-log-page-size",o.pageSize)},[o.pageSize]),l.useEffect(()=>{C({page:1,pageSize:o.pageSize,silent:!1})},[]),l.useEffect(()=>{C({page:1,pageSize:o.pageSize,silent:!1})},[p,r]);const w={loading:h,fetch:C,filter:{category:p,scope:a},categories:s,setCategory:y,data:m,paging:o,setPaging:L,showScope:c,scopeFormatter:g,actionOrContent:r,setActionOrContent:i};return e.jsx(ce,{value:{auditLogs:w},children:t})}function O(){const{auditLogs:t}=l.useContext(V);return t}var _={},ue=J;Object.defineProperty(_,"__esModule",{value:!0});var T=_.default=void 0,fe=ue(U()),ge=e;T=_.default=(0,fe.default)((0,ge.jsx)("path",{d:"M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z"}),"UnfoldMore");const me=`
|
|
2
|
-
<svg style="width:38px;height:38px;" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M50.152 10.6417L31.72 0L13.288 10.6417V24.7942L1 31.8887V53.1722L19.432 63.8139L31.6902 56.7366L31.72 56.7538L31.7498 56.7366L44.008 63.8139L62.44 53.1722V31.8887L50.152 24.7942V10.6417ZM60.52 32.9972L48.232 25.9027V11.7502L31.72 2.21703L15.208 11.7502V25.9028L2.92 32.9972V52.0636L19.432 61.5968L31.6902 54.5196L31.72 54.5368L31.7498 54.5196L44.008 61.5968L60.52 52.0636V32.9972Z" fill="url(#paint0_linear_606_96)"/>
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M50.1521 24.8307L31.7201 14.189L13.2881 24.8307V46.1141L31.7201 56.7558L50.1521 46.1141V24.8307ZM15.2081 25.9392L31.7201 16.406L48.2321 25.9392V45.0056L31.7201 54.5388L15.2081 45.0056V25.9392ZM28.5464 23.0464C28.6641 22.6342 29.0408 22.3501 29.4695 22.3501H33.9707C34.3993 22.3501 34.776 22.6342 34.8938 23.0464L35.7504 26.0447L37.8696 27.2681L40.8945 26.5109C41.3103 26.4068 41.7447 26.591 41.959 26.9622L44.2096 30.8604C44.424 31.2316 44.3662 31.6998 44.0682 32.0079L41.8999 34.2489V36.6959L44.0682 38.9369C44.3662 39.245 44.424 39.7133 44.2096 40.0845L41.959 43.9827C41.7447 44.3539 41.3103 44.538 40.8945 44.4339L37.8696 43.6767L35.7504 44.9002L34.8938 47.8984C34.776 48.3106 34.3993 48.5947 33.9707 48.5947H29.4695C29.0408 48.5947 28.6641 48.3106 28.5464 47.8984L27.6897 44.9002L25.5706 43.6767L22.5457 44.4339C22.1299 44.538 21.6955 44.3539 21.4812 43.9827L19.2305 40.0845C19.0162 39.7133 19.0739 39.245 19.372 38.9369L21.5402 36.6959V34.2489L19.372 32.0079C19.0739 31.6998 19.0162 31.2316 19.2305 30.8604L21.4812 26.9622C21.6955 26.591 22.1299 26.4068 22.5457 26.5109L25.5706 27.2681L27.6897 26.0447L28.5464 23.0464ZM28.9861 27.5132C29.2018 27.3887 29.3607 27.1851 29.4292 26.9456L30.1936 24.2701H33.2466L34.011 26.9456C34.0794 27.1851 34.2383 27.3887 34.4541 27.5132L37.2459 29.1251C37.4617 29.2497 37.7174 29.2855 37.9591 29.225L40.6583 28.5493L42.1848 31.1932L40.25 33.193C40.0768 33.372 39.9799 33.6114 39.9799 33.8605V37.0843C39.9799 37.3334 40.0768 37.5728 40.25 37.7518L42.1848 39.7516L40.6583 42.3955L37.9591 41.7198C37.7174 41.6593 37.4617 41.6951 37.2459 41.8197L34.4541 43.4316C34.2383 43.5561 34.0794 43.7597 34.011 43.9992L33.2466 46.6747H30.1936L29.4292 43.9992C29.3607 43.7597 29.2018 43.5561 28.9861 43.4316L26.1942 41.8197C25.9785 41.6951 25.7228 41.6593 25.4811 41.7198L22.7819 42.3955L21.2554 39.7516L23.1902 37.7518C23.3634 37.5728 23.4602 37.3334 23.4602 37.0843V33.8605C23.4602 33.6114 23.3634 33.372 23.1902 33.193L21.2554 31.1932L22.7819 28.5493L25.4811 29.225C25.7228 29.2855 25.9785 29.2497 26.1942 29.1251L28.9861 27.5132ZM31.7201 41.6407C28.3134 41.6407 25.5517 38.8791 25.5517 35.4724C25.5517 32.0657 28.3134 29.3041 31.7201 29.3041C35.1268 29.3041 37.8884 32.0657 37.8884 35.4724C37.8884 38.8791 35.1268 41.6407 31.7201 41.6407ZM35.9684 35.4724C35.9684 37.8187 34.0664 39.7207 31.7201 39.7207C29.3738 39.7207 27.4717 37.8187 27.4717 35.4724C27.4717 33.1261 29.3738 31.2241 31.7201 31.2241C34.0664 31.2241 35.9684 33.1261 35.9684 35.4724Z" fill="url(#paint1_linear_606_96)"/>
|
|
5
|
-
<defs>
|
|
6
|
-
<linearGradient id="paint0_linear_606_96" x1="31.72" y1="95.7208" x2="95.488" y2="34.3249" gradientUnits="userSpaceOnUse">
|
|
7
|
-
<stop stop-color="#0FA4B7"/>
|
|
8
|
-
<stop offset="0.494757" stop-color="#1DC1C7"/>
|
|
9
|
-
<stop offset="1" stop-color="#2BE0D7"/>
|
|
10
|
-
</linearGradient>
|
|
11
|
-
<linearGradient id="paint1_linear_606_96" x1="28.4374" y1="99.2464" x2="98.7613" y2="44.9372" gradientUnits="userSpaceOnUse">
|
|
12
|
-
<stop stop-color="#0FA4B7"/>
|
|
13
|
-
<stop offset="0.494757" stop-color="#1DC1C7"/>
|
|
14
|
-
<stop offset="1" stop-color="#2BE0D7"/>
|
|
15
|
-
</linearGradient>
|
|
16
|
-
</defs>
|
|
17
|
-
</svg>
|
|
18
|
-
`;function xe({title:t,subTitle:a,titleInfo:n,action:c,createdAt:g,content:u,isLast:v,titleLink:m,avatarUrl:x}){const[o,L]=l.useState(!1),[h,f]=l.useState(!1),[r,i]=l.useState(window.innerWidth),p=l.useRef(null),y=()=>{var C,w;const s=(w=(C=p.current)==null?void 0:C.mdp)==null?void 0:w.current;s&&f(s.scrollHeight>s.offsetHeight)};l.useEffect(()=>{const s=ie(()=>{i(window.innerWidth)},100);return window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)},[]),l.useEffect(()=>{y()},[r,u]);const b=l.useMemo(()=>Object.entries(n).map(([s,C])=>({key:s,value:C})).filter(s=>!!s.value),[n]);return e.jsx(d,{"data-cy":"log-entry",sx:{borderBottom:v?"none":"1px solid #ddd",padding:2},children:e.jsxs(d,{sx:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:2,width:"100%"},children:[e.jsx(d,{sx:{mt:.5},className:"log-author",children:x?e.jsx(Q,{src:x,size:36,shape:"circle"}):e.jsx("div",{dangerouslySetInnerHTML:{__html:me}})}),e.jsxs(d,{sx:{width:240},children:[e.jsx(j,{color:"textSecondary",component:"p",display:"flex",children:m?e.jsx(q,{to:m,target:"_blank",children:e.jsx(M,{maxLength:26,children:t})}):e.jsx(M,{maxLength:26,children:t})}),e.jsx(X,{"aria-label":"Audit device info",title:e.jsx(d,{sx:{color:"#fff",display:"flex",flexDirection:"column",fontSize:12},children:b==null?void 0:b.map(s=>e.jsx(j,{sx:{color:"#fff"},fontSize:12,children:`${s.key}: ${s.value}`},s.key))}),children:e.jsxs(j,{component:"span",color:"textSecondary",fontSize:13,children:[a,e.jsx(se,{sx:{ml:.5,fontSize:12,verticalAlign:"middle"}})]})})]}),e.jsxs(d,{sx:{width:200},children:[e.jsx(j,{sx:{fontSize:"16px",color:"rgb(36, 41, 47)",backgroundColor:"#fff",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"},children:c}),e.jsx(j,{component:"span",color:"textSecondary",fontSize:13,children:e.jsx(ne,{value:g})})]}),e.jsx(d,{sx:{flex:1},children:h&&o?e.jsx(j,{className:"log-content",maxWidth:"lg",color:"textPrimary",component:"div","data-color-mode":"light",gutterBottom:!0,children:e.jsx(A,{source:u,rehypePlugins:[[$,{target:"_blank"}]]})}):e.jsx(j,{className:"log-content",maxWidth:"lg",color:"textPrimary",component:"div","data-color-mode":"light",gutterBottom:!0,sx:{display:o?"block":"-webkit-box",WebkitLineClamp:o?"none":2,WebkitBoxOrient:"vertical",overflow:o?"visible":"hidden",wordBreak:"break-word"},children:e.jsx(A,{ref:p,source:u,rehypePlugins:[[$,{target:"_blank"}]]})})}),e.jsxs(d,{children:[h&&e.jsx(k,{size:"small",onClick:()=>L(!o),children:o?e.jsx(W,{sx:{fontSize:22}}):e.jsx(T,{sx:{fontSize:22}})}),e.jsx(k,{size:"small",children:e.jsx(N,{sx:{fontSize:22},content:u})})]})]})})}const Le=({log:t,info:a,inService:n})=>n?`${F.WELLKNOWN_BLOCKLET_ADMIN_PATH}/members?did=${t.actor.did}`:t.scope===a.did?`/team/members?did=${t.actor.did}`:`/blocklets/${t.scope}/members?did=${t.actor.did}`;function he({log:t,isLast:a}){var f,r,i,p,y,b;const{inService:n,info:c}=I(),{t:g}=E(),{teamDid:u}=le(),{showScope:v,scopeFormatter:m=s=>s}=O();if(!t.actor.did)return null;const x=!["blocklet",""].includes(t.actor.role);let o=t.actor.fullName;v&&(o=t.actor.fullName?`${o} - ${m(t.scope)}`:m(t.scope));const L=v?t.link:Le({log:t,inService:n,info:c}),h=t.actor.avatar?G(t.actor.avatar,u,n):"";return e.jsx(xe,{isLast:a,isUser:x,avatarDid:t.actor.did,avatarUrl:h,title:o||g("common.unrecordedUser"),titleLink:L,subTitle:t.actor.role?t.actor.role:g("common.unrecordedRole"),content:t.content,action:t.action,titleInfo:{IP:t.ip,OS:`${(f=t.env.os)==null?void 0:f.name}${(r=t.env.os)!=null&&r.version?` ${(i=t.env.os)==null?void 0:i.version}`:""}`,Client:`${(p=t.env.browser)==null?void 0:p.name}${(y=t.env.browser)!=null&&y.Version?` ${(b=t.env.browser)==null?void 0:b.Version}`:""}`},createdAt:t.createdAt})}function ve(){const{t}=E(),{data:a,loading:n,paging:c,setPaging:g,filter:u,categories:v,setCategory:m,fetch:x,actionOrContent:o,setActionOrContent:L}=O(),h=r=>{const i=Number(r.target.value);g({...c,pageSize:i}),x({page:1,pageSize:i})},f=r=>{g({...c,page:r+1}),x({page:r+1,pageSize:c.pageSize})};return n?e.jsx("div",{style:{textAlign:"center",marginTop:"50px"},children:e.jsx(Y,{})}):e.jsxs(d,{"data-cy":"audit-logs",children:[e.jsxs(d,{sx:{display:"flex",flexDirection:"row",gap:2,alignItems:"center"},children:[e.jsxs(ee,{style:{width:"240px"},variant:"outlined",children:[e.jsx(te,{children:t("common.filter")}),e.jsx(re,{"data-cy":"filter-by-category-trigger",value:u.category,onChange:r=>m(r.target.value),fullWidth:!0,sx:{borderRadius:1},label:t("common.category"),disabled:n,children:v.map(r=>e.jsx(ae,{value:r.value,"data-cy":`filter-by-category-${r.value}`,children:e.jsx(d,{children:e.jsx("span",{children:r.label})})},r.label))})]}),e.jsx(d,{sx:{flex:1}}),e.jsx(H,{options:{searchPlaceholder:t("common.auditLogsSearch"),searchDebounceTime:600},search:o,searchText:o,searchTextUpdate:L,searchClose:()=>L(""),onSearchOpen:()=>{}})]}),a.length===0&&e.jsx(Z,{children:t("common.empty")}),e.jsx(d,{sx:{mt:2,border:(a==null?void 0:a.length)>0?"1px solid #ddd":"none",borderRadius:1},children:a.length>0&&a.map((r,i)=>e.jsx(he,{log:r,isLast:i===a.length-1},r.id))}),e.jsx(d,{sx:{display:"flex",justifyContent:"flex-end",mt:2},children:e.jsx(oe,{disabled:n,page:c.page-1,count:c.total,rowsPerPage:c.pageSize,rowsPerPageOptions:[10,20,50,100],labelRowsPerPage:t("pagination.rowsPerPage"),labelDisplayedRows:({from:r,to:i,count:p})=>`${r}–${i} / ${p!==-1?p:`${t()}more than ${i}`}`,onPageChange:(r,i)=>f(i),onRowsPerPageChange:h})})]})}function He({scope:t,categories:a,showScope:n,scopeFormatter:c}){return e.jsx(pe,{scope:t,categories:a,showScope:n,scopeFormatter:c,children:e.jsx(ve,{})})}export{He as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{x as i}from"./vendor-utils-5TjOM6td.js";import{b as e}from"./vendor-arcblock-HzAExiTd.js";function t(R,A,n){if(R&&R.startsWith(e.USER_AVATAR_URL_PREFIX)){const r=window.env.apiPrefix||"/";return n?i(r,e.USER_AVATAR_PATH_PREFIX,R.replace(e.USER_AVATAR_URL_PREFIX,"")):i(r,e.USER_AVATAR_PATH_PREFIX,A,R.replace(e.USER_AVATAR_URL_PREFIX,""))}return R}const s=(R,A)=>R.nodeOwner&&R.nodeOwner.did===A,E=(R,A)=>R&&R.did===A;export{E as a,s as i,t as p};
|