construct-hub-webapp 0.1.265 → 0.1.269

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/.gitattributes CHANGED
@@ -7,7 +7,7 @@
7
7
  /.github/workflows/build.yml linguist-generated
8
8
  /.github/workflows/release.yml linguist-generated
9
9
  /.github/workflows/stale.yml linguist-generated
10
- /.github/workflows/upgrade.yml linguist-generated
10
+ /.github/workflows/upgrade-main.yml linguist-generated
11
11
  /.gitignore linguist-generated
12
12
  /.mergify.yml linguist-generated
13
13
  /.npmignore linguist-generated
@@ -4,19 +4,19 @@
4
4
  "static/js/0.f7351c07.chunk.js.map": "/static/js/0.f7351c07.chunk.js.map",
5
5
  "static/js/1.82bebe18.chunk.js": "/static/js/1.82bebe18.chunk.js",
6
6
  "static/js/1.82bebe18.chunk.js.map": "/static/js/1.82bebe18.chunk.js.map",
7
- "static/js/2.b2fdd50a.chunk.js": "/static/js/2.b2fdd50a.chunk.js",
8
- "static/js/2.b2fdd50a.chunk.js.map": "/static/js/2.b2fdd50a.chunk.js.map",
7
+ "static/js/2.55728af9.chunk.js": "/static/js/2.55728af9.chunk.js",
8
+ "static/js/2.55728af9.chunk.js.map": "/static/js/2.55728af9.chunk.js.map",
9
9
  "main.css": "/static/css/main.4a4137e4.chunk.css",
10
10
  "main.js": "/static/js/main.3881687f.chunk.js",
11
11
  "main.js.map": "/static/js/main.3881687f.chunk.js.map",
12
- "runtime-main.js": "/static/js/runtime-main.cd254a72.js",
13
- "runtime-main.js.map": "/static/js/runtime-main.cd254a72.js.map",
12
+ "runtime-main.js": "/static/js/runtime-main.6af5ffd0.js",
13
+ "runtime-main.js.map": "/static/js/runtime-main.6af5ffd0.js.map",
14
14
  "static/js/5.58fc032e.chunk.js": "/static/js/5.58fc032e.chunk.js",
15
15
  "static/js/5.58fc032e.chunk.js.map": "/static/js/5.58fc032e.chunk.js.map",
16
16
  "static/js/6.01c8ee88.chunk.js": "/static/js/6.01c8ee88.chunk.js",
17
17
  "static/js/6.01c8ee88.chunk.js.map": "/static/js/6.01c8ee88.chunk.js.map",
18
- "static/js/7.8d866e7c.chunk.js": "/static/js/7.8d866e7c.chunk.js",
19
- "static/js/7.8d866e7c.chunk.js.map": "/static/js/7.8d866e7c.chunk.js.map",
18
+ "static/js/7.27edd823.chunk.js": "/static/js/7.27edd823.chunk.js",
19
+ "static/js/7.27edd823.chunk.js.map": "/static/js/7.27edd823.chunk.js.map",
20
20
  "static/js/8.e442dc32.chunk.js": "/static/js/8.e442dc32.chunk.js",
21
21
  "static/js/8.e442dc32.chunk.js.map": "/static/js/8.e442dc32.chunk.js.map",
22
22
  "static/js/9.6b2d9dca.chunk.js": "/static/js/9.6b2d9dca.chunk.js",
@@ -27,8 +27,8 @@
27
27
  "static/js/11.3f509a41.chunk.js.map": "/static/js/11.3f509a41.chunk.js.map",
28
28
  "static/js/12.0bdb6c99.chunk.js": "/static/js/12.0bdb6c99.chunk.js",
29
29
  "static/js/12.0bdb6c99.chunk.js.map": "/static/js/12.0bdb6c99.chunk.js.map",
30
- "static/js/13.d8af2fa5.chunk.js": "/static/js/13.d8af2fa5.chunk.js",
31
- "static/js/13.d8af2fa5.chunk.js.map": "/static/js/13.d8af2fa5.chunk.js.map",
30
+ "static/js/13.04804547.chunk.js": "/static/js/13.04804547.chunk.js",
31
+ "static/js/13.04804547.chunk.js.map": "/static/js/13.04804547.chunk.js.map",
32
32
  "static/js/14.b7c3d07d.chunk.js": "/static/js/14.b7c3d07d.chunk.js",
33
33
  "static/js/14.b7c3d07d.chunk.js.map": "/static/js/14.b7c3d07d.chunk.js.map",
34
34
  "static/js/15.4af9e6fe.chunk.js": "/static/js/15.4af9e6fe.chunk.js",
@@ -44,7 +44,7 @@
44
44
  "static/js/6.01c8ee88.chunk.js.LICENSE.txt": "/static/js/6.01c8ee88.chunk.js.LICENSE.txt"
45
45
  },
