Commit fe2edfa2 authored by Adam Procter's avatar Adam Procter

Merge branch 'remove-dependencies-and-dist' into 'master'

Remove node_modules and dist folders and add them to .gitignore

See merge request !12
parents 4bb5fc1f b3c340bb
Pipeline #227 canceled with stages

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

node_modules/.cache/*
node_modules/.cache/
*.un~
*.swp
.DS_Store
node_modules
/dist
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}button,html,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:courier new,monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:after,q:before{content:"";content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ol,nav ul{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure,form{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */button,html,input,select,textarea{color:#222}html{font-size:1em;line-height:1.4}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,img,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.browsehappy{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}body{font:18px Helvetica Neue,Arial,Helvetica,Geneva,sans-serif;line-height:22px;padding:1em;background-color:#bcdfda}nav li{display:inline-block;padding-right:12px}main{max-width:635px;background-color:#bcdfda}#start{background-color:#fff}h3.hello{padding:10px;background-color:#809bac}.register,.signin{background-color:#bcdfda;border-radius:10px;width:200px;margin:20px;padding:20px;border-right:30px solid grey}#spatialui{width:600px;margin-bottom:30px}#interface,#spatialui,a{background-color:#bcdfda}a{color:#000}a:hover{color:grey}button{background-color:#bcdfda;-webkit-box-shadow:none;box-shadow:none;border:none;margin-top:10px}button:hover{color:grey}input,textarea{border:none;width:100%;padding:5px;margin-bottom:5px}figure{background-color:#ddf7f3;border-radius:12px;margin-bottom:50px;border-bottom:5px solid #a3d6df;border-right:5px solid #a3d6df}figcaption{text-align:center}figure{width:175px}#instances img{width:150px}figure>img{-webkit-transform:translate(10%);transform:translate(10%)}.ir{background-color:transparent;border:0;overflow:hidden;*text-indent:-9999px}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}@media only screen and (min-width:640px){#start{display:grid;grid-template-columns:300px 300px;grid-gap:20px}#instances{display:grid;grid-template-columns:150px 150px;grid-gap:20px;margin-left:10px}figure{width:150px}#instances img{width:100px}figure>img{-webkit-transform:translate(20%);transform:translate(20%)}}@media print{*{background:transparent!important;color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}
\ 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.a45d8d52.css rel=prefetch><link href=/js/about.f2f86df9.js rel=prefetch><link href=/js/home.e8d80d2c.js rel=prefetch><link href=/css/app.074079a2.css rel=preload as=style><link href=/js/app.86f0a9fd.js rel=preload as=script><link href=/js/chunk-vendors.c055d76a.js rel=preload as=script><link href=/css/app.074079a2.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.c055d76a.js></script><script src=/js/app.86f0a9fd.js></script>
\ 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/e1ubESBAYAQEfzgMBAgQ6AoIfve2NiN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MAKCPxwGAgQIdAX+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 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:"e8d80d2c"}[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:"a45d8d52"}[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.86f0a9fd.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 diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
../@vue/cli-service/node_modules/acorn/bin/acorn
\ No newline at end of file
../ansi-html/bin/ansi-html
\ No newline at end of file
../atob/bin/atob.js
\ No newline at end of file
../autoprefixer/bin/autoprefixer
\ No newline at end of file
../autoprefixer/node_modules/browserslist/cli.js
\ No newline at end of file
../@vue/component-compiler-utils/node_modules/cssesc/bin/cssesc
\ No newline at end of file
../detect-libc/bin/detect-libc.js
\ No newline at end of file
../errno/cli.js
\ No newline at end of file
../eslint/bin/eslint.js
\ No newline at end of file
../esprima/bin/esparse.js
\ No newline at end of file
../esprima/bin/esvalidate.js
\ No newline at end of file
../file-loader
\ No newline at end of file
../he/bin/he
\ No newline at end of file
../html-minifier/cli.js
\ No newline at end of file
../import-local/fixtures/cli.js
\ No newline at end of file
../is-ci/bin.js
\ No newline at end of file
../js-yaml/bin/js-yaml.js
\ No newline at end of file
../@babel/generator/node_modules/jsesc/bin/jsesc
\ No newline at end of file
../@babel/core/node_modules/json5/lib/cli.js
\ No newline at end of file
../loose-envify/cli.js
\ No newline at end of file