1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[92],{105:function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return h})),r.d(e,"c",(function(){return l}));var n=r(41);r(4),r(28),r(332),r(42),r(22),r(26),r(23),r(45),r(24),r(190),r(64),r(100);function o(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(/[?#]/).shift().split("/").pop().split(".").pop()}function c(map){return function(t){return t?map[t]||t:map.missingValue}}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.formatter,r=t.keyMap,o=t.joinWith,h=void 0===o?"/":o,l=t.valueMap;e||(e=function(t,e){return"".concat(t,"=").concat(e)}),r&&"function"!=typeof r&&(r=c(r));var map=l||{};return Object.keys(map).forEach((function(t){"function"!=typeof map[t]&&(map[t]=c(map[t]))})),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.entries(t).filter((function(t){var e=Object(n.a)(t,2);e[0];return void 0!==e[1]})).map((function(o){var c=Object(n.a)(o,2),h=c[0],l=c[1],f=map[h];return"function"==typeof f&&(l=f(t[h])),h="function"==typeof r?r(h):h,e(h,l)})).join(h)}}function l(){var input=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"number"==typeof input?input:"string"==typeof input&&input.replace("px","").match(/^\d+$/g)?parseInt(input,10):void 0}},1164:function(t,e,r){(function(t){t.installComponents=function(component,t){var r="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(r.components=component.exports.options.components),r.components=r.components||{},t)r.components[i]=r.components[i]||t[i];r.functional&&function(component,t){if(component.exports[e])return;component.exports[e]=!0;var r=component.exports.render;component.exports.render=function(e,n){return r(e,Object.assign({},n,{_c:function(e,a,b){return n._c(t[e]||e,a,b)}}))}}(component,r.components)};var e="_functionalComponents"}).call(this,r(72))},121:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(86);const o=Object(n.registerPlugin)("PushNotifications",{})},14:function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"c",(function(){return l})),r.d(e,"F",(function(){return f})),r.d(e,"n",(function(){return d})),r.d(e,"I",(function(){return m})),r.d(e,"e",(function(){return v})),r.d(e,"E",(function(){return y})),r.d(e,"i",(function(){return data})),r.d(e,"J",(function(){return w})),r.d(e,"K",(function(){return x})),r.d(e,"v",(function(){return k})),r.d(e,"t",(function(){return O})),r.d(e,"M",(function(){return S})),r.d(e,"L",(function(){return j})),r.d(e,"x",(function(){return E})),r.d(e,"w",(function(){return P})),r.d(e,"u",(function(){return $})),r.d(e,"G",(function(){return T})),r.d(e,"h",(function(){return _})),r.d(e,"j",(function(){return L})),r.d(e,"l",(function(){return filter})),r.d(e,"o",(function(){return html})),r.d(e,"H",(function(){return text})),r.d(e,"q",(function(){return C})),r.d(e,"p",(function(){return U})),r.d(e,"k",(function(){return A})),r.d(e,"d",(function(){return I})),r.d(e,"A",(function(){return N})),r.d(e,"r",(function(){return R})),r.d(e,"s",(function(){return D})),r.d(e,"B",(function(){return M})),r.d(e,"C",(function(){return W})),r.d(e,"y",(function(){return H})),r.d(e,"z",(function(){return z})),r.d(e,"g",(function(){return F})),r.d(e,"m",(function(){return B})),r.d(e,"f",(function(){return V})),r.d(e,"D",(function(){return J})),r.d(e,"b",(function(){return K}));var n=r(8);class o{constructor(t){const e=this;for(let i=0;i<t.length;i+=1)e[i]=t[i];return e.length=t.length,this}}function c(t,e){const r=[];let i=0;if(t&&!e&&t instanceof o)return t;if(t)if("string"==typeof t){let o,c;const html=t.trim();if(html.indexOf("<")>=0&&html.indexOf(">")>=0){let t="div";for(0===html.indexOf("<li")&&(t="ul"),0===html.indexOf("<tr")&&(t="tbody"),0!==html.indexOf("<td")&&0!==html.indexOf("<th")||(t="tr"),0===html.indexOf("<tbody")&&(t="table"),0===html.indexOf("<option")&&(t="select"),c=n.a.createElement(t),c.innerHTML=html,i=0;i<c.childNodes.length;i+=1)r.push(c.childNodes[i])}else for(o=e||"#"!==t[0]||t.match(/[ .<>:~]/)?(e||n.a).querySelectorAll(t.trim()):[n.a.getElementById(t.trim().split("#")[1])],i=0;i<o.length;i+=1)o[i]&&r.push(o[i])}else if(t.nodeType||t===n.b||t===n.a)r.push(t);else if(t.length>0&&t[0].nodeType)for(i=0;i<t.length;i+=1)r.push(t[i]);return new o(r)}function h(t){const e=[];for(let i=0;i<t.length;i+=1)-1===e.indexOf(t[i])&&e.push(t[i]);return e}function l(t){if(void 0===t)return this;const e=t.split(" ");for(let i=0;i<e.length;i+=1)for(let t=0;t<this.length;t+=1)void 0!==this[t]&&void 0!==this[t].classList&&this[t].classList.add(e[i]);return this}function f(t){const e=t.split(" ");for(let i=0;i<e.length;i+=1)for(let t=0;t<this.length;t+=1)void 0!==this[t]&&void 0!==this[t].classList&&this[t].classList.remove(e[i]);return this}function d(t){return!!this[0]&&this[0].classList.contains(t)}function m(t){const e=t.split(" ");for(let i=0;i<e.length;i+=1)for(let t=0;t<this.length;t+=1)void 0!==this[t]&&void 0!==this[t].classList&&this[t].classList.toggle(e[i]);return this}function v(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(t,e);else for(const e in t)this[i][e]=t[e],this[i].setAttribute(e,t[e]);return this}function y(t){for(let i=0;i<this.length;i+=1)this[i].removeAttribute(t);return this}function data(t,e){let r;if(void 0!==e){for(let i=0;i<this.length;i+=1)r=this[i],r.dom7ElementDataStorage||(r.dom7ElementDataStorage={}),r.dom7ElementDataStorage[t]=e;return this}if(r=this[0],r){if(r.dom7ElementDataStorage&&t in r.dom7ElementDataStorage)return r.dom7ElementDataStorage[t];const e=r.getAttribute(`data-${t}`);return e||void 0}}function w(t){for(let i=0;i<this.length;i+=1){const e=this[i].style;e.webkitTransform=t,e.transform=t}return this}function x(t){"string"!=typeof t&&(t=`${t}ms`);for(let i=0;i<this.length;i+=1){const e=this[i].style;e.webkitTransitionDuration=t,e.transitionDuration=t}return this}function k(...t){let[e,r,n,o]=t;function h(t){const e=t.target;if(!e)return;const o=t.target.dom7EventData||[];if(o.indexOf(t)<0&&o.unshift(t),c(e).is(r))n.apply(e,o);else{const t=c(e).parents();for(let e=0;e<t.length;e+=1)c(t[e]).is(r)&&n.apply(t[e],o)}}function l(t){const e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),n.apply(this,e)}"function"==typeof t[1]&&([e,n,o]=t,r=void 0),o||(o=!1);const f=e.split(" ");let d;for(let i=0;i<this.length;i+=1){const t=this[i];if(r)for(d=0;d<f.length;d+=1){const e=f[d];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:n,proxyListener:h}),t.addEventListener(e,h,o)}else for(d=0;d<f.length;d+=1){const e=f[d];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:n,proxyListener:l}),t.addEventListener(e,l,o)}}return this}function O(...t){let[e,r,n,o]=t;"function"==typeof t[1]&&([e,n,o]=t,r=void 0),o||(o=!1);const c=e.split(" ");for(let i=0;i<c.length;i+=1){const t=c[i];for(let e=0;e<this.length;e+=1){const c=this[e];let h;if(!r&&c.dom7Listeners?h=c.dom7Listeners[t]:r&&c.dom7LiveListeners&&(h=c.dom7LiveListeners[t]),h&&h.length)for(let e=h.length-1;e>=0;e-=1){const r=h[e];n&&r.listener===n||n&&r.listener&&r.listener.dom7proxy&&r.listener.dom7proxy===n?(c.removeEventListener(t,r.proxyListener,o),h.splice(e,1)):n||(c.removeEventListener(t,r.proxyListener,o),h.splice(e,1))}}}return this}function S(...t){const e=t[0].split(" "),r=t[1];for(let i=0;i<e.length;i+=1){const o=e[i];for(let e=0;e<this.length;e+=1){const c=this[e];let h;try{h=new n.b.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(t){h=n.a.createEvent("Event"),h.initEvent(o,!0,!0),h.detail=r}c.dom7EventData=t.filter(((data,t)=>t>0)),c.dispatchEvent(h),c.dom7EventData=[],delete c.dom7EventData}}return this}function j(t){const e=["webkitTransitionEnd","transitionend"],r=this;let i;function n(o){if(o.target===this)for(t.call(this,o),i=0;i<e.length;i+=1)r.off(e[i],n)}if(t)for(i=0;i<e.length;i+=1)r.on(e[i],n);return this}function E(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+
vendor: 4,868 bytes, line 2
2parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function P(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function $(){if(this.length>0){const t=this[0],e=t.getBoundingClientRect(),body=n.a.body,r=t.clientTop||body.clientTop||0,o=t.clientLeft||body.clientLeft||0,c=t===n.b?n.b.scrollY:t.scrollTop,h=t===n.b?n.b.scrollX:t.scrollLeft;return{top:e.top+c-r,left:e.left+h-o}}return null}function T(){return this[0]?n.b.getComputedStyle(this[0],null):{}}function _(t,e){let i;if(1===arguments.length){if("string"!=typeof t){for(i=0;i<this.length;i+=1)for(let e in t)this[i].style[e]=t[e];return this}if(this[0])return n.b.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(i=0;i<this.length;i+=1)this[i].style[t]=e;return this}return this}function L(t){if(!t)return this;for(let i=0;i<this.length;i+=1)if(!1===t.call(this[i],i,this[i]))return this;return this}function filter(t){const e=[],r=this;for(let i=0;i<r.length;i+=1)t.call(r[i],i,r[i])&&e.push(r[i]);return new o(e)}function html(html){if(void 0===html)return this[0]?this[0].innerHTML:void 0;for(let i=0;i<this.length;i+=1)this[i].innerHTML=html;return this}function text(text){if(void 0===text)return this[0]?this[0].textContent.trim():null;for(let i=0;i<this.length;i+=1)this[i].textContent=text;return this}function C(t){const e=this[0];let r,i;if(!e||void 0===t)return!1;if("string"==typeof t){if(e.matches)return e.matches(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);for(r=c(t),i=0;i<r.length;i+=1)if(r[i]===e)return!0;return!1}if(t===n.a)return e===n.a;if(t===n.b)return e===n.b;if(t.nodeType||t instanceof o){for(r=t.nodeType?[t]:t,i=0;i<r.length;i+=1)if(r[i]===e)return!0;return!1}return!1}function U(){let i,t=this[0];if(t){for(i=0;null!==(t=t.previousSibling);)1===t.nodeType&&(i+=1);return i}}function A(t){if(void 0===t)return this;const e=this.length;let r;return t>e-1?new o([]):t<0?(r=e+t,new o(r<0?[]:[this[r]])):new o([this[t]])}function I(...t){let e;for(let r=0;r<t.length;r+=1){e=t[r];for(let i=0;i<this.length;i+=1)if("string"==typeof e){const t=n.a.createElement("div");for(t.innerHTML=e;t.firstChild;)this[i].appendChild(t.firstChild)}else if(e instanceof o)for(let t=0;t<e.length;t+=1)this[i].appendChild(e[t]);else this[i].appendChild(e)}return this}function N(t){let i,e;for(i=0;i<this.length;i+=1)if("string"==typeof t){const r=n.a.createElement("div");for(r.innerHTML=t,e=r.childNodes.length-1;e>=0;e-=1)this[i].insertBefore(r.childNodes[e],this[i].childNodes[0])}else if(t instanceof o)for(e=0;e<t.length;e+=1)this[i].insertBefore(t[e],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this}function R(t){return this.length>0?t?this[0].nextElementSibling&&c(this[0].nextElementSibling).is(t)?new o([this[0].nextElementSibling]):new o([]):this[0].nextElementSibling?new o([this[0].nextElementSibling]):new o([]):new o([])}function D(t){const e=[];let r=this[0];if(!r)return new o([]);for(;r.nextElementSibling;){const n=r.nextElementSibling;t?c(n).is(t)&&e.push(n):e.push(n),r=n}return new o(e)}function M(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&c(e.previousElementSibling).is(t)?new o([e.previousElementSibling]):new o([]):e.previousElementSibling?new o([e.previousElementSibling]):new o([])}return new o([])}function W(t){const e=[];let r=this[0];if(!r)return new o([]);for(;r.previousElementSibling;){const n=r.previousElementSibling;t?c(n).is(t)&&e.push(n):e.push(n),r=n}return new o(e)}function H(t){const e=[];for(let i=0;i<this.length;i+=1)null!==this[i].parentNode&&(t?c(this[i].parentNode).is(t)&&e.push(this[i].parentNode):e.push(this[i].parentNode));return c(h(e))}function z(t){const e=[];for(let i=0;i<this.length;i+=1){let r=this[i].parentNode;for(;r;)t?c(r).is(t)&&e.push(r):e.push(r),r=r.parentNode}return c(h(e))}function F(t){let e=this;return void 0===t?new o([]):(e.is(t)||(e=e.parents(t).eq(0)),e)}function B(t){const e=[];for(let i=0;i<this.length;i+=1){const r=this[i].querySelectorAll(t);for(let t=0;t<r.length;t+=1)e.push(r[t])}return new o(e)}function V(t){const e=[];for(let i=0;i<this.length;i+=1){const r=this[i].childNodes;for(let n=0;n<r.length;n+=1)t?1===r[n].nodeType&&c(r[n]).is(t)&&e.push(r[n]):1===r[n].nodeType&&e.push(r[n])}return new o(h(e))}function J(){for(let i=0;i<this.length;i+=1)this[i].parentNode&&this[i].parentNode.removeChild(this[i]);return this}function K(...t){const e=this;let i,r;for(i=0;i<t.length;i+=1){const n=c(t[i]);for(r=0;r<n.length;r+=1)e[e.length]=n[r],e.length+=1}return e}c.fn=o.prototype,c.Class=o,c.Dom7=o;"resize scroll".split(" ")}
2,1661:function(t,e,r){r(1164),t.exports=r(1165)},168:function(t,e,r){"use strict";r.d(e,"a",(function(){return E})),r.d(e,"b",(function(){return $})),r.d(e,"c",(function(){return W})),r.d(e,"d",(function(){return P}));var n=r(304),o=r(172),c=r(258),h=r(481),l=r(826);const f=t=>null==t,d=t=>!f(t),m=(t,a,b)=>w(a,t)===w(b,t);function v(u){return u&&u.length&&new RegExp(["^\\/([a-zA-Z0-9@\\-%_~.:]","[/a-zA-Z0-9@\\-%_~.:]*)?","([?][^#]*)?(#[^#]*)?$"].join("")).test(u)}function y(t,e,r){return t.matched.some((t=>Object.values(t.components).some((component=>component.options&&component.options[e]===r))))}function w(path="",t){let e=path.split("?")[0];return t&&t.base&&(e=e.replace(t.base,"/")),"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e=e.replace(/\/+/g,"/"),e}function x(t){return"string"==typeof t?t:JSON.stringify(t)}function k(t){if("string"==typeof t)try{return JSON.parse(t)}catch(t){}return t}function O(t,e){if(!e||!t||"object"!=typeof t)return t;if(e in t)return t[e];const r=Array.isArray(e)?e:(e+"").split(".");let n=t;for(;r.length&&n;)n=n[r.shift()];return n}function S(t,e){return t&&e&&"string"==typeof t&&!t.startsWith(e)?e+" "+t:t}class j{constructor(t,e){this.ctx=t,this.options=e,this._initState()}setUniversal(t,e){return f(e)?this.removeUniversal(t):(this.setCookie(t,e),this.setLocalStorage(t,e),this.setState(t,e),e)}getUniversal(t){let e;return f(e)&&(e=this.getCookie(t)),f(e)&&(e=this.getLocalStorage(t)),f(e)&&(e=this.getState(t)),e}syncUniversal(t,e){let r=this.getUniversal(t);return f(r)&&d(e)&&(r=e),d(r)&&this.setUniversal(t,r),r}removeUniversal(t){this.removeState(t),this.removeLocalStorage(t),this.removeCookie(t)}_initState(){if(o.set(this,"_state",{}),this._useVuex=this.options.vuex&&!!this.ctx.store,this._useVuex){const t={namespaced:!0,state:()=>this.options.initialState,mutations:{SET(t,e){o.set(t,e.key,e.value)}}};this.ctx.store.registerModule(this.options.vuex.namespace,t,{preserveState:Boolean(this.ctx.store.state[this.options.vuex.namespace])}),this.state=this.ctx.store.state[this.options.vuex.namespace]}else o.set(this,"state",{}),console.warn("[AUTH] The Vuex Store is not activated. This might cause issues in auth module behavior, like redirects not working properly.To activate it, see https://nuxtjs.org/docs/2.x/directory-structure/store")}setState(t,e){return"_"===t[0]?o.set(this._state,t,e):this._useVuex?this.ctx.store.commit(this.options.vuex.namespace+"/SET",{key:t,value:e}):o.set(this.state,t,e),e}getState(t){return"_"!==t[0]?this.state[t]:this._state[t]}watchState(t,e){if(this._useVuex)return this.ctx.store.watch((e=>O(e[this.options.vuex.namespace],t)),e)}removeState(t){this.setState(t,void 0)}setLocalStorage(t,e){if(f(e))return this.removeLocalStorage(t);if("undefined"==typeof localStorage||!this.options.localStorage)return;const r=this.options.localStorage.prefix+t;try{localStorage.setItem(r,x(e))}catch(t){if(!this.options.ignoreExceptions)throw t}return e}getLocalStorage(t){if("undefined"==typeof localStorage||!this.options.localStorage)return;const e=this.options.localStorage.prefix+t;return k(localStorage.getItem(e))}removeLocalStorage(t){if("undefined"==typeof localStorage||!this.options.localStorage)return;const e=this.options.localStorage.prefix+t;localStorage.removeItem(e)}getCookies(){const t=document.cookie;return c.parse(t||"")||{}}setCookie(t,e,r={}){if(!this.options.cookie)return;const n=(void 0!==r.prefix?r.prefix:this.options.cookie.prefix)+t,o=Object.assign({},this.options.cookie.options,r),h=x(e);f(e)&&(o.maxAge=-1),"number"==typeof o.expires&&(o.expires=new Date(Date.now()+864e5*o.expires));const l=c.serialize(n,h,o);return document.cookie=l,e}getCookie(t){if(!this.options.cookie)return;const e=this.options.cookie.prefix+t,r=this.getCookies();return k(r[e]?decodeURIComponent(r[e]):void 0)}removeCookie(t,e){this.setCookie(t,void 0,e)}}class E{constructor(t,e){this.strategies={},this._errorListeners=[],this._redirectListeners=[],this.ctx=t,this.options=e;const r=new j(t,{...e,initialState:{user:null,loggedIn:!1}});this.$storage=r,this.$state=r.state}get state(){return this._stateWarnShown||(this._stateWarnShown=!0,console.warn("[AUTH] $auth.state is deprecated. Please use $auth.$state or top level props like $auth.loggedIn")),this.$state}
2get strategy(){return this.getStrategy()}getStrategy(t=!0){if(t){if(!this.$state.strategy)throw new Error("No strategy is set!");if(!this.strategies[this.$state.strategy])throw new Error("Strategy not supported: "+this.$state.strategy)}return this.strategies[this.$state.strategy]}get user(){return this.$state.user}get loggedIn(){return this.$state.loggedIn}get busy(){return this.$storage.getState("busy")}async init(){if(this.options.resetOnError&&this.onError(((...t)=>{("function"!=typeof this.options.resetOnError||this.options.resetOnError(...t))&&this.reset()})),this.$storage.syncUniversal("strategy",this.options.defaultStrategy),!this.getStrategy(!1)&&(this.$storage.setUniversal("strategy",this.options.defaultStrategy),!this.getStrategy(!1)))return Promise.resolve();try{await this.mounted()}catch(t){this.callOnError(t)}finally{this.options.watchLoggedIn&&this.$storage.watchState("loggedIn",(t=>{y(this.ctx.route,"auth",!1)||this.redirect(t?"home":"logout")}))}}getState(t){return this._getStateWarnShown||(this._getStateWarnShown=!0,console.warn("[AUTH] $auth.getState is deprecated. Please use $auth.$storage.getState() or top level props like $auth.loggedIn")),this.$storage.getState(t)}registerStrategy(t,e){this.strategies[t]=e}setStrategy(t){if(t===this.$storage.getUniversal("strategy"))return Promise.resolve();if(!this.strategies[t])throw new Error(`Strategy ${t} is not defined!`);return this.reset(),this.$storage.setUniversal("strategy",t),this.mounted()}mounted(...t){return this.getStrategy().mounted?Promise.resolve(this.getStrategy().mounted(...t)).catch((t=>(this.callOnError(t,{method:"mounted"}),Promise.reject(t)))):this.fetchUserOnce()}loginWith(t,...e){return this.setStrategy(t).then((()=>this.login(...e)))}login(...t){return this.getStrategy().login?this.wrapLogin(this.getStrategy().login(...t)).catch((t=>(this.callOnError(t,{method:"login"}),Promise.reject(t)))):Promise.resolve()}fetchUser(...t){return this.getStrategy().fetchUser?Promise.resolve(this.getStrategy().fetchUser(...t)).catch((t=>(this.callOnError(t,{method:"fetchUser"}),Promise.reject(t)))):Promise.resolve()}logout(...t){return this.getStrategy().logout?Promise.resolve(this.getStrategy().logout(...t)).catch((t=>(this.callOnError(t,{method:"logout"}),Promise.reject(t)))):(this.reset(),Promise.resolve())}setUserToken(t,e){return this.getStrategy().setUserToken?Promise.resolve(this.getStrategy().setUserToken(t,e)).catch((t=>(this.callOnError(t,{method:"setUserToken"}),Promise.reject(t)))):(this.getStrategy().token.set(t),Promise.resolve())}reset(...t){return this.getStrategy().reset||(this.setUser(!1),this.get
2Strategy().token.reset(),this.getStrategy().refreshToken.reset()),this.getStrategy().reset(...t)}refreshTokens(){return this.getStrategy().refreshController?Promise.resolve(this.getStrategy().refreshController.handleRefresh()).catch((t=>(this.callOnError(t,{method:"refreshTokens"}),Promise.reject(t)))):Promise.resolve()}check(...t){return this.getStrategy().check?this.getStrategy().check(...t):{valid:!0}}fetchUserOnce(...t){return this.$state.user?Promise.resolve():this.fetchUser(...t)}setUser(t){this.$storage.setState("user",t);let e={valid:Boolean(t)};e.valid&&(e=this.check()),this.$storage.setState("loggedIn",e.valid)}request(t,e={}){const r="object"==typeof e?Object.assign({},e,t):t;if(""===r.baseURL&&(r.baseURL=n(this.ctx.req)),this.ctx.app.$axios)return this.ctx.app.$axios.request(r).catch((t=>(this.callOnError(t,{method:"request"}),Promise.reject(t))));console.error("[AUTH] add the @nuxtjs/axios module to nuxt.config file")}requestWith(t,e,r){const n=this.getStrategy().token.get(),o=Object.assign({},r,e),c=this.strategies[t].options.token.name||"Authorization";return o.headers||(o.headers={}),!o.headers[c]&&d(n)&&n&&"string"==typeof n&&(o.headers[c]=n),this.request(o)}wrapLogin(t){return this.$storage.setState("busy",!0),this.error=null,Promise.resolve(t).then((t=>(this.$storage.setState("busy",!1),t))).catch((t=>(this.$storage.setState("busy",!1),Promise.reject(t))))}onError(t){this._errorListeners.push(t)}callOnError(t,e={}){this.error=t;for(const r of this._errorListeners)r(t,e)}redirect(t,e=!1){if(!this.options.redirect)return;const r=this.options.fullPathRedirect?this.ctx.route.fullPath:this.ctx.route.path;let n=this.options.redirect[t];if(n){if(this.options.rewriteRedirects&&("login"===t&&v(r)&&!m(this.ctx,n,r)&&this.$storage.setUniversal("redirect",r),"home"===t)){const t=this.$storage.getUniversal("redirect");this.$storage.setUniversal("redirect",null),v(t)&&(n=t)}n=this.callOnRedirect(n,r)||n,m(this.ctx,n,r)||(e?(v(n)&&!n.includes(this.ctx.base)&&(n=w("/"+this.ctx.base+"/"+n)),window.location.replace(n)):this.ctx.redirect(n,this.ctx.query))}}onRedirect(t){this._redirectListeners.push(t)}callOnRedirect(t,e){for(const r of this._redirectListeners)t=r(t,e)||t;return t}hasScope(t){const e=this.$state.user&&O(this.$state.user,this.options.scopeKey);return!!e&&(Array.isArray(e)?e.includes(t):Boolean(O(e,t)))}}const P=async t=>{if(y(t.route,"auth",!1))return;const e=function(t,e=[]){return[].concat(...t.matched.map((function(t,r){return Object.keys(t.components).map((function(n){return e.push(r),t.components[n]}))})))}(t.route,[]);if(!e.length)return;const{login:r,callback:n}=t.$auth.options.redirect,o=y(t.route,"auth","guest"),c=e=>w(t.route.path,t)===w(e,t);if(t.$auth.$state.loggedIn){const{tokenExpired:e,refreshTokenExpired:n,isRefreshable:h}=t.$auth.check(!0);if((!r||c(r)||o)&&t.$auth.redirect("home"),n)t.$auth.reset();else if(e)if(h)try{await t.$auth.refreshTokens()}catch(e){t.$auth.reset()}else t.$auth.reset()}else o||n&&c(n)||t.$auth.redirect("login")};class $ extends Error{constructor(){super("Both token and refresh token have expired. Your request was aborted."),this.name="ExpiredAuthSessionError"}}class T{constructor(t){this.scheme=t,this._refreshPromise=null,this.$auth=t.$auth}handleRefresh(){return this._refreshPromise?this._refreshPromise:this._doRefresh()}_doRefresh(){return this._refreshPromise=new Promise(((t,e)=>{this.scheme.refreshTokens().then((e=>{this._refreshPromise=null,t(e)})).catch((t=>{this._refreshPromise=null,e(t)}))})),this._refreshPromise}}var _,L;(L=_||(_={})).UNKNOWN="UNKNOWN",L.VALID="VALID",L.EXPIRED="EXPIRED";class C{constructor(t,e){this._status=this._calculate(t,e)}unknown(){return _.UNKNOWN===this._status}valid(){return _.VALID===this._status}expired(){return _.EXPIRED===this._status}_calculate(t,e){const r=Date.now();try{if(!t||!e)return _.UNKNOWN}catch(t){return _.UNKNOWN}return r<(e-=500)?_.VALID:_.EXPIRED}}class U{constructor(t,e){this.scheme=t,this.$storage=e}get(){const t=this.scheme.options.refreshToken.prefix+this.scheme.name;return this.$storage.getUniversal(t)}set(t){const e=S(t,this.scheme.options.refreshToken.type);return this._setToken(e),this._updateExpiration(e),e}sync(){const t=this._syncToken();return this._syncExpiration(),t}reset(){this._setToken(!1),this._setExpiration(!1)}status(){return new C(this.get(),this._getExpiration())}_getExpiration(){const t=this.scheme.options.refreshToken.expirationPrefix+this.scheme.name;return this.$storage.getUniversal(t)}_setExpiration(t){const e=this.scheme.options.refreshToken.expirationPrefix+this.scheme.name;return this.$storage.setUniversal(e,t)}_syncExpiration(){const t=this.scheme.options.refreshToken.expirationPrefix+this.scheme.name;return this.$storage.syncUniversal(t)}_updateExpiration(t){let e;const r=Date.now(),n=1e3*Number(this.scheme.options.refreshToken.maxAge),o=n?r+n:0;try{e=1e3*h(t+"").exp||o}catch(t){if(e=o,!t||"InvalidTokenError"!==t.name)throw t}return this._setExpiration(e||!1)}_setToken(t){const e=this.scheme.options.refreshToken.prefix+this.scheme.name;return this.$storage.setUniversal(e,t)}_syncToken(){const t=this.scheme.options.refreshToken.prefix+this.scheme.name;return this.$storage.syncUniversal(t)}}class A{constructor(t,e){this.scheme=t,this.axios=e,this.interceptor=null}setHeader(t){this.scheme.options.token.global&&this.axios.setHeader(this.scheme.options.token.name,t)}clearHeader(){this.scheme.options.token.global&&this.axios.setHeader(this.scheme.options.token.name,!1)}initializeRequestInterceptor(t){this.interceptor=this.axios.interceptors.request.use((async e=>{if(!this._needToken(e)||e.url===t)return e;const{valid:r,tokenExpired:n,refreshTokenExpired:o,isRefreshable:c}=this.scheme.check(!0);let h=r;if(o)throw this.scheme.reset(),new $;if(n){if(!c)throw this.scheme.reset(),new $;h=await this.scheme.refreshTokens().then((()=>!0)).catch((()=>{throw this.scheme.reset(),new $}))}const l=this.scheme.token.get();if(!h){if(!l&&this._requestHasAuthorizationHeader(e))throw new $;return e}
2return this._getUpdatedRequestConfig(e,l)}))}reset(){this.axios.interceptors.request.eject(this.interceptor),this.interceptor=null}_needToken(t){const e=this.scheme.options;return e.token.global||Object.values(e.endpoints).some((e=>"object"==typeof e?e.url===t.url:e===t.url))}_getUpdatedRequestConfig(t,e){return"string"==typeof e&&(t.headers[this.scheme.options.token.name]=e),t}_requestHasAuthorizationHeader(t){return!!t.headers.common[this.scheme.options.token.name]}}class I{constructor(t,e){this.scheme=t,this.$storage=e}get(){const t=this.scheme.options.token.prefix+this.scheme.name;return this.$storage.getUniversal(t)}set(t){const e=S(t,this.scheme.options.token.type);return this._setToken(e),this._updateExpiration(e),"string"==typeof e&&this.scheme.requestHandler.setHeader(e),e}sync(){const t=this._syncToken();return this._syncExpiration(),"string"==typeof t&&this.scheme.requestHandler.setHeader(t),t}reset(){this.scheme.requestHandler.clearHeader(),this._setToken(!1),this._setExpiration(!1)}status(){return new C(this.get(),this._getExpiration())}_getExpiration(){const t=this.scheme.options.token.expirationPrefix+this.scheme.name;return this.$storage.getUniversal(t)}_setExpiration(t){const e=this.scheme.options.token.expirationPrefix+this.scheme.name;return this.$storage.setUniversal(e,t)}_syncExpiration(){const t=this.scheme.options.token.expirationPrefix+this.scheme.name;return this.$storage.syncUniversal(t)}_updateExpiration(t){let e;const r=Date.now(),n=1e3*Number(this.scheme.options.token.maxAge),o=n?r+n:0;try{e=1e3*h(t+"").exp||o}catch(t){if(e=o,!t||"InvalidTokenError"!==t.name)throw t}return this._setExpiration(e||!1)}_setToken(t){const e=this.scheme.options.token.prefix+this.scheme.name;return this.$storage.setUniversal(e,t)}_syncToken(){const t=this.scheme.options.token.prefix+this.scheme.name;return this.$storage.syncUniversal(t)}}class N{constructor(t,...e){this.$auth=t,this.options=e.reduce(((p,t)=>l(p,t)),{})}get name(){return this.options.name}}const R={name:"local",endpoints:{login:{url:"/api/auth/login",method:"post"},logout:{url:"/api/auth/logout",method:"post"},user:{url:"/api/auth/user",method:"get"}},token:{property:"token",type:"Bearer",name:"Authorization",maxAge:1800,global:!0,required:!0,prefix:"_token.",expirationPrefix:"_token_expiration."},user:{property:"user",autoFetch:!0},clientId:!1,grantType:!1,scope:!1};class D extends N{constructor(t,e,...r){super(t,e,...r,R),this.token=new I(this,this.$auth.$storage),this.requestHandler=new A(this,this.$auth.ctx.$axios)}check(t=!1){const e={valid:!1,tokenExpired:!1};if(!this.token.sync())return e;if(!t)return e.valid=!0,e;return this.token.status().expired()?(e.tokenExpired=!0,e):(e.valid=!0,e)}mounted({tokenCallback:t=(()=>this.$auth.reset()),refreshTokenCallback:e}={}){const{tokenExpired:r,refreshTokenExpired:n}=this.check(!0);return n&&"function"==typeof e?e():r&&"function"==typeof t&&t(),this.initializeRequestInterceptor(),this.$auth.fetchUserOnce()}async login(t,{reset:e=!0}={}){if(!this.options.endpoints.login)return;e&&this.$auth.reset({resetInterceptor:!1}),this.options.clientId&&(t.data.client_id=this.options.clientId),this.options.grantType&&(t.data.grant_type=this.options.grantType),this.options.scope&&(t.data.scope=this.options.scope);const r=await this.$auth.request(t,this.options.endpoints.login);return this.updateTokens(r),this.requestHandler.interceptor||this.initializeRequestInterceptor(),this.options.user.autoFetch&&await this.fetchUser(),r}setUserToken(t){return this.token.set(t),this.fetchUser()}fetchUser(t){return this.check().valid?this.options.endpoints.user?this.$auth.requestWith(this.name,t,this.options.endpoints.user).then((t=>{const e=O(t.data,this.options.user.property);if(!e){const t=new Error(`User Data response does not contain field ${this.options.user.property}`);return Promise.reject(t)}return this.$auth.setUser(e),t})).catch((t=>(this.$auth.callOnError(t,{method:"fetchUser"}),Promise.reject(t)))):(this.$auth.setUser({}),Promise.resolve()):Promise.resolve()}async logout(t={}){return this.options.endpoints.logout&&await this.$auth.requestWith(this.name,t,this.options.endpoints.logout).catch((()=>{})),this.$auth.reset()}reset({resetInterceptor:t=!0}={}){this.$auth.setUser(!1),this.token.reset(),t&&this.requestHandler.reset()}updateTokens(t){const e=!this.options.token.required||O(t.data,this.options.token.property);this.token.set(e)}initializeRequestInterceptor(){this.requestHandler.initializeRequestInterceptor()}}const M={name:"refresh",endpoints:{refresh:{url:"/api/auth/refresh",method:"post"}},refreshToken:{property:"refresh_token",data:"refresh_token",maxAge:2592e3,required:!0,tokenRequired:!1,prefix:"_refresh_token.",expirationPrefix:"_refresh_token_expiration."},autoLogout:!1};class W extends D{constructor(t,e){super(t,e,M),this.refreshToken=new U(this,this.$auth.$storage),this.refreshController=new T(this)}check(t=!1){const e={valid:!1,tokenExpired:!1,refreshTokenExpired:!1,isRefreshable:!0},r=this.token.sync(),n=this.refreshToken.sync();if(!r||!n)return e;if(!t)return e.valid=!0,e;const o=this.token.status();return this.refreshToken.status().expired()?(e.refreshTokenExpired=!0,e):o.expired()?(e.tokenExpired=!0,e):(e.valid=!0,e)}mounted(){return super.mounted({tokenCallback:()=>{this.options.autoLogout&&this.$auth.reset()},refreshTokenCallback:()=>{this.$auth.reset()}})}refreshTokens(){if(!this.options.endpoints.refresh)return Promise.resolve();if(!this.check().valid)return Promise.resolve();if(this.refreshToken.status().expired())throw this.$auth.reset(),new $;this.options.refreshToken.tokenRequired||this.requestHandler.clearHeader();const t={data:{client_id:void 0,grant_type:void 0}};return this.options.refreshToken.required&&this.options.refreshToken.data&&(t.data[this.options.refreshToken.data]=this.refreshToken.get()),this.options.clientId&&(t.data.client_id=this.options.clientId),this.options.grantType&&(t.data.grant_type="refresh_token"),function(t){for(const e in t)void 0===t[e]&&delete t[e]}(t.data),this.$auth.request(t,this.options.endpoints.refresh).then((t=>(this.updateTokens(t,{isRefreshing:!0}),t))).catch((t=>(this.$auth.callOnError(t,{method:"refreshToken"}),Promise.reject(t))))}setUserToken(t,e){return this.token.set(t),e&&this.refreshToken.set(e),this.fetchUser()}reset({resetInterceptor:t=!0}={}){this.$auth.setUser(!1),this.token.reset(),this.refreshToken.reset(),t&&this.requestHandler.reset()}updateTokens(t,{isRefreshing:e=!1,updateOnRefresh:r=!0}={}){const n=!this.options.token.required||O(t.data,this.options.token.property),o=!this.options.refreshToken.required||O(t.data,this.options.refreshToken.property);this.token.set(n),o&&(!e||e&&r)&&this.refreshToken.set(o)}initializeRequestInterceptor(){this.requestHandler.initializeRequestInterceptor(this.options.endpoints.refresh.url)}}},171:function(t,e,r){"use strict";function n(t,e,r){"object"==typeof r.value&&(r.value=o(r.value)),r.enumerable&&!r.get&&!r.set&&r.configurable&&r.writable&&"__proto__"!==e?t[e]=r.value:Object.defineProperty(t,e,r)}function o(t){if("object"!=typeof t)return t;var e,r,c,i=0,h=Object.prototype.toString.call(t);if("[object Object]"===h?c=Object.create(t.__proto__||null):"[object Array]"===h?c=Array(t.length):"[object Set]"===h?(c=new Set,t.forEach((function(t){c.add(o(t))}))):"[object Map]"===h?(c=new Map,t.forEach((function(t,e){c.set(o(e),o(t))}))):"[object Date]"===h?c=new Date(+t):"[object RegExp]"===h?c=new RegExp(t.source,t.flags):"[object DataView]"===h?c=new t.constructor(o(t.buffer)):"[object ArrayBuffer]"===h?c=t.slice(0):"Array]"===h.slice(-6)&&(c=new t.constructor(t)),c){for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n(c,r[i],Object.getOwnPropertyDescriptor(t,r[i]));for(i=0,r=Object.getOwnPropertyNames(t);i<r.length;i++)Object.hasOwnProperty.call(c,e=r[i])&&c[e]===t[e]||n(c,e,Object.getOwnPropertyDescriptor(t,e))}return c||t}r.d(e,"a",(function(){return o}
2))},1821:function(t,e,r){"use strict";r.d(e,"a",(function(){return j}));r(23),r(19),r(29),r(26),r(30),r(31),r(60),r(10),r(93),r(13),r(38),r(94),r(11);var n=r(51),o=r(3),c=r(9),h=(r(12),r(22),r(181),r(56),r(4),r(24),r(28),r(332),r(103),r(339),r(91),r(64),r(45),r(213)),l=r(98);function f(t,e){return d.apply(this,arguments)}function d(){return(d=Object(o.a)(regeneratorRuntime.mark((function t(e,r){var n,o,meta;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=y(e),o="image:meta:"+r,!n.has(o)){t.next=4;break}return t.abrupt("return",n.get(o));case 4:return t.next=6,m(r).catch((function(t){return console.error("Failed to get image meta for "+r,t+""),{width:0,height:0,ratio:0}}));case 6:return meta=t.sent,n.set(o,meta),t.abrupt("return",meta);case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function m(t){return v.apply(this,arguments)}function v(){return(v=Object(o.a)(regeneratorRuntime.mark((function t(e){var r,data,n,o,c,meta;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.next=13;break;case 3:return r=t.sent,t.next=6,fetch(e).then((function(t){return t.buffer()}));case 6:if(data=t.sent,n=r(data)){t.next=10;break}throw new Error("No metadata could be extracted from the image `".concat(e,"`."));case 10:return o=n.width,c=n.height,meta={width:o,height:c,ratio:o&&c?o/c:void 0},t.abrupt("return",meta);case 13:if("undefined"!=typeof Image){t.next=15;break}throw new TypeError("Image not supported");case 15:return t.abrupt("return",new Promise((function(t,r){var img=new Image;img.onload=function(){var meta={width:img.width,height:img.height,ratio:img.width/img.height};t(meta)},img.onerror=function(t){return r(t)},img.src=e})));case 16:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function y(t){if(!t.nuxtContext.cache)if(t.nuxtContext.ssrContext&&t.nuxtContext.ssrContext.cache)t.nuxtContext.cache=t.nuxtContext.ssrContext.cache;else{var e={};t.nuxtContext.cache={get:function(t){return e[t]},set:function(t,r){e[t]=r},has:function(t){return void 0!==e[t]}}}return t.nuxtContext.cache}var w=r(105);function x(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return k(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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 o,c=!0,h=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){h=!0,o=t},f:function(){try{c||null==r.return||r.return()}finally{if(h)throw o}}}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){Object(c.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function j(t,e){var r={options:t,nuxtContext:e},n=function(input){var image=P(r,input,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return image.isStatic&&function(image,input){image.url=input}(image,input),image},o=function(input){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n(input,S(S({},e),{},{modifiers:Object(h.a)(t,e.modifiers||{})})).url};var c=function(e){o[e]=function(source,r,n){return o(source,r,S(S({}
2,t.presets[e]),n))}};for(var l in t.presets)c(l);return o.options=t,o.getImage=n,o.getMeta=function(input,t){return function(t,e,r){return E.apply(this,arguments)}(r,input,t)},o.getSizes=function(input,t){return function(t,input,e){var r,n,o=Object(w.c)(null===(r=e.modifiers)||void 0===r?void 0:r.width),c=Object(w.c)(null===(n=e.modifiers)||void 0===n?void 0:n.height),h=o&&c?c/o:0,l=[],f={};if("string"==typeof e.sizes){var d,m=x(e.sizes.split(/[\s,]+/).filter((function(t){return t})));try{for(m.s();!(d=m.n()).done;){var s=d.value.split(":");2===s.length&&(f[s[0].trim()]=s[1].trim())}}catch(t){m.e(t)}finally{m.f()}}else Object.assign(f,e.sizes);for(var v in f){var y=t.options.screens&&t.options.screens[v]||parseInt(v),k=String(f[v]),O=k.endsWith("vw");if(!O&&/^\d+$/.test(k)&&(k+="px"),O||k.endsWith("px")){var j=parseInt(k);if(y&&j){O&&(j=Math.round(j/100*y));var E=h?Math.round(j*h):c;l.push({width:j,size:k,screenMaxWidth:y,media:"(max-width: ".concat(y,"px)"),src:t.$img(input,S(S({},e.modifiers),{},{width:j,height:E}),e)})}}}l.sort((function(t,e){return t.screenMaxWidth-e.screenMaxWidth}));var P=l[l.length-1];P&&(P.media="");return{sizes:l.map((function(t){return"".concat(t.media?t.media+" ":"").concat(t.size)})).join(", "),srcset:l.map((function(t){return"".concat(t.src," ").concat(t.width,"w")})).join(", "),src:null==P?void 0:P.src}}(r,input,t)},r.$img=o,o}function E(){return(E=Object(o.a)(regeneratorRuntime.mark((function t(e,input,r){var image;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof(image=P(e,input,S({},r))).getMeta){t.next=7;break}return t.next=4,image.getMeta();case 4:case 9:return t.abrupt("return",t.sent);case 7:return t.next=9,f(e,image.url);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function P(t,input,e){var r,o;if("string"!=typeof input||""===input)throw new TypeError("input must be a string (received ".concat(Object(n.a)(input),": ").concat(JSON.stringify(input),")"));if(input.startsWith("data:"))return{url:input};var c=function(t,e){var r=t.options.providers[e];if(!r)throw new Error("Unknown provider: "+e);return r}(t,e.provider||t.options.provider),f=c.provider,d=c.defaults,m=function(t,e){if(!e)return{};if(!t.options.presets[e])throw new Error("Unknown preset: "+e);return t.options.presets[e]}(t,e.preset);if(input=Object(l.c)(input)?input:Object(l.f)(input),!f.supportsAlias)for(var base in t.options.alias)input.startsWith(base)&&(input=Object(l.d)(t.options.alias[base],input.substr(base.length)));if(f.validateDomains&&Object(l.c)(input)){var v=Object(l.e)(input).host;if(!t.options.domains.find((function(t){return t===v})))return{url:input}}var y=Object(h.a)(e,m,d);y.modifiers=S({},y.modifiers);var x=y.modifiers.format;null!==(r=y.modifiers)&&void 0!==r&&r.width&&(y.modifiers.width=Object(w.c)(y.modifiers.width)),null!==(o=y.modifiers)&&void 0!==o&&o.height&&(y.modifiers.height=Object(w.c)(y.modifiers.height));var image=f.getImage(input,y,t);return image.format=image.format||x||"",image}},20:function(t,e,r){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var content=function(t,e){var content=t[1]||"",r=t[3];if(!r)return content;if(e&&"function"==typeof btoa){var n=(c=r,h=btoa(unescape(encodeURIComponent(JSON.stringify(c)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(h),"/*# ".concat(data," */")),o=r.sources.map((function(source){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(source," */")}));return[content].concat(o).concat([n]).join("\n")}var c,h,data;return[content].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(content,"}"):content})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(o[c]=!0)}for(var h=0;h<t.length;h++){var l=[].concat(t[h]);n&&o[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),e.push(l))}},e}},213:function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(54),o=r(51);r(22),r(4),r(60);function c(t){return null!==t&&"object"===Object(o.a)(t)}function h(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",o=arguments.length>3?arguments[3]:void 0;if(!c(e))return h(t,{},r,o);var object=Object.assign({},e);for(var l in t)if("__proto__"!==l&&"constructor"!==l){var f=t[l];null!=f&&(o&&o(object,l,f,r)||(Array.isArray(f)&&Array.isArray(object[l])?object[l]=[].concat(Object(n.a)(f),Object(n.a)(object[l])):c(f)&&c(object[l])?object[l]=h(f,object[l],(r?"".concat(r,"."):"")+l.toString(),o):object[l]=f))}return object}function l(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.reduce((function(p,e){return h(p,e,"",t)}),{})}}var f=l();l((function(object,t,e){if(void 0!==object[t]&&"function"==typeof e)return object[t]=e(object[t]),!0})),l((function(object,t,e){if(Array.isArray(object[t])&&"function"==typeof e)return object[t]=e(object[t]),!0}))},214:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n,o=r(86);!function(t){t[t.Sunday=1]="Sunday",t[t.Monday=2]="Monday",t[t.Tuesday=3]="Tuesday",t[t.Wednesday=4]="Wednesday",t[t.Thursday=5]="Thursday",t[t.Friday=6]="Friday",t[t.Saturday=7]="Saturday"}(n||(n={}));const c=Object(o.registerPlugin)("LocalNotifications",{web:()=>r.e(283).then(r.bind(null,2654)).then((t=>new t.LocalNotificationsWeb))})},256:function(t,e,r){"use strict";r.r(e),r.d(e,"getImage",(function(){return h})),r.d(e,"validateDomains",(function(){return l})),r.d(e,"supportsAlias",(function(){return f}));r(22);var n=r(98),o=r(105),c=Object(o.a)({keyMap:{format:"f",fit:"fit",width:"w",height:"h",resize:"s",quality:"q",background:"b"},joinWith:",",formatter:function(t,e){return Object(n.a)(t)+"_"+Object(n.a)(e)}}),h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.modifiers,o=void 0===r?{}:r,h=e.baseURL,l=arguments.length>2?arguments[2]:void 0;o.width&&o.height&&(o.resize="".concat(o.width,"x").concat(o.height),delete o.width,delete o.height);var f,d=c(o)||"_";h||(h=Object(n.d)((null===(f=l.nuxtContext)||void 0===f?void 0:f.base)||"/","/_ipx"));return{url:Object(n.d)(h,d,Object(n.b)(t))}},l=!0,f=!0},257:function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(9),o=(r(46),r(35),r(23),r(19),r(24),r(4),r(29),r(26),r(30),r(105));function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?c(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l={props:{src:{type:String,required:!0},format:{type:String,default:void 0},quality:{type:[Number,String],default:void 0},background:{type:String,default:void 0},fit:{type:String,default:void 0},modifiers:{type:Object,default:void 0},preset:{type:String,default:void 0},provider:{type:String,default:void 0},sizes:{type:[Object,String],default:void 0},preload:{type:Boolean,default:void 0},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0},alt:{type:String,default:void 0},referrerpolicy:{type:String,default:void 0},usemap:{type:String,default:void 0},longdesc:{type:String,default:void 0},ismap:{type:Boolean,default:void 0},crossorigin:{type:[Boolean,String],default:void 0,validator:function(t){return["anonymous","use-credentials","",!0,!1].includes(t)}},loading:{type:String,default:void 0},decoding:{type:String,default:void 0,validator:function(t){return["async","auto","sync"].includes(t)}}},computed:{nImgAttrs:function(){return{width:Object(o.c)(this.width),height:Object(o.c)(this.height),alt:this.alt,referrerpolicy:this.referrerpolicy,usemap:this.usemap,longdesc:this.longdesc,ismap:this.ismap,crossorigin:!0===this.crossorigin?"anonymous":this.crossorigin||void 0,loading:this.loading,decoding:this.decoding}},nModifiers:function(){return h(h({},this.modifiers),{},{width:Object(o.c)(this.width),height:Object(o.c)(this.height),format:this.format,quality:this.quality,background:this.background,fit:this.fit})},nOptions:function(){return{provider:this.provider,preset:this.preset}}}}},481:function(t,e,r){"use strict";function n(t){this.message=t}n.prototype=new Error,n.prototype.name="InvalidCharacterError";var o="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,a=0,i=0,c="";o=e.charAt(i++);~o&&(r=a%4?64*r+o:o,a++%4)?c+=String.fromCharCode(255&r>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c};function c(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(o(t).replace(/(.)/g,(function(t,e){var r=e.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}(e)}catch(t){return o(e)}}function h(t){this.message=t}function l(t,e){if("string"!=typeof t)throw new h("Invalid token specified");var r=!0===(e=e||{}).header?0:1;try{return JSON.parse(c(t.split(".")[r]))}catch(t){throw new h("Invalid token specified: "+t.message)}}h.prototype=new Error,h.prototype.name="InvalidTokenError";const a=l;a.default=l,a.InvalidTokenError=h,t.exports=a},811:function(t,e,r){"use strict";var n=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function h(t,source,e){return t.concat(source).map((function(element){return c(element,e)}))}function l(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(symbol){return Object.propertyIsEnumerable.call(t,symbol)})):[]}(t))}function f(object,t){try{return t in object}catch(t){return!1}}function d(t,source,e){var r={};return e.isMergeableObject(t)&&l(t).forEach((function(n){r[n]=c(t[n],e)})),l(source).forEach((function(n){(function(t,e){return f(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,n)||(f(t,n)&&e.isMergeableObject(source[n])?r[n]=function(t,e){if(!e.customMerge)return m;var r=e.customMerge(t);return"function"==typeof r?r:m}(n,e)(t[n],source[n],e):r[n]=c(source[n],e))})),r}function m(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||h,e.isMergeableObject=e.isMergeableObject||n,e.cloneUnlessOtherwiseSpecified=c;var r=Array.isArray(source);return r===Array.isArray(t)?r?e.arrayMerge(t,source,e):d(t,source,e):c(source,e)}m.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return m(t,r,e)}),{})};var v=m;
2t.exports=v},816:function(t,e,r){"use strict";r.r(e),r.d(e,"getImage",(function(){return l})),r.d(e,"supportsAlias",(function(){return f}));r(23),r(19),r(24),r(4),r(29),r(26),r(30);var n=r(9),o=r(256);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l=function(t,e,r){return h(h({},Object(o.getImage)(t,e,r)),{},{isStatic:!0})},f=!0},826:function(t,e,r){"use strict";var n=r(1382);function o(t){return null!==t&&"object"===n(t)}function c(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",n=arguments.length>3?arguments[3]:void 0;if(!o(e))return c(t,{},r,n);var h=Object.assign({},e);for(var l in t)if("__proto__"!==l&&"constructor"!==l){var f=t[l];null!==f&&(n&&n(h,l,f,r)||(Array.isArray(f)&&Array.isArray(h[l])?h[l]=h[l].concat(f):o(f)&&o(h[l])?h[l]=c(f,h[l],(r?"".concat(r,"."):"")+l.toString(),n):h[l]=f))}return h}function h(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.reduce((function(p,e){return c(p,e,"",t)}),{})}}r(22),r(4),r(60);var l=h();l.fn=h((function(t,e,r,n){if(void 0!==t[e]&&"function"==typeof r)return t[e]=r(t[e]),!0})),l.arrayFn=h((function(t,e,r,n){if(Array.isArray(t[e])&&"function"==typeof r)return t[e]=r(t[e]),!0})),l.extend=h,t.exports=l},86:function(t,e,r){"use strict";r.r(e),function(t){r.d(e,"Capacitor",(function(){return d})),r.d(e,"CapacitorCookies",(function(){return j})),r.d(e,"CapacitorException",(function(){return l})),r.d(e,"CapacitorHttp",(function(){return $})),r.d(e,"CapacitorPlatforms",(function(){return n})),r.d(e,"ExceptionCode",(function(){return h})),r.d(e,"Plugins",(function(){return v})),r.d(e,"WebPlugin",(function(){return w})),r.d(e,"WebView",(function(){return x})),r.d(e,"addPlatform",(function(){return o})),r.d(e,"buildRequestInit",(function(){return E})),r.d(e,"registerPlugin",(function(){return m})),r.d(e,"registerWebPlugin",(function(){return y})),r.d(e,"setPlatform",(function(){return c}));const n=(t=>t.CapacitorPlatforms=(t=>{const e=new Map;e.set("web",{name:"web"});const r=t.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:e};return r.addPlatform=(t,e)=>{r.platforms.set(t,e)},r.setPlatform=t=>{r.platforms.has(t)&&(r.currentPlatform=r.platforms.get(t))},r})(t))("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{}),o=n.addPlatform,c=n.setPlatform;var h;!function(t){t.Unimplemented="UNIMPLEMENTED",t.Unavailable="UNAVAILABLE"}(h||(h={}));class l extends Error{constructor(t,code,data){super(t),this.message=t,this.code=code,this.data=data}}const f=t=>{var e,r,n,o,c;const f=t.CapacitorCustomPlatform||null,d=t.Capacitor||{},m=d.Plugins=d.Plugins||{},v=t.CapacitorPlatforms,y=(null===(e=null==v?void 0:v.currentPlatform)||void 0===e?void 0:e.getPlatform)||(()=>null!==f?f.name:(t=>{var e,r;return(null==t?void 0:t.androidBridge)?"android":(null===(r=null===(e=null==t?void 0:t.webkit)||void 0===e?void 0:e.messageHandlers)||void 0===r?void 0:r.bridge)?"ios":"web"})(t)),w=(null===(r=null==v?void 0:v.currentPlatform)||void 0===r?void 0:r.isNativePlatform)||(()=>"web"!==y()),x=(null===(n=null==v?void 0:v.currentPlatform)||void 0===n?void 0:n.isPluginAvailable)||(t=>{const e=O.get(t);return!!(null==e?void 0:e.platforms.has(y()))||!!k(t)}),k=(null===(o=null==v?void 0:v.currentPlatform)||void 0===o?void 0:o.getPluginHeader)||(t=>{var e;return null===(e=d.PluginHeaders)||void 0===e?void 0:e.find((e=>e.name===t))}),O=new Map,S=(null===(c=null==v?void 0:v.currentPlatform)||void 0===c?void 0:c.registerPlugin)||((t,e={})=>{const r=O.get(t);if(r)return console.warn(`Capacitor plugin "${t}" already registered. Cannot register plugins twice.`),r.proxy;const n=y(),o=k(t);let c;const v=r=>{let m;const v=(...v)=>{const p=(async()=>(!c&&n in e?c=c="function"==typeof e[n]?await e[n]():e[n]:null!==f&&!c&&"web"in e&&(c=c="function"==typeof e.web?await e.
2web():e.web),c))().then((e=>{const c=((e,r)=>{var c,f;if(!o){if(e)return null===(f=e[r])||void 0===f?void 0:f.bind(e);throw new l(`"${t}" plugin is not implemented on ${n}`,h.Unimplemented)}{const n=null==o?void 0:o.methods.find((t=>r===t.name));if(n)return"promise"===n.rtype?e=>d.nativePromise(t,r.toString(),e):(e,n)=>d.nativeCallback(t,r.toString(),e,n);if(e)return null===(c=e[r])||void 0===c?void 0:c.bind(e)}})(e,r);if(c){const p=c(...v);return m=null==p?void 0:p.remove,p}throw new l(`"${t}.${r}()" is not implemented on ${n}`,h.Unimplemented)}));return"addListener"===r&&(p.remove=async()=>m()),p};return v.toString=()=>`${r.toString()}() { [capacitor code] }`,Object.defineProperty(v,"name",{value:r,writable:!1,configurable:!1}),v},w=v("addListener"),x=v("removeListener"),S=(t,e)=>{const r=w({eventName:t},e),n=async()=>{const n=await r;x({eventName:t,callbackId:n},e)},p=new Promise((t=>r.then((()=>t({remove:n})))));return p.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await n()},p},j=new Proxy({},{get(t,e){switch(e){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return o?S:w;case"removeListener":return x;default:return v(e)}}});return m[t]=j,O.set(t,{name:t,proxy:j,platforms:new Set([...Object.keys(e),...o?[n]:[]])}),j});return d.convertFileSrc||(d.convertFileSrc=t=>t),d.getPlatform=y,d.handleError=e=>t.console.error(e),d.isNativePlatform=w,d.isPluginAvailable=x,d.pluginMethodNoop=(t,e,r)=>Promise.reject(`${r} does not have an implementation of "${e}".`),d.registerPlugin=S,d.Exception=l,d.DEBUG=!!d.DEBUG,d.isLoggingEnabled=!!d.isLoggingEnabled,d.platform=d.getPlatform(),d.isNative=d.isNativePlatform(),d},d=(t=>t.Capacitor=f(t))("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{}),m=d.registerPlugin,v=d.Plugins,y=t=>((t,e)=>{var r;const n=e.config,o=t.Plugins;if(!(null==n?void 0:n.name))throw new Error('Capacitor WebPlugin is using the deprecated "registerWebPlugin()" function, but without the config. Please use "registerPlugin()" instead to register this web plugin."');console.warn(`Capacitor plugin "${n.name}" is using the deprecated "registerWebPlugin()" function`),o[n.name]&&!(null===(r=null==n?void 0:n.platforms)||void 0===r?void 0:r.includes(t.getPlatform()))||(o[n.name]=e)})(d,t);class w{constructor(t){this.listeners={},this.retainedEventArguments={},this.windowListeners={},t&&(console.warn(`Capacitor WebPlugin "${t.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=t)}addListener(t,e){let r=!1;this.listeners[t]||(this.listeners[t]=[],r=!0),this.listeners[t].push(e);const n=this.windowListeners[t];n&&!n.registered&&this.addWindowListener(n),r&&this.sendRetainedArgumentsForEvent(t);return Promise.resolve({remove:async()=>this.removeListener(t,e)})}async removeAllListeners(){this.listeners={};for(const t in this.windowListeners)this.removeWindowListener(this.windowListeners[t]);this.windowListeners={}}notifyListeners(t,data,e){const r=this.listeners[t];if(r)r.forEach((t=>t(data)));else if(e){let e=this.retainedEventArguments[t];e||(e=[]),e.push(data),this.retainedEventArguments[t]=e}}hasListeners(t){return!!this.listeners[t].length}registerWindowListener(t,e){this.windowListeners[e]={registered:!1,windowEventName:t,pluginEventName:e,handler:t=>{this.notifyListeners(e,t)}}}unimplemented(t="not implemented"){return new d.Exception(t,h.Unimplemented)}unavailable(t="not available"){return new d.Exception(t,h.Unavailable)}async removeListener(t,e){const r=this.listeners[t];if(!r)return;const n=r.indexOf(e);this.listeners[t].splice(n,1),this.listeners[t].length||this.removeWindowListener(this.windowListeners[t])}addWindowListener(t){window.addEventListener(t.windowEventName,t.handler),t.registered=!0}removeWindowListener(t){t&&(window.removeEventListener(t.windowEventName,t.handler),t.registered=!1)}sendRetainedArgumentsForEvent(t){const e=this.retainedEventArguments[t];e&&(delete this.retainedEventArguments[t],e.forEach((e=>{this.notifyListeners(t,e)})))}}const x=m("WebView"),k=t=>
2encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),O=t=>t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class S extends w{async getCookies(){const t=document.cookie,e={};return t.split(";").forEach((t=>{if(t.length<=0)return;let[r,n]=t.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");r=O(r).trim(),n=O(n).trim(),e[r]=n})),e}async setCookie(t){try{const e=k(t.key),r=k(t.value),n=`; expires=${(t.expires||"").replace("expires=","")}`,path=(t.path||"/").replace("path=",""),o=null!=t.url&&t.url.length>0?`domain=${t.url}`:"";document.cookie=`${e}=${r||""}${n}; path=${path}; ${o};`}catch(t){return Promise.reject(t)}}async deleteCookie(t){try{document.cookie=`${t.key}=; Max-Age=0`}catch(t){return Promise.reject(t)}}async clearCookies(){try{const t=document.cookie.split(";")||[];for(const e of t)document.cookie=e.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(t){return Promise.reject(t)}}async clearAllCookies(){try{await this.clearCookies()}catch(t){return Promise.reject(t)}}}const j=m("CapacitorCookies",{web:()=>new S}),E=(t,e={})=>{const output=Object.assign({method:t.method||"GET",headers:t.headers},e),r=((t={})=>{const e=Object.keys(t);return Object.keys(t).map((t=>t.toLocaleLowerCase())).reduce(((r,n,o)=>(r[n]=t[e[o]],r)),{})})(t.headers)["content-type"]||"";if("string"==typeof t.data)output.body=t.data;else if(r.includes("application/x-www-form-urlencoded")){const e=new URLSearchParams;for(const[r,n]of Object.entries(t.data||{}))e.set(r,n);output.body=e.toString()}else if(r.includes("multipart/form-data")||t.data instanceof FormData){const form=new FormData;if(t.data instanceof FormData)t.data.forEach(((t,e)=>{form.append(e,t)}));else for(const e of Object.keys(t.data))form.append(e,t.data[e]);output.body=form;const e=new Headers(output.headers);e.delete("content-type"),output.headers=e}else(r.includes("application/json")||"object"==typeof t.data)&&(output.body=JSON.stringify(t.data));return output};class P extends w{async request(t){const e=E(t,t.webFetchExtra),r=((t,e=!0)=>t?Object.entries(t).reduce(((t,r)=>{const[n,o]=r;let c,h;return Array.isArray(o)?(h="",o.forEach((t=>{c=e?encodeURIComponent(t):t,h+=`${n}=${c}&`})),h.slice(0,-1)):(c=e?encodeURIComponent(o):o,h=`${n}=${c}`),`${t}&${h}`}),"").substr(1):null)(t.params,t.shouldEncodeUrlParams),n=r?`${t.url}?${r}`:t.url,o=await fetch(n,e),c=o.headers.get("content-type")||"";let data,h,{responseType:l="text"}=o.ok?t:{};switch(c.includes("application/json")&&(l="json"),l){case"arraybuffer":case"blob":h=await o.blob(),data=await(async t=>new Promise(((e,r)=>{const n=new FileReader;n.onload=()=>{const t=n.result;e(t.indexOf(",")>=0?t.split(",")[1]:t)},n.onerror=t=>r(t),n.readAsDataURL(t)})))(h);break;case"json":data=await o.json();break;default:data=await o.text()}const f={};return o.headers.forEach(((t,e)=>{f[e]=t}
2)),{data:data,headers:f,status:o.status,url:o.url}}async get(t){return this.request(Object.assign(Object.assign({},t),{method:"GET"}))}async post(t){return this.request(Object.assign(Object.assign({},t),{method:"POST"}))}async put(t){return this.request(Object.assign(Object.assign({},t),{method:"PUT"}))}async patch(t){return this.request(Object.assign(Object.assign({},t),{method:"PATCH"}))}async delete(t){return this.request(Object.assign(Object.assign({},t),{method:"DELETE"}))}}const $=m("CapacitorHttp",{web:()=>new P})}.call(this,r(72))},95:function(t,e,r){"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.