@genesislcap/foundation-shell 14.197.0-FUI-2106.2 → 14.197.0-ng.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/118.011ddae571e6415212fda2026ecd797e.js.map +1 -0
- package/dist/118.118.25633f009b56c60fe3b7.js +3 -0
- package/dist/118.118.25633f009b56c60fe3b7.js.LICENSE.txt +4 -0
- package/dist/296.296.c039e3b693325ca815e4.js +3 -0
- package/dist/296.296.c039e3b693325ca815e4.js.LICENSE.txt +4 -0
- package/dist/296.ff8f950c7a332f70975a3eac38862a84.js.map +1 -0
- package/dist/{653.5fee96aa5ae4697c0fcb1c85d0c6b1fe.js.map → 653.2d6f903c2b917b4b5ea2ecd3beb11774.js.map} +1 -1
- package/dist/{653.653.a9de01f2a74201079fd8.js → 653.653.3ad4993346890040fc21.js} +2 -2
- package/dist/705.705.887dea7ac9d6cc2c0db1.js +20 -0
- package/dist/705.d795f35b7ad4b337c7a40230e140220e.js.map +1 -0
- package/dist/816.816.8667f42cbcef4de7366b.js +2 -0
- package/dist/{816.9feaa2f412f97296614244eebf1f91b3.js.map → 816.bfd6fa9d851aea58fcbb84267281924e.js.map} +1 -1
- package/dist/InjectManifest.803585ff0fdf2b3a18ca7fa58d5ff4cd.js.map +1 -0
- package/dist/dts/app/app.d.ts.map +1 -1
- package/dist/dts/app/behaviors.d.ts +1 -2
- package/dist/dts/app/behaviors.d.ts.map +1 -1
- package/dist/dts/app/config.d.ts +1 -1
- package/dist/dts/app/config.d.ts.map +1 -1
- package/dist/dts/app/types.d.ts +16 -10
- package/dist/dts/app/types.d.ts.map +1 -1
- package/dist/dts/app/utils.d.ts +1 -1
- package/dist/dts/app/utils.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +1 -1
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts +3 -4
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/dts/pbc/webpack/exports.d.ts.map +1 -1
- package/dist/esm/app/app.js +1 -2
- package/dist/esm/app/behaviors.js +1 -1
- package/dist/esm/app/config.js +4 -2
- package/dist/esm/app/utils.js +1 -1
- package/dist/esm/main/main.js +1 -1
- package/dist/esm/main/main.styles.js +1 -1
- package/dist/esm/main/main.template.js +1 -1
- package/dist/esm/pbc/webpack/exports.js +24 -6
- package/dist/foundation-shell.api.json +38 -17
- package/dist/foundation-shell.d.ts +31 -21
- package/dist/foundationShell.3f3810ea75c0e93771b7e97497dafc11.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/main.38658a7330c4c69ec1db.js +2 -0
- package/dist/main.83744707aea2d2fe041f931f46f0f51f.js.map +1 -0
- package/dist/npm.microsoft.544.4665f3d68b60338a25da.js +6402 -0
- package/dist/npm.microsoft.8d3dc25c4c9b4089a7fdfe04befb6293.js.map +1 -0
- package/dist/remoteEntry.js +2 -2
- package/dist/sw.js +2 -2
- package/dist/swRegistration.68b2e720d5322574644a.js +2 -0
- package/dist/swRegistration.6fdfe610fbec4c3f3e84b9d61354d259.js.map +1 -0
- package/docs/api/foundation-shell.appcontext.md +4 -1
- package/docs/api/foundation-shell.appelement.md +1 -0
- package/docs/api/foundation-shell.approute.md +1 -1
- package/docs/api/foundation-shell.appstore.md +1 -1
- package/docs/api/foundation-shell.dynamictemplate.md +1 -1
- package/docs/api/foundation-shell.loadingtemplate.md +1 -1
- package/docs/api/foundation-shell.maintemplate.md +1 -1
- package/docs/api-report.md +22 -15
- package/package.json +14 -19
- package/dist/215.215.4d15a7333e0070b7346a.js +0 -2
- package/dist/215.7def5d325f98534dca7a2f1d6e68d2df.js.map +0 -1
- package/dist/705.705.7da73f704d94d0590fa4.js +0 -20
- package/dist/705.ef882a6401940f357de055f665629b6b.js.map +0 -1
- package/dist/816.816.913409256d123ccc197f.js +0 -2
- package/dist/InjectManifest.0f9462e79479884fc2d57bb3645af85f.js.map +0 -1
- package/dist/dts/layouts/default/layout.d.ts +0 -52
- package/dist/dts/layouts/default/layout.d.ts.map +0 -1
- package/dist/dts/layouts/formatsExample/layout.d.ts +0 -52
- package/dist/dts/layouts/formatsExample/layout.d.ts.map +0 -1
- package/dist/dts/main/bootstrap.d.ts +0 -2
- package/dist/dts/main/bootstrap.d.ts.map +0 -1
- package/dist/esm/layouts/default/layout.js +0 -69
- package/dist/esm/layouts/formatsExample/layout.js +0 -69
- package/dist/esm/main/bootstrap.js +0 -35
- package/dist/foundationShell.1f062cfb19b626f2cf533cc1927f8281.js.map +0 -1
- package/dist/main.86988dc12e09156f31f03ac60982ab72.js.map +0 -1
- package/dist/main.9effe0491a9538ebe284.js +0 -2
- package/dist/npm.microsoft.544.8af3a36a8a0101fc2be0.js +0 -2
- package/dist/npm.microsoft.e1448e9854bd3d184acd40bf98db9ba9.js.map +0 -1
- package/dist/swRegistration.62e445367929dbd7e70f.js +0 -2
- package/dist/swRegistration.d7c645578557ca54d0a2775136b8b0ae.js.map +0 -1
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var foundationShell;(()=>{"use strict";var e,r,t,n,o,a,i,l,
|
|
2
|
-
//# sourceMappingURL=foundationShell.
|
|
1
|
+
var foundationShell;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,f,d,c,p={3741:(e,r,t)=>{var n={"./index":()=>t.e(653).then((()=>()=>t(653)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},h={};function v(e){var r=h[e];if(void 0!==r){if(void 0!==r.error)throw r.error;return r.exports}var t=h[e]={id:e,exports:{}},n=!0;try{p[e].call(t.exports,t,t.exports,v),n=!1}finally{n&&delete h[e]}return t.exports}v.m=p,v.c=h,e=[],v.O=(r,t,n,o)=>{if(!t){var a=1/0;for(u=0;u<e.length;u++){for(var[t,n,o]=e[u],i=!0,l=0;l<t.length;l++)(!1&o||a>=o)&&Object.keys(v.O).every((e=>v.O[e](t[l])))?t.splice(l--,1):(i=!1,o<a&&(a=o));if(i){e.splice(u--,1);var s=n();void 0!==s&&(r=s)}}return r}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[t,n,o]},v.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return v.d(r,{a:r}),r},v.d=(e,r)=>{for(var t in r)v.o(r,t)&&!v.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},v.f={},v.e=e=>Promise.all(Object.keys(v.f).reduce(((r,t)=>(v.f[t](e,r),r)),[])),v.u=e=>(544===e?"npm.microsoft":e)+"."+e+"."+{118:"25633f009b56c60fe3b7",296:"c039e3b693325ca815e4",544:"4665f3d68b60338a25da",653:"3ad4993346890040fc21",705:"887dea7ac9d6cc2c0db1",816:"8667f42cbcef4de7366b"}[e]+".js",v.miniCssF=e=>{},v.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="@genesislcap/foundation-shell:",v.l=(e,n,o,a)=>{if(r[e])r[e].push(n);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var f=s[u];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==t+o){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,v.nc&&i.setAttribute("nonce",v.nc),i.setAttribute("data-webpack",t+o),i.src=e),r[e]=[n];var d=(t,n)=>{i.onerror=i.onload=null,clearTimeout(c);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),t)return t(n)},c=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),l&&document.head.appendChild(i)}},v.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{v.S={};var e={},r={};v.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];v.o(v.S,t)||(v.S[t]={});var a=v.S[t],i="@genesislcap/foundation-shell",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];if("default"===t)l("@genesislcap/foundation-logger","14.197.0",(()=>v.e(816).then((()=>()=>v(816))))),l("@genesislcap/web-core","14.197.0",(()=>Promise.all([v.e(544),v.e(296)]).then((()=>()=>v(9165)))));return s.length?e[t]=Promise.all(s).then((()=>e[t]=1)):e[t]=1}}})(),v.p="/",n=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},o=(e,r)=>{e=n(e),r=n(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var o=e[t],a=(typeof o)[0];if(t>=r.length)return"u"==a;var i=r[t],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;t++}},a=(e,r)=>{if(0 in e){r=n(r);var t=e[0],o=t<0;o&&(t=-t-1);for(var i=0,l=1,s=!0;;l++,i++){var u,f,d=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(f=(typeof(u=r[i]))[0]))return!s||("u"==d?l>t&&!o:""==d!=o);if("u"==f){if(!s||"u"!=d)return!1}else if(s)if(d==f)if(l<=t){if(u!=e[l])return!1}else{if(o?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=d&&"n"!=d){if(o||l<=t)return!1;s=!1,l--}else{if(l<=t||f<d!=o)return!1;s=!1}else"s"!=d&&"n"!=d&&(s=!1,l--)}}var c=[],p=c.pop.bind(c);for(i=1;i<e.length;i++){var h=e[i];c.push(1==h?p()|p():2==h?p()&p():h?a(h,r):!p())}return!!p()},i=(e,r,t)=>{var n=e[r];return(r=Object.keys(n).reduce(((e,r)=>!a(t,r)||e&&!o(e,r)?e:r),0))&&n[r]},l=e=>(e.loaded=1,e.get()),s=(e=>function(r,t,n,o){var a=v.I(r);return a&&a.then?a.then(e.bind(e,r,v.S[r],t,n,o)):e(r,v.S[r],t,n,o)})(((e,r,t,n,o)=>{var a=r&&v.o(r,t)&&i(r,t,n);return a?l(a):o()})),u={},f={2651:()=>s("default","@genesislcap/web-core",[1,14,195,1],(()=>Promise.all([v.e(544),v.e(118)]).then((()=>()=>v(9165))))),5825:()=>s("default","@genesislcap/foundation-logger",[4,14,197,0],(()=>v.e(816).then((()=>()=>v(816)))))},d={705:[2651,5825]},c={},v.f.consumes=(e,r)=>{v.o(d,e)&&d[e].forEach((e=>{if(v.o(u,e))return r.push(u[e]);if(!c[e]){var t=r=>{u[e]=0,v.m[e]=t=>{delete v.c[e],t.exports=r()}};c[e]=!0;var n=r=>{delete u[e],v.m[e]=t=>{throw delete v.c[e],r}};try{var o=f[e]();o.then?r.push(u[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{var e={106:0,224:0};v.f.j=(r,t)=>{var n=v.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(224!=r){var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=v.p+v.u(r),i=new Error;v.l(a,(t=>{if(v.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}else e[r]=0},v.O.j=r=>0===e[r];var r=(r,t)=>{var n,o,[a,i,l]=t,s=0;if(a.some((r=>0!==e[r]))){for(n in i)v.o(i,n)&&(v.m[n]=i[n]);if(l)var u=l(v)}for(r&&r(t);s<a.length;s++)o=a[s],v.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return v.O(u)},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))})(),v.nc=void 0;var g=v.O(void 0,[224],(()=>v(3741)));g=v.O(g),foundationShell=g})();
|
|
2
|
+
//# sourceMappingURL=foundationShell.3f3810ea75c0e93771b7e97497dafc11.js.map
|
package/dist/sw.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{"use strict";var e={733:()=>{try{self["workbox:cacheable-response:6.5.3"]&&_()}catch(e){}},823:(e,t,n)=>{n.d(t,{c:()=>r});n(114);class r{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}},552:(e,t,n)=>{n.d(t,{R:()=>a});n(114);const r=(e,...t)=>{let n=e;return t.length>0&&(n+=` :: ${JSON.stringify(t)}`),n};class a extends Error{constructor(e,t){super(r(e,t)),this.name=e,this.details=t}}},322:(e,t,n)=>{n.d(t,{v:()=>r});n(552),n(114);const r=null},771:(e,t,n)=>{n.d(t,{e:()=>a});n(114);function r(e,t){const n=new URL(e);for(const e of t)n.searchParams.delete(e);return n.href}async function a(e,t,n,a){const s=r(t.url,n);if(t.url===s)return e.match(t,a);const i=Object.assign(Object.assign({},a),{ignoreSearch:!0}),o=await e.keys(t,i);for(const t of o){if(s===r(t.url,n))return e.match(t,a)}}},354:(e,t,n)=>{n.d(t,{n:()=>s});n(114);const r={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},a=e=>[r.prefix,e,r.suffix].filter((e=>e&&e.length>0)).join("-"),s={updateDetails:e=>{(e=>{for(const t of Object.keys(r))e(t)})((t=>{"string"==typeof e[t]&&(r[t]=e[t])}))},getGoogleAnalyticsName:e=>e||a(r.googleAnalytics),getPrecacheName:e=>e||a(r.precache),getPrefix:()=>r.prefix,getRuntimeName:e=>e||a(r.runtime),getSuffix:()=>r.suffix}},204:(e,t,n)=>{n.d(t,{V:()=>a});n(114);let r;function a(){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}},555:(e,t,n)=>{n.d(t,{S:()=>r});n(114);function r(e){e.then((()=>{}))}},715:(e,t,n)=>{n.d(t,{w:()=>a});n(468);var r=n(922);n(114);async function a(){for(const e of r.j)await e()}},312:(e,t,n)=>{n.d(t,{R:()=>r});n(114);const r=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"")},468:(e,t,n)=>{n.d(t,{v:()=>r});n(114);const r=null},37:(e,t,n)=>{n.d(t,{w:()=>r});n(114);function r(e){return new Promise((t=>setTimeout(t,e)))}},209:(e,t,n)=>{n.d(t,{a:()=>r});n(114);function r(e,t){const n=t();return e.waitUntil(n),n}},114:()=>{try{self["workbox:core:6.5.3"]&&_()}catch(e){}},707:(e,t,n)=>{n.d(t,{t:()=>s});var r=n(204),a=n(552);n(114);async function s(e,t){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new a.R("cross-origin-copy-response",{origin:n});const s=e.clone(),i={headers:new Headers(s.headers),status:s.status,statusText:s.statusText},o=t?t(i):i,c=(0,r.V)()?s.body:await s.blob();return new Response(c,o)}},922:(e,t,n)=>{n.d(t,{j:()=>r});n(114);const r=new Set},905:(e,t,n)=>{n.d(t,{$:()=>a});n(468),n(322);var r=n(922);n(114);function a(e){r.j.add(e)}},876:()=>{try{self["workbox:expiration:6.5.3"]&&_()}catch(e){}},665:()=>{try{self["workbox:precaching:6.5.3"]&&_()}catch(e){}},334:(e,t,n)=>{n.d(t,{b:()=>a});n(322),n(468);var r=n(737);n(205);class a extends r.q{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)}}},737:(e,t,n)=>{n.d(t,{q:()=>s});n(322);var r=n(683),a=n(161);n(205);class s{constructor(e,t,n=r.l){this.handler=(0,a.q)(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=(0,a.q)(e)}}},507:(e,t,n)=>{n.d(t,{I:()=>i});n(322),n(312);var r=n(683),a=(n(468),n(161)),s=n(552);n(205);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:a,route:s}=this.findMatchingRoute({event:t,request:e,sameOrigin:r,url:n});let i=s&&s.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:a})}catch(e){c=Promise.reject(e)}const l=s&&s.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:a})}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 a=this._routes.get(n.method)||[];for(const s of a){let a;const i=s.match({url:e,sameOrigin:t,request:n,event:r});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"==typeof i)&&(a=void 0),{route:s,params:a}}return{}}setDefaultHandler(e,t=r.l){this._defaultHandlerMap.set(t,(0,a.q)(e))}setCatchHandler(e){this._catchHandler=(0,a.q)(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 s.R("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new s.R("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}},205:()=>{try{self["workbox:routing:6.5.3"]&&_()}catch(e){}},502:(e,t,n)=>{n.d(t,{R:()=>o});n(468);var r=n(552),a=n(737),s=n(334),i=n(947);n(205);function o(e,t,n){let o;if("string"==typeof e){const r=new URL(e,location.href);0;const s=({url:e})=>e.href===r.href;o=new a.q(s,t,n)}else if(e instanceof RegExp)o=new s.b(e,t,n);else if("function"==typeof e)o=new a.q(e,t,n);else{if(!(e instanceof a.q))throw new r.R("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=e}return(0,i.G)().registerRoute(o),o}},683:(e,t,n)=>{n.d(t,{l:()=>r});n(205);const r="GET"},947:(e,t,n)=>{n.d(t,{G:()=>s});var r=n(507);n(205);let a;const s=()=>(a||(a=new r.I,a.addFetchListener(),a.addCacheListener()),a)},161:(e,t,n)=>{n.d(t,{q:()=>r});n(322),n(205);const r=e=>e&&"object"==typeof e?e:{handle:e}},662:(e,t,n)=>{n.d(t,{q:()=>i});var r=n(354),a=n(552),s=(n(468),n(312),n(344));n(484);class i{constructor(e={}){this.cacheName=r.n.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,a=new s.s(this,{event:t,request:n,params:r}),i=this._getResponse(a,n,t);return[i,this._awaitComplete(i,a,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 a.R("no-response",{url:t.url})}catch(a){if(a instanceof Error)for(const s of e.iterateCallbacks("handlerDidError"))if(r=await s({error:a,event:n,request:t}),r)break;if(!r)throw a}for(const a of e.iterateCallbacks("handlerWillRespond"))r=await a({event:n,request:t,response:r});return r}async _awaitComplete(e,t,n,r){let a,s;try{a=await e}catch(s){}try{await t.runCallbacks("handlerDidRespond",{event:r,request:n,response:a}),await t.doneWaiting()}catch(e){e instanceof Error&&(s=e)}if(await t.runCallbacks("handlerDidComplete",{event:r,request:n,response:a,error:s}),t.destroy(),s)throw s}}},344:(e,t,n)=>{n.d(t,{s:()=>h});n(322);var r=n(771),a=n(823),s=n(715),i=n(312),o=(n(468),n(37)),c=n(552);n(484);function l(e){return"string"==typeof e?new Request(e):e}class h{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new a.c,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.R("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}const a=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:a,response:e});return e}catch(e){throw r&&await this.runCallbacks("fetchDidFail",{error:e,event:t,originalRequest:r.clone(),request:a.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:a}=this._strategy,s=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:r});n=await caches.match(s,i);for(const e of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await e({cacheName:r,matchOptions:a,cachedResponse:n,request:s,event:this.event})||void 0;return n}async cachePut(e,t){const n=l(e);await(0,o.w)(0);const a=await this.getCacheKey(n,"write");if(!t)throw new c.R("cache-put-with-no-response",{url:(0,i.R)(a.url)});const h=await this._ensureResponseSafeToCache(t);if(!h)return!1;const{cacheName:u,matchOptions:d}=this._strategy,f=await self.caches.open(u),p=this.hasCallback("cacheDidUpdate"),g=p?await(0,r.e)(f,a.clone(),["__WB_REVISION__"],d):null;try{await f.put(a,p?h.clone():h)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await(0,s.w)(),e}for(const e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:u,oldResponse:g,newResponse:h.clone(),request:a,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 a=Object.assign(Object.assign({},r),{state:n});return t[e](a)};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}}},484:()=>{try{self["workbox:strategies:6.5.3"]&&_()}catch(e){}},215:(e,t,n)=>{n.r(t),n.d(t,{__assign:()=>s,__asyncDelegator:()=>P,__asyncGenerator:()=>C,__asyncValues:()=>k,__await:()=>x,__awaiter:()=>p,__classPrivateFieldGet:()=>T,__classPrivateFieldIn:()=>N,__classPrivateFieldSet:()=>L,__createBinding:()=>y,__decorate:()=>o,__esDecorate:()=>l,__exportStar:()=>w,__extends:()=>a,__generator:()=>g,__importDefault:()=>O,__importStar:()=>q,__makeTemplateObject:()=>E,__metadata:()=>f,__param:()=>c,__propKey:()=>u,__read:()=>_,__rest:()=>i,__runInitializers:()=>h,__setFunctionName:()=>d,__spread:()=>v,__spreadArray:()=>R,__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 a(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 s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},s.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 a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function o(e,t,n,r){var a,s=arguments.length,i=s<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--)(a=e[o])&&(i=(s<3?a(i):s>3?a(t,n,i):a(t,n))||i);return s>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,a,s){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",h=!t&&e?r.static?e:e.prototype:null,u=t||(h?Object.getOwnPropertyDescriptor(h,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");s.push(i(e||null))};var y=(0,n[f])("accessor"===c?{get:u.get,set:u.set}:u[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))&&(u.get=o),(o=i(y.set))&&(u.set=o),(o=i(y.init))&&a.push(o)}else(o=i(y))&&("field"===c?a.push(o):u[l]=o)}h&&Object.defineProperty(h,r.name,u),d=!0}function h(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function u(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(a,s){function i(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(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,a,s,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,o[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=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(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=a=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 a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}: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,a,s=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(a)throw a.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),a=0;for(t=0;t<n;t++)for(var s=arguments[t],i=0,o=s.length;i<o;i++,a++)r[a]=s[i];return r}function R(e,t,n){if(n||2===arguments.length)for(var r,a=0,s=t.length;a<s;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function C(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),s=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){a[e]&&(r[e]=function(t){return new Promise((function(n,r){s.push([e,t,n,r])>1||o(e,t)}))})}function o(e,t){try{(n=a[e](t)).value instanceof x?Promise.resolve(n.value.v).then(c,l):h(s[0][2],n)}catch(e){h(s[0][3],e)}var n}function c(e){o("next",e)}function l(e){o("throw",e)}function h(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[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,a){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:a?a(t):t}:a}}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,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(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 q(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 O(e){return e&&e.__esModule?e:{default:e}}function T(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 L(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function N(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)}},519:(e,t,n)=>{n.r(t),n.d(t,{CacheableResponse:()=>r,CacheableResponsePlugin:()=>a});n(322),n(552),n(312),n(468),n(733);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 a{constructor(e){this.cacheWillUpdate=async({response:e})=>this._cacheableResponse.isResponseCacheable(e)?e:null,this._cacheableResponse=new r(e)}}},521:(e,t,n)=>{n.r(t),n.d(t,{_private:()=>r,cacheNames:()=>b,clientsClaim:()=>x,copyResponse:()=>R.t,registerQuotaErrorCallback:()=>a.$,setCacheNameDetails:()=>C,skipWaiting:()=>P});var r={};n.r(r),n.d(r,{Deferred:()=>d.c,WorkboxError:()=>v.R,assert:()=>s.v,cacheMatchIgnoreParams:()=>o.e,cacheNames:()=>i.n,canConstructReadableStream:()=>l,canConstructResponseFromBodyStream:()=>h.V,dontWaitFor:()=>u.S,executeQuotaErrorCallbacks:()=>f.w,getFriendlyURL:()=>p.R,logger:()=>g.v,resultingClientExists:()=>m,timeout:()=>y.w,waitUntil:()=>_.a});var a=n(905),s=n(322),i=n(354),o=n(771);n(114);let c;function l(){if(void 0===c)try{new ReadableStream({start(){}}),c=!0}catch(e){c=!1}return c}var h=n(204),u=n(555),d=n(823),f=n(715),p=n(312),g=n(468),y=n(37);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 a=performance.now();for(;performance.now()-a<w&&(t=await self.clients.matchAll({type:"window"}),r=t.find((t=>e?t.id===e:!n.has(t.id))),!r);)await(0,y.w)(100);return r}var _=n(209),v=n(552);const b={get googleAnalytics(){return i.n.getGoogleAnalyticsName()},get precache(){return i.n.getPrecacheName()},get prefix(){return i.n.getPrefix()},get runtime(){return i.n.getRuntimeName()},get suffix(){return i.n.getSuffix()}};var R=n(707);function x(){self.addEventListener("activate",(()=>self.clients.claim()))}function C(e){i.n.updateDetails(e)}function P(){self.skipWaiting()}},692:(e,t,n)=>{n.r(t),n.d(t,{CacheExpiration:()=>P,ExpirationPlugin:()=>S});n(322);var r=n(555),a=(n(468),n(552));const s=(e,t)=>t.some((t=>e instanceof t));let i,o;const c=new WeakMap,l=new WeakMap,h=new WeakMap,u=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||h.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 h.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",a),e.removeEventListener("error",s),e.removeEventListener("abort",s)},a=()=>{t(),r()},s=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",a),e.addEventListener("error",s),e.addEventListener("abort",s)}));l.set(e,t)}(e),s(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",a),e.removeEventListener("error",s)},a=()=>{t(y(e.result)),r()},s=()=>{n(e.error),r()};e.addEventListener("success",a),e.addEventListener("error",s)}));return t.then((t=>{t instanceof IDBCursor&&c.set(t,e)})).catch((()=>{})),d.set(t,e),t}(e);if(u.has(e))return u.get(e);const t=g(e);return t!==e&&(u.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,a=_.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!a&&!m.includes(n))return;const s=async function(e,...t){const s=this.transaction(e,a?"readwrite":"readonly");let i=s.store;return r&&(i=i.index(t.shift())),(await Promise.all([i[n](...t),a&&s.done]))[0]};return v.set(t,s),s}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(876);const R="cache-entries",x=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(R,{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=x(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(R,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const t=await this.getDb(),n=await t.get(R,this._getId(e));return null==n?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let r=await n.transaction(R).store.index("timestamp").openCursor(null,"prev");const a=[];let s=0;for(;r;){const n=r.value;n.cacheName===this._cacheName&&(e&&n.timestamp<e||t&&s>=t?a.push(r.value):s++),r=await r.continue()}const i=[];for(const e of a)await n.delete(R,e.id),i.push(e.url);return i}_getId(e){return this._cacheName+"|"+x(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:n,upgrade:r,blocking:a,terminated:s}={}){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=>{s&&e.addEventListener("close",(()=>s())),a&&e.addEventListener("versionchange",(e=>a(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.S)(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(354),E=(n(312),n(905));class S{constructor(e={}){this.cachedResponseWillBeUsed=async({event:e,request:t,cacheName:n,cachedResponse:a})=>{if(!a)return null;const s=this._isResponseDateFresh(a),i=this._getCacheExpiration(n);(0,r.S)(i.expireEntries());const o=i.updateTimestamp(t.url);if(e)try{e.waitUntil(o)}catch(e){0}return s?a: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.$)((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===k.n.getRuntimeName())throw new a.R("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}}},355:(e,t,n)=>{n.r(t),n.d(t,{PrecacheController:()=>d,PrecacheFallbackPlugin:()=>E,PrecacheRoute:()=>m,PrecacheStrategy:()=>u,addPlugins:()=>g,addRoute:()=>_,cleanupOutdatedCaches:()=>b,createHandlerBoundToURL:()=>R,getCacheKeyForURL:()=>x,matchPrecache:()=>C,precache:()=>P,precacheAndRoute:()=>k});n(322);var r=n(354),a=(n(468),n(552)),s=n(209);n(665);function i(e){if(!e)throw new a.R("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 a.R("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),s=new URL(n,location.href);return r.searchParams.set("__WB_REVISION__",t),{cacheKey:r.href,url:s.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(707),h=(n(312),n(662));class u extends h.q{constructor(e={}){e.cacheName=r.n.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(u.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 a.R("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const a=r.integrity,s=e.integrity,i=!s||s===a;if(n=await t.fetch(new Request(e,{integrity:"no-cors"!==e.mode?s||a:void 0})),a&&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 a.R("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!==u.copyRedirectedCacheableResponsesPlugin&&(r===u.defaultPrecacheCacheabilityPlugin&&(e=n),r.cacheWillUpdate&&t++);0===t?this.plugins.push(u.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}u.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},u.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await(0,l.t)(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 u({cacheName:r.n.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),s="string"!=typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==e)throw new a.R("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 a.R("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(r,e),this._urlsToCacheModes.set(r,s),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,s.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),a=this._urlsToCacheModes.get(t),s=new Request(t,{integrity:r,cache:a,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:s,event:e}))}const{updatedURLs:n,notUpdatedURLs:r}=t;return{updatedURLs:n,notUpdatedURLs:r}}))}activate(e){return(0,s.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 a of t)n.has(a.url)||(await e.delete(a),r.push(a.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 a.R("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(502),w=n(737);class m extends w.q{constructor(e,t){super((({request:n})=>{const r=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:n="index.html",cleanURLs:r=!0,urlManipulation:a}={}){const s=new URL(e,location.href);s.hash="",yield s.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}(s,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(a){const e=a({url:s});for(const t of e)yield t.href}}(n.url,t)){const t=r.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function _(e){const t=p(),n=new m(t,e);(0,y.R)(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.n.getPrecacheName();e.waitUntil(v(t).then((e=>{0})))}))}function R(e){return p().createHandlerBoundToURL(e)}function x(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()}}},175:(e,t,n)=>{n.r(t),n.d(t,{NavigationRoute:()=>a,RegExpRoute:()=>s.b,Route:()=>r.q,Router:()=>o.I,registerRoute:()=>i.R,setCatchHandler:()=>l,setDefaultHandler:()=>h});n(322),n(468);var r=n(737);n(205);class a extends r.q{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 s=n(334),i=n(502),o=n(507),c=n(947);function l(e){(0,c.G)().setCatchHandler(e)}function h(e){(0,c.G)().setDefaultHandler(e)}},27:(e,t,n)=>{n.r(t),n.d(t,{CacheFirst:()=>s,CacheOnly:()=>i,NetworkFirst:()=>c,NetworkOnly:()=>h,StaleWhileRevalidate:()=>u,Strategy:()=>a.q,StrategyHandler:()=>d.s});n(322),n(468);var r=n(552),a=n(662);n(312),n(484);class s extends a.q{async _handle(e,t){let n,a=await t.cacheMatch(e);if(a)0;else{0;try{a=await t.fetchAndCachePut(e)}catch(e){e instanceof Error&&(n=e)}0}if(!a)throw new r.R("no-response",{url:e.url,error:n});return a}}class i extends a.q{async _handle(e,t){const n=await t.cacheMatch(e);if(!n)throw new r.R("no-response",{url:e.url});return n}}const o={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class c extends a.q{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 a=[];let s;if(this._networkTimeoutSeconds){const{id:r,promise:i}=this._getTimeoutPromise({request:e,logs:n,handler:t});s=r,a.push(i)}const i=this._getNetworkPromise({timeoutId:s,request:e,logs:n,handler:t});a.push(i);const o=await t.waitUntil((async()=>await t.waitUntil(Promise.race(a))||await i)());if(!o)throw new r.R("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 a,s;try{s=await r.fetchAndCachePut(t)}catch(e){e instanceof Error&&(a=e)}return e&&clearTimeout(e),!a&&s||(s=await r.cacheMatch(t)),s}}var l=n(37);class h extends a.q{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let n,a;try{const n=[t.fetch(e)];if(this._networkTimeoutSeconds){const e=(0,l.w)(1e3*this._networkTimeoutSeconds);n.push(e)}if(a=await Promise.race(n),!a)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(e){e instanceof Error&&(n=e)}if(!a)throw new r.R("no-response",{url:e.url,error:n});return a}}class u extends a.q{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 a,s=await t.cacheMatch(e);if(s)0;else{0;try{s=await n}catch(e){e instanceof Error&&(a=e)}}if(!s)throw new r.R("no-response",{url:e.url,error:a});return s}}var d=n(344)}},t={};function n(r){var a=t[r];if(void 0!==a){if(void 0!==a.error)throw a.error;return a.exports}var s=t[r]={exports:{}},i=!0;try{e[r](s,s.exports,n),i=!1}finally{i&&delete t[r]}return s.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,a)=>{a||(a=[]);var s=t[r];if(s||(s=t[r]={}),!(a.indexOf(s)>=0)){if(a.push(s),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 a=i[e]=i[e]||{},s=a[t];(!s||!s.loaded&&(!r!=!s.eager?r:o>s.from))&&(a[t]={get:n,from:o,eager:!!r})},l=[];if("default"===r)c("tslib","2.5.0",(()=>()=>n(215))),c("workbox-cacheable-response","6.5.4",(()=>()=>n(519))),c("workbox-core","6.5.4",(()=>()=>n(521))),c("workbox-expiration","6.5.4",(()=>()=>n(692))),c("workbox-precaching","6.5.4",(()=>()=>n(355))),c("workbox-routing","6.5.4",(()=>()=>n(175))),c("workbox-strategies","6.5.4",(()=>()=>n(27)));return l.length?e[r]=Promise.all(l).then((()=>e[r]=1)):e[r]=1}}})(),(()=>{var e,t=n(215),r=n(519),a=n(521),s=n(692),i=n(355),o=n(175),c=n(27);console.log("Hello from sw.js v0.0.1"),(0,a.clientsClaim)(),(0,i.precacheAndRoute)([{'revision':null,'url':'/215.215.4d15a7333e0070b7346a.js'},{'revision':null,'url':'/653.653.a9de01f2a74201079fd8.js'},{'revision':null,'url':'/705.705.7da73f704d94d0590fa4.js'},{'revision':null,'url':'/816.816.913409256d123ccc197f.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':'1fad8c07403e82a4bd147421fe0f6633','url':'/index.html'},{'revision':'30cb28b85891d5fcd1083a2c39bb5611','url':'/info.html'},{'revision':null,'url':'/main.9effe0491a9538ebe284.js'},{'revision':null,'url':'/npm.microsoft.544.8af3a36a8a0101fc2be0.js'},{'revision':'b6b7ab97726153018f3298e4ed241545','url':'/remoteEntry.js'},{'revision':null,'url':'/swRegistration.62e445367929dbd7e70f.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 s.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={733:()=>{try{self["workbox:cacheable-response:6.5.3"]&&_()}catch(e){}},823:(e,t,s)=>{s.d(t,{c:()=>n});s(114);class n{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}},552:(e,t,s)=>{s.d(t,{R:()=>a});s(114);const n=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};class a extends Error{constructor(e,t){super(n(e,t)),this.name=e,this.details=t}}},322:(e,t,s)=>{s.d(t,{v:()=>n});s(552),s(114);const n=null},771:(e,t,s)=>{s.d(t,{e:()=>a});s(114);function n(e,t){const s=new URL(e);for(const e of t)s.searchParams.delete(e);return s.href}async function a(e,t,s,a){const r=n(t.url,s);if(t.url===r)return e.match(t,a);const i=Object.assign(Object.assign({},a),{ignoreSearch:!0}),o=await e.keys(t,i);for(const t of o){if(r===n(t.url,s))return e.match(t,a)}}},354:(e,t,s)=>{s.d(t,{n:()=>r});s(114);const n={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},a=e=>[n.prefix,e,n.suffix].filter((e=>e&&e.length>0)).join("-"),r={updateDetails:e=>{(e=>{for(const t of Object.keys(n))e(t)})((t=>{"string"==typeof e[t]&&(n[t]=e[t])}))},getGoogleAnalyticsName:e=>e||a(n.googleAnalytics),getPrecacheName:e=>e||a(n.precache),getPrefix:()=>n.prefix,getRuntimeName:e=>e||a(n.runtime),getSuffix:()=>n.suffix}},204:(e,t,s)=>{s.d(t,{V:()=>a});s(114);let n;function a(){if(void 0===n){const e=new Response("");if("body"in e)try{new Response(e.body),n=!0}catch(e){n=!1}n=!1}return n}},555:(e,t,s)=>{s.d(t,{S:()=>n});s(114);function n(e){e.then((()=>{}))}},715:(e,t,s)=>{s.d(t,{w:()=>a});s(468);var n=s(922);s(114);async function a(){for(const e of n.j)await e()}},312:(e,t,s)=>{s.d(t,{R:()=>n});s(114);const n=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"")},468:(e,t,s)=>{s.d(t,{v:()=>n});s(114);const n=null},37:(e,t,s)=>{s.d(t,{w:()=>n});s(114);function n(e){return new Promise((t=>setTimeout(t,e)))}},209:(e,t,s)=>{s.d(t,{a:()=>n});s(114);function n(e,t){const s=t();return e.waitUntil(s),s}},114:()=>{try{self["workbox:core:6.5.3"]&&_()}catch(e){}},707:(e,t,s)=>{s.d(t,{t:()=>r});var n=s(204),a=s(552);s(114);async function r(e,t){let s=null;if(e.url){s=new URL(e.url).origin}if(s!==self.location.origin)throw new a.R("cross-origin-copy-response",{origin:s});const r=e.clone(),i={headers:new Headers(r.headers),status:r.status,statusText:r.statusText},o=t?t(i):i,c=(0,n.V)()?r.body:await r.blob();return new Response(c,o)}},922:(e,t,s)=>{s.d(t,{j:()=>n});s(114);const n=new Set},905:(e,t,s)=>{s.d(t,{$:()=>a});s(468),s(322);var n=s(922);s(114);function a(e){n.j.add(e)}},876:()=>{try{self["workbox:expiration:6.5.3"]&&_()}catch(e){}},665:()=>{try{self["workbox:precaching:6.5.3"]&&_()}catch(e){}},334:(e,t,s)=>{s.d(t,{b:()=>a});s(322),s(468);var n=s(737);s(205);class a extends n.q{constructor(e,t,s){super((({url:t})=>{const s=e.exec(t.href);if(s&&(t.origin===location.origin||0===s.index))return s.slice(1)}),t,s)}}},737:(e,t,s)=>{s.d(t,{q:()=>r});s(322);var n=s(683),a=s(161);s(205);class r{constructor(e,t,s=n.l){this.handler=(0,a.q)(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=(0,a.q)(e)}}},507:(e,t,s)=>{s.d(t,{I:()=>i});s(322),s(312);var n=s(683),a=(s(468),s(161)),r=s(552);s(205);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,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const s=Promise.all(t.urlsToCache.map((t=>{"string"==typeof t&&(t=[t]);const s=new Request(...t);return this.handleRequest({request:s,event:e})})));e.waitUntil(s),e.ports&&e.ports[0]&&s.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return void 0;const n=s.origin===location.origin,{params:a,route:r}=this.findMatchingRoute({event:t,request:e,sameOrigin:n,url:s});let i=r&&r.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:s,request:e,event:t,params:a})}catch(e){c=Promise.reject(e)}const h=r&&r.catchHandler;return c instanceof Promise&&(this._catchHandler||h)&&(c=c.catch((async n=>{if(h){0;try{return await h.handle({url:s,request:e,event:t,params:a})}catch(e){e instanceof Error&&(n=e)}}if(this._catchHandler)return this._catchHandler.handle({url:s,request:e,event:t});throw n}))),c}findMatchingRoute({url:e,sameOrigin:t,request:s,event:n}){const a=this._routes.get(s.method)||[];for(const r of a){let a;const i=r.match({url:e,sameOrigin:t,request:s,event:n});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"==typeof i)&&(a=void 0),{route:r,params:a}}return{}}setDefaultHandler(e,t=n.l){this._defaultHandlerMap.set(t,(0,a.q)(e))}setCatchHandler(e){this._catchHandler=(0,a.q)(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 r.R("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new r.R("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}},205:()=>{try{self["workbox:routing:6.5.3"]&&_()}catch(e){}},502:(e,t,s)=>{s.d(t,{R:()=>o});s(468);var n=s(552),a=s(737),r=s(334),i=s(947);s(205);function o(e,t,s){let o;if("string"==typeof e){const n=new URL(e,location.href);0;const r=({url:e})=>e.href===n.href;o=new a.q(r,t,s)}else if(e instanceof RegExp)o=new r.b(e,t,s);else if("function"==typeof e)o=new a.q(e,t,s);else{if(!(e instanceof a.q))throw new n.R("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=e}return(0,i.G)().registerRoute(o),o}},683:(e,t,s)=>{s.d(t,{l:()=>n});s(205);const n="GET"},947:(e,t,s)=>{s.d(t,{G:()=>r});var n=s(507);s(205);let a;const r=()=>(a||(a=new n.I,a.addFetchListener(),a.addCacheListener()),a)},161:(e,t,s)=>{s.d(t,{q:()=>n});s(322),s(205);const n=e=>e&&"object"==typeof e?e:{handle:e}},662:(e,t,s)=>{s.d(t,{q:()=>i});var n=s(354),a=s(552),r=(s(468),s(312),s(344));s(484);class i{constructor(e={}){this.cacheName=n.n.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,s="string"==typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new r.s(this,{event:t,request:s,params:n}),i=this._getResponse(a,s,t);return[i,this._awaitComplete(i,a,s,t)]}async _getResponse(e,t,s){let n;await e.runCallbacks("handlerWillStart",{event:s,request:t});try{if(n=await this._handle(t,e),!n||"error"===n.type)throw new a.R("no-response",{url:t.url})}catch(a){if(a instanceof Error)for(const r of e.iterateCallbacks("handlerDidError"))if(n=await r({error:a,event:s,request:t}),n)break;if(!n)throw a}for(const a of e.iterateCallbacks("handlerWillRespond"))n=await a({event:s,request:t,response:n});return n}async _awaitComplete(e,t,s,n){let a,r;try{a=await e}catch(r){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:a}),await t.doneWaiting()}catch(e){e instanceof Error&&(r=e)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:a,error:r}),t.destroy(),r)throw r}}},344:(e,t,s)=>{s.d(t,{s:()=>l});s(322);var n=s(771),a=s(823),r=s(715),i=s(312),o=(s(468),s(37)),c=s(552);s(484);function h(e){return"string"==typeof e?new Request(e):e}class l{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new a.c,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 s=h(e);if("navigate"===s.mode&&t instanceof FetchEvent&&t.preloadResponse){const e=await t.preloadResponse;if(e)return e}const n=this.hasCallback("fetchDidFail")?s.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))s=await e({request:s.clone(),event:t})}catch(e){if(e instanceof Error)throw new c.R("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}const a=s.clone();try{let e;e=await fetch(s,"navigate"===s.mode?void 0:this._strategy.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))e=await s({event:t,request:a,response:e});return e}catch(e){throw n&&await this.runCallbacks("fetchDidFail",{error:e,event:t,originalRequest:n.clone(),request:a.clone()}),e}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=h(e);let s;const{cacheName:n,matchOptions:a}=this._strategy,r=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:n});s=await caches.match(r,i);for(const e of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await e({cacheName:n,matchOptions:a,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,t){const s=h(e);await(0,o.w)(0);const a=await this.getCacheKey(s,"write");if(!t)throw new c.R("cache-put-with-no-response",{url:(0,i.R)(a.url)});const l=await this._ensureResponseSafeToCache(t);if(!l)return!1;const{cacheName:u,matchOptions:d}=this._strategy,f=await self.caches.open(u),p=this.hasCallback("cacheDidUpdate"),g=p?await(0,n.e)(f,a.clone(),["__WB_REVISION__"],d):null;try{await f.put(a,p?l.clone():l)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await(0,r.w)(),e}for(const e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:u,oldResponse:g,newResponse:l.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const s=`${e.url} | ${t}`;if(!this._cacheKeys[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=h(await e({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"==typeof t[e]){const s=this._pluginStateMap.get(t),n=n=>{const a=Object.assign(Object.assign({},n),{state:s});return t[e](a)};yield n}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const e of this.iterateCallbacks("cacheWillUpdate"))if(t=await e({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&200!==t.status&&(t=void 0),t}}},484:()=>{try{self["workbox:strategies:6.5.3"]&&_()}catch(e){}},519:(e,t,s)=>{s.r(t),s.d(t,{CacheableResponse:()=>n,CacheableResponsePlugin:()=>a});s(322),s(552),s(312),s(468),s(733);class n{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 a{constructor(e){this.cacheWillUpdate=async({response:e})=>this._cacheableResponse.isResponseCacheable(e)?e:null,this._cacheableResponse=new n(e)}}},521:(e,t,s)=>{s.r(t),s.d(t,{_private:()=>n,cacheNames:()=>R,clientsClaim:()=>x,copyResponse:()=>b.t,registerQuotaErrorCallback:()=>a.$,setCacheNameDetails:()=>C,skipWaiting:()=>k});var n={};s.r(n),s.d(n,{Deferred:()=>d.c,WorkboxError:()=>v.R,assert:()=>r.v,cacheMatchIgnoreParams:()=>o.e,cacheNames:()=>i.n,canConstructReadableStream:()=>h,canConstructResponseFromBodyStream:()=>l.V,dontWaitFor:()=>u.S,executeQuotaErrorCallbacks:()=>f.w,getFriendlyURL:()=>p.R,logger:()=>g.v,resultingClientExists:()=>y,timeout:()=>w.w,waitUntil:()=>_.a});var a=s(905),r=s(322),i=s(354),o=s(771);s(114);let c;function h(){if(void 0===c)try{new ReadableStream({start(){}}),c=!0}catch(e){c=!1}return c}var l=s(204),u=s(555),d=s(823),f=s(715),p=s(312),g=s(468),w=s(37);const m=2e3;async function y(e){if(!e)return;let t=await self.clients.matchAll({type:"window"});const s=new Set(t.map((e=>e.id)));let n;const a=performance.now();for(;performance.now()-a<m&&(t=await self.clients.matchAll({type:"window"}),n=t.find((t=>e?t.id===e:!s.has(t.id))),!n);)await(0,w.w)(100);return n}var _=s(209),v=s(552);const R={get googleAnalytics(){return i.n.getGoogleAnalyticsName()},get precache(){return i.n.getPrecacheName()},get prefix(){return i.n.getPrefix()},get runtime(){return i.n.getRuntimeName()},get suffix(){return i.n.getSuffix()}};var b=s(707);function x(){self.addEventListener("activate",(()=>self.clients.claim()))}function C(e){i.n.updateDetails(e)}function k(){self.skipWaiting()}},692:(e,t,s)=>{s.r(t),s.d(t,{CacheExpiration:()=>k,ExpirationPlugin:()=>L});s(322);var n=s(555),a=(s(468),s(552));const r=(e,t)=>t.some((t=>e instanceof t));let i,o;const c=new WeakMap,h=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap;let f={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return h.get(e);if("objectStoreNames"===t)return e.objectStoreNames||l.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return w(e[t])},set:(e,t,s)=>(e[t]=s,!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(m(this),t),w(c.get(this))}:function(...t){return w(e.apply(m(this),t))}:function(t,...s){const n=e.call(m(this),t,...s);return l.set(n,t.sort?t.sort():[t]),w(n)}}function g(e){return"function"==typeof e?p(e):(e instanceof IDBTransaction&&function(e){if(h.has(e))return;const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",r),e.removeEventListener("abort",r)},a=()=>{t(),n()},r=()=>{s(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",r),e.addEventListener("abort",r)}));h.set(e,t)}(e),r(e,i||(i=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,f):e)}function w(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",r)},a=()=>{t(w(e.result)),n()},r=()=>{s(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&c.set(t,e)})).catch((()=>{})),d.set(t,e),t}(e);if(u.has(e))return u.get(e);const t=g(e);return t!==e&&(u.set(e,t),d.set(t,e)),t}const m=e=>d.get(e);const y=["get","getKey","getAll","getAllKeys","count"],_=["put","add","delete","clear"],v=new Map;function R(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(v.get(t))return v.get(t);const s=t.replace(/FromIndex$/,""),n=t!==s,a=_.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!y.includes(s))return;const r=async function(e,...t){const r=this.transaction(e,a?"readwrite":"readonly");let i=r.store;return n&&(i=i.index(t.shift())),(await Promise.all([i[s](...t),a&&r.done]))[0]};return v.set(t,r),r}f=(e=>({...e,get:(t,s,n)=>R(t,s)||e.get(t,s,n),has:(t,s)=>!!R(t,s)||e.has(t,s)}))(f);s(876);const b="cache-entries",x=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(b,{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 s=indexedDB.deleteDatabase(e);t&&s.addEventListener("blocked",(e=>t(e.oldVersion,e))),w(s).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const s={url:e=x(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},n=(await this.getDb()).transaction(b,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(e){const t=await this.getDb(),s=await t.get(b,this._getId(e));return null==s?void 0:s.timestamp}async expireEntries(e,t){const s=await this.getDb();let n=await s.transaction(b).store.index("timestamp").openCursor(null,"prev");const a=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._cacheName&&(e&&s.timestamp<e||t&&r>=t?a.push(n.value):r++),n=await n.continue()}const i=[];for(const e of a)await s.delete(b,e.id),i.push(e.url);return i}_getId(e){return this._cacheName+"|"+x(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:s,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(e,t),o=w(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(w(i.result),e.oldVersion,e.newVersion,w(i.transaction),e)})),s&&i.addEventListener("blocked",(e=>s(e.oldVersion,e.newVersion,e))),o.then((e=>{r&&e.addEventListener("close",(()=>r())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class k{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),s=await self.caches.open(this._cacheName);for(const e of t)await s.delete(e,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,(0,n.S)(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),s=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t<s}return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}var q=s(354),E=(s(312),s(905));class L{constructor(e={}){this.cachedResponseWillBeUsed=async({event:e,request:t,cacheName:s,cachedResponse:a})=>{if(!a)return null;const r=this._isResponseDateFresh(a),i=this._getCacheExpiration(s);(0,n.S)(i.expireEntries());const o=i.updateTimestamp(t.url);if(e)try{e.waitUntil(o)}catch(e){0}return r?a:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const s=this._getCacheExpiration(e);await s.updateTimestamp(t.url),await s.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&(0,E.$)((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===q.n.getRuntimeName())throw new a.R("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new k(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"),s=new Date(t).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}},355:(e,t,s)=>{s.r(t),s.d(t,{PrecacheController:()=>d,PrecacheFallbackPlugin:()=>E,PrecacheRoute:()=>y,PrecacheStrategy:()=>u,addPlugins:()=>g,addRoute:()=>_,cleanupOutdatedCaches:()=>R,createHandlerBoundToURL:()=>b,getCacheKeyForURL:()=>x,matchPrecache:()=>C,precache:()=>k,precacheAndRoute:()=>q});s(322);var n=s(354),a=(s(468),s(552)),r=s(209);s(665);function i(e){if(!e)throw new a.R("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:s}=e;if(!s)throw new a.R("add-to-cache-list-unexpected-type",{entry:e});if(!t){const e=new URL(s,location.href);return{cacheKey:e.href,url:e.href}}const n=new URL(s,location.href),r=new URL(s,location.href);return n.searchParams.set("__WB_REVISION__",t),{cacheKey:n.href,url:r.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:s})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;s?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return s}}}class c{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const s=(null==t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return s?new Request(s,{headers:e.headers}):e},this._precacheController=e}}var h=s(707),l=(s(312),s(662));class u extends l.q{constructor(e={}){e.cacheName=n.n.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(u.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let s;const n=t.params||{};if(!this._fallbackToNetwork)throw new a.R("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const a=n.integrity,r=e.integrity,i=!r||r===a;if(s=await t.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||a:void 0})),a&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await t.cachePut(e,s.clone());0}}return s}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const s=await t.fetch(e);if(!await t.cachePut(e,s.clone()))throw new a.R("bad-precaching-response",{url:e.url,status:s.status});return s}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==u.copyRedirectedCacheableResponsesPlugin&&(n===u.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(u.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}u.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},u.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await(0,h.t)(e):e};class d{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new u({cacheName:n.n.getPrecacheName(e),plugins:[...t,new c({precacheController:this})],fallbackToNetwork:s}),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 s of e){"string"==typeof s?t.push(s):s&&void 0===s.revision&&t.push(s.url);const{cacheKey:e,url:n}=i(s),r="string"!=typeof s&&s.revision?"reload":"default";if(this._urlsToCacheKeys.has(n)&&this._urlsToCacheKeys.get(n)!==e)throw new a.R("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(n),secondEntry:e});if("string"!=typeof s&&s.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==s.integrity)throw new a.R("add-to-cache-list-conflicting-integrities",{url:n});this._cacheKeysToIntegrities.set(e,s.integrity)}if(this._urlsToCacheKeys.set(n,e),this._urlsToCacheModes.set(n,r),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,r.a)(e,(async()=>{const t=new o;this.strategy.plugins.push(t);for(const[t,s]of this._urlsToCacheKeys){const n=this._cacheKeysToIntegrities.get(s),a=this._urlsToCacheModes.get(t),r=new Request(t,{integrity:n,cache:a,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(e){return(0,r.a)(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),n=[];for(const a of t)s.has(a.url)||(await e.delete(a),n.push(a.url));return{deletedURLs:n}}))}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,s=this.getCacheKeyForURL(t);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new a.R("non-precached-url",{url:e});return s=>(s.request=new Request(e),s.params=Object.assign({cacheKey:t},s.params),this.strategy.handle(s))}}let f;const p=()=>(f||(f=new d),f);function g(e){p().strategy.plugins.push(...e)}var w=s(502),m=s(737);class y extends m.q{constructor(e,t){super((({request:s})=>{const n=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(e,location.href);r.hash="",yield r.href;const i=function(e,t=[]){for(const s of[...e.searchParams.keys()])t.some((e=>e.test(s)))&&e.searchParams.delete(s);return e}(r,t);if(yield i.href,s&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=s,yield e.href}if(n){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:r});for(const t of e)yield t.href}}(s.url,t)){const t=n.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function _(e){const t=p(),s=new y(t,e);(0,w.R)(s)}const v=async(e,t="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(t)&&s.includes(self.registration.scope)&&s!==e));return await Promise.all(s.map((e=>self.caches.delete(e)))),s};function R(){self.addEventListener("activate",(e=>{const t=n.n.getPrecacheName();e.waitUntil(v(t).then((e=>{0})))}))}function b(e){return p().createHandlerBoundToURL(e)}function x(e){return p().getCacheKeyForURL(e)}function C(e){return p().matchPrecache(e)}function k(e){p().precache(e)}function q(e,t){k(e),_(t)}class E{constructor({fallbackURL:e,precacheController:t}){this.handlerDidError=()=>this._precacheController.matchPrecache(this._fallbackURL),this._fallbackURL=e,this._precacheController=t||p()}}},175:(e,t,s)=>{s.r(t),s.d(t,{NavigationRoute:()=>a,RegExpRoute:()=>r.b,Route:()=>n.q,Router:()=>o.I,registerRoute:()=>i.R,setCatchHandler:()=>h,setDefaultHandler:()=>l});s(322),s(468);var n=s(737);s(205);class a extends n.q{constructor(e,{allowlist:t=[/./],denylist:s=[]}={}){super((e=>this._match(e)),e),this._allowlist=t,this._denylist=s}_match({url:e,request:t}){if(t&&"navigate"!==t.mode)return!1;const s=e.pathname+e.search;for(const e of this._denylist)if(e.test(s))return!1;return!!this._allowlist.some((e=>e.test(s)))}}var r=s(334),i=s(502),o=s(507),c=s(947);function h(e){(0,c.G)().setCatchHandler(e)}function l(e){(0,c.G)().setDefaultHandler(e)}},27:(e,t,s)=>{s.r(t),s.d(t,{CacheFirst:()=>r,CacheOnly:()=>i,NetworkFirst:()=>c,NetworkOnly:()=>l,StaleWhileRevalidate:()=>u,Strategy:()=>a.q,StrategyHandler:()=>d.s});s(322),s(468);var n=s(552),a=s(662);s(312),s(484);class r extends a.q{async _handle(e,t){let s,a=await t.cacheMatch(e);if(a)0;else{0;try{a=await t.fetchAndCachePut(e)}catch(e){e instanceof Error&&(s=e)}0}if(!a)throw new n.R("no-response",{url:e.url,error:s});return a}}class i extends a.q{async _handle(e,t){const s=await t.cacheMatch(e);if(!s)throw new n.R("no-response",{url:e.url});return s}}const o={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class c extends a.q{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 s=[];const a=[];let r;if(this._networkTimeoutSeconds){const{id:n,promise:i}=this._getTimeoutPromise({request:e,logs:s,handler:t});r=n,a.push(i)}const i=this._getNetworkPromise({timeoutId:r,request:e,logs:s,handler:t});a.push(i);const o=await t.waitUntil((async()=>await t.waitUntil(Promise.race(a))||await i)());if(!o)throw new n.R("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:s}){let n;return{promise:new Promise((t=>{n=setTimeout((async()=>{t(await s.cacheMatch(e))}),1e3*this._networkTimeoutSeconds)})),id:n}}async _getNetworkPromise({timeoutId:e,request:t,logs:s,handler:n}){let a,r;try{r=await n.fetchAndCachePut(t)}catch(e){e instanceof Error&&(a=e)}return e&&clearTimeout(e),!a&&r||(r=await n.cacheMatch(t)),r}}var h=s(37);class l extends a.q{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let s,a;try{const s=[t.fetch(e)];if(this._networkTimeoutSeconds){const e=(0,h.w)(1e3*this._networkTimeoutSeconds);s.push(e)}if(a=await Promise.race(s),!a)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(e){e instanceof Error&&(s=e)}if(!a)throw new n.R("no-response",{url:e.url,error:s});return a}}class u extends a.q{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(o)}async _handle(e,t){const s=t.fetchAndCachePut(e).catch((()=>{}));t.waitUntil(s);let a,r=await t.cacheMatch(e);if(r)0;else{0;try{r=await s}catch(e){e instanceof Error&&(a=e)}}if(!r)throw new n.R("no-response",{url:e.url,error:a});return r}}var d=s(344)}},t={};function s(n){var a=t[n];if(void 0!==a){if(void 0!==a.error)throw a.error;return a.exports}var r=t[n]={exports:{}},i=!0;try{e[n](r,r.exports,s),i=!1}finally{i&&delete t[n]}return r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{s.S={};var e={},t={};s.I=(n,a)=>{a||(a=[]);var r=t[n];if(r||(r=t[n]={}),!(a.indexOf(r)>=0)){if(a.push(r),e[n])return e[n];s.o(s.S,n)||(s.S[n]={});var i=s.S[n],o="@genesislcap/foundation-shell",c=(e,t,s,n)=>{var a=i[e]=i[e]||{},r=a[t];(!r||!r.loaded&&(!n!=!r.eager?n:o>r.from))&&(a[t]={get:s,from:o,eager:!!n})},h=[];if("default"===n)c("workbox-cacheable-response","6.5.4",(()=>()=>s(519))),c("workbox-core","6.5.4",(()=>()=>s(521))),c("workbox-expiration","6.5.4",(()=>()=>s(692))),c("workbox-precaching","6.5.4",(()=>()=>s(355))),c("workbox-routing","6.5.4",(()=>()=>s(175))),c("workbox-strategies","6.5.4",(()=>()=>s(27)));return h.length?e[n]=Promise.all(h).then((()=>e[n]=1)):e[n]=1}}})(),(()=>{function e(e,t,s,n){return new(s||(s=Promise))((function(a,r){function i(e){try{c(n.next(e))}catch(e){r(e)}}function o(e){try{c(n.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(i,o)}c((n=n.apply(e,t||[])).next())}))}var t,n=s(519),a=s(521),r=s(692),i=s(355),o=s(175),c=s(27);console.log("Hello from sw.js v0.0.1"),(0,a.clientsClaim)(),(0,i.precacheAndRoute)([{'revision':null,'url':'/118.118.25633f009b56c60fe3b7.js'},{'revision':null,'url':'/296.296.c039e3b693325ca815e4.js'},{'revision':null,'url':'/653.653.3ad4993346890040fc21.js'},{'revision':null,'url':'/705.705.887dea7ac9d6cc2c0db1.js'},{'revision':null,'url':'/816.816.8667f42cbcef4de7366b.js'},{'revision':'5c035540edea453294160c87b69d6efc','url':'/assets/icon.svg'},{'revision':'968c9b1e3aec8f497ac498d6ee3ff3ae','url':'/dts/app/app.d.ts'},{'revision':'078b6a5c77374f3e6010259f49de61c3','url':'/dts/app/behaviors.d.ts'},{'revision':'75ba0437a002fa52f35a11c6e031fb83','url':'/dts/app/config.d.ts'},{'revision':'15fd8d96dc0bb0147a927cd655991d61','url':'/dts/app/index.d.ts'},{'revision':'cec57cbbee9f1d99e4db496de3d6e722','url':'/dts/app/types.d.ts'},{'revision':'fab333a799c73864a775733433c0fe3d','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':'5d05b2cca398071e8b7bd80f8a37ff80','url':'/dts/main/index.d.ts'},{'revision':'127ad4e70d39a7beb238977a6ad7790c','url':'/dts/main/main.d.ts'},{'revision':'5ce23c1e29e802698be958444fcac33a','url':'/dts/main/main.styles.d.ts'},{'revision':'5a9c7f1e56b35773b19ea8fc6fd779d1','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':'fabc7f064635707fddf0ff7fc4dbd98b','url':'/index.html'},{'revision':'30cb28b85891d5fcd1083a2c39bb5611','url':'/info.html'},{'revision':null,'url':'/main.38658a7330c4c69ec1db.js'},{'revision':null,'url':'/npm.microsoft.544.4665f3d68b60338a25da.js'},{'revision':'f8e54569aca44c17490619628b309de2','url':'/remoteEntry.js'},{'revision':null,'url':'/swRegistration.68b2e720d5322574644a.js'}]||[]),(0,o.registerRoute)((({request:e})=>"navigate"===e.mode),new c.NetworkFirst({cacheName:"pages",plugins:[new n.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"style"===e.destination||"script"===e.destination||"worker"===e.destination),new c.StaleWhileRevalidate({cacheName:"assets",plugins:[new n.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"image"===e.destination),new c.CacheFirst({cacheName:"images",plugins:[new n.CacheableResponsePlugin({statuses:[200]}),new r.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3})]})),function(e){e.skipWaiting="skipWaiting"}(t||(t={})),self.addEventListener("message",(e=>{if(e.data&&e.data.type===t.skipWaiting)self.skipWaiting()}));const h={applicationServerKey:(e=>{const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),s=self.atob(t),n=new Uint8Array(s.length);for(let e=0;e<s.length;e+=1)n[e]=s.charCodeAt(e);return n})("BHjc7KuOaU4j6MNOs_Mm90By-mPPUqn8Y94I0yv-aYP03ip2nfq8ti_n1mH01QxW9mWtjY8d2-VdcblQYl1Zq-M"),userVisibleOnly:!0};self.addEventListener("activate",(()=>e(void 0,void 0,void 0,(function*(){try{const t=yield self.registration.pushManager.subscribe(h),s=yield(t=>e(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(t)})).json()})))(t);console.log(s)}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 s=t.text()||"Push Message Title";e.waitUntil(self.registration.showNotification(s,{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 s=t.data;console.log("SW notification click",s,e),"close"!==e||t.close()}))})()})();
|
|
2
|
+
//# sourceMappingURL=InjectManifest.803585ff0fdf2b3a18ca7fa58d5ff4cd.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(()=>{var e,r,o,t={260:function(){var e=this&&this.__awaiter||function(e,r,o,t){return new(o||(o=Promise))((function(n,i){function a(e){try{l(t.next(e))}catch(e){i(e)}}function s(e){try{l(t.throw(e))}catch(e){i(e)}}function l(e){var r;e.done?n(e.value):(r=e.value,r instanceof o?r:new o((function(e){e(r)}))).then(a,s)}l((t=t.apply(e,r||[])).next())}))};const r=r=>e(this,void 0,void 0,(function*(){return navigator.serviceWorker.register("/sw.js",r)})),o=()=>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 o(),yield r({scope:"/"})}))))}},n={};function i(e){var r=n[e];if(void 0!==r){if(void 0!==r.error)throw r.error;return r.exports}var o=n[e]={exports:{}},a=!0;try{t[e].call(o.exports,o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.m=t,i.c=n,e=[],i.O=(r,o,t,n)=>{if(!o){var a=1/0;for(u=0;u<e.length;u++){for(var[o,t,n]=e[u],s=!0,l=0;l<o.length;l++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](o[l])))?o.splice(l--,1):(s=!1,n<a&&(a=n));if(s){e.splice(u--,1);var d=t();void 0!==d&&(r=d)}}return r}n=n||0;for(var u=e.length;u>0&&e[u-1][2]>n;u--)e[u]=e[u-1];e[u]=[o,t,n]},i.d=(e,r)=>{for(var o in r)i.o(r,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,o)=>(i.f[o](e,r),r)),[])),i.u=e=>(544===e?"npm.microsoft":e)+"."+e+"."+{296:"c039e3b693325ca815e4",544:"4665f3d68b60338a25da",816:"8667f42cbcef4de7366b"}[e]+".js",i.miniCssF=e=>{},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},o="@genesislcap/foundation-shell:",i.l=(e,t,n,a)=>{if(r[e])r[e].push(t);else{var s,l;if(void 0!==n)for(var d=document.getElementsByTagName("script"),u=0;u<d.length;u++){var f=d[u];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==o+n){s=f;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",o+n),s.src=e),r[e]=[t];var c=(o,t)=>{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(t))),o)return o(t)},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=(o,t)=>{t||(t=[]);var n=r[o];if(n||(n=r[o]={}),!(t.indexOf(n)>=0)){if(t.push(n),e[o])return e[o];i.o(i.S,o)||(i.S[o]={});var a=i.S[o],s="@genesislcap/foundation-shell",l=(e,r,o,t)=>{var n=a[e]=a[e]||{},i=n[r];(!i||!i.loaded&&(!t!=!i.eager?t:s>i.from))&&(n[r]={get:o,from:s,eager:!!t})},d=[];if("default"===o)l("@genesislcap/foundation-logger","14.197.0",(()=>i.e(816).then((()=>()=>i(816))))),l("@genesislcap/web-core","14.197.0",(()=>Promise.all([i.e(544),i.e(296)]).then((()=>()=>i(9165)))));return d.length?e[o]=Promise.all(d).then((()=>e[o]=1)):e[o]=1}}})(),i.p="/",(()=>{var e={94:0,224:0};i.f.j=(r,o)=>{var t=i.o(e,r)?e[r]:void 0;if(0!==t)if(t)o.push(t[2]);else if(224!=r){var n=new Promise(((o,n)=>t=e[r]=[o,n]));o.push(t[2]=n);var a=i.p+i.u(r),s=new Error;i.l(a,(o=>{if(i.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var n=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.src;s.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",s.name="ChunkLoadError",s.type=n,s.request=a,t[1](s)}}),"chunk-"+r,r)}else e[r]=0},i.O.j=r=>0===e[r];var r=(r,o)=>{var t,n,[a,s,l]=o,d=0;if(a.some((r=>0!==e[r]))){for(t in s)i.o(s,t)&&(i.m[t]=s[t]);if(l)var u=l(i)}for(r&&r(o);d<a.length;d++)n=a[d],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(u)},o=self.webpackChunk_genesislcap_foundation_shell=self.webpackChunk_genesislcap_foundation_shell||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var a=i.O(void 0,[224],(()=>i(260)));a=i.O(a)})();
|
|
2
|
+
//# sourceMappingURL=swRegistration.6fdfe610fbec4c3f3e84b9d61354d259.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"swRegistration.xxxxxxxxxxxxxxxxxxxx.js","mappings":"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","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\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\tif (cachedModule.error !== undefined) throw cachedModule.error;\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 === 544 ? \"npm.microsoft\" : chunkId) + \".\" + chunkId + \".\" + {\"296\":\"c039e3b693325ca815e4\",\"544\":\"4665f3d68b60338a25da\",\"816\":\"8667f42cbcef4de7366b\"}[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.197.0\", () => (__webpack_require__.e(816).then(() => (() => (__webpack_require__(816))))));\n\t\t\tregister(\"@genesislcap/web-core\", \"14.197.0\", () => (Promise.all([__webpack_require__.e(544), __webpack_require__.e(296)]).then(() => (() => (__webpack_require__(9165))))));\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\t94: 0,\n\t224: 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(224 != 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, [224], () => (__webpack_require__(260)))\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":""}
|
|
@@ -11,6 +11,7 @@ export type AppElement<TSource = any, TParent = any, TTarget = string> = HasTarg
|
|
|
11
11
|
elements: ViewTemplate<TSource, TParent>;
|
|
12
12
|
placementIndex?: number;
|
|
13
13
|
slotId?: string;
|
|
14
|
+
[key: string]: any;
|
|
14
15
|
};
|
|
15
16
|
```
|
|
16
17
|
**References:** [HasTarget](./foundation-shell.hastarget.md)<!-- -->, [HasPredicate](./foundation-shell.haspredicate.md)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
export type AppRoute = FoundationRoute & HasElement & HasPredicate;
|
|
10
|
+
export type AppRoute = FoundationRoute & HasTitle & HasElement & HasPredicate;
|
|
11
11
|
```
|
|
12
12
|
**References:** [HasPredicate](./foundation-shell.haspredicate.md)
|
|
13
13
|
|
|
@@ -23,7 +23,7 @@ AppStore definition example.
|
|
|
23
23
|
// Setup the foundation stores your PBC needs to function, then include the following for each:
|
|
24
24
|
|
|
25
25
|
export function getNotifyStore(): NotifyStore {
|
|
26
|
-
return DI.getOrCreateDOMContainer().get(NotifyStore);
|
|
26
|
+
return DI.getOrCreateDOMContainer().get(NotifyStore) as NotifyStore;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
// The actual `AppStore` definition
|
package/docs/api-report.md
CHANGED
|
@@ -4,18 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import { Behavior } from '@
|
|
8
|
-
import { ComposableStyles } from '@
|
|
7
|
+
import { Behavior } from '@genesislcap/web-core';
|
|
8
|
+
import { ComposableStyles } from '@genesislcap/web-core';
|
|
9
9
|
import type { DesignSystemModule } from '@genesislcap/foundation-utils';
|
|
10
|
-
import
|
|
11
|
-
import { FASTElement } from '@
|
|
10
|
+
import { ElementStyles } from '@genesislcap/web-core';
|
|
11
|
+
import { FASTElement } from '@genesislcap/web-core';
|
|
12
12
|
import type { FoundationRoute } from '@genesislcap/foundation-ui';
|
|
13
13
|
import type { FoundationRouteCollection } from '@genesislcap/foundation-ui';
|
|
14
|
-
import type { HasElement } from '@
|
|
14
|
+
import type { HasElement } from '@genesislcap/web-core';
|
|
15
|
+
import type { HasTitle } from '@genesislcap/web-core';
|
|
15
16
|
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
|
16
|
-
import { RepeatOptions } from '@
|
|
17
|
+
import { RepeatOptions } from '@genesislcap/web-core';
|
|
18
|
+
import { RepeatOptions as RepeatOptions_2 } from '@microsoft/fast-element';
|
|
17
19
|
import type { StoreRoot } from '@genesislcap/foundation-store';
|
|
18
20
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
21
|
+
import { ViewTemplate as ViewTemplate_2 } from '@genesislcap/web-core';
|
|
19
22
|
|
|
20
23
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "App" because one of its declarations is marked as @internal
|
|
21
24
|
//
|
|
@@ -58,7 +61,10 @@ export type AppContext = {
|
|
|
58
61
|
env?: string;
|
|
59
62
|
domain?: string;
|
|
60
63
|
user?: {};
|
|
61
|
-
answers?: {
|
|
64
|
+
answers?: {
|
|
65
|
+
framework: string;
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
};
|
|
62
68
|
featureFlags?: {};
|
|
63
69
|
};
|
|
64
70
|
|
|
@@ -74,9 +80,10 @@ export type AppDependencyPrerequisites = {
|
|
|
74
80
|
|
|
75
81
|
// @public (undocumented)
|
|
76
82
|
export type AppElement<TSource = any, TParent = any, TTarget = string> = HasTarget<TTarget> & HasPredicate & {
|
|
77
|
-
elements:
|
|
83
|
+
elements: ViewTemplate_2<TSource, TParent>;
|
|
78
84
|
placementIndex?: number;
|
|
79
85
|
slotId?: string;
|
|
86
|
+
[key: string]: any;
|
|
80
87
|
};
|
|
81
88
|
|
|
82
89
|
// @public
|
|
@@ -117,7 +124,7 @@ export type AppRegistrationContext = {
|
|
|
117
124
|
};
|
|
118
125
|
|
|
119
126
|
// @public (undocumented)
|
|
120
|
-
export type AppRoute = FoundationRoute & HasElement & HasPredicate;
|
|
127
|
+
export type AppRoute = FoundationRoute & HasTitle & HasElement & HasPredicate;
|
|
121
128
|
|
|
122
129
|
// @public
|
|
123
130
|
export type AppRoutePredicate = (route: AppRoute, context?: AppContext) => boolean;
|
|
@@ -188,7 +195,7 @@ export class DefaultApp implements App {
|
|
|
188
195
|
registerAssets(assets: any): void;
|
|
189
196
|
registerComponents(context: any): void;
|
|
190
197
|
registerElement(element: any): void;
|
|
191
|
-
registerElementsTarget(targetId: any, predicate: any, repeatOptions?:
|
|
198
|
+
registerElementsTarget(targetId: any, predicate: any, repeatOptions?: RepeatOptions_2): ViewTemplate<any, any>;
|
|
192
199
|
registerRoute(route: any): void;
|
|
193
200
|
registerRouteCollection(routeCollection: any, predicate: any): any;
|
|
194
201
|
registerStore(store: any): void;
|
|
@@ -206,7 +213,7 @@ export class DefaultApp implements App {
|
|
|
206
213
|
export const defaultAppConfig: AppConfig;
|
|
207
214
|
|
|
208
215
|
// @public (undocumented)
|
|
209
|
-
export const DynamicTemplate: ViewTemplate<MainApplication>;
|
|
216
|
+
export const DynamicTemplate: ViewTemplate<MainApplication, any>;
|
|
210
217
|
|
|
211
218
|
// @public
|
|
212
219
|
export function getApp(): App;
|
|
@@ -249,10 +256,10 @@ export function isAppStyle(token: unknown): token is AppStyle;
|
|
|
249
256
|
export function isComposableStyles(token: unknown): token is ComposableStyles;
|
|
250
257
|
|
|
251
258
|
// @public (undocumented)
|
|
252
|
-
export function isViewTemplate(token: unknown): token is
|
|
259
|
+
export function isViewTemplate(token: unknown): token is ViewTemplate_2;
|
|
253
260
|
|
|
254
261
|
// @public (undocumented)
|
|
255
|
-
export const LoadingTemplate: ViewTemplate<MainApplication>;
|
|
262
|
+
export const LoadingTemplate: ViewTemplate<MainApplication, any>;
|
|
256
263
|
|
|
257
264
|
// @public (undocumented)
|
|
258
265
|
export class MainApplication extends FASTElement {
|
|
@@ -265,13 +272,13 @@ export class MainApplication extends FASTElement {
|
|
|
265
272
|
}
|
|
266
273
|
|
|
267
274
|
// @public (undocumented)
|
|
268
|
-
export const MainTemplate: ViewTemplate<MainApplication>;
|
|
275
|
+
export const MainTemplate: ViewTemplate<MainApplication, any>;
|
|
269
276
|
|
|
270
277
|
// @public
|
|
271
278
|
export type RegisterComponents = AppRegistration;
|
|
272
279
|
|
|
273
280
|
// @public
|
|
274
|
-
export type RegisterElementsTarget = <T = string>(targetId: AppTargetId<T>, predicate?: AppElementPredicate, repeatOptions?: RepeatOptions) =>
|
|
281
|
+
export type RegisterElementsTarget = <T = string>(targetId: AppTargetId<T>, predicate?: AppElementPredicate, repeatOptions?: RepeatOptions) => ViewTemplate_2;
|
|
275
282
|
|
|
276
283
|
// @public
|
|
277
284
|
export type RegisterRouteCollection = (routeCollection: FoundationRouteCollection, predicate?: AppRoutePredicate) => (source: unknown) => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-shell",
|
|
3
3
|
"description": "Genesis Foundation Shell",
|
|
4
|
-
"version": "14.197.0-
|
|
4
|
+
"version": "14.197.0-ng.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/dts/index.d.ts",
|
|
@@ -60,26 +60,21 @@
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@genesislcap/foundation-testing": "14.197.0-
|
|
64
|
-
"@genesislcap/genx": "14.197.0-
|
|
65
|
-
"@genesislcap/rollup-builder": "14.197.0-
|
|
66
|
-
"@genesislcap/ts-builder": "14.197.0-
|
|
67
|
-
"@genesislcap/uvu-playwright-builder": "14.197.0-
|
|
68
|
-
"@genesislcap/vite-builder": "14.197.0-
|
|
69
|
-
"@genesislcap/webpack-builder": "14.197.0-
|
|
63
|
+
"@genesislcap/foundation-testing": "14.197.0-ng.2",
|
|
64
|
+
"@genesislcap/genx": "14.197.0-ng.2",
|
|
65
|
+
"@genesislcap/rollup-builder": "14.197.0-ng.2",
|
|
66
|
+
"@genesislcap/ts-builder": "14.197.0-ng.2",
|
|
67
|
+
"@genesislcap/uvu-playwright-builder": "14.197.0-ng.2",
|
|
68
|
+
"@genesislcap/vite-builder": "14.197.0-ng.2",
|
|
69
|
+
"@genesislcap/webpack-builder": "14.197.0-ng.2",
|
|
70
70
|
"rimraf": "^5.0.0"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@genesislcap/foundation-logger": "14.197.0-
|
|
74
|
-
"@genesislcap/foundation-store": "14.197.0-
|
|
75
|
-
"@genesislcap/foundation-ui": "14.197.0-
|
|
76
|
-
"@genesislcap/foundation-utils": "14.197.0-
|
|
77
|
-
"@
|
|
78
|
-
"@microsoft/fast-foundation": "^2.49.4",
|
|
79
|
-
"@microsoft/fast-router": "^0.4.8",
|
|
80
|
-
"single-spa": "^5.9.3",
|
|
81
|
-
"single-spa-layout": "^2.0.0",
|
|
82
|
-
"tslib": "^2.3.1",
|
|
73
|
+
"@genesislcap/foundation-logger": "14.197.0-ng.2",
|
|
74
|
+
"@genesislcap/foundation-store": "14.197.0-ng.2",
|
|
75
|
+
"@genesislcap/foundation-ui": "14.197.0-ng.2",
|
|
76
|
+
"@genesislcap/foundation-utils": "14.197.0-ng.2",
|
|
77
|
+
"@genesislcap/web-core": "14.197.0-ng.2",
|
|
83
78
|
"workbox-cacheable-response": "^6.5.4",
|
|
84
79
|
"workbox-core": "^6.5.4",
|
|
85
80
|
"workbox-expiration": "^6.5.4",
|
|
@@ -95,5 +90,5 @@
|
|
|
95
90
|
"publishConfig": {
|
|
96
91
|
"access": "public"
|
|
97
92
|
},
|
|
98
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "ba81e5c1634e48f7cfd3f89392a59d8ef0549b0f"
|
|
99
94
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_foundation_shell=self.webpackChunk_genesislcap_foundation_shell||[]).push([[215],{215:(e,t,r)=>{r.r(t),r.d(t,{__assign:()=>a,__asyncDelegator:()=>S,__asyncGenerator:()=>P,__asyncValues:()=>x,__await:()=>j,__awaiter:()=>h,__classPrivateFieldGet:()=>C,__classPrivateFieldIn:()=>D,__classPrivateFieldSet:()=>A,__createBinding:()=>_,__decorate:()=>c,__esDecorate:()=>l,__exportStar:()=>b,__extends:()=>o,__generator:()=>d,__importDefault:()=>k,__importStar:()=>I,__makeTemplateObject:()=>E,__metadata:()=>y,__param:()=>u,__propKey:()=>s,__read:()=>w,__rest:()=>i,__runInitializers:()=>f,__setFunctionName:()=>p,__spread:()=>m,__spreadArray:()=>O,__spreadArrays:()=>g,__values:()=>v});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function c(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function u(e,t){return function(r,n){t(r,n,e)}}function l(e,t,r,n,o,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var c,u=n.kind,l="getter"===u?"get":"setter"===u?"set":"value",f=!t&&e?n.static?e:e.prototype:null,s=t||(f?Object.getOwnPropertyDescriptor(f,n.name):{}),p=!1,y=r.length-1;y>=0;y--){var h={};for(var d in n)h[d]="access"===d?{}:n[d];for(var d in n.access)h.access[d]=n.access[d];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var _=(0,r[y])("accessor"===u?{get:s.get,set:s.set}:s[l],h);if("accessor"===u){if(void 0===_)continue;if(null===_||"object"!=typeof _)throw new TypeError("Object expected");(c=i(_.get))&&(s.get=c),(c=i(_.set))&&(s.set=c),(c=i(_.init))&&o.push(c)}else(c=i(_))&&("field"===u?o.push(c):s[l]=c)}f&&Object.defineProperty(f,n.name,s),p=!0}function f(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function s(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function y(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{u(n.next(e))}catch(e){a(e)}}function c(e){try{u(n.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,c)}u((n=n.apply(e,t||[])).next())}))}function d(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(u){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,n=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,u])}}}var _=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function b(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||_(t,e,r)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function w(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(w(arguments[t]));return e}function g(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,c=a.length;i<c;i++,o++)n[o]=a[i];return n}function O(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function j(e){return this instanceof j?(this.v=e,this):new j(e)}function P(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),a=[];return n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n;function i(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||c(e,t)}))})}function c(e,t){try{(r=o[e](t)).value instanceof j?Promise.resolve(r.value.v).then(u,l):f(a[0][2],r)}catch(e){f(a[0][3],e)}var r}function u(e){c("next",e)}function l(e){c("throw",e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function S(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:j(e[n](t)),done:!1}:o?o(t):t}:o}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=v(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function I(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&_(t,e,r);return T(t,e),t}function k(e){return e&&e.__esModule?e:{default:e}}function C(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function A(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function D(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)}}}]);
|
|
2
|
-
//# sourceMappingURL=215.7def5d325f98534dca7a2f1d6e68d2df.js.map
|