(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{111:function(t,e,n){var content=n(322);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(171).default)("4f301392",content,!0,{sourceMap:!1})},112:function(t,e,n){var content=n(324);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(171).default)("7e56e4e3",content,!0,{sourceMap:!1})},113:function(t,e,n){"use strict";n(50),n(80),n(81),n(51),n(52),n(53),n(133),n(49),n(83),n(42),n(24),n(39),n(136),n(41),n(54),n(60),n(104);var r=n(0);function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}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,l=!0,f=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return l=t.done,t},e:function(t){f=!0,o=t},f:function(){try{l||null==n.return||n.return()}finally{if(f)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i0},canPrefetch:function(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(t){return t.components.default})).filter((function(t){return"function"==typeof t&&!t.options&&!t.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){d.unobserve(this.$el);var t,e=o(this.getPrefetchComponents());try{for(e.s();!(t=e.n()).done;){var n=t.value,r=n();r instanceof Promise&&r.catch((function(){})),n.__prefetched=!0}}catch(t){e.e(t)}finally{e.f()}}}}}},114:function(t,e,n){"use strict";n.r(e);n(321);var r=n(27),component=Object(r.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"b-card bg-white relative p-4 mb-6"},[this._t("default")],2)}),[],!1,null,"59431868",null);e.default=component.exports},118:function(t,e,n){"use strict";n.r(e);var r={props:{value:String},inheritAttrs:!1,computed:{localValue:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}}},o=n(27),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return"checkbox"===t.$attrs.type?n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.localValue,expression:"localValue"}],staticClass:"form-input placeholder-mono-300",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.localValue)?t._i(t.localValue,null)>-1:t.localValue},on:{blur:function(e){return t.$emit("blur")},change:function(e){var n=t.localValue,r=e.target,o=!!r.checked;if(Array.isArray(n)){var c=t._i(n,null);r.checked?c<0&&(t.localValue=n.concat([null])):c>-1&&(t.localValue=n.slice(0,c).concat(n.slice(c+1)))}else t.localValue=o}}},"input",t.$attrs,!1)):"radio"===t.$attrs.type?n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.localValue,expression:"localValue"}],staticClass:"form-input placeholder-mono-300",attrs:{type:"radio"},domProps:{checked:t._q(t.localValue,null)},on:{blur:function(e){return t.$emit("blur")},change:function(e){t.localValue=null}}},"input",t.$attrs,!1)):n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.localValue,expression:"localValue"}],staticClass:"form-input placeholder-mono-300",attrs:{type:t.$attrs.type},domProps:{value:t.localValue},on:{blur:function(e){return t.$emit("blur")},input:function(e){e.target.composing||(t.localValue=e.target.value)}}},"input",t.$attrs,!1))}),[],!1,null,null,null);e.default=component.exports},173:function(t,e,n){"use strict";e.a={}},2:function(t,e,n){"use strict";n.d(e,"k",(function(){return v})),n.d(e,"m",(function(){return y})),n.d(e,"l",(function(){return w})),n.d(e,"e",(function(){return k})),n.d(e,"b",(function(){return _})),n.d(e,"s",(function(){return $})),n.d(e,"g",(function(){return O})),n.d(e,"h",(function(){return C})),n.d(e,"d",(function(){return j})),n.d(e,"r",(function(){return S})),n.d(e,"j",(function(){return A})),n.d(e,"t",(function(){return R})),n.d(e,"o",(function(){return P})),n.d(e,"q",(function(){return D})),n.d(e,"f",(function(){return z})),n.d(e,"c",(function(){return I})),n.d(e,"i",(function(){return N})),n.d(e,"p",(function(){return U})),n.d(e,"a",(function(){return K})),n.d(e,"n",(function(){return Q}));n(50),n(80),n(81),n(177),n(51),n(52),n(53),n(133),n(145),n(212),n(49),n(312),n(83),n(42),n(115),n(116),n(72),n(24),n(213),n(59),n(39),n(314),n(136),n(41),n(315),n(146),n(215),n(216),n(318),n(54),n(60);var r=n(90),o=n(70),c=(n(48),n(10)),l=n(69),f=n(0);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function h(t){for(var i=1;i=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}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,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i1&&void 0!==arguments[1]?arguments[1]:[],r=t.$children||[],o=m(r);try{for(o.s();!(e=o.n()).done;){var c=e.value;c.$fetch?n.push(c):c.$children&&k(c,n)}}catch(t){o.e(t)}finally{o.f()}return n}function _(t,e){if(e||!t.options.__hasNuxtData){var n=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=n,t.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),h(h({},data),e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function $(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=f.default.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function O(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function C(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return O(t,e,"instances")}function j(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function S(t,e){return Promise.all(j(t,function(){var t=Object(c.a)(regeneratorRuntime.mark((function t(n,r,o,c){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n||n.options){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return o.components[c]=n=$(n),t.abrupt("return","function"==typeof e?e(n,r,o,c):n);case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function A(t){return E.apply(this,arguments)}function E(){return(E=Object(c.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,S(e);case 4:return t.abrupt("return",h(h({},e),{},{meta:O(e).map((function(t,n){return h(h({},t.options.meta),(e.matched[n]||{}).meta)}))}));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function R(t,e){return T.apply(this,arguments)}function T(){return(T=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var c,l,f,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!1,isDev:!1,isHMR:!1,app:e,store:e.store,payload:n.payload,error:n.error,base:"/",env:{}},n.req&&(e.context.req=n.req),n.res&&(e.context.res=n.res),n.ssrContext&&(e.context.ssrContext=n.ssrContext),e.context.redirect=function(t,path,n){if(t){e.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},path=t,r=Object(o.a)(path),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=H(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([A(n.route),A(n.from)]);case 3:c=t.sent,l=Object(r.a)(c,2),f=l[0],d=l[1],n.route&&(e.context.route=f),n.from&&(e.context.from=d),e.context.next=n.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function P(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():D(t[0],e).then((function(){return P(t.slice(1),e)}))}function D(t,e){var n;return(n=2===t.length?new Promise((function(n){t(e,(function(t,data){t&&e.error(t),n(data=data||{})}))})):t(e))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function z(base,t){var path=decodeURI(window.location.pathname);return"hash"===t?window.location.hash.replace(/^#\//,""):(base&&(path.endsWith("/")?path:path+"/").startsWith(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function I(t,e){return function(t,e){for(var n=new Array(t.length),i=0;i0&&(this.selected=this.selected-1)},onEnter:function(){this.search=this.results[this.selected],this.isActive=!1,this.selected=-1},filterResults:function(){var t=this;this.results=this.data.filter((function(e){var n;return!t.search||(null==e?void 0:e.toLowerCase().indexOf(null===(n=t.search)||void 0===n?void 0:n.toLowerCase()))>-1}))},setResult:function(t){this.search=t,this.$emit("input",this.search),this.isActive=!1}}},o=n(27),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"relative"},[n("b-input",t._b({class:t.customClass,attrs:{type:"text"},on:{input:t.onInput,blur:t.onBlur},nativeOn:{focus:function(e){return t.onFocus(e)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.onArrowDown(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.onArrowUp(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onEnter(e)}]},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}},"b-input",t.$attrs,!1)),t._v(" "),n("transition",{attrs:{name:"bounce"}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"dropdown"},t._l(t.results,(function(e,i){return n("li",{key:i,staticClass:"dropdown-item",class:{"bg-mono-30":i===t.selected},on:{click:function(n){return t.setResult(e)}}},[t._v("\n "+t._s(t.field?e[t.field]:e)+"\n ")])})),0)])],1)}),[],!1,null,"de8cab34",null);e.default=component.exports;installComponents(component,{BInput:n(118).default})},294:function(t,e,n){"use strict";n(24),n(104),n(48);var r=n(10),o=n(0),c=n(2),l=window.__NUXT__;function f(){if(!this._hydrated)return this.$fetch()}function d(){if((t=this).$vnode&&t.$vnode.elm&&t.$vnode.elm.dataset&&t.$vnode.elm.dataset.fetchKey){var t;this._hydrated=!0,this._fetchKey=+this.$vnode.elm.dataset.fetchKey;var data=l.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var e in data)o.default.set(this.$data,e,data[e])}}function h(){var t=this;return this._fetchPromise||(this._fetchPromise=m.call(this).then((function(){delete t._fetchPromise}))),this._fetchPromise}function m(){return x.apply(this,arguments)}function x(){return(x=Object(r.a)(regeneratorRuntime.mark((function t(){var e,n,r,o=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,e=null,n=Date.now(),t.prev=6,t.next=9,this.$options.fetch.call(this);case 9:t.next=15;break;case 11:t.prev=11,t.t0=t.catch(6),e=Object(c.p)(t.t0);case 15:if(!((r=this._fetchDelay-(Date.now()-n))>0)){t.next=19;break}return t.next=19,new Promise((function(t){return setTimeout(t,r)}));case 19:this.$fetchState.error=e,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return t.stop()}}),t,this,[[6,11]])})))).apply(this,arguments)}e.a={beforeCreate:function(){Object(c.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.default.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=h.bind(this),Object(c.a)(this,"created",d),Object(c.a)(this,"beforeMount",f))}}},296:function(t,e,n){n(297),t.exports=n(298)},298:function(t,e,n){"use strict";n.r(e),function(t){n(50),n(80),n(81),n(177),n(51),n(52),n(53),n(133),n(49),n(83),n(134),n(42),n(72),n(24),n(59),n(39),n(136),n(41),n(304),n(54),n(60),n(104);var e=n(70),r=(n(48),n(10)),o=(n(142),n(305),n(310),n(311),n(0)),c=n(285),l=n(173),f=n(2),d=n(36),h=n(294),m=n(113);function x(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}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,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2?e-2:0),r=2;r1&&void 0!==arguments[1]?arguments[1]:w,n=arguments.length>2?arguments[2]:void 0;return k.call(this,t,e,n)},c.default.use(v.a);var _={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,n){var r=!1,o=Object(y.g)(t);(o.some((function(t){return t.options.scrollToTop}))||o.length<2&&o.every((function(t){return!1!==t.options.scrollToTop})))&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return(t.path===e.path&&t.hash!==e.hash||t===e)&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(e){c.$once("triggerScroll",(function(){if(t.hash){var n=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(r)}))}))},routes:[{path:"/new-session",component:function(){return Object(y.m)(Promise.all([n.e(0),n.e(4)]).then(n.bind(null,472)))},name:"new-session"},{path:"/sessions/:slug?",component:function(){return Object(y.m)(Promise.all([n.e(0),n.e(8),n.e(5)]).then(n.bind(null,473)))},name:"sessions-slug"},{path:"/",component:function(){return Object(y.m)(Promise.all([n.e(0),n.e(3)]).then(n.bind(null,474)))},name:"index"}],fallback:!1};function $(){return new v.a(_)}var O={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,l=n.$nuxt.nuxt.transitions,f=n.$nuxt.nuxt.defaultTransition,d=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&d++,n=n.$parent;data.nuxtChildDepth=d;var h=l[d]||f,m={};C.forEach((function(t){void 0!==h[t]&&(m[t]=h[t])}));var x={};j.forEach((function(t){"function"==typeof h[t]&&(x[t]=h[t].bind(c))}));var v=x.beforeEnter;if(x.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),v)return v.call(c,t)},!1===h.css){var y=x.leave;(!y||y.length<2)&&(x.leave=function(t,e){y&&y.call(c,t),c.$nextTick(e)})}var w=o("routerView",data);return r.keepAlive&&(w=o("keep-alive",{props:r.keepAliveProps},[w])),o("transition",{props:m,on:x},[w])}},C=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],j=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],S={props:["error"],computed:{errorHeader:function(){return this.parseError(this.error).header},errorMessage:function(){return this.parseError(this.error).message}},methods:{parseError:function(t){switch(t.statusCode){case 404:return{header:"Someone didn't read the rulebook!",message:"This page does not exist."};default:return{header:"An error occurred",message:t.message}}}}},A=n(27),E=Object(A.a)(S,(function(){var t=this.$createElement,e=this._self._c||t;return e("b-card",{staticClass:"text-center"},[e("h2",[this._v(this._s(this.errorHeader))]),this._v(" "),e("div",{staticClass:"text-xl"},[this._v(this._s(this.errorMessage))])])}),[],!1,null,null,null),R=E.exports;installComponents(E,{BCard:n(114).default});n(59),n(39),n(146);var T=n(90),P={name:"Nuxt",components:{NuxtChild:O,NuxtError:R},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(y.c)(this.$route.matched[0].path)(this.$route.params);var t=Object(T.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occurred while showing the error page"),t("p","Unfortunately an error occurred and while showing the error page another error occurred"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(R,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},D=(n(80),n(81),n(53),n(83),n(41),n(60),n(104),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(t){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100||t.percent<=0)&&(t.skipTimerCount=1,t.reversed=!t.reversed))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}),z=(n(323),Object(A.a)(D,void 0,void 0,!1,null,null,null).exports),I=(n(325),{data:function(){return{dropdownActive:!1}},methods:{toggleDropdown:function(){this.dropdownActive=!this.dropdownActive},closeDropdown:function(){this.dropdownActive=!1}}}),N=Object(A.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"relative h-full flex flex-col"},[n("div",{staticClass:"flex justify-between items-center p-4 sticky w-full top-0 z-50 bg-gradient-pink",attrs:{id:"topbar"}},[n("div",[n("h1",{staticClass:"text-white"},[n("nuxt-link",{attrs:{to:"/"}},[t._v("Don Queue")])],1)]),t._v(" "),n("div",{staticClass:"relative"},[n("button",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.closeDropdown,expression:"closeDropdown"}],on:{click:t.toggleDropdown}},[n("span",{staticClass:"mdi mdi-menu text-white text-4xl"})]),t._v(" "),n("transition",{attrs:{name:"bounce"}},[t.dropdownActive?n("ul",{staticClass:"dropdown right-0"},[n("nuxt-link",{staticClass:"dropdown-item text-lg",attrs:{tag:"li",to:"/"}},[n("span",{staticClass:"mdi mdi-star"}),t._v("\n Upcoming Sessions\n ")]),t._v(" "),n("nuxt-link",{staticClass:"dropdown-item text-lg",attrs:{tag:"li",to:"/new-session"}},[t._v("\n New Session\n ")])],1):t._e()])],1)]),t._v(" "),n("div",{staticClass:"p-4 h-full"},[n("Nuxt")],1)])}),[],!1,null,"a1d310a2",null).exports;function U(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}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,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i0}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Object(y.h)(t.$route)).length){e.next=3;break}return e.abrupt("return");case 3:return t.$loading.start(),r=n.map((function(e){var p=[];if(e.$options.fetch&&e.$options.fetch.length&&p.push(Object(y.q)(e.$options.fetch,t.context)),e.$fetch)p.push(e.$fetch());else{var n,r=U(Object(y.e)(e.$vnode.componentInstance));try{for(r.s();!(n=r.n()).done;){var component=n.value;p.push(component.$fetch())}}catch(t){r.e(t)}finally{r.f()}}return e.$options.asyncData&&p.push(Object(y.q)(e.$options.asyncData,t.context).then((function(t){for(var n in t)c.default.set(e.$data,n,t[n])}))),Promise.all(p)})),e.prev=5,e.next=8,Promise.all(r);case 8:e.next=15;break;case 10:e.prev=10,e.t0=e.catch(5),t.$loading.fail(e.t0),Object(y.k)(e.t0),t.error(e.t0);case 15:t.$loading.finish();case 16:case"end":return e.stop()}}),e,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var t=(R.options||R).layout;"function"==typeof t&&(t=t(this.context)),this.setLayout(t)}},setLayout:function(t){return t&&M["_"+t]||(t="default"),this.layoutName=t,this.layout=M["_"+t],this.layout},loadLayout:function(t){return t&&M["_"+t]||(t="default"),Promise.resolve(M["_"+t])}},components:{NuxtLoading:z}};c.default.use(l.a);var F={};(F=function(t,e){if((t=t.default||t).commit)throw new Error("[nuxt] ".concat(e," should export a method that returns a Vuex instance."));return"function"!=typeof t&&(t=Object.assign({},t)),function(t,e){if(t.state&&"function"!=typeof t.state){console.warn("'state' should be a method that returns an object in ".concat(e));var n=Object.assign({},t.state);t=Object.assign({},t,{state:function(){return n}})}return t}(t,e)}(n(464),"store/index.js")).modules=F.modules||{};var V=F instanceof Function?F:function(){return new l.a.Store(Object.assign({strict:!1},F))};var H={};for(var K in H)c.default.component(K,H[K]);var X=n(92),Q=n.n(X),J=n(289),Y=n.n(J);function W(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return G(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}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,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2&&void 0!==arguments[2]?arguments[2]:"common",o=W(Array.isArray(r)?r:[r]);try{for(o.s();!(n=o.n()).done;){var c=n.value;if(!e)return void delete this.defaults.headers[c][t];this.defaults.headers[c][t]=e}}catch(t){o.e(t)}finally{o.f()}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)},create:function(t){return ot(Y()(t,this.defaults))}},tt=function(){var t=nt[et];Z["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},et=0,nt=["request","delete","get","head","options","post","put","patch"];et has been deprecated and will be removed in Nuxt 3, please use instead")),x.a.render(t,e)}})),c.default.component(O.name,O),c.default.component("NChild",O),c.default.component(P.name,P),c.default.use(f.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var _t={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},$t=l.a.Store.prototype.registerModule,Ot={preserveState:!0};function Ct(path,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return $t.call(this,path,t,kt(kt({},Ot),e))}function jt(t){return St.apply(this,arguments)}function St(){return(St=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,l,f,d,path,h,m=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject('".concat(t,"', value) has no value provided"));l[t="$"+t]=e,l.context[t]||(l.context[t]=e),o[t]=l[t];var n="__nuxt_"+t+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default.prototype,t)||Object.defineProperty(c.default.prototype,t,{get:function(){return this.$root.$options[t]}})})))},n=m.length>1&&void 0!==m[1]?m[1]:{},t.next=4,$();case 4:return r=t.sent,(o=V(e)).$router=r,o.registerModule=Ct,l=kt({head:{title:"Don Queue",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:""},{name:"theme-color",content:"#ffffff"},{name:"msapplication-TileColor",content:"#ff0063"}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"},{rel:"manifest",href:"/site.webmanifest"},{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#5bbad5"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Bangers&display=swap"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Barlow&display=swap"},{rel:"stylesheet",href:"https://cdn.materialdesignicons.com/5.6.55/css/materialdesignicons.min.css"}],style:[],script:[]},store:o,router:r,nuxt:{defaultTransition:_t,transitions:[_t],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},_t,{name:t}):Object.assign({},_t,t):_t})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,l.context._errored=Boolean(t),t=t?Object(y.p)(t):null;var n=l.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},B),o.app=l,f=e?e.next:function(t){return l.router.push(t)},e?d=r.resolve(e.url).route:(path=Object(y.f)(r.options.base,r.options.mode),d=r.resolve(path).route),t.next=14,Object(y.t)(l,{store:o,route:d,next:f,error:l.nuxt.error.bind(l),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});case 14:h("config",n),window.__NUXT__&&window.__NUXT__.state&&o.replaceState(window.__NUXT__.state),t.next=20;break;case 20:return t.next=23,at(l.context,h);case 23:return t.next=26,ut(l.context,h);case 26:t.next=29;break;case 29:t.next=32;break;case 32:t.next=35;break;case 35:t.next=38;break;case 38:0,t.next=42;break;case 42:return t.abrupt("return",{store:o,app:l,router:r});case 43:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},370:function(t,e){},371:function(t,e){},376:function(t,e){},378:function(t,e){},402:function(t,e){},457:function(t,e){function n(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=457},464:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return d})),n.d(e,"mutations",(function(){return h})),n.d(e,"actions",(function(){return m}));n(24),n(39),n(48);var r=n(10),o=n(175),c=n.n(o),l=n(288),f=n(466),d=function(){return{clientId:null}},h={setClientId:function(t,e){t.clientId=e}},m={nuxtServerInit:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r,o,d,h,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:r=t.commit,o=e.req,d=e.res,h=c.a.parse(o.headers.cookie||""),(m=h["donqueue.cid"])||(m=Object(l.HmacSHA256)(f.a(),"nikolaj har de bedste hemmeligheder").toString(),d.setHeader("Set-Cookie",c.a.serialize("donqueue.cid",m,{path:"/"}))),r("setClientId",m);case 6:case"end":return n.stop()}}),n)})))()}}}},[[296,6,2,7]]]);