https://platform-sc.g123.jp/game/production/assets/sw.cfc363b5.js

Eingereichte URL:
https://platform-sc.g123.jp/game/production/assets/sw.cfc363b5.js
Bericht beendet:

Die von der Seite ausgehenden identifizierten Links

JavaScript-Variablen · 3 gefunden

Globale JavaScript-Variablen, die in das Window Object einer Seite geladen werden, sind Variablen, die außerhalb von Funktionen deklariert werden und von jeder Stelle des Codes innerhalb des aktuellen Bereichs zugänglich sind

NameTyp
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject

Konsolenprotokoll-Meldungen · 0 gefunden

In der Web-Konsole protokollierte Meldungen

HTML

Der HTML-Rohtext der Seite

<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(()=&gt;{var Ie=Object.defineProperty,Oe=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,N=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(e,t,a)=&gt;t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,je=(e,t)=&gt;{for(var a in t||(t={}))Z.call(t,a)&amp;&amp;te(e,a,t[a]);if(N)for(var a of N(t))ee.call(t,a)&amp;&amp;te(e,a,t[a]);return e},Me=(e,t)=&gt;Oe(e,Ae(t)),Ke=(e,t)=&gt;{var a={};for(var s in e)Z.call(e,s)&amp;&amp;t.indexOf(s)&lt;0&amp;&amp;(a[s]=e[s]);if(e!=null&amp;&amp;N)for(var s of N(e))t.indexOf(s)&lt;0&amp;&amp;ee.call(e,s)&amp;&amp;(a[s]=e[s]);return a};try{self["workbox:core:7.0.0"]&amp;&amp;_()}catch{}var Be=(e,...t)=&gt;{let a=e;return t.length&gt;0&amp;&amp;(a+=` :: ${JSON.stringify(t)}`),a},Fe=Be,d=class extends Error{constructor(e,t){let a=Fe(e,t);super(a),this.name=e,this.details=t}},We=e=&gt;new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"");try{self["workbox:cacheable-response:7.0.0"]&amp;&amp;_()}catch{}var $e=class{constructor(e={}){this._statuses=e.statuses,this._headers=e.headers}isResponseCacheable(e){let t=!0;return this._statuses&amp;&amp;(t=this._statuses.includes(e.status)),this._headers&amp;&amp;t&amp;&amp;(t=Object.keys(this._headers).some(a=&gt;e.headers.get(a)===this._headers[a])),t}},L=class{constructor(e){this.cacheWillUpdate=async({response:t})=&gt;this._cacheableResponse.isResponseCacheable(t)?t:null,this._cacheableResponse=new $e(e)}},ae=new Set;function He(e){ae.add(e)}var m={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration&lt;"u"?registration.scope:""},A=e=&gt;[m.prefix,e,m.suffix].filter(t=&gt;t&amp;&amp;t.length&gt;0).join("-"),Qe=e=&gt;{for(let t of Object.keys(m))e(t)},f={updateDetails:e=&gt;{Qe(t=&gt;{typeof e[t]=="string"&amp;&amp;(m[t]=e[t])})},getGoogleAnalyticsName:e=&gt;e||A(m.googleAnalytics),getPrecacheName:e=&gt;e||A(m.precache),getPrefix:()=&gt;m.prefix,getRuntimeName:e=&gt;e||A(m.runtime),getSuffix:()=&gt;m.suffix};function se(e,t){let a=new URL(e);for(let s of t)a.searchParams.delete(s);return a.href}async function Ve(e,t,a,s){let r=se(t.url,a);if(t.url===r)return e.match(t,s);let n=Object.assign(Object.assign({},s),{ignoreSearch:!0}),i=await e.keys(t,n);for(let o of i){let c=se(o.url,a);if(r===c)return e.match(o,s)}}var E;function Ge(){if(E===void 0){let e=new Response("");if("body"in e)try{new Response(e.body),E=!0}catch{E=!1}E=!1}return E}function re(e){e.then(()=&gt;{})}var ze=class{constructor(){this.promise=new Promise((e,t)=&gt;{this.resolve=e,this.reject=t})}};async function Je(){for(let e of ae)await e()}function ne(e){return new Promise(t=&gt;setTimeout(t,e))}function ie(e,t){let a=t();return e.waitUntil(a),a}var T={get googleAnalytics(){return f.getGoogleAnalyticsName()},get precache(){return f.getPrecacheName()},get prefix(){return f.getPrefix()},get runtime(){return f.getRuntimeName()},get suffix(){return f.getSuffix()}};async function Xe(e,t){let a=null;if(e.url&amp;&amp;(a=new URL(e.url).origin),a!==self.location.origin)throw new d("cross-origin-copy-response",{origin:a});let s=e.clone(),r={headers:new Headers(s.headers),status:s.status,statusText:s.statusText},n=t?t(r):r,i=Ge()?s.body:await s.blob();return new Response(i,n)}function Ye(e){f.updateDetails(e)}var Ze=(e,t)=&gt;t.some(a=&gt;e instanceof a),oe,ce;function et(){return oe||(oe=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function tt(){return ce||(ce=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var le=new WeakMap,j=new WeakMap,ue=new WeakMap,M=new WeakMap,K=new WeakMap;function at(e){let t=new Promise((a,s)=&gt;{let r=()=&gt;{e.removeEventListener("success",n),e.removeEventListener("error",i)},n=()=&gt;{a(y(e.result)),r()},i=()=&gt;{s(e.error),r()};e.addEventListener("success",n),e.addEventListener("error",i)});return t.then(a=&gt;{a instanceof IDBCursor&amp;&amp;le.set(a,e)}).catch(()=&gt;{}),K.set(t,e),t}function st(e){if(j.has(e))return;let t=new Promise((a,s)=&gt;{let r=()=&gt;{e.removeEventListener("complete",n),e.removeEventListener("error",i),e.removeEventListener("abort",i)},n=()=&gt;{a(),r()},i=()=&gt;{s(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",n),e.addEventListener("error",i),e.addEventListener("abort",i)});j.set(e,t)}var B={get(e,t,a){if(e instanceof IDBTransaction){if(t==="done")return j.get(e);if(t==="objectStoreNames")return e.objectStoreNames||ue.get(e);if(t==="store")return a.objectStoreNames[1]?void 0:a.objectStore(a.objectStoreNames[0])}return y(e[t])},set(e,t,a){return e[t]=a,!0},has(e,t){return e instanceof IDBTransaction&amp;&amp;(t==="done"||t==="store")?!0:t in e}};function rt(e){B=e(B)}function nt(e){return e===IDBDatabase.prototype.transaction&amp;&amp;!("objectStoreNames"in IDBTransaction.prototype)?function(t,...a){let s=e.call(F(this),t,...a);return ue.set(s,t.sort?t.sort():[t]),y(s)}:tt().includes(e)?function(...t){return e.apply(F(this),t),y(le.get(this))}:function(...t){return y(e.apply(F(this),t))}}function it(e){return typeof e=="function"?nt(e):(e instanceof IDBTransaction&amp;&amp;st(e),Ze(e,et())?new Proxy(e,B):e)}function y(e){if(e instanceof IDBRequest)return at(e);if(M.has(e))return M.get(e);let t=it(e);return t!==e&amp;&amp;(M.set(e,t),K.set(t,e)),t}var F=e=&gt;K.get(e);function he(e,t,{blocked:a,upgrade:s,blocking:r,terminated:n}={}){let i=indexedDB.open(e,t),o=y(i);return s&amp;&amp;i.addEventListener("upgradeneeded",c=&gt;{s(y(i.result),c.oldVersion,c.newVersion,y(i.transaction),c)}),a&amp;&amp;i.addEventListener("blocked",c=&gt;a(c.oldVersion,c.newVersion,c)),o.then(c=&gt;{n&amp;&amp;c.addEventListener("close",()=&gt;n()),r&amp;&amp;c.addEventListener("versionchange",l=&gt;r(l.oldVersion,l.newVersion,l))}).catch(()=&gt;{}),o}function ot(e,{blocked:t}={}){let a=indexedDB.deleteDatabase(e);return t&amp;&amp;a.addEventListener("blocked",s=&gt;t(s.oldVersion,s)),y(a).then(()=&gt;{})}var ct=["get","getKey","getAll","getAllKeys","count"],lt=["put","add","delete","clear"],W=new Map;function de(e,t){if(!(e instanceof IDBDatabase&amp;&amp;!(t in e)&amp;&amp;typeof t=="string"))return;if(W.get(t))return W.get(t);let a=t.replace(/FromIndex$/,""),s=t!==a,r=lt.includes(a);if(!(a in(s?IDBIndex:IDBObjectStore).prototype)||!(r||ct.includes(a)))return;let n=async function(i,...o){let c=this.transaction(i,r?"readwrite":"readonly"),l=c.store;return s&amp;&amp;(l=l.index(o.shift())),(await Promise.all([l[a](...o),r&amp;&amp;c.done]))[0]};return W.set(t,n),n}rt(e=&gt;({...e,get:(t,a,s)=&gt;de(t,a)||e.get(t,a,s),has:(t,a)=&gt;!!de(t,a)||e.has(t,a)}));try{self["workbox:expiration:7.0.0"]&amp;&amp;_()}catch{}var ut="workbox-expiration",D="cache-entries",fe=e=&gt;{let t=new URL(e,location.href);return t.hash="",t.href},ht=class{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){let t=e.createObjectStore(D,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&amp;&amp;ot(this._cacheName)}async setTimestamp(e,t){e=fe(e);let a={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},s=(await this.getDb()).transaction(D,"readwrite",{durability:"relaxed"});await s.store.put(a),await s.done}async getTimestamp(e){return(await(await this.getDb()).get(D,this._getId(e)))?.timestamp}async expireEntries(e,t){let a=await this.getDb(),s=await a.transaction(D).store.index("timestamp").openCursor(null,"prev"),r=[],n=0;for(;s;){let o=s.value;o.cacheName===this._cacheName&amp;&amp;(e&amp;&amp;o.timestamp&lt;e||t&amp;&amp;n&gt;=t?r.push(s.value):n++),s=await s.continue()}let i=[];for(let o of r)await a.delete(D,o.id),i.push(o.url);return i}_getId(e){return this._cacheName+"|"+fe(e)}async getDb(){return this._db||(this._db=await he(ut,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}},dt=class{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 ht(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;let e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),a=await self.caches.open(this._cacheName);for(let s of t)await a.delete(s,this._matchOptions);this._isRunning=!1,this._rerunRequested&amp;&amp;(this._rerunRequested=!1,re(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){let t=await this._timestampModel.getTimestamp(e),a=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t&lt;a:!0}else return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}},pe=class{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:a,cacheName:s,cachedResponse:r})=&gt;{if(!r)return null;let n=this._isResponseDateFresh(r),i=this._getCacheExpiration(s);re(i.expireEntries());let o=i.updateTimestamp(a.url);if(t)try{t.waitUntil(o)}catch{}return n?r:null},this.cacheDidUpdate=async({cacheName:t,request:a})=&gt;{let s=this._getCacheExpiration(t);await s.updateTimestamp(a.url),await s.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&amp;&amp;He(()=&gt;this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===f.getRuntimeName())throw new d("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new dt(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;let t=this._getDateHeaderTimestamp(e);if(t===null)return!0;let a=Date.now();return t&gt;=a-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;let t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(let[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}};try{self["workbox:background-sync:7.0.0"]&amp;&amp;_()}catch{}var me=3,ft="workbox-background-sync",w="requests",k="queueName",pt=class{constructor(){this._db=null}async addEntry(e){let t=(await this.getDb()).transaction(w,"readwrite",{durability:"relaxed"});await t.store.add(e),await t.done}async getFirstEntryId(){return(await(await this.getDb()).transaction(w).store.openCursor())?.value.id}async getAllEntriesByQueueName(e){return await(await this.getDb()).getAllFromIndex(w,k,IDBKeyRange.only(e))||new Array}async getEntryCountByQueueName(e){return(await this.getDb()).countFromIndex(w,k,IDBKeyRange.only(e))}async deleteEntry(e){await(await this.getDb()).delete(w,e)}async getFirstEntryByQueueName(e){return await this.getEndEntryFromIndex(IDBKeyRange.only(e),"next")}async getLastEntryByQueueName(e){return await this.getEndEntryFromIndex(IDBKeyRange.only(e),"prev")}async getEndEntryFromIndex(e,t){return(await(await this.getDb()).transaction(w).store.index(k).openCursor(e,t))?.value}async getDb(){return this._db||(this._db=await he(ft,me,{upgrade:this._upgradeDb})),this._db}_upgradeDb(e,t){t&gt;0&amp;&amp;t&lt;me&amp;&amp;e.objectStoreNames.contains(w)&amp;&amp;e.deleteObjectStore(w),e.createObjectStore(w,{autoIncrement:!0,keyPath:"id"}).createIndex(k,k,{unique:!1})}},mt=class{constructor(e){this._queueName=e,this._queueDb=new pt}async pushEntry(e){delete e.id,e.queueName=this._queueName,await this._queueDb.addEntry(e)}async unshiftEntry(e){let t=await this._queueDb.getFirstEntryId();t?e.id=t-1:delete e.id,e.queueName=this._queueName,await this._queueDb.addEntry(e)}async popEntry(){return this._removeEntry(await this._queueDb.getLastEntryByQueueName(this._queueName))}async shiftEntry(){return this._removeEntry(await this._queueDb.getFirstEntryByQueueName(this._queueName))}async getAll(){return await this._queueDb.getAllEntriesByQueueName(this._queueName)}async size(){return await this._queueDb.getEntryCountByQueueName(this._queueName)}async deleteEntry(e){await this._queueDb.deleteEntry(e)}async _removeEntry(e){return e&amp;&amp;await this.deleteEntry(e.id),e}},yt=["method","referrer","referrerPolicy","mode","credentials","cache","redirect","integrity","keepalive"],U=class{static async fromRequest(e){let t={url:e.url,headers:{}};e.method!=="GET"&amp;&amp;(t.body=await e.clone().arrayBuffer());for(let[a,s]of e.headers.entries())t.headers[a]=s;for(let a of yt)e[a]!==void 0&amp;&amp;(t[a]=e[a]);return new U(t)}constructor(e){e.mode==="navigate"&amp;&amp;(e.mode="same-origin"),this._requestData=e}toObject(){let e=Object.assign({},this._requestData);return e.headers=Object.assign({},this._requestData.headers),e.body&amp;&amp;(e.body=e.body.slice(0)),e}toRequest(){return new Request(this._requestData.url,this._requestData)}clone(){return new U(this.toObject())}},ye="workbox-background-sync",wt=60*24*7,$=new Set,we=e=&gt;{let t={request:new U(e.requestData).toRequest(),timestamp:e.timestamp};return e.metadata&amp;&amp;(t.metadata=e.metadata),t},gt=class{constructor(e,{forceSyncFallback:t,onSync:a,maxRetentionTime:s}={}){if(this._syncInProgress=!1,this._requestsAddedDuringSync=!1,$.has(e))throw new d("duplicate-queue-name",{name:e});$.add(e),this._name=e,this._onSync=a||this.replayRequests,this._maxRetentionTime=s||wt,this._forceSyncFallback=!!t,this._queueStore=new mt(this._name),this._addSyncListener()}get name(){return this._name}async pushRequest(e){await this._addRequest(e,"push")}async unshiftRequest(e){await this._addRequest(e,"unshift")}async popRequest(){return this._removeRequest("pop")}async shiftRequest(){return this._removeRequest("shift")}async getAll(){let e=await this._queueStore.getAll(),t=Date.now(),a=[];for(let s of e){let r=this._maxRetentionTime*60*1e3;t-s.timestamp&gt;r?await this._queueStore.deleteEntry(s.id):a.push(we(s))}return a}async size(){return await this._queueStore.size()}async _addRequest({request:e,metadata:t,timestamp:a=Date.now()},s){let r={requestData:(await U.fromRequest(e.clone())).toObject(),timestamp:a};switch(t&amp;&amp;(r.metadata=t),s){case"push":await this._queueStore.pushEntry(r);break;case"unshift":await this._queueStore.unshiftEntry(r);break}this._syncInProgress?this._requestsAddedDuringSync=!0:await this.registerSync()}async _removeRequest(e){let t=Date.now(),a;switch(e){case"pop":a=await this._queueStore.popEntry();break;case"shift":a=await this._queueStore.shiftEntry();break}if(a){let s=this._maxRetentionTime*60*1e3;return t-a.timestamp&gt;s?this._removeRequest(e):we(a)}else return}async replayRequests(){let e;for(;e=await this.shiftRequest();)try{await fetch(e.request.clone())}catch{throw await this.unshiftRequest(e),new d("queue-replay-failed",{name:this._name})}}async registerSync(){if("sync"in self.registration&amp;&amp;!this._forceSyncFallback)try{await self.registration.sync.register(`${ye}:${this._name}`)}catch{}}_addSyncListener(){"sync"in self.registration&amp;&amp;!this._forceSyncFallback?self.addEventListener("sync",e=&gt;{if(e.tag===`${ye}:${this._name}`){let t=async()=&gt;{this._syncInProgress=!0;let a;try{await this._onSync({queue:this})}catch(s){if(s instanceof Error)throw a=s,a}finally{this._requestsAddedDuringSync&amp;&amp;!(a&amp;&amp;!e.lastChance)&amp;&amp;await this.registerSync(),this._syncInProgress=!1,this._requestsAddedDuringSync=!1}};e.waitUntil(t())}}):this._onSync({queue:this})}static get _queueNames(){return $}},_t=class{constructor(e,t){this.fetchDidFail=async({request:a})=&gt;{await this._queue.pushRequest({request:a})},this._queue=new gt(e,t)}};try{self["workbox:routing:7.0.0"]&amp;&amp;_()}catch{}var ge="GET",P=e=&gt;e&amp;&amp;typeof e=="object"?e:{handle:e},p=class{constructor(e,t,a=ge){this.handler=P(t),this.match=e,this.method=a}setCatchHandler(e){this.catchHandler=P(e)}},_e=class{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=&gt;{let{request:t}=e,a=this.handleRequest({request:t,event:e});a&amp;&amp;e.respondWith(a)})}addCacheListener(){self.addEventListener("message",e=&gt;{if(e.data&amp;&amp;e.data.type==="CACHE_URLS"){let{payload:t}=e.data,a=Promise.all(t.urlsToCache.map(s=&gt;{typeof s=="string"&amp;&amp;(s=[s]);let r=new Request(...s);return this.handleRequest({request:r,event:e})}));e.waitUntil(a),e.ports&amp;&amp;e.ports[0]&amp;&amp;a.then(()=&gt;e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){let a=new URL(e.url,location.href);if(!a.protocol.startsWith("http"))return;let s=a.origin===location.origin,{params:r,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:s,url:a}),i=n&amp;&amp;n.handler,o=[],c=e.method;if(!i&amp;&amp;this._defaultHandlerMap.has(c)&amp;&amp;(i=this._defaultHandlerMap.get(c)),!i)return;let l;try{l=i.handle({url:a,request:e,event:t,params:r})}catch(u){l=Promise.reject(u)}let h=n&amp;&amp;n.catchHandler;return l instanceof Promise&amp;&amp;(this._catchHandler||h)&amp;&amp;(l=l.catch(async u=&gt;{if(h)try{return await h.handle({url:a,request:e,event:t,params:r})}catch(q){q instanceof Error&amp;&amp;(u=q)}if(this._catchHandler)return this._catchHandler.handle({url:a,request:e,event:t});throw u})),l}findMatchingRoute({url:e,sameOrigin:t,request:a,event:s}){let r=this._routes.get(a.method)||[];for(let n of r){let i,o=n.match({url:e,sameOrigin:t,request:a,event:s});if(o)return i=o,(Array.isArray(i)&amp;&amp;i.length===0||o.constructor===Object&amp;&amp;Object.keys(o).length===0||typeof o=="boolean")&amp;&amp;(i=void 0),{route:n,params:i}}return{}}setDefaultHandler(e,t=ge){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 d("unregister-route-but-not-found-with-method",{method:e.method});let t=this._routes.get(e.method).indexOf(e);if(t&gt;-1)this._routes.get(e.method).splice(t,1);else throw new d("unregister-route-route-not-registered")}};try{self["workbox:strategies:7.0.0"]&amp;&amp;_()}catch{}var ve={cacheWillUpdate:async({response:e})=&gt;e.status===200||e.status===0?e:null};function I(e){return typeof e=="string"?new Request(e):e}var vt=class{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new ze,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(let a of this._plugins)this._pluginStateMap.set(a,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){let{event:t}=this,a=I(e);if(a.mode==="navigate"&amp;&amp;t instanceof FetchEvent&amp;&amp;t.preloadResponse){let n=await t.preloadResponse;if(n)return n}let s=this.hasCallback("fetchDidFail")?a.clone():null;try{for(let n of this.iterateCallbacks("requestWillFetch"))a=await n({request:a.clone(),event:t})}catch(n){if(n instanceof Error)throw new d("plugin-error-request-will-fetch",{thrownErrorMessage:n.message})}let r=a.clone();try{let n;n=await fetch(a,a.mode==="navigate"?void 0:this._strategy.fetchOptions);for(let i of this.iterateCallbacks("fetchDidSucceed"))n=await i({event:t,request:r,response:n});return n}catch(n){throw s&amp;&amp;await this.runCallbacks("fetchDidFail",{error:n,event:t,originalRequest:s.clone(),request:r.clone()}),n}}async fetchAndCachePut(e){let t=await this.fetch(e),a=t.clone();return this.waitUntil(this.cachePut(e,a)),t}async cacheMatch(e){let t=I(e),a,{cacheName:s,matchOptions:r}=this._strategy,n=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},r),{cacheName:s});a=await caches.match(n,i);for(let o of this.iterateCallbacks("cachedResponseWillBeUsed"))a=await o({cacheName:s,matchOptions:r,cachedResponse:a,request:n,event:this.event})||void 0;return a}async cachePut(e,t){let a=I(e);await ne(0);let s=await this.getCacheKey(a,"write");if(!t)throw new d("cache-put-with-no-response",{url:We(s.url)});let r=await this._ensureResponseSafeToCache(t);if(!r)return!1;let{cacheName:n,matchOptions:i}=this._strategy,o=await self.caches.open(n),c=this.hasCallback("cacheDidUpdate"),l=c?await Ve(o,s.clone(),["__WB_REVISION__"],i):null;try{await o.put(s,c?r.clone():r)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&amp;&amp;await Je(),h}for(let h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:n,oldResponse:l,newResponse:r.clone(),request:s,event:this.event});return!0}async getCacheKey(e,t){let a=`${e.url} | ${t}`;if(!this._cacheKeys[a]){let s=e;for(let r of this.iterateCallbacks("cacheKeyWillBeUsed"))s=I(await r({mode:t,request:s,event:this.event,params:this.params}));this._cacheKeys[a]=s}return this._cacheKeys[a]}hasCallback(e){for(let t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(let a of this.iterateCallbacks(e))await a(t)}*iterateCallbacks(e){for(let t of this._strategy.plugins)if(typeof t[e]=="function"){let a=this._pluginStateMap.get(t);yield s=&gt;{let r=Object.assign(Object.assign({},s),{state:a});return t[e](r)}}}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,a=!1;for(let s of this.iterateCallbacks("cacheWillUpdate"))if(t=await s({request:this.request,response:t,event:this.event})||void 0,a=!0,!t)break;return a||t&amp;&amp;t.status!==200&amp;&amp;(t=void 0),t}},C=class{constructor(e={}){this.cacheName=f.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){let[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&amp;&amp;(e={event:e,request:e.request});let t=e.event,a=typeof e.request=="string"?new Request(e.request):e.request,s="params"in e?e.params:void 0,r=new vt(this,{event:t,request:a,params:s}),n=this._getResponse(r,a,t),i=this._awaitComplete(n,r,a,t);return[n,i]}async _getResponse(e,t,a){await e.runCallbacks("handlerWillStart",{event:a,request:t});let s;try{if(s=await this._handle(t,e),!s||s.type==="error")throw new d("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(let n of e.iterateCallbacks("handlerDidError"))if(s=await n({error:r,event:a,request:t}),s)break}if(!s)throw r}for(let r of e.iterateCallbacks("handlerWillRespond"))s=await r({event:a,request:t,response:s});return s}async _awaitComplete(e,t,a,s){let r,n;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:s,request:a,response:r}),await t.doneWaiting()}catch(i){i instanceof Error&amp;&amp;(n=i)}if(await t.runCallbacks("handlerDidComplete",{event:s,request:a,response:r,error:n}),t.destroy(),n)throw n}},O=class extends C{constructor(e={}){super(e),this.plugins.some(t=&gt;"cacheWillUpdate"in t)||this.plugins.unshift(ve),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let a=[],s=[],r;if(this._networkTimeoutSeconds){let{id:o,promise:c}=this._getTimeoutPromise({request:e,logs:a,handler:t});r=o,s.push(c)}let n=this._getNetworkPromise({timeoutId:r,request:e,logs:a,handler:t});s.push(n);let i=await t.waitUntil((async()=&gt;await t.waitUntil(Promise.race(s))||await n)());if(!i)throw new d("no-response",{url:e.url});return i}_getTimeoutPromise({request:e,logs:t,handler:a}){let s;return{promise:new Promise(r=&gt;{s=setTimeout(async()=&gt;{r(await a.cacheMatch(e))},this._networkTimeoutSeconds*1e3)}),id:s}}async _getNetworkPromise({timeoutId:e,request:t,logs:a,handler:s}){let r,n;try{n=await s.fetchAndCachePut(t)}catch(i){i instanceof Error&amp;&amp;(r=i)}return e&amp;&amp;clearTimeout(e),(r||!n)&amp;&amp;(n=await s.cacheMatch(t)),n}},be=class extends C{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let a,s;try{let r=[t.fetch(e)];if(this._networkTimeoutSeconds){let n=ne(this._networkTimeoutSeconds*1e3);r.push(n)}if(s=await Promise.race(r),!s)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(r){r instanceof Error&amp;&amp;(a=r)}if(!s)throw new d("no-response",{url:e.url,error:a});return s}};try{self["workbox:google-analytics:7.0.0"]&amp;&amp;_()}catch{}var bt="workbox-google-analytics",Rt=60*48,Re="www.google-analytics.com",qe="www.googletagmanager.com",qt="/analytics.js",xt="/gtag/js",Et="/gtm.js",Dt=/^\/(\w+\/)?collect/,kt=e=&gt;async({queue:t})=&gt;{let a;for(;a=await t.shiftRequest();){let{request:s,timestamp:r}=a,n=new URL(s.url);try{let i=s.method==="POST"?new URLSearchParams(await s.clone().text()):n.searchParams,o=r-(Number(i.get("qt"))||0),c=Date.now()-o;if(i.set("qt",String(c)),e.parameterOverrides)for(let l of Object.keys(e.parameterOverrides)){let h=e.parameterOverrides[l];i.set(l,h)}typeof e.hitFilter=="function"&amp;&amp;e.hitFilter.call(null,i),await fetch(new Request(n.origin+n.pathname,{body:i.toString(),method:"POST",mode:"cors",credentials:"omit",headers:{"Content-Type":"text/plain"}}))}catch(i){throw await t.unshiftRequest(a),i}}},Ct=e=&gt;{let t=({url:s})=&gt;s.hostname===Re&amp;&amp;Dt.test(s.pathname),a=new be({plugins:[e]});return[new p(t,a,"GET"),new p(t,a,"POST")]},St=e=&gt;{let t=({url:s})=&gt;s.hostname===Re&amp;&amp;s.pathname===qt,a=new O({cacheName:e});return new p(t,a,"GET")},Nt=e=&gt;{let t=({url:s})=&gt;s.hostname===qe&amp;&amp;s.pathname===xt,a=new O({cacheName:e});return new p(t,a,"GET")},Lt=e=&gt;{let t=({url:s})=&gt;s.hostname===qe&amp;&amp;s.pathname===Et,a=new O({cacheName:e});return new p(t,a,"GET")},Tt=(e={})=&gt;{let t=f.getGoogleAnalyticsName(e.cacheName),a=new _t(bt,{maxRetentionTime:Rt,onSync:kt(e)}),s=[Lt(t),St(t),Nt(t),...Ct(a)],r=new _e;for(let n of s)r.registerRoute(n);r.addFetchListener()};try{self["workbox:precaching:7.0.0"]&amp;&amp;_()}catch{}var Ut="__WB_REVISION__";function Pt(e){if(!e)throw new d("add-to-cache-list-unexpected-type",{entry:e});if(typeof e=="string"){let n=new URL(e,location.href);return{cacheKey:n.href,url:n.href}}let{revision:t,url:a}=e;if(!a)throw new d("add-to-cache-list-unexpected-type",{entry:e});if(!t){let n=new URL(a,location.href);return{cacheKey:n.href,url:n.href}}let s=new URL(a,location.href),r=new URL(a,location.href);return s.searchParams.set(Ut,t),{cacheKey:s.href,url:r.href}}var It=class{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=&gt;{t&amp;&amp;(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:a})=&gt;{if(e.type==="install"&amp;&amp;t&amp;&amp;t.originalRequest&amp;&amp;t.originalRequest instanceof Request){let s=t.originalRequest.url;a?this.notUpdatedURLs.push(s):this.updatedURLs.push(s)}return a}}},Ot=class{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:a})=&gt;{let s=a?.cacheKey||this._precacheController.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this._precacheController=e}},v=class extends C{constructor(e={}){e.cacheName=f.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(v.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){return await t.cacheMatch(e)||(t.event&amp;&amp;t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let a,s=t.params||{};if(this._fallbackToNetwork){let r=s.integrity,n=e.integrity,i=!n||n===r;if(a=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?n||r:void 0})),r&amp;&amp;i&amp;&amp;e.mode!=="no-cors"){this._useDefaultCacheabilityPluginIfNeeded();let o=await t.cachePut(e,a.clone())}}else throw new d("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return a}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();let a=await t.fetch(e);if(!await t.cachePut(e,a.clone()))throw new d("bad-precaching-response",{url:e.url,status:a.status});return a}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(let[a,s]of this.plugins.entries())s!==v.copyRedirectedCacheableResponsesPlugin&amp;&amp;(s===v.defaultPrecacheCacheabilityPlugin&amp;&amp;(e=a),s.cacheWillUpdate&amp;&amp;t++);t===0?this.plugins.push(v.defaultPrecacheCacheabilityPlugin):t&gt;1&amp;&amp;e!==null&amp;&amp;this.plugins.splice(e,1)}};v.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:e}){return!e||e.status&gt;=400?null:e}},v.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:e}){return e.redirected?await Xe(e):e}};var At=class{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:a=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new v({cacheName:f.getPrecacheName(e),plugins:[...t,new Ot({precacheController:this})],fallbackToNetwork:a}),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){let t=[];for(let a of e){typeof a=="string"?t.push(a):a&amp;&amp;a.revision===void 0&amp;&amp;t.push(a.url);let{cacheKey:s,url:r}=Pt(a),n=typeof a!="string"&amp;&amp;a.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&amp;&amp;this._urlsToCacheKeys.get(r)!==s)throw new d("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:s});if(typeof a!="string"&amp;&amp;a.integrity){if(this._cacheKeysToIntegrities.has(s)&amp;&amp;this._cacheKeysToIntegrities.get(s)!==a.integrity)throw new d("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(s,a.integrity)}if(this._urlsToCacheKeys.set(r,s),this._urlsToCacheModes.set(r,n),t.length&gt;0){let i=`Workbox is precaching URLs without revision info: ${t.join(", ")}
This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(i)}}}install(e){return ie(e,async()=&gt;{let t=new It;this.strategy.plugins.push(t);for(let[r,n]of this._urlsToCacheKeys){let i=this._cacheKeysToIntegrities.get(n),o=this._urlsToCacheModes.get(r),c=new Request(r,{integrity:i,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:c,event:e}))}let{updatedURLs:a,notUpdatedURLs:s}=t;return{updatedURLs:a,notUpdatedURLs:s}})}activate(e){return ie(e,async()=&gt;{let t=await self.caches.open(this.strategy.cacheName),a=await t.keys(),s=new Set(this._urlsToCacheKeys.values()),r=[];for(let n of a)s.has(n.url)||(await t.delete(n),r.push(n.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){let t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){let t=e instanceof Request?e.url:e,a=this.getCacheKeyForURL(t);if(a)return(await self.caches.open(this.strategy.cacheName)).match(a)}createHandlerBoundToURL(e){let t=this.getCacheKeyForURL(e);if(!t)throw new d("non-precached-url",{url:e});return a=&gt;(a.request=new Request(e),a.params=Object.assign({cacheKey:t},a.params),this.strategy.handle(a))}},H,xe=()=&gt;(H||(H=new At),H),jt=class extends p{constructor(e,t,a){let s=({url:r})=&gt;{let n=e.exec(r.href);if(n&amp;&amp;!(r.origin!==location.origin&amp;&amp;n.index!==0))return n.slice(1)};super(s,t,a)}},S,Mt=()=&gt;(S||(S=new _e,S.addFetchListener(),S.addCacheListener()),S);function x(e,t,a){let s;if(typeof e=="string"){let r=new URL(e,location.href),n=({url:i})=&gt;i.href===r.href;s=new p(n,t,a)}else if(e instanceof RegExp)s=new jt(e,t,a);else if(typeof e=="function")s=new p(e,t,a);else if(e instanceof p)s=e;else throw new d("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return Mt().registerRoute(s),s}function Kt(e,t=[]){for(let a of[...e.searchParams.keys()])t.some(s=&gt;s.test(a))&amp;&amp;e.searchParams.delete(a);return e}function*Bt(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:a="index.html",cleanURLs:s=!0,urlManipulation:r}={}){let n=new URL(e,location.href);n.hash="",yield n.href;let i=Kt(n,t);if(yield i.href,a&amp;&amp;i.pathname.endsWith("/")){let o=new URL(i.href);o.pathname+=a,yield o.href}if(s){let o=new URL(i.href);o.pathname+=".html",yield o.href}if(r){let o=r({url:n});for(let c of o)yield c.href}}var Ft=class extends p{constructor(e,t){let a=({request:s})=&gt;{let r=e.getURLsToCacheKeys();for(let n of Bt(s.url,t)){let i=r.get(n);if(i){let o=e.getIntegrityForCacheKey(i);return{cacheKey:i,integrity:o}}}};super(a,e.strategy)}};function Wt(e){let t=xe(),a=new Ft(t,e);x(a)}function $t(e){xe().precache(e)}function Ht(e,t){$t(e),Wt(t)}var Qt=class extends C{async _handle(e,t){let a=[],s=await t.cacheMatch(e),r;if(!s)try{s=await t.fetchAndCachePut(e)}catch(n){n instanceof Error&amp;&amp;(r=n)}if(!s)throw new d("no-response",{url:e.url,error:r});return s}},Ee=class extends C{constructor(e={}){super(e),this.plugins.some(t=&gt;"cacheWillUpdate"in t)||this.plugins.unshift(ve)}async _handle(e,t){let a=[],s=t.fetchAndCachePut(e).catch(()=&gt;{});t.waitUntil(s);let r=await t.cacheMatch(e),n;if(!r)try{r=await s}catch(i){i instanceof Error&amp;&amp;(n=i)}if(!r)throw new d("no-response",{url:e.url,error:n});return r}},De=function e(t){function a(r,n,i){var o,c={};if(Array.isArray(r))return r.concat(n);for(o in r)c[i?o.toLowerCase():o]=r[o];for(o in n){var l=i?o.toLowerCase():o,h=n[o];c[l]=l in c&amp;&amp;typeof h=="object"?a(c[l],h,l=="headers"):h}return c}function s(r,n,i,o,c){var l=typeof r!="string"?(n=r).url:r,h={config:n},u=a(t,n),q={};o=o||u.data,(u.transformRequest||[]).map(function(g){o=g(o,u.headers)||o}),u.auth&amp;&amp;(q.authorization=u.auth),o&amp;&amp;typeof o=="object"&amp;&amp;typeof o.append!="function"&amp;&amp;typeof o.text!="function"&amp;&amp;(o=JSON.stringify(o),q["content-type"]="application/json");try{q[u.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+u.xsrfCookieName+"=([^;]*)"))[2])}catch{}return u.baseURL&amp;&amp;(l=l.replace(/^(?!.*\/\/)\/?/,u.baseURL+"/")),u.params&amp;&amp;(l+=(~l.indexOf("?")?"&amp;":"?")+(u.paramsSerializer?u.paramsSerializer(u.params):new URLSearchParams(u.params))),(u.fetch||fetch)(l,{method:(i||u.method||"get").toUpperCase(),body:o,headers:a(u.headers,q,!0),credentials:u.withCredentials?"include":c}).then(function(g){for(var Y in g)typeof g[Y]!="function"&amp;&amp;(h[Y]=g[Y]);return u.responseType=="stream"?(h.data=g.body,h):g[u.responseType||"text"]().then(function(Pe){h.data=Pe,h.data=JSON.parse(Pe)}).catch(Object).then(function(){return(u.validateStatus?u.validateStatus(g.status):g.ok)?h:Promise.reject(h)})})}return t=t||{},s.request=s,s.get=function(r,n){return s(r,n,"get")},s.delete=function(r,n){return s(r,n,"delete")},s.head=function(r,n){return s(r,n,"head")},s.options=function(r,n){return s(r,n,"options")},s.post=function(r,n,i){return s(r,i,"post",n)},s.put=function(r,n,i){return s(r,i,"put",n)},s.patch=function(r,n,i){return s(r,i,"patch",n)},s.all=Promise.all.bind(Promise),s.spread=function(r){return r.apply.bind(r,r)},s.CancelToken=typeof AbortController=="function"?AbortController:Object,s.defaults=t,s.create=e,s}(),Vt=e=&gt;{let t,a=e;return(...s)=&gt;(a&amp;&amp;(t=a(...s),a=void 0),t)};function ke(){if(typeof crypto&lt;"u"&amp;&amp;typeof crypto.randomUUID=="function")return crypto.randomUUID();let e="",t,a;for(t=0;t&lt;32;t+=1)a=Math.random()*16|0,(t===8||t===12||t===16||t===20)&amp;&amp;(e+="-"),e+=(t===12?4:t===16?a&amp;3|8:a).toString(16);return e}var b={};self.crashMonitorStore=b;var Gt=ke();async function zt(e,t){let a=ke(),{custom:s,reportParams:r}=t;if(!r)return;let n={type:"p_crash",uuid:a,ctwid:r.ctwid,appid:r.appid,time:`${Date.now()}`,page:r.page,payload:{sessionId:e,sessionDuration:Math.round(Date.now()/1e3-s.issuedAt)}};De.post("/reports",n)}async function Jt(e,t){console.info(`SW[${Gt}] checkCrash SendReport`,e,t),De.post("/api/crash",{sessionId:e,custom:t.custom}),t.reportParams&amp;&amp;zt(e,t)}function Xt(e,t,a){let s=b[e]||{};b[e]={lastSeen:Date.now(),custom:s.custom,reportParams:a||b[e].reportParams},t&amp;&amp;(b[e].custom=t)}function Ce(e){delete b[e]}function Yt(){let e=Object.entries(b),t=Date.now();for(let[a,s]of e)t-s.lastSeen&gt;2e3&amp;&amp;(Jt(a,s),Ce(a))}async function Se(){let e=await self.clients.matchAll(),t={type:"sw/heartbeat",kind:"ping"};for(let a of e)a.postMessage(t)}function Zt(e){return!!e&amp;&amp;e.type==="sw/heartbeat"}var ea=Vt(()=&gt;{self.addEventListener("message",e=&gt;{if(!(e!=null&amp;&amp;e.data)||!e.source||!Zt(e.data))return;let{data:t}=e;if(t.action.kind==="mount")Xt(t.action.sessionId,t.action.custom,t.action.reportParams);else if(t.action.kind==="unmount")Ce(t.action.sessionId);else throw new Error(`Unknown action.kind ${t.action}`)}),self.addEventListener("activate",()=&gt;{Se()})}),Q,V;function ta(){Q&amp;&amp;clearInterval(Q),Q=setInterval(Yt,3e3),V&amp;&amp;clearInterval(V),V=setInterval(Se,1e3),ea()}function G(e){return new Promise(function(t,a){e.oncomplete=e.onsuccess=function(){return t(e.result)},e.onabort=e.onerror=function(){return a(e.error)}})}function aa(e,t){var a=indexedDB.open(e);a.onupgradeneeded=function(){return a.result.createObjectStore(t)};var s=G(a);return function(r,n){return s.then(function(i){return n(i.transaction(t,r).objectStore(t))})}}var z;function Ne(){return z||(z=aa("keyval-store","keyval")),z}function sa(e){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:Ne();return t("readonly",function(a){return G(a.get(e))})}function ra(e,t){var a=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:Ne();return a("readwrite",function(s){return s.put(t,e),G(s.transaction)})}var Le=(e=21)=&gt;crypto.getRandomValues(new Uint8Array(e)).reduce((t,a)=&gt;(a&amp;=63,a&lt;36?t+=a.toString(36):a&lt;62?t+=(a-26).toString(36).toUpperCase():a&gt;62?t+="-":t+="_",t),""),R;async function Te(){console.log("[service-worker-sw] initsw");try{R=await sa("swid"),R||(R=`swid_${Le()}`,await ra("swid",R))}catch(e){R=Le(),console.error(`[service-worker-sw] initsw error: ${e}`)}return R}async function na(){return R||Te()}Ye({prefix:"g123",suffix:"v1",precache:"precache",runtime:"runtime",googleAnalytics:"google-analytics"});var Ue=e=&gt;[T.prefix,e,T.suffix].filter(t=&gt;t&amp;&amp;t.length&gt;0).join("-"),ia=Ue("page"),oa=Ue("thirdparty");async function ca(){let e=(await caches.keys()).filter(t=&gt;!t.startsWith(T.prefix)||!t.endsWith(T.suffix));await Promise.all(e.map(t=&gt;(console.info("[service-worker-sw] Remove cache",t),caches.delete(t))))}Tt(),Ht(precacheAssets||[],{ignoreURLParametersMatching:[/.*/]}),x(e=&gt;e.url.pathname===`/game/${appCode}`,new O({cacheName:ia,networkTimeoutSeconds:3,matchOptions:{ignoreSearch:!1},fetchOptions:{credentials:"include"},plugins:[new pe({maxEntries:100,purgeOnQuotaError:!0,matchOptions:{ignoreSearch:!1}}),new L({statuses:[0,200]})]}));var la={requestWillFetch:async({request:e})=&gt;{let t=await na(),a=new Headers;e.headers.forEach((i,o)=&gt;{a.append(o,i)}),a.append("x-request-swid",t);let s=e.clone(),{url:r}=s,n=Ke(s,["url"]);return new Request(r,Me(je({},n),{headers:a}))}};x(e=&gt;e.url.pathname==="/api/v1/session",new be({plugins:[la]})),x(/\/static\/.+$/,new Ee({plugins:[new L({statuses:[0,200]})]}));function J(e){return x(e,new Ee({plugins:[new L({statuses:[0,200]})]}))}J(/^https:\/\/cdn-new.*\.g123\.jp/),J(/^https:\/\/platform-sc.*\.g123\.jp/),J(/^https:\/\/platform-ik.*\.g123\.jp/);function X(e){return x(e,new Qt({cacheName:oa,plugins:[new pe({maxAgeSeconds:60*60*24*365,purgeOnQuotaError:!0}),new L({statuses:[0,200]})]}))}X(/^https:\/\/browser\.sentry-cdn\.com\/.*\/bundle.min.js$/),X(/^https:\/\/www\.gstatic\.com/),X(/^https:\/\/ajax\.googleapis\.com/),self.addEventListener("install",e=&gt;{console.info("[service-worker-sw] install event"),e.waitUntil(self.skipWaiting().then(()=&gt;Te()))}),self.addEventListener("activate",e=&gt;{console.info("[service-worker-sw] active event");let t=async()=&gt;{try{await ca()}catch(a){console.error(a)}await self.clients.claim(),ta()};e.waitUntil(t())})})();
</pre></body></html>