Commit f223b10d authored by Adam Procter's avatar Adam Procter

added dist to upload for testing

parent ed1717e7
Pipeline #147 failed with stages
in 1 minute and 3 seconds
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>nn2</title><link href=/css/home.5e776665.css rel=prefetch><link href=/js/about.533ecf76.js rel=prefetch><link href=/js/home.ad1a20b9.js rel=prefetch><link href=/css/app.1dfce210.css rel=preload as=style><link href=/js/app.95658898.js rel=preload as=script><link href=/js/chunk-vendors.e8395ff3.js rel=preload as=script><link href=/css/app.1dfce210.css rel=stylesheet></head><body><noscript><strong>We're sorry but nn2 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div></body></html><script src=/js/chunk-vendors.e8395ff3.js></script><script src=/js/app.95658898.js></script>
\ No newline at end of file
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>nn2</title><link href=/css/about.ff293c24.css rel=prefetch><link href=/css/home.46bf102c.css rel=prefetch><link href=/js/about.f2f86df9.js rel=prefetch><link href=/js/home.dba2445a.js rel=prefetch><link href=/css/app.86acef1d.css rel=preload as=style><link href=/js/app.f4772af1.js rel=preload as=script><link href=/js/chunk-vendors.8375a493.js rel=preload as=script><link href=/css/app.86acef1d.css rel=stylesheet></head><body><noscript><strong>We're sorry but nn2 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div></body></html><script src=/js/chunk-vendors.8375a493.js></script><script src=/js/app.f4772af1.js></script>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"754b":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},o=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",[n("p",[e._v("Made by Procter & Parker")])])}],u=n("2877"),a={},c=Object(u["a"])(a,r,o,!1,null,null,null);c.options.__file="about.vue";t["default"]=c.exports}}]);
//# sourceMappingURL=about.533ecf76.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/about.vue?f2d3","webpack:///./src/views/about.vue"],"names":["render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","_v","script","component","Object","componentNormalizer","options","__file","__webpack_exports__"],"mappings":"gHAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BH,EAAAI,MAAAC,GAAwB,OAAAL,EAAAM,GAAA,IACzFC,GAAA,WAAoC,IAAAP,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BE,EAAAL,EAAAI,MAAAC,IAAAH,EAAwB,OAAAG,EAAA,UAAAA,EAAA,KAAAL,EAAAQ,GAAA,8CCAnGC,KAKAC,EAAAC,OAAAC,EAAA,KAAAD,CACAF,EACAV,EACAQ,GACA,EACA,KACA,KACA,MAIAG,EAAAG,QAAAC,OAAA,YACAC,EAAA,WAAAL","file":"js/about.533ecf76.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',[_c('p',[_vm._v(\"Made by Procter & Parker\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./about.vue?vue&type=template&id=e60e8f3a&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"about.vue\"\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"6a60":function(A,g,t){},"754b":function(A,g,t){"use strict";t.r(g);var e=function(){var A=this,g=A.$createElement,t=A._self._c||g;return t("div",[t("logo"),A._m(0)],1)},B=[function(){var A=this,g=A.$createElement,t=A._self._c||g;return t("footer",[t("p",[A._v("Made by Procter & Parker")])])}],E=t("4b08"),C={name:"about",components:{logo:E["a"]}},o=C,Q=t("2877"),I=Object(Q["a"])(o,e,B,!1,null,null,null);I.options.__file="about.vue";g["default"]=I.exports},"8e0a":function(A,g){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXwAAAF5CAYAAACcKpF5AAAAAXNSR0IArs4c6QAADsBJREFUeAHt2EGKW0kQRdEu4c1qFV27ELVZ2VO/qUlQcjk96jD4V8YJ6g789Z//CAQFXq/X70+v9Xw+vz79Bj+fwN8Cj78H/0+AAAECXQHB797WZgQIEBgBwR8OAwECBLoCgt+9rc0IECAwAoI/HAYCBAh0BQS/e1ubESBAYAQEfzgMBAgQ6AoIfve2NiNAgMAICP5wGAgQINAVEPzubW1GgACBERD84TAQIECgKyD43dvajAABAiMg+MNhIECAQFdA8Lu3tRkBAgRGQPCHw0CAAIGugOB3b2szAgQIjIDgD4eBAAECXQHB797WZgQIEBgBwR8OAwECBLoCgt+9rc0IECAwAoI/HAYCBAh0BQS/e1ubESBAYAQEfzgMBAgQ6AoIfve2NiNAgMAICP5wGAgQINAVEPzubW1GgACBERD84TAQIECgKyD43dvajAABAiMg+MNhIECAQFdA8Lu3tRkBAgRGQPCHw0CAAIGugOB3b2szAgQIjIDgD4eBAAECXQHB797WZgQIEBgBwR8OAwECBLoCgt+9rc0IECAwAoI/HAYCBAh0BQS/e1ubESBAYAQEfzgMBAgQ6AoIfve2NiNAgMAICP5wGAgQINAVEPzubW1GgACBERD84TAQIECgKyD43dvajAABAiMg+MNhIECAQFdA8Lu3tRkBAgRGQPCHw0CAAIGugOB3b2szAgQIjIDgD4eBAAECXQHB797WZgQIEBgBwR8OAwECBLoCgt+9rc0IECAwAoI/HAYCBAh0BQS/e1ubESBAYAQEfzgMBAgQ6AoIfve2NiN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7t7UZAQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAUEv3tbmxEgQGAEBH84DAQIEOgKCH73tjYjQIDACAj+cBgIECDQFRD87m1tRoAAgREQ/OEwECBAoCsg+N3b2owAAQIjIPjDYSBAgEBXQPC7t7UZAQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAUEv3tbmxEgQGAEBH84DAQIEOgKCH73tjYjQIDACAj+cBgIECDQFRD87m1tRoAAgREQ/OEwECBAoCsg+N3b2owAAQIjIPjDYSBAgEBXQPC7t7UZAQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAUEv3tbmxEgQGAEBH84DAQIEOgKCH73tjYjQIDACAj+cBgIECDQFRD87m1tRoAAgREQ/OEwECBAoCsg+N3b2owAAQIjIPjDYSBAgEBXQPC7t7UZAQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAUEv3tbmxEgQGAEBH84DAQIEOgKCH73tjYjQIDACAj+cBgIECDQFRD87m1tRoAAgREQ/OEwECBAoCsg+N3b2owAAQIjIPjDYSBAgEBXQPC7t7UZAQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAX+AAewHLgnRqB0AAAAAElFTkSuQmCC"},9454:function(A,g,t){"use strict";t.r(g);var e=function(){var A=this,g=A.$createElement,t=A._self._c||g;return t("div",{attrs:{id:"selector"}},[t("header",[t("logo"),t("h2",[A._v("Welcome")]),t("h3",[A._v("Select instance")])],1),A._m(0)])},B=[function(){var A=this,g=A.$createElement,e=A._self._c||g;return e("main",[e("div",{attrs:{id:"instances"}},[e("a",{attrs:{href:"/home"}},[e("figure",[e("img",{attrs:{src:t("c2d6"),alt:""}}),e("figcaption",[A._v("MozFest")])])]),e("a",{attrs:{href:"#"}},[e("figure",[e("img",{attrs:{src:t("8e0a"),alt:""}}),e("figcaption",[A._v("Create instance")])])])])])}],E=(t("cadf"),t("551c"),t("097d"),t("4b08")),C={name:"select",components:{logo:E["a"]}},o=C,Q=t("2877"),I=Object(Q["a"])(o,e,B,!1,null,null,null);I.options.__file="select.vue";g["default"]=I.exports},c2d6:function(A,g,t){A.exports=t.p+"img/mozfest.cfd87a8f.png"},c2de:function(A,g,t){"use strict";var e=t("6a60"),B=t.n(e);B.a},f73c:function(A,g,t){"use strict";t.r(g);var e=function(){var A=this,g=A.$createElement,t=A._self._c||g;return t("div",{staticClass:"markdown"},[t("logo"),t("form",{on:{submit:function(g){A.addKnowledge()}}},[t("label",[A._v("Type: ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:A.type,expression:"type"}],attrs:{name:"type",placeholder:"choose"},on:{change:function(g){var t=Array.prototype.filter.call(g.target.options,function(A){return A.selected}).map(function(A){var g="_value"in A?A._value:A.value;return g});A.type=g.target.multiple?t:t[0]}}},[t("option",{attrs:{value:"slidedeck"}},[A._v("Slidedeck")]),t("option",{attrs:{value:"projecttxt"}},[A._v("Project Text")]),t("option",{attrs:{value:"plaintxt"}},[A._v("Plain Text")])]),t("input",{directives:[{name:"model",rawName:"v-model",value:A.owner,expression:"owner"}],attrs:{placeholder:"Author"},domProps:{value:A.owner},on:{input:function(g){g.target.composing||(A.owner=g.target.value)}}}),t("textarea",{directives:[{name:"model",rawName:"v-model",value:A.metadata.mdtxt,expression:"metadata.mdtxt"}],attrs:{type:"text",placeholder:"Enter text here",rows:"10"},domProps:{value:A.metadata.mdtxt},on:{input:function(g){g.target.composing||A.$set(A.metadata,"mdtxt",g.target.value)}}}),t("button",{attrs:{type:"submit"}},[t("font-awesome-icon",{attrs:{icon:"save",size:"2x"}})],1)])],1)},B=[],E=(t("6b54"),t("cadf"),t("551c"),t("097d"),t("16b2")),C=t("4b08"),o=new E["a"]("knowledge"),Q=new E["a"]("https://nn.adamprocter.co.uk/knowledge"),I={name:"editor",components:{logo:C["a"]},data:function(){return{type:"",owner:"",connections:[],metadata:{},xpos:0,ypos:0}},mounted:function(){this.syncData()},methods:{addKnowledge:function(){var A=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15);o.put({_id:A,type:this.type,owner:this.owner,connections:this.connections,metadata:this.metadata,xpos:this.xpos,ypos:this.ypos}),this.syncData()},syncData:function(){Q&&o.sync(Q)}}},a=I,n=(t("c2de"),t("2877")),w=Object(n["a"])(a,e,B,!1,null,"ac75229e",null);w.options.__file="editor.vue";g["default"]=w.exports}}]);
//# sourceMappingURL=about.f2f86df9.js.map
\ No newline at end of file
This diff is collapsed.
(function(e){function t(t){for(var a,i,u=t[0],s=t[1],c=t[2],l=0,m=[];l<u.length;l++)i=u[l],r[i]&&m.push(r[i][0]),r[i]=0;for(a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a]);f&&f(t);while(m.length)m.shift()();return o.push.apply(o,c||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,i=1;i<n.length;i++){var u=n[i];0!==r[u]&&(a=!1)}a&&(o.splice(t--,1),e=s(s.s=n[0]))}return e}var a={},i={app:0},r={app:0},o=[];function u(e){return s.p+"js/"+({about:"about",home:"home"}[e]||e)+"."+{about:"533ecf76",home:"ad1a20b9"}[e]+".js"}function s(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(e){var t=[],n={home:1};i[e]?t.push(i[e]):0!==i[e]&&n[e]&&t.push(i[e]=new Promise(function(t,n){for(var a="css/"+({about:"about",home:"home"}[e]||e)+"."+{about:"31d6cfe0",home:"5e776665"}[e]+".css",i=s.p+a,r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var u=r[o],c=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(c===a||c===i))return t()}var l=document.getElementsByTagName("style");for(o=0;o<l.length;o++){u=l[o],c=u.getAttribute("data-href");if(c===a||c===i)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=t,m.onerror=function(t){var a=t&&t.target&&t.target.src||i,r=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");r.request=a,n(r)},m.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(m)}).then(function(){i[e]=0}));var a=r[e];if(0!==a)if(a)t.push(a[2]);else{var o=new Promise(function(t,n){a=r[e]=[t,n]});t.push(a[2]=o);var c,l=document.getElementsByTagName("head")[0],m=document.createElement("script");m.charset="utf-8",m.timeout=120,s.nc&&m.setAttribute("nonce",s.nc),m.src=u(e),c=function(t){m.onerror=m.onload=null,clearTimeout(f);var n=r[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,o=new Error("Loading chunk "+e+" failed.\n("+a+": "+i+")");o.type=a,o.request=i,n[1](o)}r[e]=void 0}};var f=setTimeout(function(){c({type:"timeout",target:m})},12e4);m.onerror=m.onload=c,l.appendChild(m)}return Promise.all(t)},s.m=e,s.c=a,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)s.d(n,a,function(t){return e[t]}.bind(null,a));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="/",s.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var m=0;m<c.length;m++)t(c[m]);var f=l;o.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"1fbb":function(e,t,n){"use strict";var a=n("2e12"),i=n.n(a);i.a},"20a9":function(e,t,n){"use strict";var a=n("8f56"),i=n.n(a);i.a},"2e12":function(e,t,n){},3147:function(e,t,n){"use strict";var a=n("62f4"),i=n.n(a);i.a},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("097d");var a=n("2b0e"),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("main",[n("nav",[n("ul",[n("li",[e.authenticated?n("router-link",{attrs:{to:"/",replace:""},nativeOn:{click:function(t){e.signout()}}},[e._v("Sign Out")]):e._e()],1),n("li",[e.authenticated?n("router-link",{attrs:{to:"/home"}},[e._v("Home")]):e._e()],1),n("li",[e.authenticated?n("router-link",{attrs:{to:"/about"}},[e._v("About")]):e._e()],1)])]),n("router-view",{on:{authenticated:e.setAuthenticated}})],1)},r=[],o=(n("a481"),{name:"auth",data:function(){return{authenticated:!1}},mounted:function(){this.authenticated||this.$router.replace({name:"start"})},methods:{setAuthenticated:function(e){this.authenticated=e},signout:function(){this.authenticated=!1}}}),u=o,s=(n("1fbb"),n("3147"),n("2877")),c=Object(s["a"])(u,i,r,!1,null,null,null);c.options.__file="App.vue";var l=c.exports,m=n("8c4f"),f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("header",[n("h3",{staticClass:"hello"},[e._v("You are connected to instance : "+e._s(e.instancename))])]),n("div",{attrs:{id:"start"}},[n("signin",{attrs:{instancename:e.instancename}}),n("register")],1)])},p=[],d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"signin"},[n("h1",[e._v("Sign in")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.input.email,expression:"input.email"}],attrs:{type:"text",name:"email",placeholder:"Email"},domProps:{value:e.input.email},on:{input:function(t){t.target.composing||e.$set(e.input,"email",t.target.value)}}}),n("button",{attrs:{type:"submit"},on:{click:function(t){e.signin()}}},[n("font-awesome-icon",{attrs:{icon:"sign-in-alt",size:"3x"}})],1)])},h=[],v={name:"signin",data:function(){return{input:{email:""}}},props:{instancename:String},methods:{signin:function(){""!=this.input.email?this.input.email==this.$parent.account.email?(this.$parent.$emit("authenticated",!0),this.$router.replace({name:"home"})):alert("The email is incorrect"):alert("A email must be present")}}},g=v,b=(n("8a93"),Object(s["a"])(g,d,h,!1,null,"075875f8",null));b.options.__file="signin.vue";var y=b.exports,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"register"},[n("h1",[e._v("Register")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"}],attrs:{type:"text",name:"name",placeholder:"Name"},domProps:{value:e.name},on:{input:function(t){t.target.composing||(e.name=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],attrs:{type:"text",name:"email",placeholder:"Email"},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.domain,expression:"domain"}],attrs:{type:"text",name:"domain",placeholder:"Domain"},domProps:{value:e.domain},on:{input:function(t){t.target.composing||(e.domain=t.target.value)}}}),n("button",{attrs:{type:"submit"},on:{click:function(t){e.register()}}},[n("font-awesome-icon",{attrs:{icon:"user-plus",size:"3x"}})],1)])},w=[],x=(n("7f7f"),n("6b54"),n("16b2")),k=new x["a"]("https://nn.adamprocter.co.uk/testingdb"),O={name:"register",data:function(){return{name:"",email:"",domain:"",permissions:1,verified:!1}},mounted:function(){this.checkData()},methods:{register:function(){var e=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15);k.put({_id:e,name:this.name,email:this.email,domain:this.domain,permissions:this.permissions,verified:this.verified})},checkData:function(){k.info().then(function(e){console.log(e)}),k.allDocs({include_docs:!0,attachments:!0}).then(function(e){console.log(e)}).catch(function(e){console.log(e)})}}},j=O,E=(n("9183"),Object(s["a"])(j,_,w,!1,null,"f622846c",null));E.options.__file="register.vue";var P=E.exports,S={name:"app",components:{signin:y,register:P},data:function(){return{instancename:"mozfest",account:{id:1,human:"adam procter",email:"adamprocter@researchnot.es",permissions:1}}}},$=S,A=(n("20a9"),Object(s["a"])($,f,p,!1,null,"c7241f6c",null));A.options.__file="start.vue";var T=A.exports;a["a"].use(m["a"]);var N=new m["a"]({routes:[{path:"/",name:"start",component:T},{path:"/home",name:"home",component:function(){return n.e("home").then(n.bind(null,"6511"))}},{path:"/about",name:"about",component:function(){return n.e("about").then(n.bind(null,"754b"))}}]}),C=n("ecee"),M=n("c074"),B=n("7a55");C["library"].add(M["a"]),C["library"].add(M["b"]),a["a"].component("font-awesome-icon",B["FontAwesomeIcon"]),a["a"].config.productionTip=!1,new a["a"]({router:N,render:function(e){return e(l)}}).$mount("#app"),n("6909")},"62f4":function(e,t,n){},6909:function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("097d")},"6a10":function(e,t,n){},"8a93":function(e,t,n){"use strict";var a=n("8d4b"),i=n.n(a);i.a},"8d4b":function(e,t,n){},"8f56":function(e,t,n){},9183:function(e,t,n){"use strict";var a=n("6a10"),i=n.n(a);i.a}});
//# sourceMappingURL=app.95658898.js.map
\ No newline at end of file
This diff is collapsed.
(function(e){function t(t){for(var o,a,s=t[0],u=t[1],c=t[2],l=0,m=[];l<s.length;l++)a=s[l],r[a]&&m.push(r[a][0]),r[a]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(e[o]=u[o]);f&&f(t);while(m.length)m.shift()();return i.push.apply(i,c||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],o=!0,a=1;a<n.length;a++){var s=n[a];0!==r[s]&&(o=!1)}o&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var o={},a={app:0},r={app:0},i=[];function s(e){return u.p+"js/"+({about:"about",home:"home"}[e]||e)+"."+{about:"f2f86df9",home:"dba2445a"}[e]+".js"}function u(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={about:1,home:1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise(function(t,n){for(var o="css/"+({about:"about",home:"home"}[e]||e)+"."+{about:"ff293c24",home:"46bf102c"}[e]+".css",a=u.p+o,r=document.getElementsByTagName("link"),i=0;i<r.length;i++){var s=r[i],c=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(c===o||c===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){s=l[i],c=s.getAttribute("data-href");if(c===o||c===a)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=t,m.onerror=function(t){var o=t&&t.target&&t.target.src||a,r=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");r.request=o,n(r)},m.href=a;var f=document.getElementsByTagName("head")[0];f.appendChild(m)}).then(function(){a[e]=0}));var o=r[e];if(0!==o)if(o)t.push(o[2]);else{var i=new Promise(function(t,n){o=r[e]=[t,n]});t.push(o[2]=i);var c,l=document.getElementsByTagName("head")[0],m=document.createElement("script");m.charset="utf-8",m.timeout=120,u.nc&&m.setAttribute("nonce",u.nc),m.src=s(e),c=function(t){m.onerror=m.onload=null,clearTimeout(f);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src,i=new Error("Loading chunk "+e+" failed.\n("+o+": "+a+")");i.type=o,i.request=a,n[1](i)}r[e]=void 0}};var f=setTimeout(function(){c({type:"timeout",target:m})},12e4);m.onerror=m.onload=c,l.appendChild(m)}return Promise.all(t)},u.m=e,u.c=o,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)u.d(n,o,function(t){return e[t]}.bind(null,o));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/",u.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var m=0;m<c.length;m++)t(c[m]);var f=l;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"1d69":function(e,t,n){"use strict";var o=n("4bd0"),a=n.n(o);a.a},"1fbb":function(e,t,n){"use strict";var o=n("7b63"),a=n.n(o);a.a},3147:function(e,t,n){"use strict";var o=n("7974"),a=n.n(o);a.a},"399e":function(e,t,n){},"4b08":function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},a=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"logo"},[o("h1",[o("img",{attrs:{src:n("f0fc"),alt:"Logo for project codename nodenoggin"}})])])}],r={name:"instance-logo",props:{}},i=r,s=(n("1d69"),n("2877")),u=Object(s["a"])(i,o,a,!1,null,"bf7cabc6",null);u.options.__file="instance-logo.vue";t["a"]=u.exports},"4bd0":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("097d");var o=n("2b0e"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("main",[n("nav",[n("ul",[n("li",[e.isLoggedIn?n("router-link",{attrs:{to:"/select"},on:{click:e.logout}},[e._v("Sign Out")]):e._e()],1),n("li",[n("router-link",{attrs:{to:"/home"}},[e._v("Home")])],1),n("li",[n("router-link",{attrs:{to:"/about"}},[e._v("About")])],1)])]),n("router-view")],1)},r=[],i=n("be94"),s=n("2f62"),u={name:"welcome",methods:Object(i["a"])({logout:function(){this.$store.dispatch("logout")}},Object(s["b"])(["logout"])),computed:Object(i["a"])({isLoggedIn:function(){return this.$store.getters.isLoggedIn}},Object(s["c"])(["isLoggedIn"]))},c=u,l=(n("1fbb"),n("3147"),n("2877")),m=Object(l["a"])(c,a,r,!1,null,null,null);m.options.__file="App.vue";var f=m.exports,d=n("8c4f"),p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("header",[n("logo"),n("h3",{staticClass:"hello"},[e._v("You are connected to instance : "+e._s(e.instancename))])],1),n("div",{attrs:{id:"start"}},[n("signin",{attrs:{instancename:e.instancename,accounts:e.accounts}}),n("register")],1)])},g=[],h=n("4b08"),v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"signin"},[n("h1",[e._v("Sign in")]),n("form",{on:{submit:function(t){t.preventDefault(),e.login()}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.input.email,expression:"input.email"}],attrs:{type:"text",name:"email",placeholder:"Email"},domProps:{value:e.input.email},on:{input:function(t){t.target.composing||e.$set(e.input,"email",t.target.value)}}}),n("button",{attrs:{type:"submit"}},[n("font-awesome-icon",{attrs:{icon:"sign-in-alt",size:"3x"}})],1)])])},b=[],_={name:"sign-in",data:function(){return{input:{email:""}}},props:{instancename:String,accounts:Array},methods:{login:function(){var e=this;this.$store.dispatch("login",{email:this.email}).then(function(){e.$router.push("/home")})}}},y=_,O=(n("a71e"),Object(l["a"])(y,v,b,!1,null,"12341100",null));O.options.__file="sign-in.vue";var w=O.exports,j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"register"},[n("h1",[e._v("Register")]),n("form",{on:{submit:function(t){t.preventDefault(),e.register()}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"}],attrs:{type:"text",name:"name",placeholder:"Name"},domProps:{value:e.name},on:{input:function(t){t.target.composing||(e.name=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],attrs:{type:"text",name:"email",placeholder:"Email"},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.domain,expression:"domain"}],attrs:{type:"text",name:"domain",placeholder:"Domain"},domProps:{value:e.domain},on:{input:function(t){t.target.composing||(e.domain=t.target.value)}}}),n("button",{attrs:{type:"submit"}},[n("font-awesome-icon",{attrs:{icon:"user-plus",size:"3x"}})],1)])])},E=[],x=(n("7f7f"),n("6b54"),n("16b2")),S=new x["a"]("accounts"),k=new x["a"]("https://nn.adamprocter.co.uk/accounts"),L={name:"register-account",data:function(){return{name:"",email:"",domain:"",permissions:1,token:"",verified:!1}},mounted:function(){this.syncData()},methods:{register:function(){var e=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15);S.put({_id:e,name:this.name,email:this.email,domain:this.domain,permissions:this.permissions,token:this.token,verified:this.verified}),this.syncData()},syncData:function(){k&&S.sync(k)},checkData:function(){}}},I=L,N=(n("6613"),Object(l["a"])(I,j,E,!1,null,"56f6e4de",null));N.options.__file="register-account.vue";var T=N.exports,P={name:"app",components:{signin:w,register:T,logo:h["a"]},data:function(){return{instancename:"mozfest",accounts:[{id:1,human:"adam procter",email:"adamprocter@researchnot.es",permissions:1},{id:2,human:"mathew parker",email:"mathew@researchnot.es",permissions:1}]}}},C=P,D=(n("adcc"),Object(l["a"])(C,p,g,!1,null,"df1dc2c0",null));D.options.__file="start.vue";var $=D.exports;o["a"].use(d["a"]);var A=new d["a"]({routes:[{path:"/",name:"start",component:$},{path:"/home",name:"home",component:function(){return n.e("home").then(n.bind(null,"6511"))}},{path:"/about",name:"about",component:function(){return n.e("about").then(n.bind(null,"754b"))}},{path:"/select",name:"select",component:function(){return n.e("about").then(n.bind(null,"9454"))}},{path:"/editor",name:"editor",component:function(){return n.e("about").then(n.bind(null,"f73c"))}}]});o["a"].use(s["a"]);var G="LOGIN",B="LOGIN_SUCCESS",M="LOGOUT",J=new s["a"].Store({state:{allobjects:[],isLoggedIn:!!localStorage.getItem("token")},getters:{isLoggedIn:function(e){return e.isLoggedIn},allObjects:function(e){return e.allobjects}},mutations:{ADD_KNOWLEDGE_OBJECT:function(e,t){e.allobjects.push(t)},LOGIN:function(e){e.pending=!0},LOGIN_SUCCESS:function(e){e.isLoggedIn=!0,e.pending=!1},LOGOUT:function(e){e.isLoggedIn=!1}},actions:{addKnowledgeObject:function(e,t){var n=e.commit;n("ADD_KNOWLEDGE_OBJECT",t)},login:function(e){var t=e.commit;return t(G),new Promise(function(e){setTimeout(function(){localStorage.setItem("token","JWT"),t(B),e()},1e3)})},logout:function(e){var t=e.commit;localStorage.removeItem("token"),t(M)}}}),U=n("ecee"),z=n("c074"),K=n("ad3d");U["c"].add(z["c"]),U["c"].add(z["d"]),U["c"].add(z["a"]),U["c"].add(z["b"]),o["a"].component("font-awesome-icon",K["a"]),o["a"].config.productionTip=!1,new o["a"]({router:A,store:J,render:function(e){return e(f)}}).$mount("#app"),n("6909")},6613:function(e,t,n){"use strict";var o=n("399e"),a=n.n(o);a.a},6909:function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("097d")},7974:function(e,t,n){},"7b63":function(e,t,n){},"8bc3":function(e,t,n){},"912e":function(e,t,n){},a71e:function(e,t,n){"use strict";var o=n("912e"),a=n.n(o);a.a},adcc:function(e,t,n){"use strict";var o=n("8bc3"),a=n.n(o);a.a},f0fc:function(e,t,n){e.exports=n.p+"img/icon.a66d9fbf.png"}});
//# sourceMappingURL=app.f4772af1.js.map
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment