text: !function(){var e={6077:function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},1530:function(e,t,n){"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},9670:function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},1318:function(e,t,n){var r=n(5656),o=n(7466),s=n(1400),i=function(e){return function(t,n,i){var a,c=r(t),u=o(c.length),l=s(i,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},4326:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},9920:function(e,t,n){var r=n(6656),o=n(3887),s=n(1236),i=n(3070);e.exports=function(e,t){for(var n=o(t),a=i.f,c=s.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||a(e,l,c(t,l))}}},4964:function(e,t,n){var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8880:function(e,t,n){var r=n(9781),o=n(3070),s=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},9114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9781:function(e,t,n){var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(e,t,n){var r=n(7854),o=n(111),s=r.document,i=o(s)&&o(s.createElement);e.exports=function(e){return i?s.createElement(e):{}}},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,s=n(8880),i=n(1320),a=n(3505),c=n(9920),u=n(4705);e.exports=function(e,t){var n,l,h,f,p,d=e.target,g=e.global,y=e.stat;if(n=g?r:y?r[d]||a(d,{}):(r[d]||{}).prototype)for(l in t){if(f=t[l],h=e.noTargetGet?(p=o(n,l))&&p.value:n[l],!u(g?l:d+(y?".":"#")+l,e.forced)&&void 0!==h){if(typeof f==typeof h)continue;c(f,h)}(e.sham||h&&h.sham)&&s(f,"sham",!0),i(n,l,f,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:function(e,t,n){"use strict";n(4916);var r=n(1320),o=n(7293),s=n(5112),i=n(2261),a=n(8880),c=s("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),h=s("replace"),f=!!/./[h]&&""===/./[h]("a","$0"),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,h){var d=s(e),g=!o((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),y=g&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!g||!y||"replace"===e&&(!u||!l||f)||"split"===e&&!p){var m=/./[d],v=n(d,""[e],(function(e,t,n,r,o){return t.exec===i?g&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),w=v[0],x=v[1];r(String.prototype,e,w),r(RegExp.prototype,d,2==t?function(e,t){return x.call(e,this,t)}:function(e){return x.call(e,this)})}h&&a(RegExp.prototype[d],"sham",!0)}},5005:function(e,t,n){var r=n(857),o=n(7854),s=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?s(r[e])||s(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},3501:function(e){e.exports={}},4664:function(e,t,n){var r=n(9781),o=n(7293),s=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,n){var r=n(7293),o=n(4326),s="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s.call(e,""):Object(e)}:Object},9587:function(e,t,n){var r=n(111),o=n(7674);e.exports=function(e,t,n){var s,i;return o&&"function"==typeof(s=t.constructor)&&s!==n&&r(i=s.prototype)&&i!==n.prototype&&o(e,i),e}},2788:function(e,t,n){var r=n(5465),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},9909:function(e,t,n){var r,o,s,i=n(8536),a=n(7854),c=n(111),u=n(8880),l=n(6656),h=n(5465),f=n(6200),p=n(3501),d=a.WeakMap;if(i){var g=h.state||(h.state=new d),y=g.get,m=g.has,v=g.set;r=function(e,t){return t.facade=e,v.call(g,e,t),t},o=function(e){return y.call(g,e)||{}},s=function(e){return m.call(g,e)}}else{var w=f("state");p[w]=!0,r=function(e,t){return t.facade=e,u(e,w,t),t},o=function(e){return l(e,w)?e[w]:{}},s=function(e){return l(e,w)}}e.exports={set:r,get:o,has:s,enforce:function(e){return s(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},4705:function(e,t,n){var r=n(7293),o=/#|\.prototype\./,s=function(e,t){var n=a[i(e)];return n==u||n!=c&&("function"==typeof t?r(t):!!t)},i=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=s.data={},c=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},111:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},1913:function(e){e.exports=!1},7850:function(e,t,n){var r=n(111),o=n(4326),s=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==o(e))}},133:function(e,t,n){var r=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},8536:function(e,t,n){var r=n(7854),o=n(2788),s=r.WeakMap;e.exports="function"==typeof s&&/native code/.test(o(s))},3929:function(e,t,n){var r=n(7850);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},3070:function(e,t,n){var r=n(9781),o=n(4664),s=n(9670),i=n(7593),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(s(e),t=i(t,!0),s(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(5296),s=n(9114),i=n(5656),a=n(7593),c=n(6656),u=n(4664),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=i(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return s(!o.f.call(e,t),e[t])}},8006:function(e,t,n){var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},6324:function(e,t,n){var r=n(6656),o=n(5656),s=n(1318).indexOf,i=n(3501);e.exports=function(e,t){var n,a=o(e),c=0,u=[];for(n in a)!r(i,n)&&r(a,n)&&u.push(n);for(;t.length>c;)r(a,n=t[c++])&&(~s(u,n)||u.push(n));return u}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:function(e,t,n){var r=n(9670),o=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),o(s),t?e.call(n,s):n.__proto__=s,n}}():void 0)},3887:function(e,t,n){var r=n(5005),o=n(8006),s=n(5181),i=n(9670);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(i(e)),n=s.f;return n?t.concat(n(e)):t}},857:function(e,t,n){var r=n(7854);e.exports=r},1320:function(e,t,n){var r=n(7854),o=n(8880),s=n(6656),i=n(3505),a=n(2788),c=n(9909),u=c.get,l=c.enforce,h=String(String).split("String");(e.exports=function(e,t,n,a){var c,u=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||s(n,"name")||o(n,"name",t),(c=l(n)).source||(c.source=h.join("string"==typeof t?t:""))),e!==r?(u?!p&&e[t]&&(f=!0):delete e[t],f?e[t]=n:o(e,t,n)):f?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},7651:function(e,t,n){var r=n(4326),o=n(2261);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var s=n.call(e,t);if("object"!=typeof s)throw TypeError("RegExp exec method returned something other than an Object or null");return s}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},2261:function(e,t,n){"use strict";var r,o,s=n(7066),i=n(2999),a=RegExp.prototype.exec,c=String.prototype.replace,u=a,l=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),h=i.UNSUPPORTED_Y||i.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(l||f||h)&&(u=function(e){var t,n,r,o,i=this,u=h&&i.sticky,p=s.call(i),d=i.source,g=0,y=e;return u&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),y=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(d="(?: "+d+")",y=" "+y,g++),n=new RegExp("^(?:"+d+")",p)),f&&(n=new RegExp("^"+d+"$(?!\\s)",p)),l&&(t=i.lastIndex),r=a.call(u?n:i,y),u?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:l&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),f&&r&&r.length>1&&c.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=u},7066:function(e,t,n){"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:function(e,t,n){"use strict";var r=n(7293);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},4488:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},3505:function(e,t,n){var r=n(7854),o=n(8880);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},6340:function(e,t,n){"use strict";var r=n(5005),o=n(3070),s=n(5112),i=n(9781),a=s("species");e.exports=function(e){var t=r(e),n=o.f;i&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},6200:function(e,t,n){var r=n(2309),o=n(9711),s=r("keys");e.exports=function(e){return s[e]||(s[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3505),s="__core-js_shared__",i=r[s]||o(s,{});e.exports=i},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.7.0",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},8710:function(e,t,n){var r=n(9958),o=n(4488),s=function(e){return function(t,n){var s,i,a=String(o(t)),c=r(n),u=a.length;return c<0||c>=u?e?"":void 0:(s=a.charCodeAt(c))<55296||s>56319||c+1===u||(i=a.charCodeAt(c+1))<56320||i>57343?e?a.charAt(c):s:e?a.slice(c,c+2):i-56320+(s-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},1400:function(e,t,n){var r=n(9958),o=Math.max,s=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):s(n,t)}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9958:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},7466:function(e,t,n){var r=n(9958),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7593:function(e,t,n){var r=n(111);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},9711:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},3307:function(e,t,n){var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(e,t,n){var r=n(7854),o=n(2309),s=n(6656),i=n(9711),a=n(133),c=n(3307),u=o("wks"),l=r.Symbol,h=c?l:l&&l.withoutSetter||i;e.exports=function(e){return s(u,e)||(a&&s(l,e)?u[e]=l[e]:u[e]=h("Symbol."+e)),u[e]}},4603:function(e,t,n){var r=n(9781),o=n(7854),s=n(4705),i=n(9587),a=n(3070).f,c=n(8006).f,u=n(7850),l=n(7066),h=n(2999),f=n(1320),p=n(7293),d=n(9909).set,g=n(6340),y=n(5112)("match"),m=o.RegExp,v=m.prototype,w=/a/g,x=/a/g,_=new m(w)!==w,b=h.UNSUPPORTED_Y;if(r&&s("RegExp",!_||b||p((function(){return x[y]=!1,m(w)!=w||m(x)==x||"/a/i"!=m(w,"i")})))){for(var R=function(e,t){var n,r=this instanceof R,o=u(e),s=void 0===t;if(!r&&o&&e.constructor===R&&s)return e;_?o&&!s&&(e=e.source):e instanceof R&&(s&&(t=l.call(e)),e=e.source),b&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=i(_?new m(e,t):m(e,t),r?this:v,R);return b&&n&&d(a,{sticky:n}),a},E=function(e){e in R||a(R,e,{configurable:!0,get:function(){return m[e]},set:function(t){m[e]=t}})},S=c(m),T=0;S.length>T;)E(S[T++]);v.constructor=R,R.prototype=v,f(o,"RegExp",R)}g("RegExp")},4916:function(e,t,n){"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:function(e,t,n){"use strict";var r=n(1320),o=n(9670),s=n(7293),i=n(7066),a="toString",c=RegExp.prototype,u=c.toString,l=s((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),h=u.name!=a;(l||h)&&r(RegExp.prototype,a,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?i.call(e):n)}),{unsafe:!0})},7852:function(e,t,n){"use strict";var r,o=n(2109),s=n(1236).f,i=n(7466),a=n(3929),c=n(4488),u=n(4964),l=n(1913),h="".endsWith,f=Math.min,p=u("endsWith");o({target:"String",proto:!0,forced:!!(l||p||(r=s(String.prototype,"endsWith"),!r||r.writable))&&!p},{endsWith:function(e){var t=String(c(this));a(e);var n=arguments.length>1?arguments[1]:void 0,r=i(t.length),o=void 0===n?r:f(i(n),r),s=String(e);return h?h.call(t,s,o):t.slice(o-s.length,o)===s}})},4723:function(e,t,n){"use strict";var r=n(7007),o=n(9670),s=n(7466),i=n(4488),a=n(1530),c=n(7651);r("match",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),u=String(this);if(!i.global)return c(i,u);var l=i.unicode;i.lastIndex=0;for(var h,f=[],p=0;null!==(h=c(i,u));){var d=String(h[0]);f[p]=d,""===d&&(i.lastIndex=a(u,s(i.lastIndex),l)),p++}return 0===p?null:f}]}))},3157:function(e,t,n){"use strict";var r,o=n(2109),s=n(1236).f,i=n(7466),a=n(3929),c=n(4488),u=n(4964),l=n(1913),h="".startsWith,f=Math.min,p=u("startsWith");o({target:"String",proto:!0,forced:!!(l||p||(r=s(String.prototype,"startsWith"),!r||r.writable))&&!p},{startsWith:function(e){var t=String(c(this));a(e);var n=i(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return h?h.call(t,r,n):t.slice(n,n+r.length)===r}})},913:function(){"use strict";try{self["workbox:core:5.1.4"]&&_()}catch(e){}},6550:function(){"use strict";try{self["workbox:expiration:5.1.4"]&&_()}catch(e){}},7977:function(){"use strict";try{self["workbox:precaching:5.1.4"]&&_()}catch(e){}},9080:function(){"use strict";try{self["workbox:routing:5.1.4"]&&_()}catch(e){}},6873:function(){"use strict";try{self["workbox:strategies:5.1.4"]&&_()}catch(e){}}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),function(){"use strict";n(4603),n(9714),n(7852),n(4723),n(3157),n(913);const e=(e,...t)=>{let n=e;return t.length>0&&(n+=" :: "+JSON.stringify(t)),n};class t extends Error{constructor(t,n){super(e(t,n)),this.name=t,this.details=n}}const r=new Set;const o={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},s=e=>[o.prefix,e,o.suffix].filter((e=>e&&e.length>0)).join("-"),i=e=>e||s(o.precache),a=e=>e||s(o.runtime);const c=e=>new URL(String(e),location.href).href.replace(new RegExp("^"+location.origin),""),u=(e,t)=>e.filter((e=>t in e)),l=async({request:e,mode:t,plugins:n=[]})=>{const r=u(n,"cacheKeyWillBeUsed");let o=e;for(const e of r)o=await e.cacheKeyWillBeUsed.call(e,{mode:t,request:o}),"string"==typeof o&&(o=new Request(o));return o},h=async({cacheName:e,request:t,event:n,matchOptions:r,plugins:o=[]})=>{const s=await self.caches.open(e),i=await l({plugins:o,request:t,mode:"read"});let a=await s.match(i,r);for(const t of o)if("cachedResponseWillBeUsed"in t){const o=t.cachedResponseWillBeUsed;a=await o.call(t,{cacheName:e,event:n,matchOptions:r,cachedResponse:a,request:i})}return a},f=async({cacheName:e,request:n,response:o,event:s,plugins:i=[],matchOptions:a})=>{const f=await l({plugins:i,request:n,mode:"write"});if(!o)throw new t("cache-put-with-no-response",{url:c(f.url)});const p=await(async({request:e,response:t,event:n,plugins:r=[]})=>{let o=t,s=!1;for(const t of r)if("cacheWillUpdate"in t){s=!0;const r=t.cacheWillUpdate;if(o=await r.call(t,{request:e,response:o,event:n}),!o)break}return s||(o=o&&200===o.status?o:void 0),o||null})({event:s,plugins:i,response:o,request:f});if(!p)return void 0;const d=await self.caches.open(e),g=u(i,"cacheDidUpdate"),y=g.length>0?await h({cacheName:e,matchOptions:a,request:f}):null;try{await d.put(f,p)}catch(e){throw"QuotaExceededError"===e.name&&await async function(){for(const e of r)await e()}(),e}for(const t of g)await t.cacheDidUpdate.call(t,{cacheName:e,event:s,oldResponse:y,newResponse:p,request:f})},p=h;let d;function g(e){e.then((()=>{}))}class y{constructor(e,t,{onupgradeneeded:n,onversionchange:r}={}){this._db=null,this._name=e,this._version=t,this._onupgradeneeded=n,this._onversionchange=r||(()=>this.close())}get db(){return this._db}async open(){if(!this._db)return this._db=await new Promise(((e,t)=>{let n=!1;setTimeout((()=>{n=!0,t(new Error("The open request was blocked and timed out"))}),this.OPEN_TIMEOUT);const r=indexedDB.open(this._name,this._version);r.onerror=()=>t(r.error),r.onupgradeneeded=e=>{n?(r.transaction.abort(),r.result.close()):"function"==typeof this._onupgradeneeded&&this._onupgradeneeded(e)},r.onsuccess=()=>{const t=r.result;n?t.close():(t.onversionchange=this._onversionchange.bind(this),e(t))}})),this}async getKey(e,t){return(await this.getAllKeys(e,t,1))[0]}async getAll(e,t,n){return await this.getAllMatching(e,{query:t,count:n})}async getAllKeys(e,t,n){return(await this.getAllMatching(e,{query:t,count:n,includeKeys:!0})).map((e=>e.key))}async getAllMatching(e,{index:t,query:n=null,direction:r="next",count:o,includeKeys:s=!1}={}){return await this.transaction([e],"readonly",((i,a)=>{const c=i.objectStore(e),u=t?c.index(t):c,l=[],h=u.openCursor(n,r);h.onsuccess=()=>{const e=h.result;e?(l.push(s?e:e.value),o&&l.length>=o?a(l):e.continue()):a(l)}}))}async transaction(e,t,n){return await this.open(),await new Promise(((r,o)=>{const s=this._db.transaction(e,t);s.onabort=()=>o(s.error),s.oncomplete=()=>r(),n(s,(e=>r(e)))}))}async _call(e,t,n,...r){return await this.transaction([t],n,((n,o)=>{const s=n.objectStore(t),i=s[e].apply(s,r);i.onsuccess=()=>o(i.result)}))}close(){this._db&&(this._db.close(),this._db=null)}}y.prototype.OPEN_TIMEOUT=2e3;const m={readonly:["get","count","getKey","getAll","getAllKeys"],readwrite:["add","put","clear","delete"]};for(const[e,t]of Object.entries(m))for(const n of t)n in IDBObjectStore.prototype&&(y.prototype[n]=async function(t,...r){return await this._call(n,t,e,...r)});const v=async({request:e,fetchOptions:n,event:r,plugins:o=[]})=>{if("string"==typeof e&&(e=new Request(e)),r instanceof FetchEvent&&r.preloadResponse){const e=await r.preloadResponse;if(e)return e}const s=u(o,"fetchDidFail"),i=s.length>0?e.clone():null;try{for(const t of o)if("requestWillFetch"in t){const n=t.requestWillFetch,o=e.clone();e=await n.call(t,{request:o,event:r})}}catch(e){throw new t("plugin-error-request-will-fetch",{thrownError:e})}const a=e.clone();try{let t;t="navigate"===e.mode?await fetch(e):await fetch(e,n);for(const e of o)"fetchDidSucceed"in e&&(t=await e.fetchDidSucceed.call(e,{event:r,request:a,response:t}));return t}catch(e){0;for(const t of s)await t.fetchDidFail.call(t,{error:e,event:r,originalRequest:i.clone(),request:a.clone()});throw e}};async function w(e,t){const n=e.clone(),r={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},o=t?t(r):r,s=function(){if(void 0===d){const e=new Response("");if("body"in e)try{new Response(e.body),d=!0}catch(e){d=!1}d=!1}return d}()?n.body:await n.blob();return new Response(s,o)}n(6550);const x="cache-entries",_=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class b{constructor(e){this._cacheName=e,this._db=new y("workbox-expiration",1,{onupgradeneeded:e=>this._handleUpgrade(e)})}_handleUpgrade(e){const t=e.target.result.createObjectStore(x,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1}),(async e=>{await new Promise(((t,n)=>{const r=indexedDB.deleteDatabase(e);r.onerror=()=>{n(r.error)},r.onblocked=()=>{n(new Error("Delete blocked"))},r.onsuccess=()=>{t()}}))})(this._cacheName)}async setTimestamp(e,t){const n={url:e=_(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)};await this._db.put(x,n)}async getTimestamp(e){return(await this._db.get(x,this._getId(e))).timestamp}async expireEntries(e,t){const n=await this._db.transaction(x,"readwrite",((n,r)=>{const o=n.objectStore(x).index("timestamp").openCursor(null,"prev"),s=[];let i=0;o.onsuccess=()=>{const n=o.result;if(n){const r=n.value;r.cacheName===this._cacheName&&(e&&r.timestamp<e||t&&i>=t?s.push(n.value):i++),n.continue()}else r(s)}})),r=[];for(const e of n)await this._db.delete(x,e.id),r.push(e.url);return r}_getId(e){return this._cacheName+"|"+_(e)}}class R{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._cacheName=e,this._timestampModel=new b(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const e of t)await n.delete(e);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,g(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){return await this._timestampModel.getTimestamp(e)<Date.now()-1e3*this._maxAgeSeconds}return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}n(7977);const E=[],S={get:()=>E,add(e){E.push(...e)}};function T(e){if(!e)throw new t("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:n,url:r}=e;if(!r)throw new t("add-to-cache-list-unexpected-type",{entry:e});if(!n){const e=new URL(r,location.href);return{cacheKey:e.href,url:e.href}}const o=new URL(r,location.href),s=new URL(r,location.href);return o.searchParams.set("__WB_REVISION__",n),{cacheKey:o.href,url:s.href}}class U{constructor(e){this._cacheName=i(e),this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map}addToCacheList(e){const n=[];for(const r of e){"string"==typeof r?n.push(r):r&&void 0===r.revision&&n.push(r.url);const{cacheKey:e,url:o}=T(r),s="string"!=typeof r&&r.revision?"reload":"default";if(this._urlsToCacheKeys.has(o)&&this._urlsToCacheKeys.get(o)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(o),secondEntry:e});if("string"!=typeof r&&r.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==r.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:o});this._cacheKeysToIntegrities.set(e,r.integrity)}if(this._urlsToCacheKeys.set(o,e),this._urlsToCacheModes.set(o,s),n.length>0){const e=`Workbox is precaching URLs without revision info: ${n.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}async install({event:e,plugins:t}={}){const n=[],r=[],o=await self.caches.open(this._cacheName),s=await o.keys(),i=new Set(s.map((e=>e.url)));for(const[e,t]of this._urlsToCacheKeys)i.has(t)?r.push(e):n.push({cacheKey:t,url:e});const a=n.map((({cacheKey:n,url:r})=>{const o=this._cacheKeysToIntegrities.get(n),s=this._urlsToCacheModes.get(r);return this._addURLToCache({cacheKey:n,cacheMode:s,event:e,integrity:o,plugins:t,url:r})}));await Promise.all(a);return{updatedURLs:n.map((e=>e.url)),notUpdatedURLs:r}}async activate(){const e=await self.caches.open(this._cacheName),t=await e.keys(),n=new Set(this._urlsToCacheKeys.values()),r=[];for(const o of t)n.has(o.url)||(await e.delete(o),r.push(o.url));return{deletedURLs:r}}async _addURLToCache({cacheKey:e,url:n,cacheMode:r,event:o,plugins:s,integrity:i}){const a=new Request(n,{integrity:i,cache:r,credentials:"same-origin"});let c,u=await v({event:o,plugins:s,request:a});for(const e of s||[])"cacheWillUpdate"in e&&(c=e);if(!(c?await c.cacheWillUpdate({event:o,request:a,response:u}):u.status<400))throw new t("bad-precaching-response",{url:n,status:u.status});u.redirected&&(u=await w(u)),await f({event:o,plugins:s,response:u,request:e===n?a:new Request(e),cacheName:this._cacheName,matchOptions:{ignoreSearch:!0}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n){return(await self.caches.open(this._cacheName)).match(n)}}createHandler(e=!0){return async({request:n})=>{try{const e=await this.matchPrecache(n);if(e)return e;throw new t("missing-precache-entry",{cacheName:this._cacheName,url:n instanceof Request?n.url:n})}catch(t){if(e)return fetch(n);throw t}}}createHandlerBoundToURL(e,n=!0){if(!this.getCacheKeyForURL(e))throw new t("non-precached-url",{url:e});const r=this.createHandler(n),o=new Request(e);return()=>r({request:o})}}let q;const O=()=>(q||(q=new U),q);const N=(e,t)=>{const n=O().getURLsToCacheKeys();for(const r of function*(e,{ignoreURLParametersMatching:t,directoryIndex:n,cleanURLs:r,urlManipulation:o}={}){const s=new URL(e,location.href);s.hash="",yield s.href;const i=function(e,t=[]){for(const n of[...e.searchParams.keys()])t.some((e=>e.test(n)))&&e.searchParams.delete(n);return e}(s,t);if(yield i.href,n&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=n,yield e.href}if(r){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(o){const e=o({url:s});for(const t of e)yield t.href}}(e,t)){const e=n.get(r);if(e)return e}};let L=!1;function C(e){L||((({ignoreURLParametersMatching:e=[/^utm_/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:r}={})=>{const o=i();self.addEventListener("fetch",(s=>{const i=N(s.request.url,{cleanURLs:n,directoryIndex:t,ignoreURLParametersMatching:e,urlManipulation:r});if(!i)return;let a=self.caches.open(o).then((e=>e.match(i))).then((e=>e||fetch(i)));s.respondWith(a)}))})(e),L=!0)}const P=e=>{const t=O(),n=S.get();e.waitUntil(t.install({event:e,plugins:n}).catch((e=>{throw e})))},I=e=>{const t=O();e.waitUntil(t.activate())};n(9080);const M=e=>e&&"object"==typeof e?e:{handle:e};class A{constructor(e,t,n="GET"){this.handler=M(t),this.match=e,this.method=n}}class K extends A{constructor(e,t,n){super((({url:t})=>{const n=e.exec(t.href);if(n&&(t.origin===location.origin||0===n.index))return n.slice(1)}),t,n)}}class j{constructor(){this._routes=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const n=Promise.all(t.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const t=new Request(...e);return this.handleRequest({request:t})})));e.waitUntil(n),e.ports&&e.ports[0]&&n.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return void 0;const{params:r,route:o}=this.findMatchingRoute({url:n,request:e,event:t});let s=o&&o.handler;if(!s&&this._defaultHandler&&(s=this._defaultHandler),!s)return void 0;let i;try{i=s.handle({url:n,request:e,event:t,params:r})}catch(e){i=Promise.reject(e)}return i instanceof Promise&&this._catchHandler&&(i=i.catch((r=>this._catchHandler.handle({url:n,request:e,event:t})))),i}findMatchingRoute({url:e,request:t,event:n}){const r=this._routes.get(t.method)||[];for(const o of r){let r;const s=o.match({url:e,request:t,event:n});if(s)return r=s,(Array.isArray(s)&&0===s.length||s.constructor===Object&&0===Object.keys(s).length||"boolean"==typeof s)&&(r=void 0),{route:o,params:r}}return{}}setDefaultHandler(e){this._defaultHandler=M(e)}setCatchHandler(e){this._catchHandler=M(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const n=this._routes.get(e.method).indexOf(e);if(!(n>-1))throw new t("unregister-route-route-not-registered");this._routes.get(e.method).splice(n,1)}}let W;const k=()=>(W||(W=new j,W.addFetchListener(),W.addCacheListener()),W);function D(e,n,r){let o;if("string"==typeof e){const t=new URL(e,location.href);0;o=new A((({url:e})=>e.href===t.href),n,r)}else if(e instanceof RegExp)o=new K(e,n,r);else if("function"==typeof e)o=new A(e,n,r);else{if(!(e instanceof A))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=e}return k().registerRoute(o),o}n(6873);const F={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};var H;self.addEventListener("activate",(()=>self.clients.claim())),function(e){O().addToCacheList(e),e.length>0&&(self.addEventListener("install",P),self.addEventListener("activate",I))}([{'revision':null,'url':'180.a8c6a2787fbeb8eb77ec.js'},{'revision':null,'url':'237.2a762821ec5ef27f5840.js'},{'revision':null,'url':'324.2e16b086573391ea6f43.js'},{'revision':null,'url':'331.e012d000c5bdb7ee0b32.js'},{'revision':null,'url':'486.a5dcdbea23b4c830a468.js'},{'revision':null,'url':'869.f305618c14333ac7244e.js'},{'revision':null,'url':'888.2639303b380d7acd3c95.js'},{'revision':null,'url':'935.eda8406de2d05e00e880.js'},{'revision':null,'url':'944.61ea005bfb932d664f5d.js'},{'revision':null,'url':'app.1e94b940f45bef38f5bd.css'},{'revision':null,'url':'app.c229f5f9ac0fe9417de3.js'},{'revision':null,'url':'chartjs.6115ab8a46716ce46acc.js'},{'revision':null,'url':'config.582836fd75595e569572.js'},{'revision':null,'url':'config.9052c73d1f771fdf4dcb.css'},{'revision':null,'url':'conns.978fb0f40ad98864a27d.css'},{'revision':null,'url':'conns.d7cef628e05d75bd9fe1.js'},{'revision':null,'url':'corejs.75a99a4746b51bbc8550.js'},{'revision':'d3b875fb254868485082ff0479c5e7c6','url':'index.html'},{'revision':null,'url':'libs.651a2d63ff206e5d9cb0.js'},{'revision':null,'url':'logs.e13de7d7543506850466.js'},{'revision':null,'url':'logs.fdfa037875bf344e16eb.css'},{'revision':'33543c5cc5d88f5695dd08c87d280dfd','url':'open-sans-latin-400-normal.woff2'},{'revision':'0edb76284a7a0f8db4665b560ee2b48f','url':'open-sans-latin-700-normal.woff2'},{'revision':null,'url':'proxies.105c31c0d120ac311d8b.css'},{'revision':null,'url':'proxies.3766670e5480da48450c.js'},{'revision':'add8c9706ad493baf9963330353ea0b1','url':'roboto-mono-latin-400-normal.woff2'},{'revision':null,'url':'rules.25f7919fc93f1df3821b.js'},{'revision':null,'url':'rules.d9333ead4ec736d7d944.css'},{'revision':null,'url':'vendor.02b325618c7a7bc31522.js'},{'revision':'ba59da5367104e3d502c2e01ab27d16f','url':'yacd-128.png'},{'revision':'f8dd91fb7c7b93b0680e80a2d033515a','url':'yacd-64.png'},{'revision':'d62274768763dff326369f9db9f7b562','url':'yacd.ico'}]),C(H);var B,$=new RegExp("/[^/?]+\\.[^/]+$");D((function(e){var t=e.request,n=e.url;return"navigate"===t.mode&&(!n.pathname.startsWith("/_")&&!n.pathname.match($))}),(B="/index.html",O().createHandlerBoundToURL(B))),D((function(e){var t=e.url;return t.origin===self.location.origin&&t.pathname.endsWith(".png")}),new class{constructor(e={}){if(this._cacheName=a(e.cacheName),this._plugins=e.plugins||[],e.plugins){const t=e.plugins.some((e=>!!e.cacheWillUpdate));this._plugins=t?e.plugins:[F,...e.plugins]}else this._plugins=[F];this._fetchOptions=e.fetchOptions,this._matchOptions=e.matchOptions}async handle({event:e,request:n}){"string"==typeof n&&(n=new Request(n));const r=this._getFromNetwork({request:n,event:e});let o,s=await p({cacheName:this._cacheName,request:n,event:e,matchOptions:this._matchOptions,plugins:this._plugins});if(s){if(e)try{e.waitUntil(r)}catch(o){0}}else{0;try{s=await r}catch(e){o=e}}if(!s)throw new t("no-response",{url:n.url,error:o});return s}async _getFromNetwork({request:e,event:t}){const n=await v({request:e,event:t,fetchOptions:this._fetchOptions,plugins:this._plugins}),r=f({cacheName:this._cacheName,request:e,response:n.clone(),event:t,plugins:this._plugins});if(t)try{t.waitUntil(r)}catch(e){0}return n}}({cacheName:"images",plugins:[new class{constructor(e={}){var t;this.cachedResponseWillBeUsed=async({event:e,request:t,cacheName:n,cachedResponse:r})=>{if(!r)return null;const o=this._isResponseDateFresh(r),s=this._getCacheExpiration(n);g(s.expireEntries());const i=s.updateTimestamp(t.url);if(e)try{e.waitUntil(i)}catch(e){0}return o?r:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const n=this._getCacheExpiration(e);await n.updateTimestamp(t.url),await n.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&(t=()=>this.deleteCacheAndMetadata(),r.add(t))}_getCacheExpiration(e){if(e===a())throw new t("expire-custom-caches-only");let n=this._cacheExpirations.get(e);return n||(n=new R(e,this._config),this._cacheExpirations.set(e,n)),n}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),n=new Date(t).getTime();return isNaN(n)?null:n}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}({maxEntries:50})]})),self.addEventListener("message",(function(e){e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}))}()}();
  //# sourceMappingURL=sw.js.map