@genesislcap/foundation-shell 14.131.0 → 14.133.0
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/MODULE_FEDERATION.md +11 -0
- package/README.md +19 -31
- package/dist/{13.13.60f90061d33208d1354b.js → 13.13.cc8f282b2fd08bdaa429.js} +2 -2
- package/dist/{13.4d4d342ba791da63d597e22d6d61f90f.js.map → 13.18ce90986215931e094ef572bdb883d6.js.map} +1 -1
- package/dist/InjectManifest.e1f16063b12a45e391ae7b4f95241ab2.js.map +1 -0
- package/dist/dts/app/app.d.ts +159 -0
- package/dist/dts/app/app.d.ts.map +1 -0
- package/dist/dts/app/behaviors.d.ts +53 -0
- package/dist/dts/app/behaviors.d.ts.map +1 -0
- package/dist/dts/app/config.d.ts +25 -0
- package/dist/dts/app/config.d.ts.map +1 -0
- package/dist/dts/app/index.d.ts +5 -0
- package/dist/dts/app/index.d.ts.map +1 -0
- package/dist/dts/app/types.d.ts +700 -0
- package/dist/dts/app/types.d.ts.map +1 -0
- package/dist/dts/app/utils.d.ts +61 -0
- package/dist/dts/app/utils.d.ts.map +1 -0
- package/dist/dts/index.docs.d.ts +8 -0
- package/dist/dts/index.docs.d.ts.map +1 -0
- package/dist/dts/layouts/default/layout.d.ts.map +1 -1
- package/dist/dts/layouts/formatsExample/layout.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +3 -0
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/main/main.styles.d.ts +3 -0
- package/dist/dts/main/main.styles.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts +9 -0
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/dts/pbc/index.d.ts +2 -0
- package/dist/dts/pbc/index.d.ts.map +1 -0
- package/dist/dts/pbc/pbc.d.ts +68 -0
- package/dist/dts/pbc/pbc.d.ts.map +1 -0
- package/dist/dts/pbc/vite/exports.d.ts +26 -0
- package/dist/dts/pbc/vite/exports.d.ts.map +1 -0
- package/dist/dts/pbc/vite/index.d.ts +2 -0
- package/dist/dts/pbc/vite/index.d.ts.map +1 -0
- package/dist/dts/pbc/vite/utils.d.ts +8 -0
- package/dist/dts/pbc/vite/utils.d.ts.map +1 -0
- package/dist/dts/pbc/webpack/exports.d.ts +26 -0
- package/dist/dts/pbc/webpack/exports.d.ts.map +1 -0
- package/dist/dts/pbc/webpack/index.d.ts +2 -0
- package/dist/dts/pbc/webpack/index.d.ts.map +1 -0
- package/dist/dts/pbc/webpack/utils.d.ts +9 -0
- package/dist/dts/pbc/webpack/utils.d.ts.map +1 -0
- package/dist/dts/serviceWorker/serviceWorker.d.ts +5 -0
- package/dist/dts/serviceWorker/serviceWorker.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +11 -0
- package/dist/esm/app/app.js +190 -0
- package/dist/esm/app/behaviors.js +126 -0
- package/dist/esm/app/config.js +28 -0
- package/dist/esm/app/index.js +4 -0
- package/dist/esm/app/types.js +1 -0
- package/dist/esm/app/utils.js +102 -0
- package/dist/esm/index.docs.js +7 -0
- package/dist/esm/layouts/default/layout.js +3 -0
- package/dist/esm/layouts/formatsExample/layout.js +3 -0
- package/dist/esm/main/main.js +3 -0
- package/dist/esm/main/main.styles.js +3 -0
- package/dist/esm/main/main.template.js +9 -0
- package/dist/esm/pbc/index.js +1 -0
- package/dist/esm/pbc/pbc.js +82 -0
- package/dist/esm/pbc/vite/exports.js +38 -0
- package/dist/esm/pbc/vite/index.js +1 -0
- package/dist/esm/pbc/vite/utils.js +16 -0
- package/dist/esm/pbc/webpack/exports.js +26 -0
- package/dist/esm/pbc/webpack/index.js +1 -0
- package/dist/esm/pbc/webpack/utils.js +16 -0
- package/dist/esm/serviceWorker/serviceWorker.js +2 -0
- package/dist/foundation-shell.api.json +4415 -0
- package/dist/foundation-shell.d.ts +1098 -0
- package/dist/{foundationShell.36a3b143a4ba39b4f032455d8eb5e502.js.map → foundationShell.fadec38bfa479afb70fbd232cd79236c.js.map} +1 -1
- package/dist/index.html +2 -2
- package/dist/main.3083ee4d28f46e8a3506.js +2 -0
- package/dist/{main.6f018458fb996d9110cc5fd4557cc7b2.js.map → main.4eedb5ca7f0017cbc616ee79b8e61731.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/dist/sw.js +2 -2
- package/dist/{swRegistration.5825d13b9d973891da34.js → swRegistration.48635f3caa94cdf4bcb2.js} +2 -2
- package/dist/{swRegistration.de691080ebb6f93ca0a423137ad2c19a.js.map → swRegistration.a93f46a92fddad87f178ead7e088ee54.js.map} +1 -1
- package/docs/.gitattributes +2 -0
- package/docs/api/foundation-shell.app.config.md +13 -0
- package/docs/api/foundation-shell.app.deregisterassets.md +17 -0
- package/docs/api/foundation-shell.app.hasassets.md +17 -0
- package/docs/api/foundation-shell.app.md +49 -0
- package/docs/api/foundation-shell.app.registerassets.md +52 -0
- package/docs/api/foundation-shell.appassets.elements.md +13 -0
- package/docs/api/foundation-shell.appassets.md +25 -0
- package/docs/api/foundation-shell.appassets.metadata.md +13 -0
- package/docs/api/foundation-shell.appassets.registrations.md +13 -0
- package/docs/api/foundation-shell.appassets.routes.md +13 -0
- package/docs/api/foundation-shell.appassets.stores.md +13 -0
- package/docs/api/foundation-shell.appassets.styles.md +13 -0
- package/docs/api/foundation-shell.appconfig.context.md +11 -0
- package/docs/api/foundation-shell.appconfig.defaultelementrepeatoptions.md +11 -0
- package/docs/api/foundation-shell.appconfig.md +21 -0
- package/docs/api/foundation-shell.appcontext.md +19 -0
- package/docs/api/foundation-shell.appdependencies.md +15 -0
- package/docs/api/foundation-shell.appdependencyprerequisites.md +15 -0
- package/docs/api/foundation-shell.appelement.md +55 -0
- package/docs/api/foundation-shell.appelementpredicate.md +17 -0
- package/docs/api/foundation-shell.appmetadata.md +45 -0
- package/docs/api/foundation-shell.appregister.deregisterelement.md +31 -0
- package/docs/api/foundation-shell.appregister.deregisterroute.md +31 -0
- package/docs/api/foundation-shell.appregister.deregisterstore.md +31 -0
- package/docs/api/foundation-shell.appregister.deregisterstyle.md +31 -0
- package/docs/api/foundation-shell.appregister.md +37 -0
- package/docs/api/foundation-shell.appregister.registercomponents.md +13 -0
- package/docs/api/foundation-shell.appregister.registerelement.md +31 -0
- package/docs/api/foundation-shell.appregister.registerelementstarget.md +13 -0
- package/docs/api/foundation-shell.appregister.registerroute.md +31 -0
- package/docs/api/foundation-shell.appregister.registerroutecollection.md +13 -0
- package/docs/api/foundation-shell.appregister.registerstore.md +31 -0
- package/docs/api/foundation-shell.appregister.registerstoreroot.md +13 -0
- package/docs/api/foundation-shell.appregister.registerstyle.md +31 -0
- package/docs/api/foundation-shell.appregister.registerstylestarget.md +13 -0
- package/docs/api/foundation-shell.appregistration.md +57 -0
- package/docs/api/foundation-shell.appregistrationcontext.md +15 -0
- package/docs/api/foundation-shell.approute.md +49 -0
- package/docs/api/foundation-shell.approutepredicate.md +17 -0
- package/docs/api/foundation-shell.appstore.md +45 -0
- package/docs/api/foundation-shell.appstorepredicate.md +17 -0
- package/docs/api/foundation-shell.appstyle.md +48 -0
- package/docs/api/foundation-shell.appstylepredicate.md +17 -0
- package/docs/api/foundation-shell.apptargetid.md +43 -0
- package/docs/api/foundation-shell.apptokentypepredicate.md +13 -0
- package/docs/api/foundation-shell.appvalidity.isvalid.md +26 -0
- package/docs/api/foundation-shell.appvalidity.md +20 -0
- package/docs/api/foundation-shell.appvaliditycontext.md +18 -0
- package/docs/api/foundation-shell.assetpredicate.md +12 -0
- package/docs/api/foundation-shell.defaultapp.deregisterassets.md +17 -0
- package/docs/api/foundation-shell.defaultapp.deregisterelement.md +24 -0
- package/docs/api/foundation-shell.defaultapp.deregisterroute.md +24 -0
- package/docs/api/foundation-shell.defaultapp.deregisterstore.md +24 -0
- package/docs/api/foundation-shell.defaultapp.deregisterstyle.md +24 -0
- package/docs/api/foundation-shell.defaultapp.elements.md +13 -0
- package/docs/api/foundation-shell.defaultapp.hasassets.md +17 -0
- package/docs/api/foundation-shell.defaultapp.isvalid.md +26 -0
- package/docs/api/foundation-shell.defaultapp.md +48 -0
- package/docs/api/foundation-shell.defaultapp.metadata.md +13 -0
- package/docs/api/foundation-shell.defaultapp.registerassets.md +24 -0
- package/docs/api/foundation-shell.defaultapp.registercomponents.md +24 -0
- package/docs/api/foundation-shell.defaultapp.registerelement.md +24 -0
- package/docs/api/foundation-shell.defaultapp.registerelementstarget.md +28 -0
- package/docs/api/foundation-shell.defaultapp.registerroute.md +24 -0
- package/docs/api/foundation-shell.defaultapp.registerroutecollection.md +25 -0
- package/docs/api/foundation-shell.defaultapp.registerstore.md +24 -0
- package/docs/api/foundation-shell.defaultapp.registerstoreroot.md +25 -0
- package/docs/api/foundation-shell.defaultapp.registerstyle.md +24 -0
- package/docs/api/foundation-shell.defaultapp.registerstylestarget.md +27 -0
- package/docs/api/foundation-shell.defaultapp.registrations.md +13 -0
- package/docs/api/foundation-shell.defaultapp.routes.md +13 -0
- package/docs/api/foundation-shell.defaultapp.stores.md +13 -0
- package/docs/api/foundation-shell.defaultapp.styles.md +13 -0
- package/docs/api/foundation-shell.defaultappconfig.md +13 -0
- package/docs/api/foundation-shell.dynamictemplate.md +12 -0
- package/docs/api/foundation-shell.getapp.md +30 -0
- package/docs/api/foundation-shell.getqualifiedmoduletokens.md +11 -0
- package/docs/api/foundation-shell.haspredicate.md +17 -0
- package/docs/api/foundation-shell.hastarget.md +15 -0
- package/docs/api/foundation-shell.importpbcassets.md +75 -0
- package/docs/api/foundation-shell.isappelement.md +22 -0
- package/docs/api/foundation-shell.isappmetadata.md +22 -0
- package/docs/api/foundation-shell.isappregistration.md +22 -0
- package/docs/api/foundation-shell.isapproute.md +22 -0
- package/docs/api/foundation-shell.isappstore.md +22 -0
- package/docs/api/foundation-shell.isappstyle.md +22 -0
- package/docs/api/foundation-shell.iscomposablestyles.md +22 -0
- package/docs/api/foundation-shell.isviewtemplate.md +22 -0
- package/docs/api/foundation-shell.loadingtemplate.md +12 -0
- package/docs/api/foundation-shell.mainapplication.connectedcallback.md +15 -0
- package/docs/api/foundation-shell.mainapplication.md +27 -0
- package/docs/api/foundation-shell.mainapplication.ready.md +11 -0
- package/docs/api/foundation-shell.mainapplication.selecttemplate.md +15 -0
- package/docs/api/foundation-shell.maintemplate.md +12 -0
- package/docs/api/foundation-shell.md +81 -0
- package/docs/api/foundation-shell.registercomponents.md +34 -0
- package/docs/api/foundation-shell.registerelementstarget.md +39 -0
- package/docs/api/foundation-shell.registerroutecollection.md +24 -0
- package/docs/api/foundation-shell.registerstoreroot.md +33 -0
- package/docs/api/foundation-shell.registerstylestarget.md +27 -0
- package/docs/api/foundation-shell.registrationpredicate.md +12 -0
- package/docs/api/foundation-shell.targetidpredicate.md +12 -0
- package/docs/api/index.md +12 -0
- package/docs/api-report.md +293 -0
- package/package.json +50 -9
- package/dist/InjectManifest.44b41759e967dfc682a50ab3e02bfaba.js.map +0 -1
- package/dist/main.21fe80be0d6102e2dccf.js +0 -2
package/dist/sw.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{"use strict";var e={118:()=>{try{self["workbox:cacheable-response:6.5.3"]&&_()}catch(e){}},818:(e,t,n)=>{n.d(t,{B:()=>r});n(241);class r{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}},230:(e,t,n)=>{n.d(t,{V:()=>s});n(241);const r=(e,...t)=>{let n=e;return t.length>0&&(n+=` :: ${JSON.stringify(t)}`),n};class s extends Error{constructor(e,t){super(r(e,t)),this.name=e,this.details=t}}},120:(e,t,n)=>{n.d(t,{h:()=>r});n(230),n(241);const r=null},235:(e,t,n)=>{n.d(t,{F:()=>s});n(241);function r(e,t){const n=new URL(e);for(const e of t)n.searchParams.delete(e);return n.href}async function s(e,t,n,s){const a=r(t.url,n);if(t.url===a)return e.match(t,s);const i=Object.assign(Object.assign({},s),{ignoreSearch:!0}),o=await e.keys(t,i);for(const t of o){if(a===r(t.url,n))return e.match(t,s)}}},567:(e,t,n)=>{n.d(t,{x:()=>a});n(241);const r={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},s=e=>[r.prefix,e,r.suffix].filter((e=>e&&e.length>0)).join("-"),a={updateDetails:e=>{(e=>{for(const t of Object.keys(r))e(t)})((t=>{"string"==typeof e[t]&&(r[t]=e[t])}))},getGoogleAnalyticsName:e=>e||s(r.googleAnalytics),getPrecacheName:e=>e||s(r.precache),getPrefix:()=>r.prefix,getRuntimeName:e=>e||s(r.runtime),getSuffix:()=>r.suffix}},96:(e,t,n)=>{n.d(t,{x:()=>s});n(241);let r;function s(){if(void 0===r){const e=new Response("");if("body"in e)try{new Response(e.body),r=!0}catch(e){r=!1}r=!1}return r}},834:(e,t,n)=>{n.d(t,{f:()=>r});n(241);function r(e){e.then((()=>{}))}},553:(e,t,n)=>{n.d(t,{Y:()=>s});n(687);var r=n(544);n(241);async function s(){for(const e of r.f)await e()}},730:(e,t,n)=>{n.d(t,{C:()=>r});n(241);const r=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"")},687:(e,t,n)=>{n.d(t,{k:()=>r});n(241);const r=null},277:(e,t,n)=>{n.d(t,{V:()=>r});n(241);function r(e){return new Promise((t=>setTimeout(t,e)))}},767:(e,t,n)=>{n.d(t,{A:()=>r});n(241);function r(e,t){const n=t();return e.waitUntil(n),n}},241:()=>{try{self["workbox:core:6.5.3"]&&_()}catch(e){}},193:(e,t,n)=>{n.d(t,{S:()=>a});var r=n(96),s=n(230);n(241);async function a(e,t){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new s.V("cross-origin-copy-response",{origin:n});const a=e.clone(),i={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},o=t?t(i):i,c=(0,r.x)()?a.body:await a.blob();return new Response(c,o)}},544:(e,t,n)=>{n.d(t,{f:()=>r});n(241);const r=new Set},345:(e,t,n)=>{n.d(t,{t:()=>s});n(687),n(120);var r=n(544);n(241);function s(e){r.f.add(e)}},832:()=>{try{self["workbox:expiration:6.5.3"]&&_()}catch(e){}},384:()=>{try{self["workbox:precaching:6.5.3"]&&_()}catch(e){}},655:(e,t,n)=>{n.d(t,{t:()=>s});n(120),n(687);var r=n(820);n(179);class s extends r.A{constructor(e,t,n){super((({url:t})=>{const n=e.exec(t.href);if(n&&(t.origin===location.origin||0===n.index))return n.slice(1)}),t,n)}}},820:(e,t,n)=>{n.d(t,{A:()=>a});n(120);var r=n(497),s=n(199);n(179);class a{constructor(e,t,n=r.g){this.handler=(0,s.M)(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=(0,s.M)(e)}}},849:(e,t,n)=>{n.d(t,{F:()=>i});n(120),n(730);var r=n(497),s=(n(687),n(199)),a=n(230);n(179);class i{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const n=Promise.all(t.urlsToCache.map((t=>{"string"==typeof t&&(t=[t]);const n=new Request(...t);return this.handleRequest({request:n,event:e})})));e.waitUntil(n),e.ports&&e.ports[0]&&n.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return void 0;const r=n.origin===location.origin,{params:s,route:a}=this.findMatchingRoute({event:t,request:e,sameOrigin:r,url:n});let i=a&&a.handler;const o=e.method;if(!i&&this._defaultHandlerMap.has(o)&&(i=this._defaultHandlerMap.get(o)),!i)return void 0;let c;try{c=i.handle({url:n,request:e,event:t,params:s})}catch(e){c=Promise.reject(e)}const l=a&&a.catchHandler;return c instanceof Promise&&(this._catchHandler||l)&&(c=c.catch((async r=>{if(l){0;try{return await l.handle({url:n,request:e,event:t,params:s})}catch(e){e instanceof Error&&(r=e)}}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw r}))),c}findMatchingRoute({url:e,sameOrigin:t,request:n,event:r}){const s=this._routes.get(n.method)||[];for(const a of s){let s;const i=a.match({url:e,sameOrigin:t,request:n,event:r});if(i)return s=i,(Array.isArray(s)&&0===s.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"==typeof i)&&(s=void 0),{route:a,params:s}}return{}}setDefaultHandler(e,t=r.g){this._defaultHandlerMap.set(t,(0,s.M)(e))}setCatchHandler(e){this._catchHandler=(0,s.M)(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 a.V("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new a.V("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}},179:()=>{try{self["workbox:routing:6.5.3"]&&_()}catch(e){}},494:(e,t,n)=>{n.d(t,{X:()=>o});n(687);var r=n(230),s=n(820),a=n(655),i=n(469);n(179);function o(e,t,n){let o;if("string"==typeof e){const r=new URL(e,location.href);0;const a=({url:e})=>e.href===r.href;o=new s.A(a,t,n)}else if(e instanceof RegExp)o=new a.t(e,t,n);else if("function"==typeof e)o=new s.A(e,t,n);else{if(!(e instanceof s.A))throw new r.V("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=e}return(0,i.u)().registerRoute(o),o}},497:(e,t,n)=>{n.d(t,{g:()=>r});n(179);const r="GET"},469:(e,t,n)=>{n.d(t,{u:()=>a});var r=n(849);n(179);let s;const a=()=>(s||(s=new r.F,s.addFetchListener(),s.addCacheListener()),s)},199:(e,t,n)=>{n.d(t,{M:()=>r});n(120),n(179);const r=e=>e&&"object"==typeof e?e:{handle:e}},948:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(567),s=n(230),a=(n(687),n(730),n(200));n(614);class i{constructor(e={}){this.cacheName=r.x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n="string"==typeof e.request?new Request(e.request):e.request,r="params"in e?e.params:void 0,s=new a.G(this,{event:t,request:n,params:r}),i=this._getResponse(s,n,t);return[i,this._awaitComplete(i,s,n,t)]}async _getResponse(e,t,n){let r;await e.runCallbacks("handlerWillStart",{event:n,request:t});try{if(r=await this._handle(t,e),!r||"error"===r.type)throw new s.V("no-response",{url:t.url})}catch(s){if(s instanceof Error)for(const a of e.iterateCallbacks("handlerDidError"))if(r=await a({error:s,event:n,request:t}),r)break;if(!r)throw s}for(const s of e.iterateCallbacks("handlerWillRespond"))r=await s({event:n,request:t,response:r});return r}async _awaitComplete(e,t,n,r){let s,a;try{s=await e}catch(a){}try{await t.runCallbacks("handlerDidRespond",{event:r,request:n,response:s}),await t.doneWaiting()}catch(e){e instanceof Error&&(a=e)}if(await t.runCallbacks("handlerDidComplete",{event:r,request:n,response:s,error:a}),t.destroy(),a)throw a}}},200:(e,t,n)=>{n.d(t,{G:()=>u});n(120);var r=n(235),s=n(818),a=n(553),i=n(730),o=(n(687),n(277)),c=n(230);n(614);function l(e){return"string"==typeof e?new Request(e):e}class u{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new s.B,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const e of this._plugins)this._pluginStateMap.set(e,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=l(e);if("navigate"===n.mode&&t instanceof FetchEvent&&t.preloadResponse){const e=await t.preloadResponse;if(e)return e}const r=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:t})}catch(e){if(e instanceof Error)throw new c.V("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}const s=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const n of this.iterateCallbacks("fetchDidSucceed"))e=await n({event:t,request:s,response:e});return e}catch(e){throw r&&await this.runCallbacks("fetchDidFail",{error:e,event:t,originalRequest:r.clone(),request:s.clone()}),e}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=l(e);let n;const{cacheName:r,matchOptions:s}=this._strategy,a=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},s),{cacheName:r});n=await caches.match(a,i);for(const e of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await e({cacheName:r,matchOptions:s,cachedResponse:n,request:a,event:this.event})||void 0;return n}async cachePut(e,t){const n=l(e);await(0,o.V)(0);const s=await this.getCacheKey(n,"write");if(!t)throw new c.V("cache-put-with-no-response",{url:(0,i.C)(s.url)});const u=await this._ensureResponseSafeToCache(t);if(!u)return!1;const{cacheName:h,matchOptions:d}=this._strategy,f=await self.caches.open(h),p=this.hasCallback("cacheDidUpdate"),g=p?await(0,r.F)(f,s.clone(),["__WB_REVISION__"],d):null;try{await f.put(s,p?u.clone():u)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await(0,a.Y)(),e}for(const e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:h,oldResponse:g,newResponse:u.clone(),request:s,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let r=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))r=l(await e({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[n]=r}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"==typeof t[e]){const n=this._pluginStateMap.get(t),r=r=>{const s=Object.assign(Object.assign({},r),{state:n});return t[e](s)};yield 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,n=!1;for(const e of this.iterateCallbacks("cacheWillUpdate"))if(t=await e({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&200!==t.status&&(t=void 0),t}}},614:()=>{try{self["workbox:strategies:6.5.3"]&&_()}catch(e){}},512:(e,t,n)=>{n.r(t),n.d(t,{__assign:()=>a,__asyncDelegator:()=>P,__asyncGenerator:()=>C,__asyncValues:()=>k,__await:()=>R,__awaiter:()=>p,__classPrivateFieldGet:()=>L,__classPrivateFieldIn:()=>U,__classPrivateFieldSet:()=>N,__createBinding:()=>y,__decorate:()=>o,__esDecorate:()=>l,__exportStar:()=>w,__extends:()=>s,__generator:()=>g,__importDefault:()=>T,__importStar:()=>O,__makeTemplateObject:()=>E,__metadata:()=>f,__param:()=>c,__propKey:()=>h,__read:()=>_,__rest:()=>i,__runInitializers:()=>u,__setFunctionName:()=>d,__spread:()=>v,__spreadArray:()=>x,__spreadArrays:()=>b,__values:()=>m});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},a.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n}function o(e,t,n,r){var s,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,s,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var o,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),d=!1,f=n.length-1;f>=0;f--){var p={};for(var g in r)p[g]="access"===g?{}:r[g];for(var g in r.access)p.access[g]=r.access[g];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var y=(0,n[f])("accessor"===c?{get:h.get,set:h.set}:h[l],p);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(o=i(y.get))&&(h.get=o),(o=i(y.set))&&(h.set=o),(o=i(y.init))&&s.push(o)}else(o=i(y))&&("field"===c?s.push(o):h[l]=o)}u&&Object.defineProperty(u,r.name,h),d=!0}function u(e,t,n){for(var r=arguments.length>2,s=0;s<t.length;s++)n=r?t[s].call(e,n):t[s].call(e);return r?n:void 0}function h(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(s,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function o(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,o)}c((r=r.apply(e,t||[])).next())}))}function g(e,t){var n,r,s,a,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,o[0]&&(i=0)),i;)try{if(n=1,r&&(s=2&o[0]?r.return:o[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;switch(r=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(s=i.trys,(s=s.length>0&&s[s.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(6===o[0]&&i.label<s[1]){i.label=s[1],s=o;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(o);break}s[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}}var y=Object.create?function(e,t,n,r){void 0===r&&(r=n);var s=Object.getOwnPropertyDescriptor(t,n);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,s)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function w(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,s,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){s={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(s)throw s.error}}return i}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e}function b(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),s=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,o=a.length;i<o;i++,s++)r[s]=a[i];return r}function x(e,t,n){if(n||2===arguments.length)for(var r,s=0,a=t.length;s<a;s++)!r&&s in t||(r||(r=Array.prototype.slice.call(t,0,s)),r[s]=t[s]);return e.concat(r||Array.prototype.slice.call(t))}function R(e){return this instanceof R?(this.v=e,this):new R(e)}function C(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,s=n.apply(e,t||[]),a=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){s[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||o(e,t)}))})}function o(e,t){try{(n=s[e](t)).value instanceof R?Promise.resolve(n.value.v).then(c,l):u(a[0][2],n)}catch(e){u(a[0][3],e)}var n}function c(e){o("next",e)}function l(e){o("throw",e)}function u(e,t){e(t),a.shift(),a.length&&o(a[0][0],a[0][1])}}function P(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,s){t[r]=e[r]?function(t){return(n=!n)?{value:R(e[r](t)),done:!1}:s?s(t):t}:s}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=m(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,s){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,s,(t=e[n](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&y(t,e,n);return S(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function L(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function N(e,t,n,r,s){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?s.call(e,n):s?s.value=n:t.set(e,n),n}function U(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},468:(e,t,n)=>{n.r(t),n.d(t,{CacheableResponse:()=>r,CacheableResponsePlugin:()=>s});n(120),n(230),n(730),n(687),n(118);class r{constructor(e={}){this._statuses=e.statuses,this._headers=e.headers}isResponseCacheable(e){let t=!0;return this._statuses&&(t=this._statuses.includes(e.status)),this._headers&&t&&(t=Object.keys(this._headers).some((t=>e.headers.get(t)===this._headers[t]))),t}}class s{constructor(e){this.cacheWillUpdate=async({response:e})=>this._cacheableResponse.isResponseCacheable(e)?e:null,this._cacheableResponse=new r(e)}}},558:(e,t,n)=>{n.r(t),n.d(t,{_private:()=>r,cacheNames:()=>b,clientsClaim:()=>R,copyResponse:()=>x.S,registerQuotaErrorCallback:()=>s.t,setCacheNameDetails:()=>C,skipWaiting:()=>P});var r={};n.r(r),n.d(r,{Deferred:()=>d.B,WorkboxError:()=>v.V,assert:()=>a.h,cacheMatchIgnoreParams:()=>o.F,cacheNames:()=>i.x,canConstructReadableStream:()=>l,canConstructResponseFromBodyStream:()=>u.x,dontWaitFor:()=>h.f,executeQuotaErrorCallbacks:()=>f.Y,getFriendlyURL:()=>p.C,logger:()=>g.k,resultingClientExists:()=>m,timeout:()=>y.V,waitUntil:()=>_.A});var s=n(345),a=n(120),i=n(567),o=n(235);n(241);let c;function l(){if(void 0===c)try{new ReadableStream({start(){}}),c=!0}catch(e){c=!1}return c}var u=n(96),h=n(834),d=n(818),f=n(553),p=n(730),g=n(687),y=n(277);const w=2e3;async function m(e){if(!e)return;let t=await self.clients.matchAll({type:"window"});const n=new Set(t.map((e=>e.id)));let r;const s=performance.now();for(;performance.now()-s<w&&(t=await self.clients.matchAll({type:"window"}),r=t.find((t=>e?t.id===e:!n.has(t.id))),!r);)await(0,y.V)(100);return r}var _=n(767),v=n(230);const b={get googleAnalytics(){return i.x.getGoogleAnalyticsName()},get precache(){return i.x.getPrecacheName()},get prefix(){return i.x.getPrefix()},get runtime(){return i.x.getRuntimeName()},get suffix(){return i.x.getSuffix()}};var x=n(193);function R(){self.addEventListener("activate",(()=>self.clients.claim()))}function C(e){i.x.updateDetails(e)}function P(){self.skipWaiting()}},539:(e,t,n)=>{n.r(t),n.d(t,{CacheExpiration:()=>P,ExpirationPlugin:()=>S});n(120);var r=n(834),s=(n(687),n(230));const a=(e,t)=>t.some((t=>e instanceof t));let i,o;const c=new WeakMap,l=new WeakMap,u=new WeakMap,h=new WeakMap,d=new WeakMap;let f={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return l.get(e);if("objectStoreNames"===t)return e.objectStoreNames||u.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return y(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function p(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(o||(o=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(w(this),t),y(c.get(this))}:function(...t){return y(e.apply(w(this),t))}:function(t,...n){const r=e.call(w(this),t,...n);return u.set(r,t.sort?t.sort():[t]),y(r)}}function g(e){return"function"==typeof e?p(e):(e instanceof IDBTransaction&&function(e){if(l.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",a),e.removeEventListener("abort",a)},s=()=>{t(),r()},a=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",s),e.addEventListener("error",a),e.addEventListener("abort",a)}));l.set(e,t)}(e),a(e,i||(i=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,f):e)}function y(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",s),e.removeEventListener("error",a)},s=()=>{t(y(e.result)),r()},a=()=>{n(e.error),r()};e.addEventListener("success",s),e.addEventListener("error",a)}));return t.then((t=>{t instanceof IDBCursor&&c.set(t,e)})).catch((()=>{})),d.set(t,e),t}(e);if(h.has(e))return h.get(e);const t=g(e);return t!==e&&(h.set(e,t),d.set(t,e)),t}const w=e=>d.get(e);const m=["get","getKey","getAll","getAllKeys","count"],_=["put","add","delete","clear"],v=new Map;function b(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(v.get(t))return v.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,s=_.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!s&&!m.includes(n))return;const a=async function(e,...t){const a=this.transaction(e,s?"readwrite":"readonly");let i=a.store;return r&&(i=i.index(t.shift())),(await Promise.all([i[n](...t),s&&a.done]))[0]};return v.set(t,a),a}f=(e=>({...e,get:(t,n,r)=>b(t,n)||e.get(t,n,r),has:(t,n)=>!!b(t,n)||e.has(t,n)}))(f);n(832);const x="cache-entries",R=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class C{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&&function(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);t&&n.addEventListener("blocked",(e=>t(e.oldVersion,e))),y(n).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const n={url:e=R(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(x,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const t=await this.getDb(),n=await t.get(x,this._getId(e));return null==n?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let r=await n.transaction(x).store.index("timestamp").openCursor(null,"prev");const s=[];let a=0;for(;r;){const n=r.value;n.cacheName===this._cacheName&&(e&&n.timestamp<e||t&&a>=t?s.push(r.value):a++),r=await r.continue()}const i=[];for(const e of s)await n.delete(x,e.id),i.push(e.url);return i}_getId(e){return this._cacheName+"|"+R(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:n,upgrade:r,blocking:s,terminated:a}={}){const i=indexedDB.open(e,t),o=y(i);return r&&i.addEventListener("upgradeneeded",(e=>{r(y(i.result),e.oldVersion,e.newVersion,y(i.transaction),e)})),n&&i.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),o.then((e=>{a&&e.addEventListener("close",(()=>a())),s&&e.addEventListener("versionchange",(e=>s(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class P{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 C(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const e of t)await n.delete(e,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,(0,r.f)(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t<n}return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}var k=n(567),E=(n(730),n(345));class S{constructor(e={}){this.cachedResponseWillBeUsed=async({event:e,request:t,cacheName:n,cachedResponse:s})=>{if(!s)return null;const a=this._isResponseDateFresh(s),i=this._getCacheExpiration(n);(0,r.f)(i.expireEntries());const o=i.updateTimestamp(t.url);if(e)try{e.waitUntil(o)}catch(e){0}return a?s:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const n=this._getCacheExpiration(e);await n.updateTimestamp(t.url),await n.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&(0,E.t)((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===k.x.getRuntimeName())throw new s.V("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new P(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),n=new Date(t).getTime();return isNaN(n)?null:n}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}},793:(e,t,n)=>{n.r(t),n.d(t,{PrecacheController:()=>d,PrecacheFallbackPlugin:()=>E,PrecacheRoute:()=>m,PrecacheStrategy:()=>h,addPlugins:()=>g,addRoute:()=>_,cleanupOutdatedCaches:()=>b,createHandlerBoundToURL:()=>x,getCacheKeyForURL:()=>R,matchPrecache:()=>C,precache:()=>P,precacheAndRoute:()=>k});n(120);var r=n(567),s=(n(687),n(230)),a=n(767);n(384);function i(e){if(!e)throw new s.V("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:t,url:n}=e;if(!n)throw new s.V("add-to-cache-list-unexpected-type",{entry:e});if(!t){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const r=new URL(n,location.href),a=new URL(n,location.href);return r.searchParams.set("__WB_REVISION__",t),{cacheKey:r.href,url:a.href}}class o{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;n?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return n}}}class c{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const n=(null==t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return n?new Request(n,{headers:e.headers}):e},this._precacheController=e}}var l=n(193),u=(n(730),n(948));class h extends u._{constructor(e={}){e.cacheName=r.x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(h.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const r=t.params||{};if(!this._fallbackToNetwork)throw new s.V("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const s=r.integrity,a=e.integrity,i=!a||a===s;if(n=await t.fetch(new Request(e,{integrity:"no-cors"!==e.mode?a||s:void 0})),s&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await t.cachePut(e,n.clone());0}}return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new s.V("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,r]of this.plugins.entries())r!==h.copyRedirectedCacheableResponsesPlugin&&(r===h.defaultPrecacheCacheabilityPlugin&&(e=n),r.cacheWillUpdate&&t++);0===t?this.plugins.push(h.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}h.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},h.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await(0,l.S)(e):e};class d{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new h({cacheName:r.x.getPrecacheName(e),plugins:[...t,new c({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){"string"==typeof n?t.push(n):n&&void 0===n.revision&&t.push(n.url);const{cacheKey:e,url:r}=i(n),a="string"!=typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==e)throw new s.V("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:e});if("string"!=typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new s.V("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(r,e),this._urlsToCacheModes.set(r,a),t.length>0){const e=`Workbox is precaching URLs without revision info: ${t.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return(0,a.A)(e,(async()=>{const t=new o;this.strategy.plugins.push(t);for(const[t,n]of this._urlsToCacheKeys){const r=this._cacheKeysToIntegrities.get(n),s=this._urlsToCacheModes.get(t),a=new Request(t,{integrity:r,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:a,event:e}))}const{updatedURLs:n,notUpdatedURLs:r}=t;return{updatedURLs:n,notUpdatedURLs:r}}))}activate(e){return(0,a.A)(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),n=new Set(this._urlsToCacheKeys.values()),r=[];for(const s of t)n.has(s.url)||(await e.delete(s),r.push(s.url));return{deletedURLs:r}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n){return(await self.caches.open(this.strategy.cacheName)).match(n)}}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new s.V("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let f;const p=()=>(f||(f=new d),f);function g(e){p().strategy.plugins.push(...e)}var y=n(494),w=n(820);class m extends w.A{constructor(e,t){super((({request:n})=>{const r=e.getURLsToCacheKeys();for(const s of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:n="index.html",cleanURLs:r=!0,urlManipulation:s}={}){const a=new URL(e,location.href);a.hash="",yield a.href;const i=function(e,t=[]){for(const n of[...e.searchParams.keys()])t.some((e=>e.test(n)))&&e.searchParams.delete(n);return e}(a,t);if(yield i.href,n&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=n,yield e.href}if(r){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(s){const e=s({url:a});for(const t of e)yield t.href}}(n.url,t)){const t=r.get(s);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function _(e){const t=p(),n=new m(t,e);(0,y.X)(n)}const v=async(e,t="-precache-")=>{const n=(await self.caches.keys()).filter((n=>n.includes(t)&&n.includes(self.registration.scope)&&n!==e));return await Promise.all(n.map((e=>self.caches.delete(e)))),n};function b(){self.addEventListener("activate",(e=>{const t=r.x.getPrecacheName();e.waitUntil(v(t).then((e=>{0})))}))}function x(e){return p().createHandlerBoundToURL(e)}function R(e){return p().getCacheKeyForURL(e)}function C(e){return p().matchPrecache(e)}function P(e){p().precache(e)}function k(e,t){P(e),_(t)}class E{constructor({fallbackURL:e,precacheController:t}){this.handlerDidError=()=>this._precacheController.matchPrecache(this._fallbackURL),this._fallbackURL=e,this._precacheController=t||p()}}},729:(e,t,n)=>{n.r(t),n.d(t,{NavigationRoute:()=>s,RegExpRoute:()=>a.t,Route:()=>r.A,Router:()=>o.F,registerRoute:()=>i.X,setCatchHandler:()=>l,setDefaultHandler:()=>u});n(120),n(687);var r=n(820);n(179);class s extends r.A{constructor(e,{allowlist:t=[/./],denylist:n=[]}={}){super((e=>this._match(e)),e),this._allowlist=t,this._denylist=n}_match({url:e,request:t}){if(t&&"navigate"!==t.mode)return!1;const n=e.pathname+e.search;for(const e of this._denylist)if(e.test(n))return!1;return!!this._allowlist.some((e=>e.test(n)))}}var a=n(655),i=n(494),o=n(849),c=n(469);function l(e){(0,c.u)().setCatchHandler(e)}function u(e){(0,c.u)().setDefaultHandler(e)}},697:(e,t,n)=>{n.r(t),n.d(t,{CacheFirst:()=>a,CacheOnly:()=>i,NetworkFirst:()=>c,NetworkOnly:()=>u,StaleWhileRevalidate:()=>h,Strategy:()=>s._,StrategyHandler:()=>d.G});n(120),n(687);var r=n(230),s=n(948);n(730),n(614);class a extends s._{async _handle(e,t){let n,s=await t.cacheMatch(e);if(s)0;else{0;try{s=await t.fetchAndCachePut(e)}catch(e){e instanceof Error&&(n=e)}0}if(!s)throw new r.V("no-response",{url:e.url,error:n});return s}}class i extends s._{async _handle(e,t){const n=await t.cacheMatch(e);if(!n)throw new r.V("no-response",{url:e.url});return n}}const o={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class c extends s._{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(o),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){const n=[];const s=[];let a;if(this._networkTimeoutSeconds){const{id:r,promise:i}=this._getTimeoutPromise({request:e,logs:n,handler:t});a=r,s.push(i)}const i=this._getNetworkPromise({timeoutId:a,request:e,logs:n,handler:t});s.push(i);const o=await t.waitUntil((async()=>await t.waitUntil(Promise.race(s))||await i)());if(!o)throw new r.V("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:n}){let r;return{promise:new Promise((t=>{r=setTimeout((async()=>{t(await n.cacheMatch(e))}),1e3*this._networkTimeoutSeconds)})),id:r}}async _getNetworkPromise({timeoutId:e,request:t,logs:n,handler:r}){let s,a;try{a=await r.fetchAndCachePut(t)}catch(e){e instanceof Error&&(s=e)}return e&&clearTimeout(e),!s&&a||(a=await r.cacheMatch(t)),a}}var l=n(277);class u extends s._{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let n,s;try{const n=[t.fetch(e)];if(this._networkTimeoutSeconds){const e=(0,l.V)(1e3*this._networkTimeoutSeconds);n.push(e)}if(s=await Promise.race(n),!s)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(e){e instanceof Error&&(n=e)}if(!s)throw new r.V("no-response",{url:e.url,error:n});return s}}class h extends s._{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(o)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch((()=>{}));t.waitUntil(n);let s,a=await t.cacheMatch(e);if(a)0;else{0;try{a=await n}catch(e){e instanceof Error&&(s=e)}}if(!a)throw new r.V("no-response",{url:e.url,error:s});return a}}var d=n(200)}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var a=t[r]={exports:{}},i=!0;try{e[r](a,a.exports,n),i=!1}finally{i&&delete t[r]}return a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{n.S={};var e={},t={};n.I=(r,s)=>{s||(s=[]);var a=t[r];if(a||(a=t[r]={}),!(s.indexOf(a)>=0)){if(s.push(a),e[r])return e[r];n.o(n.S,r)||(n.S[r]={});var i=n.S[r],o="@genesislcap/foundation-shell",c=(e,t,n,r)=>{var s=i[e]=i[e]||{},a=s[t];(!a||!a.loaded&&(!r!=!a.eager?r:o>a.from))&&(s[t]={get:n,from:o,eager:!!r})},l=[];if("default"===r)c("tslib","2.5.0",(()=>()=>n(512))),c("workbox-cacheable-response","6.5.4",(()=>()=>n(468))),c("workbox-core","6.5.4",(()=>()=>n(558))),c("workbox-expiration","6.5.4",(()=>()=>n(539))),c("workbox-precaching","6.5.4",(()=>()=>n(793))),c("workbox-routing","6.5.4",(()=>()=>n(729))),c("workbox-strategies","6.5.4",(()=>()=>n(697)));return l.length?e[r]=Promise.all(l).then((()=>e[r]=1)):e[r]=1}}})(),(()=>{var e,t=n(512),r=n(468),s=n(558),a=n(539),i=n(793),o=n(729),c=n(697);console.log("Hello from sw.js v0.0.1"),(0,s.clientsClaim)(),(0,i.precacheAndRoute)([{'revision':null,'url':'/13.13.60f90061d33208d1354b.js'},{'revision':null,'url':'/642.642.445f96533bdd033b16be.js'},{'revision':null,'url':'/655.655.c48cfaeec79c9c11e33c.js'},{'revision':null,'url':'/755.755.86fa4cbd123916a850e8.js'},{'revision':'5c035540edea453294160c87b69d6efc','url':'/assets/icon.svg'},{'revision':'75134003affa891b1185503463953878','url':'/dts/index.d.ts'},{'revision':'56e747ccd78defe7c8311bbba58a721e','url':'/dts/index.federated.d.ts'},{'revision':'3cab1c594f8d03985b46eee98a63b2a2','url':'/dts/layouts/default/layout.d.ts'},{'revision':'3cab1c594f8d03985b46eee98a63b2a2','url':'/dts/layouts/formatsExample/layout.d.ts'},{'revision':'54e870658a9c834adbecb8ad1a34d148','url':'/dts/main/bootstrap.d.ts'},{'revision':'5d05b2cca398071e8b7bd80f8a37ff80','url':'/dts/main/index.d.ts'},{'revision':'c9f9afc928cf861986620a1f9d1078f6','url':'/dts/main/main.d.ts'},{'revision':'39a56258777b20ed727a328809662b41','url':'/dts/main/main.styles.d.ts'},{'revision':'7f0e56773b553285d20bf78e6e0af284','url':'/dts/main/main.template.d.ts'},{'revision':'1d6bffdf6619ff38e64181ac26bf4297','url':'/dts/serviceWorker/registration.d.ts'},{'revision':'92e44fd2cd18f9f2204510152245c4f0','url':'/dts/serviceWorker/serviceWorker.d.ts'},{'revision':'65230a59ca53b222394cb29719af898c','url':'/dts/utils/index.d.ts'},{'revision':'7b15823055ed997c73c5b7c06d6e91fa','url':'/dts/utils/logger.d.ts'},{'revision':'d4f850463f4df51860be6f46b599e7ce','url':'/favicon.ico'},{'revision':'3d4f10ed9fd04941ee8a9fe3a7fc93ad','url':'/index.html'},{'revision':'30cb28b85891d5fcd1083a2c39bb5611','url':'/info.html'},{'revision':null,'url':'/main.21fe80be0d6102e2dccf.js'},{'revision':null,'url':'/npm.microsoft.127.5a4c871efe9608e160a7.js'},{'revision':'e5b7ecf605442b770510ab456c8d7a1d','url':'/remoteEntry.js'},{'revision':null,'url':'/swRegistration.5825d13b9d973891da34.js'}]||[]),(0,o.registerRoute)((({request:e})=>"navigate"===e.mode),new c.NetworkFirst({cacheName:"pages",plugins:[new r.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"style"===e.destination||"script"===e.destination||"worker"===e.destination),new c.StaleWhileRevalidate({cacheName:"assets",plugins:[new r.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"image"===e.destination),new c.CacheFirst({cacheName:"images",plugins:[new r.CacheableResponsePlugin({statuses:[200]}),new a.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3})]})),function(e){e.skipWaiting="skipWaiting"}(e||(e={})),self.addEventListener("message",(t=>{if(t.data&&t.data.type===e.skipWaiting)self.skipWaiting()}));const l={applicationServerKey:(e=>{const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=self.atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e+=1)r[e]=n.charCodeAt(e);return r})("BHjc7KuOaU4j6MNOs_Mm90By-mPPUqn8Y94I0yv-aYP03ip2nfq8ti_n1mH01QxW9mWtjY8d2-VdcblQYl1Zq-M"),userVisibleOnly:!0};self.addEventListener("activate",(()=>(0,t.__awaiter)(void 0,void 0,void 0,(function*(){try{const e=yield self.registration.pushManager.subscribe(l),n=yield(e=>(0,t.__awaiter)(void 0,void 0,void 0,(function*(){return(yield fetch("http://localhost:6050/push/save",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()})))(e);console.log(n)}catch(e){console.error("SW activate error",e)}})))),self.addEventListener("push",(e=>{console.log("SW received a push message",e);const{data:t}=e;if(!t)return void console.error("no data in message");const n=t.text()||"Push Message Title";e.waitUntil(self.registration.showNotification(n,{tag:"genesis-global-notification-tag",renotify:!0,body:t.text(),vibrate:[500,100,500]}))})),self.addEventListener("notificationclose",(({notification:e})=>{const t=e.data;console.log("SW notification close",t)})),self.addEventListener("notificationclick",(({action:e,notification:t})=>{const n=t.data;console.log("SW notification click",n,e),"close"!==e||t.close()}))})()})();
|
|
2
|
-
//# sourceMappingURL=InjectManifest.
|
|
1
|
+
(()=>{"use strict";var e={118:()=>{try{self["workbox:cacheable-response:6.5.3"]&&_()}catch(e){}},818:(e,t,n)=>{n.d(t,{B:()=>r});n(241);class r{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}},230:(e,t,n)=>{n.d(t,{V:()=>s});n(241);const r=(e,...t)=>{let n=e;return t.length>0&&(n+=` :: ${JSON.stringify(t)}`),n};class s extends Error{constructor(e,t){super(r(e,t)),this.name=e,this.details=t}}},120:(e,t,n)=>{n.d(t,{h:()=>r});n(230),n(241);const r=null},235:(e,t,n)=>{n.d(t,{F:()=>s});n(241);function r(e,t){const n=new URL(e);for(const e of t)n.searchParams.delete(e);return n.href}async function s(e,t,n,s){const a=r(t.url,n);if(t.url===a)return e.match(t,s);const i=Object.assign(Object.assign({},s),{ignoreSearch:!0}),o=await e.keys(t,i);for(const t of o){if(a===r(t.url,n))return e.match(t,s)}}},567:(e,t,n)=>{n.d(t,{x:()=>a});n(241);const r={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},s=e=>[r.prefix,e,r.suffix].filter((e=>e&&e.length>0)).join("-"),a={updateDetails:e=>{(e=>{for(const t of Object.keys(r))e(t)})((t=>{"string"==typeof e[t]&&(r[t]=e[t])}))},getGoogleAnalyticsName:e=>e||s(r.googleAnalytics),getPrecacheName:e=>e||s(r.precache),getPrefix:()=>r.prefix,getRuntimeName:e=>e||s(r.runtime),getSuffix:()=>r.suffix}},96:(e,t,n)=>{n.d(t,{x:()=>s});n(241);let r;function s(){if(void 0===r){const e=new Response("");if("body"in e)try{new Response(e.body),r=!0}catch(e){r=!1}r=!1}return r}},834:(e,t,n)=>{n.d(t,{f:()=>r});n(241);function r(e){e.then((()=>{}))}},553:(e,t,n)=>{n.d(t,{Y:()=>s});n(687);var r=n(544);n(241);async function s(){for(const e of r.f)await e()}},730:(e,t,n)=>{n.d(t,{C:()=>r});n(241);const r=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"")},687:(e,t,n)=>{n.d(t,{k:()=>r});n(241);const r=null},277:(e,t,n)=>{n.d(t,{V:()=>r});n(241);function r(e){return new Promise((t=>setTimeout(t,e)))}},767:(e,t,n)=>{n.d(t,{A:()=>r});n(241);function r(e,t){const n=t();return e.waitUntil(n),n}},241:()=>{try{self["workbox:core:6.5.3"]&&_()}catch(e){}},193:(e,t,n)=>{n.d(t,{S:()=>a});var r=n(96),s=n(230);n(241);async function a(e,t){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new s.V("cross-origin-copy-response",{origin:n});const a=e.clone(),i={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},o=t?t(i):i,c=(0,r.x)()?a.body:await a.blob();return new Response(c,o)}},544:(e,t,n)=>{n.d(t,{f:()=>r});n(241);const r=new Set},345:(e,t,n)=>{n.d(t,{t:()=>s});n(687),n(120);var r=n(544);n(241);function s(e){r.f.add(e)}},832:()=>{try{self["workbox:expiration:6.5.3"]&&_()}catch(e){}},384:()=>{try{self["workbox:precaching:6.5.3"]&&_()}catch(e){}},655:(e,t,n)=>{n.d(t,{t:()=>s});n(120),n(687);var r=n(820);n(179);class s extends r.A{constructor(e,t,n){super((({url:t})=>{const n=e.exec(t.href);if(n&&(t.origin===location.origin||0===n.index))return n.slice(1)}),t,n)}}},820:(e,t,n)=>{n.d(t,{A:()=>a});n(120);var r=n(497),s=n(199);n(179);class a{constructor(e,t,n=r.g){this.handler=(0,s.M)(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=(0,s.M)(e)}}},849:(e,t,n)=>{n.d(t,{F:()=>i});n(120),n(730);var r=n(497),s=(n(687),n(199)),a=n(230);n(179);class i{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const n=Promise.all(t.urlsToCache.map((t=>{"string"==typeof t&&(t=[t]);const n=new Request(...t);return this.handleRequest({request:n,event:e})})));e.waitUntil(n),e.ports&&e.ports[0]&&n.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return void 0;const r=n.origin===location.origin,{params:s,route:a}=this.findMatchingRoute({event:t,request:e,sameOrigin:r,url:n});let i=a&&a.handler;const o=e.method;if(!i&&this._defaultHandlerMap.has(o)&&(i=this._defaultHandlerMap.get(o)),!i)return void 0;let c;try{c=i.handle({url:n,request:e,event:t,params:s})}catch(e){c=Promise.reject(e)}const l=a&&a.catchHandler;return c instanceof Promise&&(this._catchHandler||l)&&(c=c.catch((async r=>{if(l){0;try{return await l.handle({url:n,request:e,event:t,params:s})}catch(e){e instanceof Error&&(r=e)}}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw r}))),c}findMatchingRoute({url:e,sameOrigin:t,request:n,event:r}){const s=this._routes.get(n.method)||[];for(const a of s){let s;const i=a.match({url:e,sameOrigin:t,request:n,event:r});if(i)return s=i,(Array.isArray(s)&&0===s.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"==typeof i)&&(s=void 0),{route:a,params:s}}return{}}setDefaultHandler(e,t=r.g){this._defaultHandlerMap.set(t,(0,s.M)(e))}setCatchHandler(e){this._catchHandler=(0,s.M)(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 a.V("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new a.V("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}},179:()=>{try{self["workbox:routing:6.5.3"]&&_()}catch(e){}},494:(e,t,n)=>{n.d(t,{X:()=>o});n(687);var r=n(230),s=n(820),a=n(655),i=n(469);n(179);function o(e,t,n){let o;if("string"==typeof e){const r=new URL(e,location.href);0;const a=({url:e})=>e.href===r.href;o=new s.A(a,t,n)}else if(e instanceof RegExp)o=new a.t(e,t,n);else if("function"==typeof e)o=new s.A(e,t,n);else{if(!(e instanceof s.A))throw new r.V("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=e}return(0,i.u)().registerRoute(o),o}},497:(e,t,n)=>{n.d(t,{g:()=>r});n(179);const r="GET"},469:(e,t,n)=>{n.d(t,{u:()=>a});var r=n(849);n(179);let s;const a=()=>(s||(s=new r.F,s.addFetchListener(),s.addCacheListener()),s)},199:(e,t,n)=>{n.d(t,{M:()=>r});n(120),n(179);const r=e=>e&&"object"==typeof e?e:{handle:e}},948:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(567),s=n(230),a=(n(687),n(730),n(200));n(614);class i{constructor(e={}){this.cacheName=r.x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n="string"==typeof e.request?new Request(e.request):e.request,r="params"in e?e.params:void 0,s=new a.G(this,{event:t,request:n,params:r}),i=this._getResponse(s,n,t);return[i,this._awaitComplete(i,s,n,t)]}async _getResponse(e,t,n){let r;await e.runCallbacks("handlerWillStart",{event:n,request:t});try{if(r=await this._handle(t,e),!r||"error"===r.type)throw new s.V("no-response",{url:t.url})}catch(s){if(s instanceof Error)for(const a of e.iterateCallbacks("handlerDidError"))if(r=await a({error:s,event:n,request:t}),r)break;if(!r)throw s}for(const s of e.iterateCallbacks("handlerWillRespond"))r=await s({event:n,request:t,response:r});return r}async _awaitComplete(e,t,n,r){let s,a;try{s=await e}catch(a){}try{await t.runCallbacks("handlerDidRespond",{event:r,request:n,response:s}),await t.doneWaiting()}catch(e){e instanceof Error&&(a=e)}if(await t.runCallbacks("handlerDidComplete",{event:r,request:n,response:s,error:a}),t.destroy(),a)throw a}}},200:(e,t,n)=>{n.d(t,{G:()=>u});n(120);var r=n(235),s=n(818),a=n(553),i=n(730),o=(n(687),n(277)),c=n(230);n(614);function l(e){return"string"==typeof e?new Request(e):e}class u{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new s.B,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const e of this._plugins)this._pluginStateMap.set(e,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=l(e);if("navigate"===n.mode&&t instanceof FetchEvent&&t.preloadResponse){const e=await t.preloadResponse;if(e)return e}const r=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:t})}catch(e){if(e instanceof Error)throw new c.V("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}const s=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const n of this.iterateCallbacks("fetchDidSucceed"))e=await n({event:t,request:s,response:e});return e}catch(e){throw r&&await this.runCallbacks("fetchDidFail",{error:e,event:t,originalRequest:r.clone(),request:s.clone()}),e}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=l(e);let n;const{cacheName:r,matchOptions:s}=this._strategy,a=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},s),{cacheName:r});n=await caches.match(a,i);for(const e of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await e({cacheName:r,matchOptions:s,cachedResponse:n,request:a,event:this.event})||void 0;return n}async cachePut(e,t){const n=l(e);await(0,o.V)(0);const s=await this.getCacheKey(n,"write");if(!t)throw new c.V("cache-put-with-no-response",{url:(0,i.C)(s.url)});const u=await this._ensureResponseSafeToCache(t);if(!u)return!1;const{cacheName:h,matchOptions:d}=this._strategy,f=await self.caches.open(h),p=this.hasCallback("cacheDidUpdate"),g=p?await(0,r.F)(f,s.clone(),["__WB_REVISION__"],d):null;try{await f.put(s,p?u.clone():u)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await(0,a.Y)(),e}for(const e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:h,oldResponse:g,newResponse:u.clone(),request:s,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let r=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))r=l(await e({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[n]=r}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"==typeof t[e]){const n=this._pluginStateMap.get(t),r=r=>{const s=Object.assign(Object.assign({},r),{state:n});return t[e](s)};yield 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,n=!1;for(const e of this.iterateCallbacks("cacheWillUpdate"))if(t=await e({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&200!==t.status&&(t=void 0),t}}},614:()=>{try{self["workbox:strategies:6.5.3"]&&_()}catch(e){}},512:(e,t,n)=>{n.r(t),n.d(t,{__assign:()=>a,__asyncDelegator:()=>P,__asyncGenerator:()=>C,__asyncValues:()=>k,__await:()=>R,__awaiter:()=>p,__classPrivateFieldGet:()=>L,__classPrivateFieldIn:()=>U,__classPrivateFieldSet:()=>N,__createBinding:()=>y,__decorate:()=>o,__esDecorate:()=>l,__exportStar:()=>w,__extends:()=>s,__generator:()=>g,__importDefault:()=>T,__importStar:()=>O,__makeTemplateObject:()=>E,__metadata:()=>f,__param:()=>c,__propKey:()=>h,__read:()=>_,__rest:()=>i,__runInitializers:()=>u,__setFunctionName:()=>d,__spread:()=>v,__spreadArray:()=>x,__spreadArrays:()=>b,__values:()=>m});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},a.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n}function o(e,t,n,r){var s,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,s,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var o,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),d=!1,f=n.length-1;f>=0;f--){var p={};for(var g in r)p[g]="access"===g?{}:r[g];for(var g in r.access)p.access[g]=r.access[g];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var y=(0,n[f])("accessor"===c?{get:h.get,set:h.set}:h[l],p);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(o=i(y.get))&&(h.get=o),(o=i(y.set))&&(h.set=o),(o=i(y.init))&&s.push(o)}else(o=i(y))&&("field"===c?s.push(o):h[l]=o)}u&&Object.defineProperty(u,r.name,h),d=!0}function u(e,t,n){for(var r=arguments.length>2,s=0;s<t.length;s++)n=r?t[s].call(e,n):t[s].call(e);return r?n:void 0}function h(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(s,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function o(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,o)}c((r=r.apply(e,t||[])).next())}))}function g(e,t){var n,r,s,a,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,o[0]&&(i=0)),i;)try{if(n=1,r&&(s=2&o[0]?r.return:o[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;switch(r=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(s=i.trys,(s=s.length>0&&s[s.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(6===o[0]&&i.label<s[1]){i.label=s[1],s=o;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(o);break}s[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}}var y=Object.create?function(e,t,n,r){void 0===r&&(r=n);var s=Object.getOwnPropertyDescriptor(t,n);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,s)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function w(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,s,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){s={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(s)throw s.error}}return i}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e}function b(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),s=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,o=a.length;i<o;i++,s++)r[s]=a[i];return r}function x(e,t,n){if(n||2===arguments.length)for(var r,s=0,a=t.length;s<a;s++)!r&&s in t||(r||(r=Array.prototype.slice.call(t,0,s)),r[s]=t[s]);return e.concat(r||Array.prototype.slice.call(t))}function R(e){return this instanceof R?(this.v=e,this):new R(e)}function C(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,s=n.apply(e,t||[]),a=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){s[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||o(e,t)}))})}function o(e,t){try{(n=s[e](t)).value instanceof R?Promise.resolve(n.value.v).then(c,l):u(a[0][2],n)}catch(e){u(a[0][3],e)}var n}function c(e){o("next",e)}function l(e){o("throw",e)}function u(e,t){e(t),a.shift(),a.length&&o(a[0][0],a[0][1])}}function P(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,s){t[r]=e[r]?function(t){return(n=!n)?{value:R(e[r](t)),done:!1}:s?s(t):t}:s}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=m(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,s){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,s,(t=e[n](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&y(t,e,n);return S(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function L(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function N(e,t,n,r,s){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?s.call(e,n):s?s.value=n:t.set(e,n),n}function U(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},468:(e,t,n)=>{n.r(t),n.d(t,{CacheableResponse:()=>r,CacheableResponsePlugin:()=>s});n(120),n(230),n(730),n(687),n(118);class r{constructor(e={}){this._statuses=e.statuses,this._headers=e.headers}isResponseCacheable(e){let t=!0;return this._statuses&&(t=this._statuses.includes(e.status)),this._headers&&t&&(t=Object.keys(this._headers).some((t=>e.headers.get(t)===this._headers[t]))),t}}class s{constructor(e){this.cacheWillUpdate=async({response:e})=>this._cacheableResponse.isResponseCacheable(e)?e:null,this._cacheableResponse=new r(e)}}},558:(e,t,n)=>{n.r(t),n.d(t,{_private:()=>r,cacheNames:()=>b,clientsClaim:()=>R,copyResponse:()=>x.S,registerQuotaErrorCallback:()=>s.t,setCacheNameDetails:()=>C,skipWaiting:()=>P});var r={};n.r(r),n.d(r,{Deferred:()=>d.B,WorkboxError:()=>v.V,assert:()=>a.h,cacheMatchIgnoreParams:()=>o.F,cacheNames:()=>i.x,canConstructReadableStream:()=>l,canConstructResponseFromBodyStream:()=>u.x,dontWaitFor:()=>h.f,executeQuotaErrorCallbacks:()=>f.Y,getFriendlyURL:()=>p.C,logger:()=>g.k,resultingClientExists:()=>m,timeout:()=>y.V,waitUntil:()=>_.A});var s=n(345),a=n(120),i=n(567),o=n(235);n(241);let c;function l(){if(void 0===c)try{new ReadableStream({start(){}}),c=!0}catch(e){c=!1}return c}var u=n(96),h=n(834),d=n(818),f=n(553),p=n(730),g=n(687),y=n(277);const w=2e3;async function m(e){if(!e)return;let t=await self.clients.matchAll({type:"window"});const n=new Set(t.map((e=>e.id)));let r;const s=performance.now();for(;performance.now()-s<w&&(t=await self.clients.matchAll({type:"window"}),r=t.find((t=>e?t.id===e:!n.has(t.id))),!r);)await(0,y.V)(100);return r}var _=n(767),v=n(230);const b={get googleAnalytics(){return i.x.getGoogleAnalyticsName()},get precache(){return i.x.getPrecacheName()},get prefix(){return i.x.getPrefix()},get runtime(){return i.x.getRuntimeName()},get suffix(){return i.x.getSuffix()}};var x=n(193);function R(){self.addEventListener("activate",(()=>self.clients.claim()))}function C(e){i.x.updateDetails(e)}function P(){self.skipWaiting()}},539:(e,t,n)=>{n.r(t),n.d(t,{CacheExpiration:()=>P,ExpirationPlugin:()=>S});n(120);var r=n(834),s=(n(687),n(230));const a=(e,t)=>t.some((t=>e instanceof t));let i,o;const c=new WeakMap,l=new WeakMap,u=new WeakMap,h=new WeakMap,d=new WeakMap;let f={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return l.get(e);if("objectStoreNames"===t)return e.objectStoreNames||u.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return y(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function p(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(o||(o=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(w(this),t),y(c.get(this))}:function(...t){return y(e.apply(w(this),t))}:function(t,...n){const r=e.call(w(this),t,...n);return u.set(r,t.sort?t.sort():[t]),y(r)}}function g(e){return"function"==typeof e?p(e):(e instanceof IDBTransaction&&function(e){if(l.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",a),e.removeEventListener("abort",a)},s=()=>{t(),r()},a=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",s),e.addEventListener("error",a),e.addEventListener("abort",a)}));l.set(e,t)}(e),a(e,i||(i=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,f):e)}function y(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",s),e.removeEventListener("error",a)},s=()=>{t(y(e.result)),r()},a=()=>{n(e.error),r()};e.addEventListener("success",s),e.addEventListener("error",a)}));return t.then((t=>{t instanceof IDBCursor&&c.set(t,e)})).catch((()=>{})),d.set(t,e),t}(e);if(h.has(e))return h.get(e);const t=g(e);return t!==e&&(h.set(e,t),d.set(t,e)),t}const w=e=>d.get(e);const m=["get","getKey","getAll","getAllKeys","count"],_=["put","add","delete","clear"],v=new Map;function b(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(v.get(t))return v.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,s=_.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!s&&!m.includes(n))return;const a=async function(e,...t){const a=this.transaction(e,s?"readwrite":"readonly");let i=a.store;return r&&(i=i.index(t.shift())),(await Promise.all([i[n](...t),s&&a.done]))[0]};return v.set(t,a),a}f=(e=>({...e,get:(t,n,r)=>b(t,n)||e.get(t,n,r),has:(t,n)=>!!b(t,n)||e.has(t,n)}))(f);n(832);const x="cache-entries",R=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class C{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&&function(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);t&&n.addEventListener("blocked",(e=>t(e.oldVersion,e))),y(n).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const n={url:e=R(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(x,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const t=await this.getDb(),n=await t.get(x,this._getId(e));return null==n?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let r=await n.transaction(x).store.index("timestamp").openCursor(null,"prev");const s=[];let a=0;for(;r;){const n=r.value;n.cacheName===this._cacheName&&(e&&n.timestamp<e||t&&a>=t?s.push(r.value):a++),r=await r.continue()}const i=[];for(const e of s)await n.delete(x,e.id),i.push(e.url);return i}_getId(e){return this._cacheName+"|"+R(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:n,upgrade:r,blocking:s,terminated:a}={}){const i=indexedDB.open(e,t),o=y(i);return r&&i.addEventListener("upgradeneeded",(e=>{r(y(i.result),e.oldVersion,e.newVersion,y(i.transaction),e)})),n&&i.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),o.then((e=>{a&&e.addEventListener("close",(()=>a())),s&&e.addEventListener("versionchange",(e=>s(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class P{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 C(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const e of t)await n.delete(e,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,(0,r.f)(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t<n}return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}var k=n(567),E=(n(730),n(345));class S{constructor(e={}){this.cachedResponseWillBeUsed=async({event:e,request:t,cacheName:n,cachedResponse:s})=>{if(!s)return null;const a=this._isResponseDateFresh(s),i=this._getCacheExpiration(n);(0,r.f)(i.expireEntries());const o=i.updateTimestamp(t.url);if(e)try{e.waitUntil(o)}catch(e){0}return a?s:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const n=this._getCacheExpiration(e);await n.updateTimestamp(t.url),await n.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&(0,E.t)((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===k.x.getRuntimeName())throw new s.V("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new P(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),n=new Date(t).getTime();return isNaN(n)?null:n}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}},793:(e,t,n)=>{n.r(t),n.d(t,{PrecacheController:()=>d,PrecacheFallbackPlugin:()=>E,PrecacheRoute:()=>m,PrecacheStrategy:()=>h,addPlugins:()=>g,addRoute:()=>_,cleanupOutdatedCaches:()=>b,createHandlerBoundToURL:()=>x,getCacheKeyForURL:()=>R,matchPrecache:()=>C,precache:()=>P,precacheAndRoute:()=>k});n(120);var r=n(567),s=(n(687),n(230)),a=n(767);n(384);function i(e){if(!e)throw new s.V("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:t,url:n}=e;if(!n)throw new s.V("add-to-cache-list-unexpected-type",{entry:e});if(!t){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const r=new URL(n,location.href),a=new URL(n,location.href);return r.searchParams.set("__WB_REVISION__",t),{cacheKey:r.href,url:a.href}}class o{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;n?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return n}}}class c{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const n=(null==t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return n?new Request(n,{headers:e.headers}):e},this._precacheController=e}}var l=n(193),u=(n(730),n(948));class h extends u._{constructor(e={}){e.cacheName=r.x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(h.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const r=t.params||{};if(!this._fallbackToNetwork)throw new s.V("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const s=r.integrity,a=e.integrity,i=!a||a===s;if(n=await t.fetch(new Request(e,{integrity:"no-cors"!==e.mode?a||s:void 0})),s&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await t.cachePut(e,n.clone());0}}return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new s.V("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,r]of this.plugins.entries())r!==h.copyRedirectedCacheableResponsesPlugin&&(r===h.defaultPrecacheCacheabilityPlugin&&(e=n),r.cacheWillUpdate&&t++);0===t?this.plugins.push(h.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}h.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},h.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await(0,l.S)(e):e};class d{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new h({cacheName:r.x.getPrecacheName(e),plugins:[...t,new c({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){"string"==typeof n?t.push(n):n&&void 0===n.revision&&t.push(n.url);const{cacheKey:e,url:r}=i(n),a="string"!=typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==e)throw new s.V("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:e});if("string"!=typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new s.V("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(r,e),this._urlsToCacheModes.set(r,a),t.length>0){const e=`Workbox is precaching URLs without revision info: ${t.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return(0,a.A)(e,(async()=>{const t=new o;this.strategy.plugins.push(t);for(const[t,n]of this._urlsToCacheKeys){const r=this._cacheKeysToIntegrities.get(n),s=this._urlsToCacheModes.get(t),a=new Request(t,{integrity:r,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:a,event:e}))}const{updatedURLs:n,notUpdatedURLs:r}=t;return{updatedURLs:n,notUpdatedURLs:r}}))}activate(e){return(0,a.A)(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),n=new Set(this._urlsToCacheKeys.values()),r=[];for(const s of t)n.has(s.url)||(await e.delete(s),r.push(s.url));return{deletedURLs:r}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n){return(await self.caches.open(this.strategy.cacheName)).match(n)}}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new s.V("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let f;const p=()=>(f||(f=new d),f);function g(e){p().strategy.plugins.push(...e)}var y=n(494),w=n(820);class m extends w.A{constructor(e,t){super((({request:n})=>{const r=e.getURLsToCacheKeys();for(const s of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:n="index.html",cleanURLs:r=!0,urlManipulation:s}={}){const a=new URL(e,location.href);a.hash="",yield a.href;const i=function(e,t=[]){for(const n of[...e.searchParams.keys()])t.some((e=>e.test(n)))&&e.searchParams.delete(n);return e}(a,t);if(yield i.href,n&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=n,yield e.href}if(r){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(s){const e=s({url:a});for(const t of e)yield t.href}}(n.url,t)){const t=r.get(s);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function _(e){const t=p(),n=new m(t,e);(0,y.X)(n)}const v=async(e,t="-precache-")=>{const n=(await self.caches.keys()).filter((n=>n.includes(t)&&n.includes(self.registration.scope)&&n!==e));return await Promise.all(n.map((e=>self.caches.delete(e)))),n};function b(){self.addEventListener("activate",(e=>{const t=r.x.getPrecacheName();e.waitUntil(v(t).then((e=>{0})))}))}function x(e){return p().createHandlerBoundToURL(e)}function R(e){return p().getCacheKeyForURL(e)}function C(e){return p().matchPrecache(e)}function P(e){p().precache(e)}function k(e,t){P(e),_(t)}class E{constructor({fallbackURL:e,precacheController:t}){this.handlerDidError=()=>this._precacheController.matchPrecache(this._fallbackURL),this._fallbackURL=e,this._precacheController=t||p()}}},729:(e,t,n)=>{n.r(t),n.d(t,{NavigationRoute:()=>s,RegExpRoute:()=>a.t,Route:()=>r.A,Router:()=>o.F,registerRoute:()=>i.X,setCatchHandler:()=>l,setDefaultHandler:()=>u});n(120),n(687);var r=n(820);n(179);class s extends r.A{constructor(e,{allowlist:t=[/./],denylist:n=[]}={}){super((e=>this._match(e)),e),this._allowlist=t,this._denylist=n}_match({url:e,request:t}){if(t&&"navigate"!==t.mode)return!1;const n=e.pathname+e.search;for(const e of this._denylist)if(e.test(n))return!1;return!!this._allowlist.some((e=>e.test(n)))}}var a=n(655),i=n(494),o=n(849),c=n(469);function l(e){(0,c.u)().setCatchHandler(e)}function u(e){(0,c.u)().setDefaultHandler(e)}},697:(e,t,n)=>{n.r(t),n.d(t,{CacheFirst:()=>a,CacheOnly:()=>i,NetworkFirst:()=>c,NetworkOnly:()=>u,StaleWhileRevalidate:()=>h,Strategy:()=>s._,StrategyHandler:()=>d.G});n(120),n(687);var r=n(230),s=n(948);n(730),n(614);class a extends s._{async _handle(e,t){let n,s=await t.cacheMatch(e);if(s)0;else{0;try{s=await t.fetchAndCachePut(e)}catch(e){e instanceof Error&&(n=e)}0}if(!s)throw new r.V("no-response",{url:e.url,error:n});return s}}class i extends s._{async _handle(e,t){const n=await t.cacheMatch(e);if(!n)throw new r.V("no-response",{url:e.url});return n}}const o={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class c extends s._{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(o),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){const n=[];const s=[];let a;if(this._networkTimeoutSeconds){const{id:r,promise:i}=this._getTimeoutPromise({request:e,logs:n,handler:t});a=r,s.push(i)}const i=this._getNetworkPromise({timeoutId:a,request:e,logs:n,handler:t});s.push(i);const o=await t.waitUntil((async()=>await t.waitUntil(Promise.race(s))||await i)());if(!o)throw new r.V("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:n}){let r;return{promise:new Promise((t=>{r=setTimeout((async()=>{t(await n.cacheMatch(e))}),1e3*this._networkTimeoutSeconds)})),id:r}}async _getNetworkPromise({timeoutId:e,request:t,logs:n,handler:r}){let s,a;try{a=await r.fetchAndCachePut(t)}catch(e){e instanceof Error&&(s=e)}return e&&clearTimeout(e),!s&&a||(a=await r.cacheMatch(t)),a}}var l=n(277);class u extends s._{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let n,s;try{const n=[t.fetch(e)];if(this._networkTimeoutSeconds){const e=(0,l.V)(1e3*this._networkTimeoutSeconds);n.push(e)}if(s=await Promise.race(n),!s)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(e){e instanceof Error&&(n=e)}if(!s)throw new r.V("no-response",{url:e.url,error:n});return s}}class h extends s._{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(o)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch((()=>{}));t.waitUntil(n);let s,a=await t.cacheMatch(e);if(a)0;else{0;try{a=await n}catch(e){e instanceof Error&&(s=e)}}if(!a)throw new r.V("no-response",{url:e.url,error:s});return a}}var d=n(200)}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var a=t[r]={exports:{}},i=!0;try{e[r](a,a.exports,n),i=!1}finally{i&&delete t[r]}return a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{n.S={};var e={},t={};n.I=(r,s)=>{s||(s=[]);var a=t[r];if(a||(a=t[r]={}),!(s.indexOf(a)>=0)){if(s.push(a),e[r])return e[r];n.o(n.S,r)||(n.S[r]={});var i=n.S[r],o="@genesislcap/foundation-shell",c=(e,t,n,r)=>{var s=i[e]=i[e]||{},a=s[t];(!a||!a.loaded&&(!r!=!a.eager?r:o>a.from))&&(s[t]={get:n,from:o,eager:!!r})},l=[];if("default"===r)c("tslib","2.5.0",(()=>()=>n(512))),c("workbox-cacheable-response","6.5.4",(()=>()=>n(468))),c("workbox-core","6.5.4",(()=>()=>n(558))),c("workbox-expiration","6.5.4",(()=>()=>n(539))),c("workbox-precaching","6.5.4",(()=>()=>n(793))),c("workbox-routing","6.5.4",(()=>()=>n(729))),c("workbox-strategies","6.5.4",(()=>()=>n(697)));return l.length?e[r]=Promise.all(l).then((()=>e[r]=1)):e[r]=1}}})(),(()=>{var e,t=n(512),r=n(468),s=n(558),a=n(539),i=n(793),o=n(729),c=n(697);console.log("Hello from sw.js v0.0.1"),(0,s.clientsClaim)(),(0,i.precacheAndRoute)([{'revision':null,'url':'/13.13.cc8f282b2fd08bdaa429.js'},{'revision':null,'url':'/642.642.445f96533bdd033b16be.js'},{'revision':null,'url':'/655.655.c48cfaeec79c9c11e33c.js'},{'revision':null,'url':'/755.755.86fa4cbd123916a850e8.js'},{'revision':'5c035540edea453294160c87b69d6efc','url':'/assets/icon.svg'},{'revision':'968c9b1e3aec8f497ac498d6ee3ff3ae','url':'/dts/app/app.d.ts'},{'revision':'5d7aa39deabc5817eb4c24c9e0d41101','url':'/dts/app/behaviors.d.ts'},{'revision':'c2d699d3a9a21d0e9a7d6482a79dc53e','url':'/dts/app/config.d.ts'},{'revision':'15fd8d96dc0bb0147a927cd655991d61','url':'/dts/app/index.d.ts'},{'revision':'33bc65f85e4fd7606acf57d99f2cd7b9','url':'/dts/app/types.d.ts'},{'revision':'f5d3df41a3d0056739487fa0d7ba0f73','url':'/dts/app/utils.d.ts'},{'revision':'75134003affa891b1185503463953878','url':'/dts/index.d.ts'},{'revision':'2057a4ce7f492309ceb05c78e1abf2f8','url':'/dts/index.docs.d.ts'},{'revision':'56e747ccd78defe7c8311bbba58a721e','url':'/dts/index.federated.d.ts'},{'revision':'3cab1c594f8d03985b46eee98a63b2a2','url':'/dts/layouts/default/layout.d.ts'},{'revision':'3cab1c594f8d03985b46eee98a63b2a2','url':'/dts/layouts/formatsExample/layout.d.ts'},{'revision':'54e870658a9c834adbecb8ad1a34d148','url':'/dts/main/bootstrap.d.ts'},{'revision':'5d05b2cca398071e8b7bd80f8a37ff80','url':'/dts/main/index.d.ts'},{'revision':'7adcda7b3d269ab1d8b5b4079a523a42','url':'/dts/main/main.d.ts'},{'revision':'5ce23c1e29e802698be958444fcac33a','url':'/dts/main/main.styles.d.ts'},{'revision':'05b4e3d35768e4fe0ee81ac50d08b2c7','url':'/dts/main/main.template.d.ts'},{'revision':'a4a585ff72bb0a204cfe49b476bd9b80','url':'/dts/pbc/index.d.ts'},{'revision':'36878d18600216555e06ab792adc10eb','url':'/dts/pbc/pbc.d.ts'},{'revision':'48006c4dd8006dc5b51028ba56498fa3','url':'/dts/pbc/vite/exports.d.ts'},{'revision':'d6e2176ecbaafe1bc42b9f15136946d0','url':'/dts/pbc/vite/index.d.ts'},{'revision':'e372dabcf39748888ec80c9849ba7265','url':'/dts/pbc/vite/utils.d.ts'},{'revision':'48006c4dd8006dc5b51028ba56498fa3','url':'/dts/pbc/webpack/exports.d.ts'},{'revision':'d6e2176ecbaafe1bc42b9f15136946d0','url':'/dts/pbc/webpack/index.d.ts'},{'revision':'8979ecaa984fead1c6adea7bd8fd941f','url':'/dts/pbc/webpack/utils.d.ts'},{'revision':'1d6bffdf6619ff38e64181ac26bf4297','url':'/dts/serviceWorker/registration.d.ts'},{'revision':'0ab8d9f2503966e9295ae54cc6f64a4a','url':'/dts/serviceWorker/serviceWorker.d.ts'},{'revision':'65230a59ca53b222394cb29719af898c','url':'/dts/utils/index.d.ts'},{'revision':'7b15823055ed997c73c5b7c06d6e91fa','url':'/dts/utils/logger.d.ts'},{'revision':'d4f850463f4df51860be6f46b599e7ce','url':'/favicon.ico'},{'revision':'45aad949bd466f2ecac6bf061b4ee122','url':'/index.html'},{'revision':'30cb28b85891d5fcd1083a2c39bb5611','url':'/info.html'},{'revision':null,'url':'/main.3083ee4d28f46e8a3506.js'},{'revision':null,'url':'/npm.microsoft.127.5a4c871efe9608e160a7.js'},{'revision':'a04bde3f56119b811a0a246720774eae','url':'/remoteEntry.js'},{'revision':null,'url':'/swRegistration.48635f3caa94cdf4bcb2.js'}]||[]),(0,o.registerRoute)((({request:e})=>"navigate"===e.mode),new c.NetworkFirst({cacheName:"pages",plugins:[new r.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"style"===e.destination||"script"===e.destination||"worker"===e.destination),new c.StaleWhileRevalidate({cacheName:"assets",plugins:[new r.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"image"===e.destination),new c.CacheFirst({cacheName:"images",plugins:[new r.CacheableResponsePlugin({statuses:[200]}),new a.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3})]})),function(e){e.skipWaiting="skipWaiting"}(e||(e={})),self.addEventListener("message",(t=>{if(t.data&&t.data.type===e.skipWaiting)self.skipWaiting()}));const l={applicationServerKey:(e=>{const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=self.atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e+=1)r[e]=n.charCodeAt(e);return r})("BHjc7KuOaU4j6MNOs_Mm90By-mPPUqn8Y94I0yv-aYP03ip2nfq8ti_n1mH01QxW9mWtjY8d2-VdcblQYl1Zq-M"),userVisibleOnly:!0};self.addEventListener("activate",(()=>(0,t.__awaiter)(void 0,void 0,void 0,(function*(){try{const e=yield self.registration.pushManager.subscribe(l),n=yield(e=>(0,t.__awaiter)(void 0,void 0,void 0,(function*(){return(yield fetch("http://localhost:6050/push/save",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()})))(e);console.log(n)}catch(e){console.error("SW activate error",e)}})))),self.addEventListener("push",(e=>{console.log("SW received a push message",e);const{data:t}=e;if(!t)return void console.error("no data in message");const n=t.text()||"Push Message Title";e.waitUntil(self.registration.showNotification(n,{tag:"genesis-global-notification-tag",renotify:!0,body:t.text(),vibrate:[500,100,500]}))})),self.addEventListener("notificationclose",(({notification:e})=>{const t=e.data;console.log("SW notification close",t)})),self.addEventListener("notificationclick",(({action:e,notification:t})=>{const n=t.data;console.log("SW notification click",n,e),"close"!==e||t.close()}))})()})();
|
|
2
|
+
//# sourceMappingURL=InjectManifest.e1f16063b12a45e391ae7b4f95241ab2.js.map
|
package/dist/{swRegistration.5825d13b9d973891da34.js → swRegistration.48635f3caa94cdf4bcb2.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var e,r,t,o={484:function(){var e=this&&this.__awaiter||function(e,r,t,o){return new(t||(t=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(a,s)}l((o=o.apply(e,r||[])).next())}))};const r=r=>e(this,void 0,void 0,(function*(){return navigator.serviceWorker.register("/sw.js",r)})),t=()=>e(this,void 0,void 0,(function*(){"granted"!==(yield window.Notification.requestPermission())&&console.error("Permission not granted for Notification")}));window.addEventListener("load",(()=>e(this,void 0,void 0,(function*(){(()=>{if(!("serviceWorker"in navigator))throw new Error("No Service Worker support!");if(!("PushManager"in window))throw new Error("No Push API support!")})(),yield t(),yield r({scope:"/"})}))))}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}},a=!0;try{o[e].call(t.exports,t,t.exports,i),a=!1}finally{a&&delete n[e]}return t.exports}i.m=o,i.c=n,e=[],i.O=(r,t,o,n)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,o,n]=e[f],s=!0,l=0;l<t.length;l++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](t[l])))?t.splice(l--,1):(s=!1,n<a&&(a=n));if(s){e.splice(f--,1);var d=o();void 0!==d&&(r=d)}}return r}n=n||0;for(var f=e.length;f>0&&e[f-1][2]>n;f--)e[f]=e[f-1];e[f]=[t,o,n]},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,t)=>(i.f[t](e,r),r)),[])),i.u=e=>(127===e?"npm.microsoft":e)+"."+e+"."+{127:"5a4c871efe9608e160a7",642:"445f96533bdd033b16be",655:"c48cfaeec79c9c11e33c"}[e]+".js",i.miniCssF=e=>{},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="@genesislcap/foundation-shell:",i.l=(e,o,n,a)=>{if(r[e])r[e].push(o);else{var s,l;if(void 0!==n)for(var d=document.getElementsByTagName("script"),f=0;f<d.length;f++){var u=d[f];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==t+n){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+n),s.src=e),r[e]=[o];var c=(t,o)=>{s.onerror=s.onload=null,clearTimeout(v);var n=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach((e=>e(o))),t)return t(o)},v=setTimeout(c.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=c.bind(null,s.onerror),s.onload=c.bind(null,s.onload),l&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{i.S={};var e={},r={};i.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var a=i.S[t],s="@genesislcap/foundation-shell",l=(e,r,t,o)=>{var n=a[e]=a[e]||{},i=n[r];(!i||!i.loaded&&(!o!=!i.eager?o:s>i.from))&&(n[r]={get:t,from:s,eager:!!o})},d=[];if("default"===t)l("@genesislcap/foundation-logger","14.
|
|
2
|
-
//# sourceMappingURL=swRegistration.
|
|
1
|
+
(()=>{var e,r,t,o={484:function(){var e=this&&this.__awaiter||function(e,r,t,o){return new(t||(t=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(a,s)}l((o=o.apply(e,r||[])).next())}))};const r=r=>e(this,void 0,void 0,(function*(){return navigator.serviceWorker.register("/sw.js",r)})),t=()=>e(this,void 0,void 0,(function*(){"granted"!==(yield window.Notification.requestPermission())&&console.error("Permission not granted for Notification")}));window.addEventListener("load",(()=>e(this,void 0,void 0,(function*(){(()=>{if(!("serviceWorker"in navigator))throw new Error("No Service Worker support!");if(!("PushManager"in window))throw new Error("No Push API support!")})(),yield t(),yield r({scope:"/"})}))))}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}},a=!0;try{o[e].call(t.exports,t,t.exports,i),a=!1}finally{a&&delete n[e]}return t.exports}i.m=o,i.c=n,e=[],i.O=(r,t,o,n)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,o,n]=e[f],s=!0,l=0;l<t.length;l++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](t[l])))?t.splice(l--,1):(s=!1,n<a&&(a=n));if(s){e.splice(f--,1);var d=o();void 0!==d&&(r=d)}}return r}n=n||0;for(var f=e.length;f>0&&e[f-1][2]>n;f--)e[f]=e[f-1];e[f]=[t,o,n]},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,t)=>(i.f[t](e,r),r)),[])),i.u=e=>(127===e?"npm.microsoft":e)+"."+e+"."+{127:"5a4c871efe9608e160a7",642:"445f96533bdd033b16be",655:"c48cfaeec79c9c11e33c"}[e]+".js",i.miniCssF=e=>{},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="@genesislcap/foundation-shell:",i.l=(e,o,n,a)=>{if(r[e])r[e].push(o);else{var s,l;if(void 0!==n)for(var d=document.getElementsByTagName("script"),f=0;f<d.length;f++){var u=d[f];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==t+n){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+n),s.src=e),r[e]=[o];var c=(t,o)=>{s.onerror=s.onload=null,clearTimeout(v);var n=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach((e=>e(o))),t)return t(o)},v=setTimeout(c.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=c.bind(null,s.onerror),s.onload=c.bind(null,s.onload),l&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{i.S={};var e={},r={};i.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var a=i.S[t],s="@genesislcap/foundation-shell",l=(e,r,t,o)=>{var n=a[e]=a[e]||{},i=n[r];(!i||!i.loaded&&(!o!=!i.eager?o:s>i.from))&&(n[r]={get:t,from:s,eager:!!o})},d=[];if("default"===t)l("@genesislcap/foundation-logger","14.132.0",(()=>i.e(642).then((()=>()=>i(642))))),l("@microsoft/fast-element","1.12.0",(()=>i.e(127).then((()=>()=>i(122))))),l("tslib","2.5.0",(()=>i.e(655).then((()=>()=>i(655)))));return d.length?e[t]=Promise.all(d).then((()=>e[t]=1)):e[t]=1}}})(),i.p="/",(()=>{var e={888:0,930:0};i.f.j=(r,t)=>{var o=i.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(930!=r){var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var a=i.p+i.u(r),s=new Error;i.l(a,(t=>{if(i.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;s.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",s.name="ChunkLoadError",s.type=n,s.request=a,o[1](s)}}),"chunk-"+r,r)}else e[r]=0},i.O.j=r=>0===e[r];var r=(r,t)=>{var o,n,[a,s,l]=t,d=0;if(a.some((r=>0!==e[r]))){for(o in s)i.o(s,o)&&(i.m[o]=s[o]);if(l)var f=l(i)}for(r&&r(t);d<a.length;d++)n=a[d],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(f)},t=self.webpackChunk_genesislcap_foundation_shell=self.webpackChunk_genesislcap_foundation_shell||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var a=i.O(void 0,[930],(()=>i(484)));a=i.O(a)})();
|
|
2
|
+
//# sourceMappingURL=swRegistration.a93f46a92fddad87f178ead7e088ee54.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swRegistration.xxxxxxxxxxxxxxxxxxxx.js","mappings":"UAAIA,ECAAC,EACAC,E,kBCDJ,IAAIC,EAAaC,MAAQA,KAAKD,WAAc,SAAUE,EAASC,EAAYC,EAAGC,GAE1E,OAAO,IAAKD,IAAMA,EAAIE,WAAU,SAAUC,EAASC,GAC/C,SAASC,EAAUC,GAAS,IAAMC,EAAKN,EAAUO,KAAKF,GAAS,CAAE,MAAOG,GAAKL,EAAOK,EAAI,CAAE,CAC1F,SAASC,EAASJ,GAAS,IAAMC,EAAKN,EAAiB,MAAEK,GAAS,CAAE,MAAOG,GAAKL,EAAOK,EAAI,CAAE,CAC7F,SAASF,EAAKI,GAJlB,IAAeL,EAIaK,EAAOC,KAAOT,EAAQQ,EAAOL,QAJ1CA,EAIyDK,EAAOL,MAJhDA,aAAiBN,EAAIM,EAAQ,IAAIN,GAAE,S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AAoB4B,EAAE4E,EAAavG,KACrCD,EAAoBS,EAAER,GAAYuG,EAAYvG,IAGhD,GAAGwG,EAAS,IAAI7H,EAAS6H,EAAQzG,EAClC,CAEA,IADGsG,GAA4BA,EAA2BC,GACrDtF,EAAIL,EAASM,OAAQD,IACzBgB,EAAUrB,EAASK,GAChBjB,EAAoB4B,EAAEkE,EAAiB7D,IAAY6D,EAAgB7D,IACrE6D,EAAgB7D,GAAS,KAE1B6D,EAAgB7D,GAAW,EAE5B,OAAOjC,EAAoBW,EAAE/B,EAAO,EAGjCgI,EAAqBC,KAAgD,0CAAIA,KAAgD,2CAAK,GAClID,EAAmBxC,QAAQiC,EAAqB/B,KAAK,KAAM,IAC3DsC,EAAmB/D,KAAOwD,EAAqB/B,KAAK,KAAMsC,EAAmB/D,KAAKyB,KAAKsC,G,KCnFvF,IAAIE,EAAsB9G,EAAoBW,OAAER,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F8G,EAAsB9G,EAAoBW,EAAEmG,E","sources":["webpack://@genesislcap/foundation-shell/webpack/runtime/chunk loaded","webpack://@genesislcap/foundation-shell/webpack/runtime/load script","webpack://@genesislcap/foundation-shell/./src/serviceWorker/registration.ts","webpack://@genesislcap/foundation-shell/webpack/bootstrap","webpack://@genesislcap/foundation-shell/webpack/runtime/define property getters","webpack://@genesislcap/foundation-shell/webpack/runtime/ensure chunk","webpack://@genesislcap/foundation-shell/webpack/runtime/get javascript chunk filename","webpack://@genesislcap/foundation-shell/webpack/runtime/get mini-css chunk filename","webpack://@genesislcap/foundation-shell/webpack/runtime/hasOwnProperty shorthand","webpack://@genesislcap/foundation-shell/webpack/runtime/make namespace object","webpack://@genesislcap/foundation-shell/webpack/runtime/sharing","webpack://@genesislcap/foundation-shell/webpack/runtime/publicPath","webpack://@genesislcap/foundation-shell/webpack/runtime/jsonp chunk loading","webpack://@genesislcap/foundation-shell/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"@genesislcap/foundation-shell:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nconst checkCapabilities = () => {\n if (!('serviceWorker' in navigator)) {\n throw new Error('No Service Worker support!');\n }\n if (!('PushManager' in window)) {\n throw new Error('No Push API support!');\n }\n};\nconst registerServiceWorker = (registrationOptions) => __awaiter(this, void 0, void 0, function* () { return navigator.serviceWorker.register('/sw.js', registrationOptions); });\nconst requestNotificationPermission = () => __awaiter(this, void 0, void 0, function* () {\n const permission = yield window.Notification.requestPermission();\n if (permission !== 'granted') {\n console.error('Permission not granted for Notification');\n }\n});\nwindow.addEventListener('load', () => __awaiter(this, void 0, void 0, function* () {\n checkCapabilities();\n yield requestNotificationPermission();\n yield registerServiceWorker({ scope: '/' });\n}));\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + (chunkId === 127 ? \"npm.microsoft\" : chunkId) + \".\" + chunkId + \".\" + {\"127\":\"5a4c871efe9608e160a7\",\"642\":\"445f96533bdd033b16be\",\"655\":\"c48cfaeec79c9c11e33c\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"@genesislcap/foundation-shell\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@genesislcap/foundation-logger\", \"14.130.0\", () => (__webpack_require__.e(642).then(() => (() => (__webpack_require__(642))))));\n\t\t\tregister(\"@microsoft/fast-element\", \"1.12.0\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(122))))));\n\t\t\tregister(\"tslib\", \"2.5.0\", () => (__webpack_require__.e(655).then(() => (() => (__webpack_require__(655))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t888: 0,\n\t983: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(983 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_genesislcap_foundation_shell\"] = self[\"webpackChunk_genesislcap_foundation_shell\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__.O(undefined, [983], () => (__webpack_require__(484)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","__awaiter","this","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","result","done","then","apply","registerServiceWorker","registrationOptions","navigator","serviceWorker","register","requestNotificationPermission","window","Notification","requestPermission","console","error","addEventListener","Error","checkCapabilities","scope","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","threw","__webpack_modules__","call","m","c","O","chunkIds","fn","priority","notFulfilled","Infinity","i","length","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","f","chunkId","all","reduce","promises","u","miniCssF","obj","prop","prototype","hasOwnProperty","l","url","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","S","initPromises","initTokens","I","name","initScope","initToken","indexOf","uniqueName","version","factory","eager","versions","activeVersion","loaded","from","p","installedChunks","installedChunkData","promise","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"swRegistration.xxxxxxxxxxxxxxxxxxxx.js","mappings":"UAAIA,ECAAC,EACAC,E,kBCDJ,IAAIC,EAAaC,MAAQA,KAAKD,WAAc,SAAUE,EAASC,EAAYC,EAAGC,GAE1E,OAAO,IAAKD,IAAMA,EAAIE,WAAU,SAAUC,EAASC,GAC/C,SAASC,EAAUC,GAAS,IAAMC,EAAKN,EAAUO,KAAKF,GAAS,CAAE,MA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gB7D,GAAW,CAEpC,EAWFjC,EAAoBW,EAAEQ,EAAKc,GAA0C,IAA7B6D,EAAgB7D,GAGxD,IAAIoE,EAAuB,CAACC,EAA4BC,KACvD,IAGItG,EAAUgC,GAHTrB,EAAU4F,EAAaC,GAAWF,EAGhBtF,EAAI,EAC3B,GAAGL,EAAS8F,MAAMC,GAAgC,IAAxBb,EAAgBa,KAAa,CACtD,IAAI1G,KAAYuG,EACZxG,EAAoB4B,EAAE4E,EAAavG,KACrCD,EAAoBS,EAAER,GAAYuG,EAAYvG,IAGhD,GAAGwG,EAAS,IAAI7H,EAAS6H,EAAQzG,EAClC,CAEA,IADGsG,GAA4BA,EAA2BC,GACrDtF,EAAIL,EAASM,OAAQD,IACzBgB,EAAUrB,EAASK,GAChBjB,EAAoB4B,EAAEkE,EAAiB7D,IAAY6D,EAAgB7D,IACrE6D,EAAgB7D,GAAS,KAE1B6D,EAAgB7D,GAAW,EAE5B,OAAOjC,EAAoBW,EAAE/B,EAAO,EAGjCgI,EAAqBC,KAAgD,0CAAIA,KAAgD,2CAAK,GAClID,EAAmBxC,QAAQiC,EAAqB/B,KAAK,KAAM,IAC3DsC,EAAmB/D,KAAOwD,EAAqB/B,KAAK,KAAMsC,EAAmB/D,KAAKyB,KAAKsC,G,KCnFvF,IAAIE,EAAsB9G,EAAoBW,OAAER,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F8G,EAAsB9G,EAAoBW,EAAEmG,E","sources":["webpack://@genesislcap/foundation-shell/webpack/runtime/chunk loaded","webpack://@genesislcap/foundation-shell/webpack/runtime/load script","webpack://@genesislcap/foundation-shell/./src/serviceWorker/registration.ts","webpack://@genesislcap/foundation-shell/webpack/bootstrap","webpack://@genesislcap/foundation-shell/webpack/runtime/define property getters","webpack://@genesislcap/foundation-shell/webpack/runtime/ensure chunk","webpack://@genesislcap/foundation-shell/webpack/runtime/get javascript chunk filename","webpack://@genesislcap/foundation-shell/webpack/runtime/get mini-css chunk filename","webpack://@genesislcap/foundation-shell/webpack/runtime/hasOwnProperty shorthand","webpack://@genesislcap/foundation-shell/webpack/runtime/make namespace object","webpack://@genesislcap/foundation-shell/webpack/runtime/sharing","webpack://@genesislcap/foundation-shell/webpack/runtime/publicPath","webpack://@genesislcap/foundation-shell/webpack/runtime/jsonp chunk loading","webpack://@genesislcap/foundation-shell/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"@genesislcap/foundation-shell:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nconst checkCapabilities = () => {\n if (!('serviceWorker' in navigator)) {\n throw new Error('No Service Worker support!');\n }\n if (!('PushManager' in window)) {\n throw new Error('No Push API support!');\n }\n};\nconst registerServiceWorker = (registrationOptions) => __awaiter(this, void 0, void 0, function* () { return navigator.serviceWorker.register('/sw.js', registrationOptions); });\nconst requestNotificationPermission = () => __awaiter(this, void 0, void 0, function* () {\n const permission = yield window.Notification.requestPermission();\n if (permission !== 'granted') {\n console.error('Permission not granted for Notification');\n }\n});\nwindow.addEventListener('load', () => __awaiter(this, void 0, void 0, function* () {\n checkCapabilities();\n yield requestNotificationPermission();\n yield registerServiceWorker({ scope: '/' });\n}));\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + (chunkId === 127 ? \"npm.microsoft\" : chunkId) + \".\" + chunkId + \".\" + {\"127\":\"5a4c871efe9608e160a7\",\"642\":\"445f96533bdd033b16be\",\"655\":\"c48cfaeec79c9c11e33c\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"@genesislcap/foundation-shell\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@genesislcap/foundation-logger\", \"14.132.0\", () => (__webpack_require__.e(642).then(() => (() => (__webpack_require__(642))))));\n\t\t\tregister(\"@microsoft/fast-element\", \"1.12.0\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(122))))));\n\t\t\tregister(\"tslib\", \"2.5.0\", () => (__webpack_require__.e(655).then(() => (() => (__webpack_require__(655))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t888: 0,\n\t930: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(930 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_genesislcap_foundation_shell\"] = self[\"webpackChunk_genesislcap_foundation_shell\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__.O(undefined, [930], () => (__webpack_require__(484)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","__awaiter","this","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","result","done","then","apply","registerServiceWorker","registrationOptions","navigator","serviceWorker","register","requestNotificationPermission","window","Notification","requestPermission","console","error","addEventListener","Error","checkCapabilities","scope","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","threw","__webpack_modules__","call","m","c","O","chunkIds","fn","priority","notFulfilled","Infinity","i","length","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","f","chunkId","all","reduce","promises","u","miniCssF","obj","prop","prototype","hasOwnProperty","l","url","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","S","initPromises","initTokens","I","name","initScope","initToken","indexOf","uniqueName","version","factory","eager","versions","activeVersion","loaded","from","p","installedChunks","installedChunkData","promise","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [App](./foundation-shell.app.md) > [config](./foundation-shell.app.config.md)
|
|
4
|
+
|
|
5
|
+
## App.config property
|
|
6
|
+
|
|
7
|
+
High-level app configuration.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
readonly config: AppConfig;
|
|
13
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [App](./foundation-shell.app.md) > [deregisterAssets](./foundation-shell.app.deregisterassets.md)
|
|
4
|
+
|
|
5
|
+
## App.deregisterAssets() method
|
|
6
|
+
|
|
7
|
+
Deregister assets.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
deregisterAssets(): void;
|
|
13
|
+
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
void
|
|
17
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [App](./foundation-shell.app.md) > [hasAssets](./foundation-shell.app.hasassets.md)
|
|
4
|
+
|
|
5
|
+
## App.hasAssets() method
|
|
6
|
+
|
|
7
|
+
Check if the App has registered assets.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
hasAssets(): boolean;
|
|
13
|
+
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
boolean
|
|
17
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [App](./foundation-shell.app.md)
|
|
4
|
+
|
|
5
|
+
## App interface
|
|
6
|
+
|
|
7
|
+
`App` provides APIs to register integration targets for PBCs and other actors to register their assets in bulk via token exports. It also provides specific APIs to add single assets to the application itself, like routes, elements, styles, store fragments etc.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface App extends AppAssets, AppRegister, AppValidity
|
|
13
|
+
```
|
|
14
|
+
**Extends:** [AppAssets](./foundation-shell.appassets.md)<!-- -->, [AppRegister](./foundation-shell.appregister.md)<!-- -->, [AppValidity](./foundation-shell.appvalidity.md)
|
|
15
|
+
|
|
16
|
+
## Example 1
|
|
17
|
+
|
|
18
|
+
App reference via DI.
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import { App } from '@genesislcap/foundation-shell/app';
|
|
22
|
+
...
|
|
23
|
+
@App private app: App;
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Example 2
|
|
27
|
+
|
|
28
|
+
App reference via getApp util.
|
|
29
|
+
|
|
30
|
+
```ts
|
|
31
|
+
import { getApp } from '@genesislcap/foundation-shell/app';
|
|
32
|
+
...
|
|
33
|
+
const app = getApp();
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Properties
|
|
37
|
+
|
|
38
|
+
| Property | Modifiers | Type | Description |
|
|
39
|
+
| --- | --- | --- | --- |
|
|
40
|
+
| [config](./foundation-shell.app.config.md) | <code>readonly</code> | [AppConfig](./foundation-shell.appconfig.md) | High-level app configuration. |
|
|
41
|
+
|
|
42
|
+
## Methods
|
|
43
|
+
|
|
44
|
+
| Method | Description |
|
|
45
|
+
| --- | --- |
|
|
46
|
+
| [deregisterAssets()](./foundation-shell.app.deregisterassets.md) | Deregister assets. |
|
|
47
|
+
| [hasAssets()](./foundation-shell.app.hasassets.md) | Check if the App has registered assets. |
|
|
48
|
+
| [registerAssets(assets)](./foundation-shell.app.registerassets.md) | Register assets from either a globed dynamic import or some predefined AppAssets instance. This is a one time operation. Assets had be subsequently registered and deregistered using their individual APIs. |
|
|
49
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [App](./foundation-shell.app.md) > [registerAssets](./foundation-shell.app.registerassets.md)
|
|
4
|
+
|
|
5
|
+
## App.registerAssets() method
|
|
6
|
+
|
|
7
|
+
Register assets from either a globed dynamic import or some predefined AppAssets instance. This is a one time operation. Assets had be subsequently registered and deregistered using their individual APIs.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
registerAssets(assets: Partial<AppAssets>): void;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| assets | Partial<[AppAssets](./foundation-shell.appassets.md)<!-- -->> | [AppAssets](./foundation-shell.appassets.md)<!-- -->. |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
void
|
|
24
|
+
|
|
25
|
+
## Example 1
|
|
26
|
+
|
|
27
|
+
Manual `AppAssets` registration.
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
app.registerAssets({
|
|
31
|
+
// with or without pbcAssets
|
|
32
|
+
elements: [...],
|
|
33
|
+
metadata: [...],
|
|
34
|
+
registrations: [...],
|
|
35
|
+
routes: [...],
|
|
36
|
+
styles: [...],
|
|
37
|
+
stores: [...],
|
|
38
|
+
});
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Example 2
|
|
42
|
+
|
|
43
|
+
PBC `AppAssets` registration.
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
import { importPBCAssets } from '@genesislcap/foundation-shell/pbc';
|
|
47
|
+
...
|
|
48
|
+
const pbcAssets = await importPBCAssets();
|
|
49
|
+
...
|
|
50
|
+
app.registerAssets(pbcAssets);
|
|
51
|
+
```
|
|
52
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppAssets](./foundation-shell.appassets.md) > [elements](./foundation-shell.appassets.elements.md)
|
|
4
|
+
|
|
5
|
+
## AppAssets.elements property
|
|
6
|
+
|
|
7
|
+
All [AppElement](./foundation-shell.appelement.md) tokens.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
readonly elements: AppElement[];
|
|
13
|
+
```
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppAssets](./foundation-shell.appassets.md)
|
|
4
|
+
|
|
5
|
+
## AppAssets interface
|
|
6
|
+
|
|
7
|
+
Dynamically registered assets.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface AppAssets
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
| Property | Modifiers | Type | Description |
|
|
18
|
+
| --- | --- | --- | --- |
|
|
19
|
+
| [elements](./foundation-shell.appassets.elements.md) | <code>readonly</code> | [AppElement](./foundation-shell.appelement.md)<!-- -->\[\] | All [AppElement](./foundation-shell.appelement.md) tokens. |
|
|
20
|
+
| [metadata](./foundation-shell.appassets.metadata.md) | <code>readonly</code> | [AppMetadata](./foundation-shell.appmetadata.md)<!-- -->\[\] | All [AppMetadata](./foundation-shell.appmetadata.md) tokens. |
|
|
21
|
+
| [registrations](./foundation-shell.appassets.registrations.md) | <code>readonly</code> | [AppRegistration](./foundation-shell.appregistration.md)<!-- -->\[\] | All [AppRegistration](./foundation-shell.appregistration.md) tokens. |
|
|
22
|
+
| [routes](./foundation-shell.appassets.routes.md) | <code>readonly</code> | [AppRoute](./foundation-shell.approute.md)<!-- -->\[\] | All [AppRoute](./foundation-shell.approute.md) tokens. |
|
|
23
|
+
| [stores](./foundation-shell.appassets.stores.md) | <code>readonly</code> | [AppStore](./foundation-shell.appstore.md)<!-- -->\[\] | All [AppStore](./foundation-shell.appstore.md) tokens. |
|
|
24
|
+
| [styles](./foundation-shell.appassets.styles.md) | <code>readonly</code> | [AppStyle](./foundation-shell.appstyle.md)<!-- -->\[\] | All [AppStyle](./foundation-shell.appstyle.md) tokens. |
|
|
25
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppAssets](./foundation-shell.appassets.md) > [metadata](./foundation-shell.appassets.metadata.md)
|
|
4
|
+
|
|
5
|
+
## AppAssets.metadata property
|
|
6
|
+
|
|
7
|
+
All [AppMetadata](./foundation-shell.appmetadata.md) tokens.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
readonly metadata: AppMetadata[];
|
|
13
|
+
```
|