2024-03-13 20:16:29 +01:00
|
|
|
!function(){"use strict";var e={913:function(){try{self["workbox:core:6.5.4"]&&_()}catch(e){}},550:function(){try{self["workbox:expiration:6.5.4"]&&_()}catch(e){}},977:function(){try{self["workbox:precaching:6.5.4"]&&_()}catch(e){}},80:function(){try{self["workbox:routing:6.5.4"]&&_()}catch(e){}},873:function(){try{self["workbox:strategies:6.5.4"]&&_()}catch(e){}}},t={};function s(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}},n=!0;try{e[a](i,i.exports,s),n=!1}finally{n&&delete t[a]}return i.exports}!function(){var e;let t,a,r,i,n;s(913);let o=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};class c extends Error{constructor(e,t){let s=o(e,t);super(s),this.name=e,this.details=t}}let l=new Set,h={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},u=e=>[h.prefix,e,h.suffix].filter(e=>e&&e.length>0).join("-"),d=e=>{for(let t of Object.keys(h))e(t)},f={updateDetails:e=>{d(t=>{"string"==typeof e[t]&&(h[t]=e[t])})},getGoogleAnalyticsName:e=>e||u(h.googleAnalytics),getPrecacheName:e=>e||u(h.precache),getPrefix:()=>h.prefix,getRuntimeName:e=>e||u(h.runtime),getSuffix:()=>h.suffix};function p(e,t){let s=new URL(e);for(let e of t)s.searchParams.delete(e);return s.href}async function g(e,t,s,a){let r=p(t.url,s);if(t.url===r)return e.match(t,a);let i=Object.assign(Object.assign({},a),{ignoreSearch:!0}),n=await e.keys(t,i);for(let t of n){let i=p(t.url,s);if(r===i)return e.match(t,a)}}function w(e){e.then(()=>{})}class m{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}async function y(){for(let e of l)await e()}let x=e=>{let t=new URL(String(e),location.href);return t.href.replace(RegExp(`^${location.origin}`),"")};function b(e){return new Promise(t=>setTimeout(t,e))}function E(e,t){let s=t();return e.waitUntil(s),s}async function R(e,s){let a=null;if(e.url){let t=new URL(e.url);a=t.origin}if(a!==self.location.origin)throw new c("cross-origin-copy-response",{origin:a});let r=e.clone(),i={headers:new Headers(r.headers),status:r.status,statusText:r.statusText},n=s?s(i):i,o=!function(){if(void 0===t){let e=new Response("");if("body"in e)try{new Response(e.body),t=!0}catch(e){t=!1}t=!1}return t}()?await r.blob():r.body;return new Response(o,n)}let v=(e,t)=>t.some(t=>e instanceof t),C=new WeakMap,T=new WeakMap,k=new WeakMap,D=new WeakMap,L=new WeakMap,N={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return T.get(e);if("objectStoreNames"===t)return e.objectStoreNames||k.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return S(e[t])},set:(e,t,s)=>(e[t]=s,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function S(e){var t;if(e instanceof IDBRequest)return function(e){let t=new Promise((t,s)=>{let a=()=>{e.removeEventListener("success",r),e.removeEventListener("error",i)},r=()=>{t(S(e.result)),a()},i=()=>{s(e.error),a()};e.addEventListener("success",r),e.addEventListener("error",i)});return t.then(t=>{t instanceof IDBCursor&&C.set(t,e)}).catch(()=>{}),L.set(t,e),t}(e);if(D.has(e))return D.get(e);let s="function"==typeof(t=e)?t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(r||(r=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(U(this),e),S(C.get(this))}:function(...e){return S(t.apply(U(this),e))}:function(e,...s){let a=t.call(U(this),e,...s);return k.set(a,e.sort?e.sort():[e]),S(a)}:(t instanceof IDBTransaction&&function(e){if(T.has(e))return;let t=new Promise((t,s)=>{let a=()=>{e.removeEventListener("complete",r),e.removeEventListener("error",i),e.removeEventListener("abort",i)},r=()=>{t(),a()},i=()=>{s(e.error||new DOMException("AbortError","AbortError")),a()};e.addEventListener("complete",r),e.addEventListener("error",i),e.addEventListener("abort",i)});T.set(e,t)}(t),v(t,a||(a=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new
|
|
|
|
|
This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return E(e,async()=>{let t=new es;for(let[s,a]of(this.strategy.plugins.push(t),this._urlsToCacheKeys)){let t=this._cacheKeysToIntegrities.get(a),r=this._urlsToCacheModes.get(s),i=new Request(s,{integrity:t,cache:r,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:a},request:i,event:e}))}let{updatedURLs:s,notUpdatedURLs:a}=t;return{updatedURLs:s,notUpdatedURLs:a}})}activate(e){return E(e,async()=>{let e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),a=[];for(let r of t)s.has(r.url)||(await e.delete(r),a.push(r.url));return{deletedURLs:a}})}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,s=this.getCacheKeyForURL(t);if(s){let e=await self.caches.open(this.strategy.cacheName);return e.match(s)}}createHandlerBoundToURL(e){let t=this.getCacheKeyForURL(e);if(!t)throw new c("non-precached-url",{url:e});return s=>(s.request=new Request(e),s.params=Object.assign({cacheKey:t},s.params),this.strategy.handle(s))}}let en=()=>(n||(n=new ei),n);class eo extends X{constructor(e,t){super(({request:s})=>{let a=e.getURLsToCacheKeys();for(let r of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:a=!0,urlManipulation:r}={}){let i=new URL(e,location.href);i.hash="",yield i.href;let n=function(e,t=[]){for(let s of[...e.searchParams.keys()])t.some(e=>e.test(s))&&e.searchParams.delete(s);return e}(i,t);if(yield n.href,s&&n.pathname.endsWith("/")){let e=new URL(n.href);e.pathname+=s,yield e.href}if(a){let e=new URL(n.href);e.pathname+=".html",yield e.href}if(r){let e=r({url:i});for(let t of e)yield t.href}}(s.url,t)){let t=a.get(r);if(t){let s=e.getIntegrityForCacheKey(t);return{cacheKey:t,integrity:s}}}},e.strategy)}}let ec="-precache-",el=async(e,t=ec)=>{let s=await self.caches.keys(),a=s.filter(s=>s.includes(t)&&s.includes(self.registration.scope)&&s!==e);return await Promise.all(a.map(e=>self.caches.delete(e))),a};self.skipWaiting(),self.addEventListener("activate",()=>self.clients.claim());let eh=[{'revision':'967bbb9a96704c622f2a84dc4f378d32','url':'/SMOR-192.png'},{'revision':'8f400b22ba1e248648aa31404809f139','url':'/SMOR-256.png'},{'revision':'885b67c19e14202e3db3dc6cd7ec1904','url':'/SMOR-384.png'},{'revision':'72e10288e397bba4fc17871c253a49c8','url':'/SMOR-512.png'},{'revision':'c4a0666421c67903ecefab989be39be9','url':'/_next/static/UfeZUSqoHvjDSa_oQBkwi/_buildManifest.js'},{'revision':'b6652df95db52feb4daf4eca35380933','url':'/_next/static/UfeZUSqoHvjDSa_oQBkwi/_ssgManifest.js'},{'revision':'6e9181afbaec203e','url':'/_next/static/chunks/189-6e9181afbaec203e.js'},{'revision':'232cbe61266e8d95','url':'/_next/static/chunks/269-232cbe61266e8d95.js'},{'revision':'c2b8c91fa0e8a184','url':'/_next/static/chunks/746.c2b8c91fa0e8a184.js'},{'revision':'02eec8d48cd193d5','url':'/_next/static/chunks/841-02eec8d48cd193d5.js'},{'revision':'347b4fb2c1067f50','url':'/_next/static/chunks/92.347b4fb2c1067f50.js'},{'revision':'66d32731bdd20e83','url':'/_next/static/chunks/framework-66d32731bdd20e83.js'},{'revision':'de5fab2c168950a1','url':'/_next/static/chunks/main-de5fab2c168950a1.js'},{'revision':'314b65cb4b1d9946','url':'/_next/static/chunks/pages/_app-314b65cb4b1d9946.js'},{'revision':'ee5b5fb91d29d86f','url':'/_next/static/chunks/pages/_error-ee5b5fb91d29d86f.js'},{'revision':'69089c35182a69af','url':'/_next/static/chunks/pages/content-69089c35182a69af.js'},{'revision':'a0d74969397295b4','url':'/_next/static/chunks/pages/home-a0d74969397295b4.js'},{'revision':'80d900f395b87b27','url':'/_next/static/chunks/pages/index-80d900f395b87b27.js'},{'revision':'13673ddbf3ea83c6','url':'/_next/static/chunks/pages/learningpage/%5Bpage%5D-1
|