46
46
  "entrypoints": [
47
- "static/js/runtime-main.cd254a72.js",
47
+ "static/js/runtime-main.6af5ffd0.js",
48
48
  "static/js/6.01c8ee88.chunk.js",
49
49
  "static/css/main.4a4137e4.chunk.css",
50
50
  "static/js/main.3881687f.chunk.js"
package/build/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="description" content="Construct Hub helps developers find open-source construct libraries for use with AWS CDK, CDK8s, CDKTf and other construct-based tools."/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="/favicon.ico"/><meta name="theme-color" content="#ffffff"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Construct Hub</title><link href="/static/css/main.4a4137e4.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/runtime-main.cd254a72.js"></script><script src="/static/js/6.01c8ee88.chunk.js"></script><script src="/static/js/main.3881687f.chunk.js"></script></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="description" content="Construct Hub helps developers find open-source construct libraries for use with AWS CDK, CDK8s, CDKTf and other construct-based tools."/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="/favicon.ico"/><meta name="theme-color" content="#ffffff"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Construct Hub</title><link href="/static/css/main.4a4137e4.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/runtime-main.6af5ffd0.js"></script><script src="/static/js/6.01c8ee88.chunk.js"></script><script src="/static/js/main.3881687f.chunk.js"></script></body></html>
@@ -1,2 +1,2 @@
1
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=7)}([function(e,t,r){e.exports=r(6)},function(e,t,r){"use strict";try{self["workbox:core:6.2.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:precaching:6.2.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:routing:6.2.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:strategies:6.2.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:expiration:6.2.4"]&&_()}catch(n){}},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function o(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(T){o=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),s=new C(n||[]);return i._invoke=function(e,t,r){var n=f;return function(a,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===a)throw i;return S()}for(r.method=a,r.arg=i;;){var s=r.delegate;if(s){var c=E(s,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var o=h(e,t,r);if("normal"===o.type){if(n=r.done?v:l,o.arg===d)continue;return{value:o.arg,done:r.done}}"throw"===o.type&&(n=v,r.method="throw",r.arg=o.arg)}}}(e,r,s),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(T){return{type:"throw",arg:T}}}e.wrap=u;var f="suspendedStart",l="suspendedYield",p="executing",v="completed",d={};function y(){}function b(){}function g(){}var m={};o(m,i,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(j([])));w&&w!==r&&n.call(w,i)&&(m=w);var k=g.prototype=y.prototype=Object.create(m);function _(e){["next","throw","return"].forEach((function(t){o(e,t,(function(e){return this._invoke(t,e)}))}))}function R(e,t){function r(a,i,s,c){var o=h(e[a],e,i);if("throw"!==o.type){var u=o.arg,f=u.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,c)}))}c(o.arg)}var a;this._invoke=function(e,n){function i(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(i,i):i()}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var a=h(n,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,d;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function j(e){if(e){var r=e[i];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var a=-1,s=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return s.next=s}}return{next:S}}function S(){return{value:t,done:!0}}return b.prototype=g,o(k,"constructor",g),o(g,"constructor",b),b.displayName=o(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,o(e,c,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(R.prototype),o(R.prototype,s,(function(){return this})),e.AsyncIterator=R,e.async=function(t,r,n,a,i){void 0===i&&(i=Promise);var s=new R(u(t,r,n,a),i);return e.isGeneratorFunction(r)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},_(k),o(k,c,"Generator"),o(k,i,(function(){return this})),o(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=j,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],c=s.completion;if("root"===s.tryLoc)return a("end");if(s.tryLoc<=this.prev){var o=n.call(s,"catchLoc"),u=n.call(s,"finallyLoc");if(o&&u){if(this.prev<s.catchLoc)return a(s.catchLoc,!0);if(this.prev<s.finallyLoc)return a(s.finallyLoc)}else if(o){if(this.prev<s.catchLoc)return a(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return a(s.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;O(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=n}catch(a){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function i(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.r(t);r(1);var s=null;function c(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=a(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,o=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){o=!0,s=e},f:function(){try{c||null==r.return||r.return()}finally{if(o)throw s}}}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function l(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function v(e,t){return!t||"object"!==p(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){var t=l();return function(){var r,n=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return v(this,r)}}function y(e,t,r){return y=l()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&u(a,r.prototype),a},y.apply(null,arguments)}function b(e){var t="function"===typeof Map?new Map:void 0;return b=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return y(e,arguments,f(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,e)},b(e)}var g=function(e){for(var t=e,r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return n.length>0&&(t+=" :: ".concat(JSON.stringify(n))),t},m=function(e){h(r,e);var t=d(r);function r(e,n){var a;o(this,r);var i=g(e,n);return(a=t.call(this,i)).name=e,a.details=n,a}return r}(b(Error)),x=new Set;function w(e){x.add(e)}var k,_={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},R=function(e){return[_.prefix,e,_.suffix].filter((function(e){return e&&e.length>0})).join("-")},E=function(e){!function(e){for(var t=0,r=Object.keys(_);t<r.length;t++)e(r[t])}((function(t){"string"===typeof e[t]&&(_[t]=e[t])}))},L=function(e){return e||R(_.precache)},O=function(e){return e||R(_.runtime)},C=r(0),j=r.n(C);function S(e,t,r,n,a,i,s){try{var c=e[i](s),o=c.value}catch(u){return void r(u)}c.done?t(o):Promise.resolve(o).then(n,a)}function T(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function s(e){S(i,n,a,s,c,"next",e)}function c(e){S(i,n,a,s,c,"throw",e)}s(void 0)}))}}function P(e,t){var r,n=new URL(e),a=c(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;n.searchParams.delete(i)}}catch(s){a.e(s)}finally{a.f()}return n.href}function D(e,t,r,n){return q.apply(this,arguments)}function q(){return(q=T(j.a.mark((function e(t,r,n,a){var i,s,o,u,h,f,l;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=P(r.url,n),r.url!==i){e.next=3;break}return e.abrupt("return",t.match(r,a));case 3:return s=Object.assign(Object.assign({},a),{ignoreSearch:!0}),e.next=6,t.keys(r,s);case 6:o=e.sent,u=c(o),e.prev=8,u.s();case 10:if((h=u.n()).done){e.next=17;break}if(f=h.value,l=P(f.url,n),i!==l){e.next=15;break}return e.abrupt("return",t.match(f,a));case 15:e.next=10;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(8),u.e(e.t0);case 22:return e.prev=22,u.f(),e.finish(22);case 25:return e.abrupt("return");case 26:case"end":return e.stop()}}),e,null,[[8,19,22,25]])})))).apply(this,arguments)}function N(){if(void 0===k){var e=new Response("");if("body"in e)try{new Response(e.body),k=!0}catch(t){k=!1}k=!1}return k}function U(e){e.then((function(){}))}var I=function e(){var t=this;o(this,e),this.promise=new Promise((function(e,r){t.resolve=e,t.reject=r}))};function A(){return M.apply(this,arguments)}function M(){return(M=T(j.a.mark((function e(){var t,r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0,t=c(x),e.prev=2,t.s();case 4:if((r=t.n()).done){e.next=11;break}return n=r.value,e.next=8,n();case 8:0;case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:0;case 20:case"end":return e.stop()}}),e,null,[[2,13,16,19]])})))).apply(this,arguments)}var K=function(e){return new URL(String(e),location.href).href.replace(new RegExp("^".concat(location.origin)),"")};function W(e){return new Promise((function(t){return setTimeout(t,e)}))}function B(e,t){var r=t();return e.waitUntil(r),r}function F(e,t){return H.apply(this,arguments)}function H(){return(H=T(j.a.mark((function e(t,r){var n,a,i,s,c,o;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null,t.url&&(a=new URL(t.url),n=a.origin),n===self.location.origin){e.next=4;break}throw new m("cross-origin-copy-response",{origin:n});case 4:if(i=t.clone(),s={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},c=r?r(s):s,!N()){e.next=11;break}e.t0=i.body,e.next=14;break;case 11:return e.next=13,i.blob();case 13:e.t0=e.sent;case 14:return o=e.t0,e.abrupt("return",new Response(o,c));case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V(e,t,r){return t&&G(e.prototype,t),r&&G(e,r),e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach((function(t){$(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var J,z;var X=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap;var ne={get:function(e,t,r){if(e instanceof IDBTransaction){if("done"===t)return Z.get(e);if("objectStoreNames"===t)return e.objectStoreNames||ee.get(e);if("store"===t)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return se(e[t])},set:function(e,t,r){return e[t]=r,!0},has:function(e,t){return e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e}};function ae(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(z||(z=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(ce(this),r),se(X.get(this))}:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return se(e.apply(ce(this),r))}:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var i=e.call.apply(e,[ce(this),t].concat(n));return ee.set(i,t.sort?t.sort():[t]),se(i)}}function ie(e){return"function"===typeof e?ae(e):(e instanceof IDBTransaction&&function(e){if(!Z.has(e)){var t=new Promise((function(t,r){var n=function(){e.removeEventListener("complete",a),e.removeEventListener("error",i),e.removeEventListener("abort",i)},a=function(){t(),n()},i=function(){r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",i),e.addEventListener("abort",i)}));Z.set(e,t)}}(e),t=e,(J||(J=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((function(e){return t instanceof e}))?new Proxy(e,ne):e);var t}function se(e){if(e instanceof IDBRequest)return function(e){var t=new Promise((function(t,r){var n=function(){e.removeEventListener("success",a),e.removeEventListener("error",i)},a=function(){t(se(e.result)),n()},i=function(){r(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",i)}));return t.then((function(t){t instanceof IDBCursor&&X.set(t,e)})).catch((function(){})),re.set(t,e),t}(e);if(te.has(e))return te.get(e);var t=ie(e);return t!==e&&(te.set(e,t),re.set(t,e)),t}var ce=function(e){return re.get(e)};function oe(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.blocked,a=r.upgrade,i=r.blocking,s=r.terminated,c=indexedDB.open(e,t),o=se(c);return a&&c.addEventListener("upgradeneeded",(function(e){a(se(c.result),e.oldVersion,e.newVersion,se(c.transaction))})),n&&c.addEventListener("blocked",(function(){return n()})),o.then((function(e){s&&e.addEventListener("close",(function(){return s()})),i&&e.addEventListener("versionchange",(function(){return i()}))})).catch((function(){})),o}var ue=["get","getKey","getAll","getAllKeys","count"],he=["put","add","delete","clear"],fe=new Map;function le(e,t){if(e instanceof IDBDatabase&&!(t in e)&&"string"===typeof t){if(fe.get(t))return fe.get(t);var r=t.replace(/FromIndex$/,""),n=t!==r,a=he.includes(r);if(r in(n?IDBIndex:IDBObjectStore).prototype&&(a||ue.includes(r))){var i=function(){var e=T(j.a.mark((function e(t){var i,s,c,o,u,h,f=arguments;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(s=this.transaction(t,a?"readwrite":"readonly"),c=s.store,o=f.length,u=new Array(o>1?o-1:0),h=1;h<o;h++)u[h-1]=f[h];return n&&(c=c.index(u.shift())),e.next=6,Promise.all([(i=c)[r].apply(i,u),a&&s.done]);case 6:return e.abrupt("return",e.sent[0]);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}();return fe.set(t,i),i}}}ne=function(e){return Q(Q({},e),{},{get:function(t,r,n){return le(t,r)||e.get(t,r,n)},has:function(t,r){return!!le(t,r)||e.has(t,r)}})}(ne);r(5);var pe="cache-entries",ve=function(e){var t=new URL(e,location.href);return t.hash="",t.href},de=function(){function e(t){o(this,e),this._db=null,this._cacheName=t}return V(e,[{key:"_upgradeDb",value:function(e){var t=e.createObjectStore(pe,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}},{key:"_upgradeDbAndDeleteOldDbs",value:function(e){this._upgradeDb(e),this._cacheName&&function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).blocked,r=indexedDB.deleteDatabase(e);t&&r.addEventListener("blocked",(function(){return t()})),se(r).then((function(){}))}(this._cacheName)}},{key:"setTimestamp",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=ve(t),n={url:t,timestamp:r,cacheName:this._cacheName,id:this._getId(t)},e.next=4,this.getDb();case 4:return a=e.sent,i=a.transaction(pe,"readwrite",{durability:"relaxed"}),e.next=8,i.store.put(n);case 8:return e.next=10,i.done;case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getTimestamp",value:function(){var e=T(j.a.mark((function e(t){var r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return r=e.sent,e.next=5,r.get(pe,this._getId(t));case 5:return n=e.sent,e.abrupt("return",null===n||void 0===n?void 0:n.timestamp);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"expireEntries",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i,s,c,o,u,h,f;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return n=e.sent,e.next=5,n.transaction(pe).store.index("timestamp").openCursor(null,"prev");case 5:a=e.sent,i=[],s=0;case 8:if(!a){e.next=16;break}return(c=a.value).cacheName===this._cacheName&&(t&&c.timestamp<t||r&&s>=r?i.push(a.value):s++),e.next=13,a.continue();case 13:a=e.sent,e.next=8;break;case 16:o=[],u=0,h=i;case 18:if(!(u<h.length)){e.next=26;break}return f=h[u],e.next=22,n.delete(pe,f.id);case 22:o.push(f.url);case 23:u++,e.next=18;break;case 26:return e.abrupt("return",o);case 27:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_getId",value:function(e){return this._cacheName+"|"+ve(e)}},{key:"getDb",value:function(){var e=T(j.a.mark((function e(){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._db){e.next=4;break}return e.next=3,oe("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)});case 3:this._db=e.sent;case 4:return e.abrupt("return",this._db);case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),ye=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=r.maxEntries,this._maxAgeSeconds=r.maxAgeSeconds,this._matchOptions=r.matchOptions,this._cacheName=t,this._timestampModel=new de(t)}return V(e,[{key:"expireEntries",value:function(){var e=T(j.a.mark((function e(){var t,r,n,a,i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._isRunning){e.next=3;break}return this._rerunRequested=!0,e.abrupt("return");case 3:return this._isRunning=!0,t=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,e.next=7,this._timestampModel.expireEntries(t,this._maxEntries);case 7:return r=e.sent,e.next=10,self.caches.open(this._cacheName);case 10:n=e.sent,a=c(r),e.prev=12,a.s();case 14:if((i=a.n()).done){e.next=20;break}return s=i.value,e.next=18,n.delete(s,this._matchOptions);case 18:e.next=14;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(12),a.e(e.t0);case 25:return e.prev=25,a.f(),e.finish(25);case 28:0,this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,U(this.expireEntries()));case 31:case"end":return e.stop()}}),e,this,[[12,22,25,28]])})));return function(){return e.apply(this,arguments)}}()},{key:"updateTimestamp",value:function(){var e=T(j.a.mark((function e(t){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._timestampModel.setTimestamp(t,Date.now());case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"isURLExpired",value:function(){var e=T(j.a.mark((function e(t){var r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._maxAgeSeconds){e.next=6;break}e.next=3;break;case 3:return e.abrupt("return",!1);case 6:return e.next=8,this._timestampModel.getTimestamp(t);case 8:return r=e.sent,n=Date.now()-1e3*this._maxAgeSeconds,e.abrupt("return",void 0===r||r<n);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"delete",value:function(){var e=T(j.a.mark((function e(){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._rerunRequested=!1,e.next=3,this._timestampModel.expireEntries(1/0);case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}();function be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,a=!1,i=void 0;try{for(var s,c=e[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(o){a=!0,i=o}finally{try{n||null==c.return||c.return()}finally{if(a)throw i}}return r}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ge=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.cachedResponseWillBeUsed=function(){var e=T(j.a.mark((function e(r){var n,a,i,s,c,o,u;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.event,a=r.request,i=r.cacheName,s=r.cachedResponse){e.next=3;break}return e.abrupt("return",null);case 3:if(c=t._isResponseDateFresh(s),U((o=t._getCacheExpiration(i)).expireEntries()),u=o.updateTimestamp(a.url),n)try{n.waitUntil(u)}catch(h){0}return e.abrupt("return",c?s:null);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cacheDidUpdate=function(){var e=T(j.a.mark((function e(r){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.cacheName,a=r.request,i=t._getCacheExpiration(n),e.next=5,i.updateTimestamp(a.url);case 5:return e.next=7,i.expireEntries();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this._config=r,this._maxAgeSeconds=r.maxAgeSeconds,this._cacheExpirations=new Map,r.purgeOnQuotaError&&w((function(){return t.deleteCacheAndMetadata()}))}return V(e,[{key:"_getCacheExpiration",value:function(e){if(e===O())throw new m("expire-custom-caches-only");var t=this._cacheExpirations.get(e);return t||(t=new ye(e,this._config),this._cacheExpirations.set(e,t)),t}},{key:"_isResponseDateFresh",value:function(e){if(!this._maxAgeSeconds)return!0;var t=this._getDateHeaderTimestamp(e);return null===t||t>=Date.now()-1e3*this._maxAgeSeconds}},{key:"_getDateHeaderTimestamp",value:function(e){if(!e.headers.has("date"))return null;var t=e.headers.get("date"),r=new Date(t).getTime();return isNaN(r)?null:r}},{key:"deleteCacheAndMetadata",value:function(){var e=T(j.a.mark((function e(){var t,r,n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=c(this._cacheExpirations),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=11;break}return n=be(r.value,2),a=n[0],i=n[1],e.next=7,self.caches.delete(a);case 7:return e.next=9,i.delete();case 9:e.next=3;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:this._cacheExpirations=new Map;case 20:case"end":return e.stop()}}),e,this,[[1,13,16,19]])})));return function(){return e.apply(this,arguments)}}()}]),e}();r(2);function me(e){if(!e)throw new m("add-to-cache-list-unexpected-type",{entry:e});if("string"===typeof e){var t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}var r=e.revision,n=e.url;if(!n)throw new m("add-to-cache-list-unexpected-type",{entry:e});if(!r){var a=new URL(n,location.href);return{cacheKey:a.href,url:a.href}}var i=new URL(n,location.href),s=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",r),{cacheKey:i.href,url:s.href}}var xe=function e(){var t=this;o(this,e),this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=function(){var e=T(j.a.mark((function e(t){var r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.request,(n=t.state)&&(n.originalRequest=r);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cachedResponseWillBeUsed=function(){var e=T(j.a.mark((function e(r){var n,a,i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.event,a=r.state,i=r.cachedResponse,"install"===n.type&&a&&a.originalRequest&&a.originalRequest instanceof Request&&(s=a.originalRequest.url,i?t.notUpdatedURLs.push(s):t.updatedURLs.push(s)),e.abrupt("return",i);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},we=function e(t){var r=this,n=t.precacheController;o(this,e),this.cacheKeyWillBeUsed=function(){var e=T(j.a.mark((function e(t){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.request,a=t.params,i=(null===a||void 0===a?void 0:a.cacheKey)||r._precacheController.getCacheKeyForURL(n.url),e.abrupt("return",i?new Request(i,{headers:n.headers}):n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this._precacheController=n};r(4);function ke(e){return"string"===typeof e?new Request(e):e}var _e=function(){function e(t,r){o(this,e),this._cacheKeys={},Object.assign(this,r),this.event=r.event,this._strategy=t,this._handlerDeferred=new I,this._extendLifetimePromises=[],this._plugins=i(t.plugins),this._pluginStateMap=new Map;var n,a=c(this._plugins);try{for(a.s();!(n=a.n()).done;){var s=n.value;this._pluginStateMap.set(s,{})}}catch(u){a.e(u)}finally{a.f()}this.event.waitUntil(this._handlerDeferred.promise)}return V(e,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=T(j.a.mark((function e(t){var r,n,a,i,s,o,u,h,f,l,p,v;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.event,!("navigate"===(n=ke(t)).mode&&r instanceof FetchEvent&&r.preloadResponse)){e.next=9;break}return e.next=5,r.preloadResponse;case 5:if(!(a=e.sent)){e.next=9;break}return e.abrupt("return",a);case 9:i=this.hasCallback("fetchDidFail")?n.clone():null,e.prev=10,s=c(this.iterateCallbacks("requestWillFetch")),e.prev=12,s.s();case 14:if((o=s.n()).done){e.next=21;break}return u=o.value,e.next=18,u({request:n.clone(),event:r});case 18:n=e.sent;case 19:e.next=14;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(12),s.e(e.t0);case 26:return e.prev=26,s.f(),e.finish(26);case 29:e.next=35;break;case 31:if(e.prev=31,e.t1=e.catch(10),!(e.t1 instanceof Error)){e.next=35;break}throw new m("plugin-error-request-will-fetch",{thrownErrorMessage:e.t1.message});case 35:return h=n.clone(),e.prev=36,e.next=39,fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);case 39:f=e.sent,l=c(this.iterateCallbacks("fetchDidSucceed")),e.prev=42,l.s();case 44:if((p=l.n()).done){e.next=51;break}return v=p.value,e.next=48,v({event:r,request:h,response:f});case 48:f=e.sent;case 49:e.next=44;break;case 51:e.next=56;break;case 53:e.prev=53,e.t2=e.catch(42),l.e(e.t2);case 56:return e.prev=56,l.f(),e.finish(56);case 59:return e.abrupt("return",f);case 62:if(e.prev=62,e.t3=e.catch(36),!i){e.next=68;break}return e.next=68,this.runCallbacks("fetchDidFail",{error:e.t3,event:r,originalRequest:i.clone(),request:h.clone()});case 68:throw e.t3;case 69:case"end":return e.stop()}}),e,this,[[10,31],[12,23,26,29],[36,62],[42,53,56,59]])})));return function(t){return e.apply(this,arguments)}}())},{key:"fetchAndCachePut",value:function(){var e=T(j.a.mark((function e(t){var r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetch(t);case 2:return r=e.sent,n=r.clone(),this.waitUntil(this.cachePut(t,n)),e.abrupt("return",r);case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"cacheMatch",value:function(){var e=T(j.a.mark((function e(t){var r,n,a,i,s,o,u,h,f,l;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=ke(t),a=this._strategy,i=a.cacheName,s=a.matchOptions,e.next=4,this.getCacheKey(r,"read");case 4:return o=e.sent,u=Object.assign(Object.assign({},s),{cacheName:i}),e.next=8,caches.match(o,u);case 8:n=e.sent,h=c(this.iterateCallbacks("cachedResponseWillBeUsed")),e.prev=11,h.s();case 13:if((f=h.n()).done){e.next=23;break}return l=f.value,e.next=17,l({cacheName:i,matchOptions:s,cachedResponse:n,request:o,event:this.event});case 17:if(e.t0=e.sent,e.t0){e.next=20;break}e.t0=void 0;case 20:n=e.t0;case 21:e.next=13;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(11),h.e(e.t1);case 28:return e.prev=28,h.f(),e.finish(28);case 31:return e.abrupt("return",n);case 32:case"end":return e.stop()}}),e,this,[[11,25,28,31]])})));return function(t){return e.apply(this,arguments)}}()},{key:"cachePut",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i,o,u,h,f,l,p,v,d,y,b;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=ke(t),e.next=3,W(0);case 3:return e.next=5,this.getCacheKey(n,"write");case 5:a=e.sent,e.next=11;break;case 9:(i=r.headers.get("Vary"))&&s.debug("The response for ".concat(K(a.url)," ")+"has a 'Vary: ".concat(i,"' header. ")+"Consider setting the {ignoreVary: true} option on your strategy to ensure cache matching and deletion works as expected.");case 11:if(r){e.next=14;break}throw new m("cache-put-with-no-response",{url:K(a.url)});case 14:return e.next=16,this._ensureResponseSafeToCache(r);case 16:if(o=e.sent){e.next=20;break}return e.abrupt("return",!1);case 20:return u=this._strategy,h=u.cacheName,f=u.matchOptions,e.next=23,self.caches.open(h);case 23:if(l=e.sent,!(p=this.hasCallback("cacheDidUpdate"))){e.next=31;break}return e.next=28,D(l,a.clone(),["__WB_REVISION__"],f);case 28:e.t0=e.sent,e.next=32;break;case 31:e.t0=null;case 32:return v=e.t0,e.prev=34,e.next=37,l.put(a,p?o.clone():o);case 37:e.next=46;break;case 39:if(e.prev=39,e.t1=e.catch(34),!(e.t1 instanceof Error)){e.next=46;break}if("QuotaExceededError"!==e.t1.name){e.next=45;break}return e.next=45,A();case 45:throw e.t1;case 46:d=c(this.iterateCallbacks("cacheDidUpdate")),e.prev=47,d.s();case 49:if((y=d.n()).done){e.next=55;break}return b=y.value,e.next=53,b({cacheName:h,oldResponse:v,newResponse:o.clone(),request:a,event:this.event});case 53:e.next=49;break;case 55:e.next=60;break;case 57:e.prev=57,e.t2=e.catch(47),d.e(e.t2);case 60:return e.prev=60,d.f(),e.finish(60);case 63:return e.abrupt("return",!0);case 64:case"end":return e.stop()}}),e,this,[[34,39],[47,57,60,63]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getCacheKey",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._cacheKeys[r]){e.next=23;break}n=t,a=c(this.iterateCallbacks("cacheKeyWillBeUsed")),e.prev=3,a.s();case 5:if((i=a.n()).done){e.next=14;break}return s=i.value,e.t0=ke,e.next=10,s({mode:r,request:n,event:this.event,params:this.params});case 10:e.t1=e.sent,n=(0,e.t0)(e.t1);case 12:e.next=5;break;case 14:e.next=19;break;case 16:e.prev=16,e.t2=e.catch(3),a.e(e.t2);case 19:return e.prev=19,a.f(),e.finish(19);case 22:this._cacheKeys[r]=n;case 23:return e.abrupt("return",this._cacheKeys[r]);case 24:case"end":return e.stop()}}),e,this,[[3,16,19,22]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"hasCallback",value:function(e){var t,r=c(this._strategy.plugins);try{for(r.s();!(t=r.n()).done;){if(e in t.value)return!0}}catch(n){r.e(n)}finally{r.f()}return!1}},{key:"runCallbacks",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=c(this.iterateCallbacks(t)),e.prev=1,n.s();case 3:if((a=n.n()).done){e.next=9;break}return i=a.value,e.next=7,i(r);case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"iterateCallbacks",value:j.a.mark((function e(t){var r,n,a,i=this;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=c(this._strategy.plugins),e.prev=1,a=j.a.mark((function e(){var r,a,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!==typeof(r=n.value)[t]){e.next=6;break}return a=i._pluginStateMap.get(r),s=function(e){var n=Object.assign(Object.assign({},e),{state:a});return r[t](n)},e.next=6,s;case 6:case"end":return e.stop()}}),e)})),r.s();case 4:if((n=r.n()).done){e.next=8;break}return e.delegateYield(a(),"t0",6);case 6:e.next=4;break;case 8:e.next=13;break;case 10:e.prev=10,e.t1=e.catch(1),r.e(e.t1);case 13:return e.prev=13,r.f(),e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,10,13,16]])}))},{key:"waitUntil",value:function(e){return this._extendLifetimePromises.push(e),e}},{key:"doneWaiting",value:function(){var e=T(j.a.mark((function e(){var t;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=this._extendLifetimePromises.shift())){e.next=5;break}return e.next=3,t;case 3:e.next=0;break;case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"destroy",value:function(){this._handlerDeferred.resolve(null)}},{key:"_ensureResponseSafeToCache",value:function(){var e=T(j.a.mark((function e(t){var r,n,a,i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t,n=!1,a=c(this.iterateCallbacks("cacheWillUpdate")),e.prev=3,a.s();case 5:if((i=a.n()).done){e.next=18;break}return s=i.value,e.next=9,s({request:this.request,response:r,event:this.event});case 9:if(e.t0=e.sent,e.t0){e.next=12;break}e.t0=void 0;case 12:if(r=e.t0,n=!0,r){e.next=16;break}return e.abrupt("break",18);case 16:e.next=5;break;case 18:e.next=23;break;case 20:e.prev=20,e.t1=e.catch(3),a.e(e.t1);case 23:return e.prev=23,a.f(),e.finish(23);case 26:return n||r&&200!==r.status&&(r=void 0),e.abrupt("return",r);case 28:case"end":return e.stop()}}),e,this,[[3,20,23,26]])})));return function(t){return e.apply(this,arguments)}}()}]),e}(),Re=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.cacheName=O(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}return V(e,[{key:"handle",value:function(e){return be(this.handleAll(e),1)[0]}},{key:"handleAll",value:function(e){e instanceof FetchEvent&&(e={event:e,request:e.request});var t=e.event,r="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new _e(this,{event:t,request:r,params:n}),i=this._getResponse(a,r,t);return[i,this._awaitComplete(i,a,r,t)]}},{key:"_getResponse",value:function(){var e=T(j.a.mark((function e(t,r,n){var a,i,s,o,u,h,f;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.runCallbacks("handlerWillStart",{event:n,request:r});case 2:return a=void 0,e.prev=3,e.next=6,this._handle(r,t);case 6:if((a=e.sent)&&"error"!==a.type){e.next=9;break}throw new m("no-response",{url:r.url});case 9:e.next=39;break;case 11:if(e.prev=11,e.t0=e.catch(3),!(e.t0 instanceof Error)){e.next=34;break}i=c(t.iterateCallbacks("handlerDidError")),e.prev=15,i.s();case 17:if((s=i.n()).done){e.next=26;break}return o=s.value,e.next=21,o({error:e.t0,event:n,request:r});case 21:if(!(a=e.sent)){e.next=24;break}return e.abrupt("break",26);case 24:e.next=17;break;case 26:e.next=31;break;case 28:e.prev=28,e.t1=e.catch(15),i.e(e.t1);case 31:return e.prev=31,i.f(),e.finish(31);case 34:if(a){e.next=38;break}throw e.t0;case 38:0;case 39:u=c(t.iterateCallbacks("handlerWillRespond")),e.prev=40,u.s();case 42:if((h=u.n()).done){e.next=49;break}return f=h.value,e.next=46,f({event:n,request:r,response:a});case 46:a=e.sent;case 47:e.next=42;break;case 49:e.next=54;break;case 51:e.prev=51,e.t2=e.catch(40),u.e(e.t2);case 54:return e.prev=54,u.f(),e.finish(54);case 57:return e.abrupt("return",a);case 58:case"end":return e.stop()}}),e,this,[[3,11],[15,28,31,34],[40,51,54,57]])})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"_awaitComplete",value:function(){var e=T(j.a.mark((function e(t,r,n,a){var i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t;case 3:i=e.sent,e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:return e.prev=8,e.next=11,r.runCallbacks("handlerDidRespond",{event:a,request:n,response:i});case 11:return e.next=13,r.doneWaiting();case 13:e.next=18;break;case 15:e.prev=15,e.t1=e.catch(8),e.t1 instanceof Error&&(s=e.t1);case 18:return e.next=20,r.runCallbacks("handlerDidComplete",{event:a,request:n,response:i,error:s});case 20:if(r.destroy(),!s){e.next=23;break}throw s;case 23:case"end":return e.stop()}}),e,null,[[0,6],[8,15]])})));return function(t,r,n,a){return e.apply(this,arguments)}}()}]),e}(),Ee=function(e){h(r,e);var t=d(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(this,r),n.cacheName=L(n.cacheName),(e=t.call(this,n))._fallbackToNetwork=!1!==n.fallbackToNetwork,e.plugins.push(r.copyRedirectedCacheableResponsesPlugin),e}return V(r,[{key:"_handle",value:function(){var e=T(j.a.mark((function e(t,r){var n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.cacheMatch(t);case 2:if(!(n=e.sent)){e.next=5;break}return e.abrupt("return",n);case 5:if(!r.event||"install"!==r.event.type){e.next=9;break}return e.next=8,this._handleInstall(t,r);case 8:case 11:return e.abrupt("return",e.sent);case 9:return e.next=11,this._handleFetch(t,r);case 12:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_handleFetch",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i,c,o,u;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=r.params||{},!this._fallbackToNetwork){e.next=17;break}return i=a.integrity,c=t.integrity,o=!c||c===i,e.next=8,r.fetch(new Request(t,{integrity:c||i}));case 8:if(n=e.sent,!i||!o){e.next=15;break}return this._useDefaultCacheabilityPluginIfNeeded(),e.next=13,r.cachePut(t,n.clone());case 13:e.sent;case 15:e.next=18;break;case 17:throw new m("missing-precache-entry",{cacheName:this.cacheName,url:t.url});case 18:e.next=34;break;case 23:e.t0=e.sent;case 24:u=e.t0,s.groupCollapsed("Precaching is responding to: "+K(t.url)),s.log("Serving the precached url: ".concat(K(u instanceof Request?u.url:u))),s.groupCollapsed("View request details here."),s.log(t),s.groupEnd(),s.groupCollapsed("View response details here."),s.log(n),s.groupEnd(),s.groupEnd();case 34:return e.abrupt("return",n);case 35:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_handleInstall",value:function(){var e=T(j.a.mark((function e(t,r){var n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._useDefaultCacheabilityPluginIfNeeded(),e.next=3,r.fetch(t);case 3:return n=e.sent,e.next=6,r.cachePut(t,n.clone());case 6:if(e.sent){e.next=9;break}throw new m("bad-precaching-response",{url:t.url,status:n.status});case 9:return e.abrupt("return",n);case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_useDefaultCacheabilityPluginIfNeeded",value:function(){var e,t=null,n=0,a=c(this.plugins.entries());try{for(a.s();!(e=a.n()).done;){var i=be(e.value,2),s=i[0],o=i[1];o!==r.copyRedirectedCacheableResponsesPlugin&&(o===r.defaultPrecacheCacheabilityPlugin&&(t=s),o.cacheWillUpdate&&n++)}}catch(u){a.e(u)}finally{a.f()}0===n?this.plugins.push(r.defaultPrecacheCacheabilityPlugin):n>1&&null!==t&&this.plugins.splice(t,1)}}]),r}(Re);Ee.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:function(e){return T(j.a.mark((function t(){var r;return j.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=e.response)&&!(r.status>=400)){t.next=3;break}return t.abrupt("return",null);case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})))()}},Ee.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:function(e){return T(j.a.mark((function t(){var r;return j.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=e.response).redirected){t.next=7;break}return t.next=4,F(r);case 4:t.t0=t.sent,t.next=8;break;case 7:t.t0=r;case 8:return t.abrupt("return",t.t0);case 9:case"end":return t.stop()}}),t)})))()}};var Le,Oe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheName,n=t.plugins,a=void 0===n?[]:n,s=t.fallbackToNetwork,c=void 0===s||s;o(this,e),this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new Ee({cacheName:L(r),plugins:[].concat(i(a),[new we({precacheController:this})]),fallbackToNetwork:c}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}return V(e,[{key:"strategy",get:function(){return this._strategy}},{key:"precache",value:function(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}},{key:"addToCacheList",value:function(e){var t,r=[],n=c(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;"string"===typeof a?r.push(a):a&&void 0===a.revision&&r.push(a.url);var i=me(a),s=i.cacheKey,o=i.url,u="string"!==typeof a&&a.revision?"reload":"default";if(this._urlsToCacheKeys.has(o)&&this._urlsToCacheKeys.get(o)!==s)throw new m("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(o),secondEntry:s});if("string"!==typeof a&&a.integrity){if(this._cacheKeysToIntegrities.has(s)&&this._cacheKeysToIntegrities.get(s)!==a.integrity)throw new m("add-to-cache-list-conflicting-integrities",{url:o});this._cacheKeysToIntegrities.set(s,a.integrity)}if(this._urlsToCacheKeys.set(o,s),this._urlsToCacheModes.set(o,u),r.length>0){var h="Workbox is precaching URLs without revision "+"info: ".concat(r.join(", "),"\nThis is generally NOT safe. ")+"Learn more at https://bit.ly/wb-precache";console.warn(h)}}}catch(f){n.e(f)}finally{n.f()}}},{key:"install",value:function(e){var t=this;return B(e,T(j.a.mark((function r(){var n,a,i,s,o,u,h,f,l,p,v;return j.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=new xe,t.strategy.plugins.push(n),a=c(t._urlsToCacheKeys),r.prev=3,a.s();case 5:if((i=a.n()).done){r.next=14;break}return s=be(i.value,2),o=s[0],u=s[1],h=t._cacheKeysToIntegrities.get(u),f=t._urlsToCacheModes.get(o),l=new Request(o,{integrity:h,cache:f,credentials:"same-origin"}),r.next=12,Promise.all(t.strategy.handleAll({params:{cacheKey:u},request:l,event:e}));case 12:r.next=5;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(3),a.e(r.t0);case 19:return r.prev=19,a.f(),r.finish(19);case 22:return p=n.updatedURLs,v=n.notUpdatedURLs,r.abrupt("return",{updatedURLs:p,notUpdatedURLs:v});case 25:case"end":return r.stop()}}),r,null,[[3,16,19,22]])}))))}},{key:"activate",value:function(e){var t=this;return B(e,T(j.a.mark((function e(){var r,n,a,i,s,o,u;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,self.caches.open(t.strategy.cacheName);case 2:return r=e.sent,e.next=5,r.keys();case 5:n=e.sent,a=new Set(t._urlsToCacheKeys.values()),i=[],s=c(n),e.prev=9,s.s();case 11:if((o=s.n()).done){e.next=19;break}if(u=o.value,a.has(u.url)){e.next=17;break}return e.next=16,r.delete(u);case 16:i.push(u.url);case 17:e.next=11;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(9),s.e(e.t0);case 24:return e.prev=24,s.f(),e.finish(24);case 27:return e.abrupt("return",{deletedURLs:i});case 29:case"end":return e.stop()}}),e,null,[[9,21,24,27]])}))))}},{key:"getURLsToCacheKeys",value:function(){return this._urlsToCacheKeys}},{key:"getCachedURLs",value:function(){return i(this._urlsToCacheKeys.keys())}},{key:"getCacheKeyForURL",value:function(e){var t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}},{key:"getIntegrityForCacheKey",value:function(e){return this._cacheKeysToIntegrities.get(e)}},{key:"matchPrecache",value:function(){var e=T(j.a.mark((function e(t){var r,n,a;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t instanceof Request?t.url:t,!(n=this.getCacheKeyForURL(r))){e.next=7;break}return e.next=5,self.caches.open(this.strategy.cacheName);case 5:return a=e.sent,e.abrupt("return",a.match(n));case 7:return e.abrupt("return",void 0);case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"createHandlerBoundToURL",value:function(e){var t=this,r=this.getCacheKeyForURL(e);if(!r)throw new m("non-precached-url",{url:e});return function(n){return n.request=new Request(e),n.params=Object.assign({cacheKey:r},n.params),t.strategy.handle(n)}}}]),e}(),Ce=function(){return Le||(Le=new Oe),Le};r(3);var je,Se="GET",Te=function(e){return e&&"object"===typeof e?e:{handle:e}},Pe=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Se;o(this,e),this.handler=Te(r),this.match=t,this.method=n}return V(e,[{key:"setCatchHandler",value:function(e){this.catchHandler=Te(e)}}]),e}(),De=function(e){h(r,e);var t=d(r);function r(e,n,a){o(this,r);return t.call(this,(function(t){var r=t.url,n=e.exec(r.href);if(n&&(r.origin===location.origin||0===n.index))return n.slice(1)}),n,a)}return r}(Pe),qe=function(){function e(){o(this,e),this._routes=new Map,this._defaultHandlerMap=new Map}return V(e,[{key:"routes",get:function(){return this._routes}},{key:"addFetchListener",value:function(){var e=this;self.addEventListener("fetch",(function(t){var r=t.request,n=e.handleRequest({request:r,event:t});n&&t.respondWith(n)}))}},{key:"addCacheListener",value:function(){var e=this;self.addEventListener("message",(function(t){if(t.data&&"CACHE_URLS"===t.data.type){var r=t.data.payload;0;var n=Promise.all(r.urlsToCache.map((function(r){"string"===typeof r&&(r=[r]);var n=y(Request,i(r));return e.handleRequest({request:n,event:t})})));t.waitUntil(n),t.ports&&t.ports[0]&&n.then((function(){return t.ports[0].postMessage(!0)}))}}))}},{key:"handleRequest",value:function(e){var t=this,r=e.request,n=e.event;var a=new URL(r.url,location.href);if(a.protocol.startsWith("http")){var i=a.origin===location.origin,s=this.findMatchingRoute({event:n,request:r,sameOrigin:i,url:a}),c=s.params,o=s.route,u=o&&o.handler;0;var h=r.method;if(!u&&this._defaultHandlerMap.has(h)&&(u=this._defaultHandlerMap.get(h)),u){var f;0;try{f=u.handle({url:a,request:r,event:n,params:c})}catch(p){f=Promise.reject(p)}var l=o&&o.catchHandler;return f instanceof Promise&&(this._catchHandler||l)&&(f=f.catch(function(){var e=T(j.a.mark((function e(i){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l){e.next=11;break}return e.prev=2,e.next=5,l.handle({url:a,request:r,event:n,params:c});case 5:return e.abrupt("return",e.sent);case 8:e.prev=8,e.t0=e.catch(2),e.t0 instanceof Error&&(i=e.t0);case 11:if(!t._catchHandler){e.next=14;break}return e.abrupt("return",t._catchHandler.handle({url:a,request:r,event:n}));case 14:throw i;case 15:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}())),f}}}},{key:"findMatchingRoute",value:function(e){var t,r=e.url,n=e.sameOrigin,a=e.request,i=e.event,s=c(this._routes.get(a.method)||[]);try{for(s.s();!(t=s.n()).done;){var o=t.value,u=void 0,h=o.match({url:r,sameOrigin:n,request:a,event:i});if(h)return u=h,(Array.isArray(u)&&0===u.length||h.constructor===Object&&0===Object.keys(h).length||"boolean"===typeof h)&&(u=void 0),{route:o,params:u}}}catch(f){s.e(f)}finally{s.f()}return{}}},{key:"setDefaultHandler",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Se;this._defaultHandlerMap.set(t,Te(e))}},{key:"setCatchHandler",value:function(e){this._catchHandler=Te(e)}},{key:"registerRoute",value:function(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}},{key:"unregisterRoute",value:function(e){if(!this._routes.has(e.method))throw new m("unregister-route-but-not-found-with-method",{method:e.method});var t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new m("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}]),e}(),Ne=function(){return je||((je=new qe).addFetchListener(),je.addCacheListener()),je};function Ue(e,t,r){var n;if("string"===typeof e){var a=new URL(e,location.href);n=new Pe((function(e){return e.url.href===a.href}),t,r)}else if(e instanceof RegExp)n=new De(e,t,r);else if("function"===typeof e)n=new Pe(e,t,r);else{if(!(e instanceof Pe))throw new m("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});n=e}return Ne().registerRoute(n),n}function Ie(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=function(){var r=a[n];t.some((function(e){return e.test(r)}))&&e.searchParams.delete(r)},n=0,a=i(e.searchParams.keys());n<a.length;n++)r();return e}var Ae=j.a.mark(Me);function Me(e){var t,r,n,a,i,s,o,u,h,f,l,p,v,d,y,b,g=arguments;return j.a.wrap((function(m){for(;;)switch(m.prev=m.next){case 0:return t=g.length>1&&void 0!==g[1]?g[1]:{},r=t.ignoreURLParametersMatching,n=void 0===r?[/^utm_/,/^fbclid$/]:r,a=t.directoryIndex,i=void 0===a?"index.html":a,s=t.cleanURLs,o=void 0===s||s,u=t.urlManipulation,(h=new URL(e,location.href)).hash="",m.next=5,h.href;case 5:return f=Ie(h,n),m.next=8,f.href;case 8:if(!i||!f.pathname.endsWith("/")){m.next=13;break}return(l=new URL(f.href)).pathname+=i,m.next=13,l.href;case 13:if(!o){m.next=18;break}return(p=new URL(f.href)).pathname+=".html",m.next=18,p.href;case 18:if(!u){m.next=37;break}v=u({url:h}),d=c(v),m.prev=21,d.s();case 23:if((y=d.n()).done){m.next=29;break}return b=y.value,m.next=27,b.href;case 27:m.next=23;break;case 29:m.next=34;break;case 31:m.prev=31,m.t0=m.catch(21),d.e(m.t0);case 34:return m.prev=34,d.f(),m.finish(34);case 37:case"end":return m.stop()}}),Ae,null,[[21,31,34,37]])}var Ke=function(e){h(r,e);var t=d(r);function r(e,n){o(this,r);return t.call(this,(function(t){var r,a=t.request,i=e.getURLsToCacheKeys(),s=c(Me(a.url,n));try{for(s.s();!(r=s.n()).done;){var o=r.value,u=i.get(o);if(u)return{cacheKey:u,integrity:e.getIntegrityForCacheKey(u)}}}catch(h){s.e(h)}finally{s.f()}}),e.strategy)}return r}(Pe);var We={cacheWillUpdate:function(){var e=T(j.a.mark((function e(t){var r;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(200!==(r=t.response).status&&0!==r.status){e.next=3;break}return e.abrupt("return",r);case 3:return e.abrupt("return",null);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},Be=function(e){h(r,e);var t=d(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(this,r),(e=t.call(this,n)).plugins.some((function(e){return"cacheWillUpdate"in e}))||e.plugins.unshift(We),e}return V(r,[{key:"_handle",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return[],n=r.fetchAndCachePut(t).catch((function(){})),e.next=5,r.cacheMatch(t);case 5:if(!(a=e.sent)){e.next=10;break}0,e.next=20;break;case 10:return e.prev=11,e.next=14,n;case 14:a=e.sent,e.next=20;break;case 17:e.prev=17,e.t0=e.catch(11),e.t0 instanceof Error&&(i=e.t0);case 20:if(a){e.next=23;break}throw new m("no-response",{url:t.url,error:i});case 23:return e.abrupt("return",a);case 24:case"end":return e.stop()}}),e,this,[[11,17]])})));return function(t,r){return e.apply(this,arguments)}}()}]),r}(Re),Fe="/catalog.json",He="/assembly.json",Ge="/metadata.json";self.addEventListener("activate",(function(){return self.clients.claim()})),E({prefix:"construct-hub-webapp"});var Ve,$e={headers:{"Content-Type":"application/json"}};(function(e){Ce().precache(e)})([{'revision':'a7679129bfaf150292d38b45c0b328c5','url':'/index.html'},{'revision':null,'url':'/static/css/main.4a4137e4.chunk.css'},{'revision':null,'url':'/static/js/0.f7351c07.chunk.js'},{'revision':null,'url':'/static/js/1.82bebe18.chunk.js'},{'revision':null,'url':'/static/js/10.bd757b9e.chunk.js'},{'revision':null,'url':'/static/js/11.3f509a41.chunk.js'},{'revision':null,'url':'/static/js/12.0bdb6c99.chunk.js'},{'revision':null,'url':'/static/js/13.d8af2fa5.chunk.js'},{'revision':null,'url':'/static/js/14.b7c3d07d.chunk.js'},{'revision':null,'url':'/static/js/15.4af9e6fe.chunk.js'},{'revision':null,'url':'/static/js/16.369376ac.chunk.js'},{'revision':null,'url':'/static/js/2.b2fdd50a.chunk.js'},{'revision':null,'url':'/static/js/5.58fc032e.chunk.js'},{'revision':null,'url':'/static/js/6.01c8ee88.chunk.js'},{'revision':null,'url':'/static/js/7.8d866e7c.chunk.js'},{'revision':null,'url':'/static/js/8.e442dc32.chunk.js'},{'revision':null,'url':'/static/js/9.6b2d9dca.chunk.js'},{'revision':null,'url':'/static/js/main.3881687f.chunk.js'},{'revision':null,'url':'/static/js/runtime-main.cd254a72.js'}]),function(e){var t=Ce();Ue(new Ke(t,e))}(Ve);var Ye,Qe=new RegExp("/[^/?]+\\.[^/]+$");Ue((function(e){var t=e.request,r=e.url;return"navigate"===t.mode&&(!(!r.pathname.startsWith("/packages")||r.pathname.endsWith(".json"))||!r.pathname.startsWith("/_")&&!r.pathname.match(Qe))}),(Ye="/index.html",Ce().createHandlerBoundToURL(Ye))),self.addEventListener("message",(function(e){e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),Ue(new RegExp(/\/static\//),new Be({cacheName:"static-resources"})),Ue((function(e){var t=e.url;return t.origin===self.origin&&t.pathname.endsWith(He)}),new Be({fetchOptions:$e,cacheName:"assembly-jsii",plugins:[new ge({maxEntries:100})]})),Ue((function(e){var t=e.url;return t.origin===self.origin&&t.pathname.endsWith(Ge)}),new Be({fetchOptions:$e,cacheName:"assembly-metadata",plugins:[new ge({maxEntries:100})]})),Ue((function(e){var t=e.url;return t.origin===self.origin&&t.pathname.endsWith(Fe)}),new Be({fetchOptions:$e,cacheName:"assembly-catalog"}))}]);
1
+ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=7)}([function(e,t,r){e.exports=r(6)},function(e,t,r){"use strict";try{self["workbox:core:6.2.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:precaching:6.2.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:routing:6.2.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:strategies:6.2.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:expiration:6.2.4"]&&_()}catch(n){}},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function o(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(T){o=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),s=new C(n||[]);return i._invoke=function(e,t,r){var n=f;return function(a,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===a)throw i;return S()}for(r.method=a,r.arg=i;;){var s=r.delegate;if(s){var c=E(s,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var o=h(e,t,r);if("normal"===o.type){if(n=r.done?v:l,o.arg===d)continue;return{value:o.arg,done:r.done}}"throw"===o.type&&(n=v,r.method="throw",r.arg=o.arg)}}}(e,r,s),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(T){return{type:"throw",arg:T}}}e.wrap=u;var f="suspendedStart",l="suspendedYield",p="executing",v="completed",d={};function y(){}function b(){}function g(){}var m={};o(m,i,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(j([])));w&&w!==r&&n.call(w,i)&&(m=w);var k=g.prototype=y.prototype=Object.create(m);function _(e){["next","throw","return"].forEach((function(t){o(e,t,(function(e){return this._invoke(t,e)}))}))}function R(e,t){function r(a,i,s,c){var o=h(e[a],e,i);if("throw"!==o.type){var u=o.arg,f=u.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,c)}))}c(o.arg)}var a;this._invoke=function(e,n){function i(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(i,i):i()}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var a=h(n,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,d;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function j(e){if(e){var r=e[i];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var a=-1,s=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return s.next=s}}return{next:S}}function S(){return{value:t,done:!0}}return b.prototype=g,o(k,"constructor",g),o(g,"constructor",b),b.displayName=o(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,o(e,c,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(R.prototype),o(R.prototype,s,(function(){return this})),e.AsyncIterator=R,e.async=function(t,r,n,a,i){void 0===i&&(i=Promise);var s=new R(u(t,r,n,a),i);return e.isGeneratorFunction(r)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},_(k),o(k,c,"Generator"),o(k,i,(function(){return this})),o(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=j,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],c=s.completion;if("root"===s.tryLoc)return a("end");if(s.tryLoc<=this.prev){var o=n.call(s,"catchLoc"),u=n.call(s,"finallyLoc");if(o&&u){if(this.prev<s.catchLoc)return a(s.catchLoc,!0);if(this.prev<s.finallyLoc)return a(s.finallyLoc)}else if(o){if(this.prev<s.catchLoc)return a(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return a(s.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;O(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=n}catch(a){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function i(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.r(t);r(1);var s=null;function c(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=a(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,o=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){o=!0,s=e},f:function(){try{c||null==r.return||r.return()}finally{if(o)throw s}}}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function l(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function v(e,t){return!t||"object"!==p(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){var t=l();return function(){var r,n=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return v(this,r)}}function y(e,t,r){return y=l()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&u(a,r.prototype),a},y.apply(null,arguments)}function b(e){var t="function"===typeof Map?new Map:void 0;return b=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return y(e,arguments,f(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,e)},b(e)}var g=function(e){for(var t=e,r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return n.length>0&&(t+=" :: ".concat(JSON.stringify(n))),t},m=function(e){h(r,e);var t=d(r);function r(e,n){var a;o(this,r);var i=g(e,n);return(a=t.call(this,i)).name=e,a.details=n,a}return r}(b(Error)),x=new Set;function w(e){x.add(e)}var k,_={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},R=function(e){return[_.prefix,e,_.suffix].filter((function(e){return e&&e.length>0})).join("-")},E=function(e){!function(e){for(var t=0,r=Object.keys(_);t<r.length;t++)e(r[t])}((function(t){"string"===typeof e[t]&&(_[t]=e[t])}))},L=function(e){return e||R(_.precache)},O=function(e){return e||R(_.runtime)},C=r(0),j=r.n(C);function S(e,t,r,n,a,i,s){try{var c=e[i](s),o=c.value}catch(u){return void r(u)}c.done?t(o):Promise.resolve(o).then(n,a)}function T(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function s(e){S(i,n,a,s,c,"next",e)}function c(e){S(i,n,a,s,c,"throw",e)}s(void 0)}))}}function P(e,t){var r,n=new URL(e),a=c(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;n.searchParams.delete(i)}}catch(s){a.e(s)}finally{a.f()}return n.href}function D(e,t,r,n){return q.apply(this,arguments)}function q(){return(q=T(j.a.mark((function e(t,r,n,a){var i,s,o,u,h,f,l;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=P(r.url,n),r.url!==i){e.next=3;break}return e.abrupt("return",t.match(r,a));case 3:return s=Object.assign(Object.assign({},a),{ignoreSearch:!0}),e.next=6,t.keys(r,s);case 6:o=e.sent,u=c(o),e.prev=8,u.s();case 10:if((h=u.n()).done){e.next=17;break}if(f=h.value,l=P(f.url,n),i!==l){e.next=15;break}return e.abrupt("return",t.match(f,a));case 15:e.next=10;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(8),u.e(e.t0);case 22:return e.prev=22,u.f(),e.finish(22);case 25:return e.abrupt("return");case 26:case"end":return e.stop()}}),e,null,[[8,19,22,25]])})))).apply(this,arguments)}function N(){if(void 0===k){var e=new Response("");if("body"in e)try{new Response(e.body),k=!0}catch(t){k=!1}k=!1}return k}function U(e){e.then((function(){}))}var I=function e(){var t=this;o(this,e),this.promise=new Promise((function(e,r){t.resolve=e,t.reject=r}))};function A(){return M.apply(this,arguments)}function M(){return(M=T(j.a.mark((function e(){var t,r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0,t=c(x),e.prev=2,t.s();case 4:if((r=t.n()).done){e.next=11;break}return n=r.value,e.next=8,n();case 8:0;case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:0;case 20:case"end":return e.stop()}}),e,null,[[2,13,16,19]])})))).apply(this,arguments)}var K=function(e){return new URL(String(e),location.href).href.replace(new RegExp("^".concat(location.origin)),"")};function W(e){return new Promise((function(t){return setTimeout(t,e)}))}function B(e,t){var r=t();return e.waitUntil(r),r}function F(e,t){return H.apply(this,arguments)}function H(){return(H=T(j.a.mark((function e(t,r){var n,a,i,s,c,o;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null,t.url&&(a=new URL(t.url),n=a.origin),n===self.location.origin){e.next=4;break}throw new m("cross-origin-copy-response",{origin:n});case 4:if(i=t.clone(),s={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},c=r?r(s):s,!N()){e.next=11;break}e.t0=i.body,e.next=14;break;case 11:return e.next=13,i.blob();case 13:e.t0=e.sent;case 14:return o=e.t0,e.abrupt("return",new Response(o,c));case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V(e,t,r){return t&&G(e.prototype,t),r&&G(e,r),e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach((function(t){$(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var J,z;var X=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap;var ne={get:function(e,t,r){if(e instanceof IDBTransaction){if("done"===t)return Z.get(e);if("objectStoreNames"===t)return e.objectStoreNames||ee.get(e);if("store"===t)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return se(e[t])},set:function(e,t,r){return e[t]=r,!0},has:function(e,t){return e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e}};function ae(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(z||(z=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(ce(this),r),se(X.get(this))}:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return se(e.apply(ce(this),r))}:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var i=e.call.apply(e,[ce(this),t].concat(n));return ee.set(i,t.sort?t.sort():[t]),se(i)}}function ie(e){return"function"===typeof e?ae(e):(e instanceof IDBTransaction&&function(e){if(!Z.has(e)){var t=new Promise((function(t,r){var n=function(){e.removeEventListener("complete",a),e.removeEventListener("error",i),e.removeEventListener("abort",i)},a=function(){t(),n()},i=function(){r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",i),e.addEventListener("abort",i)}));Z.set(e,t)}}(e),t=e,(J||(J=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((function(e){return t instanceof e}))?new Proxy(e,ne):e);var t}function se(e){if(e instanceof IDBRequest)return function(e){var t=new Promise((function(t,r){var n=function(){e.removeEventListener("success",a),e.removeEventListener("error",i)},a=function(){t(se(e.result)),n()},i=function(){r(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",i)}));return t.then((function(t){t instanceof IDBCursor&&X.set(t,e)})).catch((function(){})),re.set(t,e),t}(e);if(te.has(e))return te.get(e);var t=ie(e);return t!==e&&(te.set(e,t),re.set(t,e)),t}var ce=function(e){return re.get(e)};function oe(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.blocked,a=r.upgrade,i=r.blocking,s=r.terminated,c=indexedDB.open(e,t),o=se(c);return a&&c.addEventListener("upgradeneeded",(function(e){a(se(c.result),e.oldVersion,e.newVersion,se(c.transaction))})),n&&c.addEventListener("blocked",(function(){return n()})),o.then((function(e){s&&e.addEventListener("close",(function(){return s()})),i&&e.addEventListener("versionchange",(function(){return i()}))})).catch((function(){})),o}var ue=["get","getKey","getAll","getAllKeys","count"],he=["put","add","delete","clear"],fe=new Map;function le(e,t){if(e instanceof IDBDatabase&&!(t in e)&&"string"===typeof t){if(fe.get(t))return fe.get(t);var r=t.replace(/FromIndex$/,""),n=t!==r,a=he.includes(r);if(r in(n?IDBIndex:IDBObjectStore).prototype&&(a||ue.includes(r))){var i=function(){var e=T(j.a.mark((function e(t){var i,s,c,o,u,h,f=arguments;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(s=this.transaction(t,a?"readwrite":"readonly"),c=s.store,o=f.length,u=new Array(o>1?o-1:0),h=1;h<o;h++)u[h-1]=f[h];return n&&(c=c.index(u.shift())),e.next=6,Promise.all([(i=c)[r].apply(i,u),a&&s.done]);case 6:return e.abrupt("return",e.sent[0]);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}();return fe.set(t,i),i}}}ne=function(e){return Q(Q({},e),{},{get:function(t,r,n){return le(t,r)||e.get(t,r,n)},has:function(t,r){return!!le(t,r)||e.has(t,r)}})}(ne);r(5);var pe="cache-entries",ve=function(e){var t=new URL(e,location.href);return t.hash="",t.href},de=function(){function e(t){o(this,e),this._db=null,this._cacheName=t}return V(e,[{key:"_upgradeDb",value:function(e){var t=e.createObjectStore(pe,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}},{key:"_upgradeDbAndDeleteOldDbs",value:function(e){this._upgradeDb(e),this._cacheName&&function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).blocked,r=indexedDB.deleteDatabase(e);t&&r.addEventListener("blocked",(function(){return t()})),se(r).then((function(){}))}(this._cacheName)}},{key:"setTimestamp",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=ve(t),n={url:t,timestamp:r,cacheName:this._cacheName,id:this._getId(t)},e.next=4,this.getDb();case 4:return a=e.sent,i=a.transaction(pe,"readwrite",{durability:"relaxed"}),e.next=8,i.store.put(n);case 8:return e.next=10,i.done;case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getTimestamp",value:function(){var e=T(j.a.mark((function e(t){var r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return r=e.sent,e.next=5,r.get(pe,this._getId(t));case 5:return n=e.sent,e.abrupt("return",null===n||void 0===n?void 0:n.timestamp);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"expireEntries",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i,s,c,o,u,h,f;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return n=e.sent,e.next=5,n.transaction(pe).store.index("timestamp").openCursor(null,"prev");case 5:a=e.sent,i=[],s=0;case 8:if(!a){e.next=16;break}return(c=a.value).cacheName===this._cacheName&&(t&&c.timestamp<t||r&&s>=r?i.push(a.value):s++),e.next=13,a.continue();case 13:a=e.sent,e.next=8;break;case 16:o=[],u=0,h=i;case 18:if(!(u<h.length)){e.next=26;break}return f=h[u],e.next=22,n.delete(pe,f.id);case 22:o.push(f.url);case 23:u++,e.next=18;break;case 26:return e.abrupt("return",o);case 27:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_getId",value:function(e){return this._cacheName+"|"+ve(e)}},{key:"getDb",value:function(){var e=T(j.a.mark((function e(){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._db){e.next=4;break}return e.next=3,oe("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)});case 3:this._db=e.sent;case 4:return e.abrupt("return",this._db);case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),ye=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=r.maxEntries,this._maxAgeSeconds=r.maxAgeSeconds,this._matchOptions=r.matchOptions,this._cacheName=t,this._timestampModel=new de(t)}return V(e,[{key:"expireEntries",value:function(){var e=T(j.a.mark((function e(){var t,r,n,a,i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._isRunning){e.next=3;break}return this._rerunRequested=!0,e.abrupt("return");case 3:return this._isRunning=!0,t=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,e.next=7,this._timestampModel.expireEntries(t,this._maxEntries);case 7:return r=e.sent,e.next=10,self.caches.open(this._cacheName);case 10:n=e.sent,a=c(r),e.prev=12,a.s();case 14:if((i=a.n()).done){e.next=20;break}return s=i.value,e.next=18,n.delete(s,this._matchOptions);case 18:e.next=14;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(12),a.e(e.t0);case 25:return e.prev=25,a.f(),e.finish(25);case 28:0,this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,U(this.expireEntries()));case 31:case"end":return e.stop()}}),e,this,[[12,22,25,28]])})));return function(){return e.apply(this,arguments)}}()},{key:"updateTimestamp",value:function(){var e=T(j.a.mark((function e(t){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._timestampModel.setTimestamp(t,Date.now());case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"isURLExpired",value:function(){var e=T(j.a.mark((function e(t){var r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._maxAgeSeconds){e.next=6;break}e.next=3;break;case 3:return e.abrupt("return",!1);case 6:return e.next=8,this._timestampModel.getTimestamp(t);case 8:return r=e.sent,n=Date.now()-1e3*this._maxAgeSeconds,e.abrupt("return",void 0===r||r<n);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"delete",value:function(){var e=T(j.a.mark((function e(){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._rerunRequested=!1,e.next=3,this._timestampModel.expireEntries(1/0);case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}();function be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,a=!1,i=void 0;try{for(var s,c=e[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(o){a=!0,i=o}finally{try{n||null==c.return||c.return()}finally{if(a)throw i}}return r}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ge=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.cachedResponseWillBeUsed=function(){var e=T(j.a.mark((function e(r){var n,a,i,s,c,o,u;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.event,a=r.request,i=r.cacheName,s=r.cachedResponse){e.next=3;break}return e.abrupt("return",null);case 3:if(c=t._isResponseDateFresh(s),U((o=t._getCacheExpiration(i)).expireEntries()),u=o.updateTimestamp(a.url),n)try{n.waitUntil(u)}catch(h){0}return e.abrupt("return",c?s:null);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cacheDidUpdate=function(){var e=T(j.a.mark((function e(r){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.cacheName,a=r.request,i=t._getCacheExpiration(n),e.next=5,i.updateTimestamp(a.url);case 5:return e.next=7,i.expireEntries();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this._config=r,this._maxAgeSeconds=r.maxAgeSeconds,this._cacheExpirations=new Map,r.purgeOnQuotaError&&w((function(){return t.deleteCacheAndMetadata()}))}return V(e,[{key:"_getCacheExpiration",value:function(e){if(e===O())throw new m("expire-custom-caches-only");var t=this._cacheExpirations.get(e);return t||(t=new ye(e,this._config),this._cacheExpirations.set(e,t)),t}},{key:"_isResponseDateFresh",value:function(e){if(!this._maxAgeSeconds)return!0;var t=this._getDateHeaderTimestamp(e);return null===t||t>=Date.now()-1e3*this._maxAgeSeconds}},{key:"_getDateHeaderTimestamp",value:function(e){if(!e.headers.has("date"))return null;var t=e.headers.get("date"),r=new Date(t).getTime();return isNaN(r)?null:r}},{key:"deleteCacheAndMetadata",value:function(){var e=T(j.a.mark((function e(){var t,r,n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=c(this._cacheExpirations),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=11;break}return n=be(r.value,2),a=n[0],i=n[1],e.next=7,self.caches.delete(a);case 7:return e.next=9,i.delete();case 9:e.next=3;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:this._cacheExpirations=new Map;case 20:case"end":return e.stop()}}),e,this,[[1,13,16,19]])})));return function(){return e.apply(this,arguments)}}()}]),e}();r(2);function me(e){if(!e)throw new m("add-to-cache-list-unexpected-type",{entry:e});if("string"===typeof e){var t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}var r=e.revision,n=e.url;if(!n)throw new m("add-to-cache-list-unexpected-type",{entry:e});if(!r){var a=new URL(n,location.href);return{cacheKey:a.href,url:a.href}}var i=new URL(n,location.href),s=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",r),{cacheKey:i.href,url:s.href}}var xe=function e(){var t=this;o(this,e),this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=function(){var e=T(j.a.mark((function e(t){var r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.request,(n=t.state)&&(n.originalRequest=r);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cachedResponseWillBeUsed=function(){var e=T(j.a.mark((function e(r){var n,a,i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.event,a=r.state,i=r.cachedResponse,"install"===n.type&&a&&a.originalRequest&&a.originalRequest instanceof Request&&(s=a.originalRequest.url,i?t.notUpdatedURLs.push(s):t.updatedURLs.push(s)),e.abrupt("return",i);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},we=function e(t){var r=this,n=t.precacheController;o(this,e),this.cacheKeyWillBeUsed=function(){var e=T(j.a.mark((function e(t){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.request,a=t.params,i=(null===a||void 0===a?void 0:a.cacheKey)||r._precacheController.getCacheKeyForURL(n.url),e.abrupt("return",i?new Request(i,{headers:n.headers}):n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this._precacheController=n};r(4);function ke(e){return"string"===typeof e?new Request(e):e}var _e=function(){function e(t,r){o(this,e),this._cacheKeys={},Object.assign(this,r),this.event=r.event,this._strategy=t,this._handlerDeferred=new I,this._extendLifetimePromises=[],this._plugins=i(t.plugins),this._pluginStateMap=new Map;var n,a=c(this._plugins);try{for(a.s();!(n=a.n()).done;){var s=n.value;this._pluginStateMap.set(s,{})}}catch(u){a.e(u)}finally{a.f()}this.event.waitUntil(this._handlerDeferred.promise)}return V(e,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=T(j.a.mark((function e(t){var r,n,a,i,s,o,u,h,f,l,p,v;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.event,!("navigate"===(n=ke(t)).mode&&r instanceof FetchEvent&&r.preloadResponse)){e.next=9;break}return e.next=5,r.preloadResponse;case 5:if(!(a=e.sent)){e.next=9;break}return e.abrupt("return",a);case 9:i=this.hasCallback("fetchDidFail")?n.clone():null,e.prev=10,s=c(this.iterateCallbacks("requestWillFetch")),e.prev=12,s.s();case 14:if((o=s.n()).done){e.next=21;break}return u=o.value,e.next=18,u({request:n.clone(),event:r});case 18:n=e.sent;case 19:e.next=14;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(12),s.e(e.t0);case 26:return e.prev=26,s.f(),e.finish(26);case 29:e.next=35;break;case 31:if(e.prev=31,e.t1=e.catch(10),!(e.t1 instanceof Error)){e.next=35;break}throw new m("plugin-error-request-will-fetch",{thrownErrorMessage:e.t1.message});case 35:return h=n.clone(),e.prev=36,e.next=39,fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);case 39:f=e.sent,l=c(this.iterateCallbacks("fetchDidSucceed")),e.prev=42,l.s();case 44:if((p=l.n()).done){e.next=51;break}return v=p.value,e.next=48,v({event:r,request:h,response:f});case 48:f=e.sent;case 49:e.next=44;break;case 51:e.next=56;break;case 53:e.prev=53,e.t2=e.catch(42),l.e(e.t2);case 56:return e.prev=56,l.f(),e.finish(56);case 59:return e.abrupt("return",f);case 62:if(e.prev=62,e.t3=e.catch(36),!i){e.next=68;break}return e.next=68,this.runCallbacks("fetchDidFail",{error:e.t3,event:r,originalRequest:i.clone(),request:h.clone()});case 68:throw e.t3;case 69:case"end":return e.stop()}}),e,this,[[10,31],[12,23,26,29],[36,62],[42,53,56,59]])})));return function(t){return e.apply(this,arguments)}}())},{key:"fetchAndCachePut",value:function(){var e=T(j.a.mark((function e(t){var r,n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetch(t);case 2:return r=e.sent,n=r.clone(),this.waitUntil(this.cachePut(t,n)),e.abrupt("return",r);case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"cacheMatch",value:function(){var e=T(j.a.mark((function e(t){var r,n,a,i,s,o,u,h,f,l;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=ke(t),a=this._strategy,i=a.cacheName,s=a.matchOptions,e.next=4,this.getCacheKey(r,"read");case 4:return o=e.sent,u=Object.assign(Object.assign({},s),{cacheName:i}),e.next=8,caches.match(o,u);case 8:n=e.sent,h=c(this.iterateCallbacks("cachedResponseWillBeUsed")),e.prev=11,h.s();case 13:if((f=h.n()).done){e.next=23;break}return l=f.value,e.next=17,l({cacheName:i,matchOptions:s,cachedResponse:n,request:o,event:this.event});case 17:if(e.t0=e.sent,e.t0){e.next=20;break}e.t0=void 0;case 20:n=e.t0;case 21:e.next=13;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(11),h.e(e.t1);case 28:return e.prev=28,h.f(),e.finish(28);case 31:return e.abrupt("return",n);case 32:case"end":return e.stop()}}),e,this,[[11,25,28,31]])})));return function(t){return e.apply(this,arguments)}}()},{key:"cachePut",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i,o,u,h,f,l,p,v,d,y,b;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=ke(t),e.next=3,W(0);case 3:return e.next=5,this.getCacheKey(n,"write");case 5:a=e.sent,e.next=11;break;case 9:(i=r.headers.get("Vary"))&&s.debug("The response for ".concat(K(a.url)," ")+"has a 'Vary: ".concat(i,"' header. ")+"Consider setting the {ignoreVary: true} option on your strategy to ensure cache matching and deletion works as expected.");case 11:if(r){e.next=14;break}throw new m("cache-put-with-no-response",{url:K(a.url)});case 14:return e.next=16,this._ensureResponseSafeToCache(r);case 16:if(o=e.sent){e.next=20;break}return e.abrupt("return",!1);case 20:return u=this._strategy,h=u.cacheName,f=u.matchOptions,e.next=23,self.caches.open(h);case 23:if(l=e.sent,!(p=this.hasCallback("cacheDidUpdate"))){e.next=31;break}return e.next=28,D(l,a.clone(),["__WB_REVISION__"],f);case 28:e.t0=e.sent,e.next=32;break;case 31:e.t0=null;case 32:return v=e.t0,e.prev=34,e.next=37,l.put(a,p?o.clone():o);case 37:e.next=46;break;case 39:if(e.prev=39,e.t1=e.catch(34),!(e.t1 instanceof Error)){e.next=46;break}if("QuotaExceededError"!==e.t1.name){e.next=45;break}return e.next=45,A();case 45:throw e.t1;case 46:d=c(this.iterateCallbacks("cacheDidUpdate")),e.prev=47,d.s();case 49:if((y=d.n()).done){e.next=55;break}return b=y.value,e.next=53,b({cacheName:h,oldResponse:v,newResponse:o.clone(),request:a,event:this.event});case 53:e.next=49;break;case 55:e.next=60;break;case 57:e.prev=57,e.t2=e.catch(47),d.e(e.t2);case 60:return e.prev=60,d.f(),e.finish(60);case 63:return e.abrupt("return",!0);case 64:case"end":return e.stop()}}),e,this,[[34,39],[47,57,60,63]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getCacheKey",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._cacheKeys[r]){e.next=23;break}n=t,a=c(this.iterateCallbacks("cacheKeyWillBeUsed")),e.prev=3,a.s();case 5:if((i=a.n()).done){e.next=14;break}return s=i.value,e.t0=ke,e.next=10,s({mode:r,request:n,event:this.event,params:this.params});case 10:e.t1=e.sent,n=(0,e.t0)(e.t1);case 12:e.next=5;break;case 14:e.next=19;break;case 16:e.prev=16,e.t2=e.catch(3),a.e(e.t2);case 19:return e.prev=19,a.f(),e.finish(19);case 22:this._cacheKeys[r]=n;case 23:return e.abrupt("return",this._cacheKeys[r]);case 24:case"end":return e.stop()}}),e,this,[[3,16,19,22]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"hasCallback",value:function(e){var t,r=c(this._strategy.plugins);try{for(r.s();!(t=r.n()).done;){if(e in t.value)return!0}}catch(n){r.e(n)}finally{r.f()}return!1}},{key:"runCallbacks",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=c(this.iterateCallbacks(t)),e.prev=1,n.s();case 3:if((a=n.n()).done){e.next=9;break}return i=a.value,e.next=7,i(r);case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"iterateCallbacks",value:j.a.mark((function e(t){var r,n,a,i=this;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=c(this._strategy.plugins),e.prev=1,a=j.a.mark((function e(){var r,a,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!==typeof(r=n.value)[t]){e.next=6;break}return a=i._pluginStateMap.get(r),s=function(e){var n=Object.assign(Object.assign({},e),{state:a});return r[t](n)},e.next=6,s;case 6:case"end":return e.stop()}}),e)})),r.s();case 4:if((n=r.n()).done){e.next=8;break}return e.delegateYield(a(),"t0",6);case 6:e.next=4;break;case 8:e.next=13;break;case 10:e.prev=10,e.t1=e.catch(1),r.e(e.t1);case 13:return e.prev=13,r.f(),e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,10,13,16]])}))},{key:"waitUntil",value:function(e){return this._extendLifetimePromises.push(e),e}},{key:"doneWaiting",value:function(){var e=T(j.a.mark((function e(){var t;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=this._extendLifetimePromises.shift())){e.next=5;break}return e.next=3,t;case 3:e.next=0;break;case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"destroy",value:function(){this._handlerDeferred.resolve(null)}},{key:"_ensureResponseSafeToCache",value:function(){var e=T(j.a.mark((function e(t){var r,n,a,i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t,n=!1,a=c(this.iterateCallbacks("cacheWillUpdate")),e.prev=3,a.s();case 5:if((i=a.n()).done){e.next=18;break}return s=i.value,e.next=9,s({request:this.request,response:r,event:this.event});case 9:if(e.t0=e.sent,e.t0){e.next=12;break}e.t0=void 0;case 12:if(r=e.t0,n=!0,r){e.next=16;break}return e.abrupt("break",18);case 16:e.next=5;break;case 18:e.next=23;break;case 20:e.prev=20,e.t1=e.catch(3),a.e(e.t1);case 23:return e.prev=23,a.f(),e.finish(23);case 26:return n||r&&200!==r.status&&(r=void 0),e.abrupt("return",r);case 28:case"end":return e.stop()}}),e,this,[[3,20,23,26]])})));return function(t){return e.apply(this,arguments)}}()}]),e}(),Re=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.cacheName=O(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}return V(e,[{key:"handle",value:function(e){return be(this.handleAll(e),1)[0]}},{key:"handleAll",value:function(e){e instanceof FetchEvent&&(e={event:e,request:e.request});var t=e.event,r="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new _e(this,{event:t,request:r,params:n}),i=this._getResponse(a,r,t);return[i,this._awaitComplete(i,a,r,t)]}},{key:"_getResponse",value:function(){var e=T(j.a.mark((function e(t,r,n){var a,i,s,o,u,h,f;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.runCallbacks("handlerWillStart",{event:n,request:r});case 2:return a=void 0,e.prev=3,e.next=6,this._handle(r,t);case 6:if((a=e.sent)&&"error"!==a.type){e.next=9;break}throw new m("no-response",{url:r.url});case 9:e.next=39;break;case 11:if(e.prev=11,e.t0=e.catch(3),!(e.t0 instanceof Error)){e.next=34;break}i=c(t.iterateCallbacks("handlerDidError")),e.prev=15,i.s();case 17:if((s=i.n()).done){e.next=26;break}return o=s.value,e.next=21,o({error:e.t0,event:n,request:r});case 21:if(!(a=e.sent)){e.next=24;break}return e.abrupt("break",26);case 24:e.next=17;break;case 26:e.next=31;break;case 28:e.prev=28,e.t1=e.catch(15),i.e(e.t1);case 31:return e.prev=31,i.f(),e.finish(31);case 34:if(a){e.next=38;break}throw e.t0;case 38:0;case 39:u=c(t.iterateCallbacks("handlerWillRespond")),e.prev=40,u.s();case 42:if((h=u.n()).done){e.next=49;break}return f=h.value,e.next=46,f({event:n,request:r,response:a});case 46:a=e.sent;case 47:e.next=42;break;case 49:e.next=54;break;case 51:e.prev=51,e.t2=e.catch(40),u.e(e.t2);case 54:return e.prev=54,u.f(),e.finish(54);case 57:return e.abrupt("return",a);case 58:case"end":return e.stop()}}),e,this,[[3,11],[15,28,31,34],[40,51,54,57]])})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"_awaitComplete",value:function(){var e=T(j.a.mark((function e(t,r,n,a){var i,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t;case 3:i=e.sent,e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:return e.prev=8,e.next=11,r.runCallbacks("handlerDidRespond",{event:a,request:n,response:i});case 11:return e.next=13,r.doneWaiting();case 13:e.next=18;break;case 15:e.prev=15,e.t1=e.catch(8),e.t1 instanceof Error&&(s=e.t1);case 18:return e.next=20,r.runCallbacks("handlerDidComplete",{event:a,request:n,response:i,error:s});case 20:if(r.destroy(),!s){e.next=23;break}throw s;case 23:case"end":return e.stop()}}),e,null,[[0,6],[8,15]])})));return function(t,r,n,a){return e.apply(this,arguments)}}()}]),e}(),Ee=function(e){h(r,e);var t=d(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(this,r),n.cacheName=L(n.cacheName),(e=t.call(this,n))._fallbackToNetwork=!1!==n.fallbackToNetwork,e.plugins.push(r.copyRedirectedCacheableResponsesPlugin),e}return V(r,[{key:"_handle",value:function(){var e=T(j.a.mark((function e(t,r){var n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.cacheMatch(t);case 2:if(!(n=e.sent)){e.next=5;break}return e.abrupt("return",n);case 5:if(!r.event||"install"!==r.event.type){e.next=9;break}return e.next=8,this._handleInstall(t,r);case 8:case 11:return e.abrupt("return",e.sent);case 9:return e.next=11,this._handleFetch(t,r);case 12:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_handleFetch",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i,c,o,u;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=r.params||{},!this._fallbackToNetwork){e.next=17;break}return i=a.integrity,c=t.integrity,o=!c||c===i,e.next=8,r.fetch(new Request(t,{integrity:c||i}));case 8:if(n=e.sent,!i||!o){e.next=15;break}return this._useDefaultCacheabilityPluginIfNeeded(),e.next=13,r.cachePut(t,n.clone());case 13:e.sent;case 15:e.next=18;break;case 17:throw new m("missing-precache-entry",{cacheName:this.cacheName,url:t.url});case 18:e.next=34;break;case 23:e.t0=e.sent;case 24:u=e.t0,s.groupCollapsed("Precaching is responding to: "+K(t.url)),s.log("Serving the precached url: ".concat(K(u instanceof Request?u.url:u))),s.groupCollapsed("View request details here."),s.log(t),s.groupEnd(),s.groupCollapsed("View response details here."),s.log(n),s.groupEnd(),s.groupEnd();case 34:return e.abrupt("return",n);case 35:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_handleInstall",value:function(){var e=T(j.a.mark((function e(t,r){var n;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._useDefaultCacheabilityPluginIfNeeded(),e.next=3,r.fetch(t);case 3:return n=e.sent,e.next=6,r.cachePut(t,n.clone());case 6:if(e.sent){e.next=9;break}throw new m("bad-precaching-response",{url:t.url,status:n.status});case 9:return e.abrupt("return",n);case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_useDefaultCacheabilityPluginIfNeeded",value:function(){var e,t=null,n=0,a=c(this.plugins.entries());try{for(a.s();!(e=a.n()).done;){var i=be(e.value,2),s=i[0],o=i[1];o!==r.copyRedirectedCacheableResponsesPlugin&&(o===r.defaultPrecacheCacheabilityPlugin&&(t=s),o.cacheWillUpdate&&n++)}}catch(u){a.e(u)}finally{a.f()}0===n?this.plugins.push(r.defaultPrecacheCacheabilityPlugin):n>1&&null!==t&&this.plugins.splice(t,1)}}]),r}(Re);Ee.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:function(e){return T(j.a.mark((function t(){var r;return j.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=e.response)&&!(r.status>=400)){t.next=3;break}return t.abrupt("return",null);case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})))()}},Ee.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:function(e){return T(j.a.mark((function t(){var r;return j.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=e.response).redirected){t.next=7;break}return t.next=4,F(r);case 4:t.t0=t.sent,t.next=8;break;case 7:t.t0=r;case 8:return t.abrupt("return",t.t0);case 9:case"end":return t.stop()}}),t)})))()}};var Le,Oe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheName,n=t.plugins,a=void 0===n?[]:n,s=t.fallbackToNetwork,c=void 0===s||s;o(this,e),this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new Ee({cacheName:L(r),plugins:[].concat(i(a),[new we({precacheController:this})]),fallbackToNetwork:c}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}return V(e,[{key:"strategy",get:function(){return this._strategy}},{key:"precache",value:function(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}},{key:"addToCacheList",value:function(e){var t,r=[],n=c(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;"string"===typeof a?r.push(a):a&&void 0===a.revision&&r.push(a.url);var i=me(a),s=i.cacheKey,o=i.url,u="string"!==typeof a&&a.revision?"reload":"default";if(this._urlsToCacheKeys.has(o)&&this._urlsToCacheKeys.get(o)!==s)throw new m("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(o),secondEntry:s});if("string"!==typeof a&&a.integrity){if(this._cacheKeysToIntegrities.has(s)&&this._cacheKeysToIntegrities.get(s)!==a.integrity)throw new m("add-to-cache-list-conflicting-integrities",{url:o});this._cacheKeysToIntegrities.set(s,a.integrity)}if(this._urlsToCacheKeys.set(o,s),this._urlsToCacheModes.set(o,u),r.length>0){var h="Workbox is precaching URLs without revision "+"info: ".concat(r.join(", "),"\nThis is generally NOT safe. ")+"Learn more at https://bit.ly/wb-precache";console.warn(h)}}}catch(f){n.e(f)}finally{n.f()}}},{key:"install",value:function(e){var t=this;return B(e,T(j.a.mark((function r(){var n,a,i,s,o,u,h,f,l,p,v;return j.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=new xe,t.strategy.plugins.push(n),a=c(t._urlsToCacheKeys),r.prev=3,a.s();case 5:if((i=a.n()).done){r.next=14;break}return s=be(i.value,2),o=s[0],u=s[1],h=t._cacheKeysToIntegrities.get(u),f=t._urlsToCacheModes.get(o),l=new Request(o,{integrity:h,cache:f,credentials:"same-origin"}),r.next=12,Promise.all(t.strategy.handleAll({params:{cacheKey:u},request:l,event:e}));case 12:r.next=5;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(3),a.e(r.t0);case 19:return r.prev=19,a.f(),r.finish(19);case 22:return p=n.updatedURLs,v=n.notUpdatedURLs,r.abrupt("return",{updatedURLs:p,notUpdatedURLs:v});case 25:case"end":return r.stop()}}),r,null,[[3,16,19,22]])}))))}},{key:"activate",value:function(e){var t=this;return B(e,T(j.a.mark((function e(){var r,n,a,i,s,o,u;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,self.caches.open(t.strategy.cacheName);case 2:return r=e.sent,e.next=5,r.keys();case 5:n=e.sent,a=new Set(t._urlsToCacheKeys.values()),i=[],s=c(n),e.prev=9,s.s();case 11:if((o=s.n()).done){e.next=19;break}if(u=o.value,a.has(u.url)){e.next=17;break}return e.next=16,r.delete(u);case 16:i.push(u.url);case 17:e.next=11;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(9),s.e(e.t0);case 24:return e.prev=24,s.f(),e.finish(24);case 27:return e.abrupt("return",{deletedURLs:i});case 29:case"end":return e.stop()}}),e,null,[[9,21,24,27]])}))))}},{key:"getURLsToCacheKeys",value:function(){return this._urlsToCacheKeys}},{key:"getCachedURLs",value:function(){return i(this._urlsToCacheKeys.keys())}},{key:"getCacheKeyForURL",value:function(e){var t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}},{key:"getIntegrityForCacheKey",value:function(e){return this._cacheKeysToIntegrities.get(e)}},{key:"matchPrecache",value:function(){var e=T(j.a.mark((function e(t){var r,n,a;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t instanceof Request?t.url:t,!(n=this.getCacheKeyForURL(r))){e.next=7;break}return e.next=5,self.caches.open(this.strategy.cacheName);case 5:return a=e.sent,e.abrupt("return",a.match(n));case 7:return e.abrupt("return",void 0);case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"createHandlerBoundToURL",value:function(e){var t=this,r=this.getCacheKeyForURL(e);if(!r)throw new m("non-precached-url",{url:e});return function(n){return n.request=new Request(e),n.params=Object.assign({cacheKey:r},n.params),t.strategy.handle(n)}}}]),e}(),Ce=function(){return Le||(Le=new Oe),Le};r(3);var je,Se="GET",Te=function(e){return e&&"object"===typeof e?e:{handle:e}},Pe=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Se;o(this,e),this.handler=Te(r),this.match=t,this.method=n}return V(e,[{key:"setCatchHandler",value:function(e){this.catchHandler=Te(e)}}]),e}(),De=function(e){h(r,e);var t=d(r);function r(e,n,a){o(this,r);return t.call(this,(function(t){var r=t.url,n=e.exec(r.href);if(n&&(r.origin===location.origin||0===n.index))return n.slice(1)}),n,a)}return r}(Pe),qe=function(){function e(){o(this,e),this._routes=new Map,this._defaultHandlerMap=new Map}return V(e,[{key:"routes",get:function(){return this._routes}},{key:"addFetchListener",value:function(){var e=this;self.addEventListener("fetch",(function(t){var r=t.request,n=e.handleRequest({request:r,event:t});n&&t.respondWith(n)}))}},{key:"addCacheListener",value:function(){var e=this;self.addEventListener("message",(function(t){if(t.data&&"CACHE_URLS"===t.data.type){var r=t.data.payload;0;var n=Promise.all(r.urlsToCache.map((function(r){"string"===typeof r&&(r=[r]);var n=y(Request,i(r));return e.handleRequest({request:n,event:t})})));t.waitUntil(n),t.ports&&t.ports[0]&&n.then((function(){return t.ports[0].postMessage(!0)}))}}))}},{key:"handleRequest",value:function(e){var t=this,r=e.request,n=e.event;var a=new URL(r.url,location.href);if(a.protocol.startsWith("http")){var i=a.origin===location.origin,s=this.findMatchingRoute({event:n,request:r,sameOrigin:i,url:a}),c=s.params,o=s.route,u=o&&o.handler;0;var h=r.method;if(!u&&this._defaultHandlerMap.has(h)&&(u=this._defaultHandlerMap.get(h)),u){var f;0;try{f=u.handle({url:a,request:r,event:n,params:c})}catch(p){f=Promise.reject(p)}var l=o&&o.catchHandler;return f instanceof Promise&&(this._catchHandler||l)&&(f=f.catch(function(){var e=T(j.a.mark((function e(i){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l){e.next=11;break}return e.prev=2,e.next=5,l.handle({url:a,request:r,event:n,params:c});case 5:return e.abrupt("return",e.sent);case 8:e.prev=8,e.t0=e.catch(2),e.t0 instanceof Error&&(i=e.t0);case 11:if(!t._catchHandler){e.next=14;break}return e.abrupt("return",t._catchHandler.handle({url:a,request:r,event:n}));case 14:throw i;case 15:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}())),f}}}},{key:"findMatchingRoute",value:function(e){var t,r=e.url,n=e.sameOrigin,a=e.request,i=e.event,s=c(this._routes.get(a.method)||[]);try{for(s.s();!(t=s.n()).done;){var o=t.value,u=void 0,h=o.match({url:r,sameOrigin:n,request:a,event:i});if(h)return u=h,(Array.isArray(u)&&0===u.length||h.constructor===Object&&0===Object.keys(h).length||"boolean"===typeof h)&&(u=void 0),{route:o,params:u}}}catch(f){s.e(f)}finally{s.f()}return{}}},{key:"setDefaultHandler",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Se;this._defaultHandlerMap.set(t,Te(e))}},{key:"setCatchHandler",value:function(e){this._catchHandler=Te(e)}},{key:"registerRoute",value:function(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}},{key:"unregisterRoute",value:function(e){if(!this._routes.has(e.method))throw new m("unregister-route-but-not-found-with-method",{method:e.method});var t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new m("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}]),e}(),Ne=function(){return je||((je=new qe).addFetchListener(),je.addCacheListener()),je};function Ue(e,t,r){var n;if("string"===typeof e){var a=new URL(e,location.href);n=new Pe((function(e){return e.url.href===a.href}),t,r)}else if(e instanceof RegExp)n=new De(e,t,r);else if("function"===typeof e)n=new Pe(e,t,r);else{if(!(e instanceof Pe))throw new m("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});n=e}return Ne().registerRoute(n),n}function Ie(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=function(){var r=a[n];t.some((function(e){return e.test(r)}))&&e.searchParams.delete(r)},n=0,a=i(e.searchParams.keys());n<a.length;n++)r();return e}var Ae=j.a.mark(Me);function Me(e){var t,r,n,a,i,s,o,u,h,f,l,p,v,d,y,b,g=arguments;return j.a.wrap((function(m){for(;;)switch(m.prev=m.next){case 0:return t=g.length>1&&void 0!==g[1]?g[1]:{},r=t.ignoreURLParametersMatching,n=void 0===r?[/^utm_/,/^fbclid$/]:r,a=t.directoryIndex,i=void 0===a?"index.html":a,s=t.cleanURLs,o=void 0===s||s,u=t.urlManipulation,(h=new URL(e,location.href)).hash="",m.next=5,h.href;case 5:return f=Ie(h,n),m.next=8,f.href;case 8:if(!i||!f.pathname.endsWith("/")){m.next=13;break}return(l=new URL(f.href)).pathname+=i,m.next=13,l.href;case 13:if(!o){m.next=18;break}return(p=new URL(f.href)).pathname+=".html",m.next=18,p.href;case 18:if(!u){m.next=37;break}v=u({url:h}),d=c(v),m.prev=21,d.s();case 23:if((y=d.n()).done){m.next=29;break}return b=y.value,m.next=27,b.href;case 27:m.next=23;break;case 29:m.next=34;break;case 31:m.prev=31,m.t0=m.catch(21),d.e(m.t0);case 34:return m.prev=34,d.f(),m.finish(34);case 37:case"end":return m.stop()}}),Ae,null,[[21,31,34,37]])}var Ke=function(e){h(r,e);var t=d(r);function r(e,n){o(this,r);return t.call(this,(function(t){var r,a=t.request,i=e.getURLsToCacheKeys(),s=c(Me(a.url,n));try{for(s.s();!(r=s.n()).done;){var o=r.value,u=i.get(o);if(u)return{cacheKey:u,integrity:e.getIntegrityForCacheKey(u)}}}catch(h){s.e(h)}finally{s.f()}}),e.strategy)}return r}(Pe);var We={cacheWillUpdate:function(){var e=T(j.a.mark((function e(t){var r;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(200!==(r=t.response).status&&0!==r.status){e.next=3;break}return e.abrupt("return",r);case 3:return e.abrupt("return",null);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},Be=function(e){h(r,e);var t=d(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(this,r),(e=t.call(this,n)).plugins.some((function(e){return"cacheWillUpdate"in e}))||e.plugins.unshift(We),e}return V(r,[{key:"_handle",value:function(){var e=T(j.a.mark((function e(t,r){var n,a,i;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return[],n=r.fetchAndCachePut(t).catch((function(){})),e.next=5,r.cacheMatch(t);case 5:if(!(a=e.sent)){e.next=10;break}0,e.next=20;break;case 10:return e.prev=11,e.next=14,n;case 14:a=e.sent,e.next=20;break;case 17:e.prev=17,e.t0=e.catch(11),e.t0 instanceof Error&&(i=e.t0);case 20:if(a){e.next=23;break}throw new m("no-response",{url:t.url,error:i});case 23:return e.abrupt("return",a);case 24:case"end":return e.stop()}}),e,this,[[11,17]])})));return function(t,r){return e.apply(this,arguments)}}()}]),r}(Re),Fe="/catalog.json",He="/assembly.json",Ge="/metadata.json";self.addEventListener("activate",(function(){return self.clients.claim()})),E({prefix:"construct-hub-webapp"});var Ve,$e={headers:{"Content-Type":"application/json"}};(function(e){Ce().precache(e)})([{'revision':'92f9b8e8b59ac6cdd8f980e380c2803c','url':'/index.html'},{'revision':null,'url':'/static/css/main.4a4137e4.chunk.css'},{'revision':null,'url':'/static/js/0.f7351c07.chunk.js'},{'revision':null,'url':'/static/js/1.82bebe18.chunk.js'},{'revision':null,'url':'/static/js/10.bd757b9e.chunk.js'},{'revision':null,'url':'/static/js/11.3f509a41.chunk.js'},{'revision':null,'url':'/static/js/12.0bdb6c99.chunk.js'},{'revision':null,'url':'/static/js/13.04804547.chunk.js'},{'revision':null,'url':'/static/js/14.b7c3d07d.chunk.js'},{'revision':null,'url':'/static/js/15.4af9e6fe.chunk.js'},{'revision':null,'url':'/static/js/16.369376ac.chunk.js'},{'revision':null,'url':'/static/js/2.55728af9.chunk.js'},{'revision':null,'url':'/static/js/5.58fc032e.chunk.js'},{'revision':null,'url':'/static/js/6.01c8ee88.chunk.js'},{'revision':null,'url':'/static/js/7.27edd823.chunk.js'},{'revision':null,'url':'/static/js/8.e442dc32.chunk.js'},{'revision':null,'url':'/static/js/9.6b2d9dca.chunk.js'},{'revision':null,'url':'/static/js/main.3881687f.chunk.js'},{'revision':null,'url':'/static/js/runtime-main.6af5ffd0.js'}]),function(e){var t=Ce();Ue(new Ke(t,e))}(Ve);var Ye,Qe=new RegExp("/[^/?]+\\.[^/]+$");Ue((function(e){var t=e.request,r=e.url;return"navigate"===t.mode&&(!(!r.pathname.startsWith("/packages")||r.pathname.endsWith(".json"))||!r.pathname.startsWith("/_")&&!r.pathname.match(Qe))}),(Ye="/index.html",Ce().createHandlerBoundToURL(Ye))),self.addEventListener("message",(function(e){e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),Ue(new RegExp(/\/static\//),new Be({cacheName:"static-resources"})),Ue((function(e){var t=e.url;return t.origin===self.origin&&t.pathname.endsWith(He)}),new Be({fetchOptions:$e,cacheName:"assembly-jsii",plugins:[new ge({maxEntries:100})]})),Ue((function(e){var t=e.url;return t.origin===self.origin&&t.pathname.endsWith(Ge)}),new Be({fetchOptions:$e,cacheName:"assembly-metadata",plugins:[new ge({maxEntries:100})]})),Ue((function(e){var t=e.url;return t.origin===self.origin&&t.pathname.endsWith(Fe)}),new Be({fetchOptions:$e,cacheName:"assembly-catalog"}))}]);
2
2
  //# sourceMappingURL=service-worker.js.map
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonpconstruct-hub-webapp"]=this["webpackJsonpconstruct-hub-webapp"]||[]).push([[13],{230:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(243),a={home:{event:{name:"Home Load"}},faq:{event:{name:"Frequently Asked Questions Load"}},packageProfile:{event:{name:"Package Profile Load"}},search:{event:{name:"Search Load"}},siteTerms:{event:{name:"Site Terms Load"}},notFound:{page:{pageType:"errorPage"},event:{name:"404 Page Load"}}},c=n(115),s=n(1),i=function(e){var t=e.children,n=e.meta,i=e.pageName,l=Object(c.b)(a[i]);Object(r.useEffect)((function(){l()}),[l]);var d=n.suffix,u=void 0===d||d,h=n.title,b=n.description,p=u?"".concat(h," - Construct Hub"):h;return Object(s.jsxs)(s.Fragment,{children:[Object(s.jsxs)(o.a,{children:[!1,Object(s.jsx)("meta",{content:"width=device-width, initial-scale=1",name:"viewport"}),Object(s.jsx)("meta",{charSet:"utf-8"}),Object(s.jsx)("title",{children:p}),Object(s.jsx)("meta",{content:p,property:"og:title"}),Object(s.jsx)("meta",{content:p,name:"twitter:title"}),Object(s.jsx)("meta",{content:"summary",name:"twitter:card"}),Object(s.jsx)("meta",{content:b,name:"description"}),Object(s.jsx)("meta",{content:b,property:"og:description"}),Object(s.jsx)("meta",{content:b,name:"twitter:description"})]}),t]})}},598:function(e,t,n){"use strict";n.r(t),n.d(t,"FAQ",(function(){return ne})),n.d(t,"default",(function(){return ne}));var r=n(190),o=n(211),a=n(4),c=n(103),s=n(21),i=n(67),l=n(42),d=n(74),u=n(25),h=n(201),b=n(20),p=n(8),j=n(28),m=n(151),f=n(0),g=n(223),O=n(140),y=n(143),x=n(139),v=n(192),w=n(95),C=n(172);function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(this,arguments)}function I(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var D=Object(g.a)(),A=Object(a.a)(D,4),P=A[0],H=(A[1],A[2]),T=A[3];function K(e){var t=e.onChange,n=e.defaultIndex,r=e.index,o=e.allowMultiple,c=e.allowToggle,s=I(e,["onChange","defaultIndex","index","allowMultiple","allowToggle"]);!function(e){var t=e.index||e.defaultIndex,n=!Object(p.l)(t)&&!Object(p.b)(t)&&e.allowMultiple;Object(j.f)({condition:!!n,message:"If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: "+typeof t+","})}(e),function(e){Object(j.f)({condition:!(!e.allowMultiple||!e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}(e);var i=H(),l=Object(f.useState)(-1),d=Object(a.a)(l,2),u=d[0],h=d[1];Object(O.a)((function(){h(-1)}));var b=Object(y.b)({value:r,defaultValue:function(){return o?null!=n?n:[]:null!=n?n:-1},onChange:t}),m=Object(a.a)(b,2),g=m[0],x=m[1];return{index:g,setIndex:x,htmlProps:s,getAccordionItemProps:function(e){var t=!1;null!==e&&(t=Object(p.b)(g)?g.includes(e):g===e);return{isOpen:t,onChange:function(t){if(null!==e)if(o&&Object(p.b)(g)){var n=t?Object(w.a)(g,e):Object(w.d)(g,e);x(n)}else t?x(e):c&&x(-1)}}},focusedIndex:u,setFocusedIndex:h,descendants:i}}var S=Object(m.a)({name:"AccordionContext",errorMessage:"useAccordionContext: `context` is undefined. Seems you forgot to wrap the accordion components in `<Accordion />`"}),q=Object(a.a)(S,2),M=q[0],E=q[1];function F(e){var t=e.isDisabled,n=e.isFocusable,r=e.id,o=I(e,["isDisabled","isFocusable","id"]),c=E(),s=c.getAccordionItemProps,i=c.setFocusedIndex,l=Object(f.useRef)(null),d=Object(x.c)(r,"accordion-button","accordion-panel"),u=Object(a.a)(d,2),h=u[0],p=u[1];!function(e){Object(j.f)({condition:!(!e.isFocusable||e.isDisabled),message:"Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.\n "})}(e);var m=T({disabled:t&&!n}),g=m.register,O=m.index,y=m.descendants,w=s(-1===O?null:O),D=w.isOpen,A=w.onChange;!function(e){Object(j.f)({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}({isOpen:D,isDisabled:t});var P=Object(f.useCallback)((function(){null==A||A(!D),i(O)}),[O,i,D,A]),H=Object(f.useCallback)((function(e){var t={ArrowDown:function(){var e=y.nextEnabled(O);e&&Object(C.a)(e.node)},ArrowUp:function(){var e=y.prevEnabled(O);e&&Object(C.a)(e.node)},Home:function(){var e=y.firstEnabled();e&&Object(C.a)(e.node)},End:function(){var e=y.lastEnabled();e&&Object(C.a)(e.node)}}[Object(b.m)(e)];t&&(e.preventDefault(),t(e))}),[y,O]),K=Object(f.useCallback)((function(){i(O)}),[i,O]),S=Object(f.useCallback)((function(e,n){return void 0===e&&(e={}),void 0===n&&(n=null),k({},e,{type:"button",ref:Object(v.a)(g,l,n),id:h,disabled:!!t,"aria-expanded":!!D,"aria-controls":p,onClick:Object(j.b)(e.onClick,P),onFocus:Object(j.b)(e.onFocus,K),onKeyDown:Object(j.b)(e.onKeyDown,H)})}),[h,t,D,P,K,H,p,g]),q=Object(f.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),k({},e,{ref:t,role:"region",id:p,"aria-labelledby":h,hidden:!D})}),[h,D,p]);return{isOpen:D,isDisabled:t,isFocusable:n,onOpen:function(){null==A||A(!0)},onClose:function(){null==A||A(!1)},getButtonProps:S,getPanelProps:q,htmlProps:o}}function W(){return W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W.apply(this,arguments)}function N(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var _=Object(s.a)((function(e,t){var n=e.children,r=e.reduceMotion,o=N(e,["children","reduceMotion"]),a=Object(i.a)("Accordion",o),c=K(Object(l.b)(o)),s=c.htmlProps,h=c.descendants,p=N(c,["htmlProps","descendants"]),j=f.useMemo((function(){return W({},p,{reduceMotion:!!r})}),[p,r]);return f.createElement(P,{value:h},f.createElement(M,{value:j},f.createElement(d.b,{value:a},f.createElement(u.a.div,W({ref:t},s,{className:Object(b.d)("chakra-accordion",o.className)}),n))))}));p.a&&(_.displayName="Accordion");var z=Object(m.a)({name:"AccordionItemContext",errorMessage:"useAccordionItemContext: `context` is undefined. Seems you forgot to wrap the accordion item parts in `<AccordionItem />` "}),B=Object(a.a)(z,2),J=B[0],L=B[1],Y=Object(s.a)((function(e,t){var n=e.children,r=e.className,o=F(e),a=o.htmlProps,c=N(o,["htmlProps"]),s=W({},Object(d.d)().container,{overflowAnchor:"none"}),i=f.useMemo((function(){return c}),[c]);return f.createElement(J,{value:i},f.createElement(u.a.div,W({ref:t},a,{className:Object(b.d)("chakra-accordion__item",r),__css:s}),Object(j.e)(n,{isExpanded:!!c.isOpen,isDisabled:!!c.isDisabled})))}));p.a&&(Y.displayName="AccordionItem");var G=Object(s.a)((function(e,t){var n=(0,L().getButtonProps)(e,t),r=W({display:"flex",alignItems:"center",width:"100%",outline:0},Object(d.d)().button);return f.createElement(u.a.button,W({},n,{className:Object(b.d)("chakra-accordion__button",e.className),__css:r}))}));p.a&&(G.displayName="AccordionButton");var R=Object(s.a)((function(e,t){var n=E().reduceMotion,r=L(),o=r.getPanelProps,a=r.isOpen,c=o(e,t),s=Object(b.d)("chakra-accordion__panel",e.className),i=Object(d.d)();n||delete c.hidden;var l=f.createElement(u.a.div,W({},c,{__css:i.panel,className:s}));return n?l:f.createElement(h.a,{in:a},l)}));p.a&&(R.displayName="AccordionPanel");var Q=function(e){var t=L(),n=t.isOpen,r=t.isDisabled,o=E().reduceMotion,a=Object(b.d)("chakra-accordion__icon",e.className),s=W({opacity:r?.4:1,transform:n?"rotate(-180deg)":void 0,transition:o?void 0:"transform 0.2s",transformOrigin:"center"},Object(d.d)().icon);return f.createElement(c.a,W({viewBox:"0 0 24 24","aria-hidden":!0,className:a,__css:s},e),f.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))};p.a&&(Q.displayName="AccordionIcon");var U=n(230),V=n(195),X=n(1),Z=function(e){var t=e.question,n=e.children;return Object(X.jsxs)(Y,{children:[Object(X.jsxs)(G,{children:[Object(X.jsx)(r.a,{flex:"1",py:2,textAlign:"left",children:Object(X.jsx)(o.a,{as:"h3",ml:8,size:"sm",children:t})}),Object(X.jsx)(Q,{})]}),Object(X.jsx)(R,{px:12,py:4,children:Object(X.jsx)(V.a,{color:"gray.800",fontSize:"md",sx:{p:{marginTop:"0",marginBottom:"4"}},children:n})})]})},$=n(55),ee=function(e){var t=e.href,n=e.children;return Object(X.jsx)($.a,{color:"inherit",hasWarning:!1,href:t,textDecoration:"underline",children:n})},te=function(e){var t=e.heading,n=e.children;return Object(X.jsxs)(Y,{children:[Object(X.jsxs)(G,{children:[Object(X.jsx)(r.a,{flex:"1",textAlign:"left",children:Object(X.jsx)(o.a,{as:"h2",ml:4,size:"lg",children:t})}),Object(X.jsx)(Q,{})]}),Object(X.jsx)(R,{p:0,children:Object(X.jsx)(_,{allowMultiple:!0,w:"100%",children:n})})]})},ne=function(){return Object(X.jsx)(U.a,{meta:{title:"FAQ",description:"Frequently Asked Questions"},pageName:"faq",children:Object(X.jsxs)(r.a,{bg:"white",color:"blue.800",h:"100%",w:"100%",children:[Object(X.jsx)(r.a,{bg:"gray.50",py:20,width:"100%",children:Object(X.jsx)(o.a,{as:"h1",mx:"auto",textAlign:"center",children:"Frequently Asked Questions"})}),Object(X.jsxs)(_,{allowMultiple:!0,defaultIndex:[0,1],children:[Object(X.jsxs)(te,{heading:"General",children:[Object(X.jsx)(Z,{question:"What is Construct Hub?",children:Object(X.jsx)("p",{children:"It is a central destination to discover and share cloud application design patterns and reference architectures defined for the AWS CDK, CDK for Kubernetes (CDK8s), CDK for Terraform (CDKtf) and any other construct-based tool."})}),Object(X.jsxs)(Z,{question:"Why should I use Construct Hub?",children:[Object(X.jsx)("p",{children:"Construct Hub is built to serve the community that uses the constructs programming model (CPM) and to allow them find publicly available constructs they can reuse. Before the Construct Hub, developers did not have an easy way to discover construct libraries created by the community since they were published across various package managers and without a central index."}),Object(X.jsx)("p",{children:"The Construct Hub is a central, trusted venue CDK developers can use to discover published constructs to help them build their applications. In the Dev Preview Construct Hub you can discover constructs in TypeScript and Python and read their documentation and improved API reference in the programming language that the package supports."})]}),Object(X.jsxs)(Z,{question:"How can I add my construct to the Construct Hub?",children:[Object(X.jsxs)("p",{children:["In order to add your construct to the Construct Hub, you will need to publish it to the"," ",Object(X.jsx)(ee,{href:"https://www.npmjs.com/",children:"npmjs.com"})," ","registry, use a permissive license (Apache, BSD, MIT), and annotate it with one of the supported keywords (aws-cdk, cdk8s or cdktf)."]}),Object(X.jsxs)("p",{children:["Additionally, since one of the main goals of the Construct Hub is to enable an ecosystem of constructs that can be consumed by all CDK languages, your library ",Object(X.jsx)("strong",{children:"must"})," be compiled with"," ",Object(X.jsx)(ee,{href:"https://aws.github.io/jsii/",children:"JSII"}),", which is a TypeScript-based programming language for creating multi-language libraries. The Construct Hub uses the type information produced by the JSII compiler in order to render the rich multi-language API reference displayed at the Construct Hub."]}),Object(X.jsx)("p",{children:"The Construct Hub monitors all updates to the npm Registry and will list any packages that meet the above requirements within 5-10 minutes. If your package does not appear in the Construct Hub, please file an issue on our GitHub repository."}),Object(X.jsxs)("p",{children:["There\u2019s some great community content about publishing construct libraries. Check out"," ",Object(X.jsx)(ee,{href:"https://dev.to/aws-builders/a-beginner-s-guide-to-create-aws-cdk-construct-library-with-projen-5eh4",children:'"A Beginner\'s Guide to Create AWS CDK Construct Library with projen"'})," ","by ",Object(X.jsx)(ee,{href:"https://hayao-k.dev/",children:"hayao-k"}),"."]}),Object(X.jsxs)("p",{children:["If you already have a library written in TypeScript and you are looking for information on how to migrate to JSII, see the"," ",Object(X.jsx)(ee,{href:"https://aws.github.io/jsii/user-guides/#library-author-guide",children:"JSII library author guide"}),"."]})]}),Object(X.jsx)(Z,{question:"What is a construct?",children:Object(X.jsxs)("p",{children:["The Constructs Programming Model (CPM) introduces the notion of"," ",Object(X.jsx)("strong",{children:"constructs"}),", which represent cloud building blocks that can be used to assemble complete applications of any complexity. AWS, enterprises, start-ups, and individual developers use CDK constructs to share proven architecture patterns as reusable code libraries, so that everyone can benefit from the collective wisdom of the community."]})}),Object(X.jsx)(Z,{question:"Who owns the constructs in the Construct Hub?",children:Object(X.jsx)("p",{children:"The constructs are owned by the publishers of the packages. Constructs are user generated content that are governed by their own license terms which is displayed in the search results and can be accessed directly through the hyperlinked package page."})}),Object(X.jsx)(Z,{question:"Is the content served in Construct Hub meant to be consumed programmatically?",children:Object(X.jsxs)("p",{children:["No. The content displayed in the site is user generated, with some display formatting. We do not advise that you consume constructs from the search results programmatically. Please note that Construct Hub is a search engine intended to surface third party content from a public endpoint and we provide these results for your convenience AS-IS in accordance with our"," ",Object(X.jsx)(ee,{href:"https://constructs.dev/terms",children:"Site Terms"}),"."]})}),Object(X.jsx)(Z,{question:"Which CDK types are available on the Construct Hub?",children:Object(X.jsx)("p",{children:"AWS CDK, CDK for Kubernetes (CDK8s) and CDK for Terraform (CDKtf)."})}),Object(X.jsx)(Z,{question:"What is AWS CDK?",children:Object(X.jsxs)("p",{children:["AWS CDK is an open-source software development framework for defining applications on AWS and reusable abstractions using familiar programming languages and rich object-oriented APIs. AWS CDK apps synthesize intostandard CloudFormation templates which can be deployed to create infrastructure on AWS. For more information, click"," ",Object(X.jsx)(ee,{href:"https://docs.aws.amazon.com/cdk/latest/guide/home.html",children:"here"}),"."]})}),Object(X.jsx)(Z,{question:"What is CDK8s?",children:Object(X.jsxs)("p",{children:["CDK8s is an open-source software development framework for defining Kubernetes applications and reusable abstractions using familiar programming languages and rich object-oriented APIs."," ",Object(X.jsx)("strong",{children:"cdk8s"})," apps synthesize into standard Kubernetes manifests which can be applied to any Kubernetes cluster. For more information, click"," ",Object(X.jsx)(ee,{href:"https://cdk8s.io/",children:"here"}),"."]})}),Object(X.jsx)(Z,{question:"What is CDKtf?",children:Object(X.jsxs)("p",{children:["The community preview of the"," ",Object(X.jsx)(ee,{href:"https://aws.amazon.com/cdk/",children:"Cloud Development Kit"}),"for Terraform allows you to define infrastructure using a familiar programming language such as TypeScript, Python, or Go, while leveraging the hundreds of providers and thousands of module definitions provided by Terraform and the Terraform ecosystem. For more information, click"," ",Object(X.jsx)(ee,{href:"https://learn.hashicorp.com/tutorials/terraform/cdktf",children:"here"}),"."]})}),Object(X.jsx)(Z,{question:"What programming languages are supported in Dev Preview?",children:Object(X.jsx)("p",{children:"The Construct Hub Dev Preview supports Python and TypeScript."})}),Object(X.jsx)(Z,{question:"Is the support for .NET, Java and Go in the roadmap?",children:Object(X.jsx)("p",{children:"Yes."})}),Object(X.jsx)(Z,{question:"Can I view the source code of a construct?",children:Object(X.jsx)("p",{children:"For each package you can click the repository link that the publisher provided with the package. Theoretically this link should redirect your to the package\u2019s repository. However, we noticed that sometimes the code in the repository can be more or less updated than the package\u2019s code. Please take that into account."})}),Object(X.jsx)(Z,{question:"How can I install a package?",children:Object(X.jsx)("p",{children:"Press \u201cInstall\u201d in the package page and you\u2019ll see the installation instructions."})}),Object(X.jsx)(Z,{question:"How can I report a package?",children:Object(X.jsxs)("p",{children:['You can report a package by clicking "Report a package" from the package page. For claims of copyright infringement, read here:'," ",Object(X.jsx)(ee,{href:"https://aws.amazon.com/terms/#notice-and-procedure-for-making-claims-of-copyright-infringement",children:"https://aws.amazon.com/terms/#notice-and-procedure-for-making-claims-of-copyright-infringement"}),"."]})}),Object(X.jsx)(Z,{question:"How can I open a bug or send a PR for a package?",children:Object(X.jsx)("p",{children:"The package is owned by the publisher. To report a bug or send a PR, you should go to the repository link the publisher provided and open a ticket there"})}),Object(X.jsx)(Z,{question:"Why isn\u2019t my package displayed in the Construct Hub?",children:Object(X.jsx)("p",{children:"The Construct Hub displays only publicly available constructs that are JSII compatible and that were published on a public npm registry with an open source license. The package should be published on npm registry with the one of the following Keywords: aws-cdk, cdk8s or cdktf."})}),Object(X.jsx)(Z,{question:"Can I update my package after it has been displayed?",children:Object(X.jsx)("p",{children:"Yes. You should publish a new valid version to the public npm registry. We will detect the new version and display it on the Construct Hub."})}),Object(X.jsx)(Z,{question:"How does the Construct Hub relates to the Construct Catalog?",children:Object(X.jsxs)("p",{children:["The Construct Catalog was built by the CDK community in collaboration with the AWS CDK team. The Construct Hub is the official version for the Construct Catalog."," ",Object(X.jsx)(ee,{href:"https://awscdk.io",children:"https://awscdk.io"})," now redirects to the Construct Hub."]})}),Object(X.jsx)(Z,{question:"How can I participate in the Construct Hub community?",children:Object(X.jsxs)("p",{children:["The Construct Hub is built as a public construct. Please join the"," ",Object(X.jsx)(ee,{href:"https://github.com/cdklabs/construct-hub-webapp",children:"Construct Hub GitHub community"}),". You are also welcome to join the #construct-hub-dev channel in the ",Object(X.jsx)(ee,{href:"https://cdk.dev/",children:"CDK community"})," Slack workspace."]})}),Object(X.jsx)(Z,{question:"Is there a community slack channel for the CDK community?",children:Object(X.jsxs)("p",{children:["Please join the CDK Slack channel (",Object(X.jsx)(ee,{href:"https://cdk.dev/",children:"https://cdk.dev/"}),"). This Slack channel is managed by the CDK community for the CDK community."]})})]}),Object(X.jsxs)(te,{heading:"Getting Started",children:[Object(X.jsx)(Z,{question:"Do I need a user for the Construct Hub?",children:Object(X.jsx)("p",{children:"No. The Construct Hub doesn\u2019t require any signup."})}),Object(X.jsx)(Z,{question:"How do I get started?",children:Object(X.jsx)("p",{children:"Use our home page to discover publicly available packages. You may run a search to find packages you\u2019re interested in and mention your preferred programming language. For each package you will find helpful information such as README and API reference for the supported programming languages. You will also find links and keywords that the publisher provided with the package and installation instructions."})})]})]})]})})}}}]);
2
+ //# sourceMappingURL=13.04804547.chunk.js.map